/* ==========================================================================
   Sadik Allana Private Office — styles.css  (v2)
   Layout concept: an architectural monograph. A 12-column editorial grid,
   offset headlines, hairlines instead of boxes, and photography that opens
   like an aperture as you scroll. Ivory → sand → ivory → navy rhythm;
   brass is the only accent.

   Every value is a token. In Elementor these map to Site Settings →
   Global Colors / Global Fonts and v4 Variables (see README).
   ========================================================================== */

:root {
  /* ---- Colour: brand ---- */
  --navy: #293D25;          /* Conservatory lead: flooded sections */
  --navy-raised: #34492F;
  --ink: #111111;           /* text and neutral controls */
  --sky: #316A90;           /* Conservatory support, deepened so white and silver type read on it */
  --focus: #111111;
  --ivory: #FFFFFF;
  --sand: #F4F4F5;
  --sand-deep: #E5E5E5;
  --stone: #D4D4D4;
  --brass: #C4A182;          /* Conservatory pop (clay): hairlines, marks, small text on dark only */
  --brass-deep: #7D5A40;     /* clay for small text on light (6:1) */
  --brass-deeper: #6A4B35;
  --grey-600: #6B6B6B;
  --grey-300: #A3A3A3;
  --error: #9A2E25;

  /* ---- Colour: roles (switch per surface) ---- */
  --bg: var(--ivory);
  --fg: var(--ink);
  --fg-soft: #333333;
  --fg-muted: var(--grey-600);
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.32);
  --label: var(--grey-600);
  --em: var(--navy);
  --tint: rgba(17, 17, 17, 0.035);

  /* ---- Image grade: one muted, warm monochrome treatment for every photo ---- */
  --grade: grayscale(0.9) contrast(1.05);
  --grade-mono: grayscale(1) contrast(1.06);

  /* ---- Type ---- */
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-text: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero: clamp(2.6rem, 1rem + 5.6vw, 7.25rem);
  --fs-mega: clamp(2.6rem, 1.1rem + 5.4vw, 6.75rem);
  --fs-quote: clamp(2rem, 1rem + 3.6vw, 4.75rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 3vw, 4.25rem);
  --fs-entry: clamp(1.4rem, 1.1rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 0.9vw, 1.875rem);
  --fs-statement: clamp(1.4rem, 1.05rem + 1.3vw, 2.25rem);
  --fs-lead: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem);
  --fs-sub: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-sm: 0.875rem;
  --fs-label: 0.75rem;
  --track-label: 0.14em;
  --track-display: -0.03em;

  /* ---- Layout & spacing ---- */
  --max: 1360px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --gap: clamp(16px, 2vw, 32px);
  --col: calc((100% + var(--gap)) / 12);
  --bleed: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --header-h: 92px;
  --header-h-sm: 68px;
  --s-section: clamp(5rem, 3rem + 7vw, 10rem);
  --s-xl: clamp(3rem, 2rem + 4vw, 6rem);
  --s-lg: clamp(2rem, 1.5rem + 2vw, 3.5rem);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --d-line: 0.8s;
  --d-fade: 0.65s;
  --d-draw: 0.9s;
  --d-image: 1.1s;
  --d-settle: 1s;
  --d-hover: 0.3s;
  --stagger-line: 0.08s;
  --stagger-fade: 0.06s;
  --em-lag: 0.04s;

  color-scheme: light;
}

.on-sand { --bg: var(--sand); }
.on-dark {
  --bg: var(--navy);
  --fg: var(--ivory);
  --fg-soft: rgba(255, 255, 255, 0.82);
  --fg-muted: var(--grey-300);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --label: var(--brass);
  --tint: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-sm);
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; color: transparent; font-size: 0; } /* never show alt text as a broken-image label */
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--ink); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: max(12px, env(safe-area-inset-left, 0px));
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--ivory);
  font-size: var(--fs-sm);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--d-hover) var(--ease);
}
.skip-link:focus { transform: none; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.grid > * { min-width: 0; }

.section {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--s-section);
  overflow-x: clip;
}

/* ==========================================================================
   Type
   ========================================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--track-display);
  text-wrap: balance;
  font-feature-settings: "lnum" 1, "kern" 1;
}
.display .rl { display: block; }
.em { font-style: normal; color: var(--em); }

.lead {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.3;
  color: var(--fg);
  text-wrap: pretty;
}
.body { color: var(--fg-soft); max-width: 54ch; text-wrap: pretty; }

.label {
  font-family: var(--font-text);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--label);
}

.label-row {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-bottom: var(--s-xl);
}
.label-row__index {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}
.label-row__rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--em);
  opacity: 0.7;
  transform-origin: left center;
}

/* ==========================================================================
   Links & buttons
   ========================================================================== */
.arr { display: inline-block; transition: transform var(--d-hover) var(--ease); font-family: var(--font-text); }

.link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0 0 0.35rem;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat;
  color: var(--fg);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease);
}
.link:hover, .link:focus-visible { background-size: 100% 1px, 100% 1px; }
.link:hover .arr, .link:focus-visible .arr,
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(4px); }
.link:hover .arr--ne, .link:focus-visible .arr--ne { transform: translate(3px, -3px); }
.link:hover .arr--up, .link:focus-visible .arr--up { transform: translateY(-4px); }

