/* Spencer Richardson Dubai — v3.
   Brand system from spencer-richardson.com and the Dubai logo: black, light
   grey and olive gold; light uppercase Montserrat; the logo's gold horizon
   line. v3 is built around one idea: the Dubai skyline moves from golden
   hour to night as you scroll the opening. Everything else stays quiet.
   Colours live in the tokens below; don't hard-code them further down. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --black-3: #141414;
  --line-dark: #242424;
  --grey: #f1f1f1;           /* the UK site's page grey */
  --grey-2: #e7e7e7;
  --line-light: #cfcfcf;
  --white: #f4f4f4;           /* text on dark */
  --ink: #050505;
  --ink-2: #474747;           /* body text on grey: 8:1 */
  --muted-dark: #a6a6a6;      /* body text on black: 8:1 */
  --gold: #a99859;            /* the UK site's gold */
  --gold-deep: #8a7a45;
  --gold-light: #d2c28c;      /* gold text on black */
  --gold-ink: #6c5f2f;        /* gold text on grey: 5.2:1 */
  --gold-logo: #e6c680;       /* the Dubai logo's gold, for the horizon line */
  --danger: #a3261a;
  --success: #2f6b3e;
  --preview: #f2d79a;

  /* Atom One keeps its own palette so it reads as a separate product. */
  --atom-bg: #04060a;
  --atom-line: #222b3a;
  --atom-text: #e9eef5;
  --atom-muted: #a3aec0;
  --atom-blue: #3b82ff;
  --atom-blue-text: #93b9ff;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container: 1360px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --focus: var(--gold-light);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; background: var(--black); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font); font-size: 16.5px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.12; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 200; background: var(--gold); color: var(--black); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; outline-color: var(--black); }
