/* Layout: one floodlit screen. Ticker on top, headline over a live audio meter, contact strip below. Single dark look by choice. */
:root {
  --night: #07090D;     /* ground */
  --deck: #10141B;      /* raised strips */
  --rule: #222A35;      /* hairlines */
  --chalk: #EEF1F5;     /* main text */
  --haze: #8A95A5;      /* secondary text */
  --tally: #E2634F;     /* logo coral, the one accent */
  --tally-deep: #BB3941; /* logo coral, shadow side */
  --wa: #25D366;        /* WhatsApp green, used only on its button */
  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--night); color: var(--chalk); font: 16px/1.55 var(--display); font-variation-settings: "wdth" 100; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tally); outline-offset: 3px; }
.gut { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1200px; margin: 0 auto; }

/* Ticker */
.ticker { background: var(--deck); border-bottom: 1px solid var(--rule); overflow: hidden; white-space: nowrap; font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.ticker-track { display: inline-flex; padding-block: 11px; animation: scroll 38s linear infinite; }
.ticker span { padding: 0 22px; color: var(--haze); }
.ticker span b { color: var(--chalk); font-weight: 600; }
.ticker span.live { color: var(--tally); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Top bar */
.top .inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 52px; height: auto; display: block; }
.brand-name { font-weight: 300; font-size: .95rem; letter-spacing: .32em; text-transform: uppercase; font-variation-settings: "wdth" 125; white-space: nowrap; }
@media (max-width: 700px) { .brand-name { font-size: .8rem; letter-spacing: .22em; } }
.onair { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--rule); padding: 9px 13px; border-radius: 3px; background: none; color: var(--chalk); cursor: pointer; transition: border-color .15s; }
.onair:hover { border-color: var(--tally); }
.onair i { width: 8px; height: 8px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 12px var(--tally); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* Hero */
.hero { position: relative; flex: 1; display: flex; align-items: center; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 85% 10%, rgba(226,99,79,.16), transparent 60%), radial-gradient(ellipse 50% 50% at 10% 100%, rgba(120,150,190,.10), transparent 70%); }
.hero .inner { width: 100%; padding-block: clamp(40px, 8vh, 96px) clamp(48px, 10vh, 120px); }
.kicker { font: 600 .8rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--tally); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--tally); }
h1 { margin: 22px 0 0; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: .84; letter-spacing: -.02em; word-spacing: .12em; font-size: clamp(3.4rem, 13vw, 10.5rem); font-variation-settings: "wdth" 62; text-wrap: balance; }
h1 .line { display: block; overflow: hidden; padding-right: .08em; }
h1 .line > span { display: inline-block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
h1 .line:nth-child(2) > span { animation-delay: .12s; }
h1 .line:nth-child(3) > span { animation-delay: .24s; }
h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--chalk); }
h1 .red { color: var(--tally); }
@keyframes rise { from { transform: translateY(105%); } }
.lede { max-width: 54ch; font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--haze); margin: 30px 0 0; }
.lede strong { color: var(--chalk); font-weight: 600; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .02em; font-size: 1.02rem; font-variation-settings: "wdth" 80; padding: 15px 22px; border-radius: 3px; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.wa { background: var(--wa); color: #062B14; }
.btn.mail { cursor: pointer; font-family: inherit; background: transparent; color: var(--chalk); border: 2px solid var(--chalk); }
.btn.mail:hover { background: var(--chalk); color: var(--night); }

/* Logo crest: the player floats while the ball bounces and spins */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 32px; }
.copy-col { min-width: 0; }
.crest { position: relative; width: min(100%, 400px); justify-self: center; aspect-ratio: 840 / 684; animation: crestIn 1s .3s cubic-bezier(.2,.8,.2,1) both; }
.crest-fig { position: absolute; left: 2.4%; top: 3.4%; width: 78.1%; height: auto; filter: drop-shadow(0 18px 40px rgba(226,99,79,.28)); animation: run 3.2s ease-in-out infinite; }
.crest-ball { position: absolute; left: 83.3%; top: 51%; width: 14.6%; height: auto; animation: bounce 1.6s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes run { 50% { transform: translateY(-3%) rotate(-1.5deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-38%) rotate(160deg); } }
@keyframes crestIn { from { opacity: 0; transform: translateX(8%) scale(.94); } }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .crest { order: -1; width: 150px; justify-self: start; margin-bottom: 18px; }
}

/* Track record */
.record { border-top: 1px solid var(--rule); padding-block: clamp(56px, 9vw, 104px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.sec-head h2 { margin: 12px 0 0; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; font-size: clamp(2.4rem, 6vw, 4.4rem); font-variation-settings: "wdth" 66; text-wrap: balance; }
.sec-head h2 em { font-style: italic; color: var(--tally); }
.sec-head p { max-width: 42ch; margin: 0; color: var(--haze); }
.eyebrow { font: 600 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--haze); }

/* Now / next */
.onnow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--deck); margin-bottom: 48px; }
.now-item { padding: 20px 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.now-item + .now-item { border-left: 1px solid var(--rule); }
@media (max-width: 600px) { .now-item + .now-item { border-left: 0; border-top: 1px solid var(--rule); } }
.chip { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px; border: 1px solid var(--rule); color: var(--haze); }
.chip.next { color: var(--night); background: var(--tally); border-color: var(--tally); }
.chip.next::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--night); animation: blink 1.6s steps(1) infinite; }
.chip.ongoing { color: var(--chalk); }
.now-item strong { font-weight: 800; font-size: 1.25rem; line-height: 1.15; font-variation-settings: "wdth" 85; }
.now-item span.d { color: var(--haze); font-size: .95rem; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--chalk); margin-bottom: 56px; }
.num { padding: 18px 14px 4px 0; min-width: 0; }
.num + .num { padding-left: 14px; border-left: 1px solid var(--rule); }
.num b { display: block; font-weight: 900; font-style: italic; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .9; font-variation-settings: "wdth" 62; font-variant-numeric: tabular-nums; }
.num b sup { font-size: .45em; color: var(--tally); vertical-align: top; margin-left: 2px; }
.num span { display: block; margin-top: 8px; font: 600 .68rem/1.35 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--haze); }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .num:nth-child(4) { border-left: 0; padding-left: 0; } .num:nth-child(n+4) { border-top: 1px solid var(--rule); } }

