/* ==========================================================================
   Eros Group — Design tokens
   ========================================================================== */
:root {
  --color-ink: #14171a;
  --color-ink-soft: #4a4e53;
  --color-muted: #8a8e92;
  --color-line: rgba(4, 15, 42, 0.16);
  --color-line-soft: rgba(4, 15, 42, 0.1);
  --color-paper: #ffffff;
  --color-stone: #f3ede1;     /* light beige */
  --color-blue: #040f2a;      /* navy — matches the Eros Group logo background, primary brand accent */
  --color-blue-deep: #040f2a; /* same navy — for large dark surfaces, kept as one token so the logo drops in seamlessly */
  --color-gold: #b08d57;      /* muted antique gold — decorative use (borders, lines) */
  --color-gold-text: #8a6a3d; /* darker gold — passes AA contrast for text on light backgrounds */
  --color-gold-soft: rgba(176, 141, 87, 0.16);
  --color-dark: #040f2a;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1440px;
  --container-narrow: 980px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 0.9s;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Preloader — minimal, disappears fast, never blocks content
   ========================================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--color-blue-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-box {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 44px;
}
.preloader-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.preloader-frame rect {
  fill: none; stroke: var(--color-gold); stroke-width: 1;
  stroke-dasharray: 560; stroke-dashoffset: 560;
  animation: preloaderDraw 1.8s ease-in-out infinite;
}
@keyframes preloaderDraw {
  0%   { stroke-dashoffset: 560; opacity: 0.4; }
  50%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -560; opacity: 0.4; }
}
.preloader-mark {
  position: relative; height: 72px; width: auto;
  opacity: 0.95;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-frame rect { animation: none; stroke-dashoffset: 0; opacity: 0.6; }
  .preloader-mark { animation: none; opacity: 1; }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
  font-weight: 700;
  margin: 0 0 20px;
}
.eyebrow--light { color: rgba(255,255,255,0.8); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
.section-title--sm { font-size: clamp(26px, 2.8vw, 36px); }
.section-title--nowrap { font-size: clamp(24px, 2.4vw, 40px); }
@media (min-width: 640px) {
  .section-title--nowrap { white-space: nowrap; }
}

.section-head { max-width: 640px; margin: 0 0 64px; }
.section-head--wide { max-width: none; }
.section-head--split {
  max-width: none;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}

.link-underline {
  display: inline-block; position: relative;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-ink); text-decoration: none;
  padding-bottom: 6px;
  transition: color var(--dur-med) var(--ease);
}
.link-underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left;
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.link-underline:hover { color: var(--color-gold-text); }
.link-underline--light { color: #fff; }
.link-underline--light::after { background: rgba(255,255,255,0.7); }
.link-underline--light:hover { color: #fff; }
.link-underline--light:hover::after { background: #fff; }

.link-arrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn--light { background: #fff; color: var(--color-ink); }
.btn--light:hover { background: rgba(255,255,255,0.85); }
.btn--outline-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.site-header.is-scrolled, .site-header.nav-open {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--color-line-soft);
}
/* backdrop-filter forces an expensive per-frame recompute of everything
   behind a fixed header while scrolling — a well-known mobile jank source.
   Keep the blur on desktop where it's cheap; skip it on touch-sized viewports. */
@media (min-width: 901px) {
  .site-header.is-scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand-logo {
  height: clamp(30px, 3.6vw, 38px); width: auto;
  transition: filter var(--dur-fast) ease;
}
/* logo-compact-white.png is a white mark — correct as-is over the transparent/dark hero header.
   Invert it to dark ink once the header goes white on scroll. */
.is-scrolled .brand-logo, .nav-open .brand-logo { filter: invert(1); }

.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.primary-nav a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  color: #fff; opacity: 0.85; text-decoration: none; white-space: nowrap;
  transition: opacity var(--dur-fast) ease, color var(--dur-fast) ease;
}
.primary-nav a:hover { opacity: 1; }
.is-scrolled .primary-nav a { color: var(--color-ink); }
.primary-nav .nav-cta { opacity: 1; border-bottom: 1px solid var(--color-gold); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  position: relative;
  align-items: center; justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) ease;
}
.menu-toggle:active { transform: scale(0.9); }
.is-scrolled .menu-toggle, .nav-open .menu-toggle { border-color: var(--color-line); }
.menu-toggle span {
  position: absolute;
  width: 20px; height: 1px; background: #fff;
  transition: transform var(--dur-med) var(--ease), background var(--dur-fast) ease, width var(--dur-fast) var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle.is-open span:first-child { transform: translateY(0) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(0) rotate(-45deg); width: 20px; }
.is-scrolled .menu-toggle span, .nav-open .menu-toggle span { background: var(--color-ink); }

.mobile-nav {
  display: none;
  flex-direction: column; gap: 2px;
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 100%); overflow-y: auto;
  background: #fff;
  border-top: 1px solid var(--color-line-soft);
  padding: 8px var(--gutter) 28px;
  box-shadow: 0 24px 48px rgba(20,23,26,0.16);
  opacity: 0; visibility: hidden; transform: translateY(-16px);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}
.mobile-nav.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease), visibility 0s;
}
.mobile-nav a {
  font-size: 16px; font-weight: 500; color: var(--color-ink); text-decoration: none;
  padding: 16px 4px; border-bottom: 1px solid var(--color-line-soft);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-nav.is-open a { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.10s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.14s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.18s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.22s; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: 0.26s; }
.mobile-nav.is-open a:nth-child(7) { transition-delay: 0.30s; }
.mobile-nav.is-open a:nth-child(8) { transition-delay: 0.34s; }
.mobile-nav.is-open a:nth-child(9) { transition-delay: 0.38s; }
.mobile-nav .mobile-cta {
  margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; border-bottom: none; color: var(--color-gold-text);
}

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-media, .hero-media > * { position: absolute; inset: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; background: var(--color-dark);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media video, .hero-media img { animation: none; }
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,15,42,0.6) 0%, rgba(4,15,42,0.3) 30%, rgba(4,15,42,0.38) 60%, rgba(4,15,42,0.8) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; color: #fff; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7.2vw, 108px);
  line-height: 1; font-weight: 500; letter-spacing: -0.015em;
  margin: 0 auto; max-width: 1100px;
}
.hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,0.85);
  margin: 26px auto 0; max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }


.btn-play-icon {
  display: inline-block; width: 0; height: 0; margin-right: 10px;
  border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--color-ink);
  vertical-align: middle;
}

/* ==========================================================================
   Brand film modal — plain <video>, no library. A full-viewport overlay
   rather than the native Fullscreen API: identical result visually, but
   avoids iOS/Safari's inconsistent permission and gesture requirements
   around element.requestFullscreen(), so it works the same everywhere.
   ========================================================================== */
.film-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6, 10, 16, 0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility 0s var(--dur-med);
}
.film-modal.is-open {
  opacity: 1; visibility: visible;
  transition: opacity var(--dur-med) var(--ease), visibility 0s;
}
.film-modal-video { width: 100%; height: 100%; object-fit: contain; }
.film-modal-close {
  position: absolute; top: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px);
  width: 44px; height: 44px; z-index: 2;
  background: transparent; border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: border-color var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.film-modal-close:hover { border-color: #fff; }

/* ==========================================================================
   Page banner — compact navy intro for interior pages (e.g. Legacy)
   ========================================================================== */
.page-banner {
  background: var(--color-blue-deep);
  min-height: 46vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(120px, 16vw, 180px) 0 clamp(56px, 7vw, 80px);
  text-align: center;
}
.page-banner-content { max-width: 720px; }
.page-banner-title {
  font-family: var(--font-serif); color: #fff;
  font-size: clamp(38px, 6vw, 68px); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.08; margin: 0;
}
.page-banner-sub {
  font-size: clamp(14px, 1.4vw, 17px); color: rgba(255,255,255,0.75);
  margin: 22px auto 0; max-width: 480px;
}

.scroll-cue {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); overflow: hidden; position: relative; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff; animation: scrollDrip 2.2s ease-in-out infinite;
}
@keyframes scrollDrip { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .btn { width: 100%; }
}

/* ==========================================================================
   About / manifesto
   ========================================================================== */