.on-dark { --focus: var(--gold-light); color: var(--white); }
.on-light { --focus: var(--ink); color: var(--ink); }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px; margin: 0 0 30px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.on-light .eyebrow, .eyebrow-ink { color: var(--gold-ink); }
.h-display { font-size: clamp(38px, 6.2vw, 100px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; font-weight: 200; }
.h-section { font-size: clamp(30px, 3.7vw, 58px); line-height: 1.08; letter-spacing: -.025em; text-transform: uppercase; font-weight: 200; text-wrap: balance; }
.h-small { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.7; font-weight: 300; color: #c9c9c9; max-width: 56ch; }
.on-light .lede { color: var(--ink-2); }
.on-light p { color: var(--ink-2); }
.on-dark p { color: var(--muted-dark); }
.on-dark .lede { color: #c9c9c9; }
.big-number { display: block; font-size: clamp(46px, 5vw, 76px); font-weight: 200; line-height: 1; letter-spacing: -.03em; color: var(--gold); font-variant-numeric: tabular-nums; }
.on-light .big-number { color: var(--gold-ink); }
.rule-short { display: block; width: 28px; height: 1px; background: var(--gold); margin: 22px 0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--gold-light); border-bottom: 1px solid rgb(210 194 140 / .4); transition: border-color .3s, gap .4s var(--ease); }
.text-link:hover { border-color: var(--gold-light); gap: 18px; }
.on-light .text-link { color: var(--ink); border-color: rgb(5 5 5 / .35); }
.on-light .text-link:hover { border-color: var(--ink); }

/* The gold horizon line from the logo: a hairline with a flare. */
.horizon-rule { position: relative; display: block; height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgb(230 198 128 / .5) 20%, rgb(255 236 190 / .95) var(--flare, 50%), rgb(230 198 128 / .5) 80%, transparent); }
.horizon-rule::after { content: ""; position: absolute; left: var(--flare, 50%); top: 50%; width: min(420px, 40%); height: 9px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgb(255 236 190 / .5), transparent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden;
  min-height: 56px; padding: 0 34px; border: 1px solid transparent; isolation: isolate;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold::before { background: var(--gold-logo); }
.btn-ghost { border-color: rgb(244 244 244 / .5); color: var(--white); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--black); border-color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black::before { background: var(--black-3); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { color: var(--white); }
.btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 10.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .4s var(--ease); }
.btn:hover .arrow, a:hover > .arrow { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--white); view-transition-name: site-header; transition: transform .5s var(--ease); }
/* Background lives on a pseudo-element so the fixed mobile menu isn't trapped by a backdrop-filter. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(5 5 5 / .55), rgb(5 5 5 / 0)); transition: background-color .45s var(--ease), opacity .45s; }
.site-header.is-scrolled::before, .header-solid .site-header::before { background: rgb(5 5 5 / .94); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(230 198 128 / .45), transparent); opacity: 0; transition: opacity .45s; }
.site-header.is-scrolled::after, .header-solid .site-header::after { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-h); transition: min-height .45s var(--ease); }
.site-header.is-scrolled .header-inner { min-height: 68px; }
.brand { display: block; width: clamp(180px, 17vw, 240px); flex: none; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 44px); }
.nav-list { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav-list a {
  position: relative; display: inline-block; padding: 8px 0; font-size: 11.5px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none; color: var(--white); transition: color .3s;
}
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-logo); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-list a[aria-current="page"], .nav-list a:hover { color: var(--gold-light); }
.nav-menu-foot { display: none; }
.nav-toggle { display: none; align-items: center; gap: 14px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.nav-toggle-bars { position: relative; width: 28px; height: 10px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--gold-logo); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { top: 4px; transform: rotate(-45deg); }

/* ---------- Photographs ---------- */
.photo-frame { position: absolute; inset: 0; overflow: hidden; background: var(--black); }
.photo-frame picture, .photo-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.photo-frame img { object-fit: cover; object-position: var(--focus, 50% 50%); }
@media (max-width: 720px) { .photo-frame img { object-position: var(--focus-mobile, var(--focus, 50% 50%)); } }

/* ---------- The opening: golden hour to night as you scroll ---------- */
.sunset { position: relative; background: var(--black); color: var(--white); }
.sunset-pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
@media (scripting: enabled) {
  .sunset { height: 170vh; height: 170svh; }
  .sunset-pin { position: sticky; top: 0; }
}
.sunset .photo-frame { z-index: -2; }
/* Dusk and night sit over the golden-hour photo; site.js fades them in with the scroll. */
.sunset .photo-variant { opacity: 0; will-change: opacity; }
.sunset .photo-variant:first-child { opacity: 1; }
.sunset .photo-frame img { transform: scale(calc(1.02 + var(--p, 0) * .05)); transform-origin: var(--focus, 70% 60%); }
@media (max-width: 720px) { .sunset .photo-frame img { transform-origin: var(--focus-mobile, 70% 60%); } }
.sunset-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(4 4 6 / .72) 0%, rgb(4 4 6 / .45) 32%, rgb(4 4 6 / 0) 60%),
    linear-gradient(180deg, rgb(4 4 6 / .5) 0%, rgb(4 4 6 / 0) 24%, rgb(4 4 6 / 0) 52%, rgb(5 5 5 / .82) 100%);
}
/* The last stretch of the scroll lowers the lights into the page below. */
.sunset-pin::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--black); opacity: calc((var(--p, 0) - .8) * 3.2); }
.sunset-content { position: relative; z-index: 2; padding-bottom: clamp(110px, 17vh, 170px); opacity: calc(1 - (var(--p, 0) - .72) * 5); }
.sunset-title { font-size: clamp(38px, 6.4vw, 104px); }
.sunset-title .line, .hero-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.sunset-title .line > span, .hero-title .line > span { display: block; }
.sunset-title em { font-style: normal; color: var(--gold-logo); }
.sunset .actions { margin-top: clamp(28px, 4vh, 44px); }
@media (prefers-reduced-motion: no-preference) {
  .sunset-title .line > span, .hero-title .line > span { animation: line-rise 1.2s var(--ease) both; }
  .sunset-title .line:nth-child(2) > span, .hero-title .line:nth-child(2) > span { animation-delay: .1s; }
  .sunset-title .line:nth-child(3) > span, .hero-title .line:nth-child(3) > span { animation-delay: .2s; }
  .sunset-title .line:nth-child(4) > span { animation-delay: .3s; }
  .sunset-content .eyebrow, .sunset-content .actions, .hero-content .eyebrow, .hero-content .lede, .hero-content .actions { animation: fade-up 1s var(--ease) both .5s; }
  .sunset-content .eyebrow, .hero-content .eyebrow { animation-delay: .1s; }
  .sunset-content .actions, .hero-content .actions { animation-delay: .7s; }
}
@keyframes line-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Bottom rail: the three stages of the evening, and the time in Dubai now. */
.sunset-rail { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; opacity: calc(1 - (var(--p, 0) - .8) * 6); }
.sunset-rail-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 26px; border-top: 1px solid rgb(244 244 244 / .16); position: relative; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgb(244 244 244 / .6); }
.sunset-rail-inner::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-logo)); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 12px rgb(230 198 128 / .6); }
.sunset-phases { display: flex; gap: clamp(18px, 3vw, 44px); }
.sunset-phases li { display: flex; align-items: center; gap: 10px; transition: color .5s; }
.sunset-phases li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; transition: background-color .5s, box-shadow .5s; }
.sunset[data-phase="day"] [data-phase-label="day"], .sunset[data-phase="dusk"] [data-phase-label="dusk"], .sunset[data-phase="night"] [data-phase-label="night"] { color: var(--gold-logo); }
.sunset[data-phase="day"] [data-phase-label="day"]::before, .sunset[data-phase="dusk"] [data-phase-label="dusk"]::before, .sunset[data-phase="night"] [data-phase-label="night"]::before { background: var(--gold-logo); box-shadow: 0 0 10px var(--gold-logo); }
.sunset-clock { white-space: nowrap; }
.sunset-clock span { color: var(--white); margin-left: 8px; font-variant-numeric: tabular-nums; }
.sunset-cue { display: none; }
@media (scripting: enabled) { .sunset-cue { display: inline; } }
@media (scripting: none) { .sunset-phases { display: none; } }