/* Headliners */
.headliners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 64px; }
@media (max-width: 900px) { .headliners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .headliners { grid-template-columns: 1fr; } }
.hl { position: relative; overflow: hidden; display: grid; gap: 10px; align-content: start; padding: 22px; min-height: 220px; border: 1px solid var(--rule); border-radius: 4px; background: linear-gradient(160deg, var(--deck), var(--night)); transition: border-color .2s, transform .2s; }
.hl:hover { border-color: var(--tally); transform: translateY(-3px); }
.hl .tag { font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tally); }
.hl h3 { margin: 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.85rem; line-height: .95; font-variation-settings: "wdth" 70; text-wrap: balance; }
.hl .where { font-weight: 600; font-size: 1.02rem; }
.hl p { margin: 0; color: var(--haze); font-size: .94rem; }
.hl .yr { position: absolute; right: -6px; bottom: -22px; font-weight: 900; font-style: italic; font-size: 6.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(238,241,245,.09); font-variation-settings: "wdth" 62; pointer-events: none; }

/* Sport tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tab { font: 800 italic 1rem/1 var(--display); font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .02em; padding: 12px 16px; border-radius: 3px; border: 1px solid var(--rule); background: none; color: var(--haze); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tab small { font: 600 .68rem/1 var(--mono); color: inherit; opacity: .7; }
.tab:hover { color: var(--chalk); border-color: var(--haze); }
.tab[aria-selected="true"] { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
.log { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--chalk); }
.log li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule); animation: slide .35s cubic-bezier(.2,.8,.2,1) both; }
.log .y { font: 500 .85rem var(--mono); color: var(--haze); font-variant-numeric: tabular-nums; }
.log .e { font-weight: 700; font-size: 1.08rem; font-variation-settings: "wdth" 90; }
.log .e small { display: block; font-weight: 400; font-size: .92rem; color: var(--haze); font-variation-settings: "wdth" 100; margin-top: 2px; }
.log .t { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.log .t span { font: 600 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; border: 1px solid var(--rule); border-radius: 2px; color: var(--haze); white-space: nowrap; }
.log .t span.hot { color: var(--tally); border-color: rgba(226,99,79,.45); }
@media (max-width: 640px) { .log li { grid-template-columns: 1fr; gap: 6px; } .log .t { justify-content: start; } }
@keyframes slide { from { opacity: 0; transform: translateY(8px); } }
.more { margin-top: 18px; font: 600 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: none; color: var(--chalk); border: 1px solid var(--rule); border-radius: 3px; padding: 11px 14px; cursor: pointer; }
.more:hover { border-color: var(--tally); color: var(--tally); }

/* Studio */
.studio { border-top: 1px solid var(--rule); padding-block: clamp(56px, 9vw, 104px); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .studio-grid { grid-template-columns: 1fr; } }
.shot { position: relative; margin: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--rule); background: var(--deck); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; }
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(7,9,13,.55)); }
.shot figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; font: 600 .68rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--chalk); display: flex; align-items: center; gap: 8px; }
.shot figcaption i { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 10px #E5484D; animation: blink 1.6s steps(1) infinite; }
.spec { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--chalk); }
.spec li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec .k { display: block; font: 600 .64rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); margin-bottom: 5px; }
.spec .v { font-weight: 700; font-size: 1.08rem; font-variation-settings: "wdth" 90; }
.spec .v small { font-weight: 400; color: var(--haze); font-size: .9rem; font-variation-settings: "wdth" 100; }
.ready { margin-top: 20px; display: flex; gap: 12px; align-items: start; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 4px; background: var(--deck); }
.ready svg { width: 22px; height: 22px; flex: none; color: var(--tally); margin-top: 2px; }
.ready p { margin: 0; color: var(--haze); font-size: .95rem; }
.ready p strong { color: var(--chalk); }

