/* minzenmayersolutions.com restyle, preview build. Dark page, white type, glass cards. */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so late fonts don't shift the layout */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"); size-adjust: 97%; ascent-override: 97%; descent-override: 24%; line-gap-override: 0%; }

:root {
  --bg: #0b0b0d;
  --ink: #ffffff;
  --soft: rgba(255,255,255,.76);
  --dim: rgba(255,255,255,.62);
  --hair: rgba(255,255,255,.12);
  --glass: rgba(255,255,255,.05);
  --ember: #ff8a3c;
  --display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: linear(0, 0.36 8%, 0.82 18%, 1.08 28%, 1.12 34%, 1.04 46%, 0.99 58%, 1 100%);
  --shell: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.shell { width: var(--shell); margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 28px clamp(20px, 3vw, 44px); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--out); }
#hero-canvas.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6,6,8,.9) 0%, rgba(6,6,8,.55) 28%, rgba(6,6,8,.18) 58%, rgba(6,6,8,.42) 100%),
    radial-gradient(90% 80% at 100% 100%, rgba(6,6,8,.6), transparent 60%); }

.hero-top, .hero-bottom { display: flex; justify-content: space-between; gap: 24px; }
.hero-top { align-items: flex-start; }
.hero-bottom { align-items: flex-end; }
.who-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.who-role { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #5dff9b; box-shadow: 0 0 0 0 rgba(93,255,155,.7); animation: ping 1.8s var(--out) infinite; flex: none; }
@keyframes ping { to { box-shadow: 0 0 0 9px rgba(93,255,155,0); } }

/* The odd-shaped CTA: a slightly off, hand-drawn ellipse */
.ellipse { position: relative; display: inline-grid; place-items: center; padding: 20px 38px; font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 1.5px solid #fff; border-radius: 52% 48% 55% 45% / 58% 46% 54% 42%; background: rgba(255,255,255,.07); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  rotate: -3deg; transition: scale .3s var(--spring), rotate .3s var(--spring), background-color .2s, border-color .2s, box-shadow .2s; }
.ellipse:hover { scale: 1.07; rotate: 1deg; background: rgba(255,138,60,.28); border-color: var(--ember); box-shadow: 0 0 34px rgba(255,138,60,.45); }
.ellipse:active { scale: .97; transition-duration: .1s; }

.pitch { max-width: 350px; }
.lede { font-size: 16px; line-height: 1.5; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.6); transition: translate .2s var(--out); }
.lede:hover { translate: 4px 0; }
.controls { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pause { font: 600 12px/1 var(--sans); color: var(--soft); padding: 9px 13px; border-radius: 999px; cursor: pointer; border: 1px solid var(--hair); background: rgba(0,0,0,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: scale .25s var(--spring), color .2s; }
.pause:hover { scale: 1.05; color: #fff; }
.pause:active { scale: .95; }
.pause::before { content: "❚❚"; font-size: 9px; margin-right: 7px; letter-spacing: -1px; }
.pause[aria-pressed="true"]::before { content: "▶"; letter-spacing: 0; }

.headline { font: 700 clamp(2.05rem, 4.7vw, 5rem)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.025em; text-align: right; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.headline .line { display: block; cursor: default; white-space: nowrap; }
.headline .line > span { display: inline-block; transition: translate .4s var(--out), opacity .4s var(--out), color .3s; }
.headline .line:hover > span { translate: 12px 0; opacity: .85; }
.headline .line:nth-child(2):hover > span { color: var(--ember); opacity: 1; }

/* Hero pieces fly in from their own corners */
@keyframes fly { from { opacity: 0; translate: var(--fx, 0) var(--fy, 0); } to { opacity: 1; translate: 0 0; } }
.fly-tl { --fx: -24px; --fy: -24px; animation: fly 1s var(--out) both; }
.fly-tr { --fx: 28px; --fy: -20px; animation: fly .8s var(--out) .05s both; }
.fly-bl { --fx: -24px; --fy: 24px; animation: fly 1s var(--out) .25s both; }
.fly-br .line { --fx: 40px; --fy: 40px; animation: fly .9s var(--out) both; }
.fly-br .line:nth-child(1) { animation-delay: .1s; }
.fly-br .line:nth-child(2) { animation-delay: .18s; }
.fly-br .line:nth-child(3) { animation-delay: .26s; }

/* The roaming detection box. It hops between things in the painting on a spring. */
.hud { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .3s, transform .5s var(--spring); will-change: transform; }
.hud.on { opacity: 1; }
.hud-box { display: block; width: 92px; height: 80px; border: 1px solid rgba(255,255,255,.9); position: relative;
  background: radial-gradient(closest-side, rgba(255,138,60,.30), rgba(255,138,60,.06) 70%, transparent);
  box-shadow: inset 0 0 22px rgba(255,138,60,.45), 0 0 18px rgba(255,138,60,.22);
  transition: width .5s var(--spring), height .5s var(--spring), border-color .15s, box-shadow .15s; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: inset 0 0 34px rgba(255,138,60,.7), 0 0 30px rgba(255,138,60,.4); } }
.hud-box::before, .hud-box::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid #fff; }
.hud-box::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; }
.hud-box::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; }
.hud-label { position: absolute; left: 0; bottom: calc(100% + 6px); display: flex; gap: 8px; align-items: center; white-space: nowrap; font: 500 11px/1 var(--mono); color: #fff; background: rgba(0,0,0,.76); padding: 5px 7px; min-height: 21px; }
.hud-label b { font-weight: 500; }
.hud-label b::after { content: "▍"; color: var(--ember); margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud-label i { font-style: normal; color: var(--ember); }
.hud.under .hud-label { bottom: auto; top: calc(100% + 6px); }
.hud.hot .hud-box { border-color: var(--ember); box-shadow: inset 0 0 44px rgba(255,138,60,.95), 0 0 46px rgba(255,138,60,.6); animation: none; }

/* quieter boxes and lines: the machine noticing other things */
.scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.scan.on { opacity: 1; }
.scan-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan-lines line { stroke: rgba(255,255,255,.34); stroke-width: 1; }
.sbox { position: absolute; left: 0; top: 0; border: 1px solid rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(0,0,0,.2); opacity: 0; }
.sbox i { position: absolute; left: 4px; top: 4px; font: 500 10px/1 var(--mono); font-style: normal; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.sbox.censored { border-color: #fff; background: rgba(255,255,255,.06); }
.hud.follow { transition: opacity .3s, transform .13s linear; }
.hero.checking .scan { display: none; }

/* ---------- Sections ---------- */
.band { padding: clamp(72px, 10vw, 140px) 0 0; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
h2 { font: 700 clamp(2.1rem, 5vw, 3.8rem)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.02em; }
.head-note { color: var(--dim); font-size: 15px; }
.cards { display: grid; gap: 16px; }
.cards.three, .cards.projects { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 34px); border: 1px solid var(--hair); border-radius: 28px; background: var(--glass); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); text-decoration: none;
  transition: translate .35s var(--spring), rotate .35s var(--spring), scale .35s var(--spring), background-color .2s, border-color .2s, box-shadow .25s; }
.card p { color: var(--soft); }

/* How I help: the pain is the headline, the button is the brightest thing on the card */
.help { overflow: hidden; padding-top: clamp(26px, 2.6vw, 38px); }
.help::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255,138,60,.22), transparent 65%); }
.help::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--ember), #ffd84a); transform-origin: left; scale: .16 1; transition: scale .5s var(--out); }
.help:hover, .help:focus-within { translate: 0 -10px; border-color: rgba(255,138,60,.55); box-shadow: 0 26px 60px -30px rgba(255,138,60,.55); }
.help:hover::before, .help:focus-within::before { opacity: 1; }
.help:hover::after, .help:focus-within::after { scale: 1 1; }
.help > * { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.num { font: 700 1.05rem/1 var(--mono); color: var(--ember) !important; letter-spacing: .04em; }
.kind { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.help h3 { font: 700 clamp(1.7rem, 2.5vw, 2.25rem)/1.05 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.02em; text-wrap: balance; }
.what { font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tag { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); background: none; border: 1px solid var(--hair); padding: 9px 12px; border-radius: 999px; cursor: pointer; transition: scale .25s var(--spring), color .15s, border-color .15s; }
.tag:hover, .tag:focus-visible, .tag.is-on { scale: 1.05; color: #fff; border-color: #fff; }
.note { min-height: 1.5em; font-size: 14px; font-style: italic; color: var(--ember) !important; opacity: 0; translate: -6px 0; transition: opacity .2s var(--out), translate .2s var(--out); }
.note.show { opacity: 1; translate: 0 0; }
.cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 22px; border-radius: 999px; background: #fff; color: #0b0b0d; font-weight: 600; font-size: 16px; text-decoration: none;
  transition: scale .3s var(--spring), background-color .2s, box-shadow .2s; }
.cta span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0b0b0d; color: #fff; transition: translate .3s var(--spring), rotate .3s var(--spring); }
.cta:hover, .help:hover .cta { background: var(--ember); box-shadow: 0 10px 34px -8px rgba(255,138,60,.8); }
.cta:hover { scale: 1.03; }
.cta:hover span { translate: 4px 0; rotate: -35deg; }
.cta:active { scale: .97; }
.fine { font-size: 13.5px; color: var(--dim) !important; }
.fine a { color: #fff; }
.go { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.go span { display: inline-block; transition: translate .25s var(--spring); }
.card:hover .go span { translate: 5px 0; }

.who-band .big { font: 700 clamp(1.7rem, 4.2vw, 3.3rem)/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }
.labels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.labels li { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 13px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; transition: scale .25s var(--spring), background-color .2s, color .2s; }
.labels li:hover { scale: 1.06; background: #fff; color: #0b0b0d; }

/* Fun projects: tilted like cards on a table. Hover and the scanner from the painting reads each one. */
.projects { gap: 22px; }
.proj { --tone: #fff; padding-top: 26px; }
.proj:nth-child(3n+1) { rotate: -1.4deg; }
.proj:nth-child(3n+2) { rotate: .9deg; translate: 0 8px; }
.proj:nth-child(3n) { rotate: -.6deg; }
.proj:nth-child(even) { rotate: 1.3deg; }
.proj:hover, .proj:focus-visible { rotate: 0deg; translate: 0 -10px; scale: 1.03; z-index: 2; background: rgba(255,255,255,.085); border-color: var(--ember); box-shadow: inset 0 0 40px rgba(255,138,60,.18), 0 30px 60px -30px rgba(255,138,60,.6); }
.proj::before { content: attr(data-scan); position: absolute; left: 18px; top: -11px; font: 500 11px/1 var(--mono); color: #fff; background: #0b0b0d; border: 1px solid var(--ember); padding: 5px 7px; white-space: nowrap; opacity: 0; translate: 0 6px; transition: opacity .2s, translate .3s var(--spring); }
.proj::after { content: ""; position: absolute; inset: -5px; pointer-events: none; opacity: 0; scale: 1.06; transition: opacity .2s, scale .35s var(--spring);
  background:
    linear-gradient(#fff, #fff) left top / 14px 2px, linear-gradient(#fff, #fff) left top / 2px 14px,
    linear-gradient(#fff, #fff) right top / 14px 2px, linear-gradient(#fff, #fff) right top / 2px 14px,
    linear-gradient(#fff, #fff) left bottom / 14px 2px, linear-gradient(#fff, #fff) left bottom / 2px 14px,
    linear-gradient(#fff, #fff) right bottom / 14px 2px, linear-gradient(#fff, #fff) right bottom / 2px 14px;
  background-repeat: no-repeat; }
.proj:hover::before, .proj:focus-visible::before { opacity: 1; translate: 0 0; }
.proj:hover::after, .proj:focus-visible::after { opacity: 1; scale: 1; }
.detail { width: 84px; height: 104px; border-radius: 999px 999px 12px 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.55); box-shadow: 0 10px 26px -10px rgba(0,0,0,.8); rotate: -3deg; transition: rotate .4s var(--spring), scale .4s var(--spring), border-color .2s, box-shadow .2s; }
.detail img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.8) brightness(.9); transition: filter .3s, scale .6s var(--out); }
.proj:hover .detail, .proj:focus-visible .detail { rotate: 2deg; scale: 1.1; border-color: var(--ember); box-shadow: 0 0 30px rgba(255,138,60,.55); }
.proj:hover .detail img, .proj:focus-visible .detail img { filter: none; scale: 1.15; }
.detail.own img { filter: none; }
.proj:hover .detail.own img, .proj:focus-visible .detail.own img { scale: 1.06; }
.proj h3 { font: 700 1.6rem/1.1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.015em; }
.proj p { font-size: 15.5px; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: #fff !important; }
.live[hidden] { display: none; }
.sticker { position: absolute; right: 16px; top: -12px; rotate: 6deg; font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #0b0b0d; background: #ffd84a; padding: 8px 10px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: rotate .35s var(--spring), scale .35s var(--spring); z-index: 1; }
.card:hover .sticker { rotate: -4deg; scale: 1.08; }
@keyframes shake { 0%, 100% { translate: 0 -10px; } 20% { translate: -5px -12px; } 40% { translate: 5px -8px; } 60% { translate: -4px -11px; } 80% { translate: 3px -9px; } }
.boom:hover { animation: shake .4s linear 1; }

/* About: lines that open */
.about { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-side { position: sticky; top: 28px; display: grid; gap: 16px; }
.facts { border-top: 1px solid var(--hair); }
.more { border-bottom: 1px solid var(--hair); }
.more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 4px; font: 600 clamp(1.1rem, 1.7vw, 1.4rem)/1.3 var(--sans); letter-spacing: -.01em; transition: translate .25s var(--out), color .2s; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,138,60,.6); color: var(--ember); font: 700 20px/1 var(--display); transition: rotate .3s var(--spring), background-color .2s, color .2s; }
.more summary:hover { translate: 6px 0; }
.more summary:hover::before { background: var(--ember); color: #0b0b0d; }
.more[open] summary::before { rotate: 45deg; background: var(--ember); color: #0b0b0d; }
.more::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--out), content-visibility .45s allow-discrete; }
.more[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
.panel { padding: 2px 4px 26px 54px; display: grid; gap: 16px; color: var(--soft); }
.panel.two { grid-template-columns: 1fr minmax(180px, 260px); align-items: start; }
.panel p + p { margin-top: 10px; }
.map { width: 100%; height: 260px; border: 1px solid var(--hair); border-radius: 20px; filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.7); background: #151517; }
.slot { aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 16px; font: 500 12px/1.4 var(--mono); color: var(--dim); border: 1.5px dashed rgba(255,138,60,.5); border-radius: 20px; background: rgba(255,138,60,.05); rotate: 1.5deg; }
.panel.two.wide { grid-template-columns: 1fr minmax(240px, 380px); }
.clip { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--hair); background: #151517; }
.panel.two.snug { grid-template-columns: 1fr 170px; align-items: center; }
.photo { width: 100%; max-width: 170px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--hair); rotate: 1.5deg; transition: rotate .4s var(--spring), scale .4s var(--spring); }
.photo:hover { rotate: -1deg; scale: 1.03; }
.slot.tall { aspect-ratio: 4 / 5; rotate: -2deg; }
.run { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 16px; border: 1px solid var(--hair); border-radius: 18px; background: var(--glass); display: grid; gap: 6px; }
.stat b { font: 700 clamp(1.5rem, 2.6vw, 2.2rem)/1 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; color: #fff; }
.stat span { font: 500 11px/1.3 var(--mono); color: var(--dim); }
.weeks { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 6px; }
.weeks i { flex: 1; height: var(--h, 8%); min-height: 4px; border-radius: 6px 6px 2px 2px; background: rgba(255,255,255,.14); transition: height .8s var(--spring), background-color .3s; }
.weeks i.on { background: linear-gradient(to top, var(--ember), #ffd84a); }
.run-note { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font: 500 12px/1.4 var(--mono); color: var(--dim) !important; }
.dot.off { background: rgba(255,255,255,.35); animation: none; box-shadow: none; }
.strava { grid-column: 1 / -1; justify-self: start; font-weight: 600; color: #fff; text-decoration-color: var(--ember); text-underline-offset: 4px; }
.strava[hidden] { display: none; }
.track { margin-top: 16px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.runner { position: absolute; inset: 0; width: 26.2%; border-radius: 999px; background: linear-gradient(90deg, var(--ember), #ffd84a); animation: run 2.6s var(--out) infinite alternate; }
@keyframes run { from { translate: -100% 0; } to { translate: 282% 0; } }
.shipped { display: grid; gap: 8px; }
.shipped a { font-weight: 600; text-decoration-color: var(--ember); text-underline-offset: 4px; }

/* Footer CTA: the dragon again, and one question */
.foot { padding: clamp(72px, 10vw, 140px) 0 44px; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 72px); border: 1px solid rgba(255,138,60,.4); border-radius: 36px; background: #0f0d0c; min-height: 420px; display: grid; align-items: end; box-shadow: 0 40px 120px -60px rgba(255,138,60,.6); }
.cta-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; z-index: -2; scale: 1.04; transition: scale 1.2s var(--out); }
.cta-card:hover .cta-art { scale: 1.1; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,7,6,.12) 0%, rgba(8,7,6,.7) 42%, rgba(8,7,6,.93) 100%), radial-gradient(40% 50% at 18% 40%, rgba(255,138,60,.28), transparent 70%); }
.cta-scan { position: absolute; left: clamp(20px, 6%, 80px); top: clamp(20px, 12%, 70px); font: 500 11px/1 var(--mono); color: #fff; background: rgba(0,0,0,.76); border: 1px solid var(--ember); padding: 6px 8px; box-shadow: 0 0 24px rgba(255,138,60,.5); }
.cta-body { max-width: 640px; margin-left: auto; display: grid; gap: 18px; }
.cta-body h2 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
.cta-body > p { color: #fff; font-size: 20px; }
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; gap: 10px; align-items: center; padding: 17px 24px; border-radius: 999px; background: #fff; color: #0b0b0d; font-weight: 600; text-decoration: none; transition: scale .3s var(--spring), background-color .2s, box-shadow .2s; }
.button:hover { scale: 1.06; background: var(--ember); box-shadow: 0 10px 34px -6px rgba(255,138,60,.8); }
.button:active { scale: .97; }
.button span { transition: translate .25s var(--spring); }
.button:hover span { translate: 5px 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 18px; font-size: 14px; }
.foot-links a { color: var(--soft); text-decoration: none; display: inline-block; padding: 6px 0; transition: translate .2s var(--out), color .2s; }
.foot-links a:hover { translate: 2px 0; color: #fff; }
.credit { font-size: 13px; color: var(--dim); }

/* Scroll reveals (only when JS is running, so nothing hides without it) */
.js .reveal { opacity: 0; transition: opacity .75s var(--out) var(--d, 0s), translate .75s var(--out) var(--d, 0s), rotate .35s var(--spring), scale .35s var(--spring), background-color .2s, border-color .2s, box-shadow .25s; }
.js .reveal:not(.in) { translate: 0 28px; }
.js .reveal.in { opacity: 1; transition: opacity .75s var(--out) var(--d, 0s), translate .4s var(--spring), rotate .35s var(--spring), scale .35s var(--spring), background-color .2s, border-color .2s, box-shadow .25s; }

@media (max-width: 980px) { .cards.three, .cards.projects { grid-template-columns: 1fr 1fr; } .about { grid-template-columns: 1fr; } .about-side { position: static; } .panel.two.snug { grid-template-columns: 1fr 170px; align-items: center; }
.photo { width: 100%; max-width: 170px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--hair); rotate: 1.5deg; transition: rotate .4s var(--spring), scale .4s var(--spring); }
.photo:hover { rotate: -1deg; scale: 1.03; }
.slot.tall { max-width: 260px; } .run { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 18px 18px 22px; }
  .hero-bottom { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .headline { text-align: left; font-size: min(6.6vw, 3rem); line-height: 1.04; }
  .headline .line:hover > span { translate: 0 0; opacity: 1; }
  .pitch { max-width: none; }
  .lede { font-size: 15.5px; }
  .ellipse { padding: 15px 22px; font-size: 11.5px; }
  .controls { margin-top: 12px; }
  .cards.three, .cards.projects { grid-template-columns: 1fr; }
  .proj:nth-child(n) { translate: 0 0; }
  .panel, .panel.two { grid-template-columns: 1fr; padding-left: 4px; }
  .slot { max-width: 300px; }
  .panel.two.snug { grid-template-columns: 1fr 110px; }
  .panel.two.wide { grid-template-columns: 1fr; }
  .cta-card { min-height: 0; }
  .cta-card::before { background: linear-gradient(180deg, rgba(8,7,6,.55), rgba(8,7,6,.92) 55%); }
  .cta-body { padding-top: 120px; }
  .picks .button { width: 100%; justify-content: space-between; }
  /* phone hero: keep the name on two lines beside the button */
  .hero-top { gap: 12px; }
  .who-role { font-size: 13.5px; }
  .ellipse { padding: 14px 18px; font-size: 11px; letter-spacing: .13em; }
  /* thumb-sized targets */
  .pause { padding: 14px 16px; }
  .tag { padding: 13px 14px; }
  .foot-links { gap: 2px 22px; }
  .foot-links a { padding: 12px 0; }
  .foot .fine a { display: inline-block; padding: 10px 0; }
}
@media (max-width: 760px) and (min-width: 370px) { .who-role { white-space: nowrap; } }

/* Touch screens have no hover: the project card crossing the middle of the screen gets the scan, and the map stops stealing the scroll */
@media (hover: none) {
  .proj.scanned { rotate: 0deg; background: rgba(255,255,255,.085); border-color: var(--ember); }
  .proj.scanned::before { opacity: 1; translate: 0 0; }
  .proj.scanned::after { opacity: 1; scale: 1; }
  .proj.scanned .detail { border-color: var(--ember); box-shadow: 0 0 30px rgba(255,138,60,.55); }
  .proj.scanned .detail img { filter: none; }
  .map { pointer-events: none; }
  .if-hover { display: none; }
}
@media (hover: hover) { .if-touch { display: none; } }

/* Reduced motion: still painting, no loops, no parallax, simple fades only */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fly-tl, .fly-tr, .fly-bl, .fly-br .line { --fx: 0px; --fy: 0px; animation-duration: .4s; animation-delay: 0s; }
  .dot, .hud-box, .hud-label b::after, .runner, .boom:hover, .rocket:hover .flame { animation: none; }
  .js .reveal:not(.in) { translate: 0 0; }
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color !important; }
  .help:hover, .proj:hover, .lede:hover, .more summary:hover, .headline .line:hover > span { translate: 0 0; scale: 1; }
  .ellipse:hover, .button:hover, .cta:hover, .tag:hover, .labels li:hover, .pause:hover, .portrait:hover, .cta-card:hover .cta-art { scale: 1; }
}

/* close-up checker (?sheet=) hides the words */
.hero.checking .hero-top, .hero.checking .hero-bottom, .hero.checking .hud, .hero.checking .hero-shade { display: none; }
