/* Portfolio styles. Dark and cinematic, so the footage carries the colour; one orange accent. */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f2ee;
  --muted: #a3a3a8;
  --faint: #6c6c72;
  --accent: #ff6a2b;
  --accent-ink: #160803;
  --ok: #5fd39a;
  --bad: #ff7a7a;

  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI Variable Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.02em; text-transform: uppercase; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0 0 18px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.eyebrow__sep { color: var(--faint); }

/* ---------- Buttons & links ---------- */

.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #ff8550; }
.btn--ghost { background: rgba(255, 255, 255, 0.06); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ghost svg:first-child { width: 16px; height: 16px; color: var(--accent); }
.btn--ghost:hover svg:last-child { transform: none; }
.btn__meta { color: var(--muted); font-size: 12px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text); }
.link svg { width: 16px; height: 16px; color: var(--accent); transition: transform 0.3s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link--muted { color: var(--muted); font-weight: 500; }
.link--muted:hover { color: var(--text); }

/* ---------- Nav ---------- */

.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(11, 11, 12, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav__inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand .mark { width: 28px; height: 28px; flex: none; }
.brand .mark rect { fill: var(--accent); }
.brand__name { font-weight: 700; letter-spacing: -0.02em; font-size: 17px; white-space: nowrap; }
.brand__tag { color: var(--muted); font-size: 11px; padding-left: 12px; border-left: 1px solid var(--line-2); white-space: nowrap; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg-2); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0) 26%),
    linear-gradient(0deg, rgba(11, 11, 12, 1) 0%, rgba(11, 11, 12, 0.7) 38%, rgba(11, 11, 12, 0.1) 72%),
    radial-gradient(ellipse at 15% 75%, rgba(11, 11, 12, 0.6), transparent 65%),
    rgba(11, 11, 12, 0.18);
}
.hero .eyebrow { color: #e4e3de; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.hero__title, .hero__lede { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.nav:not(.is-solid) .nav__links a, .nav:not(.is-solid) .brand__tag { color: #e4e3de; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { transform: scale(1.04); animation: drift 24s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero--plain { background: radial-gradient(ellipse at 70% 20%, #2a1a12 0%, var(--bg) 60%); }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1.04); } }

.hero__content { padding-top: 140px; padding-bottom: clamp(48px, 9vh, 96px); }
.hero__title {
  margin: 0; max-width: 13ch;
  font-size: clamp(3rem, 8.4vw, 8.25rem); line-height: 0.92; letter-spacing: -0.045em; font-weight: 700;
  text-wrap: balance;
}
.hero__title em, .contact__title em { font-style: normal; color: var(--accent); }
.hero__lede { margin: 28px 0 0; max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #d6d5d0; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__hud {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 22px; color: var(--muted); font-size: 11px;
  border-top: 1px solid var(--line); max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding-left: 0; padding-right: 0;
}
.rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { opacity: 0.25; } }

/* Hero entrance */
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 0.08s; }
.hero__content > :nth-child(3) { animation-delay: 0.16s; }
.hero__content > :nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .eyebrow { grid-column: 1 / -1; }
.section__title { margin: 0; font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }

/* ---------- Work grid ---------- */