/* Buttons: a fill wipes up from the baseline on hover */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--wipe, var(--navy-raised));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn--ink { background: var(--ink); color: var(--ivory); --wipe: var(--brass-deep); }
.btn--brass { background: var(--brass-deep); color: var(--ivory); --wipe: var(--navy); }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--line-strong); --wipe: var(--fg); }
.btn--outline:hover, .btn--outline:focus-visible { color: var(--bg); border-color: var(--fg); }
.on-dark .btn--outline:hover { color: var(--ink); }
.panel .btn--outline:hover, .panel .btn--outline:focus-visible { color: var(--ivory); }
.btn--sm { min-height: 42px; padding: 0.7rem 1.15rem; font-size: 0.8125rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ==========================================================================
   Imagery
   ========================================================================== */
.media { position: relative; overflow: hidden; background: var(--sand-deep); }
.media__inner { position: absolute; inset: 0; }
.media img,
.media__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
}

/* .fx-parallax — image drifts against the scroll. --p is 0→1 through the viewport. */
.fx-parallax { --p: 0.5; }
.fx-parallax img {
  transform: translate3d(0, calc((var(--p) - 0.5) * var(--shift, -12%)), 0) scale(var(--zoom, 1.18));
  will-change: transform;
}

/* ==========================================================================
   Horizon ruler (desktop)
   ========================================================================== */
.horizon {
  position: fixed;
  left: max(20px, env(safe-area-inset-left, 0px));
  top: 50%;
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.5s var(--ease), opacity 0.6s var(--ease);
}
.horizon__label,
.horizon__index {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.horizon__index { color: var(--brass-deep); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.horizon.is-dark .horizon__index { color: var(--brass); }
.horizon__track {
  position: relative;
  width: 1px;
  height: 22vh;
  background: currentColor;
  opacity: 0.25;
}
.horizon__fill {
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}
.horizon.is-dark { color: var(--ivory); }

/* ==========================================================================
   1. Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.site-header.is-scrolled { background: var(--ivory); border-bottom-color: rgba(17, 17, 17, 0.12); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .site-header__bar { height: var(--header-h-sm); }

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wordmark__sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.on-dark .wordmark__sub, .menu .wordmark__sub { color: var(--brass); }

.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); }
.site-nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.nav-link {
  display: inline-flex;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}
/* Text roll: label slides up, a brass copy rises into place */
.roll {
  display: inline-block;
  overflow: hidden;
  line-height: 1.3;
  vertical-align: top;
  color: transparent;
  text-shadow: 0 0 0 var(--ink), 0 1.3em 0 var(--brass-deep);
  transition: text-shadow 0.45s var(--ease);
}
.nav-link:hover .roll,
.nav-link:focus-visible .roll { text-shadow: 0 -1.3em 0 var(--ink), 0 0 0 var(--brass-deep); }

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 0 0 1rem;
  border: 0;
  background: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  cursor: pointer;
}

/* Mobile menu */
.menu {
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--navy);
  color: var(--ivory);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-in-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu::backdrop { background: transparent; }
.menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2rem);
}
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h-sm); }
.menu__close {
  min-height: 44px;
  padding: 0 0 0 1rem;
  border: 0;
  background: none;
  color: var(--ivory);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  cursor: pointer;
}
.menu__list { margin-top: clamp(2rem, 8vh, 5rem); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.menu__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) { transition-delay: 0.18s; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: 0.23s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: 0.28s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: 0.33s; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: 0.38s; }
.menu__list a,
.menu__list button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 0;
  border: 0;
  background: none;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.15rem + 2.2vw, 2.1rem);
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.menu__num { font-family: var(--font-text); font-size: 0.75rem; color: var(--grey-300); letter-spacing: 0.1em; }
.menu__list .em { color: var(--brass); }
.menu__foot { margin-top: auto; padding-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.menu__foot p { font-size: var(--fs-sm); color: var(--grey-300); }

/* ==========================================================================
   2. Hero
   ========================================================================== */
.section.hero {
  display: flex;
  min-height: min(100svh, 64rem);
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(1.75rem, 3vw, 3rem);
}
.hero__inner { display: flex; flex-direction: column; gap: clamp(2rem, 4.5vw, 4rem); }
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero__meta-rule { width: clamp(18px, 3vw, 44px); height: 1px; background: var(--brass); opacity: 0.7; }

/* The Private Office seal (extracted from the client's card, tone-matched to ivory) */
.hero__seal { flex: none; }
.hero__seal-img {
  display: block;
  width: clamp(84px, 8vw, 128px);
  height: auto;
}

.hero__title {
  margin-top: auto;
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero__title .em { padding-left: var(--col); font-weight: 400; }

/* The aperture inside the word: an image set into the headline */
.hero__inlay {
  position: relative;
  display: inline-block;
  width: 1.9em;
  height: 0.72em;
  margin: 0 0.06em;
  vertical-align: -0.02em;
  overflow: hidden;
  background: var(--sand-deep);
}
.hero__inlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
}
.js .hero__inlay { background: transparent; }
.js .hero__inlay img { clip-path: inset(0 50% 0 50%); transform: scale(1.25); }
.js.hero-ready .hero__inlay img {
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: clip-path 1.3s var(--ease-in-out) 0.85s, transform 1.8s var(--ease) 0.85s;
}

.hero__foot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2rem;
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
}
.hero__rule {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
}
.hero__cue {
  grid-column: 1 / 5;
  align-self: end;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.85rem;
  width: max-content;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--d-hover) var(--ease);
}
.hero__cue:hover { color: var(--fg); }
.hero__cue-line {
  position: relative;
  width: 1px;
  height: 52px;
  background: var(--line-strong);
  overflow: hidden;
}
.hero__cue-line span {
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform-origin: top;
  transform: scaleY(var(--hero-p, 0));
}
.hero__aside { grid-column: 7 / 12; display: flex; flex-direction: column; gap: 1.75rem; }
.hero__sub { font-size: var(--fs-sub); line-height: 1.55; color: var(--fg-soft); max-width: 40ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

/* ==========================================================================
   3. The Office
   ========================================================================== */
.section.office { padding-top: 0; }

/* Aperture: pinned; the image opens from a slit to full bleed */
.aperture { position: relative; height: 230vh; --p: 1; }
.aperture__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.aperture__media {
  --e: clamp(0, var(--p) * 1.75, 1);
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(calc((1 - var(--e)) * 26%) calc((1 - var(--e)) * 41%));
  background: var(--stone);
}
.aperture__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transform: scale(calc(1.32 - var(--e) * 0.32));
}
.aperture__tint {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: calc(0.12 + var(--e) * 0.46);
}
.aperture__content {
  --t: clamp(0, (var(--p) - 0.42) * 3.2, 1);
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  color: var(--ivory);
  opacity: var(--t);
  transform: translateY(calc((1 - var(--t)) * 48px));
}
.label-row--plain { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.label-row__rule--scrub { transform: scaleX(var(--t, 1)); }
.aperture__title {
  font-size: var(--fs-mega);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.aperture__title .em { padding-left: calc(var(--col) * 2); font-weight: 400; }

.office__body { padding-top: var(--s-section); }
.office__grid { align-items: center; row-gap: var(--s-lg); }
.office__media { grid-column: 1 / 6; position: relative; margin-left: calc(-1 * var(--bleed)); padding-bottom: 14%; }
.media--tall { aspect-ratio: 4 / 5; width: 100%; }
.media--detail {
  position: absolute;
  right: -14%;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: clamp(6px, 0.8vw, 12px) solid var(--sand);
  box-sizing: content-box;
}
.office__copy {
  grid-column: 7 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.office__lead {
  font-family: var(--font-display);
  font-size: var(--fs-statement);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: pretty;
}

/* .fx-words — words light up one by one as the block scrolls through */
.fx-words {
  --p: 1;
  --q: clamp(0, (var(--p) - var(--from, 0)) / (var(--to, 1) - var(--from, 0)), 1);
}
.fx-words .w {
  opacity: clamp(var(--dim, 0.18), (var(--q) * (var(--n, 1) + 4) - var(--i, 0)) / 4, 1);
  transition: opacity 0.12s linear;
}

/* Scroll-linked band from the three pillars */
.band {
  --p: 0.5;
  margin-top: var(--s-section);
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
  padding-block: clamp(1rem, 2vw, 2rem);
}
.band__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.2rem + 7.2vw, 9.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  transform: translate3d(calc(4% - var(--p) * 34%), 0, 0);
  will-change: transform;
}
.band__word { color: transparent; -webkit-text-stroke: 1px rgba(17, 17, 17, 0.38); }
.band__word--em { font-style: normal; -webkit-text-stroke-color: var(--brass); }
.band__dot { width: 0.12em; height: 0.12em; border-radius: 50%; background: var(--brass); flex: none; }

.pillars {
  margin-top: var(--s-xl);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.5rem) 0;
  min-width: 0;
}
.pillar:first-child { padding-left: 0; }
.pillar + .pillar { border-left: 1px solid var(--line-strong); }
.pillar__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 2.2vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.pillar__body { display: flex; flex-direction: column; gap: 0.5rem; }
.pillar__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 500; line-height: 1.1; }
.pillar__text { color: var(--fg-soft); font-size: var(--fs-sm); max-width: 30ch; }

