:root {
  --bp-bg: #0A0B0C; --bp-line: #E6ECEF; --bp-dim: rgba(230,236,239,.42); --sea-water: #11171c;
  --ink: #161614;
  --paper: #ece9df;
  --blk: #0b0b0a;
  --wh: #f2f0e8;
  --haze: #c9cf9a;
  --sig: #c23b22;
  --mag: #b8237e;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: max(clamp(16px, 4.2vw, 60px), calc((100vw - 1440px) / 2));
  --ease: cubic-bezier(.7, 0, .2, 1);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .09  0 0 0 0 .09  0 0 0 0 .08  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.32'/></svg>");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main > section { scroll-margin-top: 52px; }
body { margin: 0; background: var(--blk); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
pre { margin: 0; }

/* ---------- loader (F.12) */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--blk); display: grid; place-content: center; gap: 18px; justify-items: center; color: var(--wh); transition: opacity .5s ease, visibility .5s; }
#loader.done { opacity: 0; visibility: hidden; }
#loader p { font: 15px var(--mono); margin: 0; }
.fl4bars { display: flex; gap: 8px; }
.fl4bars i { width: 6px; height: 40px; background: var(--wh); opacity: .2; animation: flbar 1.2s infinite; }
.fl4bars i:nth-child(2) { animation-delay: .15s } .fl4bars i:nth-child(3) { animation-delay: .3s } .fl4bars i:nth-child(4) { animation-delay: .45s }
@keyframes flbar { 0%, 30%, 100% { opacity: .2 } 10% { opacity: 1 } }

/* ---------- nav (F.02) */
#nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); color: var(--wh); transition: background .35s ease, color .35s ease, padding .35s ease; }
#nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
#nav.scrolled { background: var(--paper) var(--noise); color: var(--ink); padding-block: 14px; }
#nav.scrolled::after { transform: scaleX(1); }
#nav.scrolled.dark { background: var(--bp-bg); color: var(--bp-line); }
#nav.scrolled.dark::after { background: var(--bp-dim); }
/* over the hero: a soft scrim and a shadow keep the nav legible; the beam lights each item as it passes (--lit, set in main.js) */
#nav::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(5,5,4,.62), rgba(5,5,4,0)); pointer-events: none; z-index: -1; transition: opacity .35s; }
#nav.scrolled::before { opacity: 0; }
#nav:not(.scrolled) .lockup, #nav:not(.scrolled) nav a { --lit: 0; color: color-mix(in srgb, #fff6d8 calc(var(--lit) * 100%), var(--wh)); text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.6), 0 0 calc(var(--lit) * 18px) rgba(255,240,200,calc(var(--lit) * .95)); }
#nav:not(.scrolled) .lockup .mark { filter: drop-shadow(0 1px 2px rgba(0,0,0,.8)) drop-shadow(0 0 calc(var(--lit) * 10px) rgba(255,240,200,calc(var(--lit)))); }
.lockup { display: flex; gap: 12px; align-items: center; }
.lockup span { display: grid; gap: 3px; }
.lockup b { font: 500 12px var(--mono); letter-spacing: .12em; }
.lockup small { font: 11px var(--mono); letter-spacing: .06em; opacity: .78; }
.mark { width: 34px; height: 18px; fill: currentColor; stroke: currentColor; }
.mark circle:first-child { stroke: none; }
.mark .ring { fill: none; stroke-width: 1.6; }
.mark .rays path { stroke-width: 2.4; stroke-linecap: round; fill: none; }
#nav nav { display: flex; gap: 30px; align-items: center; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
#nav nav a { position: relative; padding: 6px 0; }
#nav nav a::after { /* F.02 hover: beam underline */ content: ""; position: absolute; left: -8px; right: -10px; bottom: -4px; height: 7px; background: currentColor; clip-path: polygon(0 50%, 100% 0, 100% 100%); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
#nav nav a:hover::after { transform: scaleX(1); }

/* ---------- rail (F.04) */
#rail { position: fixed; z-index: 40; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; mix-blend-mode: difference; }
#rail a { display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
#rail i { width: 4px; height: 34px; border: 1px solid #fff; display: block; }
#rail span { font: 11px var(--mono); letter-spacing: .1em; color: #fff; opacity: 0; transform: translateX(6px); transition: .2s; text-transform: uppercase; }
#rail a:hover span { opacity: .8; transform: none; }
#rail a.past i, #rail a.active i { background: #fff; }
#rail a.active.flash i { animation: fl4 2.4s linear 1; }
@keyframes fl4 { 0% {opacity:1} 6% {opacity:.15} 12% {opacity:1} 18% {opacity:.15} 24% {opacity:1} 30% {opacity:.15} 36% {opacity:1} 42% {opacity:.15} 48%,100% {opacity:1} }

