/* =========================================================================
   Gala Habitats · styles.css
   Phase A: tokens, base, layout utilities, reusable components.
   Page-specific sections are appended in later phases.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces · pearl-cream base, ivory layer, warm shadow */
  --paper:        #F6F1E8;
  --paper-warm:   #FBF7EE;
  --paper-deep:   #EDE5D5;
  --ink:          #1A1814;

  /* Pearl image surface (parallax via fixed attachment, falls back to scroll on iOS) */
  --pearl-bg:     url("/assets/images/pearlbg1.jpg") center/cover fixed no-repeat, #f1ece4;

  /* Accents · champagne (lighter, cooler than brass) */
  --jade:         #3a3733;
  --jade-deep:    #1A1814;
  --brass:        #d0b884;
  --champagne-soft: #E4CFA0;
  --pearl-edge:   rgba(228, 207, 160, 0.45);

  /* Text */
  --text:         #4A4540;
  --text-muted:   #7A7470;
  --text-on-ink:  #E8DFCC;

  /* Rules & borders */
  --rule:         rgba(26, 24, 20, 0.15);
  --rule-strong:  rgba(26, 24, 20, 0.35);
  --rule-on-ink:  rgba(247, 247, 247, 0.2);

  /* Type scale · fluid (scaled down for editorial proportion) */
  --step-hero:   clamp(2rem, 4.5vw, 3.25rem);
  --step-5:      clamp(1.65rem, 2.8vw, 2.25rem);
  --step-4:      clamp(1.35rem, 2vw, 1.75rem);
  --step-3:      clamp(1.15rem, 1.4vw, 1.45rem);
  --step-2:      clamp(1.05rem, 1.1vw, 1.2rem);
  --step-1:      1rem;
  --step-0:      0.9375rem;
  --step-s:      0.8125rem;
  --step-xs:     0.6875rem;

  /* Spacing · 8px base */
  --space-1:  0.5rem;
  --space-2:  1rem;
  --space-3:  1.5rem;
  --space-4:  2rem;
  --space-5:  3rem;
  --space-6:  4rem;
  --space-7:  6rem;
  --space-8:  8rem;
  --space-9:  12rem;

  /* Motion · custom easing curves */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);

  --dur-fast:    160ms;
  --dur-base:    240ms;
  --dur-med:     400ms;
  --dur-slow:    700ms;
  --dur-slower:  1000ms;

  /* Radii · minimal, editorial */
  --radius-s: 2px;
  --radius-m: 4px;
  --radius-l: 8px;

  /* Borders */
  --border-hairline: 1px solid var(--rule);
  --border-rule:     1px solid var(--rule-strong);

  /* Layout */
  --container-max: 1440px;
  --container-wide: 1680px;
  --container-pad: clamp(1.5rem, 5vw, 4rem);
  --measure:       68ch;

  /* Nav heights */
  --nav-h:         88px;
  --nav-h-compact: 64px;

  /* Liquid glass · frosted-translucent surfaces (iOS-style), warmed for pearl base */
  --glass-bg:         rgba(251, 247, 238, 0.55);   /* ivory frosted */
  --glass-bg-strong:  rgba(251, 247, 238, 0.80);   /* for modal panels */
  --glass-bg-deep:    rgba(26, 24, 20, 0.45);      /* for ink-tone glass */
  --glass-edge:       rgba(255, 250, 238, 0.40);   /* warm highlight edge */
  --glass-edge-soft:  rgba(255, 250, 238, 0.20);
  --glass-blur:       saturate(180%) blur(18px);
  --glass-blur-strong: saturate(180%) blur(28px);
  --glass-shadow:     0 1px 0 rgba(255,255,255,0.4) inset,
                      0 8px 32px rgba(26, 24, 20, 0.08);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
img, picture, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 3. Base typography ---------- */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--paper);
  min-height: 100svh;
  overflow-x: hidden;
}

.display {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
  color: var(--ink);
}

.display-italic {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* Override display colours on dark (--ink) surfaces */
.pd-enquiry .display,
.pd-enquiry .display-italic,
.cta-band .display,
.cta-band .display-italic,
.stats .display,
.stats .display-italic,
.pr-assets .display,
.pr-assets .display-italic,
.ct-form-card--alt .display,
.ct-form-card--alt .display-italic,
.hero .display,
.hero .display-italic,
.pd-hero .display,
.pd-hero .display-italic {
  color: inherit;
}

.label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--step-xs);
  color: var(--text-muted);
}


.lead {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--ink);
  max-width: 58ch;
}

.prose {
  max-width: var(--measure);
}
.prose p + p { margin-top: var(--space-3); }

/* Selection */
::selection { background: var(--jade); color: var(--paper); }

/* ---------- 4. Focus ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--step-s);
  border-radius: var(--radius-s);
  transform: translateY(-200%);
  transition: transform var(--dur-base) var(--ease-out);
  z-index: 9999;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 6. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--wide { max-width: var(--container-wide); }

.section {
  padding-block: var(--space-8);
}
@media (max-width: 768px) {
  .section { padding-block: var(--space-6); }
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}
@media (max-width: 768px) {
  .grid-12 { gap: var(--space-2); }
}

.stack-1 > * + * { margin-top: var(--space-1); }
.stack-2 > * + * { margin-top: var(--space-2); }
.stack-3 > * + * { margin-top: var(--space-3); }
.stack-4 > * + * { margin-top: var(--space-4); }
.stack-5 > * + * { margin-top: var(--space-5); }
.stack-6 > * + * { margin-top: var(--space-6); }

/* ---------- 7. Paper texture overlay ---------- */
.paper-texture {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: multiply;
}

/* ---------- 8. Double-rule divider ---------- */
.rule-double {
  border: 0;
  height: 5px;
  background: linear-gradient(
    to bottom,
    var(--rule-strong) 0, var(--rule-strong) 1px,
    transparent 1px, transparent 4px,
    var(--rule-strong) 4px, var(--rule-strong) 5px
  );
  margin: var(--space-7) 0;
  width: 100%;
}

.rule {
  border: 0;
  height: 1px;
  background: var(--rule-strong);
  margin: var(--space-5) 0;
  width: 100%;
}

/* ---------- 9. Buttons (liquid glass) ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--brass);
  color: var(--ink);
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font: 500 0.9375rem/1 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.02em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 24px rgba(166, 130, 60, 0.22);
  transition:
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: #BFA470;
    transform: translateY(-2px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.4) inset,
      0 14px 32px rgba(166, 130, 60, 0.32);
  }
}
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--ink);
  padding: 11px 25px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  font: 500 0.9375rem/1 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.02em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 4px 14px rgba(26, 24, 20, 0.06);
  transition:
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.62);
    transform: translateY(-2px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.5) inset,
      0 10px 28px rgba(26, 24, 20, 0.10);
  }
}
.btn-ghost:active { transform: scale(0.97); }

.btn-primary--on-ink { background: var(--brass); color: var(--ink); }
.btn-primary--on-ink:hover { background: #BFA470; }

/* ---------- 10. Link with arrow ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--jade);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--step-s);
  letter-spacing: 0.01em;
  transition: color var(--dur-base) var(--ease-out);
}
.link-arrow .arrow,
.link-arrow > span[aria-hidden] {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--jade-deep); }
  .link-arrow:hover .arrow,
  .link-arrow:hover > span[aria-hidden] { transform: translateX(4px); }
}
.link-arrow--on-ink {
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow--on-ink:hover { color: var(--paper-warm); }
}

.external-arrow {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.3em;
  vertical-align: baseline;
  transform: translateY(0.05em);
  opacity: 0.65;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  a:hover > .external-arrow {
    opacity: 1;
    transform: translate(1px, -1px);
  }
}

/* ---------- 11. Form fields ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--step-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--ink);
  transition: border-color var(--dur-base) var(--ease-out);
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--jade);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }

.field--on-ink > label { color: var(--text-on-ink); opacity: 0.7; }
.field--on-ink input,
.field--on-ink textarea,
.field--on-ink select {
  color: var(--paper);
  border-bottom-color: var(--rule-on-ink);
}
.field--on-ink input:focus,
.field--on-ink textarea:focus,
.field--on-ink select:focus { border-bottom-color: var(--paper); }

/* ---------- 12. Reveal (hidden until JS animates) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 13. Images & media defaults ---------- */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aspect-4-5  { aspect-ratio: 4 / 5; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-1-1  { aspect-ratio: 1 / 1; }
.aspect-3-2  { aspect-ratio: 3 / 2; }

/* ---------- 14. Utility: visually hidden ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- 15. Surface variants ---------- */
.surface-paper      { background: var(--paper); color: var(--text); }
.surface-paper-warm { background: var(--paper-warm); color: var(--text); }
.surface-paper-deep { background: var(--paper-deep); color: var(--ink); }
.surface-ink        { background: var(--pearl-bg); color: var(--ink); }
.surface-ink .display,
.surface-ink .display-italic { color: var(--ink); }
.surface-ink .label { color: var(--text-muted); opacity: 1; }

.surface-jade       { background: var(--pearl-bg); color: var(--ink); position: relative; isolation: isolate; }
.surface-jade > * { position: relative; z-index: 1; }
.surface-jade .display,
.surface-jade .display-italic { color: var(--ink); }
.surface-jade .label { color: var(--text-muted); opacity: 1; }
.surface-jade .lead { color: var(--ink); }

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   16b. Section Title Word-Flash Effect
   Words appear one at a time, each flashing through a 3-colour
   sequence: bright accent → medium accent → final resting colour.
   Triggered once on scroll via IntersectionObserver + JS.
   ============================================================ */

/* ─── Flash word spans (generated by JS) ─── */
[data-flash] .flash-word {
  opacity: 0;
  display: inline;
}

/* Once the parent is triggered, show all words (JS handles stagger) */
[data-flash].is-flashing .flash-word {
  transition: color 120ms ease-out;
}

/* ─── Accessibility: skip flash for reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  [data-flash] .flash-word {
    opacity: 1 !important;
    color: inherit !important;
  }
}

/* ---------- 17. Layout: page padding under fixed nav ---------- */
body:not([data-page="home"]) main { padding-top: var(--nav-h); }
@media (max-width: 768px) {
  body:not([data-page="home"]) main { padding-top: 72px; }
}

/* ---------- 18. Site navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-edge-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
  transition:
    height 300ms var(--ease-out),
    background-color 300ms var(--ease-out),
    border-color 300ms var(--ease-out),
    backdrop-filter 300ms var(--ease-out);
}
.site-nav.is-compact {
  height: var(--nav-h-compact);
  background: var(--glass-bg-strong);
  border-bottom-color: var(--glass-edge);
}
/* The nav stays glass at every scroll position, including over the home
   video hero · no transparent/inverted state needed. */

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.wordmark {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 14;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-out);
}