/* ==========================================================================
   4. Areas of Focus
   ========================================================================== */
.focus__grid { align-items: start; row-gap: var(--s-lg); }
.focus__aside { grid-column: 1 / 5; align-self: stretch; }
.focus__sticky {
  position: sticky;
  top: calc(var(--header-h-sm) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.focus__title { font-size: var(--fs-h2); }
.focus__sticky .body { max-width: 34ch; }

.focus__viewer { margin-top: 0.5rem; }
.focus__frame {
  position: relative;
  aspect-ratio: 5 / 4;
  max-height: 38vh;
  width: 100%;
  overflow: hidden;
  background: var(--sand-deep);
}
.focus__img {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.9s var(--ease-in-out);
}
.focus__img.is-active { clip-path: inset(0 0 0 0); }
.focus__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transform: scale(1.12);
  transition: transform 1.6s var(--ease);
}
.focus__img.is-active img { transform: scale(1); }
.focus__count {
  position: absolute;
  right: 0.9rem;
  bottom: 0.75rem;
  z-index: 20;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
  mix-blend-mode: difference;
}
.focus__caption {
  margin-top: 0.85rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--label);
}

.focus__list { grid-column: 6 / -1; border-top: 1px solid var(--line-strong); counter-reset: f; }
.focus-row { border-bottom: 1px solid var(--line); position: relative; }
.focus-row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.focus-row.is-current::before, .focus-row.is-open::before { transform: scaleX(1); }
.focus-row__h { margin: 0; font: inherit; }
.focus-row__head,
.focus-row__inner {
  display: grid;
  grid-template-columns: 2.75rem minmax(8.5rem, 11.5rem) minmax(0, 1fr) 2.75rem;
  column-gap: clamp(0.75rem, 1.8vw, 1.75rem);
  padding-inline: clamp(0rem, 1vw, 0.75rem);
}
.focus-row__head {
  width: 100%;
  align-items: baseline;
  padding-block: clamp(1.35rem, 2.2vw, 2rem);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--d-hover) var(--ease);
}
.focus-row__head:hover, .focus-row.is-open .focus-row__head { background: var(--tint); }
.focus-row__num { font-size: var(--fs-sm); font-weight: 500; color: var(--fg-muted); font-variant-numeric: tabular-nums; transition: color var(--d-hover) var(--ease); }
.focus-row.is-current .focus-row__num, .focus-row.is-open .focus-row__num { color: var(--brass-deep); }
.focus-row__cat { font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--label); }
.focus-row__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: transform 0.5s var(--ease), font-style 0s;
}
.focus-row.is-open .focus-row__title { transform: translateX(8px); }
.focus-row__icon { position: relative; justify-self: end; align-self: center; width: 14px; height: 14px; }
.focus-row__icon::before,
.focus-row__icon::after { content: ""; position: absolute; background: var(--fg); transition: transform 0.45s var(--ease), opacity 0.45s var(--ease); }
.focus-row__icon::before { left: 0; right: 0; top: 50%; height: 1px; }
.focus-row__icon::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.focus-row.is-open .focus-row__icon::after { transform: rotate(90deg); opacity: 0; }