/* ---------- hero */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; color: var(--wh); background: var(--blk); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 2.4s var(--ease); }
.ready .hero-img { opacity: 1; transform: none; }
#beam, #grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#beam { mix-blend-mode: screen; }
#grain { opacity: .14; mix-blend-mode: overlay; image-rendering: pixelated; }
.hero-center::before { content: ""; position: absolute; inset: -18% -8%; z-index: -1; background: radial-gradient(closest-side, rgba(6,6,5,.55), rgba(6,6,5,.28) 55%, rgba(6,6,5,0)); pointer-events: none; }
.hero-center { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -46%); text-align: center; width: min(1200px, 92vw); text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.mark.big { width: 112px; height: 60px; filter: drop-shadow(0 1px 8px rgba(0,0,0,.5)); }
.mark.big .rays path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.ready .mark.big .rays path { animation: ray .28s var(--ease) forwards; }
.ready .mark.big .rays path:nth-child(1) { animation-delay: 1.30s } .ready .mark.big .rays path:nth-child(2) { animation-delay: 1.58s }
.ready .mark.big .rays path:nth-child(3) { animation-delay: 1.86s } .ready .mark.big .rays path:nth-child(4) { animation-delay: 2.14s }
@keyframes ray { to { stroke-dashoffset: 0 } }
.lock { font: 500 13px var(--mono); letter-spacing: .22em; margin: 8px 0 14px; opacity: 0; transition: opacity .8s ease 2.4s, letter-spacing 1.2s var(--ease) 2.4s; letter-spacing: .05em; }
.ready .lock { opacity: 1; letter-spacing: .22em; }
.hero h1 { font: 400 clamp(38px, 5.2vw, 76px)/1.02 var(--serif); margin: 0; letter-spacing: -.005em; }
.hero h1 span { display: block; opacity: 0; transform: translateY(10px); transition: opacity .9s ease, transform .9s var(--ease); }
.ready .hero h1 span:nth-child(1) { opacity: 1; transform: none; transition-delay: 2.6s }
.ready .hero h1 span:nth-child(2) { opacity: 1; transform: none; transition-delay: 2.68s }
.sub { font: 13px var(--mono); letter-spacing: .12em; margin-top: 22px; opacity: 0; transition: opacity 1s ease 3s; }
.ready .sub { opacity: 1; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 22px; border: 1px solid rgba(242,240,232,.7); background: rgba(11,11,10,.28); color: var(--wh); font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,.6); pointer-events: auto; opacity: 0; transition: opacity 1s ease 3s, background .25s ease, color .25s ease, border-color .25s ease; }
.ready .hero-cta { opacity: 1; }
.hero-cta:hover, .hero-cta:focus-visible { background: var(--wh); color: var(--ink); border-color: var(--wh); text-shadow: none; transition-delay: 0s; }
.hero-cta span { transition: transform .25s var(--ease); }
.hero-cta:hover span { transform: translateX(3px); }
.hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; font: 11px var(--mono); letter-spacing: .14em; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero-foot span { opacity: .75; }

/* ---------- paper body */
.paper { background: var(--paper) var(--noise); position: relative; }
section { position: relative; }
.sec-head { display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .14em; padding-top: 60px; border-top: 1px solid rgba(22,22,20,.35); margin: 0 var(--gutter); }
.dim { opacity: .6; font-weight: 400; }

/* 01 lab */
.lab { padding-bottom: 60px; overflow: hidden; }
.lab .sec-head { border-top: 0; padding-top: 70px; margin-right: calc(var(--gutter) + 470px); border-bottom: 1px solid rgba(22,22,20,.4); padding-bottom: 12px; }
.statement { font: 400 clamp(44px, 4.6vw, 66px)/1 var(--serif); margin: 52px 0 0; letter-spacing: -.01em; }
.evidence { background: var(--ink); color: var(--paper); padding: 22px 0 22px 36px; align-self: start; margin-top: 10px; }
.legend { font: 400 12px var(--sans); display: inline-flex; gap: 8px; align-items: center; }
.sq { width: 10px; height: 10px; background: var(--ink); display: inline-block; }
.sq.o { background: none; border: 1.2px solid var(--ink); margin-left: 10px; }
table { border-collapse: collapse; font-size: 13.5px; width: 100%; }
td { padding: 3px 18px 3px 0; }
tr.rule td { border-bottom: 1px solid rgba(22,22,20,.45); padding-bottom: 6px; }
.fig { font: 11px var(--mono); opacity: .75; margin: 6px 0 0; }

