/* ovixis.dev — the village that holds out */
@font-face { font-family: 'Bangers'; font-display: swap; src: url('../fonts/bangers.woff2') format('woff2'); }
@font-face { font-family: 'Patrick Hand'; font-display: swap; src: url('../fonts/patrickhand.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 500; font-display: swap; src: url('../fonts/fraunces-italic.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 400 700; font-display: swap; src: url('../fonts/space-grotesk.woff2') format('woff2'); }

:root {
  --ink: #14161b; --paper: #f4ead3; --cap: #f7d54a;
  --gold: #F5A623; --terra: #C8553D;
  --hand: 'Patrick Hand', 'Comic Sans MS', 'Chalkboard SE', cursive;
  --bang: 'Bangers', Impact, 'Arial Narrow Bold', sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  /* safe areas: notches, Dynamic Island, punch-holes, home indicator, foldable hinges */
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
  --gut: clamp(16px, 3vw, 40px);
  --vh: 1vh;
}
@supports (height: 1svh) { :root { --vh: 1svh; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; font-family: var(--hand); font-size: 18px; }
.skip:focus { top: calc(12px + var(--sat)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── top bar ── */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; height: calc(68px + var(--sat)); padding: var(--sat) calc(var(--gut) + var(--sar)) 0 calc(var(--gut) + var(--sal)); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { display: block; text-decoration: none; }
.brand img { display: block; height: clamp(50px, 5vw, 64px); width: auto; margin-top: 6px; filter: drop-shadow(0 0 6px var(--paper)) drop-shadow(0 0 2px var(--paper)); }
.bar-go { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--hand); font-size: 18px; text-decoration: none; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px 16px; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.bar-go:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.bar-nav { display: flex; gap: 10px; }
@media (max-width: 600px) { .bar-nav .hp { display: none; } .bar-go { font-size: 17px; padding: 4px 13px; } }
@media (max-width: 340px) { .bar-nav { gap: 6px; } .bar-go { font-size: 15px; padding: 4px 10px; } }
.page-no { position: fixed; z-index: 20; right: calc(var(--gut) + var(--sar)); bottom: calc(20px + var(--sab)); font-family: var(--hand); font-size: 17px; background: var(--paper); border: 2.5px solid var(--ink); padding: 2px 12px; transform: rotate(-2deg); transition: opacity .3s; }

/* ── the tale ── */
#tale { position: relative; height: calc(550 * var(--vh)); }
.stage { position: sticky; top: 0; height: calc(100 * var(--vh)); overflow: hidden; }
#base, #map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#base { background: #b7c3c4; }
.halftone { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(20,22,27,.13) 1px, transparent 1.4px); background-size: 6px 6px; }

/* before the script runs, only the first caption shows (no flash of every layer) */
.burst, .cap2, .panel { opacity: 0; visibility: hidden; }

/* captions = comic caption boxes */
.cap { position: absolute; z-index: 5; width: min(380px, calc(100% - 2 * var(--gut) - var(--sal) - var(--sar))); background: var(--cap); border: 3px solid var(--ink); padding: 16px 20px 14px; font-family: var(--hand); font-size: 23px; line-height: 1.22; box-shadow: 6px 6px 0 var(--ink); will-change: transform, opacity; }
.cap b { font-weight: 400; background: var(--ink); color: var(--cap); padding: 0 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cap .tag { display: block; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; }
.cap0 { left: calc(clamp(16px, 4vw, 64px) + var(--sal)); top: calc(22 * var(--vh)); }
.hero { width: min(470px, calc(100% - 2 * var(--gut) - var(--sal) - var(--sar))); }
.hero h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(27px, 2.4vw, 34px); line-height: 1.06; letter-spacing: -.015em; margin: 2px 0 10px; text-wrap: balance; }
.hero p { font-size: 19px; line-height: 1.3; }
.hero p a { text-decoration-thickness: 2px; text-underline-offset: 2px; }
.hero .btn { margin-top: 14px; font-size: 19px; }
.cap2 { left: calc(clamp(16px, 4vw, 64px) + var(--sal)); top: calc(26 * var(--vh)); background: #fff6df; }
.stats { display: flex; gap: 12px; margin-top: 12px; }
.stats div { flex: 1; border: 2.5px solid var(--ink); background: var(--paper); text-align: center; padding: 6px 4px 4px; }
.stats strong { display: block; font-family: var(--bang); font-weight: 400; font-size: 34px; line-height: 1; color: var(--terra); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 15px; line-height: 1.1; display: block; }
.cap2 .src { display: block; font-size: 14px; opacity: .65; margin-top: 8px; }

/* burst */
.burst { position: absolute; z-index: 6; left: calc(9vw + var(--sal)); top: calc(15 * var(--vh)); width: 380px; height: 258px; pointer-events: none; will-change: transform, opacity; }
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.burst .q { position: absolute; left: 0; right: 0; top: 60px; text-align: center; font-family: var(--bang); font-size: 30px; line-height: .95; letter-spacing: .03em; }
.burst .no { position: absolute; left: 0; right: 0; top: 122px; text-align: center; font-family: var(--bang); font-size: 80px; line-height: 1; color: var(--terra); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; letter-spacing: .04em; }

/* founder panel */
.panel { position: absolute; z-index: 7; right: calc(clamp(16px, 4vw, 64px) + var(--sar)); top: 50%; width: min(640px, 54vw); background: var(--paper); border: 3.5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); display: grid; grid-template-columns: clamp(160px, 16vw, 230px) 1fr; will-change: transform, opacity; }
.panel .art { position: relative; background: var(--gold); border-right: 3.5px solid var(--ink); overflow: hidden; }
.panel .art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(200,85,61,.55) 2px, transparent 2.6px); background-size: 10px 10px; }
.panel .art img { position: absolute; right: 0; bottom: 0; width: 100%; height: auto; }
.balloon { position: absolute; left: 12px; right: 12px; top: 14px; background: #fff; border: 3px solid var(--ink); border-radius: 50% / 46%; padding: 12px 10px 14px; font-family: var(--hand); font-size: 18px; line-height: 1.1; text-align: center; z-index: 2; }
.balloon::after { content: ''; position: absolute; left: 54%; bottom: -17px; width: 20px; height: 20px; background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: skewX(18deg) rotate(45deg); }
.panel .txt { padding: 26px 28px 24px; }
.kick { font-family: var(--hand); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); }
.panel h1, .panel h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.015em; margin: 8px 0 14px; text-wrap: balance; }
.panel p { font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.panel p + p { margin-top: .7em; }
.motto { margin: 16px 0 0; padding: 10px 14px 9px; background: var(--cap); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-.8deg); }
.motto { font-family: var(--hand); font-size: 18px !important; line-height: 1.2 !important; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; font-family: var(--hand); font-size: 20px; text-decoration: none; border: 3px solid var(--ink); padding: 4px 18px 2px; box-shadow: 4px 4px 0 var(--ink); background: #b24a33; color: #fff8ec; transition: transform .15s, box-shadow .15s; }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn:hover, .btn:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.name-note { margin-top: 18px; font-family: var(--hand); font-size: 15px; opacity: .7; }

.hint { position: absolute; z-index: 5; left: 50%; bottom: calc(22px + var(--sab)); transform: translateX(-50%); font-family: var(--hand); font-size: 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hint i { width: 2.5px; height: 26px; background: var(--ink); animation: drip 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* ── portfolio + blog ── */
.sec { position: relative; z-index: 2; background: var(--paper); padding: clamp(104px, 10vw, 128px) calc(var(--gut) + var(--sar)) clamp(56px, 8vw, 110px) calc(var(--gut) + var(--sal)); border-top: 3.5px solid var(--ink); scroll-margin-top: 0; }
.sec::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(20,22,27,.08) 1px, transparent 1.4px); background-size: 6px 6px; }
.sec > * { position: relative; max-width: 1180px; margin-inline: auto; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 26px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-title { font-family: var(--bang); font-weight: 400; font-size: clamp(64px, 11vw, 132px); line-height: .9; letter-spacing: .04em; color: var(--gold); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); }
.sec-cap { font-family: var(--hand); font-size: clamp(19px, 2vw, 24px); background: var(--cap); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 8px 16px 6px; margin-bottom: 12px; transform: rotate(-1deg); }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 36px); }
.work { background: #fffaf0; border: 3.5px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); display: grid; grid-template-rows: auto 1fr; }
.work.feature { grid-column: 1 / -1; grid-template-columns: 1.25fr 1fr; grid-template-rows: none; }
.shot { display: block; position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-bottom: 3.5px solid var(--ink); background: var(--gold); }
.work.feature .shot { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 3.5px solid var(--ink); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
a.shot:hover img { transform: scale(1.03); }
.art-coin { display: grid; place-items: center; background: var(--terra); background-image: radial-gradient(rgba(20,22,27,.25) 2px, transparent 2.6px); background-size: 10px 10px; }
.art-coin svg { width: 62%; height: auto; }
.wtxt { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wtag { font-family: var(--hand); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; border: 2.5px solid var(--ink); padding: 1px 10px 0; background: var(--paper); }
.wtag.live { background: #bfe3c4; }
.work h3 { font-family: var(--bang); font-weight: 400; font-size: clamp(38px, 4vw, 54px); letter-spacing: .03em; line-height: 1; }
.wline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 25px); line-height: 1.15; margin-top: -4px; }
.work dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 6px 0 8px; font-size: 15.5px; line-height: 1.5; }
.work dt { font-family: var(--hand); font-size: 16px; color: var(--terra); text-transform: uppercase; letter-spacing: .05em; padding-top: 1px; }
.work .btn { margin-top: auto; }
.wbody { font-size: 17px; line-height: 1.5; max-width: 44ch; }
.wbody a { text-decoration-color: var(--terra); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.earlier { margin-top: 28px; font-size: 17px; line-height: 1.5; }
.earlier strong { font-family: var(--hand); font-weight: 400; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; color: var(--terra); margin-right: 10px; }
.earlier a { text-decoration-color: var(--terra); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.all-posts { font-family: var(--hand); font-size: 21px; justify-self: start; border-bottom: 3px solid var(--gold); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.sec-blog { background: #f0e2c4; }
.posts { display: grid; gap: 28px; }
.post-card { display: grid; grid-template-columns: 210px 1fr; text-decoration: none; background: #fffaf0; border: 3.5px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); max-width: 860px; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--ink); }
.post-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; background: var(--gold); border-right: 3.5px solid var(--ink); display: block; }
.post-card > div { padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.post-card time { font-family: var(--hand); font-size: 17px; color: var(--terra); }
.post-card h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; }
.post-card p { font-size: 16px; line-height: 1.5; }
.post-card .more { font-family: var(--hand); font-size: 20px; border-bottom: 3px solid var(--gold); align-self: flex-start; margin-top: 4px; }
@media (max-width: 860px) {
  .works { grid-template-columns: 1fr; }
  .work.feature { grid-template-columns: 1fr; }
  .work.feature .shot { aspect-ratio: 8 / 5; border-right: 0; border-bottom: 3.5px solid var(--ink); }
  .post-card { grid-template-columns: 1fr; }
  .post-card img { height: 300px; object-fit: contain; object-position: center bottom; border-right: 0; border-bottom: 3.5px solid var(--ink); background-image: radial-gradient(rgba(200,85,61,.55) 2px, transparent 2.6px); background-size: 10px 10px; }
}
@media (max-width: 420px) { .work dl { grid-template-columns: 1fr; gap: 2px; } .work dd { margin-bottom: 8px; } .sec-title { -webkit-text-stroke-width: 3px; text-shadow: 4px 4px 0 var(--ink); } }

/* ── blog post page ── */
.post { position: relative; background: var(--paper); padding: calc(120px + var(--sat)) calc(var(--gut) + var(--sar)) 80px calc(var(--gut) + var(--sal)); }
.post::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(20,22,27,.08) 1px, transparent 1.4px); background-size: 6px 6px; }
.post > * { position: relative; max-width: 680px; margin-inline: auto; }
.post .back { font-family: var(--hand); font-size: 19px; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.post time { display: block; font-family: var(--hand); font-size: 18px; color: var(--terra); margin-top: 18px; }
.post h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 7vw, 68px); line-height: 1; letter-spacing: -.02em; margin: 10px auto 28px; text-wrap: balance; }
.post figure { float: right; width: min(42%, 240px); margin: 6px 0 18px 26px; background: var(--gold); border: 3.5px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); background-image: radial-gradient(rgba(200,85,61,.55) 2px, transparent 2.6px); background-size: 10px 10px; }
.post figure img { display: block; width: 100%; height: auto; }
.post figcaption { font-family: var(--hand); font-size: 15px; background: var(--paper); border-top: 3px solid var(--ink); padding: 6px 10px 4px; }
.post .body p { font-size: 19px; line-height: 1.6; margin-bottom: 1.1em; text-wrap: pretty; }
.post .body p.lead { font-family: var(--serif); font-style: italic; font-size: clamp(23px, 3vw, 27px); line-height: 1.3; }
.post .body a { text-decoration-color: var(--terra); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post .sign { clear: both; font-family: var(--hand); font-size: 22px; margin-top: 30px; }
@media (max-width: 520px) { .post figure { float: none; width: 70%; margin: 0 0 24px; } .post .body p { font-size: 17.5px; } }

.post > h1 { margin-top: 18px; }
.blog-index .intro { font-size: 19px; line-height: 1.55; margin-bottom: 32px; }
.post-card h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }

/* ── footer ── */
.foot { position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding: 44px calc(var(--gut) + var(--sar)) calc(40px + var(--sab)) calc(var(--gut) + var(--sal)); display: grid; gap: 22px; grid-template-columns: auto 1fr; align-items: center; }
.foot img { height: 66px; width: auto; display: block; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; font-family: var(--hand); font-size: 20px; }
.foot nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.foot nav a:hover { border-bottom-color: var(--gold); }
.foot small { grid-column: 1 / -1; font-size: 13px; opacity: .6; line-height: 1.5; }

/* ── portrait: phones, foldables folded and open, portrait tablets ── */
@media (max-aspect-ratio: 17/20) {
  .cap { font-size: 20px; }
  .cap0, .cap2 { left: calc(16px + var(--sal)); top: calc(84px + var(--sat)); width: min(520px, calc(100% - 32px - var(--sal) - var(--sar))); }
  .hero h1 { font-size: clamp(25px, 6.6vw, 32px); }
  .hero p { font-size: 17.5px; }
  .burst { left: 50%; top: calc(84px + var(--sat)); margin-left: -130px; width: 260px; height: 176px; }
  .burst .q { top: 41px; font-size: 21px; } .burst .no { top: 84px; font-size: 54px; }
  .panel { left: 0; right: 0; margin-inline: auto; width: min(640px, calc(100% - 32px - var(--sal) - var(--sar))); top: auto; bottom: calc(16px + var(--sab)); max-height: calc(100 * var(--vh) - 96px - var(--sat) - var(--sab)); overflow-y: auto; overscroll-behavior: contain; grid-template-columns: 1fr; grid-template-rows: 172px auto; }
  .panel .art { border-right: 0; border-bottom: 3.5px solid var(--ink); }
  .panel .art img { width: 158px; right: 0; bottom: -64px; }
  .balloon { right: auto; width: min(54%, 300px); top: 34px; font-size: 16px; }
  .balloon::after { left: auto; right: -8px; bottom: 18px; transform: rotate(-45deg) skewX(10deg); }
  .panel .txt { padding: 18px; }
  .panel h1, .panel h2 { font-size: clamp(24px, 6.6vw, 34px); margin: 4px 0 10px; }
  .panel p { font-size: 15px; }
  .ctas { margin-top: 14px; } .btn { font-size: 18px; padding: 4px 14px 2px; }
  .name-note { display: none; }
  .panel { grid-template-rows: 150px auto; }
  .panel .art img { width: 146px; bottom: -60px; }
  .motto { margin-top: 12px; padding: 8px 12px 7px; }
  .motto { font-size: 16.5px !important; }
  .foot { grid-template-columns: 1fr; text-align: left; }
  .foot nav { justify-content: flex-start; }
}
/* small phones (≤ 360 px wide) and short portrait screens */
@media (max-aspect-ratio: 17/20) and (max-width: 360px), (max-aspect-ratio: 17/20) and (max-height: 700px) {
  .cap { font-size: 18px; padding: 12px 14px 10px; }
  .hero h1 { font-size: 22px; margin-bottom: 6px; } .hero p { font-size: 15.5px; } .hero .btn { margin-top: 10px; font-size: 17px; }
  .stats strong { font-size: 28px; } .stats span { font-size: 13px; }
  .panel { grid-template-rows: 96px auto; }
  .panel .art img { width: 100px; bottom: -44px; }
  .balloon { top: 14px !important; }
  .balloon { top: 22px; font-size: 15px; padding: 8px 8px 10px; }
  .panel h1, .panel h2 { font-size: 21px; margin-bottom: 6px; }
  .panel .txt { padding: 14px 16px; }
  .panel p { font-size: 13px; line-height: 1.36; }
  .panel p + p { margin-top: .5em; }
  .motto { margin-top: 8px; padding: 6px 10px 5px; font-size: 14.5px !important; }
  .ctas { margin-top: 10px; } .btn { font-size: 16px; }
  .name-note { display: none; }
}
/* phones held sideways: very short landscape */
@media (min-aspect-ratio: 17/20) and (max-height: 560px) {
  .bar { height: calc(54px + var(--sat)); }
  .brand img { height: 42px; margin-top: 2px; }
  .bar-go { font-size: 16px; }
  .cap { font-size: 17px; padding: 10px 14px 9px; width: min(320px, 40vw); box-shadow: 4px 4px 0 var(--ink); }
  .cap .tag { font-size: 13px; margin-bottom: 3px; }
  .cap0, .cap2 { top: calc(62px + var(--sat)); }
  .hero { width: min(520px, 58vw); } .hero h1 { font-size: 20px; margin: 0 0 4px; } .hero p { font-size: 14px; line-height: 1.25; } .hero .btn { margin-top: 8px; font-size: 15px; }
  .stats { gap: 8px; margin-top: 8px; } .stats strong { font-size: 24px; } .stats span { font-size: 12px; }
  .cap2 .src { display: none; }
  .burst { top: calc(64px + var(--sat)); width: 250px; height: 170px; }
  .burst .q { top: 40px; font-size: 20px; } .burst .no { top: 81px; font-size: 52px; }
  .panel { top: calc(50% + 24px); width: min(780px, 86vw); grid-template-columns: 118px 1fr; box-shadow: 6px 6px 0 var(--ink); max-height: calc(100 * var(--vh) - 74px); }
  .panel .art .balloon { display: none; }
  .motto { margin-top: 8px; padding: 6px 10px 5px; font-size: 14px !important; }
  .panel p + p { margin-top: .4em; }
  .balloon { font-size: 14px; padding: 8px 6px 10px; top: 10px; left: 8px; right: 8px; }
  .panel .txt { padding: 12px 16px 12px; overflow-y: auto; }
  .kick { font-size: 14px; }
  .panel h1, .panel h2 { font-size: 20px; margin: 2px 0 4px; }
  .panel p { font-size: 12.5px; line-height: 1.35; }
  .ctas { margin-top: 10px; gap: 8px; } .btn { font-size: 16px; padding: 2px 12px 0; box-shadow: 3px 3px 0 var(--ink); }
  .name-note { display: none; }
  .hint { display: none; }
  .page-no { bottom: calc(10px + var(--sab)); font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hint i { animation: none; } .btn, .bar-go { transition: none; } }

/* very short portrait screens (iPhone SE and similar): slimmer founder card so both buttons fit */
@media (max-aspect-ratio: 17/20) and (max-height: 620px) {
  .panel { grid-template-rows: 64px auto; bottom: calc(10px + var(--sab)); max-height: calc(100 * var(--vh) - 78px - var(--sat) - var(--sab)); }
  .panel .art img { width: 76px; bottom: -34px; }
  .balloon { top: 10px !important; padding: 5px 8px 6px; font-size: 13px; width: 62%; }
  .panel .txt { padding: 10px 14px 12px; }
  .kick { font-size: 13px; }
  .panel h1, .panel h2 { font-size: 19px; margin: 2px 0 4px; }
  .panel p { font-size: 12.5px; line-height: 1.32; }
  .motto { margin-top: 6px; padding: 4px 8px 3px; font-size: 13px !important; }
  .ctas { margin-top: 8px; gap: 8px; flex-wrap: nowrap; }
  .btn { font-size: 14px; padding: 2px 9px 0; min-height: 40px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
}