.focus-row__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.55s var(--ease); }
.js .focus-row__body { grid-template-rows: 0fr; }
.js .focus-row.is-open .focus-row__body { grid-template-rows: 1fr; }
.focus-row__clip { overflow: hidden; min-height: 0; }
.focus-row__inner { align-items: start; padding-bottom: clamp(1.5rem, 2.4vw, 2.25rem); background: var(--tint); }
.focus-row__img { display: none; }
.focus-row__desc { grid-column: 3 / 4; color: var(--fg-soft); max-width: 46ch; transition: opacity 0.45s var(--ease) 0.1s, transform 0.55s var(--ease) 0.1s; }
.js .focus-row:not(.is-open) .focus-row__desc { opacity: 0; transform: translateY(8px); transition-delay: 0s; }
.focus-row__go {
  grid-column: 4 / 5;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background-color var(--d-hover) var(--ease), color var(--d-hover) var(--ease), border-color var(--d-hover) var(--ease);
}
.focus-row__go:hover, .focus-row__go:focus-visible { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.focus-row__go:hover .arr, .focus-row__go:focus-visible .arr { transform: translateX(4px); }

/* ==========================================================================
   5. Philosophy — pinned
   ========================================================================== */
.philosophy { position: relative; height: 260vh; background: var(--ivory); --p: 1; }
.philosophy__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.philosophy__panel {
  --e: clamp(0, var(--p) * 5, 1);
  position: absolute;
  inset: 0;
  background: var(--navy);
  clip-path: inset(calc((1 - var(--e)) * 9%) calc((1 - var(--e)) * 7%));
  overflow: hidden;
}
.philosophy__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade-mono);
  mix-blend-mode: luminosity;
  opacity: 0.2;
  transform: scale(calc(1.18 - var(--p) * 0.18));
}
.philosophy__frame {
  --e: clamp(0, (var(--p) - 0.12) * 6, 1);
  position: absolute;
  inset: clamp(12px, 2.4vw, 36px);
  border: 1px solid rgba(196, 161, 130, 0.5);
  opacity: var(--e);
  transform: scale(calc(1.02 - var(--e) * 0.02));
  pointer-events: none;
}
.philosophy__content { position: relative; z-index: 2; width: 100%; color: var(--ivory); }
.philosophy__figure {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: var(--s-lg);
}
.philosophy__quote { grid-column: 2 / -1; position: relative; }
.philosophy__mark {
  position: absolute;
  top: 0;
  right: calc(100% + 0.06em);
  font-family: var(--font-display);
  font-size: var(--fs-quote);
  font-weight: 400;
  line-height: 1.04;
  color: var(--brass);
  opacity: clamp(0, (var(--p) - 0.15) * 8, 1);
}
.philosophy__text {
  --dim: 0.14;
  font-size: var(--fs-quote);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.022em;
  max-width: 17ch;
  text-wrap: balance;
}
.philosophy__em { display: block; padding-left: calc(var(--col) * 1.2); font-weight: 400; }
.philosophy__cite {
  grid-column: 8 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--brass);
  opacity: clamp(0, (var(--p) - 0.78) * 7, 1);
  transform: translateY(calc((1 - clamp(0, (var(--p) - 0.78) * 7, 1)) * 16px));
}
.philosophy__cite::before { content: ""; width: 48px; height: 1px; background: currentColor; flex: none; }

/* ==========================================================================
   6. Insights
   ========================================================================== */
.insights__head { align-items: end; row-gap: 2rem; }
.insights__title { grid-column: 1 / 8; font-size: var(--fs-h2); }
.insights__more { grid-column: 9 / -1; justify-self: end; margin-bottom: 0.6rem; }

