/* Sunad Broadcast — public site
   Two themes share one structure: "ivory" (matches the approved mockup) and "noir" (the handoff spec's matte-black direction). */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root, [data-theme="ivory"] {
  --bg: #F8F5EF;
  --bg-alt: #EFE9DE;
  --surface: #FFFFFF;
  --ink: #16130F;
  --ink-2: #4A443B;
  --muted: #6B6458;
  --line: rgba(22, 19, 15, .12);
  --line-strong: rgba(22, 19, 15, .22);
  --gold: #B8862E;          /* decorative: rings, rules, icons */
  --gold-text: #8A6220;     /* gold used for text on light surfaces (5:1) */
  --gold-btn: #93671F;      /* button fill, white text 5:1 */
  --gold-btn-hover: #7E5719;
  --gold-btn-ink: #FFFFFF;
  --champagne: #D9B970;
  --hero-ink: #16130F;
  --hero-fade: linear-gradient(90deg, rgba(248,245,239,.97) 0%, rgba(248,245,239,.93) 30%, rgba(248,245,239,.62) 50%, rgba(248,245,239,0) 70%);
  --header-bg: rgba(248, 245, 239, .9);
  --header-fade: rgba(248, 245, 239, .9);
  --shadow: 0 18px 40px -24px rgba(40, 28, 10, .35);
  --footer-bg: #141210;
  --footer-ink: #BDB4A6;
}

[data-theme="noir"] {
  --bg: #0B0B0B;
  --bg-alt: #151515;
  --surface: #1A1A1A;
  --ink: #F2EDE3;
  --ink-2: #CFC8BC;
  --muted: #A39B90;
  --line: rgba(242, 237, 227, .12);
  --line-strong: rgba(242, 237, 227, .24);
  --gold: #C9A24A;
  --gold-text: #D4AE5C;
  --gold-btn: #C9A24A;
  --gold-btn-hover: #D9B970;
  --gold-btn-ink: #0B0B0B;
  --hero-ink: #F2EDE3;
  --hero-fade: linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.78) 34%, rgba(11,11,11,.25) 66%, rgba(11,11,11,.1) 100%);
  --header-bg: rgba(11, 11, 11, .82);
  --header-fade: rgba(11, 11, 11, .75);
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  --footer-bg: #080808;
}

:root {
  --serif: "Cormorant Garamond", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 4px;
  --sec: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 1rem; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold-btn); color: var(--gold-btn-ink); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--xs { width: .8em; height: .8em; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 48px; height: 48px; color: var(--gold); }

