/* Onoria Solutions: brand system
   Stone carries the page, ink carries structure, the iris colours (red → orange) appear only where they mean something.
   Motifs: the five-blade iris from the logo, the Bauhaus grid of circles/halves/quarters, slide chrome (label, hairline, number). */

:root {
  --stone: #ece7dd;
  --paper: #f7f4ee;
  --ink: #151413;
  --ink-2: #26231f;
  --graphite: #4a4640;
  --muted: #6c675f;
  --line: #d9d2c4;
  --line-dark: rgb(236 231 221 / 0.16);
  --red: #d6282b;
  --crimson: #93191e;
  --orange: #f08a25;
  --amber: #df6a26;
  --orange-text: #e2671b; /* orange deep enough to read on stone */
  --surface: var(--stone);

  --font: "Readex Pro", system-ui, sans-serif;
  --latin: "Jost", "Futura", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --wrap: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1rem/1.8 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, dl, dd, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; }
button, input { font: inherit; color: inherit; }
em { font-style: normal; color: var(--orange-text); }
.awards em, .contact em { color: var(--orange); }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--stone); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ───────────── type ───────────── */
.kicker { font-size: 0.9375rem; font-weight: 600; color: var(--crimson); }
.title { font-weight: 700; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.15; letter-spacing: -0.01em; }
.lede { max-width: 34em; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); line-height: 1.95; color: var(--muted); }

/* Slide chrome: running label, hairline, section number. */
.meta { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); font-size: 0.875rem; font-weight: 600; color: var(--graphite); }
.meta i { flex: 1; height: 1px; background: var(--line); }
.meta .num { font: 500 1.3rem/1 var(--latin); letter-spacing: 0.1em; color: var(--red); }
.meta-dark { color: rgb(236 231 221 / 0.6); }
.meta-dark i { background: var(--line-dark); }
.meta-dark .num { color: var(--orange); }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }

/* ───────────── buttons ───────────── */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 1.5px solid transparent; border-radius: 0; font-weight: 600; font-size: 0.975rem; line-height: 1.2; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease);
}
.btn::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); z-index: -1; }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(-5px); }
.btn-lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-ink { background: var(--ink); color: var(--stone); }
.btn-ink:hover { background: var(--ink-2); }
.btn-red { background: var(--red); color: var(--paper); }
.btn-red::after { background: var(--ink); }
.btn-red:hover { background: var(--crimson); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--stone); }
.btn-light { border-color: var(--stone); color: var(--stone); }
.btn-light:hover { background: var(--stone); color: var(--ink); }
.btn-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color 0.25s; }
.btn-icon:hover { border-color: var(--ink); }

/* ───────────── iris + lockup ───────────── */
.aperture { width: 100%; height: auto; overflow: visible; }
.ap-blade { stroke: var(--surface); stroke-width: 5; stroke-linejoin: round; }
.lockup { display: inline-flex; align-items: center; gap: 0.32em; height: 1em; line-height: 1; }
.lockup .lk-mark { width: 1em; height: 1em; flex-shrink: 0; }
.lk-text { display: flex; flex-direction: column; justify-content: center; gap: 0.08em; }
.lk-text b { font: 600 0.46em/1 var(--latin); letter-spacing: 0.2em; color: var(--crimson); }
.lk-text i { font: 400 0.2em/1 var(--latin); font-style: normal; letter-spacing: 0.62em; color: var(--red); }
.lockup--stacked { flex-direction: column; height: auto; gap: 0.18em; }
.lockup--stacked .lk-text { align-items: center; }
.lockup--stacked .lk-text b { font-size: 0.42em; letter-spacing: 0.24em; margin-inline-end: -0.24em; }
.lockup--stacked .lk-text i { font-size: 0.17em; letter-spacing: 0.74em; margin-inline-end: -0.74em; }

/* ───────────── bands ───────────── */
.band { height: 46px; background-repeat: repeat-x; background-size: auto 100%; animation: drift var(--drift-dur, 40s) linear infinite; }
.band-framed { border-block: 2px solid var(--ink); padding-block: 4px; background-clip: content-box; background-origin: content-box; height: 56px; }
@keyframes drift { to { background-position-x: calc(-1 * var(--tile-w, 300px)); } }