/* Contact strip */
.strip { border-top: 1px solid var(--rule); background: var(--deck); }
.strip .inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cell { padding: 22px 24px 22px 0; display: grid; gap: 6px; min-width: 0; }
.cell + .cell { padding-left: 24px; border-left: 1px solid var(--rule); }
.cell .lbl { font: 600 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--haze); }
.cell .val { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: 1.15rem; font-variation-settings: "wdth" 90; }
.cell .val a { text-decoration: none; word-break: break-all; }
.cell .val a:hover { color: var(--tally); }
.copy { font: 600 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: none; color: var(--haze); border: 1px solid var(--rule); border-radius: 3px; padding: 6px 8px; cursor: pointer; }
.copy:hover { color: var(--chalk); border-color: var(--haze); }
.clocks { display: flex; gap: 18px; font: 500 .95rem/1.2 var(--mono); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.clocks span { color: var(--haze); font-size: .7rem; letter-spacing: .12em; margin-right: 4px; }
@media (max-width: 760px) {
  .strip .inner { grid-template-columns: 1fr; }
  .cell, .cell + .cell { padding: 18px 0; border-left: 0; }
  .cell + .cell { border-top: 1px solid var(--rule); }
}
footer { font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--haze); border-top: 1px solid var(--rule); }
footer .inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); }