/* Inline brand wordmark swapped in for "Gala Habitats" text, e.g. section eyebrows */
.label-wordmark {
  height: 0.85em;
  width: auto;
  vertical-align: -0.1em;
  display: inline-block;
}

/* Removed: home-hero inverted text colour (no longer needed with paper hero) */

.site-nav__links { display: flex; }
.site-nav__links ul {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.site-nav__link {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink);
  padding: 4px 0;
  transition: color var(--dur-base) var(--ease-out);
}
.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav__link:hover { color: var(--jade); }
  .site-nav__link:hover::after { transform: scaleX(1); }
}
.site-nav__link[aria-current="page"] { color: var(--jade); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 0 0 auto;
}
.site-nav__cta {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* Hamburger */
.site-nav__hamburger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var(--ink);
}
/* Removed: home-hero hamburger inversion */
.hamburger-bar {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition:
    transform 240ms var(--ease-out),
    opacity 240ms var(--ease-out);
}
body.nav-open .site-nav__hamburger .hamburger-bar:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
body.nav-open .site-nav__hamburger .hamburger-bar:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

@media (max-width: 768px) {
  .site-nav { height: 72px; }
  .site-nav.is-compact { height: 56px; }
  .site-nav__links,
  .site-nav__cta { display: none; }
  .site-nav__hamburger { display: flex; }
}

/* ---------- 19. Mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: saturate(180%) blur(36px);
  backdrop-filter: saturate(180%) blur(36px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 400ms var(--ease-drawer),
    visibility 0s linear 400ms;
}
.mobile-nav[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 400ms var(--ease-drawer),
    visibility 0s linear 0s;
}

.mobile-nav__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--container-pad);
  gap: var(--space-5);
}
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mobile-nav__list a {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: var(--step-4);
  color: var(--ink);
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 400ms var(--ease-out),
    transform 400ms var(--ease-out);
}
.mobile-nav[aria-hidden="false"] .mobile-nav__list li:nth-child(1) a { opacity: 1; transform: translateY(0); transition-delay: 100ms; }
.mobile-nav[aria-hidden="false"] .mobile-nav__list li:nth-child(2) a { opacity: 1; transform: translateY(0); transition-delay: 150ms; }
.mobile-nav[aria-hidden="false"] .mobile-nav__list li:nth-child(3) a { opacity: 1; transform: translateY(0); transition-delay: 200ms; }
.mobile-nav[aria-hidden="false"] .mobile-nav__list li:nth-child(4) a { opacity: 1; transform: translateY(0); transition-delay: 250ms; }
.mobile-nav[aria-hidden="false"] .mobile-nav__list li:nth-child(5) a { opacity: 1; transform: translateY(0); transition-delay: 300ms; }

.mobile-nav__cta {
  align-self: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 400ms var(--ease-out) 350ms,
    transform 400ms var(--ease-out) 350ms,
    background var(--dur-base) var(--ease-out);
}
.mobile-nav[aria-hidden="false"] .mobile-nav__cta {
  opacity: 1;
  transform: translateY(0);
}

body.nav-open { overflow: hidden; }

/* ---------- 19b. Pill Nav (Home) ---------- */
.pill-header {
  position: fixed;
  top: var(--space-4);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* Let clicks pass through except on nav elements */
}

.pill-wrapper {
  position: relative;
  pointer-events: auto;
  text-align: center;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: var(--glass-shadow);
  border-radius: 1.75rem;
  overflow: hidden;
  transition: background 300ms var(--ease-out);
}

.pill-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 3.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  color: var(--ink);
}

.pill-nav__menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.pill-nav__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  position: relative;
}

.pill-nav__line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  position: absolute;
  transition: transform 0.4s var(--ease-out);
}

.pill-nav__line.is-top {
  transform: translateY(-2.72px);
}

.pill-nav__line.is-bottom {
  transform: translateY(2.72px);
}

/* Open state for hamburger */
.pill-nav__menu[aria-expanded="true"] .pill-nav__line.is-top {
  transform: translateY(0) rotate(45deg);
}

.pill-nav__menu[aria-expanded="true"] .pill-nav__line.is-bottom {
  transform: translateY(0) rotate(-45deg);
}

.pill-nav__label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--step-0);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pill-nav__progress {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--step-0);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3ch;
}

.pill-nav__enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 1.25rem;
  background: var(--brass);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: var(--ink);
  border-radius: 99rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--step-0);
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .pill-nav__enquire:hover {
    background: #BFA470;
  }
}

.pill-dropdown {
  max-height: 0;
  width: 0;
  overflow: hidden;
  padding: 0 var(--space-3);
  opacity: 0;
  pointer-events: none;
  transition:
    max-height 320ms var(--ease-drawer),
    width 320ms var(--ease-drawer),
    padding 320ms var(--ease-drawer),
    opacity 240ms var(--ease-drawer);
}

.pill-dropdown[aria-hidden="false"] {
  max-height: 32rem;
  width: min(22rem, calc(100vw - 2rem));
  padding: var(--space-2) var(--space-3) var(--space-3);
  opacity: 1;
  pointer-events: auto;
}

.pill-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.pill-dropdown__list a {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: var(--step-3);
  color: var(--ink);
  transition: color var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .pill-dropdown__list a:hover {
    color: var(--jade);
  }
}

/* ---------- Pill enquire form ---------- */
.pill-form {
  max-height: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    max-height 380ms var(--ease-drawer),
    width 380ms var(--ease-drawer),
    opacity 260ms var(--ease-drawer);
}

.pill-form[aria-hidden="false"] {
  max-height: 36rem;
  width: min(26rem, calc(100vw - 2rem));
  opacity: 1;
  pointer-events: auto;
}

.pill-form__inner {
  padding: var(--space-2) var(--space-3) var(--space-3);
  text-align: left;
}

.pill-form__header { margin-bottom: var(--space-2); }
.pill-form__title {
  font-size: var(--step-3);
  margin-top: var(--space-1);
}

.pill-form .field > label { color: var(--ink); }

.pill-form .enquire-form { gap: var(--space-2); }

.pill-form .enquire-form__submit {
  align-self: center;
  margin-top: var(--space-2);
}
@media (hover: hover) and (pointer: fine) {
  .pill-form .enquire-form__submit:hover {
    transform: none;
  }
}

.pill-form__form {
  width: 100%;
}

.pill-nav__enquire[aria-expanded="true"] {
  background: #B0944F;
}

/* ---------- 20. Footer ---------- */
.site-footer {
  background: var(--paper-deep);
  color: var(--ink);
  padding-block: var(--space-7) var(--space-5);
  position: relative;
  z-index: 2;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-5);
}
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__brand { display: inline-block; }
.wordmark--footer { font-size: 1.5rem; }
.site-footer__logo {
  display: block;
  height: 100px;
  width: auto;
}

.site-footer__tagline {
  font-size: var(--step-s);
  color: var(--text);
  max-width: 32ch;
  margin-top: var(--space-2);
  line-height: 1.5;
}
.site-footer__social {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-3);
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  color: var(--ink);
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.site-footer__social-icon {
  width: 18px;
  height: 18px;
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .site-footer__social a:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    transform: scale(1.08);
  }
}

.site-footer__heading {
  margin-bottom: var(--space-2);
  color: var(--text);
}
.site-footer__list { display: flex; flex-direction: column; gap: 8px; }
.site-footer__list a,
.site-footer__contact a {
  font-size: var(--step-s);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-footer__list a:hover,
  .site-footer__contact a:hover { border-bottom-color: currentColor; }
}

.site-footer__address {
  font-style: normal;
  font-size: var(--step-s);
  color: var(--ink);
  line-height: 1.6;
}
.site-footer__address-link {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-footer__address-link:hover { border-bottom-color: currentColor; }
}
.site-footer__contact {
  margin-top: var(--space-2);
  font-size: var(--step-s);
  line-height: 1.8;
}

.site-footer .rule-double { margin: var(--space-6) 0 var(--space-3); }

/* ---------- 21. Wow Factor Section ---------- */
.ab-wow {
  overflow: hidden;
}
.ab-wow__header {
  text-align: center;
  margin-bottom: var(--space-6);
}
.ab-wow__title {
  margin-top: var(--space-2);
}
.ab-wow__footer {
  text-align: center;
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.arrows-section {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-inline: auto;
  max-width: 1200px;
}
@media (max-width: 768px) {
  .arrows-section {
    flex-wrap: wrap;
    gap: var(--space-1);
  }
}
.arrows-section__arrow {
  flex: 1;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  /* Elegant arch cut-out shape */
  border-radius: 999px 999px 0 0;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}
@media (max-width: 768px) {
  .arrows-section__arrow {
    flex: 0 0 calc(50% - calc(var(--space-1) / 2));
    border-radius: 200px 200px 0 0;
  }
}

.site-footer__utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--step-xs);
  color: var(--text);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.site-footer__utility ul {
  display: flex;
  gap: var(--space-1);
  align-items: center;
}
.site-footer__utility a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-footer__utility a:hover { border-bottom-color: currentColor; }
}

/* ---------- 21. Persistent Enquire pill (liquid glass) ---------- */
.enquire-pill {
  position: fixed;
  bottom: var(--space-3);
  right: var(--space-3);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brass);
  color: var(--ink);
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 8px 28px rgba(26,24,20,0.14);
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 400ms var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    padding var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.enquire-pill.is-shown {
  opacity: 1;
  transform: scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .enquire-pill:hover {
    background: #BFA470;
    padding: 13px 28px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.4) inset,
      0 12px 36px rgba(166, 130, 60, 0.32);
  }
}
.enquire-pill:active { transform: scale(0.97); }
.enquire-pill .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .enquire-pill:hover .arrow { transform: translateX(3px); }
}
body[data-page="contact"] .enquire-pill { display: none; }
body.enquire-pill-hidden .enquire-pill {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

/* ---------- 22. Enquire modal ---------- */
.enquire-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  visibility: hidden;
  pointer-events: none;
}
.enquire-modal[aria-hidden="false"] {
  visibility: visible;
  pointer-events: auto;
}