/* ───────────── intro ───────────── */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--ink); --surface: var(--ink); clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-io); cursor: pointer; }
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro-stage { display: grid; justify-items: center; gap: 26px; }
.intro-iris { width: clamp(150px, 20vw, 230px); }
.intro-word { display: grid; justify-items: center; gap: 8px; color: var(--stone); clip-path: inset(0 50% 0 50%); animation: wipe-c 1s var(--ease-io) 1.55s forwards; }
.intro-word b { font: 600 clamp(2rem, 4vw, 3.1rem)/1 var(--latin); letter-spacing: 0.24em; margin-right: -0.24em; }
.intro-word i { font: 400 clamp(0.75rem, 1.2vw, 0.95rem)/1 var(--latin); font-style: normal; letter-spacing: 0.8em; margin-right: -0.8em; color: var(--orange); }
.intro-line { position: absolute; bottom: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, #f08a25, #df6a26, #cf4f2a, #d6282b, #93191e); transform: scaleX(0); transform-origin: right; animation: line 2.6s var(--ease-io) 0.1s forwards; }
@keyframes wipe-c { to { clip-path: inset(0 0 0 0); } }
@keyframes line { to { transform: scaleX(1); } }

/* ───────────── nav ───────────── */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 18px max(16px, (100% - 1240px) / 2); border-bottom: 1px solid transparent;
  transition: background-color 0.35s, padding 0.35s var(--ease), border-color 0.35s, transform 0.9s var(--ease) 0.4s;
}
.nav.is-solid { background: rgb(236 231 221 / 0.94); backdrop-filter: blur(10px); padding-block: 12px; border-color: var(--line); }
.nav-brand { display: flex; font-size: 46px; transition: font-size 0.35s var(--ease); }
.nav.is-solid .nav-brand { font-size: 40px; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { position: relative; padding: 8px 12px; font-weight: 500; font-size: 0.95rem; color: var(--graphite); transition: color 0.25s; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ───────────── hero ───────────── */
.hero { position: relative; padding-top: 120px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.hero-title { position: relative; margin-top: 18px; padding-inline-start: clamp(18px, 2vw, 28px); font-weight: 700; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.12; letter-spacing: -0.015em; }
.h-bar { position: absolute; inset-block: 0.18em 0.22em; inset-inline-start: 0; width: 7px; background: linear-gradient(#d6282b, #f08a25); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-io) 0.2s; }
.h-mask { display: block; overflow: hidden; padding-block: 0.08em 0.18em; margin-block: -0.08em -0.18em; }
.h-mask > span { display: block; white-space: nowrap; transform: translateY(115%); transition: transform 1.25s var(--ease); transition-delay: var(--d, 0ms); }
.hero-sub { margin-top: 28px; max-width: 31em; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); line-height: 1.95; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-frame { position: relative; aspect-ratio: 16 / 10; border: clamp(8px, 1vw, 12px) solid var(--ink); background: var(--ink); overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The reel is revealed through the iris on load: a mask grows from the centre in the shape of the opening. */
.hero-iris { position: absolute; inset: 0; pointer-events: none; }
.hero-iris svg { position: absolute; top: 50%; left: 50%; width: 260%; translate: -50% -50%; --surface: var(--ink); }
.hero-iris .ap-blade { stroke-width: 2; fill: var(--ink); }
.hero-tag { position: absolute; bottom: 0; inset-inline-start: 0; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 0; background: var(--stone); color: var(--ink); font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.hero-tag:hover { background: var(--ink); color: var(--stone); }
.hero-tag .ico { width: 14px; height: 14px; color: var(--red); }
.hero-tag b { font: 600 0.95rem/1 var(--latin); letter-spacing: 0.2em; color: var(--red); }
.h-grow { transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease-io) 1.4s; }
.h-fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.h-frame { clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-io) 0.2s; }
.is-go .h-fade { opacity: 1; transform: none; }
.is-go .h-mask > span { transform: none; }
.is-go .h-bar, .is-go .h-grow { transform: scaleY(1); }
.is-go .h-frame { clip-path: inset(0 0 0 0); }
.nav { transform: translateY(-110%); }
.is-go .nav { transform: none; }

/* ───────────── services explorer ───────────── */
.services { padding-block: clamp(80px, 10vw, 140px); }
.explorer { display: grid; grid-template-columns: 0.9fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.explorer-iris { display: grid; justify-items: center; gap: 18px; }
.iris-select { width: min(100%, 460px); }
.iris-select .aperture { overflow: visible; }
.iris-select .ap-blade { cursor: pointer; outline: none; fill: var(--paper); stroke: var(--line); stroke-width: 1.5; transition: fill 0.35s, transform 0.6s var(--ease), stroke 0.35s; }
.iris-select .ap-blade:hover { fill: #f6dfcc; }
.iris-select .ap-blade:focus-visible { stroke: var(--ink); stroke-width: 3; }
.iris-select .ap-blade.is-on { fill: var(--c); stroke: var(--stone); stroke-width: 4; transform: translate(var(--tx), var(--ty)); }
.explorer-hint { font-size: 0.875rem; color: var(--muted); }

.explorer-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--ink); }
.ec-media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--ink); }
.ec-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease; }
.ec-body { padding: clamp(22px, 3vw, 36px); }
.explorer-card .ec-body > *, .explorer-card .ec-media img { transition: opacity 0.35s ease, transform 0.5s var(--ease); }
.explorer-card.is-swap .ec-body > :not(.ec-foot), .explorer-card.is-swap .ec-media img { opacity: 0; transform: translateY(8px); }
.ec-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 0.9rem; color: var(--graphite); }
.ec-num { font: 500 1.1rem/1 var(--latin); color: var(--muted); }
.ec-num b { font-weight: 600; color: var(--red); font-size: 1.5rem; }
.ec-name { margin-top: 14px; font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
.ec-latin { margin-top: 6px; font: 500 0.95rem/1.2 var(--latin); letter-spacing: 0.22em; text-transform: uppercase; color: var(--crimson); text-align: right; }
.ec-desc { margin-top: 16px; font-size: 1.0625rem; line-height: 1.9; }
.ec-proof { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.ec-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.ec-nav { display: flex; gap: 8px; }

/* ───────────── bauhaus panel ───────────── */
.bauhaus-panel { display: grid; place-items: center; min-height: clamp(280px, 34vw, 440px); padding: 40px 16px; background-color: var(--stone); background-size: 360px; border-block: 2px solid var(--ink); animation: bh-drift 70s linear infinite; }
@keyframes bh-drift { to { background-position: 360px 360px; } }
.panel-plate { padding: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 60px); background: var(--stone); border: 8px solid var(--ink); outline: 2px solid var(--stone); }
.panel-plate .lockup { font-size: clamp(110px, 13vw, 170px); }

/* ───────────── process ───────────── */
.system { padding-block: clamp(80px, 10vw, 140px); background: var(--paper); }
.flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 24px); padding-top: 34px; }
.flow::before, .flow::after { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 2px; background: var(--line); }
.flow::after { background: linear-gradient(270deg, #f08a25, #df6a26, #cf4f2a, #d6282b, #93191e); transform: scaleX(0); transform-origin: right; transition: transform 2.2s var(--ease-io) 0.2s; }
.flow.is-in::after { transform: scaleX(1); }
.flow li { position: relative; }
.flow-dot { position: absolute; top: -34px; inset-inline-start: 0; width: 20px; height: 20px; background: var(--paper); border: 2px solid var(--line); transition: background-color 0.4s, border-color 0.4s, border-radius 0.4s; transition-delay: calc(400ms + var(--i) * 320ms); }
.flow li:nth-child(odd) .flow-dot { border-radius: 50%; }
.flow li:nth-child(even) .flow-dot { border-radius: 20px 20px 0 0; }
.flow.is-in .flow-dot { background: var(--red); border-color: var(--red); }
.flow-num { font: 600 1.3rem/1 var(--latin); color: var(--red); }
.flow h3 { margin-top: 10px; font-weight: 700; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.25; }
.flow b { display: inline-block; margin-top: 6px; padding-bottom: 2px; border-bottom: 2px solid var(--orange); font-weight: 500; font-size: 0.875rem; }
.flow p { margin-top: 12px; color: var(--muted); line-height: 1.8; font-size: 0.95rem; }

/* ───────────── work ───────────── */
.work { padding-block: clamp(80px, 10vw, 140px); }
.featured { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(12px, 1.5vw, 20px); }
.feat { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); min-height: 220px; }
.feat-lg { grid-row: span 2; min-height: 460px; }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgb(21 20 19 / 0.85)); }
.feat > div { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2.4vw, 28px); }
.feat-kind { font-size: 0.8rem; font-weight: 500; color: var(--orange); }
.feat h3 { font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.2; }
.feat-lg h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.feat p { color: rgb(247 244 238 / 0.75); }

