/* =====================================================================
   Sadik Allana · Official Executive Profile

   Colour: Harbour on white. The deep harbour ink (#00232E) floods the
   private-office sections and sits with the navy of his portraits; the
   sky blue (#4EA3CB) floods the forward-looking Global Centres section;
   one ember red (#CA391A) marks what matters, in small doses.

   Type: Schibsted Grotesk, one family. It was drawn for a newspaper
   publisher, so it carries long editorial reading for journalists and
   institutions and still holds its shape at display sizes.
   ===================================================================== */

:root {
  /* Neutral base (most of the page) */
  --page: #FFFFFF;
  --raised: #F4F4F5;
  --line: #E5E5E5;
  --quiet: #6B6B6B;
  --text: #111111;
  --black: #0A0A0A;

  /* Palette: Harbour, roles set for this brief */
  --lead: #00232E;      /* flooded blocks: crest, secretariat; key figure */
  --support: #4EA3CB;   /* flooded block: global centres */
  --pop: #CA391A;       /* small marks only */

  /* On dark grounds */
  --on-dark: #FFFFFF;
  --on-dark-quiet: #A9B4B8;
  --line-dark: rgba(255, 255, 255, .16);

  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Type scale: six steps plus the hero name */
  --t-hero: clamp(4.25rem, 15vw, 16rem);
  --t-display: clamp(2.25rem, 4.6vw, 4.5rem);
  --t-xl: clamp(1.6rem, 3vw, 3rem);
  --t-l: clamp(1.3rem, 2vw, 1.9rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --t-micro: .75rem;

  --margin: clamp(16px, 4.4vw, 72px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section-y: clamp(72px, 8vw, 128px);
  --header-h: 80px;
  --header-h-compact: 60px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 500; }
::selection { background: var(--lead); color: var(--on-dark); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.arms :focus-visible, .chronicle :focus-visible, .secretariat :focus-visible,
.site-footer :focus-visible, .menu-overlay :focus-visible { outline-color: var(--on-dark); }

.skip-link { position: fixed; left: 16px; top: -64px; z-index: 200; background: var(--text); color: var(--page); padding: 12px 16px; font-size: var(--t-small); }
.skip-link:focus { top: 16px; }

.quiet { color: var(--quiet); }
.h-display { font-size: var(--t-display); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; }

/* Placeholder marker: remove before launch */
.tbc {
  display: inline-block; font: 400 .75rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--quiet); border: 1px dashed currentColor; padding: 2px 6px; vertical-align: middle;
}
.arms .tbc, .chronicle .tbc, .secretariat .tbc, .site-footer .tbc { color: var(--on-dark-quiet); }
.centres .tbc { color: #0E2A33; }
.tbc--block { display: block; width: fit-content; margin-top: 40px; }

/* ---------- Photos (and pending slots) ---------- */
.photo { position: relative; overflow: hidden; background: var(--raised); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__note { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: var(--t-micro); color: var(--quiet); line-height: 1.4; }
.chronicle .photo { background: #1A1A1A; }
.chronicle .photo__note { color: #8C8C8C; }
.centres .photo { background: #7DBBD8; }
.centres .photo__note { color: #0E2A33; }

/* Pexels photographs: overscan so the scroll parallax never shows an edge */
.photo > img { height: 112%; margin-top: -6%; }
.enterprise__preview .photo > img { height: 100%; margin-top: 0; }
.era__photo > img { height: 100%; margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .photo > img, .era__photo > img { height: 100%; width: 100%; margin: 0; } }
.chronicle .photo > img { filter: saturate(.9); }

/* Added photo moments */
.horizons__band { aspect-ratio: 21 / 9; margin: clamp(56px, 7vw, 112px) calc(var(--margin) * -1) 0; max-height: 78vh; }
.secretariat__photo { width: 100%; aspect-ratio: 16 / 10; margin-top: 24px; background: #0E3440; }
.index-row__photo { display: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  padding: 12px 24px; border: 1px solid var(--text); border-radius: 2px;
  background: var(--text); color: var(--page);
  font: 500 .9375rem/1 var(--font); white-space: nowrap;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, transform .1s ease-out;
}
.btn:hover { background: #2B2B2B; border-color: #2B2B2B; }
.btn:active { transform: scale(.98); }
.btn--outline { background: transparent; color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--page); }
.btn--light { background: var(--on-dark); color: var(--text); border-color: var(--on-dark); }
.btn--light:hover { background: #E6E6E6; border-color: #E6E6E6; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--t-small); }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 1rem; }
.arrow { display: inline-block; }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: currentColor; transition: text-decoration-color .15s ease-out; }
.text-link:hover { text-decoration-color: var(--pop); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--page); border-bottom: 1px solid transparent;
  transition: border-color .25s, transform .3s var(--ease);
}
.site-header.is-compact { height: var(--header-h-compact); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; padding: 0 var(--margin); display: flex; align-items: center; gap: 32px; }
.wordmark { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; margin-right: auto; padding: 8px 0; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { font-size: .9375rem; font-weight: 500; padding: 8px 0; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.menu-toggle {
  display: none; align-items: center; gap: 12px; min-height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--text);
  font: 500 .9375rem/1 var(--font);
}
.menu-toggle__bars { position: relative; width: 22px; height: 10px; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 8px; }
.menu-open .site-header { background: var(--black); border-bottom-color: transparent; }
.menu-open .wordmark, .menu-open .menu-toggle { color: var(--on-dark); }
.menu-open .menu-toggle__bars i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle__bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: var(--on-dark);
  padding: calc(var(--header-h) + 16px) var(--margin) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay__list li { border-top: 1px solid var(--line-dark); }
.menu-overlay__list a { display: block; padding: 12px 0; font-size: clamp(1.5rem, 6vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.menu-overlay .btn { align-self: flex-start; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) var(--margin); }

/* ---------- Introduction ---------- */
.intro__statement {
  font-size: var(--t-xl); font-weight: 400; line-height: 1.2; letter-spacing: -.02em;
  max-width: 24em; margin-left: calc((100% - var(--gap) * 11) / 12 * 2 + var(--gap) * 2);
}

/* ---------- Heritage ---------- */
.heritage__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.heritage__title { grid-column: 1 / span 6; padding-bottom: 8px; }
.heritage__photo { grid-column: 7 / -1; margin-right: calc(var(--margin) * -1); aspect-ratio: 3 / 2; }

.lede { font-size: var(--t-l); line-height: 1.3; letter-spacing: -.01em; }

/* ---------- Coat of arms (lead flood) ---------- */
.arms {
  background: var(--lead); color: var(--on-dark);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center;
  padding: clamp(80px, 9vw, 140px) var(--margin);
}
.arms__crest { grid-column: 1 / span 5; max-width: 460px; }
.arms__text { grid-column: 7 / -1; display: grid; gap: 16px; justify-items: start; }
.arms__title { font-size: var(--t-body); font-weight: 600; color: var(--on-dark-quiet); }
.arms__latin { font-size: clamp(2.5rem, 5.4vw, 5.5rem); font-weight: 400; font-style: italic; line-height: 1.02; letter-spacing: -.03em; }
.arms__en { font-size: var(--t-l); color: var(--on-dark-quiet); }

/* ---------- Chronicle (neutral dark, pinned horizontal on desktop) ---------- */
.chronicle { background: var(--black); color: var(--on-dark); position: relative; }
.chronicle .quiet { color: var(--on-dark-quiet); }
.h-scroll__viewport { overflow-x: auto; overscroll-behavior-x: contain; }   /* usable with no JS: native horizontal scroll */
.h-scroll.is-pinned .h-scroll__viewport { overflow: hidden; }
.h-scroll__track {
  display: flex; align-items: stretch; height: 100svh; min-height: 680px; width: max-content;
  padding: calc(var(--header-h-compact) + 5vh) var(--margin) 10vh; will-change: transform;
}
.chron-intro { width: min(40vw, 600px); padding-right: 6vw; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
.chron-intro__lede { color: var(--on-dark-quiet); max-width: 32ch; }
.era { width: clamp(320px, 28vw, 460px); padding: 0 clamp(24px, 2.4vw, 40px); border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.era--wide { width: clamp(380px, 36vw, 600px); }
.era__photo { aspect-ratio: 4 / 3; max-height: 42vh; width: 100%; margin-bottom: 8px; flex: none; }
.era--wide .era__photo { aspect-ratio: 16 / 9; max-height: 34vh; }
.era__when { font-size: var(--t-small); color: var(--on-dark-quiet); margin-top: 24px; display: flex; gap: 12px; align-items: baseline; }
.era__num { font-size: 1.125rem; font-weight: 600; color: var(--support); min-width: 2ch; }
.era__title { font-size: var(--t-l); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.era__theme { font-size: var(--t-small); color: var(--on-dark-quiet); }
.era__body { font-size: .9375rem; color: #DADADA; max-width: 42ch; }
.era__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 4px; font-size: var(--t-small); color: var(--on-dark-quiet); }
.era__list li { padding-left: 16px; position: relative; }
.era__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--on-dark-quiet); }
.era__link { align-self: flex-start; font-size: var(--t-small); margin-top: 4px; }
.h-scroll__progress { position: absolute; left: var(--margin); right: var(--margin); bottom: 5vh; height: 1px; background: var(--line-dark); display: none; }
.h-scroll.is-pinned .h-scroll__progress { display: block; }
.h-scroll__progress span { position: absolute; inset: 0; background: var(--pop); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Enterprise ---------- */
.enterprise__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.enterprise__head h2 { grid-column: 1 / span 7; }
.enterprise__lede { grid-column: 9 / -1; color: var(--quiet); }
.enterprise__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.index-list { grid-column: 1 / span 7; border-top: 1px solid var(--text); }
.index-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px var(--gap);
  padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); cursor: default;
  transition: background-color .15s ease-out;
}
.index-row__name { grid-column: 1; font-size: clamp(1.4rem, 2.4vw, 2.25rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.index-row__hubs { grid-column: 2; grid-row: 1; font-size: var(--t-small); color: var(--quiet); padding-top: .5em; white-space: nowrap; }
.index-row__detail { grid-column: 1; color: var(--quiet); font-size: .9375rem; max-width: 48ch; }
.index-row { padding-left: 16px; margin-left: -16px; }
.index-row.is-active { background: var(--raised); }
.index-row:focus-visible { outline-offset: -2px; }
.enterprise__preview { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h-compact) + 32px); aspect-ratio: 4 / 5; }
.enterprise__preview .photo { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease-out; }
.enterprise__preview .photo.is-active { opacity: 1; }

/* ---------- Global Centres (support flood) ---------- */
.centres { background: var(--support); color: var(--text); }
.centres__title { max-width: 14em; }
.centres__lede { margin-top: 24px; max-width: 44ch; font-size: 1.125rem; }
.axis { position: relative; margin-top: clamp(56px, 7vw, 112px); }
.axis__line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--text); }
.axis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.hub { position: relative; padding-top: 40px; }
.hub__node { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--support); border: 1.5px solid var(--text); }
.hub__node--hq { background: var(--pop); border-color: var(--pop); }
.hub__photo { aspect-ratio: 3 / 2; margin-bottom: 24px; }
.hub__name { font-size: clamp(2.75rem, 5.6vw, 5.5rem); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
.hub__city { margin: 8px 0 24px; min-height: 1.5em; }

/* ---------- Strategic Horizons ---------- */
.horizons__years { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); font-size: clamp(4.5rem, 14vw, 15rem); font-weight: 500; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.horizons__to { color: var(--quiet); }
.horizons__rule { flex: 1; height: 2px; background: var(--pop); min-width: 40px; }
.horizons__h { font-size: var(--t-body); font-weight: 600; margin: clamp(48px, 6vw, 96px) 0 16px calc((100% - var(--gap) * 11) / 12 * 3 + var(--gap) * 3); }
.horizons__intro { font-size: var(--t-xl); line-height: 1.2; letter-spacing: -.02em; max-width: 24em; margin-left: calc((100% - var(--gap) * 11) / 12 * 3 + var(--gap) * 3); }
.directive { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: clamp(80px, 9vw, 144px); padding-top: 24px; border-top: 1px solid var(--text); }
.directive__head { grid-column: 1 / span 5; display: grid; gap: 16px; align-content: start; }
.directive__num { font-size: var(--t-small); color: var(--quiet); font-weight: 500; }
.directive__title { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; line-height: 1.06; letter-spacing: -.03em; }
.directive__lede { color: var(--quiet); max-width: 40ch; }

.directive--two .directive__head { grid-column: 1 / span 6; }
.elements { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 40px; }
.element { display: grid; gap: 12px; align-content: start; }
.element__photo { aspect-ratio: 4 / 5; margin-bottom: 8px; }
.element:nth-child(even) .element__photo { margin-top: clamp(0px, 4vw, 64px); }   /* staggered rhythm */
.element h4 { font-size: var(--t-l); font-weight: 500; letter-spacing: -.02em; }
.element p { color: var(--quiet); font-size: .9375rem; }

/* ---------- Six pillars ---------- */
.pillars { background: var(--raised); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.pillars__aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h-compact) + 40px); }
.pillars__lede { color: var(--quiet); margin-top: 20px; max-width: 26ch; }
.pillars__list { grid-column: 6 / -1; }

/* ---------- In His Words ---------- */
.words { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; padding: var(--section-y) var(--margin); }
.words__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; background: var(--raised); }
.words__photo img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
.words__body { grid-column: 7 / -1; }
.words__h { font-size: var(--t-body); font-weight: 600; color: var(--quiet); margin-bottom: 24px; }
.words__quote p { font-size: clamp(1.5rem, 2.7vw, 2.75rem); line-height: 1.22; letter-spacing: -.02em; }
.words__cite { margin-top: 32px; font-size: var(--t-small); font-weight: 500; padding-left: 40px; position: relative; }
.words__cite::before { content: ""; position: absolute; left: 0; top: .7em; width: 24px; height: 2px; background: var(--pop); }

/* ---------- Philanthropy ---------- */
.giving__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.giving__head h2 { grid-column: 1 / span 6; }
.giving__intro { grid-column: 1 / span 9; margin-top: 32px; font-size: var(--t-xl); line-height: 1.2; letter-spacing: -.02em; }

.impact { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-top: clamp(80px, 9vw, 144px); padding-top: 24px; border-top: 1px solid var(--text); }
.impact__num { grid-column: 1 / span 7; font-size: clamp(4.5rem, 13vw, 13rem); font-weight: 500; letter-spacing: -.06em; line-height: .85; color: var(--lead); }
.impact__cap { grid-column: 9 / -1; font-size: 1.125rem; padding-bottom: 12px; }
.giving__pillars-title { font-size: var(--t-l); font-weight: 500; letter-spacing: -.02em; margin: clamp(80px, 9vw, 144px) 0 24px; }
.gifts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.gift { display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--text); padding-top: 16px; }
.gift__photo { aspect-ratio: 4 / 3; margin-bottom: 12px; }
.gift__name { font-size: 1.125rem; font-weight: 600; line-height: 1.25; }
.gift__sub { font-size: var(--t-small); color: var(--quiet); }
.gift p:not([class]) { font-size: .9375rem; }
.gift__impact { font-size: .9375rem; font-weight: 600; margin-top: 4px; }

/* ---------- Executive Secretariat (lead flood) ---------- */
.secretariat { background: var(--lead); color: var(--on-dark); padding: var(--section-y) var(--margin); }
.secretariat__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.secretariat__lead { grid-column: 1 / span 5; display: grid; gap: 24px; justify-items: start; }
.secretariat__intro { color: #D5DDE0; max-width: 40ch; }
.secretariat__route { font-size: var(--t-l); line-height: 1.3; letter-spacing: -.01em; max-width: 20em; }
.office-facts { grid-column: 7 / -1; border-top: 1px solid var(--line-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark); }
.site-footer__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: clamp(64px, 7vw, 112px) var(--margin) 56px; }
.footer__id { grid-column: 1 / span 5; display: flex; gap: 24px; align-items: flex-start; }
.footer__crest { width: 112px; flex: none; }
.footer__name { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.footer__title { color: var(--on-dark-quiet); margin-top: 4px; }
.footer__desc { margin-top: 20px; max-width: 30ch; color: #DADADA; }
.footer__hubs { margin-top: 16px; font-size: var(--t-small); color: var(--on-dark-quiet); }
.footer__h { font-size: var(--t-small); font-weight: 600; color: var(--on-dark-quiet); margin-bottom: 16px; }
.footer__h--gap { margin-top: 32px; }
.footer__nav { grid-column: 7 / span 3; }
.footer__office { grid-column: 10 / -1; }
.footer__nav ul, .footer__office ul { display: grid; gap: 10px; font-size: .9375rem; }
.footer__nav .text-link, .footer__office .text-link { text-decoration-color: transparent; }
.footer__nav .text-link:hover, .footer__office .text-link:hover { text-decoration-color: currentColor; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 24px var(--margin) 32px; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: var(--on-dark-quiet); }
.footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .site-nav, .header-po { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .elements { grid-template-columns: repeat(2, 1fr); }
  .element:nth-child(even) .element__photo { margin-top: 0; }
}

@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .intro__statement { margin-left: 0; }

  .heritage__title { grid-column: 1 / -1; }
  .heritage__photo { grid-column: 1 / -1; margin-top: 32px; margin-left: calc(var(--margin) * -1); }

  .arms__crest { grid-column: 1 / span 5; }
  .arms__text { grid-column: 6 / -1; }

  /* Chronicle becomes a vertical ledger */
  .h-scroll__viewport { overflow: visible; }
  .h-scroll__track { flex-direction: column; height: auto; min-height: 0; width: auto; padding: var(--section-y) var(--margin); }
  .chron-intro { width: auto; padding: 0 0 48px; }
  .era, .era--wide { width: auto; border-left: 0; border-top: 1px solid var(--line-dark); padding: 32px 0 40px; display: grid; grid-template-columns: 40% 1fr; column-gap: var(--gap); row-gap: 8px; align-content: start; }
  .era > * { grid-column: 2; }
  .era__photo { grid-column: 1; grid-row: 1 / span 8; max-height: none; margin: 0; }
  .era__when { margin-top: 0; }
  .era__list { grid-template-columns: 1fr; }

  .enterprise__head h2, .enterprise__lede { grid-column: 1 / -1; }
  .index-list { grid-column: 1 / -1; }
  .enterprise__preview { display: none; }

  .centres__lede { max-width: none; }
  .axis__grid { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .axis__line { display: none; }
  .hub { padding-top: 0; padding-left: 28px; }
  .hub__node { top: .2em; }

  .horizons__h, .horizons__intro { margin-left: 0; }

  .elements { grid-template-columns: repeat(2, 1fr); }
  .element:nth-child(even) .element__photo { margin-top: 0; }

  .pillars__aside { grid-column: 1 / -1; position: static; }
  .pillars__list { grid-column: 1 / -1; margin-top: 32px; }

  .words__photo { grid-column: 1 / span 5; }
  .words__body { grid-column: 6 / -1; }

  .giving__head h2, .giving__intro { grid-column: 1 / -1; }

  .impact__num, .impact__cap { grid-column: 1 / -1; }
  .gifts { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }

  .secretariat__lead, .office-facts { grid-column: 1 / -1; }
  .office-facts { margin-top: 48px; }
  .footer__id { grid-column: 1 / -1; margin-bottom: 40px; }
  .footer__nav { grid-column: 1 / span 6; }
  .footer__office { grid-column: 7 / -1; }
}

/* Phone */
@media (max-width: 767px) {
  :root { --header-h: 64px; --header-h-compact: 56px; }

  .heritage__photo { aspect-ratio: 4 / 3; margin-right: calc(var(--margin) * -1); }

  .arms { grid-template-columns: 1fr; gap: 32px; }
  .arms__crest, .arms__text { grid-column: 1; }
  .arms__crest { max-width: 280px; }

  .era, .era--wide { grid-template-columns: 1fr; }
  .era > *, .era__photo { grid-column: 1; grid-row: auto; }
  .era__photo { margin-bottom: 8px; }

  .index-row { grid-template-columns: 1fr; }
  .index-row__hubs { grid-column: 1; grid-row: auto; padding-top: 0; }

  .axis__grid { grid-template-columns: 1fr; }

  .horizons__years { font-size: 23vw; flex-wrap: wrap; gap: 8px 12px; }
  .horizons__rule { flex-basis: 100%; order: 1; }
  .horizons__to { order: 2; }

  .elements { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .element h4 { font-size: 1.25rem; }

  .words { grid-template-columns: 1fr; }
  .words__photo, .words__body { grid-column: 1; }
  .words__body { margin-top: 40px; }

  .gifts { grid-template-columns: 1fr; }

  .footer__id { flex-direction: column; }
  .footer__nav, .footer__office { grid-column: 1 / -1; }
  .footer__office { margin-top: 40px; }
  .footer__legal { flex-direction: column; }
}

/* Reduced motion: no parallax, no pinning, no smooth scroll; state changes stay */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .index-row, .enterprise__preview .photo { transition-duration: .2s; }
}

/* Era photos are wider than their frame so they can drift sideways while the Chronicle is pinned */
.h-scroll.is-pinned .era__photo img { width: 112%; max-width: none; margin-left: -6%; }

@media (max-width: 1023px) {
  .horizons__band { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .horizons__band { aspect-ratio: 4 / 3; }
}
@media (max-width: 1023px) {
  .index-row { grid-template-columns: 34% 1fr; column-gap: var(--gap); }
  .index-row__photo { display: block; grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 4 / 3; margin: 4px 0; align-self: start; }
  .index-row__name, .index-row__detail, .index-row__hubs { grid-column: 2; grid-row: auto; }
}

/* =====================================================================
   v3 additions: hero seal, lineage, chips, interactive pillars,
   secretariat cards, gift cards, and the animation helpers
   ===================================================================== */

/* Hero */

@media (prefers-reduced-motion: no-preference) {

  @keyframes seal-spin { to { transform: rotate(360deg); } }
}

/* Word-split helper used by .reveal and .scrub-words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
.scrub-words .w { overflow: visible; }

/* Heritage lineage strip */

.more { border-bottom: 1px solid var(--line); }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-weight: 600; font-size: .9375rem; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; transition: transform .2s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more__body { display: grid; gap: 16px; padding: 4px 0 24px; color: #333; }

/* Chips (centres focus, secretariat) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid rgba(17, 17, 17, .4); border-radius: 999px; font-size: var(--t-small); line-height: 1.2; }
.chips--dark li { border-color: rgba(255, 255, 255, .32); color: #E6ECEE; }
.hub__role { font-size: var(--t-l); line-height: 1.25; letter-spacing: -.015em; margin: 4px 0 18px; max-width: 22em; }

/* Six pillars: one word at a time, with its photograph */
.pillars__shots { position: relative; margin-top: 32px; aspect-ratio: 4 / 5; max-height: min(54vh, 540px); width: 100%; }
.pillar-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease-out; }
.pillar-shot.is-active { opacity: 1; }
.pillar-shot > img { height: 100%; margin-top: 0; }
.pillars__list { counter-reset: none; }
.pillar { display: grid; grid-template-columns: 3.5em 1fr; column-gap: var(--gap); align-items: baseline; padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid #D4D4D8; cursor: default; outline-offset: 4px; }
.pillar:last-child { border-bottom: 1px solid #D4D4D8; }
.pillar__n { font-size: var(--t-small); font-weight: 600; color: var(--pop); font-variant-numeric: tabular-nums; }
.pillar__word { font-size: clamp(2.25rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.045em; line-height: .95; transition: color .25s ease-out; }
.pillar__text { grid-column: 2; max-width: 34em; color: var(--quiet); font-size: 1.0625rem; line-height: 1.45; margin-top: 12px; transition: color .25s ease-out; }
.js-pillars .pillar { --dim: 1; }
.js-pillars .pillar:not(.is-active) .pillar__word { color: #B4B4B8; }
.js-pillars .pillar.is-active .pillar__text { color: var(--text); }
@media (min-width: 1024px) {
  .js-pillars .pillar__text { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease), color .25s ease-out, margin .35s var(--ease); margin-top: 0; }
  .js-pillars .pillar__text > span { overflow: hidden; }
  .js-pillars .pillar.is-active .pillar__text { grid-template-rows: 1fr; margin-top: 12px; }
}

/* Gift cards: title over the photograph */
.gift { position: relative; }
.gift__photo { aspect-ratio: 4 / 5; }
.gift__name { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 500; letter-spacing: -.015em; }

/* Executive secretariat cards */
.office-facts { border-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.office-fact { background: var(--lead); padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 14px; align-content: start; }
.office-fact:first-child, .office-fact:last-child { grid-column: 1 / -1; }
.office-fact h3 { font-size: var(--t-small); font-weight: 600; color: var(--on-dark-quiet); }
.office-fact__big { font-size: var(--t-l); letter-spacing: -.015em; }
.office-fact__note { color: #C2CDD1; font-size: .9375rem; max-width: 46ch; }
.nodes { display: grid; gap: 10px; }
.nodes li { display: grid; grid-template-columns: 4em 1fr; gap: 12px; font-size: .9375rem; color: #D5DDE0; }
.nodes strong { color: var(--on-dark); font-weight: 600; }

@media (max-width: 1023px) {
  .pillars__shots { max-width: 420px; aspect-ratio: 3 / 2; max-height: none; }
}
@media (max-width: 767px) {

  .pillars__shots { max-width: none; }
  .pillar { grid-template-columns: 2.4em 1fr; }
  .office-facts { grid-template-columns: 1fr; }
  .nodes li { grid-template-columns: 3.5em 1fr; }
}

/* =====================================================================
   v4 · redesigned hero, intro band, heritage, chronicle, horizons,
   philanthropy lead, mobile
   ===================================================================== */

/* Header sits transparent over the dark hero */
.site-header { color: var(--text); transition: background-color .3s ease-out, color .3s ease-out, border-color .25s, transform .3s var(--ease); }
.site-header.is-over-hero { background: transparent; color: var(--on-dark); border-bottom-color: transparent; }
.site-header.is-over-hero .btn--outline { color: var(--on-dark); border-color: rgba(255,255,255,.55); }
.site-header.is-over-hero .btn--outline:hover { background: var(--on-dark); color: var(--text); }
.site-header.is-over-hero .menu-toggle { color: var(--on-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(100svh, 720px); overflow: hidden;
  background: var(--lead); color: var(--on-dark);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-content: stretch;
  padding: calc(var(--header-h) + 4vh) var(--margin) 4vh;
}
.hero::before { /* faint crest watermark */
  content: ""; position: absolute; left: -8vw; bottom: -14vh; width: 52vw; aspect-ratio: 800 / 881;
  background: url("../img/sadik-allana-crest.webp") center / contain no-repeat; opacity: .05; pointer-events: none;
}
.hero__eyebrow { grid-column: 1 / span 6; grid-row: 1; align-self: start; display: flex; align-items: center; gap: 12px; font-size: var(--t-small); color: var(--on-dark-quiet); }
.hero__eyebrow-rule { display: inline-block; width: 40px; height: 1px; background: var(--pop); transform-origin: 0 50%; }
.hero__name { grid-column: 1 / span 7; grid-row: 2; align-self: center; position: relative; z-index: 2;
  font-size: clamp(4rem, 12.5vw, 13.5rem); font-weight: 500; letter-spacing: -.06em; line-height: .84; margin: 4vh 0; }
.hero__line { display: block; white-space: nowrap; }
.hero__line--2 { padding-left: .9em; color: #9FB4BC; }
.hero__aside { grid-column: 1 / span 4; grid-row: 3; align-self: end; display: grid; gap: 14px; justify-items: start; position: relative; z-index: 2; }
.hero__title { font-size: var(--t-l); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; }
.hero__statement { color: var(--on-dark-quiet); max-width: 30ch; }
.hero__clocks { grid-column: 5 / span 3; grid-row: 3; align-self: end; display: grid; gap: 8px; font-size: var(--t-small); position: relative; z-index: 2; }
.hero__clocks li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line-dark); max-width: 15rem; }
.hero__clocks span { color: var(--on-dark-quiet); }
.hero__clocks time { font-variant-numeric: tabular-nums; font-weight: 500; }

.hero__stage { grid-column: 8 / -1; grid-row: 1 / span 3; position: relative; align-self: stretch; min-height: 520px; }
.hero__arch {
  position: absolute; z-index: 2; right: 8%; top: 0; bottom: 0; width: min(84%, calc((100svh - var(--header-h)) * .56));
  border-radius: 999px 999px 0 0; overflow: hidden; background: #0E3440;
}
.hero__img { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 0%; will-change: transform; }
.hero__card {
  position: absolute; z-index: 1; margin: 0; width: clamp(130px, 11vw, 190px); aspect-ratio: 3 / 4; overflow: hidden;
  border: 6px solid #F4F4F5; background: #0E3440; box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: var(--t-micro); font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); }
.hero__card--uk  { left: 0; top: 14%; transform: rotate(-8deg); }
.hero__card--uae { left: -7%; bottom: 7%; transform: rotate(5deg); z-index: 3; }
.hero__card--in  { right: 0; top: 46%; transform: rotate(7deg); z-index: 3; }
.hero__seal { position: absolute; z-index: 4; left: 2%; top: 44%; width: clamp(110px, 9.5vw, 150px); aspect-ratio: 1; }
.hero__seal::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: var(--lead); }
.hero__seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__seal-ring text { font: 600 11.5px/1 var(--font); letter-spacing: .06em; fill: var(--on-dark); }
.hero__seal img { position: absolute; left: 50%; top: 50%; width: 52%; transform: translate(-50%, -52%); }
@media (prefers-reduced-motion: no-preference) {
  .hero__seal-ring { animation: seal-spin 36s linear infinite; }
  @keyframes seal-spin { to { transform: rotate(360deg); } }
}
.hero .w { padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Ticker band (moves with scroll) ---------- */
.ticker { overflow: hidden; padding: clamp(16px, 2vw, 32px) 0; border-block: 1px solid var(--line); }
.ticker__row { white-space: nowrap; font-size: clamp(3rem, 8vw, 8.5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; will-change: transform; }
.ticker__row span { display: inline-block; padding-right: .3em; }
.ticker__row--a { transform: translateX(-4%); }
.ticker__row--b { color: transparent; -webkit-text-stroke: 1.5px var(--text); transform: translateX(-30%); }

/* ---------- Idea + credentials ---------- */
.idea { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: var(--section-y) var(--margin); }
.idea__panel {
  grid-column: 1 / span 5; position: relative; overflow: hidden; background: var(--lead); color: var(--on-dark);
  padding: clamp(28px, 3.2vw, 56px); display: flex; flex-direction: column; gap: 24px; min-height: 100%;
}
.idea__panel::after { content: ""; position: absolute; right: -18%; bottom: -16%; width: 70%; aspect-ratio: 800 / 881; background: url("../img/sadik-allana-crest.webp") center / contain no-repeat; opacity: .12; }
.idea__title { font-size: var(--t-small); font-weight: 600; color: var(--on-dark-quiet); }
.idea__text { font-size: var(--t-xl); line-height: 1.15; letter-spacing: -.025em; position: relative; z-index: 1; }
.idea__identity { margin-top: auto; font-size: var(--t-small); color: #9FB4BC; position: relative; z-index: 1; }
.idea__creds { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cred { background: var(--page); padding: clamp(20px, 2.4vw, 40px); display: grid; align-content: space-between; gap: 32px; min-height: clamp(200px, 18vw, 280px); transition: background-color .3s ease-out, color .3s ease-out; }
.cred dt { display: flex; justify-content: space-between; font-size: var(--t-small); color: var(--quiet); }
.cred__n { order: 2; color: var(--pop); font-weight: 600; font-variant-numeric: tabular-nums; }
.cred__head { font-size: clamp(1.9rem, 3.4vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cred__line { font-size: var(--t-small); color: var(--quiet); margin-top: -20px; }
@media (hover: hover) {
  .cred:hover { background: var(--support); color: var(--text); }
  .cred:hover dt, .cred:hover .cred__line { color: #0E2A33; }
}

/* ---------- Heritage ---------- */
.heritage__body { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.heritage__copy { grid-column: 1 / span 6; display: grid; gap: 24px; }
.lede { font-size: var(--t-xl); line-height: 1.15; letter-spacing: -.025em; }
.values { grid-column: 8 / -1; display: grid; gap: var(--gap); }
.value { position: relative; background: var(--raised); padding: clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 36px) clamp(64px, 6vw, 96px); display: grid; gap: 8px; }
.value__n { position: absolute; left: clamp(20px, 2.4vw, 36px); top: clamp(18px, 2.2vw, 32px); font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 500; font-style: italic; color: var(--pop); line-height: 1; }
.value h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.value p { color: var(--quiet); }

.lineage { margin-top: clamp(64px, 8vw, 120px); position: relative; }
.lineage__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 32px; margin-bottom: 24px; }
.lineage__title { font-size: var(--t-display); font-weight: 500; letter-spacing: -.045em; line-height: 1; max-width: 12em; }
.lineage__hint { color: var(--quiet); font-size: var(--t-small); }
.lineage__line { display: block; height: 2px; background: var(--line); position: relative; margin-bottom: 28px; }
.lineage__line i { position: absolute; inset: 0; background: var(--pop); transform-origin: 0 50%; }
.lineage__steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.step { display: grid; gap: 6px; align-content: start; }
.step:nth-child(even) { margin-top: clamp(24px, 4vw, 72px); }
.step__photo { aspect-ratio: 3 / 4; margin-bottom: 8px; }
.step__n { font-size: var(--t-micro); font-weight: 600; color: var(--pop); font-variant-numeric: tabular-nums; }
.step__label { font-size: clamp(1.05rem, 1.4vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.heritage__seat { margin-top: clamp(64px, 8vw, 120px); font-size: var(--t-display); line-height: 1.05; letter-spacing: -.045em; max-width: 18em; padding: 0; border: 0; }

/* ---------- Chronicle: centred, bigger photos, giant numerals ---------- */
.h-scroll__track { align-items: center; }
.chron-intro { justify-content: center; }
.chron-intro .h-display { font-size: clamp(3rem, 6vw, 6.5rem); line-height: .95; letter-spacing: -.05em; }
.chron-intro__cue { display: inline-flex; gap: 10px; align-items: center; font-size: var(--t-small); color: var(--on-dark-quiet); }
.chron-intro__cue span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.era { position: relative; justify-content: center; }
.era__photo { aspect-ratio: auto; height: 46vh; max-height: none; position: relative; z-index: 1; }
.era--wide .era__photo { aspect-ratio: auto; height: 38vh; max-height: none; }
.era__big { position: absolute; z-index: 0; right: clamp(8px, 1.4vw, 24px); top: 50%; transform: translateY(-115%); font-size: clamp(8rem, 16vw, 18rem); font-weight: 500; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); pointer-events: none; }
.era > :not(.era__big):not(.era__photo) { position: relative; z-index: 1; }
.era__title { font-size: clamp(1.5rem, 2.2vw, 2.25rem); }

/* ---------- Strategic Horizons: expanding market panels ---------- */
.directive { align-items: stretch; }
.directive__head { grid-column: 1 / span 4; }
.directive--two .directive__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h-compact) + 32px); align-self: start; }
.panels { grid-column: 5 / -1; display: flex; gap: 8px; height: clamp(380px, 34vw, 520px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; transition: flex-grow .6s var(--ease); outline-offset: 3px; }
.panel.is-open { flex-grow: 3.2; }
.panel__photo { position: absolute; inset: 0; }
.panel__photo > img { height: 100%; margin-top: 0; transition: transform .8s var(--ease); }
.panel.is-open .panel__photo > img { transform: scale(1.04); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,28,.85), rgba(0,20,28,.1) 60%); pointer-events: none; }
.panel__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2vw, 28px); color: #fff; }
.panel__name { font-size: clamp(1.8rem, 3vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.panel__line { margin-top: 10px; font-size: var(--t-l); line-height: 1.2; letter-spacing: -.015em; max-width: 18em; opacity: 0; transform: translateY(10px); transition: opacity .35s ease-out .1s, transform .45s var(--ease) .1s; }
.panel.is-open .panel__line { opacity: 1; transform: none; }
.directive--two .elements { grid-column: 5 / -1; grid-template-columns: 1fr 1fr; margin-top: 0; }
.directive--two .element:nth-child(even) .element__photo { margin-top: clamp(0px, 5vw, 80px); }
.element__photo { aspect-ratio: 5 / 4; }

/* ---------- Philanthropy lead: photo with overlapping card ---------- */
.giving__lead { position: relative; margin: clamp(48px, 6vw, 96px) calc(var(--margin) * -1) 0; padding-bottom: clamp(120px, 14vw, 220px); }
.giving__photo { aspect-ratio: 21 / 9; max-height: 78vh; width: 100%; margin: 0; }
.giving__card {
  position: absolute; right: var(--margin); bottom: 0; width: min(560px, 44vw); z-index: 2;
  background: var(--lead); color: var(--on-dark); padding: clamp(28px, 3vw, 48px); display: grid; gap: 18px;
}
.giving__kicker { font-size: var(--t-small); font-weight: 600; color: var(--support); }
.giving__lead-title { font-size: var(--t-l); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.giving__card > p:not([class]) { color: #C2CDD1; font-size: .9375rem; }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.ticks li { display: grid; grid-template-columns: 2.4em 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: .9375rem; }
.ticks span { color: var(--pop); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .hero { grid-template-columns: repeat(8, 1fr); min-height: 0; padding-bottom: 48px; }
  .hero::before { width: 90vw; }
  .hero__eyebrow { grid-column: 1 / -1; }
  .hero__name { grid-column: 1 / -1; grid-row: 2; font-size: clamp(4rem, 17vw, 10rem); margin: 32px 0; }
  .hero__stage { grid-column: 3 / -1; grid-row: 3; min-height: 0; height: min(78vw, 70svh); }
  .hero__arch { right: 0; width: min(100%, 60vw); }
  .hero__card { width: clamp(100px, 18vw, 150px); }
  .hero__card--uk { left: 0; top: 6%; }
  .hero__card--uae { left: 6%; bottom: 4%; }
  .hero__card--in { display: none; }
  .hero__seal { left: auto; right: -2%; top: -6%; }
  .hero__aside { grid-column: 1 / span 5; grid-row: 4; margin-top: 32px; }
  .hero__clocks { grid-column: 6 / -1; grid-row: 4; margin-top: 32px; }
  .idea__panel, .idea__creds { grid-column: 1 / -1; }
  .heritage__copy, .values { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr 1fr; }
  .lineage__steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .step:nth-child(even) { margin-top: 0; }
  .directive__head, .directive--two .directive__head { grid-column: 1 / -1; position: static; }
  .panels, .directive--two .elements { grid-column: 1 / -1; margin-top: 24px; }
  .giving__card { width: min(560px, 70vw); }
  .giving__photo { aspect-ratio: 16 / 10; }
  .era__photo, .era--wide .era__photo { height: auto; aspect-ratio: 4 / 3; }
  .era__big { top: 8px; transform: none; font-size: 7rem; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; padding: calc(var(--header-h) + 8px) var(--margin) 40px; }
  .hero__name { font-size: 25vw; margin: 20px 0 24px; }
  .hero__line--2 { padding-left: .45em; }
  .hero__stage { grid-column: 1; grid-row: 3; height: 128vw; }
  .hero__arch { width: 72vw; right: 0; left: auto; }
  .hero__card--uk { width: 30vw; left: -2vw; top: 10%; border-width: 4px; }
  .hero__card--uae { width: 28vw; left: 2vw; bottom: 6%; border-width: 4px; }
  .hero__seal { display: none; }
  .hero__aside, .hero__clocks { grid-column: 1; }
  .hero__aside { grid-row: 4; }
  .hero__clocks { grid-row: 5; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
  .hero__clocks li { flex-direction: column; gap: 2px; max-width: none; }
  .hero__aside .btn { width: 100%; justify-content: center; }
  .ticker__row { font-size: 15vw; }
  .idea { padding-top: 24px; }
  .idea__creds { grid-template-columns: 1fr 1fr; }
  .cred { min-height: 0; gap: 20px; padding: 18px; }
  .cred__head { font-size: 1.6rem; }
  .cred__line { margin-top: -12px; }
  .values { grid-template-columns: 1fr; }
  .lineage__steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--margin) * -1); padding: 0 var(--margin) 8px; scrollbar-width: none; }
  .lineage__steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 62vw; scroll-snap-align: start; }
  .heritage__seat { font-size: 2rem; }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 200px; transition: height .5s var(--ease); }
  .panel.is-open { height: 300px; }
  .panel__line { opacity: 1; transform: none; font-size: 1rem; }
  .directive--two .elements { grid-template-columns: 1fr 1fr; }
  .giving__lead { margin-left: calc(var(--margin) * -1); margin-right: calc(var(--margin) * -1); padding-bottom: 0; }
  .giving__photo { aspect-ratio: 4 / 3; }
  .giving__card { position: relative; right: auto; width: auto; margin: -48px var(--margin) 0; }
  .era__big { font-size: 5.5rem; }
}
@media (max-width: 767px) {
  .gifts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--margin) * -1); padding: 0 var(--margin) 8px; scrollbar-width: none; }
  .gifts::-webkit-scrollbar { display: none; }
  .gift { flex: 0 0 74vw; scroll-snap-align: start; }
  .gift__photo { aspect-ratio: 4 / 3; }
}

/* ---------- Swipe rows (phones): aligned start, arrows, progress ---------- */
.swipe-nav { display: none; }
@media (max-width: 767px) {
  .lineage__steps, .gifts { scroll-padding-inline: var(--margin); scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; cursor: grab; }
  .lineage__steps.is-dragging, .gifts.is-dragging { cursor: grabbing; scroll-snap-type: none; }
  .swipe-nav { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
  .swipe-nav__bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
  .swipe-nav__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: var(--pop); transition: transform .15s linear; }
  .swipe-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--text); background: var(--page); color: var(--text); font: 500 1.1rem/1 var(--font); cursor: pointer; display: grid; place-items: center; transition: background-color .15s, color .15s, opacity .15s; }
  .swipe-nav button:active { transform: scale(.96); }
  .swipe-nav button:disabled { opacity: .3; }
  .lineage__line { display: none; }
  .gift { flex-basis: 78vw; }
  .step { flex-basis: 66vw; }
}

/* ---------- Family office: a seal that links out ---------- */
.family-office { background: var(--raised); overflow: hidden; }
.fo { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.fo__seal { grid-column: 2 / span 4; justify-self: center; position: relative; display: block; width: 100%; max-width: 440px; aspect-ratio: 1; }
.fo__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fo__ring text { font: 600 12px/1 var(--font); letter-spacing: .04em; fill: var(--lead); }
.fo__disc { position: absolute; inset: 16%; border-radius: 50%; background: var(--page); display: grid; place-items: center; box-shadow: 0 30px 60px rgba(0, 35, 46, .14); transition: box-shadow .4s var(--ease); }
.fo__disc img { width: 58%; height: auto; transition: transform .7s var(--ease); }
.fo__seal:hover .fo__disc { box-shadow: 0 36px 80px rgba(0, 35, 46, .24); }
.fo__seal:hover .fo__disc img { transform: scale(1.06); }
.fo__seal:focus-visible { outline-offset: 8px; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .fo__ring { animation: seal-spin 40s linear infinite; }
  .fo__seal:hover .fo__ring { animation-duration: 14s; }
}
.fo__body { grid-column: 7 / -1; display: grid; gap: 20px; justify-items: start; }
.fo__kicker { font-size: var(--t-small); font-weight: 600; color: var(--pop); }
.fo__title { font-size: clamp(2.75rem, 6vw, 6rem); font-weight: 500; letter-spacing: -.05em; line-height: .92; max-width: 8em; }
.fo__motto { font-size: var(--t-l); font-style: italic; line-height: 1.2; letter-spacing: -.015em; color: var(--lead); padding-left: 40px; position: relative; }
.fo__motto::before { content: ""; position: absolute; left: 0; top: .62em; width: 24px; height: 2px; background: var(--pop); }
.fo__btn { margin-top: 8px; }
@media (max-width: 1023px) {
  .fo__seal { grid-column: 1 / span 5; }
  .fo__body { grid-column: 6 / -1; }
}
@media (max-width: 767px) {
  .fo { grid-template-columns: 1fr; gap: 40px; }
  .fo__seal { grid-column: 1; width: min(76vw, 320px); }
  .fo__body { grid-column: 1; }
  .fo__btn { width: 100%; justify-content: center; }
}

/* ---------- Footer: social buttons ---------- */
.footer__social { margin-top: 28px; }
.footer__social-label { font-size: var(--t-small); font-weight: 600; color: var(--on-dark-quiet); margin-bottom: 12px; }
.footer__social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px;
  padding: 14px 22px 14px 18px; border: 1px solid var(--on-dark); border-radius: 2px;
  background: var(--on-dark); color: var(--text); text-decoration: none;
  font: 500 1rem/1 var(--font); white-space: nowrap;
  transition: background-color .15s ease-out, color .15s ease-out, transform .1s ease-out;
}
.social-btn svg { width: 22px; height: 22px; flex: none; display: block; }
.social-btn__arrow { margin-left: 2px; font-size: .9em; transition: transform .2s var(--ease); }
.social-btn:hover { background: transparent; color: var(--on-dark); }
.social-btn:hover .social-btn__arrow { transform: translate(2px, -2px); }
.social-btn:active { transform: scale(.98); }
.site-footer .social-btn:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 3px; }
@media (max-width: 767px) {
  .footer__social { margin-top: 24px; width: 100%; }
  .footer__social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .social-btn { justify-content: center; padding: 14px 12px; min-height: 54px; }
}
@media (max-width: 359px) {
  .footer__social-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .social-btn, .social-btn__arrow { transition: none; }
}
/* ---------- Scroll performance ---------- */
.fo__ring, .hero__seal-ring { will-change: transform; }
.fo__ring.is-offscreen, .hero__seal-ring.is-offscreen { animation-play-state: paused; will-change: auto; }


/* ---------- 2026-11-06: header always visible, solid once the page scrolls ---------- */
.site-header.is-hidden { transform: none; }
.site-header.is-over-hero.is-compact { background: var(--lead); border-bottom-color: var(--line-dark); }