.enquire-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.42);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.enquire-modal[aria-hidden="false"] .enquire-modal__backdrop { opacity: 1; }

.enquire-modal__panel {
  position: relative;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--glass-edge);
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 2 * var(--space-3));
  overflow-y: auto;
  padding: var(--space-4) var(--space-4);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 24px 60px rgba(26, 24, 20, 0.22);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.enquire-modal[aria-hidden="false"] .enquire-modal__panel {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 400ms var(--ease-drawer),
    transform 400ms var(--ease-drawer);
}

.enquire-modal__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  border-radius: 50%;
  transition:
    background var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.enquire-modal__close:hover { background: var(--paper-warm); }
.enquire-modal__close:active { transform: scale(0.95); }

.enquire-modal__header { margin-bottom: var(--space-3); }
.enquire-modal__title {
  font-size: var(--step-3);
  margin-top: var(--space-1);
}

.enquire-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.enquire-form__submit {
  align-self: flex-start;
  margin-top: var(--space-2);
}
.enquire-form__status {
  font-size: var(--step-s);
  color: var(--text-muted);
  min-height: 1.2em;
}
.enquire-form[data-state="submitting"] .enquire-form__status::before { content: 'Sending…'; }
.enquire-form[data-state="success"] .enquire-form__status::before {
  content: 'Thanks. We will be in touch shortly.';
  color: var(--jade);
}
.enquire-form[data-state="error"] .enquire-form__status::before {
  content: 'Something went wrong. Please try again or email us directly.';
  color: var(--brass);
}
.enquire-form[data-state="disabled"] .enquire-form__status::before {
  content: 'Form submission is being set up. Please email us directly for now.';
  color: var(--text-muted);
}

/* ---------- 23. Page-specific sections ---------- */
/* Appended in later phases: projects index + filter, project detail template,
   about, press, contact, legal. */


/* ============================================================
   24. Home · hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--text-on-ink);
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%),
    radial-gradient(ellipse at 30% 70%, rgba(0,0,0,0.25), transparent 60%);
}
.hero__inner {
  width: 100%;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.hero__eyebrow {
  color: var(--text-on-ink);
  opacity: 0.85;
}
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  font-size: var(--step-hero);
  line-height: 1.02;
  color: var(--text-on-ink);
  max-width: 18ch;
}
.hero__title .display,
.hero__title .display-italic {
  color: var(--text-on-ink);
  display: block;
}
.hero__sub {
  max-width: 42ch;
  color: var(--text-on-ink);
  opacity: 0.85;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.hero__scroll {
  color: var(--text-on-ink);
  opacity: 0.8;
}
.hero__scroll:hover { opacity: 1; }


/* ============================================================
   25. Home · positioning band
   ============================================================ */
.positioning {
  background: var(--pearl-bg);
  color: var(--ink);
  position: relative;
  isolation: isolate;
}
.positioning--full {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: var(--space-7);
}
.positioning--full .container { width: 100%; }
.positioning > * { position: relative; z-index: 1; }
.positioning .label {
  color: var(--text-muted);
}
.positioning .display,
.positioning .display-italic {
  color: var(--ink);
}
.positioning .lead {
  color: var(--ink);
}
.positioning .link-arrow {
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .positioning .link-arrow:hover {
    color: var(--jade-deep);
  }
}
.positioning__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .positioning__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: center;
  }
}
.positioning__left .label {
  margin-bottom: var(--space-3);
}
.positioning__headline {
  font-size: var(--step-hero);
  line-height: 1.05;
  max-width: 22ch;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}
.positioning__headline .display,
.positioning__headline .display-italic {
  display: block;
  color: var(--ink);
}
.positioning__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.positioning__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 52ch;
}
.positioning__logo-card {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.positioning__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================================================
   25b. Home · About Gala · split copy + looping film
   ============================================================ */
.about-split {
  background: #e1ddda;
  color: var(--ink);
}
.about-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-6);
  align-items: center;
}
.about-split__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 44ch;
}
.about-split__label {
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.about-split__headline {
  font-size: var(--step-hero);
  line-height: 1.05;
  max-width: 18ch;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  color: var(--ink);
}
.about-split__headline .display,
.about-split__headline .display-italic {
  display: block;
  color: var(--ink);
}
.about-split__lead {
  color: var(--ink);
  max-width: 40ch;
}
.about-split__media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(26, 24, 20, 0.35);
}
.about-split__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 900px) {
  .about-split__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .about-split__media {
    order: 2;
    border-radius: 18px;
  }
}


/* ============================================================
   26. Home · three addresses spine
   ============================================================ */
.addresses {
  background: var(--paper-warm);
}
.addresses__header {
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 28ch;
}
.addresses__title {
  font-size: var(--step-4);
  line-height: 1.05;
}
.addresses__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}
.address-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) {
  .address-block {
    grid-template-columns: 60% 1fr;
    gap: var(--space-6);
  }
  .address-block--reverse {
    grid-template-columns: 1fr 60%;
  }
  .address-block--reverse .address-block__media {
    order: 2;
  }
}
.address-block__media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 3 / 2;
}
.address-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .address-block__media:hover img {
    transform: scale(1.04);
  }
}
.address-block__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 42ch;
}
.address-block__loc {
  color: var(--text-muted);
}
.address-block__name {
  font-size: var(--step-4);
  line-height: 1.02;
}
.address-block__copy {
  color: var(--text);
}
.addresses__footer {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
}

.addresses.section {
  padding-bottom: var(--space-6);
}


/* ============================================================
   27. Home · stats band (image-backed glass cards on ink)
   ============================================================ */
.stats {
  background: var(--pearl-bg);
  color: var(--ink);
  padding-block: var(--space-6);
}
.stats__eyebrow {
  color: var(--text-muted);
  opacity: 1;
  margin-bottom: var(--space-2);
}
.stats__title {
  font-size: var(--step-5);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--space-5);
  max-width: 18ch;
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Three stats never sit well in a 2-up grid, so they stack on phones and go
   straight to 3-up from tablet width. Four stats stay 2x2 until desktop. */
.stats__row--3up { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .stats__row--3up { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .stats__row:not(.stats__row--3up) {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
  }
}
.stats__card {
  position: relative;
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  min-height: 220px;
  border: 0;
  border-radius: 0;
  background: transparent;
  /* Initial hidden state. Reveal is driven by initStatsCards() in script.js,
     which requires the band markup to carry [data-stats-grid] on the row and
     [data-stat-card] on each card (it has a reduced-motion / no-GSAP fallback
     that forces opacity:1). Without those hooks the cards stay hidden, so the
     kit markup in /kit-preview.html includes them. */
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
  transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .stats__card:hover .stats__card-icon {
    transform: translateY(-2px);
  }
}
.stats__card-icon,
.stats__card svg.stats__card-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  color: var(--ink);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  opacity: 0.85;
  transition: transform var(--dur-base) var(--ease-out);
}
.stats__card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.stats .stats__num {
  font-size: var(--step-5);
  line-height: 1;
  color: var(--ink);
}
.stats .stats__caption {
  color: var(--text-muted);
  opacity: 1;
}


/* ============================================================
   29. Home · founder pull-quote
   ============================================================ */
.pull-quote {
  background: var(--paper-warm);
}
.pull-quote__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .pull-quote__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }
}
.pull-quote__portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  width: 100%;
  max-width: none;
}
.pull-quote__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pull-quote__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.pull-quote__text {
  font-size: var(--step-4);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
}
.pull-quote__attr {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
}


/* ============================================================
   30. Home · press strip
   ============================================================ */
.press-strip {
  background: var(--paper);
  padding-block: var(--space-6);
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
}
.press-strip__label {
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--text-muted);
}
.press-strip__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  align-items: center;
  justify-items: center;
}
@media (min-width: 700px) {
  .press-strip__list { grid-template-columns: repeat(6, 1fr); }
}
.press-strip__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity var(--dur-base) var(--ease-out),
              filter var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .press-strip__list a:hover {
    filter: grayscale(0);
    opacity: 1;
  }
}
.press-strip__mark {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: var(--step-2);
  color: var(--ink);
  letter-spacing: -0.01em;
}


/* ============================================================
   31. Home · pre-footer CTA band
   ============================================================ */
.cta-band {
  background: var(--paper);
  color: var(--ink);
  padding-block: var(--space-8);
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
  max-width: 52ch;
}
.cta-band__title {
  font-size: var(--step-5);
  line-height: 1.05;
  color: var(--ink);
}
.cta-band__copy {
  color: var(--text);
  opacity: 1;
}
.cta-band__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}
.btn-primary--on-ink {
  background: var(--brass);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 24px rgba(0, 0, 0, 0.28);
}
.btn-primary--on-ink:hover {
  background: #BFA470;
}
.link-arrow--on-ink {
  color: var(--text-on-ink);
  opacity: 0.85;
}
.link-arrow--on-ink:hover { opacity: 1; }


/* ============================================================
   32. Projects index · header
   ============================================================ */
.px-header { padding-top: var(--space-7); }
.px-header__title {
  font-size: var(--step-5);
  line-height: 1.05;
  max-width: 18ch;
  margin-top: var(--space-3);
}
.px-header__lead {
  margin-top: var(--space-3);
  max-width: 52ch;
}


/* ============================================================
   33. Projects index · sticky filter bar
   ============================================================ */
.px-filter {
  position: sticky;
  top: var(--nav-h-compact);
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: var(--border-hairline);
  border-bottom: var(--border-hairline);
}
.px-filter__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  padding-block: var(--space-3);
}
.px-filter__group {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}
.px-filter__group .label {
  color: var(--text-muted);
  font-size: var(--step-xs);
}
.px-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.px-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  font-size: var(--step-s);
  color: var(--text);
  transition: background-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .px-chip:hover { border-color: var(--rule-strong); }
}
.px-chip:active { transform: scale(0.97); }
.px-chip.is-active {
  background: var(--ink);
  color: var(--text-on-ink);
  border-color: var(--ink);
}
.px-filter__reset {
  margin-left: auto;
  white-space: nowrap;
}