/* ---------- Type ---------- */
.label {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 14px;
}
.label--sm { font-size: .64rem; letter-spacing: .22em; margin-bottom: 10px; }
.label--light { color: var(--champagne); }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.04; letter-spacing: -.005em; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.08; }
.h4 { font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .02em; line-height: 1.3; }
.lede { color: var(--ink-2); font-size: 1.02rem; max-width: 56ch; margin-top: 16px; }
.small { color: var(--ink-2); font-size: .86rem; line-height: 1.6; }
.meta { color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.sep { color: var(--gold); font-weight: 500; }
.prose p { color: var(--ink-2); margin-top: 14px; max-width: 64ch; }
.prose--lg p { font-size: 1.08rem; }
.mt { margin-top: 28px; }
.row-gap { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold-btn); color: var(--gold-btn-ink); }
.btn--gold:hover { background: var(--gold-btn-hover); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: #16130F; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: .7rem; }
.btn--xs { min-height: 36px; padding: 0 16px; font-size: .64rem; letter-spacing: .14em; }
.btn--block { width: 100%; }
.btn__play { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.28); margin-left: -12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; color: var(--ink); padding-bottom: 6px; position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform-origin: left; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: scaleX(.55); }
.link-arrow .icon { color: var(--gold); transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--sm { margin-top: 10px; font-size: .64rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: inherit;
}
.icon-btn:hover { background: var(--line); }
.icon-btn--ring { width: 32px; height: 32px; border: 1px solid var(--line-strong); }

/* ---------- Header ---------- */
.preview-bar { position: sticky; top: 0; z-index: 120; background: #16130F; color: #F4EFE6; text-align: center; font-size: .8rem; padding: 8px 16px; }
.preview-bar a { color: var(--champagne); }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--ink); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.has-hero .site-header:not(.is-scrolled) { color: var(--hero-ink); background: linear-gradient(to bottom, var(--header-fade) 0%, transparent 100%); }
.site-header.is-scrolled, .no-hero .site-header {
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--gold) 55%, transparent);
}
.no-hero main { padding-top: var(--header-h); }
.site-header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand__img { height: 52px; width: auto; }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 1.95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.brand__sub { font-size: .56rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; margin-top: 4px; }
.nav__list { display: flex; gap: clamp(14px, 2.2vw, 34px); list-style: none; padding: 0; margin: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; text-decoration: none; padding: 10px 0; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__sub {
  position: absolute; top: 100%; left: -24px; min-width: 320px; list-style: none; margin: 0; padding: 10px; background: var(--surface); color: var(--ink);
  border-top: 2px solid var(--gold); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: grid; gap: 2px; padding: 12px 14px; text-decoration: none; border-radius: 3px; }
.nav__sub a:hover { background: var(--bg-alt); }
.nav__sub span { font-weight: 600; font-size: .9rem; }
.nav__sub small { color: var(--muted); font-size: .76rem; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.menu-btn { display: none; }
.search-bar { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.search-bar__inner { display: flex; align-items: center; gap: 12px; height: 72px; }
.search-bar input { flex: 1; border: 0; background: transparent; font-size: 1.1rem; padding: 10px 0; outline: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--bg); color: var(--ink); padding: 0 var(--gutter) 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 24px;
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); }
.mobile-menu__list > li > a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; text-decoration: none; }
.mobile-menu__list ul { list-style: none; padding: 0 0 14px 14px; margin: 0; }
.mobile-menu__list ul a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: max(560px, min(88vh, 900px)); display: grid; align-items: center; overflow: hidden; color: var(--hero-ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; background: #1d1813; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 42%; }
.hero__media img { animation: settle 14s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-fade); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1; background: linear-gradient(to top, var(--bg), transparent); }
.hero__inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; }
.hero__content { max-width: 940px; }
.hero__label { color: inherit; letter-spacing: .42em; font-size: .7rem; }
.hero__title {
  font-family: var(--serif); font-weight: 600; text-transform: uppercase; font-size: clamp(2.6rem, 4.3vw, 4.9rem);
  line-height: 1; letter-spacing: .005em; margin-top: 6px;
}
.hero__title .sep { font-size: .62em; vertical-align: .18em; margin-inline: .06em; }
.hero__tag { margin-top: 22px; color: var(--gold-text); font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.hero__tag span { white-space: nowrap; }
.hero__body { margin-top: 22px; max-width: 46ch; color: var(--ink-2); font-size: 1rem; }
[data-theme="noir"] .hero__body { color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .18s; }
.hero__content > :nth-child(4) { animation-delay: .26s; }
.hero__content > :nth-child(5) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(32px, 4vw, 56px); }
.sec--alt { background: var(--bg-alt); }
.sec--page { padding-top: calc(var(--sec) * .8); min-height: 60vh; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.sec-head--row .link-arrow { margin-top: 0; }

/* Selected work */
.work { padding-block: clamp(40px, 5vw, 64px); }
.work__grid { display: grid; grid-template-columns: minmax(220px, 250px) 1fr; gap: clamp(24px, 3vw, 40px); align-items: center; }
.work__intro { margin: 0; }
.work__intro .lede { font-size: .92rem; }
.work__cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.wcard { position: relative; display: block; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: #1d1813; }
.wcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,6,4,.86) 0%, rgba(8,6,4,.25) 48%, rgba(8,6,4,0) 70%); transition: background .5s var(--ease); }
.wcard:hover img, .wcard:focus-visible img { transform: scale(1.07); }
.wcard:hover::after { background: linear-gradient(to top, rgba(8,6,4,.92) 0%, rgba(8,6,4,.5) 60%, rgba(8,6,4,.2) 100%); }
.wcard__body { position: absolute; left: 14px; right: 30px; bottom: 14px; z-index: 1; display: grid; gap: 2px; }
.wcard__body::before { content: ""; width: 0; height: 1px; background: var(--champagne); margin-bottom: 8px; transition: width .6s var(--ease); }
.wcard:hover .wcard__body::before, .wcard:focus-visible .wcard__body::before { width: 36px; }
.wcard__title { font-family: var(--serif); font-size: clamp(1rem, 1.25vw, 1.25rem); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.wcard__tag { font-size: .7rem; opacity: .86; line-height: 1.35; }
.wcard__arrow { position: absolute; right: 14px; bottom: 16px; z-index: 1; transition: transform .3s var(--ease); }
.wcard:hover .wcard__arrow { transform: translateX(3px); }

/* Workflow */
.flow { background: var(--bg-alt); padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); }
.flow__grid { display: grid; grid-template-columns: minmax(220px, 250px) 1fr; gap: clamp(24px, 3vw, 40px); align-items: center; }
.flow__intro { margin: 0; padding-right: 24px; border-right: 1px solid var(--line); }
.flow__intro .lede { font-size: .9rem; margin-top: 8px; }
.flow__steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.flow__steps--4 { grid-template-columns: repeat(4, 1fr); }
.flow__steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding-inline: 6px; }
.step + .step::before {
  content: ""; position: absolute; left: -8px; top: 30px; width: 8px; height: 8px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg);
}
.step__ring { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); background: var(--bg); margin-bottom: 8px; transition: background .3s var(--ease), color .3s var(--ease); }
.step:hover .step__ring { background: var(--gold-btn); color: var(--gold-btn-ink); }
.step__title { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.step__no { color: var(--gold-text); }
.step__detail { font-size: .76rem; color: var(--muted); line-height: 1.5; }
.flow--wide { background: var(--bg-alt); padding-block: var(--sec); }

/* Groups (side-by-side sections) */
.group { padding-block: 22px; }
.group--pillars .group__grid { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 16px; }
.group--pillars.group--n1 { --n: 1; } .group--pillars.group--n2 { --n: 2; } .group--pillars.group--n4 { --n: 2; }
.group--band { background: var(--surface); border-block: 1px solid var(--line); padding-block: 0; }
.group--band .group__grid { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.group--band.group--n1 { --n: 1; } .group--band.group--n2 { --n: 2; } .group--band.group--n3 { --n: 3; }
.group--band.group--n4 .group__grid { grid-template-columns: 1fr 1.25fr 1.15fr .95fr; }
.band-col { padding: 34px 28px; border-left: 1px solid var(--line); min-width: 0; }
.band-col:first-child { border-left: 0; padding-left: 0; }
.band-col:last-child { padding-right: 0; }
.band-col .h3 { font-size: 1.45rem; }
.band-col .small { margin-top: 8px; }
.band-col .btn { margin-top: 18px; }

/* Pillars */
.pillar--card { display: grid; grid-template-columns: 40% minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-height: 280px; box-shadow: var(--shadow); }
.pillar--card .pillar__media { position: relative; overflow: hidden; background: #1d1813; }
.pillar--card .pillar__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar--card:hover .pillar__media img { transform: scale(1.05); }
.pillar__body { padding: 22px 20px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.pillar--card .h3 { font-size: clamp(1.2rem, 1.45vw, 1.45rem); }
.pillar--card .btn { white-space: normal; text-align: left; line-height: 1.25; padding-block: 10px; }
.pillar__text { color: var(--ink-2); font-size: .82rem; margin-top: 10px; line-height: 1.55; }
.pillar--card .ticks { margin: 14px 0 18px; font-size: .78rem; }
.pillar--card .btn { margin-top: auto; }
.ticks { list-style: none; padding: 0; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 18px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--gold); }
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin-top: 24px; }
.ticks--lg { font-size: 1rem; gap: 10px; }
.pillar--full { position: relative; isolation: isolate; color: #F4EFE6; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.pillar__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pillar--full::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,8,6,.92) 0%, rgba(10,8,6,.7) 45%, rgba(10,8,6,.35) 100%); }
.pillar__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.pillar--full .lede, .pillar--full .ticks li { color: #DCD4C7; }
.pillar--full .btn { margin-top: 30px; }

/* Technology / why / projects / clients */
.tech-icons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.tech-icons li { display: grid; justify-items: center; gap: 6px; font-size: .62rem; color: var(--muted); text-align: center; line-height: 1.2; }
.tech-icons__ic { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); }
.ring { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); flex: none; }
.ring--sm { width: 34px; height: 34px; }
.ring--sm .icon { width: 16px; height: 16px; }
.why-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-top: 18px; }
.why-mini li { display: flex; gap: 10px; align-items: flex-start; font-size: .74rem; line-height: 1.4; }
.why-mini strong { display: block; font-size: .76rem; }
.why-mini span span { color: var(--muted); }
.why-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.why-card { background: var(--surface); border: 1px solid var(--line); padding: 28px 22px; display: grid; gap: 12px; align-content: start; border-top: 2px solid var(--gold); }
.why-card p { color: var(--ink-2); font-size: .88rem; }
.slider { position: relative; margin-top: 4px; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 0; list-style: none; }
.slider__track::-webkit-scrollbar { display: none; }
.mini-project { scroll-snap-align: start; min-width: 0; display: grid; grid-template-columns: 44% 1fr; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); background: var(--bg); }
.mini-project img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 2px; }
.mini-project__title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.1; }
.mini-project .meta { margin-top: 4px; }
.slider__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.slider__dots { display: flex; gap: 6px; }
.slider__dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; }
.slider__dots button[aria-current="true"] { background: var(--gold); width: 18px; border-radius: 4px; }
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; list-style: none; padding: 0; margin-top: 10px; align-items: center; }
.logos--wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.logos img { max-height: 40px; width: auto; margin-inline: auto; filter: grayscale(1); opacity: .8; transition: .3s var(--ease); }
.logos a:hover img, .logos li:hover img { filter: none; opacity: 1; }
[data-theme="noir"] .logos img { filter: grayscale(1) invert(1) brightness(1.4); }