.work { padding-top: clamp(56px, 8vw, 110px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s var(--ease);
}
.chip .mono { font-size: 10px; color: var(--faint); }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip[aria-pressed="true"] .mono { color: #55555a; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.card[hidden] { display: none; }
.card--wide, .card--tail { grid-column: 1 / -1; }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__frame {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9; background: var(--bg-3); isolation: isolate;
  transform: translateZ(0);
}
.card--wide .card__frame, .card--tail .card__frame { aspect-ratio: 21 / 9; }
.card__poster, .card__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s var(--ease); }
.card__loop { opacity: 0; }
.card.is-playing .card__loop { opacity: 1; }
.card__link:hover .card__poster, .card__link:hover .card__loop { transform: scale(1.035); }

/* Vertical clips sit centred over a blurred copy of themselves, so the grid stays even. */
.card__fill { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(28px) brightness(0.45) saturate(1.2); }
.card--portrait .card__poster, .card--portrait .card__loop { left: 50%; width: auto; height: 100%; aspect-ratio: 9 / 16; transform: translateX(-50%); object-fit: cover; box-shadow: 0 0 60px rgba(0, 0, 0, 0.6); }
.card--portrait .card__link:hover .card__poster, .card--portrait .card__link:hover .card__loop { transform: translateX(-50%) scale(1.02); }

.card__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 40%); pointer-events: none; }
.card__play {
  position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.35s var(--ease);
}
.card__play svg { width: 20px; height: 20px; margin-left: 2px; }
.card__link:hover .card__play, .card__link:focus-visible .card__play { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.card__spec { position: absolute; z-index: 2; left: 18px; bottom: 20px; font-size: 10.5px; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 2px 0; }
.card__title { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -0.02em; }
.card--wide .card__title, .card--tail .card__title { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.card__sub { color: var(--muted); font-size: 11px; text-align: right; }

/* ---------- Services ---------- */

.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 32px 28px 36px 0; display: flex; flex-direction: column; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service__num { color: var(--accent); font-size: 12px; }
.service__title { margin: 48px 0 14px; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.service__blurb { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.service__points { list-style: none; margin: 0 0 28px; padding: 0; font-size: 15px; }
.service__points li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.service__points li::before { content: "+"; color: var(--accent); font-family: var(--mono); }
.service__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Process ---------- */

.process { background: var(--bg-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); font-size: 11px; }
.step__title { margin: 40px 0 10px; font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 46px; left: 74px; right: -16px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

/* ---------- Quotes ---------- */

.quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 24px; font-size: 1.25rem; line-height: 1.45; letter-spacing: -0.01em; }
.quote blockquote::before { content: "“"; color: var(--accent); }
.quote blockquote::after { content: "”"; color: var(--accent); }
.quote figcaption .mono { color: var(--muted); margin-left: 8px; }

/* ---------- About ---------- */

.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.about__photo { margin-top: 36px; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 420px; }
.about__body p { margin: 0 0 22px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; letter-spacing: -0.012em; color: #dddcd7; }
.about__body p:first-child::first-line { color: var(--text); }
.about__lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.mini { margin: 0 0 14px; color: var(--muted); font-weight: 500; font-size: 11px; }
.about__lists ul { list-style: none; margin: 0; padding: 0; }
.about__lists li { padding: 6px 0; font-size: 16px; }

/* ---------- Contact ---------- */

.contact { background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 106, 43, 0.09), transparent 60%), var(--bg); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px clamp(40px, 7vw, 120px); align-items: start; }
.contact__intro { position: sticky; top: 110px; }
.contact__title { margin: 0; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; text-wrap: balance; }
.contact__text { margin: 24px 0 0; color: var(--muted); font-size: 18px; max-width: 38ch; }
.details { margin: 40px 0 0; display: grid; gap: 0; }
.details > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.details > div:last-child { border-bottom: 1px solid var(--line); }
.details dt { color: var(--faint); font-size: 11px; padding-top: 4px; }
.details dd { margin: 0; }
.details a { text-decoration: none; }
.details a:hover { color: var(--accent); }
.socials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.socials a { text-decoration: none; color: var(--muted); font-weight: 500; }
.socials a:hover { color: var(--text); }

.form { display: grid; gap: 22px; padding: clamp(24px, 3.5vw, 44px); border-radius: calc(var(--radius) + 6px); background: var(--bg-2); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-size: 14px; font-weight: 500; color: #cfceca; padding: 0; }
.field__label em { font-style: normal; color: var(--faint); font-weight: 400; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg);
  font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.16); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--bad); }
.chips__set { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--radio { position: relative; height: 40px; }
.chip--radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip--radio:has(input:checked) { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip--radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__status { margin: 0; color: var(--muted); font-size: 12px; }
.form__status.is-error { color: var(--bad); }
.notice { margin: 0; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.notice--ok { background: rgba(95, 211, 154, 0.1); border: 1px solid rgba(95, 211, 154, 0.35); color: #c5f1da; }
.notice--error { background: rgba(255, 122, 122, 0.08); border: 1px solid rgba(255, 122, 122, 0.35); color: #ffd1d1; }

.form.is-sent { align-content: center; }
.form.is-sent > :not(.sent) { display: none; }
.sent { text-align: left; padding: 24px 0; }
.sent__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); margin-bottom: 28px; }
.sent__icon svg { width: 26px; height: 26px; }
.sent h3 { margin: 0 0 12px; font-size: 2rem; letter-spacing: -0.03em; line-height: 1.05; }
.sent p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */

.footer { padding: 40px 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__mark {
  margin: 0 0 28px; font-size: clamp(3.5rem, 15.5vw, 15rem); line-height: 0.85; letter-spacing: -0.06em; font-weight: 800;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 85%); -webkit-background-clip: text; background-clip: text;
}
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 11px; }
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--text); }

/* ---------- Player ---------- */

.player {
  width: min(1240px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0;
  border: 1px solid var(--line-2); border-radius: calc(var(--radius) + 4px); background: var(--bg-2); color: var(--text);
  overflow: auto; overscroll-behavior: contain;
}
.player::backdrop { background: rgba(5, 5, 6, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.player[open] { animation: pop 0.45s var(--ease); }
.player[open]::backdrop { animation: fade 0.35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@keyframes fade { from { opacity: 0; } }
.player__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 22px; border-bottom: 1px solid var(--line); }
.player__count { margin: 0; color: var(--muted); font-size: 11px; }
.player__ctrls { display: flex; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.player__stage { background: #000; display: grid; place-items: center; }
.player__stage video, .player__stage iframe { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100dvh - 240px); background: #000; border: 0; }
.player__stage.is-portrait video { width: auto; height: min(calc(100dvh - 240px), 78vh); aspect-ratio: 9 / 16; }
.player__info { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 22px 24px 24px; }
.player__cat { margin: 0 0 6px; color: var(--accent); font-size: 11px; }
.player__title { margin: 0; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1.1; }
.player__desc { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
.player__desc:empty { display: none; }
.player__specs { display: grid; grid-template-columns: auto auto; gap: 4px 16px; margin: 0; font-size: 11px; }
.player__specs dt { color: var(--faint); }
.player__specs dd { margin: 0; color: var(--text); }

/* ---------- Scroll reveal (only once the script has run) ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .grid .reveal:nth-child(2n) { transition-delay: 0.08s; }
.js .services__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .services__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .services__grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.js .steps .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .steps .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .steps .reveal:nth-child(4) { transition-delay: 0.18s; }

/* ---------- 404 ---------- */

.lost { min-height: 100svh; display: grid; place-items: center; }
.lost__inner { padding-top: 0; }
.lost .section__title { margin-bottom: 36px; max-width: 14ch; }

/* ---------- Smaller screens ---------- */

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .service:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .brand__tag { display: none; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .filters { justify-content: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .card--wide .card__frame, .card--tail .card__frame { aspect-ratio: 16 / 9; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .player__info { grid-template-columns: 1fr; gap: 18px; }
  .player__info .btn { justify-self: start; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .hero__content { padding-top: 110px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__hud span:last-child { display: none; }
  .services__grid, .steps { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0 32px; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .service__title { margin-top: 24px; }
  .step::after { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .card__meta { flex-direction: column; gap: 4px; }
  .card__sub { text-align: left; }
  .card__play { width: 44px; height: 44px; right: 14px; bottom: 14px; }
  .card__spec { left: 14px; bottom: 16px; }
  .player { width: 100vw; max-height: 100dvh; border-radius: 0; border: 0; }
  .player__stage.is-portrait video { height: min(calc(100dvh - 260px), 70vh); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