/* ============================================================
   34. Projects index · grid + card
   ============================================================ */
.px-grid { padding-top: var(--space-6); }
.px-grid__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 700px)  { .px-grid__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .px-grid__list { grid-template-columns: repeat(3, 1fr); } }

.px-card {
  display: block;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 28px rgba(26, 24, 20, 0.06);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .px-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.5) inset,
      0 14px 40px rgba(26, 24, 20, 0.10);
  }
}
.px-card__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding-bottom: var(--space-3);
}
.px-card__inner[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.7;
}
.px-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  border-radius: 14px 14px 0 0;
}
.px-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .px-card__inner:hover .px-card__media img { transform: scale(1.04); }
  .px-card__inner:hover .px-card__cta { color: var(--jade); }
}
.px-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-inline: var(--space-3);
}
.px-card__meta { color: var(--text-muted); }
.px-card__name {
  font-size: var(--step-3);
  line-height: 1.05;
}
.px-card__config {
  color: var(--text-muted);
  font-size: var(--step-s);
}
.px-card__cta { margin-top: var(--space-2); }

/* Filter Flip · hidden state */
.px-card[hidden] { display: none !important; }

.px-grid__empty {
  text-align: center;
  padding: var(--space-6) 0;
  color: var(--text-muted);
}


/* ============================================================
   35. Project detail · hero
   ============================================================ */
body[data-page="project-detail"] main { padding-top: 0; }

.pd-hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--text-on-ink);
  isolation: isolate;
}
.pd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.pd-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.30) 100%);
}
.pd-hero__inner {
  width: 100%;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pd-hero__loc { color: var(--text-on-ink); opacity: 0.85; }
.pd-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  font-size: var(--step-hero);
  line-height: 1.02;
  color: var(--text-on-ink);
  max-width: 16ch;
}
.pd-hero__title .display,
.pd-hero__title .display-italic { color: var(--text-on-ink); }
.pd-hero__sub {
  max-width: 42ch;
  color: var(--text-on-ink);
  opacity: 0.85;
  margin-top: var(--space-2);
}


/* ============================================================
   36. Project detail · overview + pinned sidebar
   ============================================================ */
.pd-overview { background: var(--paper); }
.pd-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 1024px) {
  .pd-overview__grid {
    grid-template-columns: 4fr 8fr;
    gap: var(--space-7);
    align-items: start;
  }
}
.pd-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 12px 36px rgba(26, 24, 20, 0.08);
}
@media (min-width: 1024px) {
  .pd-sidebar {
    position: sticky;
    top: calc(var(--nav-h-compact) + var(--space-3));
  }
}
.pd-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pd-sidebar__list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  padding-block: var(--space-1);
  border-bottom: var(--border-hairline);
}
.pd-sidebar__list dt {
  color: var(--text-muted);
  font-size: var(--step-s);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pd-sidebar__list dd {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}
.pd-sidebar__cta { margin-top: var(--space-1); }
.pd-sidebar__brochure { margin-top: var(--space-1); }

.pd-overview__body { display: flex; flex-direction: column; gap: var(--space-3); }
.pd-overview__title {
  font-size: var(--step-4);
  line-height: 1.05;
  max-width: 20ch;
}


/* ============================================================
   37. Project detail · gallery (asymmetric grid)
   ============================================================ */
.pd-gallery {
  background: var(--paper-warm);
  padding-block: var(--space-4);
}
@media (max-width: 768px) {
  .pd-gallery { padding-block: var(--space-3); }
}
.pd-gallery.section { padding-block: var(--space-4); }
@media (max-width: 768px) {
  .pd-gallery.section { padding-block: var(--space-3); }
}
.pd-gallery__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  max-width: 28ch;
}
.pd-gallery__title { font-size: var(--step-4); line-height: 1.05; }

/* Gallery grid (Paramount / Shivaji Park, pending real photography).
   Aakasa Worli uses the .pd-carousel instead; this grid is the placeholder
   layout for projects whose images are not yet shot. */
.pd-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 800px) {
  .pd-gallery__grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
}
.pd-gallery__cell { margin: 0; }
.pd-gallery__cell--lg { grid-column: span 2; }
.pd-gallery__cell .placeholder-box { height: 100%; aspect-ratio: 4 / 3; }
.pd-gallery__cell--lg .placeholder-box { aspect-ratio: 16 / 9; }

.pd-carousel {
  position: relative;
  --pd-carousel-h: 280px;
}
@media (min-width: 700px) {
  .pd-carousel { --pd-carousel-h: 360px; }
}
@media (min-width: 1100px) {
  .pd-carousel { --pd-carousel-h: 440px; }
}
.pd-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pd-carousel__viewport::-webkit-scrollbar { display: none; }
.pd-carousel__track {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  padding: 0 var(--space-4);
  margin: 0;
}
.pd-carousel__slide {
  flex: 0 0 auto;
  height: var(--pd-carousel-h);
  background: var(--paper-deep);
  overflow: hidden;
}
.pd-carousel__thumb {
  display: block;
  width: auto;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.pd-carousel__thumb img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .pd-carousel__thumb:hover img { transform: scale(1.04); }
}
.pd-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--paper);
  border: var(--border-hairline);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26, 24, 20, 0.12);
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out);
}
.pd-carousel__nav:hover { background: var(--paper-warm); }
.pd-carousel__nav:active { transform: translateY(-50%) scale(0.96); }
.pd-carousel__nav--prev { left: var(--space-3); }
.pd-carousel__nav--next { right: var(--space-3); }
@media (min-width: 900px) {
  .pd-carousel__nav { width: 52px; height: 52px; }
  .pd-carousel__nav--prev { left: var(--space-4); }
  .pd-carousel__nav--next { right: var(--space-4); }
}


/* ============================================================
   38. Project detail · floor plan tabs
   ============================================================ */
.pd-plans { background: var(--paper); }
.pd-plans__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  max-width: 28ch;
}
.pd-plans__title { font-size: var(--step-4); line-height: 1.05; }
.pd-plans__tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: var(--space-4);
  padding: 4px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
.pd-tab {
  padding: 8px 18px;
  font-size: var(--step-0);
  color: var(--text-muted);
  position: relative;
  border-radius: 999px;
  transition:
    color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}
.pd-tab:hover { color: var(--ink); }
.pd-tab.is-active {
  color: var(--paper);
  background: rgba(58, 55, 51, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.pd-plan {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.pd-plan[hidden] { display: none; }
@media (min-width: 900px) {
  .pd-plan { grid-template-columns: 1.4fr 1fr; align-items: start; gap: var(--space-6); }
}
.pd-plan__image {
  background: var(--paper-warm);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pd-plan__image img { width: 100%; height: 100%; object-fit: contain; }
.pd-plan__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pd-plan__specs > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: var(--space-2);
  border-bottom: var(--border-hairline);
}
.pd-plan__specs dt { color: var(--text-muted); }
.pd-plan__specs dd { color: var(--ink); font-weight: 500; }


/* ============================================================
   39. Project detail · location
   ============================================================ */
.pd-location { background: var(--paper-warm); }
.pd-location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .pd-location__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-6);
    align-items: center;
  }
}
.pd-location__copy { display: flex; flex-direction: column; gap: var(--space-3); }
.pd-location__title { font-size: var(--step-4); line-height: 1.05; max-width: 22ch; }
.pd-location__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-2);
}
.pd-location__list li {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-2);
  border-bottom: var(--border-hairline);
}
.pd-location__list strong { color: var(--ink); font-weight: 500; }
.pd-location__intro { color: var(--text); max-width: 46ch; }
.pd-location__map {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pd-location__map img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border-hairline);
}
.pd-location__map-cap {
  font-size: 0.85em;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}


/* ============================================================
   40. Project detail · amenities
   ============================================================ */
.pd-amenities { background: var(--paper); }
.pd-amenities__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  max-width: 24ch;
}
.pd-amenities__title { font-size: var(--step-4); line-height: 1.05; }
.pd-amenities__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
/* An odd number of amenities (Paramount ships 9) leaves one on its own in the
   2-up phone layout, so odd lists stack instead. The selector reads "the last
   item is an odd-numbered child", i.e. the total is odd. */
@media (max-width: 699px) {
  .pd-amenities__grid:has(> :nth-child(odd):last-child) {
    grid-template-columns: 1fr;
  }
}
/* Stays 3-up on desktop rather than 4-up: the amenity counts we ship (6, 9, 12)
   divide cleanly by 3, so no row is left half-empty. */
@media (min-width: 700px) { .pd-amenities__grid { grid-template-columns: repeat(3, 1fr); column-gap: var(--space-5); } }

/* Ten amenities (Shivaji Park) are the exception: 3-up would leave a single item
   on a fourth row. They run 2-up until there is room for a real 5-across row,
   so the block reads 5+5 at every width. The 5-up step waits until 1200px —
   below that the columns fall under ~190px and labels like "Yoga & meditation
   pavilion" break onto three lines. */
@media (min-width: 700px) and (max-width: 1199px) {
  .pd-amenities__grid:has(> :nth-child(10):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .pd-amenities__grid:has(> :nth-child(10):last-child) {
    grid-template-columns: repeat(5, 1fr);
    column-gap: var(--space-4);
  }
}
.pd-amenities__grid li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: var(--border-hairline);
  color: var(--ink);
  font-size: var(--step-1);
}
.pd-amenities__grid li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--jade);
  stroke-width: 1.5;
}
.pd-amenities__subhead { margin-bottom: var(--space-2); }
.pd-amenities__grid + .pd-amenities__subhead { margin-top: var(--space-5); }

/* Overview highlights row */
.pd-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--space-3);
  border-top: var(--border-hairline);
}
@media (min-width: 600px) { .pd-highlights { grid-template-columns: 1fr 1fr; } }
.pd-highlights li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-bottom: var(--border-hairline);
  color: var(--ink);
  font-size: var(--step-1);
}
@media (min-width: 600px) {
  .pd-highlights li:nth-child(odd) { padding-right: var(--space-4); }
}
.pd-highlights li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--jade);
  stroke-width: 1.5;
}


/* ============================================================
   41. Project detail · MahaRERA block
   ============================================================ */
