/* Eri Odeyemi portfolio. Tokens match the Figma file "Redesign (glass)". */
@font-face{font-family:"Hanken Grotesk";src:url("/assets/fonts/HankenGrotesk-var.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{
  --ink:#12262c; --muted:#4e6369; --teal:#0e5c73; --teal-deep:#0a2930;
  --mist:#eaf0f1; --line:#cfdbdd; --white:#ffffff; --error:#f26b61;
  --danger:#b22929; --danger-hover:#8f1c1c; --danger-press:#731414;
  --wrap:1080px; --gutter:180px; --bar:63px;
  --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--bar) + 24px)}
body{margin:0;background:var(--white);color:var(--ink);font-family:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-weight:300;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
p,h1,h2,h3{margin:0}
button,input{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:4px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:min(var(--wrap),100% - 40px);margin-inline:auto}

/* ---------- Top bar ---------- */
.topbar{position:fixed;inset:0 0 auto;z-index:50;height:var(--bar);background:rgba(255,255,255,.35);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border-bottom:1px solid var(--line)}
.topbar .wrap{height:100%;display:flex;align-items:center;gap:28px}
.topbar .spacer{flex:1}
.home-btn{display:inline-flex;align-items:center;gap:12px;color:#000}
.home-btn .mark{width:32px;height:32px;border-radius:6px;display:grid;place-items:center;transition:background-color .2s var(--ease)}
.home-btn .mark svg{width:18px;height:24px;fill:var(--ink);transition:fill .2s,width .2s,height .2s}
.home-btn .name{font-size:34px;line-height:34px;font-weight:700;letter-spacing:-.02em}
.home-btn:hover .mark,.home-btn[aria-current="page"] .mark{background:var(--teal)}
.home-btn:hover .mark svg,.home-btn[aria-current="page"] .mark svg,.home-btn:active .mark svg{fill:#fff;width:16px;height:22px}
.home-btn:active .mark{background:var(--ink)}
.nav{display:flex;gap:24px}
.nav-link{font-size:15px;line-height:1.4;font-weight:400;color:var(--muted);transition:color .15s}
.nav-link:hover{color:var(--teal)}
.nav-link:active{color:var(--teal-deep);text-decoration:underline;text-underline-offset:3px}
.nav-link[aria-current="page"]{color:var(--ink)}
.phone-tools{display:none;align-items:center;gap:12px}
.icon-btn{width:36px;height:36px;border-radius:18px;display:grid;place-items:center;transition:background-color .15s}
.icon-btn:hover{background:var(--mist)}
.icon-btn:active{background:var(--line)}
.icon-btn svg{width:24px;height:24px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:4px;font-size:14px;line-height:1.2;font-weight:500;white-space:nowrap;transition:background-color .15s,border-color .15s,opacity .15s,box-shadow .15s}
.btn-primary{background:var(--teal);color:#fff;padding:9px 14px}
.btn-primary:hover{background:var(--ink)}
.btn-primary:active{background:var(--teal);box-shadow:inset 0 2px 4px rgba(0,0,0,.35);opacity:.92}
.btn-primary svg{width:15px;height:15px}
.btn-primary svg path{stroke:#fff}
.btn-secondary{border:1px solid var(--ink);color:var(--ink);padding:10px 16px}
.btn-secondary:hover{background:var(--mist);border-color:var(--teal)}
.btn-secondary:active{background:var(--line);border-color:#000}
.btn-outline{border:1px solid var(--line);color:var(--ink);padding:9px 14px}
.btn-outline:hover{background:var(--mist);border-color:var(--teal)}
.btn-outline:active{background:var(--line);border-color:#000}
.btn-outline svg{width:16px;height:16px}
.btn[disabled],.btn.is-disabled{opacity:.45;pointer-events:none}
.text-link{font-size:14px;font-weight:500;color:var(--teal)}
.text-link:hover{text-decoration:underline;text-underline-offset:3px}
.text-link:active{color:var(--teal-deep);text-decoration:underline}
.inline-link{color:var(--teal);text-decoration:underline;text-underline-offset:2px}
.inline-link:hover{color:var(--ink)}
.inline-link:active{color:var(--teal-deep)}

/* ---------- Type ---------- */
.h-display{font-size:64px;line-height:1.05;font-weight:800;letter-spacing:-.045em;color:var(--ink);text-wrap:balance}
.h-section{font-size:38px;line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.h-card{font-size:21px;line-height:1.2;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.lede{font-size:20px;line-height:1.55;font-weight:300;color:var(--muted)}
.body-l{font-size:17px;line-height:1.6;font-weight:300;color:var(--ink)}
.small{font-size:14px;line-height:1.5;font-weight:300;color:var(--muted)}
.tiny{font-size:13px;line-height:1.5;font-weight:300;color:var(--muted)}

/* ---------- Home ---------- */
main{padding-top:var(--bar)}
.hero{display:flex;gap:32px;padding:103px 0 124px;align-items:center}
.hero .statement{width:420px;flex:none;display:flex;flex-direction:column;gap:28px}
.hero .statement .lede{max-width:349px}
.facts{display:flex;flex-wrap:wrap;gap:10px 28px;padding-top:8px;font-size:14px;color:var(--muted)}
.facts b{font-weight:500;color:var(--ink)}
.render-stage{flex:1;min-width:0;max-width:628px;margin-left:auto;display:flex;flex-direction:column;gap:16px}
.render-box{position:relative;aspect-ratio:628/480}
.render-box img{position:absolute;max-width:none;opacity:0;transition:opacity 1.1s var(--ease),transform 1.6s var(--ease);transform:scale(.985)}
.render-box img.on{opacity:1;transform:none}
.render-box img[data-k="gidorah"]{left:0;top:-8.96%;width:117.52%}
.render-box img[data-k="leap"]{left:0;top:0;width:120.38%}
.render-box img[data-k="triclops"]{left:0;top:0;width:100%}
.render-caption{display:flex;justify-content:space-between;align-items:center;min-height:43px}
.render-caption .t{font-size:14px;font-weight:500;color:var(--ink)}
.render-caption .s{font-size:13px;color:var(--muted)}
.render-caption .meta{transition:opacity .4s}
.steps{display:flex;gap:6px}
.steps button{height:4px;width:8px;border-radius:2px;background:var(--line);transition:width .35s var(--ease),background-color .35s}
.steps button.on{width:24px;background:var(--teal)}
.steps button:hover{background:var(--muted)}
.steps button.on:hover{background:var(--teal)}

.section{padding:92px 0 0;display:flex;flex-direction:column;gap:36px}
#work{padding-top:0}
#clients{padding-bottom:4px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.section-head .small{width:400px;flex:none}
.group{background:var(--mist);border-radius:6px;padding:28px;display:flex;flex-direction:column;gap:24px}
.group-head{display:flex;justify-content:space-between;align-items:center;gap:16px}
.group-head h3{font-size:20px;line-height:1.2;font-weight:700;letter-spacing:-.015em}
.lock-note{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
a.lock-note:hover{color:var(--teal)}
.lock-note svg{width:15px;height:15px}
.cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.card{display:flex;flex-direction:column;min-height:622px}
.card .image{position:relative;aspect-ratio:500/340;background:#fff;border-radius:6px;overflow:hidden}
.card .image > img{width:100%;height:100%;object-fit:cover}
.meta{display:flex;flex-direction:column;gap:6px;padding-top:18px}
.card .meta{flex:1}
.meta .desc{font-size:17px;line-height:1.6;font-weight:300;color:var(--ink)}
.tags{display:flex;flex-wrap:wrap;gap:8px;padding-top:6px}
.tag{background:#fff;border-radius:4px;padding:6px 10px;font-size:14px;line-height:1.5}
.card .tag{border:1px solid var(--line)}
.btn-row{margin-top:auto;padding-top:14px}
/* Locked overlay */
.lock-layer{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(13,33,41,.55);opacity:0;pointer-events:none;transition:opacity .35s var(--ease)}
.card.is-locked .lock-layer{opacity:1;pointer-events:auto}
.card.is-locked .btn-row .btn{opacity:.45;pointer-events:none}
.pill{display:flex;align-items:center;gap:10px;width:320px;max-width:calc(100% - 32px);height:52px;padding:6px 6px 6px 20px;border-radius:999px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:border-color .2s}
.pill input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:17px;font-weight:300;color:#fff}
.pill input::placeholder{color:rgba(255,255,255,.75)}
.pill.is-error{border-color:var(--error)}
.pill-msg{font-size:14px;color:#fff;min-height:21px;text-align:center;padding-inline:16px}
.submit{width:40px;height:40px;flex:none;border-radius:999px;background:var(--teal);display:grid;place-items:center;transition:background-color .15s,box-shadow .15s}
.submit:hover{background:var(--ink)}
.submit:active{background:var(--teal-deep);box-shadow:inset 0 2px 4px rgba(0,0,0,.35)}
.submit svg{width:18px;height:18px}
.submit .spin{display:none;width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:spin .8s linear infinite}
.is-checking .submit svg{display:none}
.is-checking .submit .spin{display:block}
.is-blocked .pill{opacity:.6}
.is-blocked .pill input,.is-blocked .submit{pointer-events:none}
@keyframes spin{to{transform:rotate(360deg)}}

.feature{display:flex;gap:40px;align-items:center}
.feature .image{width:520px;flex:none;aspect-ratio:520/350;background:#fff;border-radius:6px;overflow:hidden}
.feature .image img{width:100%;height:100%;object-fit:cover}
.feature .meta{flex:1;min-width:0}
.compact{display:flex;gap:28px;align-items:center}
.compact .image{width:200px;flex:none;aspect-ratio:1;background:#fff;border-radius:6px;overflow:hidden}
.compact .image img{width:100%;height:100%;object-fit:cover}
.compact .meta{width:561px;flex:none;padding-top:0}
.compact .action{margin-left:auto}

.concepts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.concept .image{aspect-ratio:344/389;overflow:hidden;display:block}
.concept .image img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.concept a.image:hover img{transform:scale(1.02)}
.concept .h-card a:hover{color:var(--teal)}
.concept .meta .d{font-size:14px;color:var(--muted)}
.behance{padding-top:8px}

.roster{display:flex;flex-direction:column}
.roster-row{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}
.roster-row:first-child{border-top:1px solid var(--line)}
.client{display:flex;flex-direction:column;gap:2px;padding:22px 24px 22px 0;transition:background-color .15s,padding .2s var(--ease)}
.client .n{font-size:20px;line-height:1.3;font-weight:500;letter-spacing:-.01em;color:var(--ink);transition:color .15s}
.client .s{font-size:13px;color:var(--muted)}
a.client:hover .n{color:var(--teal)}
a.client:active{background:var(--mist)}
a.client:active .n{color:var(--teal)}

/* ---------- Footer ---------- */
.contact{display:flex;gap:40px;padding:88px 0 40px;border-top:1px solid var(--line);margin-top:4px}
.contact h2{width:412px;flex:none;font-size:48px;line-height:1.05;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.contact-links{flex:1;display:flex;flex-direction:column;gap:10px;min-width:0}
.contact-row{display:flex;align-items:center;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--line);transition:background-color .15s}
.contact-row svg{width:22px;height:22px;flex:none}
.contact-row svg [fill]:not([fill="none"]){fill:currentColor}
.contact-row svg [stroke]{stroke:currentColor}
.contact-row .l{font-size:17px;line-height:1.6;color:var(--ink);transition:color .15s;flex:1}
.contact-row .v{font-size:14px;color:var(--muted);overflow-wrap:anywhere;text-align:right}
.contact-row{color:var(--ink)}
.contact-row:hover{color:var(--teal)}
.contact-row:hover .l{color:var(--teal)}
.contact-row:active{background:var(--mist);color:var(--teal)}
.fine{padding-bottom:0}

/* ---------- About ---------- */
.intro{display:flex;gap:64px;align-items:flex-end;padding:160px 0 96px}
.intro .statement{flex:1;display:flex;flex-direction:column;gap:28px;max-width:627px}
.intro .h-display{font-size:58px}
.intro .lede{max-width:490px}
.portrait{width:389px;flex:none;aspect-ratio:389/304;background:var(--mist);border-radius:6px;overflow:hidden}
.portrait img{width:100%;height:100%;object-fit:cover}
.story{display:flex;flex-direction:column;gap:20px;padding-bottom:96px}
.story p{max-width:720px}
.block{display:flex;flex-direction:column;gap:24px;padding-bottom:88px}
.list{border-top:1px solid var(--line)}
.item{display:flex;align-items:flex-start;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}
.item .what{flex:1;display:flex;flex-direction:column;gap:2px}
.item .when{font-size:14px;color:var(--muted);white-space:nowrap}
.skills{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.skills > div{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-direction:column;gap:8px}
.skills p{font-size:17px;line-height:1.6;color:var(--muted)}

/* ---------- Resume ---------- */
.resume-head{display:flex;gap:24px;align-items:flex-end;justify-content:space-between}
.resume-head .title{display:flex;flex-direction:column;gap:12px}
.resume-head h1{font-size:64px;line-height:1.3;font-weight:800;letter-spacing:-.02em}
.resume-head .lede{max-width:520px;line-height:1.3}
.resume-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.resume{display:flex;flex-direction:column;gap:40px;padding:0 0 96px}
.preview-panel{background:var(--mist);border-radius:6px;padding:56px;display:flex;justify-content:center}
.preview-panel img{width:100%;max-width:976px;height:auto;box-shadow:0 1px 2px rgba(18,38,44,.06),0 12px 32px rgba(18,38,44,.08)}

/* ---------- 404 ---------- */
.nf{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;padding-top:var(--bar)}
.nf .wrap{flex:1;display:flex;flex-direction:column;justify-content:center}
.nf .msg{display:flex;flex-direction:column;gap:24px;max-width:640px}
.nf .eyebrow{font-size:13px;color:var(--teal)}
.nf .actions{display:flex;gap:12px;align-items:center;padding-top:8px}
.nf .place{padding-bottom:48px}

/* ---------- Case study ---------- */
.cs{display:flex;gap:56px;align-items:flex-start}
.side{position:sticky;top:var(--bar);width:168px;flex:none;padding-top:120px;display:flex;flex-direction:column;gap:4px}
.side .sections{display:flex;flex-direction:column;padding-top:10px}
.side a{position:relative;display:block;padding:6px 0 6px 14px;font-size:15px;line-height:1.4;font-weight:400;color:var(--muted);transition:color .15s}
.side a::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--teal);transform:scaleY(0);transition:transform .3s var(--ease)}
.side a:hover{color:var(--teal)}
.side a:active{color:var(--teal-deep);text-decoration:underline;text-underline-offset:3px}
.side a.on{color:var(--ink);font-weight:500}
.side a.on::before{transform:none}
.progress{padding-top:24px;display:flex;flex-direction:column;gap:6px}
.track{height:2px;background:var(--line);position:relative}
.track i{position:absolute;inset:0 auto 0 0;width:0;background:var(--ink);transition:width .2s linear}
.cs-content{width:856px;flex:none;padding-bottom:40px}
.cs-content img{max-width:none;height:auto}
.cs-content section{scroll-margin-top:calc(var(--bar) + 8px)}
.cs-foot{margin-top:0}
.next-card{display:flex;align-items:center;gap:24px;padding:28px;background:var(--mist);border:1px solid transparent;border-radius:6px;transition:background-color .15s,border-color .15s;width:856px}
.next-card .l{flex:1;display:flex;flex-direction:column;gap:4px}
.next-card .t{font-size:38px;line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--ink);transition:color .15s}
.next-card .r{display:flex;align-items:center;gap:16px;color:var(--muted)}
.next-card .arrow{width:48px;height:48px;border-radius:24px;background:var(--teal);display:grid;place-items:center;transition:background-color .15s,transform .3s var(--ease)}
.next-card .arrow svg{width:20px;height:20px}
.next-card:hover{border-color:var(--teal)}
.next-card:hover .t{color:var(--teal)}
.next-card:hover .arrow{background:var(--ink);transform:translateX(3px)}
.next-card:active{background:var(--line);border-color:var(--teal)}
.next-card:active .arrow{background:var(--teal-deep)}
.otp{display:none}

/* ---------- Gate ---------- */
.gate-page{position:relative;min-height:100vh;min-height:100svh;overflow:hidden}
.gate-bg{position:absolute;left:50%;top:96px;width:856px;margin-left:-316px;opacity:.35;filter:blur(2px);pointer-events:none}
.gate-veil{position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.92) 60%,#fff 100%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.gate{position:relative;z-index:1;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:calc(var(--bar) + 40px) 20px 60px}
.gate .eyebrow{font-size:13px;color:var(--teal)}
.gate h1{font-size:56px;line-height:1.05;font-weight:800;letter-spacing:-.03em;max-width:560px}
.gate .lede{max-width:560px}
.gate form{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:8px}
.gate .pill{border-color:var(--line);background:rgba(255,255,255,.7)}
.gate .pill input{color:var(--ink)}
.gate .pill input::placeholder{color:var(--muted)}
.gate .pill.is-error{border-color:var(--error)}
.gate .pill-msg{color:var(--muted)}
.gate .pill-msg.err{color:#b4372d}

/* ---------- Reveal on scroll ---------- */
.js .rv{opacity:0;transform:translateY(36px) scale(.98);transition:opacity .8s var(--ease),transform 1s var(--ease);transition-delay:var(--d,0ms)}
.js .rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .js .rv{opacity:1;transform:none;transition:none}
  .render-box img{transition:none;transform:none}
  html{scroll-behavior:auto}
}

/* ---------- Phone menu ---------- */
.menu{position:fixed;inset:0;z-index:60;background:#fff;display:flex;flex-direction:column;padding:0 20px 32px;opacity:0;visibility:hidden;transition:opacity .25s var(--ease),visibility 0s .25s}
.menu.open{opacity:1;visibility:visible;transition:opacity .25s var(--ease)}
.menu .bar{height:65px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line)}
.menu .links{padding-top:32px;display:flex;flex-direction:column}
.menu .links a{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);font-size:28px;font-weight:600;letter-spacing:-.01em;color:var(--ink);transform:translateY(8px);opacity:0;transition:transform .4s var(--ease),opacity .4s var(--ease),color .15s}
.menu.open .links a{transform:none;opacity:1}
.menu .links a:nth-child(2){transition-delay:40ms}.menu .links a:nth-child(3){transition-delay:80ms}.menu .links a:nth-child(4){transition-delay:120ms}.menu .links a:nth-child(5){transition-delay:160ms}
.menu .links a span{font-size:20px;font-weight:400;color:var(--muted);transition:transform .2s var(--ease)}
.menu .links a:hover{color:var(--teal)}
.menu .links a:hover span{transform:translateX(3px);color:var(--teal)}
.menu .links a:active{color:var(--teal-deep)}
.menu .foot{margin-top:auto;display:flex;gap:24px}

/* ---------- Tablet ---------- */
@media (max-width:1140px){
  .hero .statement{width:380px}
  .compact .meta{width:auto;flex:1}
  .cs{display:block}
  .side{display:none}
}
@media (max-width:1100px) and (min-width:761px){
  .concepts{gap:16px}
  .contact h2{width:340px}
}

/* ---------- Phone ---------- */
@media (max-width:760px){
  :root{--bar:65px}
  .wrap{width:calc(100% - 40px)}
  .topbar .wrap{gap:12px}
  .topbar .nav{display:none}
  .phone-tools{display:flex}
  .home-btn{gap:10px}
  .home-btn .mark{width:28px;height:28px}
  .home-btn .mark svg{width:16px;height:21px}
  .home-btn:hover .mark svg,.home-btn[aria-current="page"] .mark svg,.home-btn:active .mark svg{width:14px;height:19px}
  .home-btn .name{font-size:29px;line-height:29px}
  .hero{display:block;padding:55px 0 16px}
  .hero .statement{width:auto}
  .hero .statement .lede{max-width:none}
  .h-display{font-size:40px}
  .facts{flex-direction:column;gap:6px}
  .render-stage{display:none}
  .section{padding:64px 0 0;gap:36px}
  #work{padding-top:64px}
  #clients{padding-bottom:0}
  .section-head{flex-direction:column;align-items:flex-start;gap:10px}
  .section-head .small{width:auto}
  .h-section{font-size:28px}
  .group{padding:20px 16px}
  .group-head{flex-direction:column;align-items:flex-start;gap:6px}
  .cards{grid-template-columns:1fr;gap:20px}
  .card{min-height:0}
  .feature,.compact{flex-direction:column;align-items:flex-start;gap:20px}
  .compact{gap:16px}
  .feature .image{width:100%}
  .compact .action{margin-left:0}
  .concepts{grid-template-columns:1fr;gap:40px}
  .roster-row{grid-template-columns:1fr}
  .roster-row .client + .client{border-top:0}
  .contact{flex-direction:column;gap:28px;padding:64px 0}
  .contact h2{width:auto;font-size:40px;white-space:normal}
  .fine{padding-bottom:64px}
  .contact-row .v{display:none}
  .intro{flex-direction:column;align-items:stretch;gap:32px;padding:48px 0 64px}
  .intro .h-display{font-size:40px}
  .portrait{width:100%}
  .story{padding-bottom:64px}
  .block{padding-bottom:64px}
  .item{flex-direction:column;gap:6px;position:relative}.item .when{position:absolute;right:0;bottom:20px;line-height:inherit}.item .what .small{padding-right:96px}
  .skills{grid-template-columns:1fr}
  .resume-head{flex-direction:column;align-items:flex-start}
  .resume-head h1{font-size:40px}
  .preview-panel{padding:16px}
  .resume{padding-top:48px}
  .gate h1{font-size:36px}
  .gate .lede{font-size:17px}
  .gate-bg{width:600px;margin-left:-300px}
  .otp{display:block;position:fixed;left:0;right:0;top:var(--bar);z-index:40}
}
/* Case study scale-down below desktop: the 856px column is zoomed to fit */
@media (max-width:1140px){
  .cs-content{width:auto;padding-top:var(--otp-h,0px)}
  .cs-scale{width:856px;zoom:var(--z,1)}
  .otp{display:block;position:fixed;left:0;right:0;top:var(--bar);z-index:40}
  .otp-bar{display:flex;align-items:center;gap:8px;width:100%;padding:12px 20px;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);text-align:left}
  .otp-bar .k{font-size:12px;font-weight:400;color:var(--muted);flex:none}
  .otp-bar .cur{flex:1;min-width:0;font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .otp-bar .pct{font-size:12px;font-weight:400;color:var(--muted)}
  .otp-bar svg{width:18px;height:18px;transform:rotate(180deg);transition:transform .25s var(--ease)}
  .otp.open .otp-bar svg{transform:none}
  .otp-line{position:absolute;left:0;bottom:-1px;height:2px;width:0;background:var(--teal)}
  .otp-dim{position:fixed;inset:0;top:calc(var(--bar) + 43px);background:rgba(15,31,36,.3);opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
  .otp-list{position:absolute;left:0;right:0;top:100%;background:#fff;padding:8px 20px 16px;max-height:calc(100vh - var(--bar) - 60px);overflow:auto;transform:translateY(-8px);opacity:0;visibility:hidden;transition:transform .25s var(--ease),opacity .2s,visibility 0s .25s;box-shadow:0 12px 24px rgba(15,31,36,.08)}
  .otp.open .otp-dim{opacity:1;visibility:visible;transition:opacity .2s}
  .otp.open .otp-list{transform:none;opacity:1;visibility:visible;transition:transform .25s var(--ease),opacity .2s}
  .otp-list a{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:15px;font-weight:400;color:var(--muted)}
  .otp-list a::before{content:"";width:2px;height:18px;background:var(--line);flex:none}
  .otp-list a.on{color:var(--ink);font-weight:600}
  .otp-list a.on::before{background:var(--teal)}
  .otp-list a:hover{color:var(--teal)}
  .otp-list a:active{color:var(--teal-deep);text-decoration:underline}
}
@media (max-width:760px){
  .next-card{width:856px}
}
.contact-links > span{display:block}
.crumb{font-size:14px}
html,body{overflow-x:clip}

/* ---------- Scroll prompt ---------- */
.scroll-cue{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:45;display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 16px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);box-shadow:0 6px 20px rgba(18,38,44,.08);font-size:13px;font-weight:400;color:var(--muted);opacity:0;visibility:hidden;transform:translate(-50%,10px);transition:opacity .45s var(--ease),transform .45s var(--ease),visibility 0s .45s,border-color .15s,color .15s,background-color .15s}
.scroll-cue.show{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .45s var(--ease),transform .45s var(--ease),border-color .15s,color .15s,background-color .15s}
.scroll-cue svg{width:16px;height:16px;animation:cue-bob 1.8s var(--ease) infinite}
.scroll-cue:hover{border-color:var(--teal);color:var(--teal)}
.scroll-cue:active{background:var(--mist);color:var(--teal-deep)}
@keyframes cue-bob{0%,100%{transform:translateY(-1px)}50%{transform:translateY(3px)}}
@media (prefers-reduced-motion:reduce){.scroll-cue svg{animation:none}}
@media (max-width:760px){.scroll-cue{bottom:calc(20px + env(safe-area-inset-bottom,0px))}}

/* Laptop and desktop: the hero fills the first screen, so the work starts below the fold */
@media (min-width:761px){
  .hero{min-height:calc(100vh - var(--bar));min-height:calc(100svh - var(--bar));padding:48px 0 72px;box-sizing:border-box}
}

/* Phone and tablet "On this page" control: a clear tappable pill */
@media (max-width:1140px){
  .otp-bar{padding:8px 20px}
  .otp-pill{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:5px 5px 5px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 2px 10px rgba(18,38,44,.07);transition:border-color .15s,background-color .15s,box-shadow .15s}
  .otp-bar:hover .otp-pill{border-color:var(--teal)}
  .otp-bar:active .otp-pill{background:var(--mist);border-color:var(--teal)}
  .otp.open .otp-pill{border-color:var(--teal);box-shadow:none}
  .otp-bar .chev{width:28px;height:28px;flex:none;border-radius:50%;background:var(--teal);display:grid;place-items:center;transition:background-color .15s}
  .otp-bar:hover .chev{background:var(--ink)}
  .otp-bar:active .chev{background:var(--teal-deep)}
  .otp-bar .chev svg{width:16px;height:16px;transform:rotate(180deg);transition:transform .25s var(--ease)}
  .otp-bar .chev svg path{stroke:#fff}
  .otp.open .otp-bar .chev svg{transform:none}
  .otp-bar > svg{display:none}
  .otp-dim{top:calc(var(--bar) + 55px)}
  .otp-bar .chev.nudge{animation:chev-nudge 1.2s var(--ease) 2}
}
@keyframes chev-nudge{0%,100%{transform:translateY(0)}40%{transform:translateY(3px)}70%{transform:translateY(-1px)}}
@media (prefers-reduced-motion:reduce){.otp-bar .chev.nudge{animation:none}}

/* Phone: the hero also fills the first screen, so work starts below the fold and the scroll prompt leads to it */
@media (max-width:760px){
  .hero{display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - var(--bar));min-height:calc(100svh - var(--bar));padding:24px 0 96px;box-sizing:border-box}
}

/* Phone: the hero also fills the first screen, so the work fades in as you scroll */
@media (max-width:760px){
  .hero{display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - var(--bar));min-height:calc(100svh - var(--bar));padding:24px 0 88px}
}
.lock-layer form{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px;padding:0 16px}
.lock-layer .pill{width:100%;max-width:320px}

/* Scrolling up: content comes down into place */
.js .rv.above:not(.in){transform:translateY(-36px) scale(.98)}

/* Certifications on phones: date sits after the issuer, e.g. "Google, 2024" */
.when-inline{display:none}
@media (max-width:760px){.certs .when-inline{display:inline}.certs .when{display:none}}
