/* ocebi.github.io home page. The case-study pages under work/ still use site.css. */
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700-ext.woff2') format('woff2'); font-weight: 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap;
  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; src: url('../fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url('../fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url('../fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --concrete: #14161a;      /* page */
  --concrete-2: #1b1e22;    /* recessed areas */
  --card: #1f2226;
  --line: #3a3f46;
  --line-strong: #5a616a;
  --white: #ffffff;
  --asphalt: #2b2e33;
  --sign: #00674a;
  --warn: #ffc800;
  --warn-deep: #d9a300;
  --ink: #eceef0;           /* text */
  --dark: #1b1d21;          /* text on light surfaces */
  --muted: #a3aab3;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: Barlow, 'Helvetica Neue', Arial, system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --w: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--concrete); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--warn-deep); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.08; letter-spacing: .01em; }
h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 600; }
p { text-wrap: pretty; }
.wrap { max-width: var(--w); margin-inline: auto; padding-inline: var(--gutter); }
.block { padding-block: clamp(3rem, 7vw, 5.5rem); }
.lede { max-width: 60ch; color: var(--muted); font-size: 1.15rem; margin-top: 1.25rem; }
.role { color: var(--warn); font-weight: 600; }

.skip { position: absolute; left: -999px; top: 1rem; z-index: 50; background: var(--warn); color: var(--dark); padding: .5rem 1rem; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 1rem; }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 20; background: var(--concrete-2); color: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.75rem; max-width: 90rem; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .03em; text-decoration: none; }
.brand span { color: var(--warn); margin-left: .3em; }
.top nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2rem); font-weight: 500; font-size: .98rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--warn); }
.top .cv { background: var(--warn); color: var(--dark); padding: .3rem .9rem; border-radius: 6px; font-weight: 600; }
.top .cv:hover { background: #fff; color: var(--dark); }
@media (max-width: 40rem) { .top .opt { display: none; } }

/* ── route line: section navigation down the left edge, wide screens only ── */
.rail { display: none; }
main section[id] { scroll-margin-top: 4.5rem; }
@media (min-width: 86rem) {
  .rail { display: block; position: fixed; z-index: 15; left: 1.25rem; top: 50%; transform: translateY(-50%); }
  .rail::before { content: ""; position: absolute; left: 9px; top: 1.5rem; bottom: 1.5rem; width: 2px; background: var(--line-strong); }
  .rail ol { list-style: none; margin: 0; padding: 0; }
  .rail li { height: 3rem; display: flex; align-items: center; }
  .rail a { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--muted); }
  .rail a::before { content: ""; position: relative; width: 10px; height: 10px; margin: 0 5px; border-radius: 50%; background: var(--concrete); border: 2px solid var(--line-strong); flex: none; }
  .rail a span { opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .18s; background: rgba(20,22,26,.92); padding: .1rem .55rem; border-radius: 6px; white-space: nowrap; }
  .rail:hover a span, .rail:focus-within a span, .rail a[aria-current] span { opacity: 1; transform: none; }
  .rail a:hover, .rail a[aria-current] { color: #fff; }
  .rail a:hover::before { border-color: #fff; }
  .rail a[aria-current]::before { background: var(--warn); border-color: var(--warn); }
  .rail__car { position: absolute; left: 2px; top: -13px; width: 16px; height: 26px; z-index: 2; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
  .top nav a:not(.cv) { display: none; }
}

/* ── road sign: section heading with its tab (the eyebrow) ── */
.sign { display: inline-block; max-width: 100%; }
.sign__tab { display: inline-block; background: var(--sign); color: #fff; font-weight: 600; font-size: .95rem; padding: .3rem .9rem .25rem; border-radius: 8px 8px 0 0; box-shadow: inset 0 0 0 2px #fff; margin-left: .9rem; position: relative; top: 2px; }
.sign__face { background: var(--sign); color: #fff; padding: .9rem 1.4rem 1rem; border-radius: 12px; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 6px #fff; }
.sign__face h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.sign--warn .sign__tab, .sign--warn .sign__face { background: var(--warn); color: var(--dark); }
.sign--warn .sign__tab { box-shadow: inset 0 0 0 2px var(--dark); }
.sign--warn .sign__face { box-shadow: inset 0 0 0 3px var(--warn), inset 0 0 0 6px var(--dark); }

/* ── plates: the tag chips ── */
.plates { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.plate { background: #eceef0; color: var(--dark); border: 2px solid var(--dark); outline: 1px solid #eceef0; border-radius: 6px; padding: .1rem .6rem; font-weight: 600; font-size: .9rem; letter-spacing: .02em; }

.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; padding: .7rem 1.25rem; border-radius: 8px; border: 2px solid var(--warn); background: var(--warn); color: var(--dark); cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover { background: #fff; border-color: #fff; color: var(--dark); }
.btn--light { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.hero .btn--light { background: rgba(27,29,33,.86); }

/* ── separators: one per section, drawn from that section's subject ── */
.sep { height: 1.5rem; }
.sep--lane { background: var(--asphalt) repeating-linear-gradient(90deg, #fff 0 2.5rem, transparent 2.5rem 5rem) center / 100% 3px no-repeat; border-radius: 4px; }
.sep--tiles { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24'%3E%3Crect x='3' y='1' width='22' height='22' rx='6' fill='%23f5a623'/%3E%3Crect x='33' y='1' width='22' height='22' rx='6' fill='%233d8fe0'/%3E%3Crect x='63' y='1' width='22' height='22' rx='6' fill='%23e5484d'/%3E%3Crect x='93' y='1' width='22' height='22' rx='6' fill='%2346a758'/%3E%3C/svg%3E") center / auto 100% repeat-x; }
/* a health bar, two-thirds full */
.sep--bar { height: 1rem; border-radius: 3px; background: repeating-linear-gradient(90deg, #46a758 0 2.2rem, transparent 2.2rem 2.6rem); -webkit-mask-image: linear-gradient(90deg, #000 62%, rgba(0,0,0,.22) 62%); mask-image: linear-gradient(90deg, #000 62%, rgba(0,0,0,.22) 62%); }
.sep--tape { height: 1rem; background: repeating-linear-gradient(-45deg, var(--warn) 0 14px, #0c0d0f 14px 28px); border-radius: 3px; }
.sep--rule { height: .7rem; border-top: 4px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sep--stones { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='24'%3E%3Crect x='1' y='2' width='30' height='20' rx='7' fill='%23a9a397'/%3E%3Crect x='34' y='2' width='18' height='20' rx='7' fill='%23bdb7aa'/%3E%3Crect x='55' y='2' width='21' height='20' rx='7' fill='%23999387'/%3E%3C/svg%3E") center / auto 100% repeat-x; }
.sep--suits { height: auto; display: flex; align-items: center; gap: 1rem; font-size: 1.4rem; line-height: 1; }
.sep--suits::before, .sep--suits::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.sep--suits b { color: #c8322b; font-weight: 400; }

/* ── 1. hero: real footage, and a sign you can grab ── */
.hero { position: relative; min-height: max(34rem, min(88svh, 52rem)); padding-bottom: 2rem; background: #20242a; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__copy { position: relative; z-index: 2; padding-top: clamp(1.5rem, 4vw, 3rem); max-width: 90rem; }
.gantry { position: relative; width: min(31rem, 100%); cursor: grab; touch-action: pan-y; will-change: transform; container-type: inline-size; }
.gantry.is-held { cursor: grabbing; user-select: none; }
.tag { --bg: radial-gradient(ellipse 62% 105% at 50% 118%, transparent 0 71.2%, #8e6fd0 72.4%, #3f97e6 77%, #4fbf62 82%, #f6d53a 87%, #f59a2e 92%, #e8483a 96.8%, transparent 98%), linear-gradient(#f6f4ec, #efede3); --keep: radial-gradient(ellipse 62% 105% at 50% 118%, #000 0 70.5%, transparent 72% 97.2%, #000 98.8%); --char: #1d2026; --hi: rgba(255,255,255,.85); --lo: #000; --state: #a3271f; --motto: #1d2026; --rim: rgba(255,255,255,.7); --wear: 1;
  position: relative; aspect-ratio: 2 / 1; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; text-align: center; padding: 3.2cqw 5cqw 4cqw; color: var(--char); overflow: hidden; isolation: isolate;
  background: var(--bg); border-radius: 4.5cqw;
  box-shadow: inset 0 0 0 .5cqw rgba(255,255,255,.25), inset .3cqw .3cqw .5cqw rgba(255,255,255,.5), inset -.4cqw -.5cqw .8cqw rgba(0,0,0,.4), 0 14px 30px -10px rgba(0,0,0,.7); }
/* the pressed rim */
.tag::before { content: ""; position: absolute; inset: 2cqw; border-radius: 3cqw; border: .7cqw solid var(--rim); box-shadow: .25cqw .3cqw .35cqw rgba(0,0,0,.35), inset .25cqw .3cqw .35cqw rgba(0,0,0,.28); pointer-events: none; z-index: 1; }
/* wear: stains, specks, scratches and a sheen, laid over paint and characters alike */
.tag::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: var(--wear); -webkit-mask-image: var(--keep); mask-image: var(--keep); background:
  linear-gradient(115deg, transparent 32%, rgba(255,255,255,.16) 45%, transparent 58%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .55' numOctaves='2' seed='21'/%3E%3CfeColorMatrix values='0 0 0 0 .93  0 0 0 0 .92  0 0 0 0 .87  0 0 5 0 -3.5'/%3E%3C/filter%3E%3Cg transform='rotate(-7 300 150)'%3E%3Crect x='-60' y='-60' width='720' height='420' filter='url(%23f)'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .2  0 0 0 0 .17  0 0 0 0 .13  0 3.2 0 0 -2.15'/%3E%3C/filter%3E%3Crect width='600' height='300' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 100% 100%,
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011 .02' numOctaves='4' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .34  0 0 0 0 .22  1.25 0 0 0 -.62'/%3E%3C/filter%3E%3Crect width='600' height='300' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 100% 100%,
  radial-gradient(ellipse at center, transparent 55%, rgba(60,45,25,.28) 100%); }
.tag > * { position: relative; z-index: 2; }
.tag s { display: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; -webkit-mask-image: var(--keep); mask-image: var(--keep); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .55' numOctaves='2' seed='21'/%3E%3CfeColorMatrix values='0 0 0 0 .93  0 0 0 0 .92  0 0 0 0 .87  0 0 5 0 -3.5'/%3E%3C/filter%3E%3Cg transform='rotate(-7 300 150)'%3E%3Crect x='-60' y='-60' width='720' height='420' filter='url(%23f)'/%3E%3C/g%3E%3C/svg%3E") 30% 0 / 160% 70%, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011 .02' numOctaves='4' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .34  0 0 0 0 .22  1.25 0 0 0 -.62'/%3E%3C/filter%3E%3Crect width='600' height='300' filter='url(%23f)'/%3E%3C/svg%3E") 0 0 / 55% 130%, radial-gradient(ellipse at center, transparent 40%, rgba(96,48,16,.6) 100%); }
.tag[data-wear="clean"] { --wear: .15; }
.tag[data-wear="battered"] s { display: block; }
.tag__state { font: 700 6.6cqw/1 var(--display); letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; color: var(--state); text-shadow: -.1cqw -.12cqw 0 rgba(255,255,255,.8), .12cqw .18cqw .15cqw rgba(0,0,0,.35); }
.tag__motto { font: 700 4.6cqw/1 var(--display); letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; color: var(--motto); text-shadow: -.08cqw -.1cqw 0 rgba(255,255,255,.8); }
.tag h1 { font-size: 18.6cqw; line-height: .9; letter-spacing: .03em; white-space: nowrap; color: var(--char); margin-top: 1.5cqw;
  text-shadow: -.2cqw -.25cqw 0 var(--hi), .15cqw .2cqw 0 var(--lo), .45cqw .6cqw .5cqw rgba(0,0,0,.45); }
.tag i { position: absolute; z-index: 4; top: 4cqw; width: 3cqw; height: 3cqw; margin-left: -1.5cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f4f5f6, #6c727a); box-shadow: 0 0 0 .45cqw rgba(0,0,0,.55), .2cqw .4cqw .5cqw rgba(0,0,0,.5); }
.tag i::before { content: ""; position: absolute; bottom: 60%; left: calc(50% - 2px); width: 4px; height: 12rem; background: repeating-linear-gradient(#dfe3e6 0 6px, #6c727a 6px 9px); }
.tag u { position: absolute; z-index: 2; bottom: 3.6cqw; width: 5cqw; height: 1.9cqw; margin-left: -2.5cqw; border-radius: 1cqw; background: #2a2622; box-shadow: inset .2cqw .25cqw .3cqw #000, 0 .15cqw 0 rgba(255,255,255,.5); }
.tag b { position: absolute; z-index: 2; top: 3.4cqw; font: 700 3.4cqw/1 var(--body); padding: .9cqw 1.3cqw; border-radius: .6cqw; box-shadow: .1cqw .2cqw .3cqw rgba(0,0,0,.4); transform: rotate(var(--r, 0deg)); }
.hero__lede { margin-top: 1.5rem; max-width: 31rem; background: rgba(27,29,33,.86); color: #fff; padding: .8rem 1.1rem; border-radius: 10px; font-size: 1.1rem; line-height: 1.45; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.hero__credit { position: absolute; z-index: 2; right: var(--gutter); bottom: 1rem; background: rgba(27,29,33,.8); color: #fff; padding: .2rem .7rem; border-radius: 6px; font-size: .92rem; }

/* ── 4. evidence instead of a stat row ── */
.evidence { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); margin-top: 2.5rem; align-items: start; }
.story { display: block; background: var(--card); border-radius: 18px; overflow: hidden; text-decoration: none; border: 2px solid var(--line); }
.story > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story__from { display: flex; align-items: center; gap: .9rem; background: #000; color: #fff; padding: .7rem 1.1rem; font-weight: 600; }
.story__from img { height: 2.4rem; width: auto; }
.story__text { padding: 1rem 1.25rem 1.2rem; }
.story__text small { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.story__text b { display: block; font-size: 1.5rem; line-height: 1.2; }
.story__text span { color: var(--muted); }
.evidence figcaption { margin-top: .6rem; font-weight: 500; }
.evidence__right { display: grid; gap: 1.5rem; }
.odo { background: var(--card); border: 2px solid var(--line); color: #fff; border-radius: 14px; padding: 1.4rem 1.5rem 1.2rem; }
.odo__row { display: flex; align-items: center; gap: 4px; font: 700 clamp(2rem, 5vw, 3.6rem)/1 var(--display); }
.odo__d { height: 1.25em; width: .78em; overflow: hidden; background: #111316; border-radius: 6px; box-shadow: inset 0 0 0 1px #50555c, inset 0 .35em .3em -.2em #000, inset 0 -.35em .3em -.2em #000; }
.odo__reel { display: flex; flex-direction: column; transition: transform 2.2s cubic-bezier(.2,.7,.2,1); }
.odo__reel span { height: 1.25em; display: grid; place-items: center; }
.odo__sep { width: .25em; }
.odo p { margin-top: .8rem; color: #cfd3d8; }
.odo p b { color: var(--warn); font-weight: 600; }
.facts { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; }
.facts li { padding-block: .45rem; border-bottom: 1px solid var(--line); }
.facts li:last-child { border: 0; padding-bottom: 0; }
.facts b { font: 700 1.9rem/1 var(--display); margin-right: .4rem; }
.facts small { display: block; color: var(--muted); font-size: .88rem; margin-top: .6rem; }
@media (max-width: 52rem) { .evidence { grid-template-columns: 1fr; } }

/* ── 5a. Highway Racer Pro: a filmstrip of the store screenshots ── */
.title-row { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.title-row img { width: 4.5rem; height: 4.5rem; border-radius: 16px; flex: none; }
.title-row h3 { font: 700 clamp(2.2rem, 6vw, 4.5rem)/1 var(--display); text-transform: uppercase; }
.case p { max-width: 60ch; margin-top: .8rem; }
.case .btn { margin-top: 1.25rem; }
.strip { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 2rem max(var(--gutter), calc((100vw - var(--w)) / 2 + var(--gutter))) 1rem; scrollbar-width: thin; }
.strip img { height: clamp(10rem, 24vw, 17rem); width: auto; max-width: none; aspect-ratio: 2960 / 1440; border-radius: 12px; scroll-snap-align: center; border: 2px solid var(--line); }

/* ── 5b. Parking Master: screenshots parked in bays ── */
.lot { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: end; }
.lot .title-row { margin-top: 0; }
.lot .title-row img { width: 4rem; height: 4rem; border-radius: 14px; }
.lot .title-row h3 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.02; }
.bays { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 6px solid var(--warn-deep); border-top: 6px solid var(--warn-deep); }
.bays li { border-right: 6px solid var(--warn-deep); padding: .7rem .7rem 2.2rem; }
.bays img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: 6px; transition: transform .25s; }
.bays li:hover img { transform: translateY(-.5rem); }
@media (max-width: 56rem) { .lot { grid-template-columns: 1fr; } }
@media (max-width: 34rem) { .bays { grid-template-columns: repeat(2, 1fr); } .bays li:nth-child(n+3) { border-top: 6px solid var(--warn-deep); } }

/* ── Tileworlds: playable in place ── */
.tw { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 2.5rem; }
.player { position: relative; aspect-ratio: 296 / 640; border: 5px solid #000; box-shadow: 0 0 0 2px var(--line-strong); border-radius: 26px; overflow: hidden; background: #000; }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player__start { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); background: var(--warn); color: var(--dark); border-color: var(--dark); font-size: 1.15rem; padding: .8rem 1.6rem; white-space: nowrap; box-shadow: 0 5px 0 #000; }
.player__start:hover { background: #fff; }
.player__note { margin-top: .7rem; font-size: .92rem; color: var(--muted); }
.tw .lede { margin-top: 0; }
.tw__points { margin-top: 1.5rem; }
.tw__points li { margin-bottom: .9rem; padding-left: 1rem; border-left: 4px solid var(--sign); max-width: 62ch; }
.tw__shots { display: flex; gap: .6rem; margin-top: 1.5rem; }
.tw__shots img { width: 5.5rem; border-radius: 10px; border: 2px solid var(--line); }
@media (max-width: 48rem) { .tw { grid-template-columns: 1fr; } .player { max-width: 20rem; } }

/* ── earlier work: three titles side by side ── */
.earlier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.earlier__media { position: relative; aspect-ratio: 16 / 10; background: #000; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; }
.earlier__media video, .earlier__media iframe, .earlier__media > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.earlier__media > img { object-fit: cover; opacity: .6; }
.earlier__media .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.earlier h3 { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.earlier h3 img { width: 2.2rem; height: 2.2rem; border-radius: 8px; }
.earlier article p { margin-top: .5rem; color: var(--muted); }
@media (max-width: 56rem) { .earlier { grid-template-columns: 1fr; } }

/* ── 5c. hyper-casual: a pile you can throw around ── */
.pile { position: relative; height: 26rem; margin-top: 2rem; background: var(--concrete-2); border: 4px solid var(--line-strong); border-top: 0; border-radius: 0 0 18px 18px; overflow: hidden; }
.pile img { position: absolute; left: 0; top: 0; width: var(--d); height: var(--d); border-radius: 22%; cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none; box-shadow: 0 2px 0 rgba(0,0,0,.25); will-change: transform; }
.pile img:active { cursor: grabbing; }
.pile.is-static { height: auto; display: flex; flex-wrap: wrap; gap: .6rem; padding: 1rem; }
.pile.is-static img { position: static; }
.pile__name { margin-top: .8rem; font-weight: 600; min-height: 1.6em; }
.pile__name span { color: var(--muted); font-weight: 400; }

/* ── 5d. the paper, as a paper ── */
.paper { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 2.5rem; }
.sheet { display: block; background: #fff; color: #111; text-decoration: none; aspect-ratio: 210 / 297; padding: 9% 8%; box-shadow: 0 1px 0 #c3c7cb, 0 18px 40px -18px rgba(0,0,0,.45); transform: rotate(-1.5deg); font-family: 'Times New Roman', Times, serif; transition: transform .25s; }
.sheet:hover { transform: rotate(0) translateY(-4px); }
.sheet__title { font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: 1.15; text-align: center; }
.sheet__by { text-align: center; font-size: .85rem; margin-top: .7em; }
.sheet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; margin-top: 8%; }
.sheet__cols i { display: block; height: 5px; margin-bottom: 6px; background: #d9d9d9; }
.sheet__cols i.h { width: 55%; background: #9a9a9a; margin-top: 12px; }
.sheet__cols i.s { width: 70%; }
.sheet__cols i.fig { height: 4.2rem; background: #ececec; border: 1px solid #c9c9c9; margin-block: 10px; }
@media (max-width: 48rem) { .paper { grid-template-columns: 1fr; } .sheet { max-width: 20rem; } }

/* ── how I work: a statement, the disciplines, and a call-out ── */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: clamp(2rem, 6vw, 5rem); margin-top: 2.5rem; }
.about .sign { margin-bottom: 1.75rem; }
.how__lead { font: 600 clamp(1.5rem, 2.7vw, 2.15rem)/1.22 var(--body); letter-spacing: -.01em; max-width: 26ch; }
.how__lead + p { margin-top: 1.25rem; max-width: 52ch; color: var(--muted); }
.hire { margin-top: 2rem; background: var(--card); border: 2px solid var(--line); border-left: 10px solid var(--sign); border-radius: 14px; padding: 1.1rem 1.3rem 1.3rem; max-width: 34rem; }
.hire h3 { font: 700 1.9rem/1.05 var(--display); text-transform: uppercase; }
.hire p { margin-top: .3rem; }
.hire div { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }

/* ── route: the road improves as the career does (drawn by script) ── */
.route { position: relative; align-self: start; padding-left: 7.7rem; padding-bottom: 3.5rem; }
.route svg { position: absolute; left: 0; top: 0; width: 5.5rem; height: 100%; border-radius: 8px 8px 0 0; -webkit-mask-image: linear-gradient(#000 calc(100% - 3rem), transparent); mask-image: linear-gradient(#000 calc(100% - 3rem), transparent); }
.route li { position: relative; border-radius: 10px; padding: .8rem 1.1rem; margin-bottom: 1rem; }
.route li::after { content: ""; position: absolute; left: -2.2rem; top: 50%; width: 2.2rem; height: 6px; background: var(--post, #8d949b); }
.route .when { font-size: .9rem; font-weight: 600; }
.route h3 { font-size: 1.15rem; }
.route p { font-size: .95rem; margin: 0; }
.road-asphalt { background: var(--sign); color: #fff; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 4px #fff; }
.road-asphalt .when { color: var(--warn); }
.road-stone { --post: #8f887a; background: #cfc8ba; color: #2b2a27; box-shadow: inset 0 0 0 2px #cfc8ba, inset 0 0 0 4px #8f887a; }
.road-stone .when { color: #7a3b12; }
.road-cart { --post: #5d3a1d; background: #7b4f2a; color: #fff5e0; box-shadow: inset 0 0 0 2px #7b4f2a, inset 0 0 0 4px #5d3a1d; }
.road-cart .when { color: #ffd98a; }
.road-dirt { --post: #6b4a2a; background: #b98f5e; color: #2a1a0c; box-shadow: inset 0 0 0 2px #b98f5e, inset 0 0 0 4px #8a623c; }
.road-dirt .when { color: #5d3a1d; }
@media (max-width: 52rem) { .about { grid-template-columns: 1fr; } }

/* ── 5e. Casino Mares: who is in the room ── */
.casino { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 2.5rem; }
.casino > img { border-radius: 18px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 2px solid var(--line); }
.casino h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.casino p { margin-top: .9rem; color: var(--muted); }
.room { margin-top: 1.5rem; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.room__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.room__head b { font-size: 1.1rem; }
.room__sample { font-size: .85rem; background: var(--warn); color: var(--ink); padding: 0 .5rem; border-radius: 4px; font-weight: 600; }
.seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: .4rem; margin-top: .8rem; }
.seats li { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #aab0b7; display: grid; place-items: center; }
.seats li.in { border: 2px solid var(--warn-deep); background: var(--warn); }
.seats img { width: 70%; }
.casino .btn { margin-top: 1.25rem; }
@media (max-width: 52rem) { .casino { grid-template-columns: 1fr; } }

footer { background: var(--concrete-2); border-top: 1px solid var(--line); color: #fff; padding-block: 2rem; margin-top: 2rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
footer p { margin-left: auto; color: #aab0b7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
