/* Andy Nguyen Studio — layout and type measured 1:1 from the reference at 1440px.
   Fonts: free stand-ins for the reference's licensed faces (see FONTS in build.py). */

:root {
  --m: 40px;                 /* site margin */
  --g: 25px;                 /* grid gap */
  --mono-fs: 12px;
  --text-fs: 17px;
  --ed: 'Newsreader', 'Times New Roman', serif;
  --gr: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --black: #000;
  --white: #fff;
  --line: 1px solid #000;
}
@media (min-width: 1550px) { :root { --mono-fs: 13px; --text-fs: 19px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--white); color: var(--black);
  font: 300 var(--mono-fs)/1 var(--mono); text-transform: uppercase;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-transform: inherit; }
::selection { background: #000; color: #fff; }

.wrap { padding: 0 var(--m); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.t-text { font: 400 var(--text-fs)/1 var(--gr); text-transform: uppercase; }
.t-text-md { font: 400 23px/1 var(--gr); text-transform: uppercase; }
.t-mono { font: 300 var(--mono-fs)/1 var(--mono); }
.t-mono-lh { line-height: 1.4; }
.right { text-align: right; }
.hline { height: 1px; background: #000; }
.justify { text-align: justify; line-height: 1.3; }
.indent { text-indent: 70px; }
.para { font: 500 var(--text-fs)/1 var(--gr); text-transform: uppercase; text-align: justify; text-indent: 60px; line-height: 1.05; }
.scr span { pointer-events: none; }

/* ─── Desktop nav ─────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: var(--m); right: var(--m); z-index: 4000; display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 20px; }
.nav-back { position: fixed; top: 0; left: var(--m); right: var(--m); height: 39px; background: #fff; z-index: 3999; transition: height .35s cubic-bezier(.2,.7,.2,1); }
.nav-back.is-open { height: 119px; }
.nav-btn { display: flex; align-items: center; gap: 10px; height: 40px; border-bottom: var(--line); font: 300 var(--mono-fs)/1 var(--mono); }
.nav-dot { width: 10px; height: 10px; border-radius: 10px; background: #000; margin-bottom: 1px; display: none; }
.nav-btn.is-active .nav-dot, .nav-btn:hover .nav-dot { display: block; }
.nav-follow { position: relative; }
.nav-follow-list { position: absolute; top: 40px; left: 0; right: 0; display: flex; flex-direction: column; overflow: hidden; max-height: 0; transition: max-height .35s cubic-bezier(.2,.7,.2,1); }
.nav-follow:hover .nav-follow-list, .nav-follow:focus-within .nav-follow-list { max-height: 80px; }
.nav-follow-list a { display: flex; align-items: center; height: 40px; border-bottom: var(--line); transition: padding .25s ease; }
.nav-follow-list a:hover { padding-left: 10px; }

/* mobile header + overlay menu */
.mnav { display: none; }
.mmenu { display: none; }

/* ─── Home hero ───────────────────────────────────────────────────────── */
.hero { padding-top: 98px; }
.clock { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.clock-a { grid-column: 9 / 11; display: flex; gap: 6px; white-space: nowrap; }
.clock-cities { grid-column: 9 / 11; display: flex; justify-content: space-between; margin-top: 22px; }
.micro { text-align: center; margin-top: 82px; }
.hero-lines { margin-top: 56px; }
.fitline { display: flex; justify-content: space-between; align-items: baseline; white-space: nowrap; font: 200 96px/0.8 var(--ed); text-transform: uppercase; letter-spacing: -0.01em; }
.fitline + .fitline { margin-top: 0.0em; }
.fitline b { font: 700 0.9em/0.8 var(--gr); letter-spacing: -0.035em; }
.fitline .dot { display: inline-block; width: 0.42em; height: 0.42em; border-radius: 50%; background: #000; align-self: center; margin-top: -0.06em; }
.fitline .globe { display: inline-block; width: 1.3em; height: 0.9em; align-self: center; }
.fitline .rule { display: inline-block; flex: 0 0 1.6em; height: 1px; background: #000; align-self: center; margin-top: -0.05em; }
.hero-sub { margin-top: 60px; }
.hero-sub .grid12 > div { display: flex; flex-direction: column; gap: 5px; }
.subl { display: flex; justify-content: space-between; font: 400 var(--text-fs)/1 var(--gr); text-transform: uppercase; }
.hero-sub .left { grid-column: 4 / 7; }
.hero-sub .rightb { grid-column: 7 / 10; }

/* showreel */
.reel { margin-top: 160px; }
.reel-box { grid-column: 3 / 11; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.reel-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-cap { grid-column: 3 / 11; display: flex; margin-top: 20px; }
.reel-cap span:first-child { width: 114px; }
.reel-cap span:last-child { margin-left: auto; }
.reel-sound { position: absolute; right: 14px; bottom: 12px; color: #fff; mix-blend-mode: difference; }

/* section header row (Case Studies) */
.sechead { margin-top: 262px; height: 55px; border-bottom: var(--line); display: flex; align-items: center; }

/* home case rows */
.rows { margin-left: calc((100% - 11 * var(--g)) / 12 * 2 + 2 * var(--g)); }
.row { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--g); height: 341px; padding: 20px 0 32px; border-bottom: var(--line); }
.row-left { grid-column: 1 / 7; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; }
.row-info { grid-column: 7 / 11; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; }
.row-info .pair { display: flex; justify-content: space-between; }
.row-info .pair .label { line-height: 1.4; }
.row-info .vals { display: flex; flex-direction: column; gap: 8px; text-align: right; align-items: flex-end; }
.row-info .pair.bottom { align-items: flex-end; }
.row-big { position: absolute; left: 0; top: 50%; transform: translateY(-58%); font-size: 110px; line-height: 1; white-space: nowrap; display: block; z-index: 1; pointer-events: none; }
.row-big.f-grotesk { font-family: var(--gr); font-weight: 600; letter-spacing: -0.04em; text-transform: uppercase; }
.row-big.f-mono { font-family: var(--mono); font-weight: 300; letter-spacing: -0.04em; text-transform: uppercase; }
.row-big.f-editorial { font-family: var(--ed); font-weight: 200; letter-spacing: -0.01em; text-transform: uppercase; }
.row.is-hover .row-big { display: block; }
.row-img { display: none; }
.row-ind { display: none; }
.cursor-img { position: fixed; top: 0; left: 0; z-index: 3000; pointer-events: none; opacity: 0; will-change: transform; max-width: 25vw; max-height: 60vh; min-height: 50vh; width: auto; height: auto; object-fit: contain; }
.cursor-img.is-on { opacity: 1; }
.explore { margin-top: -1px; height: 55px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; }
.arrow { width: 23px; height: 13px; }

/* excerpt */
.excerpt { margin-top: 345px; }
.excerpt .fitline { line-height: 0.8; }
.excerpt .fitline + .fitline { margin-top: 0.03em; }

/* recognitions */
.recog { margin-top: 320px; border-top: var(--line); }
.recog .lbl { grid-column: 1 / 7; padding-top: 23px; }
.recog .list { grid-column: 7 / 13; }
.recog-item { height: 55px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; }
.linkbtn { height: 55px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; }
.about-link { margin-top: 100px; }
.about-link > a { grid-column: 7 / 13; }

/* ─── Footer ──────────────────────────────────────────────────────────── */
.foot { margin-top: 225px; }
.foot-top { display: flex; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: var(--line); }
.foot-top .sp { margin-left: auto; }
.foot-main { padding-top: 21px; }
.foot-main .brand { grid-column: 1 / 3; }
.foot-main .c1 { grid-column: 3 / 5; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.foot-main .c2 { grid-column: 5 / 7; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.foot-main .call { grid-column: 8 / 13; }
.foot-blurb { margin-top: 205px; padding-bottom: 21px; border-bottom: var(--line); align-items: end; }
.foot-blurb .b1 { grid-column: 4 / 7; }
.foot-blurb .b2 { grid-column: 10 / 13; }
.foot-blurb p { text-align: justify; text-indent: 70px; line-height: 1.3; }
.marquee { display: flex; overflow: hidden; padding: 11px 0 0; height: 150px; }
.marquee-list { display: flex; align-items: flex-start; flex: none; gap: 50px; padding-right: 50px; animation: marquee linear infinite; animation-duration: 20s; }
@keyframes marquee { to { transform: translateX(-100%); } }
.mq-item { font-size: 110px; line-height: 1; white-space: nowrap; }
.mq-ed { font-family: var(--ed); font-weight: 200; text-transform: uppercase; }
.mq-it { font-family: var(--ed); font-weight: 200; font-style: italic; text-transform: none; }
.mq-gr { font-family: var(--gr); font-weight: 600; letter-spacing: -0.035em; text-transform: uppercase; }
.mq-mono { font-family: var(--mono); font-weight: 300; text-transform: uppercase; letter-spacing: -0.02em; }
.mq-mark { font: 600 23px/1 var(--gr); padding-top: 8px; letter-spacing: 0.02em; }

/* ─── Index pages (case studies / archive / contact) ─────────────────── */
.pagehead { padding-top: 70px; display: flex; justify-content: space-between; align-items: flex-start; }
.pagehead h1 { font: 100 72px/1 var(--ed); font-weight: 200; text-transform: uppercase; letter-spacing: -0.01em; }
.intro-row { margin-top: 100px; align-items: end; }
.intro-row .para { grid-column: 1 / 5; }
.intro-row .note { grid-column: 8 / 10; line-height: 1.4; align-self: start; }
.intro-row .mini { grid-column: 10 / 13; aspect-ratio: 16 / 9; overflow: hidden; }
.intro-row .mini video { width: 100%; height: 100%; object-fit: cover; }

.cs-list { margin-top: 20px; border-top: var(--line); }
.cs-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: 20px 0; border-bottom: var(--line); min-height: 356px; }
.cs-row .ind { grid-column: 1 / 5; display: flex; justify-content: space-between; flex-direction: column; }
.cs-row .ind .top { display: flex; justify-content: space-between; }
.cs-row .ttl { font: 200 50px/1.15 var(--ed); text-transform: none; letter-spacing: -0.005em; }
.cs-row .thumb { grid-column: 5 / 8; display: flex; justify-content: flex-end; }
.cs-row .thumb img { width: 210px; height: 315px; object-fit: cover; }
.cs-row .info { grid-column: 8 / 13; display: flex; flex-direction: column; justify-content: space-between; }
.cs-row .info .pair { display: flex; justify-content: space-between; }
.cs-row .info .vals { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; text-align: right; }
.cs-row .info .pair.bottom { align-items: flex-end; }
.cs-num { margin-right: 0; }

.arch-head { margin-top: 80px; display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: var(--line); }
.arch-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); height: 46px; align-items: center; border-bottom: var(--line); position: relative; }
.arch-row .n { grid-column: 1 / 7; display: flex; gap: 14px; }
.arch-row .i { grid-column: 7 / 10; }
.arch-row .s { grid-column: 10 / 13; text-align: right; display: flex; justify-content: flex-end; gap: 14px; }
.arch-row:hover { background: #000; color: #fff; }
.arch-row:hover .n { padding-left: 10px; transition: padding .2s ease; }

/* ─── Case study page ─────────────────────────────────────────────────── */
.cs-head { margin-top: 40px; min-height: 630px; border-bottom: var(--line); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.cs-head .l { grid-column: 1 / 7; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 21px; }
.goback { width: calc((100% - 5 * var(--g)) / 6 * 2 + var(--g)); max-width: 210px; height: 60px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; }
.cs-title { font: 200 90px/1 var(--ed); text-transform: uppercase; letter-spacing: -0.01em; max-width: 12ch; }
.cs-head .r { grid-column: 9 / 13; display: flex; flex-direction: column; padding-bottom: 21px; }
.rec-row { height: 60px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; }
.rec-mark { font: 400 11px/1 var(--mono); width: 35px; height: 35px; border: var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.scope-pair { display: flex; justify-content: space-between; margin-top: 20px; }
.scope-pair .vals { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cs-head .para { margin-top: auto; padding-top: 40px; }
.cs-meta { display: flex; justify-content: space-between; margin-top: 20px; }
.cs-link { text-decoration: underline; text-underline-offset: 3px; }

.blk { margin-top: 240px; }
.blk-mid { grid-column: 3 / 11; }
.blk-c { grid-column: 4 / 10; }
.blk-full { grid-column: 1 / 13; }
.blk-l { grid-column: 1 / 7; }
.blk-r { grid-column: 7 / 13; }
.media { position: relative; overflow: hidden; }
.media img, .media video { width: 100%; height: auto; }
.media.sq { aspect-ratio: 1; }
.media.sq img, .media.sq video { height: 100%; object-fit: cover; }
.pair-imgs { row-gap: var(--g); }
.txt { grid-column: 7 / 10; }
.txt .t-mono { display: block; margin-bottom: 50px; }
.blk.txtblk { margin-top: 220px; }
.stats { margin-top: 220px; }
.stats .grid12 > div { grid-column: span 3; border-top: var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.stat-k { font: 200 72px/1 var(--ed); text-transform: uppercase; }
.note { margin-top: 40px; }

.more { margin-top: 220px; }
.more-head { display: flex; justify-content: flex-end; padding-bottom: 10px; border-bottom: var(--line); }
.more-head a { font: 200 72px/1 var(--ed); text-transform: uppercase; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--g); }
.more-item { display: grid; grid-template-columns: 1fr 95px; column-gap: 20px; padding: 20px 0; border-bottom: var(--line); min-height: 184px; }
.more-item .l { display: flex; flex-direction: column; justify-content: space-between; }
.more-item img { width: 95px; height: 143px; object-fit: cover; }

.confidential { position: relative; }
.confidential .media::after { content: '\00AE  World Scouting  \00B7  \00A9  Andy Nguyen'; position: absolute; left: 12px; bottom: 10px; color: #fff; mix-blend-mode: difference; font: 300 10px/1 var(--mono); pointer-events: none; }
.confidential img, .confidential video { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.conf-banner { margin-top: 20px; height: 40px; border-bottom: var(--line); display: flex; align-items: center; gap: 10px; }

/* ─── About ───────────────────────────────────────────────────────────── */
.ab-head { padding-top: 60px; }
.ab-head h1 { font: 200 72px/0.95 var(--ed); text-transform: uppercase; letter-spacing: -0.01em; }
.ab-head .h1l { grid-column: 1 / 7; }
.ab-head .h1r { grid-column: 7 / 13; }
.ab-photo { margin-top: 150px; }
.ab-photo .box { grid-column: 5 / 9; }
.ab-photo .sub { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.ab-photo .img { aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.ab-photo .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.ab-photo .cap { display: flex; justify-content: space-between; margin-top: 20px; }
.ab-p1 { margin-top: 140px; }
.ab-p1 .para { grid-column: 2 / 7; }
.ab-p2 { margin-top: 90px; }
.ab-p2 .para { grid-column: 4 / 7; font-size: 13px; text-transform: none; line-height: 1.25; text-indent: 50px; }
.ab-disc { margin-top: 110px; }
.ab-disc .row3 { grid-column: 7 / 10; display: flex; justify-content: space-between; align-items: center; }
.ab-disc .ico { width: 38px; height: 22px; border: var(--line); border-radius: 50%; position: relative; }
.ab-disc .ico::before, .ab-disc .ico::after { content: ''; position: absolute; background: #000; }
.ab-disc .ico::before { left: 8px; right: 8px; top: 50%; height: 1px; }
.ab-disc .ico::after { top: 4px; bottom: 4px; left: 50%; width: 1px; }
.ab-p3 { margin-top: 90px; }
.ab-p3 .para { grid-column: 7 / 10; font-size: 13px; text-transform: none; line-height: 1.25; text-indent: 50px; }
.ab-proc { margin-top: 160px; }
.ab-proc .lbl { grid-column: 7 / 13; font: 400 var(--text-fs)/1 var(--gr); padding-bottom: 14px; }
.ab-proc .col { grid-column: span 6; }
.proc-row { height: 46px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; }
.proc-row b { font: 400 var(--text-fs)/1 var(--gr); }
.ab-p4 { margin-top: 160px; }
.ab-p4 .para { grid-column: 7 / 10; font-size: 13px; text-transform: none; line-height: 1.25; text-indent: 50px; }
.ab-founder { margin-top: 180px; }
.ab-founder .lbl { grid-column: 3 / 7; font: 400 var(--text-fs)/1 var(--gr); align-self: end; padding-bottom: 14px; border-bottom: var(--line); }
.ab-founder .img { grid-column: 7 / 10; aspect-ratio: 3 / 4; overflow: hidden; background: #222; }
.ab-founder .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.ab-founder .bio { grid-column: 3 / 7; align-self: end; padding-bottom: 20px; border-bottom: var(--line); }
.ab-founder .bio p { font: 400 13px/1.25 var(--gr); text-transform: none; text-align: justify; text-indent: 50px; }
.ab-serv { margin-top: 180px; }
.ab-serv .lbl { grid-column: 1 / 13; text-align: right; font: 400 var(--text-fs)/1 var(--gr); margin-bottom: 30px; }
.ab-serv .col { grid-column: span 4; }
.serv-h { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; border-bottom: var(--line); }
.serv-h b { font: 400 var(--text-fs)/1 var(--gr); }
.serv-i { height: 46px; border-bottom: var(--line); display: flex; align-items: center; justify-content: flex-end; }

/* ─── Contact ─────────────────────────────────────────────────────────── */
.ct-main { margin-top: 100px; align-items: start; }
.ct-call { grid-column: 1 / 4; border-top: var(--line); padding-top: 12px; text-align: right; }
.ct-call .ava { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 70px 0 40px auto; }
.ct-call .ava img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.ct-call p { text-align: justify; text-indent: 70px; line-height: 1.3; }
.ct-call .btn { margin-top: 40px; height: 40px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; font: 400 var(--text-fs)/1 var(--gr); }
.ct-form { grid-column: 7 / 10; border-top: var(--line); padding-top: 12px; }
.ct-form .r { text-align: right; margin-bottom: 70px; }
.ct-form input, .ct-form textarea { display: block; width: 100%; border: 0; border-bottom: var(--line); background: transparent; font: 300 var(--mono-fs)/1 var(--mono); text-transform: uppercase; padding: 14px 0 10px; margin-bottom: 18px; outline: 0; border-radius: 0; resize: vertical; }
.ct-form textarea { min-height: 40px; }
.ct-form input::placeholder, .ct-form textarea::placeholder { color: #000; }
.ct-form .send { margin-top: 60px; width: 100%; height: 40px; border: var(--line); display: flex; align-items: center; justify-content: center; }
.ct-form .send:hover { background: #000; color: #fff; }
.ct-form .status { margin-top: 14px; min-height: 12px; }
.ct-direct { grid-column: 10 / 13; border-top: var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 0; }
.ct-direct .r { text-align: right; margin-bottom: 40px; }
.ct-direct a, .ct-direct div.li { height: 40px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.faq { margin-top: 180px; border-top: var(--line); }
.faq .lbl { grid-column: 1 / 7; padding-top: 14px; }
.faq .list { grid-column: 7 / 13; }
.faq-item { border-bottom: var(--line); }
.faq-q { width: 100%; height: 46px; display: flex; align-items: center; justify-content: space-between; text-align: left; font: 300 var(--mono-fs)/1 var(--mono); }
.faq-q svg { transition: transform .3s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.2,.7,.2,1); }
.faq-a p { padding: 4px 0 22px; font: 400 13px/1.3 var(--gr); text-transform: none; max-width: 520px; }
.faq-item.is-open .faq-a { max-height: 200px; }

.legal { margin-top: 140px; max-width: 760px; }
.legal p { font: 400 15px/1.45 var(--gr); text-transform: none; margin-bottom: 18px; }

/* ─── Tablet & mobile ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
  :root { --m: 10px; --g: 10px; --mono-fs: 10px; --text-fs: 13px; }
  .nav, .nav-back { display: none; }
  .mnav { display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; left: 0; right: 0; height: 30px; padding: 0 var(--m); background: #fff; z-index: 4000; }
  .mnav .logo { font: 300 14px/1 var(--gr); }
  .mmenu { display: flex; position: fixed; inset: 0; z-index: 4500; background: #fff; flex-direction: column; padding: 0 var(--m) 14px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
  .mmenu.is-open { opacity: 1; visibility: visible; }
  .mmenu .top { display: flex; justify-content: space-between; align-items: center; height: 30px; }
  .mmenu .links { margin: auto 0; display: flex; flex-direction: column; }
  .mmenu .links a { height: 46px; display: flex; align-items: center; justify-content: center; border-bottom: var(--line); font: 300 13px/1 var(--mono); }
  .mmenu .links a:last-child { border-bottom: 0; }
  .mmenu .bot { display: flex; justify-content: space-between; }
  .hero { padding-top: 80px; }
  .clock { display: none; }
  .micro { margin-top: 0; font-size: 12px; }
  .hero-lines { margin-top: 45px; padding: 0 10px; }
  .fitline.m-only { display: flex; }
  .fitline.d-only { display: none; }
  .hero-sub { margin-top: 40px; }
  .hero-sub .left, .hero-sub .rightb { grid-column: 3 / 11; }
  .subl { font-size: 9px; }
  .reel { margin-top: 70px; }
  .reel-box, .reel-cap { grid-column: 1 / 13; }
  .reel-cap span:first-child { width: 95px; }
  .sechead { margin-top: 90px; height: auto; padding-bottom: 10px; justify-content: flex-end; }
  .sechead .t-text { font: 300 10px/1 var(--mono); }
  .rows { margin-left: 0; }
  .row { grid-template-columns: repeat(12, minmax(0, 1fr)); height: auto; padding: 10px 0; }
  .row-left { grid-column: 1 / 9; min-height: 148px; }
  .row-num { display: none; }
  .row-ind { display: block; }
  .row-small { font: 400 13px/1.15 var(--gr) !important; }
  .row-info { display: none; }
  .row-img { display: block; grid-column: 9 / 13; aspect-ratio: 2 / 3; object-fit: cover; width: 100%; height: auto; }
  .row-num-m { position: absolute; right: calc(33.3% + 10px); top: 10px; }
  .row-big { display: none !important; }
  .explore { display: none; }
  .excerpt { margin-top: 90px; }
  .excerpt .fitline { line-height: 0.75; }
  .recog { margin-top: 70px; border-top: 0; }
  .recog .lbl { grid-column: 1 / 13; font: 400 13px/1 var(--gr); padding: 0 0 14px; border-bottom: var(--line); }
  .recog .list { grid-column: 1 / 13; }
  .recog-item { height: 33px; }
  .recog-item .t-text { font: 400 10px/1 var(--mono); }
  .recog-item .t-mono { opacity: .5; }
  .about-link > a { grid-column: 1 / 13; }
  .about-link { margin-top: 50px; }
  .foot { margin-top: 110px; }
  .foot-main .brand, .foot-main .c1, .foot-main .c2 { display: none; }
  .foot-main .call { grid-column: 1 / 13; }
  .foot-top .hide-m { display: none; }
  .foot-blurb { margin-top: 90px; }
  .foot-blurb .b1 { display: none; }
  .foot-blurb .b2 { grid-column: 1 / 13; }
  .marquee { height: 50px; padding-top: 6px; }
  .mq-item { font-size: 33px; }
  .marquee-list { gap: 18px; padding-right: 18px; }
  .mq-mark { font-size: 8px; padding-top: 3px; }
  .pagehead { padding-top: 50px; }
  .pagehead h1 { font-size: 40px; }
  .intro-row .para, .intro-row .note, .intro-row .mini { grid-column: 1 / 13; }
  .intro-row .note { margin-top: 30px; }
  .intro-row .mini { margin-top: 10px; }
  .cs-row { min-height: 0; }
  .cs-row .ind { grid-column: 1 / 9; min-height: 160px; }
  .cs-row .ttl { font-size: 26px; }
  .cs-row .thumb { grid-column: 9 / 13; }
  .cs-row .thumb img { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .cs-row .info { display: none; }
  .arch-row { height: 40px; }
  .arch-row .n { grid-column: 1 / 9; }
  .arch-row .i { display: none; }
  .arch-row .s { grid-column: 9 / 13; }
  .arch-row .s span + span { display: none; }
  .cs-head { margin-top: 30px; min-height: 0; }
  .cs-head .l, .cs-head .r { grid-column: 1 / 13; }
  .goback { max-width: none; width: 50%; height: 40px; }
  .cs-title { font-size: 48px; margin: 60px 0 30px; }
  .cs-head .para { padding-top: 30px; }
  .blk { margin-top: 70px; }
  .blk-mid, .blk-c, .blk-l, .blk-r { grid-column: 1 / 13; }
  .txt { grid-column: 1 / 13; }
  .txt .t-mono { margin-bottom: 24px; }
  .blk.txtblk { margin-top: 70px; }
  .stats .grid12 > div { grid-column: span 6; margin-bottom: 20px; }
  .stat-k { font-size: 44px; }
  .more-head a { font-size: 40px; }
  .more-grid { grid-template-columns: 1fr; }
  .ab-head h1 { font-size: 38px; }
  .ab-head .h1l, .ab-head .h1r { grid-column: 1 / 13; }
  .ab-head .h1r { margin-top: 30px; }
  .ab-photo .box, .ab-p1 .para, .ab-p2 .para, .ab-disc .row3, .ab-p3 .para, .ab-p4 .para, .ab-founder .lbl, .ab-founder .img, .ab-founder .bio, .ab-proc .lbl { grid-column: 1 / 13; }
  .ab-photo, .ab-p1, .ab-p2, .ab-disc, .ab-p3, .ab-proc, .ab-p4, .ab-founder, .ab-serv { margin-top: 70px; }
  .ab-proc .col, .ab-serv .col { grid-column: 1 / 13; }
  .ab-serv .col { margin-bottom: 30px; }
  .ab-founder .img { margin: 20px 0; }
  .ct-call, .ct-form, .ct-direct { grid-column: 1 / 13; margin-bottom: 60px; }
  .faq .lbl, .faq .list { grid-column: 1 / 13; }
  .faq { margin-top: 60px; }
  .faq .lbl { padding-bottom: 14px; }
  .legal { margin-top: 80px; }
}
@media (min-width: 992px) { .fitline.m-only { display: none; } .row-num-m { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-list { animation: none; }
}

/* case pages sit on the reference's light grey */
body.case { background: #fff; }
body.case .nav-back, body.case .mnav, body.case .mmenu { background: #fff; }
.ct-direct a span:last-child { white-space: nowrap; }

.sub-m { display: none; }
@media (max-width: 991px) {
  .hero-lines .fitline { line-height: 0.98; }
  .hero-lines .fitline b { line-height: 0.98; }
  .excerpt .fitline { line-height: 0.92; }
  .hero-sub .grid12 { display: none; }
  .sub-m { display: block; width: 236px; margin: 0 auto; font: 400 9px/1.33 var(--gr); text-transform: uppercase; text-align: justify; text-align-last: justify; }
}

/* ═══ v4: ASCII system, landing pages, archive gallery, about me, contact ═══ */
.ascii-layer, .ascii-veil { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.ascii-transition { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9000; pointer-events: none; visibility: hidden; }
.media { position: relative; background: transparent; }
.media img, .media video { width: 100%; height: auto; display: block; }
.media.is-video { background: transparent; }
.pair-imgs { align-items: start; }

/* code hero (replaces showreel) */
.code-hero { background: #000; color: #fff; aspect-ratio: 16 / 9; }
.code-stream { position: absolute; left: 22px; top: 20px; bottom: 44px; width: 46%; overflow: hidden; margin: 0;
  font: 300 11px/1.55 var(--mono); text-transform: none; color: rgba(255,255,255,.78); white-space: pre; z-index: 2; }
.code-object { position: absolute; right: 0; top: 0; width: 62%; height: calc(100% - 34px); z-index: 1; }
.code-status { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; border-top: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font: 300 10px/1 var(--mono); color: rgba(255,255,255,.8); }
.globe { display: inline-block; width: 1.5em; height: 0.9em; align-self: center; }

/* case landing hero */
.cs-hero { margin-top: 25px; }
.cs-hero-media { position: relative; overflow: hidden; cursor: crosshair; }
.cs-hero-media img, .cs-hero-media video { display: block; width: auto; max-width: 100%; height: auto; max-height: 92vh; object-fit: contain; margin: 0 auto; }
.cs-hero-cap { display: flex; justify-content: space-between; margin-top: 14px; }
.trio { row-gap: var(--g); align-items: start; }
.trio .tri { grid-column: span 4; }
.book { margin-top: 220px; }
.book-head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: var(--line); margin-bottom: 25px; }
.book-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--g); }
.bk-page { display: flex; flex-direction: column; gap: 8px; }
.next-case { margin-top: 200px; display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: 16px; padding: 22px 0; border-top: var(--line); border-bottom: var(--line); }
.next-case .t-mono { grid-column: 1 / -1; }
.next-title { font: 200 110px/0.9 var(--ed); text-transform: uppercase; letter-spacing: -0.01em; }
.next-case .arrow { width: 60px; height: 34px; }
.cs-title { margin: 40px 0; }

/* archive mockup gallery */
.arc-grid { margin-top: 60px; columns: 4; column-gap: var(--g); }
.arc-tile { position: relative; display: block; break-inside: avoid; margin-bottom: var(--g); overflow: hidden; }
.arc-tile img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.arc-tile:hover img { transform: scale(1.03); }
.arc-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 8px 10px; background: #fff; transform: translateY(101%); transition: transform .35s cubic-bezier(.2,.7,.2,1); z-index: 3; }
.arc-tile:hover .arc-cap { transform: none; }
.reshuffle { text-decoration: underline; text-underline-offset: 3px; }
.mini-ascii { display: block; }
.intro-row .mini { aspect-ratio: auto; height: 220px; background: transparent; }

/* about me */
.me-hero { margin-top: 120px; align-items: start; }
.me-side { grid-column: 1 / 4; display: flex; flex-direction: column; gap: 20px; }
.me-side .sub { display: flex; flex-direction: column; gap: 5px; }
.me-ascii { width: 100%; height: 260px; display: block; }
.me-side .cap { display: flex; justify-content: space-between; }
.me-photo { grid-column: 4 / 9; position: relative; overflow: hidden; background: #fff; cursor: crosshair; }
.me-photo img { width: 100%; height: auto; display: block; filter: grayscale(1); }
.me-sum { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 30px; align-self: end; }
.me-sum .linkbtn { border-top: var(--line); }
.cv { margin-top: 140px; border-top: var(--line); padding-top: 14px; }
.cv-lbl { grid-column: 1 / 4; font: 400 var(--text-fs)/1 var(--gr); }
.cv-body { grid-column: 4 / 13; }
.cv-row { display: grid; grid-template-columns: 2fr 7fr; column-gap: var(--g); padding: 0 0 26px; margin-bottom: 26px; border-bottom: var(--line); }
.cv-row:last-child { border-bottom: 0; margin-bottom: 0; }
.cv-what { display: flex; flex-direction: column; gap: 10px; }
.cv-what ul { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.cv-what li { font: 400 13px/1.35 var(--gr); text-transform: none; padding-left: 18px; position: relative; }
.cv-what li::before { content: '—'; position: absolute; left: 0; }
.cv-line { display: grid; grid-template-columns: 4fr 3fr 2fr; column-gap: var(--g); align-items: center; min-height: 46px; border-bottom: var(--line); padding: 10px 0; }
.cv-line > :nth-child(3) { text-align: right; }
.cv-note { grid-column: 1 / -1; margin-top: 8px; opacity: .6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 34px; padding: 0 14px; border: var(--line); border-radius: 34px; display: inline-flex; align-items: center; }
.ab-serv .col { grid-column: span 4; margin-bottom: 40px; }

/* contact — grouped, no form */
.ct-main { margin-top: 100px; align-items: start; }
.ct-call { grid-column: 1 / 4; }
.ct-call .btn + .btn { margin-top: 0; }
.ct-groups { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 60px; }
.ct-group { border-top: var(--line); }
.ct-lbl { padding: 12px 0 30px; text-align: right; }
.ct-row { min-height: 46px; border-bottom: var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ct-row span:last-child { opacity: .6; white-space: nowrap; }
.ct-row:hover { background: #000; color: #fff; padding: 0 10px; transition: padding .2s ease; }
.ct-row:hover span:last-child { opacity: 1; }

@media (max-width: 991px) {
  .pagehead .sublogo { display: none; }
  .pagehead { justify-content: flex-end; }
  .code-stream { width: 100%; font-size: 8px; left: 10px; opacity: .55; }
  .code-object { width: 100%; }
  .code-status { font-size: 8px; padding: 0 10px; height: 26px; }
  .code-status span:nth-child(2) { display: none; }
  .trio .tri { grid-column: 1 / 13; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .next-title { font-size: 44px; }
  .next-case { margin-top: 90px; }
  .arc-grid { columns: 2; column-gap: 8px; margin-top: 30px; }
  .arc-tile { margin-bottom: 8px; }
  .arc-cap { transform: none; position: static; padding: 6px 0 0; background: transparent; font-size: 9px; }
  .me-hero { margin-top: 60px; }
  .me-side, .me-photo, .me-sum { grid-column: 1 / 13; }
  .me-photo { margin: 24px 0; }
  .me-ascii { height: 160px; }
  .cv { margin-top: 70px; }
  .cv-lbl, .cv-body { grid-column: 1 / 13; }
  .cv-lbl { margin-bottom: 20px; }
  .cv-row { grid-template-columns: 1fr; row-gap: 10px; }
  .cv-line { grid-template-columns: 1fr; row-gap: 6px; }
  .cv-line > :nth-child(3) { text-align: left; }
  .ab-serv .col { grid-column: 1 / 13; }
  .ct-call, .ct-groups { grid-column: 1 / 13; }
  .ct-groups { grid-template-columns: 1fr; row-gap: 40px; margin-top: 40px; }
  .ct-lbl { text-align: left; padding-bottom: 14px; }
  .ct-row span:last-child { white-space: normal; text-align: right; }
}

/* ═══ v5: dragonfly-style light ASCII system ═══ */
:root { --acc: #ff4f00; --ease: cubic-bezier(0.215, 0.61, 0.355, 1); }
.code-hero, .reel { display: none; }

/* corner frame A · N · D · Y with crosshairs */
.frame { position: fixed; inset: 0; pointer-events: none; z-index: 3500; }
.fc { position: absolute; font: 200 34px/1 var(--ed); color: #000; }
.fc.tl { left: 14px; top: 50px; } .fc.tr { right: 14px; top: 50px; }
.fc.bl { left: 14px; bottom: 12px; } .fc.br { right: 14px; bottom: 12px; }
.fx { position: absolute; font: 300 14px/1 var(--mono); font-style: normal; color: rgba(0,0,0,.45); }
.fx1 { left: 25%; top: 52px; } .fx2 { right: 25%; top: 52px; } .fx3 { left: 25%; bottom: 14px; } .fx4 { right: 25%; bottom: 14px; }

.secnum { display: inline-block; color: var(--acc); font: 300 var(--mono-fs)/1 var(--mono); margin-right: 14px; }
.sechead .secnum { margin-right: 18px; }

/* the bin chicken scene (replaces the showreel) */
.scene { position: relative; height: 460vh; margin: 160px calc(-1 * var(--m)) 0; }
.scene-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-head { position: absolute; left: var(--m); top: 70px; display: flex; align-items: center; }
.scene-caps { position: absolute; left: var(--m); top: 50%; transform: translateY(-50%); }
.scene-cap { position: absolute; left: 0; top: 0; transform: translateY(-50%); white-space: nowrap; font: 200 clamp(56px, 9vw, 150px)/0.9 var(--ed); text-transform: uppercase; letter-spacing: -0.01em;
  opacity: 0; filter: blur(18px); transition: opacity .7s var(--ease), filter .9s var(--ease); }
.scene-cap.is-on { opacity: 1; filter: blur(0); }
.scene-foot { position: absolute; left: var(--m); right: var(--m); bottom: 44px; display: flex; justify-content: space-between; }

/* hover-only pixel lens on real photos */
[data-lens] { position: relative; }
.ascii-lens { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.arc-tile .ascii-lens { z-index: 2; }
.arc-cap { z-index: 4; }

/* footer monogram */
.foot-mono { grid-column: 7 / 10; width: 100%; height: 120px; align-self: end; }

/* dragonfly row hover: orange block + "+" */
.ct-row, .recog-item, .cv-line, .serv-i, .proc-row, .faq-q, .rec-row { position: relative; transition: background-color .2s var(--ease), padding .2s var(--ease), color .2s var(--ease); }
.ct-row:hover, .recog-item:hover, .cv-line:hover, .serv-i:hover, .proc-row:hover, .faq-q:hover, .rec-row:hover { background: var(--acc); color: #000; padding-left: 10px; padding-right: 30px; }
.ct-row:hover span:last-child { opacity: 1; }
.ct-row:hover::after, .recog-item:hover::after, .cv-line:hover::after, .serv-i:hover::after, .proc-row:hover::after, .faq-q:hover::after, .rec-row:hover::after {
  content: '+'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 300 16px/1 var(--mono); }
.rec-row:hover .rec-mark { visibility: hidden; }
.linkbtn, .explore, .btn, .goback, .nav-btn, .more-item, .cs-row, .next-case { transition: background-color .2s var(--ease), padding .2s var(--ease); }
.linkbtn:hover, .explore:hover, .ct-call .btn:hover, .goback:hover { background: var(--acc); padding: 0 10px; }
.next-case:hover { background: var(--acc); }
.more-item:hover, .cs-row:hover { background: rgba(255, 79, 0, .08); }

/* turnable book */
.book { margin-top: 220px; }
.flipbook { user-select: none; }
.fb-stage { position: relative; width: 100%; max-width: 1360px; margin: 0 auto; aspect-ratio: 2 / 1; perspective: 3200px; }
.fb-stage::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,.18); z-index: 0; }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(.645,.045,.355,1); }
.leaf.is-turned { transform: rotateY(-180deg); }
.leaf .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #f3ece2; box-shadow: 0 0 0 1px rgba(0,0,0,.04); }
.leaf .face img { width: 100%; height: 100%; object-fit: contain; display: block; }
.leaf .back { transform: rotateY(180deg); }
.leaf .face.front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.10), transparent 8%); pointer-events: none; }
.leaf .face.back::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.10), transparent 8%); pointer-events: none; }
.leaf .face.blank { background: transparent; box-shadow: none; }
.fb-hit { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2000; cursor: pointer; }
.fb-hit-l { left: 0; cursor: w-resize; } .fb-hit-r { right: 0; cursor: e-resize; }
.flipbook.at-start .fb-stage { transform: translateX(-25%); transition: transform 1.1s cubic-bezier(.645,.045,.355,1); }
.flipbook .fb-stage { transition: transform 1.1s cubic-bezier(.645,.045,.355,1); }
.flipbook.at-end .fb-stage { transform: translateX(25%); }
.fb-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; height: 40px; border-top: var(--line); border-bottom: var(--line); }
.fb-ctrl button { height: 100%; padding: 0 10px; font: 300 var(--mono-fs)/1 var(--mono); }
.fb-ctrl button:hover { background: var(--acc); }
.flipbook.at-start [data-prev], .flipbook.at-end [data-next] { opacity: .3; }

@media (max-width: 991px) {
  .fc { font-size: 22px; } .fc.tl, .fc.tr { top: 38px; } .fx { display: none; }
  .scene { height: 260vh; margin-top: 70px; }
  .scene-cap { font-size: 46px; }
  .scene-head { top: 60px; }
  .scene-foot { flex-direction: column; gap: 6px; bottom: 30px; }
  .foot-mono { display: none; }
  .fb-stage { aspect-ratio: 2 / 1; }
}

.mini-ascii { width: 100%; max-width: 100%; }
.pagehead .sublogo { visibility: hidden; }

/* v6: archive lightbox */
.arc-tile { border: 0; padding: 0; background: none; cursor: zoom-in; width: 100%; text-align: left; }
.arc-box { position: fixed; inset: 0; z-index: 4000; background: rgba(255,255,255,.97); display: grid; grid-template-rows: auto 1fr auto; padding: 20px 40px 28px; gap: 16px; }
.arc-box[hidden] { display: none; }
.arc-box img { max-width: 100%; max-height: 100%; object-fit: contain; margin: auto; min-height: 0; }
.arc-x { justify-self: end; border: 0; background: none; cursor: pointer; font: inherit; }
.arc-info { display: flex; gap: 24px; justify-content: space-between; text-transform: uppercase; }
.arc-go { color: #ff4f00; }
@media (max-width: 767px) { .arc-box { padding: 16px; } .arc-info { flex-wrap: wrap; gap: 8px; } }
.mm-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.mmenu .links a, .mmenu .bot a { transition: opacity .12s; }

/* v7: preloader, hero entry, headline words */
.preload { position: fixed; inset: 0; z-index: 6000; background: #fff; display: grid; place-content: center; justify-items: center; gap: 14px; font: 300 12px/1 "Geist Mono", monospace; letter-spacing: .04em; }
.preload .pl-num { font: 200 clamp(80px, 16vw, 220px)/.9 "Newsreader", serif; letter-spacing: -.04em; }
.preload .pl-bar { width: 180px; height: 1px; background: #ddd; overflow: hidden; } .preload .pl-bar i { display: block; height: 100%; background: #ff4f00; transform-origin: 0 50%; transform: scaleX(0); }
.preload.is-out { opacity: 0; transition: opacity .2s; }
html:not(.is-ready) .hero .fitline { opacity: 0; transform: translateY(40%); }
.hero .fitline { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hero .fitline:nth-child(2) { transition-delay: .08s; } .hero .fitline:nth-child(3) { transition-delay: .16s; } .hero .fitline:nth-child(4) { transition-delay: .24s; } .hero .fitline:nth-child(5) { transition-delay: .32s; }
html:not(.is-ready) .hero-sub, html:not(.is-ready) .nav { opacity: 0; }
.hero-sub, .nav { transition: opacity .8s .4s; }
.hw { display: inline; }
.scene-cap { filter: none !important; transition: none !important; } .scene-cap:not(:first-child) { display: none; } .scene-cap:first-child { opacity: 1 !important; }
[data-blur] { filter: none !important; }
.lens-wrap { position: relative; overflow: hidden; } .lens-wrap > img { width: 100%; height: 100%; object-fit: cover; display: block; } .lens-wrap .ascii-lens { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

/* ASCII reveal over hovered photos */
.ascii-reveal { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.cursor-fx { position: fixed; top: 0; left: 0; z-index: 3001; pointer-events: none; will-change: transform; }
.cursor-img:not(.is-on) + .cursor-fx { visibility: hidden; }

/* overlays are placed on the painted photo by ascii.js, not stretched over the wrapper */
.ascii-reveal, [data-lens] .ascii-lens, .lens-wrap .ascii-lens { inset: auto; }
/* portraits and people crop from the top so heads survive */
.lens-wrap > img, .cs-row .thumb img, .more-item img { object-position: 50% 18%; }

/* go-to-site band on website projects */
.visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0 60px; padding: 28px 24px; background: #000; color: #fff; transition: background .25s, color .25s; }
.visit-t { display: flex; align-items: center; gap: 18px; font: 500 clamp(28px, 4.4vw, 64px)/1 var(--gr); letter-spacing: -0.03em; text-transform: uppercase; }
.visit-arrow { display: inline-block; color: #ff4f00; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.visit:hover { background: #ff4f00; color: #000; }
.visit:hover .visit-arrow { color: #000; transform: translate(6px, -6px); }
@media (max-width: 991px) { .visit { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 16px; margin: 24px 0 40px; } .visit-t { font-size: 26px; } }

/* flip book, ported from the agency site */
.fbw { margin-top: 30px; }
.fb { position: relative; perspective: 2600px; cursor: pointer; width: min(100%, calc((76vh - 60px) * 2 * var(--pr, 1))); margin: 0 auto; user-select: none; -webkit-user-select: none; }
.fb__stage { position: relative; aspect-ratio: calc(2 * var(--pr, 1)) / 1; transform: translateX(-25%); transition: transform .9s cubic-bezier(.19,1,.22,1); }
.fb__stage::after { content: ""; position: absolute; inset: 0 0 0 50%; z-index: 0; background: #B96C42; border-radius: 3px 6px 6px 3px; box-shadow: 0 0 12px rgba(25,25,25,.25); }
.fb__s { position: absolute; top: 2.3%; right: .8%; width: 48.9%; height: 95.4%; transform-origin: left center; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.38,.05,.22,1); }
.fb__s--fl { transform: rotateY(-180deg); }
.fb__f, .fb__b { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #F0E7D8; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.fb__f { border-radius: 0 4px 4px 0; } .fb__b { transform: rotateY(180deg); border-radius: 4px 0 0 4px; }
.fb__pg { position: absolute; inset: 0; } .fb__pg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb__pg--lin { background: #B96C42; }
.fb__f::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.16), transparent 9%); }
.fb__b::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(-90deg, rgba(0,0,0,.16), transparent 9%); }
.fb::before { content: ""; position: absolute; inset: -1.5%; z-index: -1; background: radial-gradient(60% 90% at 50% 96%, rgba(0,0,0,.22), transparent 70%); }
.fb__s--cov { top: 0; right: 0; width: 50%; height: 100%; }
.fb__s--cov .fb__f { border-radius: 3px 6px 6px 3px; } .fb__s--cov .fb__b { border-radius: 6px 3px 3px 6px; }
.fb__s--cov .fb__f, .fb__s--cov .fb__b { box-shadow: 0 0 5px rgba(25,25,25,.25); }
.fb__s--cov.fb__s--fl { transition-duration: 1.5s; }
.fb__hud { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 22px; }
.fb__btn { font: 400 12px/1 var(--mono); text-transform: uppercase; background: none; border: 1px solid #000; padding: 9px 16px; cursor: pointer; transition: background .2s, color .2s; }
.fb__btn:hover { background: #000; color: #fff; }
.fb__pos { min-width: 130px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .fb__s, .fb__stage { transition: none; } }

/* preloader v2: ASCII storm → A—N → blast */
.preload { display: block; background: transparent; pointer-events: none; }
.preload .pl-cv { position: fixed; inset: 0; width: 100%; height: 100%; }
.preload .pl-name, .preload .pl-meta { position: fixed; top: 22px; font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .02em; z-index: 1; }
.preload .pl-name { left: var(--m, 24px); } .preload .pl-meta { right: var(--m, 24px); }
.preload .pl-num { position: fixed; right: var(--m, 24px); bottom: 10px; z-index: 1; font: 200 clamp(70px, 14vw, 220px)/.85 "Newsreader", serif; letter-spacing: -.04em; color: #000; mix-blend-mode: difference; color: #fff; }
.preload .pl-bar { display: none; }
.preload.is-blast .pl-name, .preload.is-blast .pl-meta, .preload.is-blast .pl-num { opacity: 0; transition: opacity .25s; }

/* v8: main font for project titles; 3D ASCII objects in the empty spots */
.row-big.f-grotesk, .row-big.f-mono { font-family: var(--ed); font-weight: 200; letter-spacing: -0.01em; }
.hero { position: relative; }
.hero-ascii { position: absolute; left: var(--m); top: 70px; width: 26vw; height: 220px; pointer-events: none; }
.rows-wrap { position: relative; }
.gutter { position: absolute; left: 0; top: 0; bottom: 0; width: calc((100% - 11 * var(--g)) / 12 * 2 + var(--g)); pointer-events: none; }
.gutter canvas { position: sticky; top: 28vh; width: 100%; aspect-ratio: 1; display: block; }
.recog .lbl { position: relative; }
.lbl-ascii { display: block; width: 100%; max-width: 280px; aspect-ratio: 1; margin-top: 40px; }
@media (max-width: 991px) {
  .gutter { display: none; }
  .hero-ascii { left: 50%; transform: translateX(-50%); top: 40px; width: min(80vw, 520px); height: 200px; opacity: .9; }
  .hero .micro { position: relative; z-index: 1; }
  .lbl-ascii { max-width: 220px; margin: 24px auto 0; }
}
html.is-trans body::after { content: ''; position: fixed; inset: 0; background: #fff; z-index: 9998; }

/* v9: Möbius loop hugging the hero headline */
.hero { overflow-x: clip; }
.hero-loop { position: relative; }
.hero-loop > .fitline { position: relative; z-index: 1; }
.loop-cv { position: absolute; left: -6vw; right: -6vw; top: -65%; bottom: auto; width: calc(100% + 12vw); height: 230%; pointer-events: none; z-index: 0; }
.loop-cv.loop-front { z-index: 2; }
.hero-loop { margin: clamp(130px, 15vw, 240px) 0; padding: 0 19%; }   /* headline scaled down to sit inside the ribbon's hole */
@media (max-width: 767px) { .hero-loop { padding: 0 15%; margin: 120px 0; } }
/* the subline always sits clear of the ribbon and above it */
.hero-sub { position: relative; z-index: 3; margin-top: clamp(60px, 7vw, 110px); }
.hero-sub, .hero-sub * { text-shadow: 0 0 6px #fff, 0 0 3px #fff, 0 0 1px #fff; }

/* v10: footer finale */
.foot-cta { padding: 0 0 clamp(80px, 10vw, 160px); margin-bottom: clamp(60px, 8vw, 120px); border-bottom: var(--line); }
.cta-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-transform: uppercase; }
.cta-row .secnum { color: #ff4f00; margin-right: 10px; }
.cta-clocks { display: flex; gap: 28px; } .cta-clocks b { font-weight: 400; font-variant-numeric: tabular-nums; margin-left: 6px; }
.cta-big { position: relative; display: block; margin: clamp(40px, 6vw, 90px) 0 clamp(30px, 4vw, 60px); font: 200 clamp(56px, 11.5vw, 220px)/0.88 var(--ed); letter-spacing: -0.03em; text-transform: uppercase; transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.cta-big span { display: block; } .cta-l2 { padding-left: 12%; }
.cta-big em { font-style: italic; color: #ff4f00; }
.cta-arrow { position: absolute; right: 0; bottom: 0.08em; font-style: normal; font-size: .7em; line-height: 1; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cta-big::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: #000; transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cta-big:hover::after { transform: scaleX(1); }
.cta-links { display: flex; gap: 28px; flex-wrap: wrap; text-transform: uppercase; }
.cta-links a, .to-top { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.to-top { margin-left: auto; background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; cursor: pointer; color: inherit; }
.foot-name { display: block; width: 100%; height: clamp(110px, 17vw, 330px); margin-top: clamp(30px, 4vw, 60px); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: var(--line); margin-top: 14px; text-transform: uppercase; color: #777; }
@media (max-width: 767px) { .cta-l2 { padding-left: 0; } .to-top { margin-left: 0; } .cta-clocks { gap: 16px; } }
.foot-name { height: clamp(100px, 13vw, 260px); }

/* v11: footer stage — living ASCII field */
.foot-stage { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 0 32px; margin-bottom: clamp(50px, 6vw, 90px); overflow: hidden; cursor: crosshair; }
.field-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.stage-top, .stage-bot, .foot-stage .cta-big { position: relative; z-index: 1; }
.stage-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-transform: uppercase; }
.stage-top .secnum { color: #ff4f00; margin-right: 10px; }
.stage-bot { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; text-transform: uppercase; margin-bottom: clamp(120px, 17vw, 300px); }
.stage-bot a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.stage-bot .hint { color: #8d8d8d; margin-left: auto; }
.foot-stage .cta-big { margin: 0; align-self: flex-start; cursor: copy; }
.foot-stage .stage-top > span, .foot-stage .stage-bot > *, .foot-stage .cta-big span { background: #fff; box-shadow: 0 0 0 6px #fff; }
.foot-stage .cta-big span { box-shadow: 0 0 0 10px #fff; width: fit-content; }
@media (max-width: 767px) { .stage-bot .hint { display: none; } .stage-bot { margin-bottom: 120px; } }
.scr-word { white-space: nowrap; } .scr-ch { display: inline-block; text-align: center; overflow: visible; }
.foot-stage .cta-big { transform: none !important; }
/* scramble slots must never inherit a parent's span styling (e.g. ".cta-big span { display:block }") */
.scr-run, .scr-word { display: inline !important; padding: 0 !important; margin: 0 !important; width: auto !important; background: none !important; box-shadow: none !important; }
.scr-word { white-space: nowrap !important; }
.scr-ch { display: inline-block !important; padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; text-align: center; }

/* v12: footer hourglass */
.foot-hour { display: grid; grid-template-columns: 1fr minmax(260px, 30vw) 1fr; gap: clamp(20px, 3vw, 50px); align-items: center; min-height: 100vh; padding: 40px 0; margin-bottom: clamp(50px, 6vw, 90px); }
.fh-left, .fh-right { display: flex; flex-direction: column; gap: 28px; }
.fh-right { align-items: flex-end; text-align: right; }
.fh-lbl .secnum { color: #ff4f00; margin-right: 8px; }
.fh-big { font: 200 clamp(44px, 5.6vw, 110px)/0.92 var(--ed); text-transform: uppercase; letter-spacing: -0.02em; }
.fh-big em, .fh-cta i { color: #ff4f00; font-style: italic; }
.fh-note { color: #8d8d8d; max-width: 30ch; text-transform: uppercase; }
.fh-glass { position: relative; height: min(84vh, 760px); cursor: pointer; transition: transform .7s cubic-bezier(.65,0,.35,1); }
.fh-glass.is-flip { transform: rotate(180deg); }
.fh-glass.no-anim { transition: none; }
.fh-glass canvas { width: 100%; height: 100%; display: block; }
.fh-count { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap; color: #8d8d8d; text-transform: uppercase; }
.fh-clocks { display: flex; gap: 22px; text-transform: uppercase; } .fh-clocks b { font-weight: 400; font-variant-numeric: tabular-nums; margin-left: 6px; }
.fh-cta { font: 200 clamp(36px, 4.4vw, 84px)/0.95 var(--ed); text-transform: uppercase; letter-spacing: -0.02em; }
.fh-cta i { font-style: normal; }
.fh-links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-transform: uppercase; }
.fh-links a, .fh-links .to-top { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.fh-links .to-top { margin: 6px 0 0; }
@media (max-width: 900px) {
  .foot-hour { grid-template-columns: 1fr; text-align: left; }
  .fh-right { align-items: flex-start; text-align: left; } .fh-links { align-items: flex-start; }
  .fh-glass { height: 70vh; width: min(100%, 360px); margin: 0 auto; }
}

/* v13: footer reel — Andy at his desk, the image hover lens over it, Aspen-style boxed CTA */
.foot-reel { position: relative; min-height: 100vh; margin: 0 calc(-1 * var(--m)) clamp(50px, 6vw, 90px); padding: 30px var(--m) 36px; background: #0b0b0b; color: #f2efe8; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.reel-img { position: absolute !important; inset: 0; z-index: 0; }
.reel-img img { object-position: 78% 50%; }
.reel-top, .reel-bot, .reel-cta { position: relative; z-index: 3; }
.reel-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-transform: uppercase; pointer-events: none; }
.reel-top .secnum { color: #ff4f00; margin-right: 8px; }
.reel-cta { display: flex; flex-direction: column; gap: clamp(6px, .8vw, 12px); margin-top: auto; margin-bottom: clamp(30px, 4vw, 60px); }
.rl { display: flex; justify-content: space-between; gap: clamp(8px, 1vw, 16px); }
.rl2 { justify-content: flex-end; }
.bx { display: inline-block; background: #f2efe8; color: #0b0b0b; font: 600 clamp(48px, 9.4vw, 176px)/0.86 var(--gr); letter-spacing: -0.045em; text-transform: uppercase; padding: 0.04em 0.08em 0.02em; transition: background .25s, color .25s; }
.bx-go { background: #ff4f00; color: #0b0b0b; padding: 0.04em 0.18em 0.02em; }
.reel-cta:hover .bx { background: #0b0b0b; color: #f2efe8; box-shadow: inset 0 0 0 2px #f2efe8; }
.reel-cta:hover .bx-go { background: #ff4f00; color: #0b0b0b; box-shadow: none; }
.reel-bot { display: flex; gap: 26px; flex-wrap: wrap; text-transform: uppercase; }
.reel-bot a, .reel-bot .to-top { border-bottom: 1px solid currentColor; padding-bottom: 2px; color: #f2efe8; }
@media (max-width: 767px) { .rl, .rl2 { justify-content: flex-start; flex-wrap: wrap; } .reel-img img { object-position: 70% 50%; } }

/* v14: the reel pins while you scroll through it (after aspensearch.com): photo pushes in, words slide home */
.foot-reel { min-height: 0; height: 190vh; padding: 0; display: block; overflow: visible; background: #0b0b0b; }
.reel-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 30px var(--m) 36px; display: flex; flex-direction: column; justify-content: space-between; }
.reel-img img { transform: scale(calc(1.18 - var(--p, 0) * 0.18)); transform-origin: 72% 45%; will-change: transform; }
.reel-cta .bx { transform: translateX(calc((1 - var(--q, 0)) * var(--from, 0) * 60vw)); will-change: transform; }
.reel-mark { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* v15: footer = one Game-of-Life photomontage */
.foot-life { position: relative; height: 100vh; margin: 160px calc(-1 * var(--m)) 0; background: linear-gradient(180deg, #f4f4f4 0%, #e6e6e6 55%, #f4f4f4 100%); overflow: hidden; }
.life-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.life-tag { position: absolute; left: var(--m); bottom: 18px; text-transform: uppercase; color: #8a8a8a; }
@media (max-width: 767px) { .foot-life { height: 70vh; margin-top: 90px; } }

/* v16: footer = one turning, solid 3D A—N in ASCII */
.foot-turn { background: #fff; cursor: grab; touch-action: pan-y; }
.foot-turn:active { cursor: grabbing; }
.life-hint { position: absolute; right: var(--m); bottom: 18px; text-transform: uppercase; color: #8a8a8a; }
.foot-life { height: 110vh; }
.foot-turn { cursor: default; }
.foot-horse { height: clamp(140px, 13vw, 220px); }
@media (max-width: 991px) { .foot-horse { display: block !important; grid-column: 1 / -1; height: 180px; } }

/* requested fixes (kept through the performance revert) */
.cs-row .thumb img, .more-item img { object-fit: contain !important; object-position: 50% 50% !important; }   /* logos never cropped */
.subl { justify-content: flex-start; gap: 0.32em; flex-wrap: wrap; }                                            /* subline at normal spacing */
.fitline > * { flex-shrink: 0; }                                                                                /* headline gaps never collapse */
/* smoother page changes */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-old .7s cubic-bezier(.76,0,.24,1) both; }
::view-transition-new(root) { animation: vt-new .7s cubic-bezier(.76,0,.24,1) both; }
@keyframes vt-old { to { opacity: 0; transform: translateY(-5vh) scale(.985); } }
@keyframes vt-new { from { clip-path: inset(100% 0 0 0); transform: translateY(6vh); } to { clip-path: inset(0 0 0 0); transform: none; } }
.nav, .mnav { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation: none; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* overlay for text effects: real text holds its place (transparent), glyphs float above it, nothing reflows */
.scr-host { position: relative; color: transparent !important; -webkit-text-fill-color: transparent; }
.scr-ov { position: absolute; left: 0; top: 0; white-space: pre; pointer-events: none; }