/* ---------- Page heroes (inner pages) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--black); color: var(--white); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-short { min-height: 76vh; min-height: 76svh; }
.hero .photo-frame { z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(4 4 6 / .8) 0%, rgb(4 4 6 / .5) 36%, rgb(4 4 6 / 0) 68%),
    linear-gradient(180deg, rgb(4 4 6 / .55) 0%, rgb(4 4 6 / 0) 26%, rgb(4 4 6 / .1) 60%, rgb(5 5 5 / .96) 100%);
}
.hero-content { position: relative; padding: calc(var(--header-h) + 8vh) 0 clamp(56px, 9vh, 96px); }
.hero-content .h-display { max-width: 15ch; font-size: clamp(36px, 5.6vw, 88px); }
.hero-content .lede { margin-top: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .photo-frame img { animation: settle 2.8s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
/* The horizon line closes every hero. */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(230 198 128 / .5) 20%, rgb(255 236 190 / .9) 68%, rgb(230 198 128 / .4) 88%, transparent); }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 168px) 0; position: relative; }
.bg-grey { background: var(--grey); }
.bg-black { background: var(--black); }
.bg-black-2 { background: var(--black-2); }
.bg-gold { background: var(--gold); color: var(--black); }
.head-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(52px, 6.5vw, 96px); }
.head-split p:last-child { margin-bottom: 0; }
.section-cta { margin-top: 56px; }

/* Opening statement: large reading text that lights up as it is read. */
.intro { padding: clamp(96px, 12vw, 180px) 0 clamp(40px, 5vw, 72px); background: var(--black); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); }
.statement-xl { margin: 0; max-width: 21ch; font-size: clamp(30px, 4.9vw, 78px); font-weight: 200; line-height: 1.12; letter-spacing: -.03em; color: var(--white) !important; text-wrap: balance; }
.statement-xl .w { opacity: var(--o, 1); transition: opacity .25s linear; }
.statement-xl em { font-style: normal; color: var(--gold-logo); }
.intro-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: start; padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line-dark); }
.intro-foot p { margin: 0; max-width: 52ch; }
.intro-values { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.intro-values li + li::before { content: "·"; margin-right: 28px; color: var(--gold-deep); }
.intro-foot .text-link { margin-top: 28px; }

/* Specialisms: a framed view of the city beside the six lines of work. */
.spec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.spec-visual { position: sticky; top: 108px; }
.spec-photo { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 220px); width: 100%; overflow: hidden; background: var(--black-3); }
.spec-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgb(230 198 128 / .28); pointer-events: none; }
.spec-caption { margin: 18px 0 0; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #8d8d8d !important; }
.spec-head { margin-bottom: clamp(36px, 4vw, 60px); }
.spec-head p:last-child { margin: 26px 0 0; max-width: 50ch; }

.index { border-top: 1px solid var(--line-dark); counter-reset: idx; }
.index-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; column-gap: 16px; align-items: start; padding: clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line-dark); color: inherit; text-decoration: none; isolation: isolate; }
.index-row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--gold-logo), rgb(230 198 128 / 0)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.index-row:hover::before, .index-row:focus-visible::before { transform: scaleX(1); }
.index-num { padding-top: .5em; font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--gold); font-variant-numeric: tabular-nums; }
.index-row h3 { font-size: clamp(22px, 2.5vw, 38px); font-weight: 200; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.12; color: var(--white); transition: color .4s, transform .6s var(--ease); }
.index-row p { grid-column: 2; margin: 12px 0 0; max-width: 52ch; font-size: 15.5px; color: var(--muted-dark); }
.index-go { grid-column: 3; grid-row: 1; justify-self: end; margin-top: .55em; color: var(--gold); opacity: .45; transition: opacity .4s, transform .5s var(--ease); }
.index-go .arrow { width: 18px; height: 18px; }
a.index-row:hover h3, a.index-row:focus-visible h3 { color: var(--gold-light); transform: translateX(8px); }
a.index-row:hover .index-go, a.index-row:focus-visible .index-go { opacity: 1; transform: translate(4px, -4px); }
.index-wide .index-row { grid-template-columns: 90px minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 28px; align-items: baseline; }
.index-wide .index-row p { grid-column: 3; margin: 0; }
.index-wide .index-num { padding-top: 0; }

/* Three columns with hairlines */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.trio > * { padding: 36px clamp(20px, 3vw, 48px) 8px 0; }
.trio > * + * { border-left: 1px solid var(--line-light); padding-left: clamp(20px, 3vw, 48px); }
.trio .trio-num { display: block; margin-bottom: clamp(40px, 6vw, 96px); font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--gold-ink); }
.trio h3 { margin-bottom: 14px; font-size: clamp(20px, 1.9vw, 28px); font-weight: 300; letter-spacing: -.015em; text-transform: uppercase; color: var(--ink); }
.trio p { font-size: 15.5px; margin: 0; }
.on-dark .trio, .on-dark .trio > * + * { border-color: var(--line-dark); }