/* Message form */
dialog.msg { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--rule); border-radius: 6px; background: var(--deck); color: var(--chalk); box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: auto; }
dialog.msg::backdrop { background: rgba(4,6,9,.78); backdrop-filter: blur(4px); }
dialog.msg[open] { animation: pop .25s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.msg-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 22px 24px 0; }
.msg-head h2 { margin: 6px 0 0; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2.2rem; line-height: .9; font-variation-settings: "wdth" 66; }
.msg-head h2 em { font-style: italic; color: var(--tally); }
.x { background: none; border: 1px solid var(--rule); color: var(--haze); width: 36px; height: 36px; border-radius: 3px; font-size: 1.2rem; cursor: pointer; flex: none; }
.x:hover { color: var(--chalk); border-color: var(--haze); }
.msg form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 24px 24px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f label { font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
.f label i { color: var(--tally); font-style: normal; }
.f input, .f select, .f textarea { width: 100%; font: 400 1rem/1.4 var(--display); color: var(--chalk); background: var(--night); border: 1px solid var(--rule); border-radius: 3px; padding: 11px 12px; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--tally); box-shadow: 0 0 0 3px rgba(226,99,79,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { grid-column: 1 / -1; justify-content: center; border: 0; cursor: pointer; font-family: inherit; background: var(--tally); color: var(--night); }
.send:disabled { opacity: .6; cursor: wait; transform: none; }
.status { grid-column: 1 / -1; margin: 0; font-size: .95rem; min-height: 1.4em; }
.status.err { color: #FF8A7A; }
.done { padding: 34px 24px 30px; display: grid; gap: 12px; text-align: left; }
.done b { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2rem; line-height: .95; font-variation-settings: "wdth" 66; color: var(--tally); }
.done p { margin: 0; color: var(--haze); }
@media (max-width: 520px) { .msg form { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.fab { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 20; transition: transform .15s; }
.fab:hover { transform: scale(1.07); }
.fab svg { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Navigation */
.top .inner { flex-wrap: nowrap; }
.nav { display: flex; gap: 6px; margin-left: auto; margin-right: 10px; }
.nav a { font: 800 italic .95rem/1 var(--display); font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: var(--haze); padding: 11px 15px; border: 1px solid var(--rule); border-radius: 3px; white-space: nowrap; transition: color .15s, border-color .15s, background .15s; }
.nav a:hover { color: var(--chalk); border-color: var(--haze); }
.nav a[aria-current="page"] { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
@media (max-width: 900px) {
  .top .inner { flex-wrap: wrap; row-gap: 14px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 1 0 auto; text-align: center; }
}

/* Inner page header */
.page { flex: 1; }
.page-head { padding-block: clamp(36px, 7vw, 80px) clamp(28px, 5vw, 48px); }
.page-head h1 { margin: 16px 0 0; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: .86; letter-spacing: -.015em; font-size: clamp(3rem, 9vw, 7rem); font-variation-settings: "wdth" 62; text-wrap: balance; }
.page-head h1 em { font-style: italic; color: var(--tally); }
.page-head .lede { margin-top: 22px; }
.page-head .ctas { margin-top: 26px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.roles span { font: 600 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 3px; color: var(--chalk); }
.page .record { padding-top: clamp(32px, 5vw, 56px); }
.page .studio { border-top: 0; padding-top: 0; }

/* Links from the home page to the other pages */
.go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .go { grid-template-columns: 1fr; } }
.go a { display: grid; gap: 6px; text-decoration: none; padding: 20px 22px; border: 1px solid var(--rule); border-radius: 4px; background: var(--deck); transition: border-color .2s, transform .2s; }
.go a:hover { border-color: var(--tally); transform: translateY(-3px); }
.go b { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.6rem; line-height: 1; font-variation-settings: "wdth" 70; display: flex; justify-content: space-between; gap: 12px; }
.go b::after { content: "→"; color: var(--tally); font-style: normal; }
.go span { color: var(--haze); font-size: .95rem; }

/* CV */
.tab[aria-pressed="true"] { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
.cv-tools { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.era { margin-top: 36px; }
.era-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1; font-variation-settings: "wdth" 66; }
.era-h small { font: 600 .68rem/1 var(--mono); letter-spacing: .12em; color: var(--haze); font-style: normal; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; padding-bottom: clamp(56px, 9vw, 104px); }
.tile { position: relative; display: block; padding: 0; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; background: var(--deck); cursor: zoom-in; text-align: left; color: var(--chalk); font: inherit; }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile-cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(7,9,13,.88)); display: grid; gap: 2px; }
.tile-cap b { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.2rem; font-variation-settings: "wdth" 80; }
.tile-cap small { font: 600 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--haze); }
dialog.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4,6,9,.96); color: var(--chalk); }
dialog.lightbox::backdrop { background: rgba(4,6,9,.96); }
.lb-stage { height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); gap: 14px; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; border-radius: 3px; }
.lb-stage p { margin: 0; font: 600 .78rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--haze); white-space: pre; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); background: var(--deck); color: var(--chalk); font-size: 1.3rem; cursor: pointer; }
.lb-btn:hover { border-color: var(--tally); }
#lb-close { top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
#lb-prev { left: max(14px, env(safe-area-inset-left, 0px)); top: 50%; }
#lb-next { right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; }

/* Gallery filters and masonry */
.gal-filter { align-items: center; }
.tab-lbl { font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); margin-right: 4px; }
.tab-sep { width: 1px; height: 28px; background: var(--rule); margin: 0 8px; }
.gal-note { margin: 10px 0 22px; font: 500 .78rem/1.4 var(--mono); color: var(--haze); }
.gallery { display: block; columns: 3 300px; column-gap: 14px; }
.gallery .tile { width: 100%; margin-bottom: 14px; break-inside: avoid; animation: slide .4s cubic-bezier(.2,.8,.2,1) both; }
.gallery .tile img { aspect-ratio: auto; height: auto; }
.lb-stage p { text-align: center; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; padding-bottom: clamp(56px, 9vw, 104px); }
.vid { display: grid; gap: 8px; text-decoration: none; }
.vid-thumb { position: relative; display: block; border-radius: 4px; overflow: hidden; border: 1px solid var(--rule); }
.vid-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vid-thumb i { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--tally); }
.vid-thumb i::before { content: ""; position: absolute; left: 24px; top: 19px; border-left: 18px solid var(--night); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vid b { font-weight: 800; font-size: 1.1rem; }
.vid small { color: var(--haze); }
@media (max-width: 600px) { .tab-sep { display: none; } .tab-lbl { width: 100%; } }