/* 02 projects */
.projects { padding: 80px 0 80px; }
.title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 10px var(--gutter) 0; }
.big-title { font: 400 clamp(90px, 10.5vw, 150px)/1 var(--serif); margin: 0; letter-spacing: -.02em; }
.ghost { font: 64px var(--sans); font-family: "Space Mono", monospace; color: transparent; -webkit-text-stroke: .8px var(--ink); margin: -46px 0 0 8px; letter-spacing: -.04em; white-space: nowrap; }
.intro { font-size: 17px; line-height: 1.45; max-width: 470px; margin-top: 46px; }
.ptable { margin: 30px var(--gutter) 0; border-top: 2px solid var(--ink); }
.phead, .prow-main { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr 90px 40px; gap: 0 20px; align-items: start; }
.phead { font: 11px var(--mono); letter-spacing: .14em; padding: 14px 0 10px; border-bottom: 1px solid var(--ink); position: sticky; top: var(--navh, 56px); z-index: 5; background: var(--paper) var(--noise); }
.phead > :first-child, .prow .cl { padding-left: 6px; }
.prow { position: relative; overflow: hidden; border-bottom: 1px solid rgba(22,22,20,.5); transition: background .45s cubic-bezier(.22,.8,.2,1), color .45s cubic-bezier(.22,.8,.2,1); }
.prow-main { position: relative; z-index: 1; }
.prow-main { padding: 18px 0 16px; cursor: pointer; position: relative; }
.prow .yr { font: 12px var(--mono); padding-top: 3px; }
.prow .cl { font: 30px/1 var(--serif); }
.prow .tx { font-size: 13.5px; line-height: 1.4; }
.prow .pm { font: 18px var(--mono); text-align: right; padding-right: 6px; transition: transform .5s cubic-bezier(.22,.8,.2,1); }
.prow:not(.open):hover { background: rgba(22,22,20,.06); }
.prow.open { background: var(--ink); color: var(--paper); }
.prow.open .pm { transform: rotate(45deg); }
.open-btn { position: absolute; right: 20px; bottom: 26px; display: inline-flex; gap: 10px; background: var(--paper); color: var(--ink); padding: 12px 18px; font: 500 14px var(--sans); }


@keyframes flare { 0%,100% {opacity:.35} 1% {opacity:1} 2.5% {opacity:.35} 7% {opacity:1} 8.5% {opacity:.35} 14% {opacity:1} 15.5% {opacity:.35} 21% {opacity:1} 22.5% {opacity:.35} }
@keyframes ripple { 0% { opacity: .9 } 12% { opacity: .15 } 100% { opacity: .15 } }
/* ---------- footer: same black as the land above it, no seam */
.foot { position: relative; background: var(--blk); color: var(--wh); padding: 80px var(--gutter) 90px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; margin: 0; }
.lockup.big { gap: 18px; }
.lockup.big .mark { width: 64px; height: 34px; }
.lockup.big b { font-size: 14px; }
.lockup.big small { font-size: 11px; }
.fcols { display: flex; gap: 70px; }
.fcols div { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.foot .k { font: 11px var(--mono); letter-spacing: .14em; opacity: .6; margin: 0 0 6px; }
.foot .fl, .foot .fr { position: absolute; bottom: 30px; font: 11px var(--mono); letter-spacing: .14em; opacity: .55; margin: 0; }
.foot .fl { left: var(--gutter); } .foot .fr { right: var(--gutter); }


/* ---------- responsive */
@media (max-width: 1100px) {
  .lab .sec-head { margin-right: var(--gutter); }
  .evidence { margin-right: calc(-1 * var(--gutter)); }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #nav nav { gap: 12px; font-size: 11px; letter-spacing: .06em; }
  .lockup { gap: 8px; }
  .lockup small { display: none; }
}
@media (max-width: 420px) { /* phone: logo + four links on one line */
  #nav nav { gap: 10px; letter-spacing: .03em; }
  .lockup .mark { width: 26px; }
  .lockup b { letter-spacing: .06em; }
  #rail { display: none; }
  .phead, .prow-main { grid-template-columns: 1fr 60px 30px; }
  .prow .yr { grid-row: 1; grid-column: 2; } .prow .pm { grid-row: 1; grid-column: 3; }
  .hide-s, .prow .sec, .prow .rl, .prow .br { display: none; }
  .title-row { flex-direction: column; } .intro { margin-top: 0; }
  .ghost { font-size: 40px; margin-top: -28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; }
}

/* ---------- project rows: keyboard focus */
.prow-main:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- project rows v3: logo replaces the name; columns unfold */
.prow::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='7' height='6'><path d='M3.5 2.2 L4.3 3 L3.5 3.8 L2.7 3Z' fill='%23ECE9DF' fill-opacity='.30'/></svg>"); }
.prow.open::before { opacity: 1; }
.prow-main { transition: padding .5s cubic-bezier(.22,.8,.2,1); }
.prow.open .prow-main { padding-bottom: 30px; }
.prow .cl { position: relative; min-height: 30px; transition: min-height .5s cubic-bezier(.22,.8,.2,1); }
.prow.open .cl { min-height: 104px; }
.cl-name { display: block; transition: opacity .3s ease, transform .45s cubic-bezier(.22,.8,.2,1); }
.prow.open .cl-name { opacity: 0; transform: translateY(-8px); }
.cl-logo { position: absolute; left: 0; top: -8px; width: 260px; height: 104px; pointer-events: none; }
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.22,.8,.2,1); }
.more > div { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .4s cubic-bezier(.22,.8,.2,1); }
.prow.open .more { grid-template-rows: 1fr; }
.prow.open .more > div { opacity: 1; transform: none; transition-delay: .12s; }
.prow .first { display: block; }
.prow.open .br .first { font-weight: 500; }
.more p { margin: 10px 0 0; }
.more .ph { font: 11px/1.5 var(--mono); opacity: .6; }
.tags, .roles { list-style: none; margin: 12px 0 0; padding: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 7px 3px; opacity: .8; }
.roles li { padding: 5px 0; border-top: 1px solid rgba(236,233,223,.18); }
.roles li::before { content: "— "; opacity: .6; }
.rl .open-btn { position: static; margin-top: 16px; }