.pd-rera {
  background: var(--paper-deep);
  padding-block: var(--space-6);
}
.pd-rera__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 700px) {
  .pd-rera__inner { gap: var(--space-6); }
}
.pd-rera__copy { display: flex; flex-direction: column; gap: var(--space-2); }
.pd-rera__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-3);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 400;
}
.pd-rera__copy-text { color: var(--text); max-width: 56ch; }
.pd-rera__qr {
  width: 140px;
  height: 140px;
  background: var(--paper);
  border: var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pd-rera__qr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-rera__qr-fallback {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: var(--step-2);
  color: var(--text-muted);
  letter-spacing: 0.1em;
}


/* ============================================================
   42. Project detail · inline enquiry
   ============================================================ */
.pd-enquiry {
  background: var(--ink);
  color: var(--text-on-ink);
  padding-block: var(--space-7);
}
.pd-enquiry__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .pd-enquiry__inner { grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
}
.pd-enquiry__copy { display: flex; flex-direction: column; gap: var(--space-3); }
.pd-enquiry__title { font-size: var(--step-4); line-height: 1.05; color: var(--text-on-ink); max-width: 18ch; }
.pd-enquiry__sub { color: var(--text-on-ink); opacity: 0.8; max-width: 48ch; }
.pd-enquiry__form .field label { color: var(--text-on-ink); opacity: 0.7; }
.pd-enquiry__form .field input,
.pd-enquiry__form .field textarea,
.pd-enquiry__form .field select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.pd-enquiry__form .field input:focus,
.pd-enquiry__form .field textarea:focus,
.pd-enquiry__form .field select:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}
.pd-enquiry__form .enquire-form__submit {
  background: rgba(247, 247, 247, 0.92);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
}
.pd-enquiry__form .enquire-form__submit:hover { background: rgba(255, 255, 255, 0.96); }
.pd-enquiry__form .enquire-form__status { color: var(--text-on-ink); opacity: 0.8; }


/* ============================================================
   43. Project detail · related
   ============================================================ */
.pd-related { background: var(--paper-warm); }
.pd-related__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  max-width: 24ch;
}
.pd-related__title { font-size: var(--step-4); line-height: 1.05; }
.pd-related__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 700px) { .pd-related__list { grid-template-columns: repeat(2, 1fr); } }


/* ============================================================
   44. Lightbox (project gallery)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 9, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}
.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.92;
  font-size: var(--step-4);
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 8px 24px rgba(0,0,0,0.35);
  transition:
    background var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close:active,
.lightbox__nav:active { transform: scale(0.95); }
.lightbox__close { top: var(--space-3); right: var(--space-3); }
.lightbox__nav--prev { left: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--space-3); top: 50%; transform: translateY(-50%); }
/* (hover styles consolidated above with glass treatment) */
.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  max-width: 90vw;
  max-height: 86vh;
}
.lightbox__img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #0a0908;
}
.lightbox__caption {
  color: var(--paper);
  opacity: 0.75;
  font-size: var(--step-s);
  text-align: center;
  max-width: 60ch;
}


/* ============================================================
   45. About · header
   ============================================================ */
.ab-header { padding-top: var(--space-7); }
.ab-header__title {
  font-size: var(--step-5);
  line-height: 1.05;
  max-width: 18ch;
  margin-top: var(--space-3);
}
.ab-header__lead {
  margin-top: var(--space-3);
  max-width: 56ch;
}


/* ============================================================
   46. About · founder
   ============================================================ */
.ab-founder { background: var(--paper-warm); }
.ab-founder__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 900px) {
  .ab-founder__grid {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-7);
  }
}
.ab-founder__portrait {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.ab-founder__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-deep);
}
.ab-founder__portrait figcaption { color: var(--text-muted); }
.ab-founder__body { display: flex; flex-direction: column; gap: var(--space-3); }
.ab-founder__title {
  font-size: var(--step-4);
  line-height: 1.05;
  max-width: 18ch;
}


/* ============================================================
   47. About · values
   ============================================================ */
.ab-values { background: var(--paper); }
.ab-values__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  max-width: 26ch;
}
.ab-values__title { font-size: var(--step-4); line-height: 1.05; }
.ab-values__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 800px) {
  .ab-values__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
}
.ab-value {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: var(--border-rule);
}
.ab-value__num {
  font-size: var(--step-3);
  color: var(--text-muted);
  line-height: 1;
}
.ab-value__name {
  font-size: var(--step-2);
  line-height: 1.15;
  color: var(--ink);
}
.ab-value p { color: var(--text); }


/* ============================================================
   48. About · awards
   ============================================================ */
.ab-awards { background: var(--paper-warm); }
.ab-awards__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  max-width: 24ch;
}
.ab-awards__title { font-size: var(--step-4); line-height: 1.05; }
.ab-awards__list {
  display: flex;
  flex-direction: column;
}
.ab-awards__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "year name"
    "year src";
  column-gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: var(--border-hairline);
  align-items: baseline;
}
.ab-awards__list li:last-child { border-bottom: var(--border-hairline); }
@media (min-width: 800px) {
  .ab-awards__list li {
    grid-template-columns: 6rem 1fr 18rem;
    grid-template-areas: "year name src";
  }
}
.ab-awards__year {
  grid-area: year;
  font-size: var(--step-3);
  color: var(--text-muted);
  line-height: 1;
}
.ab-awards__name {
  grid-area: name;
  color: var(--ink);
  font-size: var(--step-1);
}
.ab-awards__src {
  grid-area: src;
  color: var(--text-muted);
  font-size: var(--step-s);
}


/* ============================================================
   49. About · quality policy
   ============================================================ */
.ab-quality { background: var(--paper); }
.ab-quality__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .ab-quality__grid {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-7);
    align-items: start;
  }
}
.ab-quality__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.ab-quality__title {
  font-size: var(--step-4);
  line-height: 1.05;
  max-width: 16ch;
}
.ab-quality__body { max-width: 60ch; }


/* ============================================================
   50. Press Room · header
   ============================================================ */
.pr-header { padding-top: var(--space-7); }
.pr-header__title {
  font-size: var(--step-5);
  line-height: 1.05;
  max-width: 18ch;
  margin-top: var(--space-3);
}
.pr-header__lead {
  margin-top: var(--space-3);
  max-width: 60ch;
}


/* ============================================================
   51. Press Room · archive list
   ============================================================ */
.pr-archive { background: var(--paper); }
.pr-archive__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  max-width: 22ch;
}
.pr-archive__title { font-size: var(--step-4); line-height: 1.05; }
.pr-archive__list {
  display: flex;
  flex-direction: column;
  border-top: var(--border-hairline);
}
.pr-item { border-bottom: var(--border-hairline); }
.pr-item__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding: var(--space-4) 0;
  transition: background-color var(--dur-base) var(--ease-out);
}
@media (min-width: 800px) {
  .pr-item__inner {
    grid-template-columns: 9rem 1fr 14rem auto;
    gap: var(--space-4);
    align-items: baseline;
  }
}
.pr-item__date { color: var(--text-muted); }
.pr-item__title {
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 400;
}
.pr-item__src { color: var(--text-muted); font-size: var(--step-s); }
.pr-item__cta { color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .pr-item__inner:hover { background: var(--paper-warm); }
  .pr-item__inner:hover .pr-item__cta { color: var(--jade); }
}


/* ============================================================
   52. Press Room · brand assets dark band
   ============================================================ */
.pr-assets {
  background: var(--ink);
  color: var(--text-on-ink);
  padding-block: var(--space-7);
}
.pr-assets__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .pr-assets__grid {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-7);
    align-items: start;
  }
}
.pr-assets__copy { display: flex; flex-direction: column; gap: var(--space-3); }
.pr-assets__title {
  font-size: var(--step-4);
  line-height: 1.05;
  color: var(--text-on-ink);
  max-width: 14ch;
}
.pr-assets__sub { color: var(--text-on-ink); opacity: 0.8; max-width: 52ch; }
.pr-assets__list { display: flex; flex-direction: column; }
.pr-asset {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule-on-ink);
  transition: opacity var(--dur-base) var(--ease-out);
}
.pr-assets__list li:last-child .pr-asset { border-bottom: 1px solid var(--rule-on-ink); }
.pr-asset__name { color: var(--text-on-ink); font-size: var(--step-1); }
.pr-asset__meta { color: var(--text-on-ink); opacity: 0.6; font-size: var(--step-s); }
.pr-asset__cta { color: var(--text-on-ink); }
@media (hover: hover) and (pointer: fine) {
  .pr-asset:hover { opacity: 0.85; }
}


/* ============================================================
   53. Contact · header
   ============================================================ */
body[data-page="contact"] .enquire-pill { display: none !important; }

.ct-header { padding-top: var(--space-7); }
.ct-header__title {
  font-size: var(--step-5);
  line-height: 1.05;
  max-width: 18ch;
  margin-top: var(--space-3);
}
.ct-header__lead {
  margin-top: var(--space-3);
  max-width: 60ch;
}


/* ============================================================
   54. Contact · office card + map
   ============================================================ */