.entries { margin-top: var(--s-xl); border-top: 1px solid var(--line-strong); }
.entry { border-bottom: 1px solid var(--line); }
.entry__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 0.75rem;
  align-items: start;
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
}
.entry__inner::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * clamp(0.75rem, 1.5vw, 1.5rem));
  z-index: -1;
  background: var(--sand);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease);
}
.entry:hover .entry__inner::before, .entry:focus-within .entry__inner::before { transform: scaleY(1); }
.entry__meta { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 0.4rem; padding-top: 0.55rem; }
.entry__cat { font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--label); }
.entry__date { font-size: var(--fs-sm); color: var(--fg-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.entry__thumb {
  grid-column: 3 / 5;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-deep);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.7s var(--ease);
}
.entry__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transform: scale(1.04);
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.entry:hover .entry__thumb img, .entry:focus-within .entry__thumb img { transform: scale(1.12); filter: grayscale(0.5) sepia(0.12) contrast(1.05); }
@media (hover: hover) and (min-width: 1100px) {
  .entry__thumb { clip-path: inset(0 0 0 100%); }
  .entry:hover .entry__thumb, .entry:focus-within .entry__thumb, .entry:first-child .entry__thumb { clip-path: inset(0 0 0 0); }
  .entries:hover .entry:first-child:not(:hover) .entry__thumb { clip-path: inset(0 0 0 100%); }
}
.entry__main { grid-column: 5 / 11; display: flex; flex-direction: column; gap: 0.75rem; }
.entry__title { font-family: var(--font-display); font-size: var(--fs-entry); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.entry__link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left 92% / 0% 1px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.45s var(--ease);
}
.entry__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.entry:hover .entry__link, .entry__link:focus-visible { background-size: 100% 1px; }
.entry__link:focus-visible { outline: none; }
.entry:has(.entry__link:focus-visible) .entry__inner { outline: 2px solid var(--focus); outline-offset: 4px; }
.entry__sum { color: var(--fg-soft); max-width: 56ch; }
.entry__cta {
  grid-column: 11 / -1;
  justify-self: end;
  padding-top: 0.55rem;
  display: inline-flex;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}
.entry:hover .entry__cta .arr { transform: translate(3px, -3px); }

/* ==========================================================================
   7. Leadership
   ========================================================================== */
.leadership__grid { align-items: center; row-gap: var(--s-lg); }
.leadership__portrait {
  --p: 1;
  --u: clamp(0, var(--p) * 2.4, 1);
  grid-column: 1 / 7;
  position: relative;
  margin-left: calc(-1 * var(--bleed));
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
  clip-path: inset(calc((1 - var(--u)) * 14%) calc((1 - var(--u)) * 18%) calc((1 - var(--u)) * 14%) 0);
}
.leadership__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: var(--grade-mono);
}
.leadership__plate {
  position: absolute;
  left: calc(var(--bleed) + clamp(1rem, 2vw, 1.75rem));
  bottom: clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory);
  opacity: clamp(0, (var(--u) - 0.7) * 4, 1);
}
.leadership__plate span:first-child { color: var(--brass); }
.leadership__copy { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-block: var(--s-lg); }
.leadership__name { font-size: clamp(2.4rem, 1.2rem + 4vw, 5.25rem); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.leadership__name .em { padding-left: 0.6em; font-weight: 400; }
.leadership__role {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
  width: 100%;
}
.leadership__copy .lead { max-width: 28ch; }

.signature { margin-top: 0.75rem; }
.signature__img { display: block; width: min(260px, 66vw); height: auto; }
/* Drawn on left to right, like a pen stroke */
.js .signature .signature__img { clip-path: inset(0 100% 0 0); }
.js .signature.is-in .signature__img { clip-path: inset(0 0 0 0); transition: clip-path 1.9s var(--ease-in-out) 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .js .signature .signature__img { clip-path: none; transition: none; }
}

/* ==========================================================================
   8. Private Enquiries
   ========================================================================== */
.enquiries__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 44%;
  overflow: hidden;
  background: var(--navy);
}
.enquiries__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade-mono);
  mix-blend-mode: luminosity;
  opacity: 0.38;
}
.enquiries__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(196, 161, 130, 0.4);
}
.enquiries__wrap { position: relative; z-index: 1; }
.enquiries__grid { align-items: end; row-gap: var(--s-xl); }
.enquiries__copy { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 1.75rem; }
.enquiries__title { font-size: var(--fs-h2); }
.enquiries__copy .body { max-width: 44ch; }

.details { margin-top: 1rem; border-bottom: 1px solid var(--line); }
.details__row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.details dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-muted); }
.details dd { font-family: var(--font-display); font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.3; color: var(--fg); overflow-wrap: anywhere; }
.details dd a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left 95% / 0% 1px no-repeat; transition: background-size 0.45s var(--ease); }
.details dd a:hover, .details dd a:focus-visible { background-size: 100% 1px; }

.panel {
  grid-column: 8 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  background: var(--ivory);
  color: var(--ink);
  --fg: var(--ink);
  --bg: var(--ivory);
  --fg-soft: #333333;
  --line-strong: rgba(17, 17, 17, 0.32);
  --label: var(--grey-600);
  --tint: rgba(17, 17, 17, 0.04);
}
.panel__title { font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.25rem); line-height: 1.05; }
.panel__text { color: var(--fg-soft); max-width: 36ch; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }

/* ==========================================================================
   9. Enquiry dialog + form
   ========================================================================== */