/* Split: text panel beside a photograph */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(880px, 100vh); }
.split-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 8vw, 128px) clamp(24px, 6.4vw, 104px); }
.split-text > * { max-width: 580px; }
.split-text .lede { margin-top: 26px; }
.split-visual { position: relative; overflow: hidden; background: #060606; min-height: 440px; }
.gold-list { margin-top: 36px; padding-left: 22px; border-left: 1px solid var(--gold); }
.gold-list-title { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light) !important; }
.on-light .gold-list-title { color: var(--gold-ink) !important; }
.gold-list ul { display: grid; gap: 14px; }
.gold-list li { font-size: 15.5px; line-height: 1.65; }
.gold-list li strong { font-weight: 600; }
.on-dark .gold-list li { color: #c4c4c4; }
.on-dark .gold-list li strong { color: var(--white); }
.on-light .gold-list li { color: var(--ink-2); }
.on-light .gold-list li strong { color: var(--ink); }

/* Process: the horizon line draws across as you scroll */
.horizon { position: relative; }
.horizon-track { position: relative; padding-top: 64px; }
.horizon-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); }
.horizon-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }
.horizon-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-logo)); transform-origin: left; transform: scaleX(1); box-shadow: 0 0 14px rgb(230 198 128 / .45); }
.horizon-step { position: relative; }
.horizon-step::before { content: ""; position: absolute; top: -68px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-logo); box-shadow: 0 0 12px rgb(230 198 128 / .8); }
.horizon-step .big-number { margin-bottom: 30px; }
.horizon-step h3 { margin-bottom: 12px; color: var(--white); }
.horizon-step p { font-size: 15.5px; max-width: 30ch; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .horizon { view-timeline-name: --horizon; view-timeline-axis: block; }
    .horizon-line::after { animation: draw-x linear both; animation-timeline: --horizon; animation-range: entry 40% cover 60%; }
    .horizon-step { animation: step-in linear both; animation-timeline: --horizon; }
    .horizon-step:nth-child(1) { animation-range: entry 40% cover 32%; }
    .horizon-step:nth-child(2) { animation-range: entry 55% cover 41%; }
    .horizon-step:nth-child(3) { animation-range: entry 70% cover 50%; }
    .horizon-step:nth-child(4) { animation-range: entry 85% cover 59%; }
  }
}
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes step-in { from { opacity: .18; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Numbered grid (inner pages) */
.num-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.num-grid > li { padding: clamp(32px, 4.4vw, 64px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.num-grid h3 { margin-bottom: 12px; color: var(--white); }
.num-grid p { font-size: 15.5px; margin: 0; max-width: 44ch; }
.on-light .num-grid, .on-light .num-grid > li { border-color: var(--line-light); }
.on-light .num-grid h3 { color: var(--ink); }

/* Statement over a full-width photograph */
.vista { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); }
.vista .photo-frame { z-index: -2; inset: -8% 0; }
.vista::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(4 4 6 / .84) 0%, rgb(4 4 6 / .55) 45%, rgb(4 4 6 / .1) 80%), linear-gradient(180deg, var(--black) 0%, rgb(5 5 5 / 0) 22%, rgb(5 5 5 / 0) 78%, var(--black) 100%); }
.vista-inner { padding: clamp(96px, 12vw, 170px) 0; }
.statement { margin: 0; font-size: clamp(32px, 5.2vw, 84px); line-height: 1.04; letter-spacing: -.03em; text-transform: uppercase; font-weight: 200; text-wrap: balance; max-width: 15ch; }
.statement p { margin: 0; color: inherit !important; }
.statement em { font-style: normal; color: var(--gold-ink); }
.on-dark .statement em, .vista .statement em { color: var(--gold-logo); }
.quote-sign { margin: clamp(32px, 4vw, 52px) 0 0; font-size: 11.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light) !important; }
.on-light .quote-sign { color: var(--gold-ink) !important; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .vista .photo-frame { animation: drift-y linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes drift-y { from { transform: translateY(-6%); } to { transform: translateY(6%); } }

/* Values: People · Partnerships · Progress */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.values > li { padding: 44px clamp(20px, 3vw, 48px) 0 0; }
.values > li + li { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line-dark); }
.values h3 { font-size: clamp(26px, 3.4vw, 52px); font-weight: 200; text-transform: uppercase; letter-spacing: -.03em; color: var(--white); margin-bottom: 18px; }
.values p { max-width: 34ch; }

/* The team: a line per person; a headshot appears beside the name once supplied */
.team { border-top: 1px solid var(--line-dark); }
.team > li { display: grid; grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); align-items: center; padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line-dark); }
.team-portrait { position: relative; isolation: isolate; width: 72px; aspect-ratio: 1; overflow: hidden; background: var(--black-3); border-radius: 50%; }
.team-monogram { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 200; color: var(--gold-light); border: 1px solid rgb(230 198 128 / .3); border-radius: 50%; }
.team h3 { font-size: clamp(24px, 3vw, 44px); font-weight: 200; text-transform: uppercase; letter-spacing: -.025em; color: var(--white); }
.team-role { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light) !important; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.person-portrait { position: relative; isolation: isolate; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: clamp(18px, 2vw, 28px); background: linear-gradient(180deg, var(--black-3) 0%, var(--black-3) 58%, rgb(169 152 89 / .22) 100%); border: 1px solid var(--line-dark); }
.person-monogram { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(72px, 11vw, 168px); font-weight: 200; line-height: 1; color: var(--gold-light); opacity: .85; }
.person-num { margin: 0 0 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; color: var(--muted-dark) !important; }
.people h3 { margin-bottom: 8px; font-size: clamp(28px, 3.4vw, 52px); font-weight: 200; text-transform: uppercase; letter-spacing: -.025em; color: var(--white); }
.team-link { margin-top: 0; align-items: flex-end; }
.team-hiring { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); }
.team-hiring p { margin: 0; max-width: 620px; }
.team-hiring strong { font-weight: 500; color: var(--white); }