.ct-office { background: var(--paper-warm); }
.ct-office__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .ct-office__grid {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-6);
    align-items: stretch;
  }
}
.ct-office__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--paper);
  border: var(--border-hairline);
}
.ct-office__title {
  font-size: var(--step-4);
  line-height: 1.05;
}
.ct-office__address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.6;
}
.ct-office__list { display: flex; flex-direction: column; gap: var(--space-1); }
.ct-office__list > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: var(--space-2);
  padding-block: var(--space-2);
  border-bottom: var(--border-hairline);
}
.ct-office__list dt {
  color: var(--text-muted);
  font-size: var(--step-s);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ct-office__list dd a {
  color: var(--ink);
  border-bottom: 1px dotted var(--rule);
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.ct-office__list dd a:hover {
  color: var(--jade);
  border-color: var(--jade);
}
.ct-office__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-2);
  border-top: var(--border-hairline);
}
.ct-office__social a {
  color: var(--text);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.ct-office__social a:hover {
  color: var(--jade);
  border-color: var(--jade);
}
.ct-office__map {
  overflow: hidden;
  background: var(--paper-deep);
  min-height: 360px;
}
.ct-office__map img { width: 100%; height: 100%; object-fit: cover; }


/* ============================================================
   55. Contact · forms
   ============================================================ */
.ct-forms { background: var(--paper); }
.ct-forms__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  max-width: 22ch;
}
.ct-forms__title { font-size: var(--step-4); line-height: 1.05; }
.ct-forms__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .ct-forms__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
}
.ct-form-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 8px 28px rgba(26, 24, 20, 0.06);
}
.ct-form-card--alt {
  background: rgba(26, 24, 20, 0.78);
  color: var(--text-on-ink);
  border-color: rgba(255, 255, 255, 0.12);
}
.ct-form-card--alt .label,
.ct-form-card--alt .ct-form-card__title,
.ct-form-card--alt .ct-form-card__title .display-italic { color: var(--text-on-ink); }
.ct-form-card--alt .ct-form .field label { color: var(--text-on-ink); opacity: 0.7; }
.ct-form-card--alt .ct-form .field input,
.ct-form-card--alt .ct-form .field textarea,
.ct-form-card--alt .ct-form .field select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ct-form-card--alt .ct-form .field input:focus,
.ct-form-card--alt .ct-form .field textarea:focus,
.ct-form-card--alt .ct-form .field select:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}
.ct-form-card--alt .enquire-form__submit {
  background: rgba(247, 247, 247, 0.92);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
}
.ct-form-card--alt .enquire-form__submit:hover { background: rgba(255, 255, 255, 0.96); }
.ct-form-card--alt .enquire-form__status { color: var(--text-on-ink); opacity: 0.8; }
.ct-form-card__head { display: flex; flex-direction: column; gap: var(--space-1); }
.ct-form-card__title { font-size: var(--step-3); line-height: 1.05; color: var(--ink); }


/* ============================================================
   56. Legal pages · privacy + disclaimer
   ============================================================ */
body[data-page="legal"] { background: var(--paper-warm); }
.legal { background: var(--paper-warm); padding-top: var(--space-7); }
.legal__container { max-width: 880px; }
.legal__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: var(--border-rule);
}
.legal__title {
  font-size: var(--step-5);
  line-height: 1.05;
  margin-top: var(--space-2);
}
.legal__updated {
  color: var(--text-muted);
  font-size: var(--step-s);
}
.legal__body {
  max-width: 68ch;
  font-size: var(--step-1);
  line-height: 1.7;
  color: var(--text);
}
.legal__body h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p { margin-bottom: var(--space-3); }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body a {
  color: var(--ink);
  border-bottom: 1px dotted var(--rule);
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.legal__body a:hover {
  color: var(--jade);
  border-color: var(--jade);
}
.legal__body strong { color: var(--ink); font-weight: 500; }


/* ============================================================
   57. Phase F · svh fallbacks + animation polish
   ============================================================ */

/* 100svh fallback for browsers without svh support */
.hero      { min-height: 100vh; min-height: 100svh; }
.pd-hero   { min-height: 80vh;  min-height: 80svh;  }
body       { min-height: 100vh; min-height: 100svh;  }

/* Lightbox open: prevent body scroll without layout shift */
body:has(.lightbox[aria-hidden="false"]) { overflow: hidden; }

/* transform-origin for modal (keeps it centred when scale animates) */
.enquire-modal__panel { transform-origin: center center; }

/* Tab focus rings inside dark surfaces */
.pd-enquiry :focus-visible,
.cta-band :focus-visible,
.ct-form-card--alt :focus-visible,
.pr-assets :focus-visible {
  outline-color: var(--paper);
}

/* Hover gating audit · lock remaining untouched hover states */
@media not (hover: hover) {
  /* Kill card scale on non-hover devices if any slipped through */
  .address-block__media img,
  .px-card__media img,
  .pd-carousel__thumb img { transform: none !important; }
}

/* Press-strip hover: already gated · add active fallback for touch */
.press-strip__list a:active {
  filter: grayscale(0);
  opacity: 1;
}

/* Prevent text cursor on non-interactive display spans */
.stats__num,
.ab-value__num { user-select: none; }

/* ============================================================
   58. Phase F · comprehensive reduced-motion block
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  /* Kill all transitions and animations */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep layout opacity changes but skip position/scale transforms */
  .reveal { opacity: 1; transform: none; }

  /* Keep Flip working but instant */
  [data-flip-id] { transition: none !important; }

  /* Don't play videos; keep poster */
  video { animation: none; }

  /* Pill appears immediately */
  .enquire-pill { opacity: 1; transform: translateY(0); }

  /* Mobile nav: no stagger delays */
  .mobile-nav__list li { transition: none; }

  /* Gallery thumb: no scale */
  .pd-carousel__thumb img { transition: none; }
}

/* ============================================================
   59. Phase F · exit timing (Emil: exits faster than enters)
   ============================================================ */
/* Modal enter/exit: already defined in Phase B (§22) with:
   - Enter: 400ms ease-drawer, scale 0.96→1
   - Exit:  200ms ease-out, scale 1→0.96
   No override needed. */

/* Lightbox: enter 300ms, exit 150ms (overrides base 300ms rule) */
.lightbox[aria-hidden="true"]  { transition: opacity 150ms var(--ease-out); }
.lightbox[aria-hidden="false"] { transition: opacity 300ms var(--ease-out); }

/* ============================================================
   60. Phase F · miscellaneous a11y polish
   ============================================================ */

/* Disabled project cards: clear pointer and dim */
.px-card__inner[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}

/* Ensure form status messages have min-height so layout doesn't jump */
[data-form-status] { min-height: 1.5em; }

/* Better underline on interactive text links (not buttons) */
.ct-office__list dd a,
.legal__body a,
.pr-header__lead a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Improved select appearance cross-browser */
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4540' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-2) center;
  padding-right: var(--space-5);
  cursor: pointer;
}

/* ============================================================
   61. Liquid glass · buttons & form fields on glass surfaces
   ============================================================ */

/* Frost the modal form fields so they sit on the glass panel without flat-white blocks */
.enquire-modal__panel .field input,
.enquire-modal__panel .field select,
.enquire-modal__panel .field textarea {
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 10px 12px;
}
.enquire-modal__panel .field input:focus,
.enquire-modal__panel .field select:focus,
.enquire-modal__panel .field textarea:focus {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.6);
}

/* Glass close button on modal panel */
.enquire-modal__panel .enquire-modal__close {
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.enquire-modal__panel .enquire-modal__close:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* Generic .btn-glass utility · frosted translucent button for use on light surfaces */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--ink);
  padding: 12px 22px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  font: 500 0.9375rem/1 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 4px 14px rgba(26, 24, 20, 0.06);
  transition:
    background var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.65); }
.btn-glass:active { transform: scale(0.97); }

/* Soften the radius on the primary CTA so it feels of a piece with glass surfaces */
.btn-primary {
  border-radius: 999px;
}
.site-nav__cta {
  background: rgba(58, 55, 51, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

/* ============================================================
   62. Hero · full-bleed cinematic video
   ============================================================ */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0a0908;
  isolation: isolate;
}
.hero-video__stage {
  position: absolute;
  inset: 0;
}
.hero-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
  filter: sepia(0.35) saturate(1.05) contrast(1.02);
  pointer-events: none;
}
.hero-video__player.is-active {
  opacity: 1;
}
.hero-video__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(180deg, rgba(112, 78, 38, 0.18), rgba(112, 78, 38, 0.18));
  mix-blend-mode: multiply;
  z-index: 1;
}

/* Hero copy + scroll indicator */
.hero-video__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(var(--space-5), 8vh, var(--space-7));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  color: var(--paper);
  text-align: center;
  padding-inline: var(--space-3);
  pointer-events: none;
}
.hero-video__copy {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 4px 22px rgba(0, 0, 0, 0.45);
  margin: 0;
}
.hero-video__line { display: block; }
.hero-video__line--italic { font-style: italic; }

.hero-video__scroll {
  pointer-events: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--paper);
  text-decoration: none;
  opacity: 0.9;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.hero-video__scroll-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-video__scroll-icon {
  display: inline-flex;
  animation: hero-scroll-bounce 1.9s ease-in-out infinite;
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video__player { transition: none; }
  .hero-video__scroll-icon { animation: none; }
}

/* Pill header · slide in on scroll over the video hero */
.pill-header {
  transition:
    transform 480ms var(--ease-out),
    opacity 360ms var(--ease-out);
  will-change: transform;
}
.pill-header.is-hidden {
  transform: translateY(calc(-100% - var(--space-5)));
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .pill-header { transition: opacity 200ms linear; }
  .pill-header.is-hidden { transform: none; }
}

/* Hero brand logo · fixed centre-top, opacity scrubbed by scroll */
.hero-logo {
  position: fixed;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: 140px;
  display: block;
  pointer-events: auto;
  will-change: opacity;
}
.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Reduced motion: keep nav glass but kill blur transitions; static grid */
@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .mobile-nav,
  .enquire-modal__panel,
  .enquire-pill,
  .btn-glass {
    transition: none !important;
  }
}

/* ============================================================
   63. Liquid glass · generic .glass-card utility + home addresses row
   ============================================================ */

/* Reusable card surface · drop on any element to make it a frosted card */
.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 28px rgba(26, 24, 20, 0.06);
  overflow: hidden;
}

/* Home · Three Addresses, 3-up card row */
.addresses-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
/* Always exactly three addresses: stack them, then go straight to 3-up. A 2-up
   tablet step would strand the third card on its own row. */
@media (min-width: 720px) {
  .addresses-row { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}
@media (min-width: 1024px) {
  .addresses-row { gap: var(--space-4); }
}
.address-card {
  display: block;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .address-card:hover {
    transform: translateY(-4px);
    border-color: rgba(58, 55, 51, 0.25);
  }
  .address-card:hover .address-card__media img { transform: scale(1.05); }
  .address-card:hover .address-card__cta { color: var(--jade); }
}
.address-card__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  height: 100%;
}
.address-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--paper-deep);
}
.address-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.address-card__body {
  padding-inline: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.address-card__loc { color: var(--text-muted); }
.address-card__name {
  font-size: var(--step-3);
  line-height: 1.1;
}
.address-card__meta {
  color: var(--text);
  font-size: var(--step-0);
}
.address-card__cta { margin-top: var(--space-1); }

/* Hide legacy alternating "address-block" CSS leftovers · they're unused now */

/* Glass treatment: floor-plan tabs were also on light surfaces of pages with
   --paper background, which is the default; nothing more needed there. */

/* MahaRERA disclosure block · make the QR card itself glass */
.pd-rera__qr {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

/* Press archive items · soft glass row on hover */
@media (hover: hover) and (pointer: fine) {
  .pr-item__inner {
    transition: background var(--dur-base) var(--ease-out);
    border-radius: 12px;
  }
  .pr-item__inner:hover {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
}

/* Form inputs site-wide · frosted, rounded for the glass aesthetic */
.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-edge);
  border-radius: 12px;
  padding: 11px 14px;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--jade);
  outline: 2px solid rgba(58, 55, 51, 0.35);
  outline-offset: 1px;
}