.enquiry {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(980px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  overflow: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.7s var(--ease-in-out);
}
.enquiry.is-open { clip-path: inset(0 0 0 0); }
.enquiry::backdrop { background: rgba(17, 17, 17, 0); transition: background-color 0.5s var(--ease); }
.enquiry.is-open::backdrop { background: rgba(17, 17, 17, 0.6); }
.enquiry__layout { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); height: 100%; }
.enquiry__aside { position: relative; overflow: hidden; background: var(--navy); }
.enquiry__aside img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); opacity: 0.85; transform: scale(1.12); transition: transform 1.6s var(--ease) 0.2s; }
.enquiry.is-open .enquiry__aside img { transform: scale(1); }
.enquiry__aside-cap {
  position: absolute;
  left: 1.5rem; bottom: 1.5rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ivory);
}
.enquiry__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.enquiry__inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  min-height: 100%;
  padding:
    calc(env(safe-area-inset-top, 0px) + clamp(1.5rem, 3vw, 2.5rem))
    max(clamp(1.25rem, 4vw, 3.5rem), env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + clamp(1.5rem, 3vw, 2.5rem))
    clamp(1.25rem, 4vw, 3.5rem);
}
.enquiry__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-strong); }
.enquiry__close { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0; border: 0; background: none; font-size: var(--fs-sm); font-weight: 500; cursor: pointer; }
.enquiry__close kbd { font-family: var(--font-text); font-size: 0.6875rem; padding: 0.15rem 0.4rem; border: 1px solid var(--line-strong); color: var(--fg-muted); }
.enquiry__title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.02; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.75rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 0.8125rem; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.field__opt { font-weight: 400; color: var(--fg-muted); }
.field__control {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--d-hover) var(--ease), box-shadow var(--d-hover) var(--ease);
}
.field__control::placeholder { color: #8A8A8A; }
.field__control:hover { border-bottom-color: var(--ink); }
.field__control:focus, .field__control:focus-visible { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
textarea.field__control { min-height: 120px; resize: vertical; }
select.field__control {
  padding-right: 2rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111A2B' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
}
.field.is-invalid .field__control { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field.is-valid .field__control { border-bottom-color: var(--ink); }
.field__error { min-height: 1.25rem; font-size: 0.8125rem; line-height: 1.4; color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; font-size: 0.8125rem; line-height: 1.5; color: var(--error); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; padding-top: 0.5rem; }
.form__note { flex: 1 1 16rem; font-size: 0.8125rem; line-height: 1.55; color: var(--fg-muted); }
.enquiry__success { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-top: 1rem; }
.enquiry__success:focus { outline: none; }
.enquiry__success .body { max-width: 40ch; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--ivory);
  padding-top: var(--s-xl);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(1.5rem, 3vw, 2.5rem));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  overflow-x: clip;
}
.footer__top { align-items: start; row-gap: 2.5rem; }
.footer__mark { grid-column: 1 / 5; }
.footer__nav { grid-column: 6 / 10; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.footer__nav a { font-size: var(--fs-sm); text-decoration: none; color: var(--grey-300); transition: color var(--d-hover) var(--ease); }
.footer__nav a:hover, .footer__nav a:focus-visible { color: var(--ivory); }
.footer__back { grid-column: 10 / -1; justify-self: end; }
.footer__giant {
  margin-top: var(--s-xl);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 0.6rem + 7.2vw, 8.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.92);
}
.footer__giant .em { display: block; padding-left: calc(var(--col) * 3); font-weight: 400; color: var(--brass); }
.footer__base {
  margin-top: var(--s-lg);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--grey-300);
}
.footer__legal { max-width: 70ch; }
.confirm { color: var(--brass); font-weight: 500; letter-spacing: 0.04em; }

/* ==========================================================================
   Reveal system (IntersectionObserver, plays once)
   ========================================================================== */
.js .reveal-fade { opacity: 0; transform: translateY(20px); }
.js .reveal-fade.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--d-fade) var(--ease) var(--delay, 0s), transform var(--d-fade) var(--ease) var(--delay, 0s);
}
.js .reveal-rise { opacity: 0; transform: translateY(80px); clip-path: inset(0 0 100% 0); }
.js .reveal-rise.is-in {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0);
  transition: opacity 0.6s var(--ease) var(--delay, 0s), transform 1.1s var(--ease) var(--delay, 0s), clip-path 1.1s var(--ease-in-out) var(--delay, 0s);
}
.js .reveal-line-draw { transform: scaleX(0); transform-origin: left center; }
.js .reveal-line-draw.is-in { transform: scaleX(1); transition: transform var(--d-draw) var(--ease) var(--delay, 0s); }
.js .reveal-image { clip-path: inset(100% 0 0 0); }
.js .reveal-image > .media__inner { transform: scale(1.06); }
.js .reveal-image.is-in { clip-path: inset(0 0 0 0); transition: clip-path var(--d-image) var(--ease-in-out) var(--delay, 0s); }
.js .reveal-image.is-in > .media__inner { transform: none; transition: transform var(--d-image) var(--ease) var(--delay, 0s); }
.media__inner { transform-origin: 50% 60%; }
.js .reveal-settle { opacity: 0; transform: scale(0.96); }
.js .reveal-settle.is-in { opacity: 1; transform: none; transition: opacity var(--d-settle) var(--ease), transform var(--d-settle) var(--ease); }

.js .reveal-lines:not(.is-split):not(.is-done) .rl { opacity: 0; }
.reveal-lines .mask {
  display: block;
  overflow: hidden;
  padding: 0.08em 0.14em 0.12em 0;
  margin: -0.08em -0.14em -0.12em 0;
}
.reveal-lines .mask-inner {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--d-line) var(--ease), opacity var(--d-line) var(--ease);
}
.reveal-lines.is-in .mask-inner { transform: none; opacity: 1; }
.is-instant, .is-instant > *, .is-instant .mask-inner { transition: none !important; }

/* ==========================================================================
   Wide desktop: show the horizon ruler
   ========================================================================== */
@media (min-width: 1280px) {
  .horizon { display: flex; }
}

/* ==========================================================================
   Tablet (768–1099px)
   ========================================================================== */