/* CTA */
.cta { position: relative; isolation: isolate; background: #1d1813; color: #F4EFE6; overflow: hidden; padding-block: clamp(48px, 6vw, 72px); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,10,6,.86) 0%, rgba(14,10,6,.62) 50%, rgba(14,10,6,.2) 100%); }
.cta__inner { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: clamp(20px, 3vw, 44px); }
.cta__title { font-family: var(--serif); font-weight: 600; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; letter-spacing: .01em; }
.cta__sub { margin-top: 8px; color: #E5DCCD; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__side { justify-self: end; text-align: center; padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.35); font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; display: grid; gap: 8px; }
.cta__side .sep { color: var(--champagne); }
.cta__side small { font-size: .62rem; letter-spacing: .3em; opacity: .8; font-weight: 600; }

/* Inner page hero */
.phero { position: relative; isolation: isolate; min-height: max(440px, 64vh); display: grid; align-items: end; overflow: hidden; color: var(--hero-ink); }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; animation: settle 14s var(--ease) both; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-fade); }
.phero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 100px; z-index: -1; background: linear-gradient(to top, var(--bg), transparent); }
.phero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 7vw, 88px); max-width: var(--wrap); }
.phero__inner > * { max-width: 760px; }
.phero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 5.4vw, 4.8rem); line-height: 1; text-transform: uppercase; }
.phero__body { margin-top: 20px; color: var(--ink-2); max-width: 52ch; }
.phero .btn { margin-top: 28px; }
.crumbs { display: flex; gap: 8px; font-size: .74rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-text); }