/* Reduced-motion: drop the new transitions */
@media (prefers-reduced-motion: reduce) {
  .px-card,
  .address-card,
  .field input,
  .field select,
  .field textarea {
    transition: none !important;
  }
}


/* ============================================================
   32. Home · foundations (delivery, trust, transparency)
   ============================================================ */
.foundations {
  background: var(--paper);
  padding-block: var(--space-7);
  border-top: 1px solid var(--pearl-edge);
}
.foundations__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 36ch;
  margin-bottom: var(--space-6);
}
.foundations__title {
  font-size: var(--step-4);
  line-height: 1.05;
}
.foundations__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .foundations__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}
.foundations__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 28px rgba(26, 24, 20, 0.05);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .foundations__card:hover {
    transform: translateY(-3px);
    border-color: rgba(58, 55, 51, 0.22);
  }
}
.foundations__icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--pearl-edge);
  color: var(--brass);
}
.foundations__icon,
.foundations__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.foundations__name {
  font-size: var(--step-3);
  line-height: 1.1;
  color: var(--ink);
}
.foundations__copy {
  color: var(--text);
  max-width: 38ch;
}
@media (prefers-reduced-motion: reduce) {
  .foundations__card { transition: none !important; }
}

/* ============================================================
   Pages other than home · pill-header always visible
   Push main content below the floating pill so headers don't collide.
   ============================================================ */
body:not([data-page="home"]):not([data-page="project-detail"]) main {
  padding-top: var(--space-7);
}
@media (max-width: 720px) {
  body:not([data-page="home"]):not([data-page="project-detail"]) main { padding-top: var(--space-6); }
}

/* ============================================================
   Placeholder image box
   Used wherever final imagery is pending. A single utility, with
   ratio modifiers for the most common cell shapes.
   ============================================================ */
.placeholder-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #d8d2c5;
  color: #6f6a60;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: var(--step-s);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0.25rem;
  overflow: hidden;
}
.placeholder-box::before { content: "Placeholder"; }

/* Coded placeholders: a placeholder carrying data-code (and optional
   data-spec) shows an asset ID and a one-line brief on the box itself, so
   the team can see what to source without opening the manifest. Every code
   is also listed in image-manifest.html. */
.placeholder-box[data-code] {
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3);
  text-align: center;
}
.placeholder-box[data-code]::before {
  content: attr(data-code);
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #5c574d;
}
.placeholder-box[data-code]::after {
  content: attr(data-spec);
  max-width: 34ch;
  font-size: var(--step-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.45;
  color: #6f6a60;
}
.placeholder-box--ratio-4-5  { aspect-ratio: 4 / 5; }
.placeholder-box--ratio-16-9 { aspect-ratio: 16 / 9; }
.placeholder-box--ratio-1-1  { aspect-ratio: 1 / 1; }
.placeholder-box--ratio-3-2  { aspect-ratio: 3 / 2; }
.placeholder-box--ratio-3-4  { aspect-ratio: 3 / 4; }
.placeholder-box--ratio-21-9 { aspect-ratio: 21 / 9; }
.placeholder-box--ratio-2-3  { aspect-ratio: 2 / 3; }

/* ============================================================
   Numbered editorial timeline
   Used by Redevelopment Process Overview and Buyer Guide.
   ============================================================ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: timeline;
  border-top: 1px solid var(--paper-deep);
}
.timeline > li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-3);
  row-gap: var(--space-1);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--paper-deep);
}
.timeline > li::before {
  counter-increment: timeline;
  content: counter(timeline, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: var(--step-4);
  color: var(--text-muted);
  line-height: 1;
}
.timeline > li > h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-3);
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.timeline > li > p {
  grid-column: 2;
  grid-row: 2;
  color: var(--text);
  max-width: 60ch;
  margin: 0;
}

/* ============================================================
   Spec-style table
   Used by Quality (construction standards), Quality (RERA),
   Partners (commission terms), Redevelopment (society terms).
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-1);
}
/* Wider tables (the four-column MahaRERA register) can't compress past their
   content, so on narrow screens they scroll inside their own box rather than
   pushing the whole page sideways. */
@media (max-width: 700px) {
  .spec-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.spec-table thead th {
  text-align: left;
  padding: 0 var(--space-2) var(--space-2);
  border-bottom: 1px solid var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--step-s);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.spec-table tbody th,
.spec-table tbody td {
  text-align: left;
  padding: var(--space-2);
  border-bottom: 1px solid var(--paper-deep);
  vertical-align: top;
}
.spec-table tbody th {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  color: var(--ink);
  width: 38%;
}
.spec-table tbody td { color: var(--text); }

/* ============================================================
   Generic feature card grid
   Used by section-level "list of points" treatments where
   foundations__card is too icon-heavy. e.g. Investment
   Opportunities (4 reasons), Society risks (4 mitigations).
   ============================================================ */
/* Layout for .feature-grid comes from the shared card-row system at the end of
   this file: 1-up on phones, 2-up on tablets, 3-up on desktop, with an
   incomplete last row centred rather than left-aligned. */
.feature-card {
  padding: var(--space-4) var(--space-3);
  background: var(--paper-warm);
  border: 1px solid var(--paper-deep);
  border-radius: 0.75rem;
}
.feature-card__num {
  display: inline-block;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: var(--step-3);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}
.feature-card__name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-3);
  margin: 0 0 var(--space-2);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
}
.feature-card__copy {
  color: var(--text);
  margin: 0;
}

/* ============================================================
   Editorial page header
   Used at the top of every non-home page below the pill nav.
   Reuses .label, .display, .display-italic, .lead.
   ============================================================ */
.page-header { padding-block: var(--space-5) var(--space-6); }
.page-header__inner { max-width: 56rem; }
.page-header .label { display: block; margin-bottom: var(--space-3); }
.page-header__title {
  font-size: var(--step-hero);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.page-header__lead {
  margin-top: var(--space-3);
  max-width: 60ch;
}

/* ============================================================
   Section header (eyebrow + roman/italic title)
   Used inside each major section across the new pages.
   ============================================================ */
.sec-header { margin-bottom: var(--space-4); max-width: 50rem; }
.sec-header .label { display: block; margin-bottom: var(--space-2); }
.sec-header__title {
  font-size: var(--step-5);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.sec-header__lead {
  margin-top: var(--space-2);
  max-width: 56ch;
  color: var(--text);
}

/* ============================================================
   Project listing card (Featured Listings on Projects page)
   Richer than home-page .address-card; per-project full block.
   ============================================================ */
.listing-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: var(--space-4);
  padding: 4px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
}
.listing-tab {
  padding: 8px 18px;
  font-size: var(--step-0);
  color: var(--text-muted);
  position: relative;
  border-radius: 999px;
  transition:
    color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}
.listing-tab:hover { color: var(--ink); }
.listing-tab.is-active {
  color: var(--paper);
  background: rgba(58, 55, 51, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.listing-panel[hidden] { display: none; }
.listing-panel__lead { color: var(--text-muted); margin-bottom: var(--space-3); }

.proj-list { display: flex; flex-direction: column; gap: var(--space-5); }
.proj-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}
.proj-block__media .placeholder-box { height: 100%; min-height: 320px; }
.proj-block__body { display: flex; flex-direction: column; gap: var(--space-2); }
.proj-block__loc { color: var(--text-muted); }
.proj-block__name {
  font-size: var(--step-5);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.proj-block__tagline {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: var(--step-2);
  color: var(--text-muted);
}
.proj-block .spec-table { margin-top: var(--space-2); }
.proj-block__cta { margin-top: var(--space-2); }

/* Already delivered grid (smaller cards).
   Column counts come from the shared card-row system at the end of this file. */
.delivered-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
}
.delivered-card .placeholder-box--ratio-4-5 { width: 100%; }
.delivered-card__name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-2);
  color: var(--ink);
}
.delivered-card__meta { color: var(--text-muted); font-size: var(--step-s); }

@media (max-width: 800px) {
  .proj-block { grid-template-columns: 1fr; }
  .proj-block__media .placeholder-box { min-height: 220px; }
}

/* ============================================================
   Lender / publication / certification logo strip
   Used by Buyers (lenders), Media (publications), Quality (certs).
   ============================================================ */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  align-items: center;
}
.logo-strip .placeholder-box { aspect-ratio: 16 / 9; }

/* ============================================================
   Two-column rich content (used by Contact form, Office locations)
   ============================================================ */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 800px) { .split-2 { grid-template-columns: 1fr; } }

/* ============================================================
   Form card (Contact page)
   ============================================================ */
.form-card {
  background: var(--paper-warm);
  border: 1px solid var(--paper-deep);
  border-radius: 1rem;
  padding: var(--space-5) var(--space-4);
}

/* ============================================================
   EMI calculator (For Buyers · Buyer Guide)
   ============================================================ */
.emi-calc {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
}
.emi-calc__title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 var(--space-2);
}
.emi-calc__intro {
  color: var(--text);
  max-width: 62ch;
  margin: 0 0 var(--space-4);
}
.emi-calc__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-3);
  align-items: stretch;
}
@media (max-width: 760px) {
  .emi-calc__grid { grid-template-columns: 1fr; }
}
.emi-calc__controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--paper-warm);
  border: 1px solid var(--paper-deep);
  border-radius: 1rem;
}
.emi-control__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.emi-control__row label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--step-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.emi-control__value {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-2);
  color: var(--ink);
  white-space: nowrap;
}
.emi-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--rule-strong);
  border-radius: 2px;
  outline: none;
  margin: 0;
  cursor: pointer;
}
.emi-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--jade);
  border: 2px solid var(--paper-warm);
  box-shadow: 0 0 0 1px var(--rule-strong);
  transition: transform var(--dur-base) var(--ease-out);
}
.emi-control input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.emi-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--jade);
  border: 2px solid var(--paper-warm);
  box-shadow: 0 0 0 1px var(--rule-strong);
}
.emi-control input[type="range"]:focus-visible { outline: 2px solid var(--jade); outline-offset: 4px; }