@media (max-width: 1099px) {
  :root { --header-h: 80px; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }

  .hero__aside { grid-column: 6 / -1; }
  .hero__cue { grid-column: 1 / 6; }

  .aperture { height: 200vh; }
  .aperture__title .em { padding-left: var(--col); }

  .office__media { grid-column: 1 / 7; }
  .office__copy { grid-column: 7 / -1; }
  .media--detail { right: -8%; }

  .focus__aside { grid-column: 1 / -1; }
  .focus__sticky { position: static; }
  .focus__sticky .body { max-width: 46ch; }
  .focus__viewer { display: none; }
  .focus__list { grid-column: 1 / -1; }
  .focus-row__img { display: block; grid-column: 3 / 5; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: var(--grade); margin-bottom: 1rem; }

  .philosophy { height: 220vh; }
  .philosophy__cite { grid-column: 6 / -1; }

  .insights__title { grid-column: 1 / 9; }
  .insights__more { grid-column: 9 / -1; }
  .entry__meta { grid-column: 1 / 4; }
  .entry__thumb { grid-column: 4 / 7; }
  .entry__main { grid-column: 7 / -1; }
  .entry__cta { grid-column: 7 / -1; justify-self: start; padding-top: 0.25rem; }

  .leadership__portrait { grid-column: 1 / 7; }
  .leadership__copy { grid-column: 7 / -1; }

  .enquiries__media { width: 100%; height: 40%; top: auto; bottom: 0; }
  .enquiries__media::after { border-left: 0; border-top: 1px solid rgba(196, 161, 130, 0.4); }
  .enquiries__copy { grid-column: 1 / -1; }
  .panel { grid-column: 4 / -1; }

  .enquiry { width: min(640px, 100%); }
  .enquiry__layout { grid-template-columns: minmax(0, 1fr); }
  .enquiry__aside { display: none; }

  .footer__mark { grid-column: 1 / 7; }
  .footer__nav { grid-column: 7 / -1; }
  .footer__back { grid-column: 1 / -1; justify-self: start; }
}

/* ==========================================================================
   Mobile (<768px) — asymmetry collapses to one clean column
   ========================================================================== */