/* Split / intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--left .split__media { order: -1; }
.split--solo { grid-template-columns: 1fr; max-width: 820px; }
.split__media { position: relative; overflow: hidden; border-radius: var(--radius); background: #1d1813; aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 72px; background: var(--gold); }
.block + .block { padding-top: 0; }
.intro { display: grid; grid-template-columns: minmax(240px, .8fr) 1.6fr; gap: clamp(28px, 5vw, 80px); }
.intro__lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.3; font-weight: 500; }

/* Cards */
.caps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.caps li { display: grid; gap: 12px; align-content: start; }
.caps p, .tech-card p { color: var(--ink-2); font-size: .88rem; }
.tech-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px; }
.tech-strip li { display: grid; justify-items: center; gap: 10px; text-align: center; font-size: .8rem; font-weight: 600; }
.tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tech-card { background: var(--surface); border: 1px solid var(--line); padding: 28px 22px; display: grid; gap: 12px; align-content: start; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.tech-card:hover { border-color: var(--gold); }
.tech-card__logo { max-height: 34px; width: auto; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.chips li { font-size: .7rem; border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px 10px; }
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { display: grid; text-decoration: none; background: var(--surface); border: 1px solid var(--line); height: 100%; overflow: hidden; }
.svc-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.svc-card:hover img { transform: scale(1.04); }
.svc-card__body { display: grid; gap: 8px; padding: 22px; align-content: start; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: .2s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
.pcard__link { display: grid; gap: 8px; text-decoration: none; }
.pcard__media { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: #1d1813; margin-bottom: 8px; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard__link:hover img { transform: scale(1.05); }
.pcard__meta { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.pcard__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.08; }
.pcard__svc { font-size: .82rem; color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); margin: 0; }
.facts div { padding: 22px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.facts dt { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.facts dd { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-top: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); }
.gallery__cap { display: block; font-size: .78rem; color: var(--muted); margin-top: 6px; }
.credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; margin-top: 18px; }
.credits dt { font-size: .7rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.credits dd { font-weight: 600; }
.ratio { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ratio iframe, .ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact & forms */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__form .h2 { margin-bottom: 8px; }
.contact__form .enquiry-form { margin-top: 28px; }
.contact__card { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 32px 28px; display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact__card p, .site-footer__contact p { display: flex; gap: 12px; align-items: flex-start; }
.contact__card p .icon { color: var(--gold); margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid color-mix(in srgb, var(--gold) 30%, transparent); outline-offset: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3412E; }
.field__err { color: #B3412E; font-size: .76rem; min-height: 0; }
[data-theme="noir"] .field__err { color: #F08C78; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; letter-spacing: 0; font-size: .84rem; color: var(--ink-2); }
.field--check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--gold-btn); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.form-status { font-size: .86rem; color: var(--ink-2); }
.notice { padding: 14px 18px; border-radius: var(--radius); margin-top: 18px; font-size: .9rem; }
.notice--ok { background: color-mix(in srgb, #3E8E5E 14%, var(--surface)); border-left: 3px solid #3E8E5E; }
.notice--err { background: color-mix(in srgb, #B3412E 12%, var(--surface)); border-left: 3px solid #B3412E; }
.search-inline { display: flex; gap: 10px; margin: 24px 0; }
.search-inline input { flex: 1; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); }
.results { display: grid; gap: 4px; }
.results a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.results a:hover .h4 { color: var(--gold-text); }

/* Modal */
.modal { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-top: 3px solid var(--gold); border-radius: 6px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.modal::backdrop { background: rgba(8, 6, 4, .72); backdrop-filter: blur(4px); }
.modal[open] { animation: rise .35s var(--ease); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 32px 0; }
.modal__title { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.05; }
.modal__body { padding: 20px 32px 32px; }
.modal__done { padding: 48px 32px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.modal__done p { color: var(--ink-2); max-width: 46ch; }
.modal--video { width: min(1100px, calc(100vw - 24px)); background: #000; border-top: 0; overflow: visible; }
.modal__x { position: absolute; right: 0; top: -48px; color: #fff; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding-top: 56px; font-size: .86rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--champagne); }
.site-footer .brand { color: #F4EFE6; }
.site-footer .brand__word { color: var(--champagne); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.site-footer__pos { margin-top: 16px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.site-footer__h { font-size: .68rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #F4EFE6; margin-bottom: 16px; }
.site-footer__col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer__contact { display: grid; gap: 12px; align-content: start; }
.site-footer__contact .icon { color: var(--champagne); margin-top: 2px; }
.social { display: flex; gap: 6px; list-style: none; padding: 0; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.social .icon { width: 16px; height: 16px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; font-size: .74rem; }
.site-footer__line { letter-spacing: .24em; text-transform: uppercase; font-weight: 700; font-size: .66rem; }

/* Reveal (section heads only, one subtle motion) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .group--band.group--n4 .group__grid { grid-template-columns: 1fr 1fr; }
  .group--band.group--n4 .band-col:nth-child(3) { border-left: 0; padding-left: 0; }
  .group--band.group--n4 .band-col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .group--pillars .group__grid { grid-template-columns: 1fr; }
  .pillar--card { grid-template-columns: 38% 1fr; min-height: 0; }
  .pillar--card .ticks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-cards, .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta__inner { grid-template-columns: 1fr auto; }
  .cta__side { display: none; }
}
@media (max-width: 1100px) {
  .nav, .site-header__actions .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .work__grid, .flow__grid { grid-template-columns: 1fr; }
  .flow__intro { border-right: 0; padding-right: 0; }
  .work__cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 40%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .work__cards > li { scroll-snap-align: start; }
  .wcard { aspect-ratio: 4 / 5; }
  .flow__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .step:nth-child(4)::before { display: none; }
  .project-grid, .svc-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .intro, .contact, .pillar__inner { grid-template-columns: 1fr; }
  .split--left .split__media { order: 0; }
  .contact__card { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .tech-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logos--wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .brand__word { font-size: 1.55rem; }
  .brand__sub { font-size: .5rem; }
  .site-header__actions .icon-btn[data-search-open] { display: none; }
  .hero { min-height: max(540px, 82vh); align-items: end; }
  .hero__media img { object-position: 60% 30%; }
  [data-theme="ivory"] .hero::before { background: linear-gradient(to top, rgba(248,245,239,.98) 0%, rgba(248,245,239,.94) 42%, rgba(248,245,239,.4) 70%, rgba(248,245,239,.1) 100%); }
  [data-theme="noir"] .hero::before { background: linear-gradient(to top, rgba(11,11,11,.96) 0%, rgba(11,11,11,.85) 45%, rgba(11,11,11,.2) 100%); }
  .hero__inner { padding-bottom: 40px; }
  .hero__body { display: none; }
  .hero__tag span { display: block; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .work__cards { grid-auto-columns: 72%; }
  .flow__steps { grid-template-columns: 1fr; row-gap: 0; position: relative; }
  .flow__steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--gold); opacity: .5; }
  .step { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 16px; padding: 0 0 22px; }
  .step + .step::before { display: none; }
  .step__ring { width: 56px; height: 56px; grid-row: span 2; margin: 0; position: relative; }
  .step__title { align-self: end; }
  .step__detail { align-self: start; }
  .group { padding-block: 16px; }
  .group--band .group__grid, .group--band.group--n4 .group__grid { grid-template-columns: 1fr; }
  .band-col, .band-col:first-child { border-left: 0; padding: 28px 0; }
  .band-col + .band-col { border-top: 1px solid var(--line); }
  .pillar--card { grid-template-columns: 1fr; }
  .pillar--card .pillar__media { aspect-ratio: 16 / 9; }
  .pillar--card .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar--card .btn { width: 100%; }
  .why-cards, .caps, .tech-grid, .project-grid, .svc-cards, .svc-cards--3, .gallery, .credits { grid-template-columns: 1fr; }
  .tech-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-icons { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .ticks--cols { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { display: grid; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .modal__head, .modal__body { padding-inline: 20px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .logos--wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phero { min-height: max(420px, 60vh); }
  [data-theme="ivory"] .phero::before { background: linear-gradient(to top, rgba(248,245,239,.98) 0%, rgba(248,245,239,.9) 50%, rgba(248,245,239,.3) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta, .modal, .hero__actions { display: none !important; }
  body { background: #fff; color: #000; }
}