.filters { display: flex; flex-wrap: wrap; gap: 4px; margin: clamp(48px, 6vw, 72px) 0 24px; border-bottom: 1px solid var(--line); }
.filters button { position: relative; padding: 10px 14px 12px; border: 0; background: none; font-weight: 500; color: var(--muted); cursor: pointer; transition: color 0.25s; }
.filters button::after { content: ""; position: absolute; inset-inline: 8px; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.filters button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.filters button[aria-selected="true"]::after { transform: scaleX(1); }
.filters button:hover { color: var(--ink); }
.filters span { font: 500 0.8rem/1 var(--latin); color: var(--red); margin-inline-start: 6px; }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.reels li[hidden] { display: none; }
.reel { display: grid; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--paper); text-align: start; cursor: pointer; transition: border-color 0.3s; animation: fade-up 0.6s var(--ease) both; }
.reel:hover { border-color: var(--ink); }
.reel-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.reel-thumb .dur { position: absolute; bottom: 8px; inset-inline-end: 8px; padding: 3px 7px; background: var(--ink); color: var(--stone); font: 500 0.78rem/1 var(--latin); }
.reel-thumb .play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--paper); transform: scale(0.85); opacity: 0; transition: opacity 0.3s, transform 0.4s var(--ease); }
.reel:hover .play, .reel:focus-visible .play { opacity: 1; transform: none; }
.reel-body { display: grid; gap: 2px; padding: 14px 16px 16px; }
.reel-kind { font-size: 0.8rem; font-weight: 500; color: var(--crimson); }
.reel-title { font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
.reel-latin { font: 400 0.85rem/1.3 var(--latin); color: var(--muted); }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }

/* ───────────── awards ───────────── */
.awards { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 150px); background: var(--ink); color: var(--stone); }
.awards-bauhaus { position: absolute; inset: 0; background-size: 300px; opacity: 1; -webkit-mask-image: radial-gradient(60% 90% at 100% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(60% 90% at 100% 0%, #000 10%, transparent 70%); }
.awards .wrap { position: relative; }
.awards-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.awards-count { display: grid; justify-items: start; }
.awards-count b { font: 600 clamp(7rem, 16vw, 13rem)/0.85 var(--latin); color: var(--orange); background: linear-gradient(135deg, #f08a25, #d6282b 60%, #93191e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.awards-count > span { margin-top: 10px; font-weight: 600; font-size: 1.15rem; }
.awards-count b span { font: inherit; }
.awards-quote { max-width: 24em; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.5; }
.awards-quote em { color: var(--orange); }
.awards-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; }
.awards-list li { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-dark); font-weight: 500; font-size: 0.95rem; line-height: 1.2; color: rgb(236 231 221 / 0.85); }
.awards-list b { font: 600 1.05rem/1 var(--latin); color: var(--orange); }

/* ───────────── clients ───────────── */
.clients { padding-block: clamp(80px, 10vw, 140px); background: var(--paper); overflow: hidden; }
.client-rows { display: grid; gap: 0; border-block: 1px solid var(--line); }
.client-row { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.client-row + .client-row { border-top: 1px solid var(--line); }
.client-row.rev { animation-direction: reverse; }
.client-rows:hover .client-row { animation-play-state: paused; }
.client { display: grid; place-items: center; width: clamp(150px, 15vw, 200px); height: clamp(92px, 9vw, 116px); padding: 18px 24px; border-inline-end: 1px solid var(--line); }
.client span { display: block; width: 100%; height: 100%; background: var(--graphite); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: background-color 0.3s; }
.client:hover span { background: var(--red); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ───────────── offices ───────────── */
.offices { padding-block: clamp(80px, 10vw, 140px); }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); }
.office { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 340px; padding: 24px; background: var(--paper); overflow: hidden; }
.office + .office { border-inline-start: 2px solid var(--ink); }
.office-art { position: absolute; inset-inline-end: -14%; top: -14%; width: 58%; aspect-ratio: 1; }
.office > div { position: relative; }
.office-art svg { width: 100%; height: 100%; }
.office-num { font: 600 1rem/1 var(--latin); letter-spacing: 0.1em; color: var(--red); }
.office-soon { display: inline-block; margin-inline-start: 10px; padding: 3px 9px; background: var(--orange); color: var(--ink); font-size: 0.75rem; font-weight: 600; vertical-align: 2px; }
.office.is-soon .office-art { opacity: 0.35; }
.office.is-soon h3 { color: var(--muted); }
.office h3 { margin-top: 14px; font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.1; }
.office .latin { font: 500 0.85rem/1 var(--latin); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.office address { position: relative; font-style: normal; font-size: 0.95rem; color: var(--graphite); }
.office time { position: relative; display: block; margin-top: 6px; text-align: right; font: 600 1.6rem/1 var(--latin); color: var(--ink); }
.office time small { font: 500 0.75rem/1 var(--latin); color: var(--muted); letter-spacing: 0.1em; margin-inline-start: 6px; }

/* ───────────── contact + footer ───────────── */
.contact { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 150px) clamp(70px, 8vw, 110px); background: var(--ink); color: var(--stone); }
.contact-iris { position: absolute; width: min(560px, 62vw); inset-inline-end: -10%; bottom: -30%; --surface: var(--ink); pointer-events: none; }
.contact .wrap { position: relative; }
.contact-title { font-weight: 700; font-size: clamp(3rem, 9vw, 8rem); line-height: 1.05; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.foot { background: var(--ink); color: var(--stone); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(32px, 4vw, 48px); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 1rem/1 var(--latin); letter-spacing: 0.06em; }
.foot-links a { color: rgb(236 231 221 / 0.7); transition: color 0.25s; }
.foot-links a:hover { color: var(--orange); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-block: 20px 28px; border-top: 1px solid var(--line-dark); font-size: 0.875rem; color: rgb(236 231 221 / 0.55); }
.foot-latin { font: 400 0.9rem/1.4 var(--latin); letter-spacing: 0.08em; }

/* ───────────── player ───────────── */
.player { width: min(1100px, 94vw); padding: 0; border: 0; background: var(--ink); color: var(--stone); }
.player::backdrop { background: rgb(21 20 19 / 0.88); backdrop-filter: blur(4px); }
.player[open] { animation: fade-up 0.4s var(--ease); }
.player-frame { aspect-ratio: 16 / 9; background: #000; }
.player-frame iframe, .player-frame video { width: 100%; height: 100%; border: 0; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; }
.player-title { font-weight: 600; }
.player-close { background: transparent; border-color: var(--line-dark); color: var(--stone); }

/* ───────────── reveal ───────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ───────────── responsive ───────────── */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .flow::before, .flow::after, .flow-dot { display: none; }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .office:nth-child(3) { border-inline-start: 0; }
  .office:nth-child(n + 3) { border-top: 2px solid var(--ink); }
}
@media (max-width: 960px) {
  .sec-head, .hero-grid, .explorer, .awards-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .feat-lg { grid-column: span 2; grid-row: auto; min-height: 340px; }
}
@media (max-width: 760px) {
  .nav { gap: 12px; }
  .nav-cta { display: none; }
  .nav-brand, .nav.is-solid .nav-brand { font-size: 38px; }
  .nav-toggle { display: grid; place-items: center; margin-inline-start: auto; width: 44px; height: 44px; border: 1.5px solid var(--ink); background: none; cursor: pointer; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; inset-inline: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: var(--stone); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); transition: clip-path 0.5s var(--ease-io); }
  .nav-links.is-open { clip-path: inset(0 0 0 0); }
  .nav-links a { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .reels, .office-grid { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .feat-lg { grid-column: auto; }
  .office + .office { border-inline-start: 0; border-top: 2px solid var(--ink); }
  .office { min-height: 240px; }
  .office-art { width: 42%; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .ec-foot { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .intro, .hero-iris { display: none; }
  [data-reveal], .h-fade, .h-mask > span { opacity: 1; transform: none; }
  .h-bar, .h-grow { transform: none; }
  .h-frame { clip-path: none; }
  .nav { transform: none; }
}