@media (max-width: 767px) {
  :root { --header-h: 72px; --stagger-line: 0.05s; --stagger-fade: 0.05s; }

  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > * { grid-column: 1 / -1 !important; }
  .wordmark__name { font-size: 1.125rem; }

  .section.hero { min-height: 100svh; }
  .hero__meta { gap: 0.6rem; font-size: 0.625rem; }
  .hero__title .em { padding-left: 0; }
  .hero__inlay { width: 1.6em; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
  .hero__foot > * { grid-column: 1 / -1; }
  .hero__aside { order: 1; }
  .hero__cue { order: 2; }
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  .label-row { margin-bottom: var(--s-lg); }

  .aperture { height: 170vh; }
  .aperture__title .em { padding-left: 0; }

  .office__media { margin-left: calc(-1 * var(--gutter)); margin-right: 18%; padding-bottom: 18%; }
  .media--detail { right: -22%; width: 50%; }
  .office__lead { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem); }
  .band__track { font-size: clamp(2.6rem, 1.5rem + 6vw, 3.75rem); }
  .pillars { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .pillar, .pillar:first-child {
    padding: 1.75rem 0;
    border-top: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    column-gap: 1rem;
  }
  .pillar + .pillar { border-left: 0; }
  .pillar__num { font-size: 3rem; margin: 0; }

  .focus-row__head, .focus-row__inner { grid-template-columns: 2rem minmax(0, 1fr) 1.25rem; column-gap: 0.75rem; padding-inline: 0; }
  .focus-row__head { align-items: start; row-gap: 0.4rem; }
  .focus-row__num { grid-column: 1; grid-row: 1 / 3; padding-top: 0.1rem; }
  .focus-row__cat { grid-column: 2; grid-row: 1; }
  .focus-row__title { grid-column: 2; grid-row: 2; }
  .focus-row__icon { grid-column: 3; grid-row: 1 / 3; }
  .focus-row.is-open .focus-row__title { transform: none; }
  .focus-row__inner { background: transparent; row-gap: 1rem; }
  .focus-row__head:hover, .focus-row.is-open .focus-row__head { background: transparent; }
  .focus-row__img { grid-column: 2 / 4; margin-bottom: 0; }
  .focus-row__desc { grid-column: 2 / 4; }
  .focus-row__go { grid-column: 2 / 3; justify-self: start; }

  .philosophy { height: 200vh; }
  .philosophy__figure { grid-template-columns: minmax(0, 1fr); }
  .philosophy__quote, .philosophy__cite { grid-column: 1 / -1; }
  .philosophy__mark { position: static; display: block; line-height: 0.6; margin-bottom: 0.1em; }
  .philosophy__em { padding-left: 0; }

  .insights__more { justify-self: start; }
  .entry__inner { grid-template-columns: minmax(0, 1fr); }
  .entry__inner > * { grid-column: 1 / -1 !important; }
  .entry__inner::before { inset: 0 calc(-1 * var(--gutter)); }
  .entry__meta { flex-direction: row; align-items: baseline; gap: 1rem; padding-top: 0; order: -1; }
  .entry__thumb { aspect-ratio: 16 / 9; }
  .entry__cta { justify-self: start; padding-top: 0.25rem; }

  .leadership__portrait { margin-left: calc(-1 * var(--gutter)); margin-right: 12%; }
  .leadership__plate { left: calc(var(--gutter) + 1rem); }
  .leadership__copy { padding-block: 0; }

  .enquiries__media { height: 32%; }
  .details__row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .panel { margin-inline: calc(-1 * var(--gutter) + 8px); }
  .panel__actions { flex-direction: column; align-items: stretch; width: 100%; }

  .form { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .enquiry { width: 100%; }

  .footer__top > * { justify-self: start; }
  .footer__giant .em { padding-left: 0.6em; }
}

/* ==========================================================================
   Reduced motion — simple fades, no scrubbing, no pinning
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal-fade, .js .reveal-rise, .js .reveal-settle, .js .reveal-image > .media__inner { transform: none; }
  .js .reveal-image, .js .reveal-rise { clip-path: none; opacity: 0; }
  .js .reveal-line-draw { transform: none; opacity: 0; }
  .js .reveal-fade.is-in, .js .reveal-rise.is-in, .js .reveal-settle.is-in, .js .reveal-image.is-in, .js .reveal-line-draw.is-in {
    opacity: 1; transform: none; clip-path: none; transition: opacity 0.4s ease;
  }
  .reveal-lines .rl { transition: opacity 0.5s ease; }
  .js .hero__inlay img { clip-path: none; transform: none; }

  .aperture, .philosophy { height: auto; }
  .aperture__sticky, .philosophy__sticky { position: relative; min-height: 90vh; }
  .aperture, .aperture *, .philosophy, .philosophy *, .fx-words, .band, .leadership__portrait, .fx-parallax { --p: 1 !important; }
  .fx-parallax img { transform: none; }
  .band__track { transform: none; }
  .menu, .enquiry { transition: opacity 0.2s ease; clip-path: none; }
  .menu__list li { opacity: 1; transform: none; }
  .focus-row__body, .focus-row__title, .focus-row__desc, .focus__img, .focus__img img { transition: none; }
  .arr, .btn::before, .roll { transition: none; }
}


/* ==========================================================================
   Palette pass, 2026-11-02 (Oxfords): Conservatory on white.
   Neutral base everywhere; deep green floods the dark sections, sky floods
   the leadership section, clay is the small mark. Controls stay neutral.
   ========================================================================== */
.on-dark { --em: var(--brass); --focus: #FFFFFF; }
.site-footer.on-dark, .site-footer { --bg: #0A0A0A; background: #0A0A0A; }
.menu { background: #0A0A0A; --focus: #FFFFFF; }
.section.leadership.on-sand {
  --bg: var(--sky);
  background: var(--sky);
  --fg: #FFFFFF;
  --fg-soft: rgba(255, 255, 255, 0.9);
  --fg-muted: rgba(255, 255, 255, 0.85);
  --label: #FFFFFF;
  --line: rgba(255, 255, 255, 0.25);
  --line-strong: rgba(255, 255, 255, 0.45);
  --tint: rgba(255, 255, 255, 0.06);
  --em: #C9CED3;            /* silver */
  --brass: #C9CED3;
  --brass-deep: #FFFFFF;
  --focus: #FFFFFF;
}
.leadership__plate span:first-child { color: #FFFFFF; }
.leadership .signature__img { filter: brightness(0) invert(1); opacity: 0.9; }

/* Portrait framing: keep the head in frame. Anchor to the top, zoom from the top edge, no vertical drift. */
.leadership__portrait { --shift: 0% !important; }
.leadership__portrait img { object-position: 50% 0%; transform-origin: 50% 0%; --zoom: 1.2; }

/* Phone pass, 2026-11-02: nothing under 11px, 44px tap targets on touch screens. */
@media (max-width: 767px) { .wordmark__sub, .hero__meta, .hero__meta span { font-size: 11px; } }
@media (pointer: coarse) {
  .footer__nav a, .footer__back, .hero__ctas .link, .link, .details dd a, .panel a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__nav ul { gap: 0 1.5rem; }
}


/* ==========================================================================
   Footer, rebuilt 2026-11-02: one top row (brand, links, social buttons),
   one quiet base line. No repeated giant wordmark.
   ========================================================================== */
.sf__top { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2.5rem 4rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.sf__places { margin: 0.75rem 0 0; font-size: var(--fs-sm); color: var(--grey-300); }
.sf__nav ul, .sf__social { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.sf__nav ul { gap: 0 2rem; }
.sf__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; color: var(--grey-300); text-decoration: none; transition: color 150ms ease-out; }
.sf__nav a:hover, .sf__nav a:focus-visible { color: #FFFFFF; }
.sf__social { gap: 0.75rem; }
.sf__btn { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 52px; padding: 0 1.25rem; border: 1px solid rgba(255, 255, 255, 0.4); color: #FFFFFF; font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out; }
.sf__btn:hover, .sf__btn:focus-visible { background: #FFFFFF; border-color: #FFFFFF; color: #0A0A0A; }
.sf__btn:active { transform: translateY(1px); }
.sf__btn svg { flex: none; width: 20px; height: 20px; fill: currentColor; }
.sf__ext { opacity: 0.6; }
.sf__base { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; line-height: 1.5; color: var(--grey-300); }
.sf__base p { margin: 0; }
.sf__legal { max-width: 68ch; }
.sf__back { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; color: #FFFFFF; text-decoration: none; white-space: nowrap; }
.sf__back:hover, .sf__back:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 768px) and (max-width: 1100px) {
  .sf__top { grid-template-columns: 1fr auto; }
  .sf__brand { grid-column: 1 / -1; }
  .sf__base { grid-template-columns: 1fr auto; }
  .sf__legal { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 767px) {
  .sf__top { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .sf__social { order: 2; display: grid; grid-template-columns: 1fr 1fr; }
  .sf__nav { order: 3; }
  .sf__btn { width: 100%; justify-content: center; }
  .sf__nav ul { gap: 0 1.5rem; }
  .sf__base { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ==========================================================================
   2026-11-06
   - Header stays on screen at all times.
   - Philosophy: the quote waits until the panel has fully opened, so its
     first frame never sits half outside the panel.
   ========================================================================== */
.site-header.is-hidden { transform: none; }
.philosophy__content { opacity: clamp(0, (var(--p) - 0.13) * 14, 1); }