.emi-calc__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4);
  background: var(--jade-deep);
  border-radius: 1rem;
}
.emi-calc__result-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: var(--step-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.65;
  margin: 0 0 var(--space-1);
}
.emi-calc__emi {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-hero);
  line-height: 1;
  color: var(--paper);
  margin: 0 0 var(--space-3);
}
.emi-calc__breakdown {
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule-on-ink);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.emi-calc__breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
}
.emi-calc__breakdown dt {
  font-size: var(--step-s);
  color: var(--text-on-ink);
}
.emi-calc__breakdown dd {
  margin: 0;
  font-size: var(--step-0);
  color: var(--paper);
}
.emi-calc__note {
  margin: var(--space-3) 0 0;
  font-size: var(--step-s);
  color: var(--text-muted);
  max-width: 70ch;
}

/* ============================================================
   Contact card (head office + site offices on Contact page)
   ============================================================ */
.contact-card {
  background: var(--paper-warm);
  border: 1px solid var(--paper-deep);
  border-radius: 1rem;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.contact-card__name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-3);
  color: var(--ink);
}
.contact-card__address { color: var(--text); font-style: normal; line-height: 1.55; }
.contact-card__contact a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--paper-deep); }
.contact-card__contact a:hover { border-bottom-color: var(--ink); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }

/* ============================================================
   Subscribe inline form (Media page)
   ============================================================ */
.subscribe-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: end;
  max-width: 480px;
}
.subscribe-inline .field { flex: 1; min-width: 200px; }

/* ============================================================
   Gallery row with placeholder cards (Media page sections)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.gallery-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.gallery-item__caption {
  color: var(--text-muted);
  font-size: var(--step-s);
}
.gallery-item__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-2);
  color: var(--ink);
  line-height: 1.2;
}

/* ============================================================
   Asset list (Partners page · marketing collateral)
   ============================================================ */
.asset-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-2) var(--space-4);
  list-style: none;
  padding: 0;
}
.asset-list li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--paper-deep);
  color: var(--text);
}

/* ============================================================
   Insights · Category cards (hub page)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}
.category-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--paper);
  border: 1px solid var(--paper-deep);
  border-radius: var(--radius-m, 6px);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.category-card:hover {
  transform: translateY(-2px);
  border-color: var(--jade);
}
.category-card__label {
  margin: 0;
}
.category-card__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-3);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.category-card__copy {
  color: var(--text);
  font-size: var(--step-0);
  margin: 0;
}
.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--step-s);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jade);
}
.category-card__link svg {
  transition: transform var(--dur-base) var(--ease-out);
}
.category-card:hover .category-card__link svg {
  transform: translateX(3px);
}

/* ============================================================
   Insights · Post grid (hub and category landings)
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4) var(--space-3);
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.post-card .placeholder-box { margin-bottom: var(--space-1); }
.post-card__meta {
  color: var(--text-muted);
  font-size: var(--step-s);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.post-card__cat {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--step-xs);
  color: var(--jade);
  font-weight: 500;
}
.post-card__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-3);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--jade); }
.post-card__excerpt {
  color: var(--text);
  font-size: var(--step-0);
  max-width: 60ch;
}
.post-card__byline {
  color: var(--text-muted);
  font-size: var(--step-s);
}

/* ============================================================
   Insights · Article (single post page)
   ============================================================ */
.article-header { padding-block: var(--space-5) var(--space-4); }
.article-header__inner { max-width: 56rem; }
.article-header__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--step-s);
  color: var(--text-muted);
}
.article-header__breadcrumb a { color: var(--text-muted); }
.article-header__breadcrumb a:hover { color: var(--jade); }
.article-header__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--space-3);
  max-width: 26ch;
}
.article-header__dek {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: var(--step-3);
  line-height: 1.4;
  color: var(--ink);
  max-width: 56ch;
  margin-bottom: var(--space-4);
}
.article-header__meta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--step-s);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
.article-header__meta-divider {
  color: var(--paper-deep);
}

.article-body { padding-block: 0 var(--space-6); }
.article-body .container { max-width: 44rem; margin-inline: auto; }
.article-body p,
.article-body ul,
.article-body ol,
.article-body h2,
.article-body h3,
.article-body blockquote {
  max-width: 36rem;
  margin-inline: auto;
}
.article-body p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: var(--space-3);
}
.article-body p:first-of-type::first-letter {
  font-size: 3.5rem;
  float: left;
  line-height: 0.9;
  padding-right: 0.5rem;
  padding-top: 0.4rem;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
}
.article-body h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-4);
  line-height: 1.2;
  color: var(--ink);
  margin: var(--space-5) auto var(--space-2);
}
.article-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--ink);
  margin: var(--space-4) auto var(--space-1);
}
.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
  margin-bottom: var(--space-3);
}
.article-body li {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: var(--space-1);
}
.article-body blockquote {
  border-left: 2px solid var(--jade);
  padding: var(--space-1) var(--space-3);
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: var(--step-3);
  color: var(--ink);
  margin-block: var(--space-4);
}
.article-body a {
  color: var(--jade);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-footer {
  border-top: 1px solid var(--paper-deep);
  padding-block: var(--space-4);
}
.article-footer .container { max-width: 44rem; margin-inline: auto; }
.article-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--step-s);
  color: var(--text-muted);
}

/* ============================================================
   Insights · Category landing intro
   ============================================================ */
.category-intro__inner { max-width: 56rem; }
.category-intro__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-3);
}
.category-intro__keywords span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--step-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--paper-deep);
  border-radius: 999px;
}

/* ============================================================
   VISUALISATION KIT · Phase 0
   Shared components for converting content-first inner-page
   sections into visual layouts. Reference: visualisation-plan.md
   and the live catalogue at /kit-preview.html.
   Every block here reuses existing tokens and, where possible,
   existing component classes (.foundations__card, .feature-card,
   .proj-block, .stats) so the inner pages stay consistent with
   the homepage.
   ============================================================ */

/* --- Move 1 · Step grid -------------------------------------
   Process steps as an icon-ring card grid (replaces .timeline).
   Markup: <ul class="step-grid"> with <li class="foundations__card">
   children, so each card inherits the homepage icon-ring styling
   and only the column count differs (1 / 2 / 4 up).
   Add .step-grid--ordered + a <span class="step-card__index"> when
   the sequence order needs to read explicitly. */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 600px)  { .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .step-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step-card__index {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: var(--step-s);
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* --- Move 2 · Feature-card icon variant ---------------------
   Drop an icon ring into an existing .feature-card, in place of
   or above the serif .feature-card__num. */
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--pearl-edge);
  color: var(--brass);
}
.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* --- Move 7 · Icon list -------------------------------------
   Bullet lists (documents, eligibility, collateral) with a
   leading lucide icon per item. Add .icon-list--two-col for the
   two-column layout on wider viewports. */
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
@media (min-width: 640px) {
  .icon-list--two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); }
}
.icon-list > li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: var(--space-2);
  color: var(--text);
  padding: var(--space-1) 0;
}
.icon-list__icon {
  display: inline-flex;
  color: var(--brass);
  margin-top: 0.15em;
}
.icon-list__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* --- Move 3 · Media split -----------------------------------
   Generalises .proj-block (image + content) for use outside the
   Projects page: real <img> media, and an optional reverse
   modifier so the image can sit on either side. */
.proj-block__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}
.proj-block--center { align-items: center; }
.proj-block--reverse .proj-block__media { order: 2; }
@media (max-width: 800px) {
  /* When the row stacks, keep the image first regardless of side. */
  .proj-block--reverse .proj-block__media { order: -1; }
}

/* ============================================================
   Responsive card rows
   ------------------------------------------------------------
   One system for every grid of equal-weight cards. Flex rather
   than grid so an incomplete last row centres under the ones
   above it instead of hanging off the left edge — which also
   means it copes with counts that change at runtime (filtered
   lists, hidden tab panels).

     phone   (<600px)   1-up, stacked
     tablet  (600px+)   2-up, or 3-up when there are exactly 3
     desktop (1024px+)  3-up, or 4-up when there are exactly 4

   Card counts we ship: 3, 4, 5, 6. Only 5 leaves a short row,
   and that row is centred.
   ============================================================ */
.feature-grid,
.delivered-grid {
  --card-gap: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--card-gap);
}
.feature-grid > *,
.delivered-grid > * {
  /* No grow: a lone card keeps its width and centres, rather than
     stretching to fill the row. */
  flex: 0 1 100%;
  min-width: 0;
}

@media (min-width: 600px) {
  .feature-grid > *,
  .delivered-grid > * { flex-basis: calc((100% - var(--card-gap)) / 2); }

  .feature-grid:has(> :nth-child(3):last-child) > *,
  .delivered-grid:has(> :nth-child(3):last-child) > * {
    flex-basis: calc((100% - 2 * var(--card-gap)) / 3);
  }
}

@media (min-width: 1024px) {
  .feature-grid > *,
  .delivered-grid > * { flex-basis: calc((100% - 2 * var(--card-gap)) / 3); }

  .feature-grid:has(> :nth-child(4):last-child) > *,
  .delivered-grid:has(> :nth-child(4):last-child) > * {
    flex-basis: calc((100% - 3 * var(--card-gap)) / 4);
  }
}

/* ============================================================
   Company Vision split (About page, #vision)
   ------------------------------------------------------------
   Title + copy share the left column so the image can sit
   vertically centred against the whole block rather than
   against the paragraphs alone. Scoped to this one section.
   ============================================================ */
.vision-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
}
.vision-split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.vision-split__content .sec-header { margin-bottom: var(--space-2); max-width: none; }
.vision-split__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

@media (max-width: 800px) {
  .vision-split { grid-template-columns: 1fr; gap: var(--space-4); }
}