.prow .shot { grid-column: 3 / 6; grid-row: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.22,.8,.2,1); }
.prow .shot > div { overflow: hidden; min-height: 0; }
.prow.open .shot { grid-template-rows: 1fr; }
.frame { margin: 26px 0 6px; aspect-ratio: 16 / 9; max-height: 560px; background: #1f1f1c; position: relative; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,.8,.2,1); }
.prow.open .frame { opacity: 1; transform: none; transition-delay: .18s; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.frame.ph { background: repeating-linear-gradient(-45deg, rgba(236,233,223,.12) 0 1px, transparent 1px 9px); border: 1px solid rgba(236,233,223,.3); display: grid; place-items: center; }
.frame.ph figcaption { font: 11px var(--mono); letter-spacing: .16em; opacity: .7; }
.cl-name .via { display: block; font: 11px var(--mono); letter-spacing: .14em; opacity: .6; margin-top: 6px; }

/* ---------- 04 testimonials: moving tape of pull lines; one opened in full below */
.testimonials { padding-bottom: 100px; }
.tapes { margin-top: 0; }
.tape { overflow: hidden; white-space: nowrap; background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink); }
.tape.alt { background: transparent; color: var(--ink); }
.track { display: inline-flex; animation: tape 90s linear infinite; }
.tape.alt .track { animation-direction: reverse; animation-duration: 105s; }
.tape:hover .track, .tape:focus-within .track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.t-item { all: unset; box-sizing: border-box; display: inline-flex; align-items: baseline; gap: 14px; padding: 20px 34px 19px; border-right: 1px solid currentColor; cursor: pointer; font: 16px var(--mono); }
.t-item .org { font: 500 11px var(--mono); letter-spacing: .14em; opacity: .65; }
.t-item .org::before { content: "◆"; font-size: 11px; margin-right: 8px; opacity: 0; transition: opacity .2s; vertical-align: 1px; }
.t-item.on .org::before { opacity: 1; }
.t-item .line { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.t-item .hint { font: 11px var(--mono); opacity: 0; transform: translateY(-2px); transition: opacity .2s, transform .2s; }
.t-item:hover .line, .t-item:focus-visible .line { text-decoration-color: currentColor; }
.t-item:hover .hint, .t-item:focus-visible .hint { opacity: .6; transform: none; }
.t-item.on .hint { opacity: 0; }
.t-item:focus-visible { outline: 1px dashed currentColor; outline-offset: -6px; }
.t-full { display: grid; grid-template-columns: minmax(220px, 26%) 1fr; gap: 0 60px; padding: 90px var(--gutter) 0; min-height: 260px; transition: opacity .3s ease; }
.t-full.swap { opacity: 0; }
.t-meta { font: 11px var(--mono); letter-spacing: .14em; line-height: 1.8; }
.t-meta .lbl { opacity: .55; display: block; margin-bottom: 14px; }
.t-meta b { display: block; font: 400 30px/1.05 var(--serif); letter-spacing: 0; margin-bottom: 8px; }
.t-body p { font: 400 clamp(24px, 2.2vw, 32px)/1.28 var(--serif); margin: 0 0 16px; max-width: 900px; }
.t-body mark { background: none; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(22,22,20,.45); }
@media (max-width: 760px) { .t-full { grid-template-columns: 1fr; gap: 20px; } .t-item { font-size: 14px; padding: 16px 22px; } }
@media (prefers-reduced-motion: reduce) { .tape { overflow-x: auto; } .track { animation: none; } }

/* 02 portfolio band (home-sea.html) */
.projects .sec-head { border-top: 0; padding-top: 70px; }

/* ---------- contact: closing band before the footer */
.cta { padding: 120px var(--gutter) 130px; border-top: 1px solid rgba(22,22,20,.35); text-align: center; }
.cta .mark.big { width: 96px; height: 52px; color: var(--ink); }
.cta .mark.big .rays path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.cta.in .mark.big .rays path { animation: ray .28s var(--ease) forwards; }
.cta.in .mark.big .rays path:nth-child(2) { animation-delay: .28s } .cta.in .mark.big .rays path:nth-child(3) { animation-delay: .56s } .cta.in .mark.big .rays path:nth-child(4) { animation-delay: .84s }
.cta h2 { font: 400 clamp(48px, 7vw, 108px)/1 var(--serif); letter-spacing: -.015em; margin: 28px 0 18px; }
.cta p { font-size: 18px; line-height: 1.5; margin: 0 0 36px; opacity: .8; }
.cta .mail { display: inline-flex; gap: 14px; align-items: baseline; font: 400 clamp(26px, 3vw, 40px)/1.1 var(--serif); border-bottom: 1px solid var(--ink); padding-bottom: 6px; transition: gap .3s var(--ease); }
.cta .mail span { font: 18px var(--mono); }
.cta .mail:hover { gap: 26px; }
.cta .mail:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
@media (max-width: 600px) { .cta { padding: 80px var(--gutter) 90px; } .cta .mail { font-size: 22px; } }

/* ---------- phone (≤ 600px) */
@media (max-width: 600px) {
  /* hero: the two headline spans run on as one sentence instead of four ragged lines */
  .hero h1 { font-size: clamp(32px, 9.4vw, 40px); line-height: 1.05; }
  .hero h1 span { display: inline; }
  .hero h1 span:first-child::after { content: " "; }
  .hero-center { top: 54%; }
  .sub { font-size: 12px; letter-spacing: .08em; line-height: 1.7; max-width: 300px; margin-inline: auto; }
  .hero-foot { bottom: 18px; font-size: 11px; }
  #nav { padding: 16px var(--gutter); }
  .lockup small { font-size: 11px; }

  /* section heads: keep the label, drop the right-hand aside */
  .sec-head .dim { display: none; }

  /* projects: an open row shows the brief, detail and roles stacked under the logo */
  .prow.open .br, .prow.open .rl { display: block; grid-column: 1 / -1; margin-top: 4px; padding-left: 6px; }
  .prow.open .rl { margin-top: 14px; }
  .cl-logo { width: 190px; height: 76px; top: -4px; }
  .prow .shot { grid-column: 1 / -1; grid-row: auto; }
  .frame { margin-top: 16px; }
  .prow.open .cl { min-height: 76px; }
  .open-btn { position: static; margin-top: 14px; }

  /* footer: corner lines stack instead of overlapping; smaller compass */
  .foot { padding-bottom: 40px; }
  .foot .fl, .foot .fr { position: static; }

}


/* About, consolidated (2026-11-18): bio + one simple text block */
.about-f, .testimonials { padding-top: 80px; border-top: 0 !important; } /* the big titles separate sections */
.about-f .f-top { padding-top: 56px; }
.testimonials .title-row { margin-bottom: 56px; }
.about-f .ab-p { margin: 18px 0 0; font-size: 17px; line-height: 1.55; max-width: 60ch; }

/* Projects header → the portfolio page */
.intro-wrap { display: grid; justify-items: start; gap: 18px; }
.roles li.more-note::before { content: none; }