/* Detail list (company details / contact panel) */
.detail-list { margin: 0; }
.detail-list > div { padding: 22px 0; border-top: 1px solid rgb(5 5 5 / .18); }
.detail-list > div:last-child { border-bottom: 1px solid rgb(5 5 5 / .18); }
.detail-list dt { margin-bottom: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.detail-list dd { margin: 0; font-size: 16px; }
.on-dark .detail-list > div { border-color: var(--line-dark); }
.on-dark .detail-list dt { color: var(--gold-light); }
.on-dark .detail-list dd { color: var(--white); }

/* Two doors: employers and candidates */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--black); border-top: 1px solid var(--line-dark); }
.door { position: relative; display: flex; flex-direction: column; min-height: clamp(380px, 46vw, 620px); padding: clamp(40px, 5vw, 80px) clamp(24px, 5vw, 88px); color: var(--white); text-decoration: none; isolation: isolate; overflow: hidden; transition: color .5s var(--ease); }
.door + .door { border-left: 1px solid var(--line-dark); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: translateY(101%); transition: transform .7s var(--ease); }
.door:hover, .door:focus-visible { color: var(--black); }
.door:hover::before, .door:focus-visible::before { transform: none; }
.door-label { font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); transition: color .5s; }
.door h2 { margin-top: auto; font-size: clamp(30px, 4.1vw, 66px); font-weight: 200; line-height: 1.02; letter-spacing: -.03em; text-transform: uppercase; max-width: 11ch; }
.door p { margin: 22px 0 0; max-width: 38ch; color: var(--muted-dark); transition: color .5s; }
.door-go { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.door-go .arrow { width: 18px; height: 18px; }
.door:hover .door-label, .door:hover p, .door:focus-visible .door-label, .door:focus-visible p { color: rgb(5 5 5 / .78); }
.door:hover .arrow, .door:focus-visible .arrow { transform: translate(5px, -5px); }
.door:focus-visible { outline-offset: -6px; --focus: var(--black); }

/* Closing call (inner pages) */
.cta-band { text-align: center; padding: clamp(88px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta-band .eyebrow { justify-content: center; color: var(--black); }
.cta-band .h-section { max-width: 16ch; margin: 0 auto 26px; }
.cta-band p { max-width: 54ch; margin: 0 auto 10px; color: rgb(5 5 5 / .82); }
.cta-band .actions { justify-content: center; margin-top: 34px; }

/* Atom One teaser and page (separate palette) */
.theme-atom { background: var(--atom-bg); color: var(--atom-text); --focus: var(--atom-blue-text); }
.theme-atom p { color: var(--atom-muted); }
.atom-teaser { position: relative; overflow: hidden; }
.atom-teaser::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 80% at 85% 50%, rgb(59 130 255 / .18), transparent 70%); pointer-events: none; }
.atom-teaser-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.atom-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--atom-blue-text); }
.atom-kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.atom-separate { display: block; margin-top: 20px; font-size: 12.5px; color: var(--atom-muted); }
.atom-separate strong { color: var(--atom-text); font-weight: 600; }
.atom-title { font-size: clamp(38px, 5vw, 72px); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1; color: #fff; margin-bottom: 18px; }
.atom-line { font-size: clamp(19px, 2vw, 26px); font-weight: 300; line-height: 1.45; color: var(--atom-text) !important; margin-bottom: 18px; max-width: 30ch; }
.atom-icon { width: clamp(160px, 22vw, 300px); justify-self: center; border-radius: 22%; box-shadow: 0 0 0 1px rgb(147 185 255 / .18), 0 40px 120px -30px rgb(59 130 255 / .65); }
.atom-icon img { border-radius: 22%; }
@media (prefers-reduced-motion: no-preference) { .atom-icon { animation: float 7s ease-in-out infinite; } }
@keyframes float { 50% { transform: translateY(-10px); } }
.btn-atom { background: linear-gradient(180deg, #f4f7fb, #cbd5e2); color: var(--atom-bg); }
.btn-atom::before { background: #fff; }
.btn-atom:hover { box-shadow: 0 0 0 1px var(--atom-blue), 0 12px 36px -8px rgb(59 130 255 / .7); }
.atom-hero { position: relative; overflow: hidden; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; }
.atom-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 78% 45%, rgb(59 130 255 / .24), transparent 70%), radial-gradient(60% 50% at 0% 0%, rgb(211 219 230 / .06), transparent 70%); pointer-events: none; }
.atom-grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgb(147 185 255 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(147 185 255 / .07) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(60% 70% at 70% 45%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 70% at 70% 45%, #000, transparent 75%); }
.atom-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: calc(var(--header-h) + 60px) 0 90px; }
.atom-h1 { font-size: clamp(36px, 4.8vw, 68px); font-weight: 300; line-height: 1.06; letter-spacing: -.02em; color: #fff; text-wrap: balance; margin-bottom: clamp(20px, 2.4vw, 32px); }
.atom-h1 .atom-word { display: block; margin-bottom: 22px; font-size: 13px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: var(--atom-blue-text); }
.atom-h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 300; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.atom-section { padding: clamp(72px, 9vw, 120px) 0; }
.atom-h2 + .separate-grid { margin-top: clamp(20px, 2.4vw, 32px); }
.separate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--atom-line); }
.separate-grid > div { padding: clamp(28px, 4vw, 52px); }
.separate-grid > div + div { border-left: 1px solid var(--atom-line); }
.separate-grid .kicker { margin: 0 0 10px; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.separate-grid .kicker-sr { color: var(--gold-light) !important; }
.separate-grid .kicker-atom { color: var(--atom-blue-text) !important; }
.separate-grid h3 { font-size: 24px; font-weight: 300; color: #fff; margin-bottom: 12px; }
.separate-grid a { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.separate-grid .link-sr { color: var(--gold-light); }
.separate-grid .link-atom { color: var(--atom-blue-text); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--atom-line); border-left: 1px solid var(--atom-line); }
.feature-grid > li { padding: 36px 30px 40px; border-right: 1px solid var(--atom-line); border-bottom: 1px solid var(--atom-line); }
.feature-grid .feat-num { display: block; font-size: 44px; font-weight: 200; color: var(--atom-blue-text); line-height: 1; margin-bottom: 26px; }
.feature-grid h3 { font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.feature-grid p { font-size: 14.5px; margin: 0; }
.atom-cta { text-align: center; border-top: 1px solid var(--atom-line); }
.atom-cta .atom-h2 { margin-bottom: 18px; }
.atom-cta p { max-width: 54ch; margin-inline: auto; }
.atom-cta .actions { justify-content: center; }
.atom-cta .actions + p { margin-top: 22px; }
.atom-cta a:not(.btn) { color: var(--atom-blue-text); }

/* ---------- Contact layout (UK: gold panel + grey form) ---------- */
.contact-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.contact-panel { background: var(--gold); color: var(--black); padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 80px); --focus: var(--black); }
.contact-panel .eyebrow { color: var(--black); }
.contact-panel .h-section { margin-bottom: 22px; }
.contact-panel p { color: rgb(5 5 5 / .8); }
.contact-panel .detail-list { margin-top: 40px; }
.contact-panel a { color: var(--black); }
.form-wrap { background: var(--grey); padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 96px); --focus: var(--ink); }
.form-wrap .eyebrow { color: var(--gold-ink); }
.form-wrap .h-section { margin-bottom: 40px; }
.form-wrap .whatsapp-button { margin-bottom: 24px; }

/* Underline form fields (UK) */
.form { position: relative; }
.form-note { font-size: 13px; color: var(--ink-2); margin-bottom: 26px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.optional { font-weight: 400; letter-spacing: .08em; text-transform: none; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid #6b6b6b; border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--gold-deep); padding-bottom: 9px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.field input[type="file"] { padding: 8px 0; font-size: 14px; }
.field input[type="file"]::file-selector-button { margin-right: 14px; padding: 10px 16px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.field-hint { margin: 0; font-size: 13px; color: var(--ink-2); }
.field-error { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--danger); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom: 2px solid var(--danger); }
.field-consent { margin-top: 34px; }
.checkbox { display: flex; gap: 14px; align-items: flex-start; }
.checkbox input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--black); }
.checkbox label { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.checkbox a { color: var(--ink); }
.form-actions { margin-top: 36px; }
.form-errors { margin-bottom: 30px; padding: 18px 20px; border-left: 3px solid var(--danger); background: rgb(163 38 26 / .06); }
.form-errors:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-errors-title { font-size: 15px; font-weight: 600; color: var(--danger); margin-bottom: 10px; }
.form-errors ul { display: grid; gap: 6px; }
.form-errors a { color: var(--danger); font-weight: 600; }
.form-success { padding: 30px 0; }
.form-success-title { font-size: clamp(26px, 3vw, 36px); font-weight: 300; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 16px; }
.form-success-title:focus { outline: none; }
.form-success p { color: var(--ink-2); max-width: 52ch; }
.form-failure { margin-top: 22px; padding: 14px 16px; border-left: 3px solid var(--danger); color: var(--danger); }
.form-failure p { margin: 0; color: var(--danger) !important; }
.form.is-complete > *:not(.form-success):not([data-form-status]) { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


/* ---------- Legal ---------- */
.legal { padding: calc(var(--header-h) + 80px) 0 clamp(80px, 10vw, 130px); }
.legal .h-display { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 40px; }
.legal-body { max-width: 780px; }
.legal-body h2 { margin: 48px 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.legal-body ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal-body li { margin-bottom: .45em; color: var(--ink-2); }
.legal-body p { color: var(--ink-2); }
.legal-body a { color: var(--ink); }
.draft-banner { margin-bottom: 30px; padding: 14px 18px; border: 1px dashed #b28a3c; background: #fbf3df; color: #5b4310 !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-dark); font-size: 14.5px; --focus: var(--gold-light); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(32px, 5vw, 80px); padding: clamp(72px, 8vw, 110px) 0 60px; }
.footer-brand picture { width: min(320px, 100%); margin: -18px 0 16px -10px; }
.footer-brand p { max-width: 40ch; line-height: 1.8; color: var(--muted-dark); }
.footer-heading { margin-bottom: 20px; font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.footer-list { display: grid; gap: 10px; }
.footer-list a { color: #cfcfcf; text-decoration: none; }
.footer-list a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-time span { color: var(--white); font-variant-numeric: tabular-nums; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding: 26px 0 34px; border-top: 1px solid var(--line-dark); font-size: 12.5px; color: #8f8f8f; }
.footer-legal p { margin: 0; }
.footer-legal a { color: #b9b9b9; }

/* ---------- Cookie consent banner ----------
   The shared Atom banner (atom-consent.css, unchanged) restyled to this site:
   black bar, gold hairline, uppercase letter-spaced labels, square buttons.
   Accept all and Reject all share one style (--main) on purpose: equal weight. */
.atom-consent {
  --atom-consent-bg: var(--black);
  --atom-consent-fg: var(--white);
  --atom-consent-muted: var(--muted-dark);
  --atom-consent-accent: var(--gold);
  --atom-consent-accent-fg: var(--black);
  --atom-consent-border: var(--line-dark);
  --atom-consent-focus: var(--gold-light);
  --atom-consent-radius: 0;
  --atom-consent-font: var(--font);
  --atom-consent-font-size: 14.5px;
  --atom-consent-z: 55; /* under the header (60), so the full-screen mobile menu covers it */
  max-height: calc(100vh - var(--header-h)); /* never slides under the fixed header */
  max-height: calc(100dvh - var(--header-h));
  border-top-color: var(--gold-deep);
}
.atom-consent[data-view] .atom-consent__inner { width: min(100% - var(--gutter) * 2, var(--container)); max-width: none; padding-inline: 0; }
.atom-consent .atom-consent__title { margin-bottom: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.atom-consent .atom-consent__text { color: var(--muted-dark); }
.atom-consent .atom-consent__link { color: var(--white); }
.atom-consent .atom-consent__link:hover { color: var(--gold-light); }
.atom-consent .atom-consent__btn { min-height: 48px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; border-width: 1px; }
.atom-consent .atom-consent__btn:hover { text-decoration: none; }
.atom-consent .atom-consent__btn--main:hover { background: var(--gold-logo); border-color: var(--gold-logo); }
.atom-consent .atom-consent__btn--alt { border-color: var(--muted-dark); }
.atom-consent .atom-consent__btn--alt:hover { background: var(--white); border-color: var(--white); color: var(--black); }

/* ---------- Scroll reveals (no JavaScript; static where unsupported) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* Page transitions between pages (supporting browsers) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .index-wide .index-row { grid-template-columns: 64px minmax(0, 1fr); }
  .index-wide .index-row p { grid-column: 2; margin-top: 12px; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-open { overflow: hidden; }
  .head-split, .split, .contact-split, .atom-teaser-inner, .atom-hero-inner, .spec, .intro-foot { grid-template-columns: 1fr; }
  .head-split { align-items: start; }
  .spec-visual { position: static; }
  .spec-photo { aspect-ratio: 3 / 2; max-height: none; }
  .split-visual { min-height: 68vw; order: 2; }
  .horizon-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .horizon-line, .horizon-step::before { display: none; }
  .horizon-track { padding-top: 0; }
  .atom-icon { justify-self: start; grid-row: 1; width: clamp(130px, 34vw, 200px); }
  .people { grid-template-columns: 1fr; gap: 44px; }
  .person-portrait { max-width: 340px; }
  .team > li { grid-template-columns: 56px minmax(0, 1fr); }
  .team-portrait { width: 56px; grid-row: span 2; }
  .team-monogram { font-size: 19px; }
  .team-role { grid-column: 2; }
}
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }

/* Mobile menu: hidden behind the toggle when scripts run; a plain list when they don't. */
@media (max-width: 980px) and (scripting: enabled) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 0; z-index: -1; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + 30px) var(--gutter) 40px; background: var(--black); overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .nav-list a { display: block; padding: 20px 0; font-size: clamp(28px, 8vw, 40px); font-weight: 200; letter-spacing: -.02em; }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 32px; }
  .nav-menu-foot { display: block; margin-top: auto; padding-top: 32px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
}
@media (max-width: 980px) and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .nav-menu.is-open { animation: menu-in .45s var(--ease) both; }
  .nav-menu.is-open .nav-list li { animation: fade-up .6s var(--ease) both; }
  .nav-menu.is-open .nav-list li:nth-child(2) { animation-delay: .05s; }
  .nav-menu.is-open .nav-list li:nth-child(3) { animation-delay: .1s; }
  .nav-menu.is-open .nav-list li:nth-child(4) { animation-delay: .15s; }
  .nav-menu.is-open .nav-list li:nth-child(5) { animation-delay: .2s; }
}
@media (max-width: 980px) and (scripting: none) {
  .header-inner { flex-wrap: wrap; padding: 14px 0; }
  .nav-menu { flex-wrap: wrap; gap: 10px 20px; }
  .nav-list { flex-wrap: wrap; }
  .nav-cta { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .trio, .values, .num-grid, .separate-grid, .feature-grid, .field-grid, .footer-top, .doors { grid-template-columns: 1fr; }
  .trio > * + *, .values > li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); }
  .on-dark .trio > * + *, .values > li + li { border-top-color: var(--line-dark); }
  .trio > * { padding: 30px 0; }
  .trio .trio-num { margin-bottom: 22px; }
  .values > li { padding: 32px 0; }
  .separate-grid > div + div { border-left: 0; border-top: 1px solid var(--atom-line); }
  .horizon-steps { grid-template-columns: 1fr; row-gap: 44px; }
  .door + .door { border-left: 0; border-top: 1px solid var(--line-dark); }
  .door { min-height: 0; padding-top: 48px; padding-bottom: 52px; }
  .door h2 { margin-top: 56px; }
  .index-row, .index-wide .index-row { grid-template-columns: 44px minmax(0, 1fr) 24px; column-gap: 8px; }
  .index-wide .index-row { grid-template-columns: 44px minmax(0, 1fr); }
  .sunset-title { font-size: clamp(34px, 10.4vw, 56px); }
  .sunset-shade { background: linear-gradient(180deg, rgb(4 4 6 / .5) 0%, rgb(4 4 6 / 0) 20%, rgb(4 4 6 / .15) 42%, rgb(5 5 5 / .88) 78%, rgb(5 5 5 / .94) 100%); }
  .sunset-content { padding-bottom: 96px; }
  .sunset-rail-inner { padding: 16px 0 18px; font-size: 10px; letter-spacing: .2em; }
  .sunset-phases { gap: 14px; }
  .sunset-clock-label { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgb(4 4 6 / .6) 0%, rgb(4 4 6 / .4) 24%, rgb(4 4 6 / .62) 50%, rgb(5 5 5 / .96) 100%); }
  .hero-content .h-display { font-size: clamp(34px, 10vw, 52px); }
  .vista::before { background: linear-gradient(180deg, var(--black) 0%, rgb(5 5 5 / .5) 30%, rgb(5 5 5 / .55) 70%, var(--black) 100%); }
  .actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sunset .photo-frame img { transform: none; }
}

@media print {
  .site-header, .form, .skip-link, .photo-frame { display: none !important; }
  body, .section, .hero, .sunset, .theme-atom, .site-footer, .bg-black, .intro, .doors, .vista { background: #fff !important; color: #000 !important; }
  .sunset { height: auto !important; }
  .sunset-pin { position: static; height: auto; min-height: 0; }
}
.horizon-rule-foot { --flare: 68%; }
.split .statement { font-size: clamp(28px, 3.5vw, 54px); max-width: 14ch; }
.split .eyebrow + .statement { margin-top: 6px; }

/* v3 refinements to the carried-over form and Atom One styles */
.field label { font-size: 11px; }
.detail-list dt, .gold-list-title, .atom-kicker, .separate-grid .kicker { font-size: 11px; }
.atom-separate { font-size: 14px; }
.feature-grid p, .field-hint, .form-note { font-size: 14.5px; }
.contact-panel .h-section, .form-wrap .h-section { font-size: clamp(28px, 3vw, 46px); }
.form-wrap { color: var(--ink); }
.form-wrap p { color: var(--ink-2); }
.sunset-title { font-size: clamp(38px, 5.9vw, 98px); }
.intro-values { gap: 8px 22px; }
.intro-values li + li::before { margin-right: 22px; }
@media (max-width: 720px) {
  .sunset-title { font-size: clamp(34px, 10.4vw, 56px); }
  .intro-values { letter-spacing: .18em; gap: 8px 12px; }
  .intro-values li + li::before { margin-right: 12px; }
}