.about { padding: clamp(110px, 14vw, 200px) 0 clamp(80px, 9vw, 120px); }
.about-inner { max-width: 900px; text-align: center; }
.statement {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.45; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.about-body { font-size: 15px; line-height: 1.8; color: var(--color-ink-soft); max-width: 680px; margin: 28px auto 32px; }
.about-body--sm { margin: 0 0 28px; max-width: 460px; }

.about-quote { margin: 48px auto 0; max-width: 560px; position: relative; padding-top: 28px; }
.about-quote::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 1px; background: var(--color-gold);
}
.about-quote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--color-ink);
  margin: 0 0 14px;
}
.about-quote cite {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-muted);
}

.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px;
  margin-top: clamp(72px, 8vw, 110px); padding-top: 48px;
  border-top: 1px solid var(--color-gold);
}
.stat-value {
  font-family: var(--font-serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 8px; color: var(--color-blue);
}
.stat-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }

/* About — dark navy variant */
.about--navy { background: var(--color-blue-deep); color: rgba(255,255,255,0.9); }
.about--navy .eyebrow { color: var(--color-gold); }
.about--navy .statement { color: #fff; }
.about--navy .about-body { color: rgba(255,255,255,0.72); }
.about--navy .link-underline { color: #fff; }
.about--navy .link-underline::after { background: rgba(255,255,255,0.7); }
.about--navy .link-underline:hover { color: var(--color-gold); }
.about--navy .link-underline:hover::after { background: var(--color-gold); }
.about--navy .about-quote p { color: #fff; }
.about--navy .about-quote cite { color: rgba(255,255,255,0.55); }
.about--navy .stats-row { border-top-color: var(--color-gold); }
.about--navy .stat-value { color: var(--color-gold); }
.about--navy .stat-label { color: rgba(255,255,255,0.55); }

/* ==========================================================================
   Verticals
   ========================================================================== */
.verticals { padding: clamp(60px, 8vw, 100px) 0 clamp(96px, 10vw, 160px); }
.vertical-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}
@media (max-width: 900px) {
  .vertical-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .vertical-grid { grid-template-columns: 1fr; }
}
.vertical-card {
  background: var(--color-paper);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.vertical-media { aspect-ratio: 4 / 3; overflow: hidden; }
.vertical-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.vertical-card:hover .vertical-media img { transform: scale(1.06); }
.vertical-body { padding: 28px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.vertical-body h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; }
.vertical-body p { font-size: 13.5px; line-height: 1.6; color: var(--color-ink-soft); flex: 1; }
.vertical-body .link-arrow { transition: opacity var(--dur-fast) ease; }
.vertical-card:hover .link-arrow { opacity: 0.6; }

/* ==========================================================================
   Developments
   ========================================================================== */
.developments { padding-bottom: clamp(96px, 10vw, 160px); }

.dev-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.dev-filter {
  padding: 11px 22px; border: 1px solid var(--color-line); background: transparent;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-ink-soft); cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.dev-filter:hover { border-color: var(--color-gold); color: var(--color-ink); }
.dev-filter.is-active { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }

.dev-grid {
  position: relative;
  max-width: var(--container-max); margin: 48px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--color-line); border-left: 1px solid var(--color-line);
}
.dev-card {
  border-right: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line);
}
.dev-card.is-hidden { display: none; }

.dev-card-toggle {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px);
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; color: inherit;
}
.dev-card-code { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--color-gold-text); margin-bottom: 14px; }
.dev-card-name { font-family: var(--font-serif); font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; letter-spacing: -0.005em; margin-bottom: 8px; }
.dev-card-location { font-size: 13px; color: var(--color-ink-soft); margin-bottom: 24px; }
.dev-card-rule { display: block; width: 100%; height: 1px; background: var(--color-line); margin-bottom: 16px; }
.dev-card-meta { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.dev-card-type, .dev-card-status {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted);
}

.dev-card-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-med) var(--ease); }
.dev-card-panel.is-open { grid-template-rows: 1fr; }
.dev-card-panel-inner { overflow: hidden; min-height: 0; }

