/* fonts: self-hosted (latin) */
@font-face { font-family: "Barlow Fallback"; src: local("Arial Narrow"), local("ArialNarrow"), local("Roboto Condensed"), local("Arial"), local("Roboto"); size-adjust: 80%; ascent-override: 100%; descent-override: 20%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: block; src: url("../fonts/barlow-condensed-600.woff2?v=ba45134952") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: block; src: url("../fonts/barlow-condensed-700.woff2?v=e1180918b8") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: block; src: url("../fonts/barlow-condensed-800.woff2?v=b1b7dd5dbc") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin.woff2?v=260c81a475") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin.woff2?v=260c81a475") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin.woff2?v=260c81a475") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-500.woff2?v=a21e038a03") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Rob Milne — v3: plain-language first, broadcast style as flavour */
:root {
  --bg: #0b0d10;
  --bg-2: #11151a;
  --panel: #161b21;
  --line: #242d38;
  --text: #ebeff3;
  --soft: #c2cbd3;
  --muted: #8c99a6;
  --brand: #f07a12;       /* the one interactive accent */
  --brand-2: #ffb454;
  --live: #ff3b3b;        /* ON AIR / live only */
  --ok: #3ddc84;          /* availability only */
  --radius: 14px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --f-display: "Barlow Condensed", "Barlow Fallback", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.no-scroll { overflow: hidden; }

/* ---------- cold open ---------- */
.cold { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: #050607; transition: clip-path .9s var(--ease); clip-path: inset(0 0 0 0); cursor: pointer; }
.cold.show { display: grid; }
.cold.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.cold-inner { display: grid; justify-items: center; gap: 18px; }
.cold-tc { font: 500 clamp(28px, 6vw, 56px)/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.cold-tally { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 6px; border: 1px solid #3a2020; color: #6b3a3a; font: 700 15px/1 var(--f-display); letter-spacing: .24em; transition: all .25s; }
.cold-tally::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.cold.live .cold-tally { background: var(--live); border-color: var(--live); color: #fff; box-shadow: 0 0 40px rgba(255,59,59,.45); }
.cold-skip { position: absolute; bottom: 24px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; color: #4f5a66; text-transform: uppercase; }

/* ---------- header ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 20px; height: 68px; padding: 0 var(--gutter); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.bar.scrolled { background: rgba(11,13,16,.86); backdrop-filter: blur(14px); border-color: rgba(255,255,255,.06); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.logo span { padding-left: 12px; border-left: 1px solid var(--line); font: 600 15px/1 var(--f-body); letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; text-decoration: none; font: 500 15px/1 var(--f-body); color: var(--soft); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.bar-cta { display: flex; align-items: center; gap: 12px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--f-body); color: var(--soft); white-space: nowrap; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61,220,132,.15); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; font: 500 14px/1 var(--f-body); cursor: pointer; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); text-decoration: none; font: 600 15px/1 var(--f-body); cursor: pointer; overflow: hidden; transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); }
.btn:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #140a02; }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.layer { position: absolute; inset: -14% 0; background: center/cover no-repeat; will-change: transform; }
.hero-bg { background: #000 url("../img/reel-poster.webp?v=ecbca607cf") center/cover no-repeat; }
@media (orientation: portrait) and (max-aspect-ratio: 10/13) { .hero-bg { background-image: url("../img/reel-poster-portrait.webp?v=8cc57e20a4"); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-video.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(11,13,16,.97) 0%, rgba(11,13,16,.86) 45%, rgba(11,13,16,.45) 100%),
  linear-gradient(to top, var(--bg) 0%, rgba(11,13,16,0) 35%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: 120px; padding-bottom: 100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 600 14px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.hero h1 { margin: 0; font: 700 clamp(44px, 5.3vw, 76px)/1.02 var(--f-display); letter-spacing: -.005em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lede { max-width: 34em; margin: 26px 0 0; font-size: clamp(18px, 1.4vw, 20px); color: var(--soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* lower third name key (brand flourish) */
.l3 { display: inline-flex; margin-top: 30px; clip-path: inset(0 100% 0 0); animation: wipe 1s var(--ease) 1.6s forwards; }
.l3-tag { display: grid; place-items: center; padding: 0 12px; background: var(--brand); }
.l3-tag img { height: 24px; width: auto; }
.l3-body { padding: 9px 16px 9px 13px; background: rgba(17,21,26,.92); border-left: 3px solid var(--brand-2); }
.l3-name { font: 700 22px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.l3-title { margin-top: 4px; font-size: 13px; color: var(--muted); }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

/* at-a-glance card */
.glance { position: relative; padding: 28px 28px 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(160deg, rgba(23,28,35,.92), rgba(14,17,21,.92)); backdrop-filter: blur(10px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.glance h2 { margin: 0 0 18px; font: 600 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance dl { margin: 0; display: grid; gap: 14px; }
.glance dt { font: 500 12px/1.2 var(--f-body); color: var(--muted); }
.glance dd { margin: 3px 0 0; font-size: 16px; line-height: 1.45; color: var(--text); }
.glance dd .ok { display: inline-flex; align-items: center; gap: 8px; }
.glance dd .ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.glance-actions { display: flex; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.glance-actions .btn { flex: 1; }

/* ---------- numbers ---------- */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.numbers .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.num { padding: 34px 20px 30px; border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; padding-left: 0; }
.num b { display: block; font: 700 clamp(40px, 4.4vw, 58px)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.num b small { font-size: .55em; color: var(--brand); margin-left: 2px; }
.num span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: clamp(96px, 13vw, 168px) 0; }
.sec-alt { background: var(--bg-2); }
.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.head .eyebrow { margin-bottom: 18px; }
.head h2 { margin: 0; font: 700 clamp(38px, 5vw, 64px)/1.02 var(--f-display); }
.head h2 em { font-style: normal; color: var(--brand); }
.head p { margin: 18px 0 0; max-width: 40em; font-size: clamp(17px, 1.3vw, 19px); color: var(--soft); }

/* what I do */
.does { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.do { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.do::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--brand); transition: width .6s var(--ease); }
.do:hover::before { width: 100%; }
.do .n { font: 500 13px/1 var(--f-mono); color: var(--muted); }
.do h3 { margin: 14px 0 12px; font: 700 30px/1.05 var(--f-display); }
.do p { margin: 0; color: var(--soft); font-size: 17px; }
.do small { display: block; margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- signature story ---------- */
.story { position: relative; height: 420vh; background: var(--bg); }
.story-stick { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .85fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.story-head .eyebrow { margin-bottom: 16px; }
.story-head h2 { margin: 0 0 28px; font: 700 clamp(38px, 4.8vw, 62px)/1.02 var(--f-display); }
.story-head h2 em { font-style: normal; color: var(--brand); }
.steps { position: relative; min-height: 230px; }
.step { position: absolute; inset: 0 auto auto 0; max-width: 30em; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.step.on { opacity: 1; transform: none; }
.step .k { font: 500 13px/1 var(--f-mono); color: var(--brand-2); }
.step h3 { margin: 10px 0 10px; font: 700 28px/1.1 var(--f-display); }
.step p { margin: 0; color: var(--soft); font-size: 17.5px; }
.step-dots { display: flex; gap: 8px; margin-top: 30px; }
.step-dots i { width: 28px; height: 3px; border-radius: 2px; background: var(--line); transition: background .4s; }
.step-dots i.on { background: var(--brand); }

.diagram { width: 100%; height: auto; overflow: visible; }
.diagram .lbl { font: 500 12px var(--f-mono); fill: var(--muted); letter-spacing: .06em; }
.diagram .big { font: 700 22px var(--f-display); fill: var(--text); letter-spacing: .04em; }
.diagram .part { opacity: .12; transition: opacity .7s var(--ease); }
.diagram .wire { stroke: var(--brand); stroke-width: 2; fill: none; stroke-dasharray: 6 8; opacity: .08; transition: opacity .6s; }
.story[data-step="0"] .d0,
.story[data-step="1"] .d0, .story[data-step="1"] .d1,
.story[data-step="2"] .d0, .story[data-step="2"] .d1, .story[data-step="2"] .d2,
.story[data-step="3"] .part { opacity: 1; }
.story[data-step="1"] .w1,
.story[data-step="2"] .w1, .story[data-step="2"] .w2,
.story[data-step="3"] .wire { opacity: .9; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.swatch { transition: fill .6s; }
.story[data-step="3"] .streams circle { animation: pop 1.4s ease-in-out infinite alternate; }
.streams circle:nth-child(3n) { animation-delay: -.5s !important; }
.streams circle:nth-child(4n) { animation-delay: -1s !important; }
@keyframes pop { from { opacity: .25; } to { opacity: 1; } }

/* ---------- work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.filter { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 500 15px/1 var(--f-body); color: var(--soft); cursor: pointer; transition: all .25s; }
.filter:hover { border-color: var(--muted); }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(88px, 11vw, 150px); }
.case.flip .case-media { order: 2; }
.is-hidden { display: none !important; }
.case-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.case-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.wipe.in { clip-path: inset(0 0 0 0); }
.case-media.is-link { cursor: pointer; }
.case-media.is-link img { transition: filter .35s ease; }
.case-media.is-link:hover img { filter: brightness(1.08) saturate(1.08); }
.case-media .view { position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 9px 14px; border-radius: 999px; background: var(--brand); color: #111; font: 600 13.5px/1 var(--f-body); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.case-media.is-link:hover .view { opacity: 1; transform: none; }
@media (hover: none) { .case-media .view { opacity: .95; transform: none; } }
.case-media .badge { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 6px 10px; border-radius: 6px; background: rgba(11,13,16,.8); backdrop-filter: blur(6px); font: 500 12.5px/1 var(--f-body); color: var(--soft); }
.case .meta { font: 500 14.5px/1.4 var(--f-body); color: var(--muted); }
.case .meta b { color: var(--brand-2); font-weight: 600; }
.case h3 { margin: 12px 0 16px; font: 700 clamp(30px, 3.3vw, 44px)/1.05 var(--f-display); }
.case p { margin: 0; max-width: 32em; color: var(--soft); font-size: 17.5px; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 28px 0 30px; }
.facts div b { display: block; font: 700 34px/1 var(--f-display); }
.facts div span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); max-width: 12em; line-height: 1.4; }

.more-title { margin: 0 0 24px; font: 700 30px/1 var(--f-display); }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.mini { position: relative; display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.mini .thumb { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--panel); }
.mini .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9) brightness(.9); }
.mini:hover .thumb img { transform: scale(1.05); filter: none; }
.mini h4 { margin: 14px 0 4px; font: 700 22px/1.1 var(--f-display); }
.mini p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.detail { display: none; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.is-open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(8px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; margin: 4vh auto; width: min(960px, calc(100% - 24px)); max-height: 92vh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.98); } }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 14px 16px; background: linear-gradient(var(--bg-2) 60%, rgba(17,21,26,0)); }
.modal-close { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: 500 14px/1 var(--f-body); cursor: pointer; }
.modal-close:hover { border-color: var(--brand); }
.modal-body { padding: 0 clamp(22px, 4vw, 48px) clamp(28px, 4vw, 48px); }
.modal-body h3 { margin: 0 0 8px; font: 700 clamp(34px, 4.4vw, 50px)/1.02 var(--f-display); }
.modal-body .meta { margin-bottom: 26px; font-size: 14.5px; color: var(--muted); }
.modal-body .meta b { color: var(--brand-2); font-weight: 600; }
.modal-body h4 { margin: 30px 0 10px; font: 700 22px/1.1 var(--f-display); }
.modal-body p, .modal-body li { color: var(--soft); max-width: 44em; }
.modal-body ul { padding-left: 20px; }
.modal-body li { margin: 6px 0; }
/* resume chooser: designed or simple */
.rchoice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rcard { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); text-decoration: none; color: var(--text); transition: border-color .25s, transform .25s var(--ease); }
.rcard:hover { border-color: var(--brand); transform: translateY(-2px); }
.rcard img { display: block; width: 100%; height: auto; margin-bottom: 8px; border-radius: 8px; border: 1px solid var(--line); }
.rcard-name { font: 700 24px/1.1 var(--f-display); }
.rcard-note { font-size: 15px; line-height: 1.5; color: var(--muted); }
.rcard-go { margin-top: auto; padding-top: 8px; font: 600 15px/1 var(--f-body); color: var(--brand-2); }
.rcard:hover .arrow { transform: translateX(4px); }
.rcard .arrow { display: inline-block; transition: transform .3s var(--ease); }
@media (max-width: 560px) { .rchoice { gap: 10px; } .rcard { padding: 10px 10px 14px; } .rcard-name { font-size: 20px; } .rcard-note { font-size: 13.5px; } }
.tech { margin-top: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.tech summary { padding: 16px 20px; cursor: pointer; font: 600 15px/1.2 var(--f-body); color: var(--soft); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tech summary::-webkit-details-marker { display: none; }
.tech summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: .8; }
.tech[open] summary::after { content: "–"; }
.tech > div { padding: 0 20px 18px; }
.tech p, .tech li { font-size: 15px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 20px; }
.media-grid img { width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 10px; background: #000; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.yt button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: #000 center/cover no-repeat; cursor: pointer; }
.yt button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.1)); }
.yt button span { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--brand); transition: transform .3s var(--ease); }
.yt button:hover span { transform: translate(-50%, -50%) scale(1.08); }
.yt button span svg { width: 20px; height: 20px; margin-left: 4px; fill: #140a02; }
.yt button em { position: absolute; z-index: 1; left: 14px; bottom: 12px; right: 14px; font: 600 15px/1.3 var(--f-body); font-style: normal; text-align: left; }
.yt iframe, .yt video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- band + automation ---------- */
.band { position: relative; height: clamp(360px, 60vh, 600px); overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.band .layer { inset: -20% 0; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,13,16,.94) 0%, rgba(11,13,16,.55) 60%, rgba(11,13,16,.3) 100%); }
.band .wrap { position: relative; z-index: 2; }
.band blockquote { margin: 0; max-width: 16ch; font: 700 clamp(40px, 5.6vw, 76px)/1 var(--f-display); }
.band blockquote em { font-style: normal; color: var(--brand); }
.band cite { display: block; margin-top: 18px; font-style: normal; font-size: 17px; color: var(--soft); }

.autos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.auto { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); transition: border-color .3s, transform .45s var(--ease); }
.auto:hover { border-color: rgba(240,122,18,.5); transform: translateY(-4px); }
.auto .ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(240,122,18,.12); color: var(--brand-2); }
.auto .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.auto h3 { margin: 18px 0 10px; font: 700 26px/1.1 var(--f-display); }
.auto p { margin: 0; color: var(--soft); font-size: 16.5px; }
.auto small { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- experience ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; max-width: 920px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--line) 30%); }
.job { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 0 0 42px 44px; }
.job::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.job.now::before { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 0 5px rgba(61,220,132,.15); }
.job .when { font: 500 14.5px/1.5 var(--f-body); color: var(--muted); }
.job .when b { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(61,220,132,.12); color: var(--ok); font: 600 12.5px/1.4 var(--f-body); }
.job h3 { margin: 0; font: 700 26px/1.1 var(--f-display); }
.job .title { margin-top: 4px; font-size: 15.5px; color: var(--brand-2); font-weight: 500; }
.job ul { margin: 10px 0 0; padding-left: 18px; }
.job li { margin: 5px 0; color: var(--soft); font-size: 16.5px; }
.edu-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin-top: 30px; }
.edu { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.edu b { display: block; font: 700 23px/1.1 var(--f-display); }
.edu span { display: block; margin-top: 4px; font-size: 15px; color: var(--brand-2); }
.edu p { margin: 8px 0 0; font-size: 15px; color: var(--soft); }

/* ---------- skills ---------- */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.skill h3 { margin: 0 0 14px; font: 700 24px/1.1 var(--f-display); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); font-size: 14.5px; }
.skill small { display: block; margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ---------- references ---------- */
.refs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ref { position: relative; margin: 0; padding: 36px 32px 28px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,0) 45%), var(--bg-2);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s; }
.ref:hover { transform: translateY(-4px); border-color: rgba(240,122,18,.5); box-shadow: 0 28px 60px -30px rgba(240,122,18,.35); }
.ref-mark { position: absolute; top: -22px; right: 22px; font: 800 160px/1 Georgia, serif; color: var(--brand); opacity: .13; pointer-events: none; }
.ref blockquote { position: relative; margin: 0; font-size: 17px; line-height: 1.7; color: var(--soft); }
.ref.feature { grid-column: span 2; padding: 48px 48px 36px; }
.ref.feature .ref-mark { font-size: 230px; top: -34px; opacity: .18; }
.ref.feature blockquote { max-width: 880px; font: 500 clamp(21px, 2.3vw, 28px)/1.45 var(--f-body); color: var(--text); }
.ref-key { display: flex; align-items: center; }
.ref-photo { position: relative; z-index: 1; flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-2); box-shadow: 0 0 0 2px var(--brand); }
.ref.feature .ref-photo { width: 84px; height: 84px; }
.ref-bar { display: flex; flex-direction: column; justify-content: center; min-height: 54px; margin-left: -18px; padding: 8px 18px 8px 30px; background: var(--panel); border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; }
.ref-bar b { font: 700 20px/1.05 var(--f-display); letter-spacing: .05em; text-transform: uppercase; }
.ref-bar span { margin-top: 5px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.ref.feature .ref-bar b { font-size: 24px; }
.refs > .ref:not(.feature):last-child:nth-child(even) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
.refs-more { margin: 26px 0 0; font-size: 15px; }
.refs-more a { color: var(--brand-2); text-decoration: none; }
.refs-more a:hover { text-decoration: underline; }

/* ---------- contact ---------- */
.contact { position: relative; text-align: center; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(240,122,18,.13), transparent 60%); pointer-events: none; }
.contact .head { margin-left: auto; margin-right: auto; }
.contact .head .eyebrow { justify-content: center; }
.contact .head h2 { font-size: clamp(52px, 8vw, 112px); }
.contact .head p { margin-left: auto; margin-right: auto; }
.links { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
footer { padding: 32px 0 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer .brand { display: inline-flex; align-items: center; gap: 12px; }
footer img { height: 24px; width: auto; opacity: .8; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.split.in .w > span { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .glance { max-width: 560px; }
  .numbers .wrap { grid-template-columns: repeat(3, 1fr); }
  .num:nth-child(4) { border-left: 0; padding-left: 0; }
  .num:nth-child(n+4) { border-top: 1px solid var(--line); }
  .skills { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px var(--gutter) 22px; background: rgba(11,13,16,.98); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; }
  .nav a::after { left: 0; right: auto; width: 40px; }
  .menu-btn { display: block; }
  .bar-cta .avail { display: none; }
  .bar { background: rgba(11,13,16,.9); backdrop-filter: blur(14px); }
  .does { grid-template-columns: 1fr; }
  .story { height: auto; }
  .story-stick { position: static; height: auto; padding: 96px 0; }
  .story-grid { grid-template-columns: 1fr; }
  .steps { min-height: 0; display: grid; gap: 26px; }
  .step { position: static; opacity: 1; transform: none; }
  .step-dots { display: none; }
  .case, .case.flip { grid-template-columns: 1fr; }
  .case.flip .case-media { order: 0; }
  .minis { grid-template-columns: 1fr 1fr; }
  .autos { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 6px; }
  .edu-row { grid-template-columns: 1fr; }
  .refs { grid-template-columns: 1fr; }
  .ref.feature { grid-column: auto; padding: 36px 26px 28px; }
  .refs > .ref:not(.feature):last-child:nth-child(even) { grid-column: auto; width: auto; justify-self: stretch; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .logo span { display: none; }
  .bar-cta .btn { display: none; }
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .num { padding: 24px 14px; border-left: 0 !important; }
  .num:nth-child(odd) { padding-left: 0; }
  .num:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .num:last-child { grid-column: span 2; padding-left: 0; border-left: 0 !important; }
  .minis { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .glance-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv, .split .w > span { opacity: 1; transform: none; }
  .wipe { clip-path: none; }
  .l3 { clip-path: none; }
}
.about-photo { margin: 0 0 clamp(48px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 21 / 9; background: var(--panel); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.about-photo figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; border-radius: 6px; background: rgba(11,13,16,.8); font-size: 13px; color: var(--soft); }
@media (max-width: 600px) { .about-photo { aspect-ratio: 4 / 3; } }
.contact .budget { margin-top: 14px; }
.contact .budget b { color: var(--brand); }

/* Featured story: tell people to keep scrolling until the last step */
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--soft); transition: opacity .4s; }
.scroll-cue .arrow { color: var(--brand); font-size: 18px; animation: cue-bob 1.4s ease-in-out infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
.story[data-step="3"] .scroll-cue { opacity: 0; }
@media (max-width: 900px) { .scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .arrow { animation: none; } }