.dev-card-detail { padding: 0 clamp(24px, 2.6vw, 34px) clamp(28px, 3vw, 40px); }
.dev-card-media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; }
.dev-card-media img { width: 100%; height: 100%; object-fit: cover; }
.dev-card-detail p { font-size: 14.5px; line-height: 1.7; color: var(--color-ink-soft); margin: 0 0 16px; }

@media (max-width: 560px) {
  .dev-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Legacy timeline
   ========================================================================== */
.legacy { background: var(--color-stone); padding: clamp(96px, 11vw, 160px) 0; }
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.timeline-item { border-top: 1px solid var(--color-gold); padding-top: 22px; }
.timeline-year { font-family: var(--font-serif); font-size: 24px; font-weight: 500; margin: 0 0 12px; }
.timeline-text { font-size: 13.5px; line-height: 1.6; color: var(--color-ink-soft); }

/* ==========================================================================
   Leadership
   ========================================================================== */
.leadership { padding: clamp(96px, 11vw, 160px) 0; }

.leader-title { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-blue); }
.leader-bio { font-size: 15px; line-height: 1.75; color: var(--color-ink-soft); margin-top: 16px; max-width: 480px; }
.leader-quote { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--color-ink); margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--color-gold); }

/* Founder feature */
.founder-feature {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
  max-width: var(--container-max);
  margin: clamp(56px, 7vw, 96px) auto clamp(96px, 11vw, 160px);
}
.founder-media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-stone); }
.founder-media img, .founder-media .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-family: var(--font-serif); font-size: clamp(34px, 4.4vw, 54px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; margin: 4px 0 14px; }
.founder-quote {
  margin: 28px 0 0; padding: 22px 26px; border-left: 2px solid var(--color-gold); background: var(--color-stone);
}
.founder-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(17px, 1.8vw, 20px); color: var(--color-ink); margin: 0; }

@media (max-width: 800px) {
  .founder-feature { grid-template-columns: 1fr; }
}

/* Chessboard rows for remaining leadership */
.leader-rows { display: flex; flex-direction: column; gap: clamp(64px, 7vw, 100px); }
.leader-row { display: flex; gap: clamp(40px, 6vw, 80px); align-items: center; }
.leader-row--reverse { flex-direction: row-reverse; }
.leader-row-media { flex: 1 1 340px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-stone); max-width: 380px; }
.leader-row-media img, .leader-row-media .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
.leader-row-content { flex: 1 1 360px; }
.leader-row-content h3 { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; margin-bottom: 8px; }

@media (max-width: 700px) {
  .leader-row, .leader-row--reverse { flex-direction: column; align-items: flex-start; }
  .leader-row-media { max-width: none; width: 100%; }
}

/* ==========================================================================
   News
   ========================================================================== */
.news { padding: clamp(96px, 11vw, 160px) 0; }
.news .section-head--split { align-items: flex-end; margin-bottom: clamp(48px, 6vw, 72px); }

.eyebrow--rule { display: flex; align-items: center; gap: 12px; }
.eyebrow--rule::before { content: ''; width: 22px; height: 1px; background: var(--color-gold); display: inline-block; }

.news-heading {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; color: var(--color-ink); margin: 18px 0 0;
}
.news-heading em { font-style: italic; color: var(--color-gold-text); }

.news-carousel { overflow: hidden; }
.news-carousel-track {
  display: flex; transition: transform var(--dur-med) var(--ease);
}

.news-feature {
  display: flex; gap: clamp(28px, 4vw, 56px); align-items: center;
  text-decoration: none; color: inherit; flex-wrap: wrap;
  flex: 0 0 100%; min-width: 0;
}
.news-feature-media { position: relative; flex: 1.1 1 380px; aspect-ratio: 4 / 3; overflow: hidden; }
.news-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.news-feature:hover .news-feature-media img { transform: scale(1.04); }
.news-badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--color-gold); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px;
}
.news-feature-content { flex: 1 1 360px; }
.news-feature-title {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.005em;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; margin: 0 0 18px;
}
.news-feature-body { font-size: 15px; line-height: 1.75; color: var(--color-ink-soft); margin: 0 0 24px; }
.news-meta { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-blue); font-weight: 700; margin-bottom: 8px; }

.news-slide--placeholder { pointer-events: none; }
.news-feature-media--placeholder {
  background: var(--color-stone);
  border: 1px dashed var(--color-line);
}
.news-slide--placeholder .news-meta { color: var(--color-muted); }
.news-slide--placeholder .news-feature-title,
.news-slide--placeholder .news-feature-body { color: var(--color-muted); }

.news-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: clamp(32px, 4vw, 48px); }
.news-carousel-arrow {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--color-line); background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--color-ink); cursor: pointer;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.news-carousel-arrow:hover { border-color: var(--color-gold); color: var(--color-gold-text); }
.news-carousel-dots { display: flex; align-items: center; gap: 10px; }
.news-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  border: 1px solid var(--color-line); background: transparent; cursor: pointer;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.news-carousel-dot.is-active { background: var(--color-gold); border-color: var(--color-gold); }

@media (max-width: 640px) {
  .news-feature-media { display: flex; flex-direction: column; }
  .news-badge {
    position: static; order: -1; align-self: flex-start;
    margin-bottom: 12px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Enquiry / Contact form
   ========================================================================== */
.enquiry { background: var(--color-blue-deep); padding: clamp(96px, 11vw, 160px) 0; }
.enquiry-inner {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 100px);
}
.enquiry .eyebrow { color: var(--color-gold); }
.enquiry-heading {
  font-family: var(--font-serif); color: #fff; font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.12; margin: 0 0 24px;
}
.enquiry-body { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.72); max-width: 420px; margin: 0 0 40px; }
.enquiry-details p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.85); margin: 0 0 16px; }

.enquiry-form-wrap { position: relative; overflow: hidden; }
.enquiry-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.enquiry-field { display: flex; flex-direction: column; gap: 8px; }
.enquiry-field span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.enquiry-field input, .enquiry-field select, .enquiry-field textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.28);
  color: #fff; font-family: var(--font-sans); font-size: 15px; padding: 6px 0; outline: none;
  transition: border-color var(--dur-fast) ease; resize: vertical;
}
.enquiry-field input:focus, .enquiry-field select:focus, .enquiry-field textarea:focus { border-color: var(--color-gold); }
.enquiry-field select { appearance: none; -webkit-appearance: none; }
.enquiry-field select option { color: var(--color-ink); }

.btn--gold { background: var(--color-gold); color: #fff; align-self: flex-start; margin-top: 8px; }
.btn--gold:hover { background: var(--color-gold-text); }

.enquiry-form-note { font-size: 12px; color: rgba(255,255,255,0.4); margin: 4px 0 0; min-height: 1em; }

@media (max-width: 820px) {
  .enquiry-inner { grid-template-columns: 1fr; }
}

.site-footer { background: var(--color-blue-deep); color: rgba(255,255,255,0.85); padding: clamp(64px, 7vw, 100px) 0 32px; border-top: 1px solid var(--color-gold); }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand-logo { width: min(100%, 320px); height: auto; margin: -12px 0 18px -8px; display: block; }
.footer-heading { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.7); text-decoration: none; transition: color var(--dur-fast) ease; }
.footer-links a:hover { color: #fff; }
.footer-text { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,0.7); margin-bottom: 10px; }

.footer-copyright { font-size: 14px; color: rgba(255,255,255,0.4); text-align: center; padding-top: 26px; }
.footer-credit { font-size: 14px; color: rgba(255,255,255,0.4); text-align: center; padding-top: 8px; }
.footer-credit a { color: inherit; text-decoration: none; transition: color var(--dur-fast) ease; }
.footer-credit a:hover { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   Reveal-on-scroll (restrained: opacity + 16px rise, no bounce)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Interaction polish — card lifts, button feedback
   ========================================================================== */
.vertical-card {
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-slow) var(--ease);
}
.vertical-card:hover { transform: translateY(-6px); }

.btn { transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(10,28,48,0.22); }

.timeline-item { transition: border-color var(--dur-med) var(--ease); }
.timeline-item:hover { border-top-color: var(--color-blue); }
.timeline-item:hover .timeline-year { color: var(--color-blue); }
