/* ============================================================================
   base.css - Le Prisme fluid foundation.
   Nothing here is width-locked: type, spacing and layout scale continuously
   from small phones to ultrawide. Section styles are added below as each
   section is built; motion that needs JS lives in animations.css when required.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. Fonts (self-hosted, Latin-subset WOFF2 built from the brand OTFs)
   Veronica           - display (headings, wordmark-adjacent type)
   Adrianna           - body (Light 300 / Regular 400 / Demibold 600)
   Adrianna Extended  - labels, eyebrows, nav and buttons (Light 300 / Regular 400 / DemiBold 600)
   ---------------------------------------------------------------------------- */
@font-face { font-family: "Veronica"; src: url("../fonts/veronica-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Adrianna"; src: url("../fonts/adrianna-light.woff2") format("woff2");    font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Adrianna"; src: url("../fonts/adrianna-regular.woff2") format("woff2");  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Adrianna"; src: url("../fonts/adrianna-demibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Adrianna"; src: url("../fonts/adrianna-italic.woff2") format("woff2");   font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Adrianna Extended"; src: url("../fonts/adrianna-extended-light.woff2") format("woff2");    font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Adrianna Extended"; src: url("../fonts/adrianna-extended-regular.woff2") format("woff2");  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Adrianna Extended"; src: url("../fonts/adrianna-extended-demibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ----------------------------------------------------------------------------
   2. Design tokens (colours sampled from the supplied logo set and textures)
   ---------------------------------------------------------------------------- */
:root {
  --navy:       #1C2C33;                  /* primary - logo navy, header, footer */
  --navy-deep:  #142027;                  /* darker stage / hover on navy */
  --navy-soft:  #2A3D46;                  /* raised surfaces on navy */
  --beige:      #B3997F;                  /* accent - logo beige, CTAs, eyebrows */
  --beige-light:#C9B39C;                  /* beige hover on dark grounds */
  --olive:      #4E4F38;                  /* secondary - logo olive */
  --sage:       #A6A88A;                  /* tertiary - logo sage */
  --olive-soft: #6B6D51;                  /* olive band on navy (introduction) */
  --charcoal:   #2C3237;                  /* info band under the development cross-section */
  --cream:      #F4F1EB;                  /* page background */
  --cream-deep: #E7E3D8;                  /* brand cream (partner marks), recessed surfaces */
  --ink:        #1C2C33;                  /* body text on cream */
  --muted:      #5B6A71;                  /* secondary text on cream */
  --line:       rgba(28, 44, 51, 0.16);   /* hairlines on cream */
  --line-light: rgba(231, 227, 216, 0.28);/* hairlines on navy */

  --font-display: "Veronica", "Optima", "Candara", Georgia, serif;
  --font-body:    "Adrianna", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-label:   "Adrianna Extended", "Adrianna", "Helvetica Neue", Arial, sans-serif;

  --t-hero:  clamp(40px, 6.4vw, 94px);
  --t-h1:    clamp(38px, 5.2vw, 72px);
  --t-h2:    clamp(30px, 3.8vw, 52px);
  --t-h3:    clamp(22px, 2.4vw, 30px);
  --t-lead:  clamp(17px, 1.5vw, 20px);
  --t-body:  16px;
  --t-small: 13px;
  --t-cta:   12px;

  --wrap: 1320px;                         /* max content width; the page itself is fluid */
  --pad:  clamp(20px, 5vw, 72px);         /* fluid side padding */
  --section-y: clamp(64px, 9vw, 150px);   /* vertical section rhythm */
  --measure: 64ch;                        /* readable line-length cap (every <p> - override where a line must run full width) */

  --logo-w: clamp(130px, 14vw, 220px);     /* header logo width (the scrolled header overrides this to 75%) */
  --header-pad: 14px;                      /* header bar vertical padding (scrolled: 5px less) */
  --header-h: calc(var(--logo-w) * 0.3084 + var(--header-pad) * 2);   /* nominal (unscrolled) bar height: logo is 480x148 */
  --header-x: clamp(20px, 3.5vw, 50px);    /* header edge padding: 50px from ~1430px up, tighter on small screens */
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-settle: cubic-bezier(0.19, 0.6, 0.22, 1);
}

/* ----------------------------------------------------------------------------
   3. Minimal reset
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  overflow-x: clip;   /* clip, not hidden, so position: sticky keeps working */
}
body {
  font-family: var(--font-body); font-weight: 400;
  font-size: var(--t-body); line-height: 1.65;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; overflow-wrap: break-word;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul[class] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }

/* ----------------------------------------------------------------------------
   4. Typography
   ---------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.005em; }
h1 { font-size: var(--t-h1); line-height: 1.04; }
h2 { font-size: var(--t-h2); line-height: 1.1; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p  { max-width: var(--measure); }
a, h1, h2, h3, h4, h5, h6, td, li { overflow-wrap: anywhere; }
.lead { font-size: var(--t-lead); font-weight: 300; line-height: 1.55; }
.eyebrow {
  font-family: var(--font-label); font-size: var(--t-cta); font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--beige);
}
.eyebrow--light { color: var(--cream-deep); letter-spacing: 0.2em; }

/* ----------------------------------------------------------------------------
   5. Layout helpers
   ---------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--cream-deep { background: var(--cream-deep); }
.measure { max-width: var(--measure); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }
.grid { display: grid; gap: clamp(16px, 3vw, 32px); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----------------------------------------------------------------------------
   6. Buttons - every button links somewhere real
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.9em 1.8em;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-label); font-size: var(--t-cta); font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; line-height: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--fill { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.btn--fill:hover { background: var(--cream-deep); border-color: var(--cream-deep); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn--pill { border-radius: 999px; background: var(--navy); color: #fff; border-color: rgba(255, 255, 255, 0.18); min-height: 40px; padding: 0.75em 1.7em; font-size: 11px; letter-spacing: 0.16em; }
.btn--pill:hover { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.btn--outline-light { background: transparent; color: var(--cream-deep); border-color: rgba(231, 227, 216, 0.6); }
.btn--outline-light:hover { background: var(--cream-deep); color: var(--navy); border-color: var(--cream-deep); }

/* ----------------------------------------------------------------------------
   7. Header - fixed, transparent over the hero, navy once scrolled / solid variant.
   Logo left, link list centred, "Enquire Now" pill right; burger + off-canvas panel under 1101px.
   ---------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  color: #fff;
  background: transparent;
  transition: background 0.5s var(--ease);
}
/* Load state: frosted band, 30% navy at the top dissolving to nothing at the bottom (tint and blur fade together).
   Lives on a pseudo-element so the backdrop-filter never becomes the containing block of the fixed nav panel. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 32, 39, 0.3), rgba(20, 32, 39, 0));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent);
  transition: opacity 0.5s var(--ease);
}
.site-header.is-scrolled, .site-header--solid, .site-header.is-open { background: var(--navy); }
.site-header.is-scrolled::before, .site-header--solid::before, .site-header.is-open::before { opacity: 0; }
/* Scrolled: logo 25% narrower and 5px less padding top and bottom, so the whole bar shrinks (animated) */
.site-header.is-scrolled { --logo-w: calc(clamp(130px, 14vw, 220px) * 0.75); --header-pad: 9px; }
.site-header__bar {
  position: relative; z-index: 2;                    /* stays above the off-canvas panel so the burger can close it */
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
  width: 100%;
  padding: var(--header-pad) var(--header-x);        /* full width: no .wrap cap, just the edge padding */
  transition: padding 0.4s var(--ease);
}
.site-header__logo { flex: 0 0 auto; }
/* Home: the hero carries the big logo, so the bar's logo only appears once the bar gets its navy fill (scrolled or menu open). */
.site-header__logo { transition: opacity 0.4s var(--ease), visibility 0.4s; }
body[data-route="home"] .site-header:not(.is-scrolled):not(.is-open):not(.site-header--solid) .site-header__logo { opacity: 0; visibility: hidden; }
.site-header__logo img { width: var(--logo-w); height: auto; transition: width 0.4s var(--ease); }
.site-header-spacer { height: var(--header-h); }

/* One nav landmark: inline (list centred, CTA right) on desktop, off-canvas panel on small screens */
.site-nav { flex: 1; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); min-width: 0; }
.site-nav__list { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 30px); margin-inline: auto; }
.site-nav__list a {
  position: relative; display: inline-block; padding: 0.4em 0; white-space: nowrap;
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9); transition: color 0.25s var(--ease);
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--beige); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--beige-light); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__cta { flex: 0 0 auto; }

.site-header__burger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  margin-left: auto; padding: 8px; min-width: 44px; min-height: 44px;
  background: none; border: 0; color: inherit;
  position: relative; z-index: 2;                    /* above the open panel (z 1, same stacking context) so its X can close it */
}
.site-header__burger span { width: 26px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.site-header.is-open .site-header__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.is-open .site-header__burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(20, 32, 39, 0.55); }

@media (max-width: 1100px) {
  .site-header__burger { display: flex; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1;
    width: min(86vw, 380px); height: 100dvh;
    padding: calc(var(--header-h) + 24px) clamp(24px, 7vw, 44px) 40px;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2rem;
    background: var(--navy-deep); color: var(--cream-deep);
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform 0.4s var(--ease); }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 0.2rem; margin-inline: 0; }
  .site-nav__list a { padding: 0.25em 0; font-family: var(--font-display); font-size: clamp(24px, 6vw, 32px); letter-spacing: 0.02em; text-transform: none; white-space: normal; color: var(--cream-deep); }
  .site-nav__cta { width: 100%; background: var(--beige); color: var(--navy); border-color: var(--beige); }
}

/* ----------------------------------------------------------------------------
   8. Hero - full bleed; daylight render underneath, golden-hour render fading in and out
   above it; two-line title + offer panel anchored top-right; launch strip along the bottom.
   ---------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;          /* grid, not flex: a flexed item with size containment reports 0 cqh, which pinned the lockup under the header */
  color: #fff; background: var(--navy);
  overflow: hidden;
}
.hero__stage { position: relative; overflow: clip; container-type: size; }   /* size container: the lockup is placed in cqh */
/* Full-frame concept render, cover-fit; the sky above the building carries the headline. */
.hero__visual { position: absolute; inset: 0; z-index: -2; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 44, 51, 0.34) 0%, rgba(28, 44, 51, 0) 20%);   /* header legibility only; clears before the navy title */
}

/* Logo top-left under the header; headline block top-right, right-aligned, band bleeding off the right edge */
.hero__logo { position: absolute; left: var(--header-x); top: calc(var(--header-h) + 1cqh); width: clamp(180px, 29vw, 580px); height: auto; margin-left: calc(clamp(180px, 29vw, 580px) * -0.0458); }   /* the file has 44/960 transparent padding on the left; pull it back so the L lines up with the page margin */
.hero__inner {
  position: absolute; right: 0; top: calc(var(--header-h) - 1cqh);
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
  padding-right: var(--header-x);
  color: var(--navy);
}
.hero__inner p { max-width: none; }
.hero__title { display: grid; justify-items: end; line-height: 1; }
.hero__title-a { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 60px); letter-spacing: 0.02em; text-transform: uppercase; }
.hero__title-b { font-family: var(--font-body); font-weight: 600; font-size: clamp(26px, 3vw, 60px); letter-spacing: 0.03em; text-transform: uppercase; margin-top: 0.12em; }
.hero__bar {   /* navy band bleeding off the right edge */
  margin: clamp(8px, 1vw, 20px) calc(-1 * var(--header-x)) 0 0;
  padding: 0.62em var(--header-x) 0.55em 1.4em;
  background: var(--navy); color: var(--sage);
  font-family: var(--font-body); font-weight: 600; font-size: clamp(13px, 1.7vw, 34px); letter-spacing: 0.06em; line-height: 1.1; text-transform: uppercase;
}
.hero__tag { margin-top: clamp(8px, 1vw, 20px); font-family: var(--font-body); font-weight: 600; font-size: clamp(11px, 1vw, 20px); letter-spacing: 0.1em; line-height: 1.35; text-transform: uppercase; color: var(--navy); }

.hero__partners { position: absolute; bottom: 6cqh; left: var(--header-x); display: flex; align-items: center; gap: 2.3vw; }
.hero__partners img { display: block; height: clamp(24px, 2.8vw, 56px); width: auto; }
.hero__disclaimer { position: absolute; right: var(--header-x); bottom: 2.5cqh; max-width: none; white-space: nowrap; text-align: right; font-size: clamp(9px, 0.62vw, 12px); line-height: 1.4; color: rgba(255, 255, 255, 0.85); }

@media (orientation: portrait), (max-width: 860px) {
  .hero__logo { display: none; }                      /* the bar carries the logo on small screens */
  body[data-route="home"] .site-header:not(.is-scrolled):not(.is-open):not(.site-header--solid) .site-header__logo { opacity: 1; visibility: visible; }
  .hero__inner { top: calc(var(--header-h) + 24px); }   /* the 90px used to clear the hero logo, which is gone on small screens */
  .hero__img { height: 138%; }                           /* top-anchored: the extra height trims the lawn off the bottom and gives the sky more room above the building */
  .hero__title-a, .hero__title-b { font-size: clamp(22px, 7vw, 34px); }
  .hero__bar { font-size: 12px; }
  .hero__tag { font-size: 10px; }
  ul.hero__partners { bottom: 4cqh; padding: 10px 14px; border-radius: 6px; background: rgba(20, 32, 39, 0.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }   /* ul. beats the ul[class] padding reset; soft navy wash well past the marks */
  .hero__partners img { height: 26px; }
  .hero__disclaimer { display: none; }
}

/* Launch strip */
.hero__strip {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4em 1.2em;
  padding: clamp(12px, 1.6vh, 18px) var(--pad);
  background: rgba(28, 44, 51, 0.96); color: var(--cream-deep);
  font-family: var(--font-body); font-weight: 600; font-size: clamp(11px, 1.1vw, 16px); line-height: 1.143; letter-spacing: 0.01em; text-transform: uppercase; text-align: center;
}
.hero__strip-item { max-width: none; }
.hero__strip-sep { opacity: 0.55; }
.hero__strip-count { font-variant-numeric: tabular-nums; }

/* Motion: the crossfade and settle run in CSS only and end at rest, so nothing needs JS gating */
@media (prefers-reduced-motion: no-preference) {
  .hero__visual { animation: hero-settle 8s var(--ease-settle) both; }
  /* Lockup entrance: line 1 in from the left, line 2 from the right, the bar slides in off the left edge, then
     the tagline, logo and marks rise */
  .hero__title-a { animation: lockup-from-right 1s var(--ease-settle) 0.35s both; }
  .hero__title-b { animation: lockup-from-left 1s var(--ease-settle) 1.05s both; }
  .hero__bar     { --panel-dir: 1; animation: lockup-panel 1.3s var(--ease-settle) 1.5s both; }
  .hero__tag, .hero__logo, .hero__partners { animation: rise-in 1s var(--ease-settle) 2s both; }
  .hero__logo { animation-delay: 0.2s; }
  .hero__partners { animation-delay: 2.4s; }
  .rise-in { animation: rise-in 1s var(--ease-settle) both; }
  .rise-in.d1 { animation-delay: 0.25s; }
  .rise-in.d2 { animation-delay: 0.45s; }
  .rise-in.d3 { animation-delay: 0.65s; }
}
@keyframes lockup-from-left  { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes lockup-from-right { from { opacity: 0; transform: translateX(48px); }  to { opacity: 1; transform: none; } }
@keyframes lockup-panel      { 0% { opacity: 0; transform: translateX(calc(var(--panel-dir, 1) * max(45vw, 260px))); } 22% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes hero-settle { from { transform: scale(1.04); } to { transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .hero__strip { gap: 0.3em 0.8em; }
  .hero__strip-sep { display: none; }                  /* one item per line, so the pipes have nothing to separate */
  .hero__strip-item { width: 100%; }
}

/* ----------------------------------------------------------------------------
   8b. Introduction - prism-textured navy panel with a faceted right edge over the
   building close-up; olive band runs from the viewport edge to the panel's diagonal.
   ---------------------------------------------------------------------------- */
.intro {
  --intro-h: clamp(600px, 56vw, 900px);
  position: relative; isolation: isolate;
  min-height: var(--intro-h);
  display: grid; align-items: stretch;
  background: var(--navy); color: #fff;
  overflow: hidden;
  transform: scaleX(-1);   /* ponytail: the whole section is mirrored (panel right, photo left); the text block flips back below */
}
.intro__content { transform: scaleX(-1); }
/* The photograph is a RIGHT COLUMN, not a full-bleed background: it starts where the panel's
   diagonal lands at the bottom (0.439 * 1.1843 = 0.52 of the section height) and the text column
   stays on navy. Sizing follows the design, not object-fit cover: the render is scaled so its
   height is 1.084x the section height, bottom-aligned (ground on the section's bottom edge, top
   of the sky trimmed), left edge on the diagonal, overflowing off the right (prow and palms cut).
   intro-building-*.webp is the master cropped to x0 y600 5400x3320 (master archived in
   knowledge-base/intro/), so the plaza + palm LEFT of the building are kept: that margin is
   what puts the building ~0.11H right of the diagonal, as in the design. On very wide-and-short
   viewports the width term takes over so the photo still reaches the right edge. */
.intro { --intro-ratio: calc(5400 / 3320); --intro-overscan: 1.084; }
.intro__media {
  position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--intro-h) * 0.52); z-index: 0;
  overflow: hidden; container-type: size;
}
.intro__media img {
  position: absolute; left: 0; bottom: 0; height: auto; max-width: none;
  width: max(100cqw, calc(100cqh * var(--intro-overscan) * var(--intro-ratio)));
}

/* Layer order: photo column (0) -> angle panel with the text (1) -> building cut-out (2). The panel's
   diagonal covers the photo's upper-left; the cut-out redraws just the building on top of it, so the
   roof and glass poke over the navy exactly as in the design. .intro__cut-fit uses the same sizing as
   the photo, and the cut-out sits at its matched box inside the CROPPED render:
   left 6.348% top 15.198% width 67.713% height 85.328% (the 0.5% bottom overshoot is in the supplied
   cut-out file and keeps its plaza flush with the photo's). */
.intro__cut { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--intro-h) * 0.52); z-index: 2; pointer-events: none; overflow: hidden; container-type: size; }
.intro__cut-fit {
  position: absolute; left: 0; bottom: 0;
  width: max(100cqw, calc(100cqh * var(--intro-overscan) * var(--intro-ratio)));
  aspect-ratio: 5400 / 3320;
}
.intro__cut-img { position: absolute; left: 6.348%; top: 15.198%; width: 67.713%; height: 85.328%; }

/* The panel IS the supplied cut-out (images/angle-img.webp, 1279x1080): it keeps that aspect so the single
   diagonal - top-right corner down to 43.9% of the panel width at the bottom - never distorts. The clip-path
   repeats the same edge so the olive band stops on the diagonal too. */
.intro__panel {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 1;
  height: 100%; width: auto; aspect-ratio: 1279 / 1080;
  display: grid; align-content: center;
  padding: var(--section-y) var(--header-x);
  background: var(--navy-deep) url("../images/angle-img.webp") 0 0 / 100% 100% no-repeat;
  clip-path: polygon(0 0, 100% 0, 43.9% 100%, 0 100%);
}
.intro__content { display: grid; gap: 0; width: clamp(280px, 30vw, 460px); }
.intro__title { margin-top: 0.6rem; max-width: 100%; font-size: clamp(34px, 3.9vw, 58px); line-height: 1.02; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }

/* Olive band: the text stays in the column, the ::before paints the band from the viewport edge past the clipped diagonal */
.intro__band {
  position: relative; z-index: 0; margin-top: clamp(28px, 3.4vw, 50px);
  padding-block: 1.1em; max-width: none;
  font-family: var(--font-body); font-weight: 600; font-size: clamp(15px, 1.35vw, 20px);
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; color: #fff;
}
.intro__band::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60vw; right: calc(-1 * var(--header-x)); background: var(--olive-soft); }   /* mirrored: strip runs from the viewport's right edge past the diagonal */
.intro__band-text { display: inline-block; }   /* inline-block so the reveal transform applies; the strip (::before) stays put */
.intro__copy { margin-top: clamp(24px, 2.6vw, 38px); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; color: rgba(255, 255, 255, 0.92); max-width: 46ch; }
.intro__cta { margin-top: clamp(20px, 1.8vw, 28px); max-width: none; }

/* Reveal travel. Measured at 1600px: the building cut-out's visible edge sits ~690px in at the title rows and ~610-650px
   at the paragraph rows, while the text column ends at ~510px. 26vw starts the title roughly half behind the building;
   14vw starts the paragraph's right end behind it. The band text comes in from the viewport edge over the static strip. */
.intro .eyebrow.fade-x, .intro__title.fade-x { --from: max(-26vw, -440px); }
.intro__copy.fade-x { --from: max(-14vw, -240px); }
.intro__band-text.fade-x { --from: calc(var(--header-x) + 60px); }

@media (max-width: 860px) {
  .intro { min-height: 0; display: flex; flex-direction: column; }
  .intro__media { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 3; height: auto; }
  .intro__cut { display: none; }                     /* the base render already shows the building when stacked */
  .intro__media img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }   /* stacked: plain cover */
  .intro__panel {
    position: relative; inset: auto; height: auto; width: 100%; aspect-ratio: auto; clip-path: none;
    padding-block: clamp(48px, 9vw, 72px);
    background: var(--navy-deep) url("../images/texture-prism-navy-1280.webp") center / cover no-repeat;
  }
  .intro__content { width: 100%; max-width: 560px; }
  .intro__band::before { left: calc(-1 * var(--header-x)); }
  .intro .eyebrow.fade-x, .intro__title.fade-x, .intro__copy.fade-x { --from: -64px; }
  .intro__band-text.fade-x { --from: 64px; }
}

/* ----------------------------------------------------------------------------
   8c. Location - full-viewport aerial (cover), landmarks + pin placed in IMAGE coordinates via the
   .location__fit cover replica, so they stay on their landmarks as the crop changes. Animations run
   once .in lands on the section (data-reveal, main.js): lockup rises in, then each marker in quick
   succession (dot -> line grows up -> label settles with a bounce), the pin drops and bounces, and
   the three strip items step in one, two, three.
   ---------------------------------------------------------------------------- */
.location {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;          /* grid, not flex: a flexed item with size containment reports 0 cqh, which pinned the lockup under the header */
  background: var(--navy); color: #fff; overflow: hidden;
}
.location__stage { position: relative; flex: 1; container-type: size; overflow: hidden; }
.location__fit {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -52%);
  width:  max(100cqw, calc(100cqh * 4032 / 2554));
  height: max(100cqh, calc(100cqw * 2554 / 4032));
}
.location__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.location__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 32, 39, 0.42) 0%, rgba(20, 32, 39, 0.1) 30%, rgba(20, 32, 39, 0) 48%); }

/* Lockup, centred in the sky */
.location__head {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2;
  display: grid; justify-items: center; text-align: center; gap: 0.7rem;
  padding: calc(var(--header-h) + clamp(16px, 4vh, 48px) - 60px) var(--header-x) 0;
}
.location__title { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.location__copy { max-width: min(96ch, 64vw); font-size: clamp(13px, 0.95vw, 15px); line-height: 1.65; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 3px rgba(20, 32, 39, 0.25); }

/* Markers: the <li> IS the line's box (0 wide, --h tall) standing on the dot at (--x, --y) */
.location__markers { position: absolute; inset: 0; margin: 0; padding: 0; pointer-events: none; }
.location__marker {
  position: absolute; left: var(--x); top: calc(var(--y) - var(--h)); height: var(--h); width: 0;
  --delay: calc(0.3s + var(--i) * 0.35s);           /* three markers in quick succession */
}
.location__marker::before {                          /* the line, grows upward from the dot */
  content: ""; position: absolute; left: -0.5px; bottom: 0; width: 1px; height: 100%;
  -webkit-mask-image: var(--mask, none); mask-image: var(--mask, none);   /* --mask: main.js hides the line where another label sits across it */
  background: rgba(255, 255, 255, 0.9); transform-origin: 50% 100%;
}
.location__dot {
  position: absolute; left: 0; bottom: 0; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  transform: translate(-50%, 50%);
}
/* Label below its point (negative h in data/landmarks.json): the box hangs from the dot instead of standing on it */
.location__marker--below { top: var(--y); }
.location__marker--below::before { top: 0; bottom: auto; transform-origin: 50% 0; }
.location__marker--below .location__dot { bottom: 100%; }
.location__marker--below .location__label { bottom: auto; top: 100%; margin: 8px 0 0; }
.location__label {
  position: absolute; left: 0; bottom: 100%; margin-bottom: 8px; transform: translateX(var(--tx, -50%));   /* --tx: mobile clamps the label inside the image */
  width: max-content; max-width: 400px; text-align: center;
  font-family: var(--font-label); font-weight: 600; font-size: clamp(9px, 0.8vw, 12px); letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 8px rgba(20, 32, 39, 0.5);
  padding: 0.35em 0.7em; background: rgba(20, 32, 39, 0.6); border-radius: 2px;
}

/* Le Prisme pin: small cream map-pin (SVG, 100x170: narrow teardrop), tip on (--x, --y), with the white wordmark above it. */
/* Centred with margins, not translate(-50%): a fractional translate resamples the wordmark and blurs it at 100% zoom. */
.location__pin { --pw: clamp(28px, 3vw, 46px); position: absolute; left: var(--x); top: var(--y); width: var(--pw); aspect-ratio: 100 / 170; margin: calc(var(--pw) * -1.7) 0 0 calc(var(--pw) / -2); z-index: 1; }
.location__pin-shape { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 7px rgba(20, 32, 39, 0.4)); }
.location__pin-logo { --lw: clamp(120px, 13vw, 200px); position: absolute; left: 50%; bottom: 100%; width: var(--lw); max-width: none; height: auto; margin: 0 0 6px calc(var(--lw) / -2); filter: drop-shadow(0 1px 6px rgba(20, 32, 39, 0.55)); }
.location__pin-shadow { position: absolute; left: 50%; bottom: -5px; width: 30%; height: 6px; border-radius: 50%; background: rgba(20, 32, 39, 0.35); transform: translateX(-50%); filter: blur(3px); }

/* Strip: three benefits spread across a navy bar */
ul.location__strip {                                 /* ul. so the padding beats the ul[class] reset */
  position: relative; z-index: 1; margin: 0; padding: clamp(12px, 1.6vh, 18px) var(--header-x);
  display: flex; justify-content: space-between; align-items: center; gap: 0.5em 2em;
  background: rgba(28, 44, 51, 0.96); color: var(--cream-deep);
  font-family: var(--font-body); font-weight: 600; font-size: clamp(11px, 1.25vw, 20px); line-height: 1.143; letter-spacing: 0.01em; text-transform: uppercase; text-align: center;
}
.location__strip-item { max-width: none; white-space: nowrap; }

/* Choreography (JS on: hidden until .in; JS off / reduced motion: everything shows at rest) */
html.reveal-ready .location:not(.in) .location__head,
html.reveal-ready .location:not(.in) .location__marker::before,
html.reveal-ready .location:not(.in) .location__dot,
html.reveal-ready .location:not(.in) .location__label,
html.reveal-ready .location:not(.in) .location__pin,
html.reveal-ready .location:not(.in) .location__strip-item { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .location.in .location__head           { animation: rise-in 1.1s var(--ease-settle) 0.15s both; }
  .location.in .location__dot            { animation: marker-dot 0.35s var(--ease-settle) var(--delay) both; }
  .location.in .location__marker::before { animation: marker-line 0.5s var(--ease-settle) calc(var(--delay) + 0.25s) both; }
  .location.in .location__label          { animation: marker-label 0.7s var(--ease-settle) calc(var(--delay) + 0.6s) both; }
  .location.in .location__pin            { animation: pin-drop 1.1s var(--ease-settle) 1.5s both; }
  .location.in .location__strip-item:nth-child(1) { animation: rise-in 0.8s var(--ease-settle) 1.6s both; }
  .location.in .location__strip-item:nth-child(2) { animation: rise-in 0.8s var(--ease-settle) 1.8s both; }
  .location.in .location__strip-item:nth-child(3) { animation: rise-in 0.8s var(--ease-settle) 2.0s both; }
}
@media (prefers-reduced-motion: reduce) { html.reveal-ready .location:not(.in) * { opacity: 1; } }
@keyframes marker-dot   { from { opacity: 0; transform: translate(-50%, 50%) scale(0); } to { opacity: 1; transform: translate(-50%, 50%) scale(1); } }
@keyframes marker-line  { from { opacity: 1; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes marker-label {
  0%   { opacity: 0; transform: translate(var(--tx, -50%), 10px); }
  55%  { opacity: 1; transform: translate(var(--tx, -50%), -7px); }
  78%  { transform: translate(var(--tx, -50%), 3px); }
  100% { opacity: 1; transform: translate(var(--tx, -50%), 0); }
}
@keyframes pin-drop {
  0%   { opacity: 0; transform: translateY(-140px); }
  50%  { opacity: 1; transform: translateY(0); }
  66%  { transform: translateY(-26px); }
  80%  { transform: translateY(0); }
  90%  { transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .location { min-height: 0; }
  .location__stage { container-type: normal; overflow: hidden; }
  .location__head { position: relative; padding: clamp(56px, 12vw, 80px) var(--header-x) clamp(28px, 6vw, 40px); }
  .location__scrim { display: none; }
  .location__copy { max-width: none; }
  .location__fit { position: relative; left: auto; top: auto; transform: none; width: 150%; height: auto; aspect-ratio: 4032 / 2554; container-type: inline-size;
    /* crop: left third, top 38% and bottom 10% of the photo (the landmarks sit between 45% and 88% down, right of centre); % margins are of the stage width */
    margin: calc(-0.38 * 1.5 * 2554 / 4032 * 100%) 0 calc(-0.10 * 1.5 * 2554 / 4032 * 100%) -50%; }
  .location__label { font-size: 5px; letter-spacing: 0.06em; max-width: 140px; padding: 0.3em 0.5em; margin-bottom: 5px;
    /* keep the box inside the image: centred, else pushed in from whichever edge it would cross (--xn: marker x, unitless) */
    --tx: clamp(calc((var(--xn) - 33.333) * -1cqw), -50%, calc((100 - var(--xn)) * 1cqw - 100%)); }   /* 33.333: the left third of the fit is cropped off-screen (150% / -50% above) */
  .location__pin { --pw: 28px; }
  .location__markers { z-index: 2; }                   /* labels read over the pin on the small crop */
  .location__pin-logo { --lw: 104px; }
  ul.location__strip { justify-content: center; flex-wrap: wrap; gap: 0.4em 1.2em; font-size: 10px; letter-spacing: 0.14em; }
}

/* ----------------------------------------------------------------------------
   8d. Greater Vision - sage stage; carousel with the active slide centred (62.6% wide) and its
   neighbours peeking in at both edges; round navy arrows sit on the active slide's edges; one caption
   per slide cross-fades below. main.js clones the ends so it loops; no JS = first slide centred.
   ---------------------------------------------------------------------------- */
.vision {
  position: relative; overflow: hidden;
  padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4.2vw, 56px);
  background: var(--sage); color: #fff;
}
.vision__title { text-align: center; font-size: clamp(28px, 3.3vw, 50px); line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.vision__carousel { --slide-w: 48.5%; --gap: 7%; position: relative; margin-top: clamp(16px, 2.2vw, 30px); }
.vision__viewport { position: relative; overflow: hidden; }
ul.vision__track {
  display: flex; gap: var(--gap); margin: 0; padding: 0;
  transform: translateX(calc(50% - var(--slide-w) / 2));   /* centre slide 0 (JS overrides per index) */
  transition: transform 0.65s var(--ease-settle);
  touch-action: pan-y; user-select: none;
}
ul.vision__track.is-jumping { transition: none; }
.vision__slide { flex: 0 0 var(--slide-w); aspect-ratio: 15 / 8; overflow: hidden; background: var(--navy-deep); }
.vision__slide img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.vision__arrow {
  position: absolute; top: 50%;                          /* the viewport is exactly the slide height */
  width: clamp(30px, 2.6vw, 40px); aspect-ratio: 1; border: 0; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  background: rgba(255, 255, 255, 0.34); color: #fff;      /* translucent white disc, white chevron (as designed) */
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(20, 32, 39, 0.16);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.vision__arrow:hover { background: rgba(255, 255, 255, 0.55); transform: translate(-50%, -50%) scale(1.06); }
.vision__arrow svg { width: 50%; height: 50%; }
.vision__arrow--prev { left: calc(50% - var(--slide-w) / 2); }
.vision__arrow--next { left: calc(50% + var(--slide-w) / 2); }
.vision__captions { display: grid; justify-items: center; margin-top: clamp(14px, 1.8vw, 24px); padding-inline: var(--header-x); text-align: center; }
.vision__caption { grid-area: 1 / 1; display: grid; justify-items: center; gap: 0.55rem; opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.vision__caption.is-active { opacity: 1; pointer-events: auto; }
.vision__caption h3 { font-family: var(--font-body); font-weight: 400; font-size: clamp(14px, 1.3vw, 19px); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.vision__caption p { max-width: 64ch; font-size: clamp(12px, 0.9vw, 14px); line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.vision__cta { margin-top: clamp(14px, 1.6vw, 22px); text-align: center; max-width: none; }

@media (max-width: 860px) {
  .vision__carousel { --slide-w: 84%; --gap: 4%; }
  .vision__arrow { width: 32px; }
  .vision__caption p { max-width: 40ch; }
}

/* ----------------------------------------------------------------------------
   8e. The Development - stats float over the render's sky; an SVG overlay (viewBox 0 0 1 1, fractions
   of the render) carries one <g> per floor: a cream dim rect masked to that floor's outlines plus the
   invisible hit polygons. Hover / focus / .is-active on the group lifts its dim rect, so everything
   but that floor fades; the band below swaps the hint for that floor's title and copy.
   ---------------------------------------------------------------------------- */
.dev { position: relative; background: var(--cream); color: var(--navy); }
.dev__stage { position: relative; }
.dev__img { display: block; width: 100%; height: auto; }

ul.dev__stats {                                      /* ul. so the padding beats the ul[class] reset */
  position: absolute; left: 0; right: 0; top: 11%; z-index: 1;
  display: flex; justify-content: center; align-items: start; gap: clamp(32px, 9vw, 170px);
  margin: 0; padding: 0 var(--header-x); text-align: center;
  transition: opacity 0.4s var(--ease);
}
.dev__stat { display: grid; justify-items: center; gap: 0.1em; }
.dev__num { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 66px); line-height: 1; color: var(--navy); }
.dev__label { margin-top: 0.55em; font-weight: 600; font-size: clamp(10px, 0.9vw, 13px); letter-spacing: 0.06em; text-transform: uppercase; }
.dev__sub { font-size: clamp(9px, 0.8vw, 12px); line-height: 1.4; }

.dev__overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.dev__dim { fill: #F1EDE5; fill-opacity: 0.55; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.dev__floor { cursor: pointer; outline: none; }
.dev__hit { fill: transparent; pointer-events: fill; stroke: transparent; stroke-width: 2px; transition: stroke 0.25s var(--ease); }
.dev__floor:is(:hover, :focus-visible, .is-active) .dev__dim { opacity: 1; }
.dev__floor:focus-visible .dev__hit { stroke: var(--beige); }

.dev__band {
  position: relative; z-index: 3;
  display: grid; justify-items: center; align-items: center; align-content: center;   /* align-items: the hint and info share one cell, so each centres in it */
  min-height: clamp(76px, 7.4vw, 112px); padding: 18px var(--header-x);
  background: var(--charcoal); color: var(--cream-deep); text-align: center;
}
.dev__hint, .dev__info { grid-area: 1 / 1; max-width: none; transition: opacity 0.35s var(--ease); }
.dev__hint-mobile { display: none; }   /* "Click on" under 860px, "Hover over" above */
@media (max-width: 860px) { .dev__hint-desktop { display: none; } .dev__hint-mobile { display: inline; } }
.dev__hint { font-style: italic; font-size: clamp(14px, 1.1vw, 16px); color: rgba(231, 227, 216, 0.82); }
.dev__info { display: grid; justify-items: center; gap: 0.4rem; opacity: 0; pointer-events: none; }
.dev__info h3 { font-family: var(--font-body); font-weight: 600; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-deep); }
.dev__info p { font-size: clamp(11px, 0.85vw, 13px); line-height: 1.55; max-width: 72ch; color: rgba(231, 227, 216, 0.88); }

/* Any active floor: stats fade with the render and the hint gives way to that floor's info.
   Both selector forms are kept: :has() needs no JS; data-active is set by main.js (touch / keyboard). */
.dev:has(.dev__floor:is(:hover, :focus-visible, .is-active)) .dev__stats, .dev[data-active] .dev__stats { opacity: 0.28; }
.dev:has(.dev__floor:is(:hover, :focus-visible, .is-active)) .dev__hint,  .dev[data-active] .dev__hint  { opacity: 0; }
.dev:has([data-floor="rooftop"]:is(:hover, :focus-visible, .is-active)) [data-info="rooftop"], .dev[data-active="rooftop"] [data-info="rooftop"],
.dev:has([data-floor="offices"]:is(:hover, :focus-visible, .is-active)) [data-info="offices"], .dev[data-active="offices"] [data-info="offices"],
.dev:has([data-floor="ground"]:is(:hover, :focus-visible, .is-active))  [data-info="ground"],  .dev[data-active="ground"]  [data-info="ground"]  { opacity: 1; }

@media (max-width: 860px) {
  ul.dev__stats { position: static; flex-direction: column; align-items: center; gap: 32px; padding: clamp(48px, 12vw, 72px) max(var(--header-x), 28px) clamp(36px, 9vw, 56px); }
  .dev__stat { flex: none; }
  .dev__num { font-size: clamp(28px, 8vw, 40px); }
  .dev__label { font-size: 10px; }
  .dev__sub { font-size: 9px; }
  .dev__band { min-height: 96px; padding: 16px var(--header-x); }
  .dev__info p { font-size: 11px; }
}

/* ----------------------------------------------------------------------------
   9. Generic reveal on scroll (used by sections as they are built; main.js adds .in)
   ---------------------------------------------------------------------------- */
html.reveal-ready .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-settle), transform 0.8s var(--ease-settle); }
html.reveal-ready .fade-up.in { opacity: 1; transform: none; }
/* Horizontal reveal: .fade-x slides in along X from --from (negative = from the left). Opacity lands well before the
   travel ends so the element is visibly moving while it clears whatever it starts behind (the intro building cut-out). */
html.reveal-ready .fade-x { opacity: 0; transform: translateX(var(--from, 80px)); transition: opacity 0.7s var(--ease-settle), transform 1.3s var(--ease-settle); }
html.reveal-ready .fade-x.in { opacity: 1; transform: none; }
.fade-left  { --from: -80px; }
.fade-right { --from: 80px; }
.fade-up.d2, .fade-x.d2 { transition-delay: 0.12s; } .fade-up.d3, .fade-x.d3 { transition-delay: 0.24s; }
.fade-up.d4, .fade-x.d4 { transition-delay: 0.36s; } .fade-up.d5, .fade-x.d5 { transition-delay: 0.48s; }

/* ----------------------------------------------------------------------------
   8f. Spaces - "Designed for Dynamic Business". Cream stage; centred lockup; then a 32/68 grid: caption column
   (arrows, 01/, name, copy) and the three-piece art. The art box holds the design's 969x657 aspect, each piece
   sits at its design box and is clipped by an objectBoundingBox path (index.php builds them), so the rounded
   slanted shapes scale with the section. Pieces slot in on reveal and on every step.
   ---------------------------------------------------------------------------- */
.spaces { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 6.5vw, 104px); background: var(--cream); color: var(--navy); }
.spaces__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.spaces__head { display: grid; justify-items: center; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--header-x); text-align: center; }
.spaces__title { font-size: clamp(28px, 3.3vw, 50px); line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: var(--navy); }
.spaces__lead { max-width: min(78ch, 62vw); font-size: clamp(12px, 0.9vw, 14px); line-height: 1.6; color: var(--ink); }

.spaces__stage {
  container-type: inline-size;
  display: grid; grid-template-columns: minmax(0, 32fr) minmax(0, 68fr); align-items: end;
  margin-top: clamp(36px, 5vw, 80px); padding-inline: var(--header-x);
}
/* Caption column: bottom-aligned with the art, lifted so its base sits ~17% of the art's height above the art's
   bottom (as designed). Art height = 0.68 * 0.85 * stage width * 657/969, so 17.5% of that is ~6.9cqw; the
   extra 50px lifts the whole caption column a touch higher than the design. */
.spaces__text { padding-bottom: calc(6.9cqw + 50px); padding-right: clamp(12px, 2vw, 32px); }
.spaces__nav { display: flex; gap: 10px; margin-bottom: clamp(18px, 2vw, 30px); }
.spaces__arrow {
  width: clamp(34px, 2.8vw, 42px); aspect-ratio: 1; padding: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: var(--navy); border: 1px solid rgba(28, 44, 51, 0.45);
  cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.spaces__arrow svg { width: 46%; height: 46%; }
.spaces__arrow:hover:not(:disabled) { background: var(--navy); color: var(--cream); border-color: var(--navy); transform: scale(1.05); }
.spaces__arrow:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }
.spaces__arrow:disabled { opacity: 0.28; cursor: default; }   /* greyed out at the first / last space */
.spaces__captions { display: grid; }
.spaces__caption { grid-area: 1 / 1; opacity: 0; pointer-events: none; visibility: hidden; }   /* hidden: keeps inactive CTAs out of the tab order */
.spaces__caption.is-active { opacity: 1; pointer-events: auto; visibility: visible; }
.spaces__num { font-family: var(--font-label); font-size: clamp(12px, 1.1vw, 17px); letter-spacing: 0.12em; color: var(--navy); max-width: none; }
.spaces__name { margin-top: clamp(10px, 1.1vw, 18px); font-family: var(--font-body); font-weight: 600; font-size: clamp(24px, 2.95vw, 46px); line-height: 1.02; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy); }
.spaces__copy { margin-top: clamp(14px, 1.6vw, 26px); max-width: 46ch; font-size: clamp(12px, 0.92vw, 14px); line-height: 1.55; color: var(--ink); }
.spaces__cta { margin-top: clamp(18px, 2vw, 30px); max-width: none; }

/* Art: design boxes as % of the 969x657 composition */
.spaces__art { position: relative; aspect-ratio: 969 / 657; width: 85%; margin-left: auto; }   /* 15% under the design so the whole piece fits a laptop viewport; stays flush right */
.spaces__shape { position: absolute; overflow: hidden; }
.spaces__shape img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.spaces__shape--top    { left: 14.14%; top: 0;      width: 85.86%; height: 18.57%; clip-path: url(#spaces-clip-top); }
.spaces__shape--main   { left: 0;      top: 1.83%;  width: 100%;   height: 92.09%; clip-path: url(#spaces-clip-main); background: var(--navy-deep); }
.spaces__shape--bottom { left: 32.2%;  top: 92.39%; width: 67.8%;  height: 7.61%;  clip-path: url(#spaces-clip-bottom); }
.spaces__shape--top img, .spaces__shape--bottom img { filter: brightness(0.82) saturate(0.9); }
.spaces__img { opacity: 0; }
.spaces__img.is-active { opacity: 1; }

/* Choreography. Hidden until the section is ~35% in view (data-reveal -> .in), then the pieces slot in: photo from
   the left, top bar from the right, bottom bar from the left, caption rising. Stepping adds .is-leaving for 300ms
   (everything eases out), main.js swaps the slide, and removing the class restarts the same entrance. */
html.reveal-ready .spaces:not(.in) .spaces__shape, html.reveal-ready .spaces:not(.in) .spaces__caption.is-active { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .spaces.in .spaces__shape--main    { animation: spaces-from-left  1s   var(--ease-settle) both; }
  .spaces.in .spaces__shape--top     { animation: spaces-from-right 1s   var(--ease-settle) 0.14s both; }
  .spaces.in .spaces__shape--bottom  { animation: spaces-from-left  1s   var(--ease-settle) 0.28s both; }
  .spaces.in .spaces__caption.is-active { animation: rise-in 0.9s var(--ease-settle) 0.2s both; }
  .spaces.is-leaving .spaces__shape--main   { animation: spaces-out-left  0.3s var(--ease) both; }
  .spaces.is-leaving .spaces__shape--top    { animation: spaces-out-right 0.3s var(--ease) both; }
  .spaces.is-leaving .spaces__shape--bottom { animation: spaces-out-left  0.3s var(--ease) both; }
  .spaces.is-leaving .spaces__caption.is-active { animation: spaces-out-down 0.3s var(--ease) both; }
}
@media (prefers-reduced-motion: reduce) { html.reveal-ready .spaces:not(.in) * { opacity: 1; } }
@keyframes spaces-from-left  { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }
@keyframes spaces-from-right { from { opacity: 0; transform: translateX(6%); }  to { opacity: 1; transform: none; } }
@keyframes spaces-out-left   { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-3%); } }
@keyframes spaces-out-right  { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(3%); } }
@keyframes spaces-out-down   { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(12px); } }

@media (max-width: 860px) {
  .spaces__lead { max-width: 100%; }
  .spaces__stage { grid-template-columns: 1fr; row-gap: clamp(28px, 6vw, 40px); }
  .spaces__art { order: 1; width: 100%; }
  .spaces__text { order: 2; padding: 0; max-width: 560px; }
  .spaces__name { font-size: clamp(26px, 7vw, 36px); }
  .spaces__copy { max-width: 100%; }
}

/* ----------------------------------------------------------------------------
   8g. Campus aerial - full-bleed render band with parallax + settle-zoom (main.js, [data-parallax]).
   The image box is 130% of the band and centred, leaving 15% travel room above and below; JS moves it
   +/-12% of the band height and scales it 1.18 -> 1 as the band crosses the viewport.
   ---------------------------------------------------------------------------- */
.aerial { position: relative; overflow: hidden; height: 108vh; min-height: 620px; background: var(--navy-deep); }   /* a touch over full height so the render fills the screen mid-scroll */
.aerial__img {
  position: absolute; left: 0; right: 0; top: -15%; width: 100%; height: 130%;
  object-fit: cover; object-position: 50% 62%;              /* favour the terrace and plaza over the sky, as designed */
  transform: scale(1.18); will-change: transform; -webkit-user-drag: none;
}
@media (prefers-reduced-motion: reduce) { .aerial__img { transform: none; } }
@media (max-width: 860px) { .aerial { height: clamp(360px, 90vw, 640px); min-height: 0; } }

/* ----------------------------------------------------------------------------
   8h. Innovation Engineered - render under a dark prism panel, building cut-out on top (the Introduction, mirrored).
   Layers: photo (0) -> panel with the text (1) -> cut-out (2). The photo and the cut-out are the same 3836x2419
   frame (the cut-out is transparent outside the building), so one sizing rule keeps them registered. The panel is
   an aspect-locked box (design 1100x622) clipped to a pentagon: two diagonals, top-right down to 31% at the bottom
   and a small chamfer at the top-left, where the palm and sky show through as designed.
   ---------------------------------------------------------------------------- */
.innov {
  --innov-h: clamp(490px, 45vw, 740px);   /* ~20% under the Introduction's height so the whole piece fits smaller screens */
  position: relative; isolation: isolate; min-height: var(--innov-h);
  display: grid; background: var(--navy); color: #fff; overflow: hidden;
}
.innov__media, .innov__cut { position: absolute; inset: 0; overflow: hidden; }
.innov__media { z-index: 0; }
.innov__cut   { z-index: 2; pointer-events: none; }
/* The design frames the render ~10% tighter than a plain cover: the frame is 110% wide, anchored right (the white
   block stays at the right edge, the fins reach ~39% in), and 16% down so the block's roof sits ~8% below the top. */
.innov__media img, .innov__cut img { position: absolute; left: -10%; top: -12%; width: 110%; max-width: none; height: 112%; object-fit: cover; object-position: 100% 16%; }   /* max-width: none beats the global img cap, or the frame stops 10% short of the right edge */
/* In flow (the only grid item), so the section grows if the text ever needs more than --innov-h. Full width: the
   polygon is in section-width percentages, like the photo (cover by width, anchored right), so the fins overlap the
   diagonal at the same rows whatever the height; only the diagonal's angle eases a little on wider aspects. */
.innov__panel {
  position: relative; z-index: 1; width: 100%;
  display: grid; align-content: center;
  padding: calc(clamp(32px, 4vw, 56px) + var(--innov-h) * 0.2) var(--header-x) clamp(32px, 4vw, 56px) calc(var(--header-x) + clamp(40px, 4vw, 70px) + 4px);   /* content sits below centre (title ~30% down, against the fins) and clear of the top-left chamfer */
  background: var(--navy-deep) url("../images/texture-prism-dark-2200.webp") center / cover no-repeat;
  clip-path: polygon(16.4% 0, 63.6% 0, 31% 100%, 0 100%, 0 45%);
}
.innov__content { display: grid; gap: 0; width: clamp(280px, 30vw, 460px); }
.innov__title { width: max-content; max-width: 100%; text-align: right; font-size: clamp(34px, 4.3vw, 64px); line-height: 1.02; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.innov__copy { margin-top: clamp(18px, 2vw, 30px); max-width: 34ch; font-size: clamp(12px, 0.95vw, 14px); line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.innov__list { display: grid; gap: clamp(10px, 1.1vw, 16px); margin-top: clamp(22px, 2.6vw, 38px); }
.innov__list li {
  position: relative; padding-left: 1.7em;
  font-family: var(--font-label); font-weight: 600; font-size: clamp(10px, 0.92vw, 14px); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; color: #fff;
}
.innov__list li::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 0.6em; height: 0.6em; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 50%; }
.innov__list li:nth-child(1) { transition-delay: 0.2s; } .innov__list li:nth-child(2) { transition-delay: 0.3s; } .innov__list li:nth-child(3) { transition-delay: 0.4s; }
.innov__list li:nth-child(4) { transition-delay: 0.5s; } .innov__list li:nth-child(5) { transition-delay: 0.6s; }
.innov__cta { margin-top: clamp(22px, 2.4vw, 34px); max-width: none; transition-delay: 0.7s; }
.innov__title.fade-x { --from: min(22vw, 360px); }

@media (max-width: 860px) {
  .innov { min-height: 0; display: flex; flex-direction: column; }
  .innov__media { position: relative; inset: auto; order: 2; aspect-ratio: 4 / 3; height: auto; }
  .innov__media img { position: static; width: 100%; height: 100%; object-position: 70% 100%; }
  .innov__cut { display: none; }                      /* the photo already shows the building when stacked */
  .innov__panel { width: 100%; clip-path: none; padding: clamp(48px, 9vw, 72px) var(--header-x); }   /* no chamfer when stacked, so no extra left inset */
  .innov__content { width: 100%; max-width: 560px; }
  .innov__title.fade-x { --from: 64px; }
}

/* ----------------------------------------------------------------------------
   8i. Own at Le Prisme - photo + sage ribbon with a fold, copy flowing down the ribbon's diagonal.
   Stage = the design's 1106x600 frame (aspect-locked, inline-size container, so cqw units reproduce the design at
   any width). Ribbon outer edge L(y) = 29.84% + 0.7 * y (in stage px); photo top at 10.83%; photo and ribbon meet
   on the inner line L(y) + 5px between the photo's top and bottom - the fold.
   ---------------------------------------------------------------------------- */
.own { position: relative; overflow: hidden; background: var(--cream-deep); color: #fff; }
/* Stage 1106x633.5: the photo (503.5 tall) sits 65 from the top and 65 from the bottom; the ribbon runs edge to edge. */
.own__stage { position: relative; container-type: inline-size; aspect-ratio: 1106 / 633.5; }
.own__img {
  position: absolute; left: 2.98%; top: 10.26%; width: 94.04%; height: 79.48%; object-fit: cover;   /* full width, equal 65/633.5 space above and below; the ribbon lies over it */
  border-radius: 0.9cqw;
}
.own__ribbon-wrap { position: absolute; inset: 0; z-index: 1; pointer-events: none; }   /* above the photo; carries the reveal clip so the ribbon itself never moves */
.own__ribbon {
  position: absolute; inset: 0; background: var(--sage);
  /* Both edges slope 0.7 px/px (parallel: constant width); left line L(y) = 292.4 + 0.7y design px, straight over the
     photo. Points: top-left, top-right, right edge exits at y=312, bottom-right, bottom-left. */
  clip-path: polygon(26.44% 0, 80.24% 0, 100% 49.25%, 100% 100%, 66.54% 100%);
}
/* Copy: the box starts on the ribbon's top-left corner and spans the full stage height (no padding: the float's
   100% height must equal the stage so its diagonal keeps the ribbon's slope). The float's shape IS the diagonal
   pushed 6.5cqw right - the gap is built into the polygon (shape-margin gets clipped at the float's box) - so every
   line starts a constant ~6.5% of the width off the ribbon's edge. Box width 62.06% of the stage: 6.5 / 62.06 = 10.5%
   at the top, (37.97 + 6.5) / 62.06 = 71.7% at the bottom. */
.own__text { position: absolute; z-index: 2; left: 26.44%; top: 0; right: 8.1%; bottom: 0; }   /* box width 65.46% = 724 design px */
.own__slant { float: left; width: 100%; height: 100%; shape-outside: polygon(0 0, 9.2% 0, 70.45% 100%, 0 100%); }   /* diagonal 0.7 * 633.5 = 443.5px -> 61.25% of the box; gap 66.6px (6.02% of the stage) -> 9.2% */
.own__title { margin-top: 7.76cqw; font-size: clamp(26px, 4.58cqw, 72px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.own__title span { display: block; text-indent: -1.2cqw; }   /* a tall line meets the diagonal lower down, so it would start further right than the small copy; pull it back to the same gap */
.own__lead { margin-top: 1.9cqw; font-size: max(11px, 1cqw); line-height: 1.6; color: rgba(255, 255, 255, 0.92); max-width: none; }
.own__copy { margin-top: 1.9cqw; font-size: max(11px, 1cqw); line-height: 1.6; color: rgba(255, 255, 255, 0.92); max-width: none; }
.own__list { display: block; margin: 2.9cqw -6cqw 0 0; }     /* the negative right margin lets the bullets run wider than the paragraphs, as designed */
.own__list li {
  margin-top: 0.9cqw;                                        /* the circle starts on the same line as the copy; a wrapped line starts there too */
  font-family: var(--font-label); font-weight: 600; font-size: max(10px, 0.95cqw); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; color: #fff;
}
.own__list li::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.9em; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 50%; vertical-align: 0.05em; }
.own__disclaimer { margin-top: 2.4cqw; font-size: max(10px, 0.8cqw); line-height: 1.5; color: rgba(255, 255, 255, 0.75); max-width: none; }

/* Choreography (data-reveal -> .in): photo fades up, the ribbon falls in from above, then the copy slots in from the
   right block by block. JS off / reduced motion: everything at rest. */
html.reveal-ready .own:not(.in) :is(.own__img, .own__title, .own__lead, .own__copy, .own__list li, .own__disclaimer) { opacity: 0; }
html.reveal-ready .own:not(.in) .own__ribbon-wrap { clip-path: inset(0 0 100% 0); }   /* = own-wipe's first frame: nothing revealed yet */
@media (prefers-reduced-motion: no-preference) {
  .own.in .own__img         { animation: own-fade 1s var(--ease-settle) both; }
  .own.in .own__ribbon-wrap { animation: own-wipe 1.6s var(--ease-settle) 0.15s both; }
  .own.in .own__title  { animation: own-slot 0.8s var(--ease-settle) 1.25s both; }
  .own.in .own__lead   { animation: own-slot 0.8s var(--ease-settle) 1.4s both; }
  .own.in .own__copy   { animation: own-slot 0.8s var(--ease-settle) 1.55s both; }
  .own.in .own__list li:nth-child(1) { animation: own-slot 0.7s var(--ease-settle) 2.0s both; }
  .own.in .own__list li:nth-child(2) { animation: own-slot 0.7s var(--ease-settle) 2.12s both; }
  .own.in .own__list li:nth-child(3) { animation: own-slot 0.7s var(--ease-settle) 2.24s both; }
  .own.in .own__disclaimer { animation: own-slot 0.7s var(--ease-settle) 2.4s both; }
  @media (max-width: 860px) {   /* stacked: the text sits under the photo, so it needs to land as soon as the section is in */
    .own.in .own__title  { animation-delay: 0.2s; }
    .own.in .own__lead   { animation-delay: 0.35s; }
    .own.in .own__copy   { animation-delay: 0.5s; }
    .own.in .own__list li:nth-child(1) { animation-delay: 0.7s; }
    .own.in .own__list li:nth-child(2) { animation-delay: 0.82s; }
    .own.in .own__list li:nth-child(3) { animation-delay: 0.94s; }
    .own.in .own__disclaimer { animation-delay: 1.1s; }
  }
}
@media (prefers-reduced-motion: reduce) { html.reveal-ready .own:not(.in) * { opacity: 1; } }
@keyframes own-fade { from { opacity: 0; } to { opacity: 1; } }
/* The wipe: a horizontal edge travelling top to bottom - the ribbon is revealed straight down, in place. */
@keyframes own-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes own-slot { from { opacity: 0; transform: translateX(3cqw); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) and (min-width: 861px) {   /* narrow desktops: the px floors stop the type scaling, so give the copy back some height */
  .own__title { margin-top: 5.16cqw; }
  .own__lead, .own__copy { font-size: max(10px, 1cqw); }
  .own__list li { font-size: max(9px, 0.95cqw); }
}
@media (max-width: 860px) {
  .own { padding-bottom: 0; }
  .own__stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .own__img { position: static; width: calc(100% - 2 * var(--header-x)); height: auto; margin: var(--header-x) var(--header-x) 0; aspect-ratio: 4 / 3; clip-path: none; border-radius: 8px; }
  .own__ribbon-wrap { display: none; }
  .own__text { position: static; inset: auto; margin-top: var(--header-x); padding: clamp(40px, 8vw, 56px) var(--header-x); background: var(--sage); }
  .own__slant { display: none; }
  .own__title { margin-top: 0; font-size: clamp(30px, 8vw, 40px); }
  .own__lead, .own__copy { font-size: 14px; margin-top: 16px; max-width: 60ch; }
  .own__disclaimer { font-size: 12px; margin-top: 22px; }
  .own__list { margin: 22px 0 0; }
  .own__list li { font-size: 12px; margin-top: 10px; }
  @keyframes own-slot { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ----------------------------------------------------------------------------
   8j. Campus scene - layered parallax (main.js, [data-parallax] > [data-speed]). Background box is 130% of the
   section (15% travel room each way). The fronds hang from the top corners: each leaf image is pulled up by a
   percentage of its own width (margin % = containing block width; the image is 1.333x taller than wide) so only
   the lower fronds show, and sways about its top corner.
   ---------------------------------------------------------------------------- */
.scene { position: relative; overflow: hidden; height: 110vh; min-height: 640px; background: var(--navy-deep); }
.scene__bg { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; will-change: transform; transform-origin: 50% 100%; }   /* the scroll zoom grows from the bottom centre */
.scene__bg img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; }
.scene__leaf { position: absolute; top: 0; pointer-events: none; will-change: transform; }
.scene__leaf--left  { left: -1%; width: clamp(200px, 25vw, 450px); }
.scene__leaf--right { right: 0;  width: clamp(190px, 23vw, 420px); }
.scene__frond { display: block; width: 100%; height: auto; max-width: none; margin-top: -48%; transform-origin: 8% 0; filter: brightness(0.3); }   /* -48% of width = ~36% of the leaf's height hidden above; fronds darkened 70% towards silhouette against the dusk */
.scene__frond--alt { margin-top: -34%; transform-origin: 92% 0; }                                                          /* right frond: only ~25% hidden, so most of it is in view */
@media (prefers-reduced-motion: no-preference) {
  .scene__frond      { animation: frond-sway 7.5s ease-in-out infinite; }
  .scene__frond--alt { animation: frond-sway 9s ease-in-out -3s infinite reverse; }
}
@keyframes frond-sway { 0%, 100% { rotate: -0.7deg; } 50% { rotate: 0.7deg; } }
@media (max-width: 860px) {
  .scene { height: clamp(420px, 92vw, 640px); min-height: 0; }
  .scene__leaf--left  { width: 42vw; }
  .scene__leaf--right { width: 38vw; }
}

/* ----------------------------------------------------------------------------
   8k. Development partners - lockup + three partner marks over the coastal aerial. The photo (1134x980, horizon at
   52% of its height) is a cover; on a wide section that crops ~1/3 of its height, and object-position 50% 35% takes
   most of that from the top while landing the horizon near 60% of the section. The content box is the upper 55%
   with its content centred, which keeps the marks clear of the horizon.
   ---------------------------------------------------------------------------- */
.expertise { position: relative; overflow: hidden; min-height: clamp(600px, 58vw, 900px); display: grid; background: var(--navy); color: #fff; }   /* ~250px taller than the design at 1500 wide; the extra is all coastline below the lockup */
.expertise__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 35%; }
.expertise__content {
  position: relative; z-index: 1; min-height: 32vw; align-self: start;                      /* box height follows the width, not the section, so extra section height goes below */
  display: grid; justify-items: center; align-content: start; gap: 0;
  padding: clamp(32px, 3vw, 48px) var(--header-x) 110px; text-align: center;            /* content pinned to the top of the box, under the sky */
}
.expertise__title { margin-top: 0.7rem; font-size: clamp(30px, 4.5vw, 66px); line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 4px rgba(20, 32, 39, 0.18); }
.expertise__copy { margin-top: clamp(18px, 2.2vw, 34px); max-width: min(78ch, 60vw); font-size: clamp(12px, 0.95vw, 15px); line-height: 1.6; color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 3px rgba(20, 32, 39, 0.2); }
.expertise__partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 7vw, 120px); margin-top: clamp(28px, 3.4vw, 54px); }
.expertise__partners img { display: block; height: clamp(46px, 5.4vw, 72px); width: auto; filter: drop-shadow(0 1px 3px rgba(20, 32, 39, 0.2)); }
.expertise__partners a { display: block; }

@media (max-width: 860px) {
  /* Stacked: eyebrow, title and copy on the navy above the photo; the photo follows in flow with only the marks in its sky */
  .expertise { min-height: 0; padding: 40px 0 0; }
  .expertise__content { display: contents; }                                    /* its children become the section's grid rows */
  .expertise__content > * { grid-column: 1; justify-self: center; }
  .expertise .eyebrow, .expertise__title, .expertise__copy { padding: 0 var(--header-x); text-align: center; }
  .expertise__title { margin-top: 0.7rem; }
  .expertise__copy { max-width: 100%; margin-top: 18px; }
  .expertise__bg, .expertise__partners { grid-row: 4; grid-column: 1; }           /* same cell: marks over the photo's sky */
  .expertise__bg { position: static; width: 100%; height: auto; aspect-ratio: 1920 / 1794; margin-top: 32px; }
  ul.expertise__partners { z-index: 1; align-self: start; margin-top: 32px; padding: 14vw var(--header-x) 0; gap: 24px 36px; }   /* ul. beats the ul[class] padding reset; the marks sit a little lower in the sky */
  .expertise__partners img { height: 40px; }
}

/* ----------------------------------------------------------------------------
   8l. Insights - sage stage. Eyebrow + full-width hairline (draws in on reveal), then three centred cards in a grid
   86.5% wide (design: 3 x 313 of 1088), each card 80% of its column (the 250px image of the design), portrait 4:5
   image that grows on hover, letter-spaced title, justified excerpt.
   ---------------------------------------------------------------------------- */
.insights { position: relative; padding: clamp(26px, 2.8vw, 40px) var(--header-x) clamp(52px, 6vw, 90px); background: var(--sage); color: var(--cream-deep); }
.insights__head { position: relative; padding: 0 0 clamp(12px, 1.3vw, 18px) clamp(8px, 1.2vw, 14px); }
.insights__head::after { content: ""; position: absolute; left: calc(-1 * var(--header-x) / 2); right: calc(-1 * var(--header-x) / 2); bottom: 0; height: 1px; background: rgba(231, 227, 216, 0.6); transform-origin: 0 50%; }
.insights__eyebrow { font-family: var(--font-label); font-weight: 600; font-size: clamp(12px, 1.05vw, 15px); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; color: var(--cream-deep); }

/* Reveal: the hairline draws from the left, the eyebrow fades; cards use the shared fade-up stagger */
html.reveal-ready .insights:not(.in) .insights__head::after { transform: scaleX(0); }
html.reveal-ready .insights:not(.in) .insights__eyebrow { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .insights.in .insights__head::after { animation: line-draw 1.1s var(--ease-settle) both; }
  .insights.in .insights__eyebrow { animation: own-fade 0.8s var(--ease-settle) 0.3s both; }
}
@media (prefers-reduced-motion: reduce) { html.reveal-ready .insights:not(.in) .insights__head::after { transform: none; } html.reveal-ready .insights:not(.in) .insights__eyebrow { opacity: 1; } }
@keyframes line-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 860px) {
}

/* ----------------------------------------------------------------------------
   8m. Register on Markt - cream stage, dark prism panel (slanted left edge from 30% at the top to 60% at the bottom:
   a ~27 degree wedge like the design), the device mock-up over the edge, olive band running left to the diagonal,
   numbered steps and an underline-style form. The panel is the in-flow grid item, so the section grows with the form.
   ---------------------------------------------------------------------------- */
.markt { --markt-h: clamp(620px, 56vw, 900px); position: relative; isolation: isolate; min-height: var(--markt-h); display: grid; background: var(--cream); color: #fff; overflow: hidden; }
.markt__panel {
  position: relative; z-index: 1; width: 100%; display: grid;
  padding: clamp(40px, 5.5vw, 80px) var(--header-x) clamp(40px, 5.5vw, 80px) 62%;   /* copy starts just right of the edge's lowest point (60%) and the devices (57.4%) */
  background: var(--navy-deep) url("../images/texture-prism-dark-2200.webp") center / cover no-repeat;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 60% 100%);
}
.markt__content { display: grid; gap: 0; }
.markt__title { font-size: clamp(30px, 4.2vw, 62px); line-height: 1.02; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.markt__band {
  margin: clamp(22px, 2.6vw, 40px) calc(-1 * var(--header-x)) 0 -70vw; padding: 1.1em var(--header-x) 1.1em 70vw; max-width: none;   /* runs far left; the panel's clip-path ends it on the diagonal, under the devices */
  background: var(--olive-soft);
  font-family: var(--font-label); font-weight: 600; font-size: clamp(12px, 1.15vw, 17px); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; color: var(--cream-deep);
}
.markt__band.fade-x { --from: min(-18vw, -160px); }   /* slides in from the left, like the intro band */
.markt__steps {
  counter-reset: step; display: grid; gap: 0.5em; margin-top: clamp(22px, 2.6vw, 38px); padding: 0; list-style: none;
  font-family: var(--font-label); font-weight: 600; font-size: clamp(10px, 0.95vw, 14px); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; color: var(--cream-deep);
}
.markt__steps li { counter-increment: step; display: grid; grid-template-columns: 2.3em 1fr; }
.markt__steps li::before { content: counter(step) "."; }
.markt__form { display: grid; gap: 0; margin-top: clamp(20px, 2.4vw, 34px); }
.markt__field { position: relative; display: block; }
.markt__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(14px, 1.6vw, 26px); }
.markt__field--tel { display: grid; grid-template-columns: 5.6em 1fr; column-gap: 0.8em; }   /* dial code + mobile share one column */
.markt__field--tel > label { position: relative; display: block; min-width: 0; }
.markt__field--tel > label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.markt__field--tel select { color: #fff; }
.markt__field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* labels for assistive tech; the placeholders carry the visible text, as designed */
.markt__field input, .markt__field select {
  width: 100%; padding: 0.95em 0 0.7em; border: 0; border-bottom: 1px solid rgba(231, 227, 216, 0.45); border-radius: 0;
  background: transparent; color: #fff; font: inherit; font-size: clamp(11px, 0.95vw, 14px); letter-spacing: 0.02em;
}
.markt__field input::placeholder { color: rgba(231, 227, 216, 0.62); }
.markt__field select {
  appearance: none; -webkit-appearance: none; padding-right: 1.8em; cursor: pointer; color: rgba(231, 227, 216, 0.62);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23E7E3D8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 0.1em center / 1em no-repeat;
}
.markt__field select:valid { color: #fff; }               /* a real choice made (the placeholder option is disabled, so it stays :invalid) */
.markt__field select option { color: var(--navy); background: #fff; }
.markt__field input:focus, .markt__field select:focus { outline: none; border-bottom-color: var(--beige); }
.markt__msg { margin-top: 0.6em; color: var(--cream-deep); }
.markt__foot { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(14px, 1.6vw, 24px); }
.markt__consent { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); margin-right: auto; font-family: var(--font-label); font-size: clamp(8px, 0.64vw, 10px); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; color: var(--cream-deep); cursor: pointer; }
.markt__consent a { text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.markt__consent input { appearance: none; -webkit-appearance: none; flex: none; width: clamp(20px, 1.8vw, 27px); aspect-ratio: 1; margin: 0; border: 1px solid rgba(231, 227, 216, 0.75); border-radius: 3px; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background 0.2s var(--ease); }
.markt__consent input:checked { background: var(--cream-deep); border-color: var(--cream-deep); }
.markt__consent input:checked::after { content: ""; width: 30%; height: 55%; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translateY(-12%) rotate(45deg); }
.markt__consent input:focus-visible { outline: 2px solid var(--beige); outline-offset: 2px; }
.markt__submit { flex: none; min-height: 0; padding: 0.6em 1.9em; font-size: 10px; letter-spacing: 0.14em; background: var(--cream-deep); color: var(--navy); border-color: transparent; }
.markt__submit:hover { background: #fff; color: var(--navy); }
.markt__submit:disabled { opacity: 0.6; cursor: default; }

/* Devices: 15% under the design's width, vertically centred in the section, above the panel so the phone crosses the edge */
.markt__devices { position: absolute; left: 5%; top: 0; bottom: 0; width: 52.4%; z-index: 2; pointer-events: none; display: grid; align-items: center; }
.markt__devices img { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 18px 40px rgba(20, 32, 39, 0.28)); }
.markt__devices img.fade-x { --from: -6vw; }

@media (max-width: 860px) {
  .markt { min-height: 0; display: flex; flex-direction: column; }
  .markt__devices { position: relative; inset: auto; order: 1; width: 88%; margin: 32px auto 0; display: block; }
  .markt__devices img.fade-x { --from: -40px; }
  .markt__panel { order: 2; clip-path: none; margin-top: 28px; padding: clamp(44px, 9vw, 64px) var(--header-x); }
  .markt__band { margin-left: calc(-1 * var(--header-x)); padding-left: var(--header-x); font-size: 14px; }
  .markt__band.fade-x { --from: -64px; }
  .markt__steps { font-size: 12px; }
  .markt__field input, .markt__field select { font-size: 14px; }
  .markt__foot { flex-wrap: wrap; row-gap: 16px; }
  .markt__consent { font-size: 10px; }
}
@media (max-width: 480px) { .markt__row { grid-template-columns: 1fr; } }

/* Sage page head (FAQs) */
/* The page head sits on the site's normal container (--wrap, --pad) and the three cards fill it */
.insights--page { padding: clamp(40px, 5vw, 72px) var(--pad) clamp(64px, 8vw, 120px); }
.insights__head--page { display: grid; gap: clamp(10px, 1.2vw, 18px); padding: 0 0 clamp(20px, 2.4vw, 32px); }
.insights__head--page > * { max-width: 60ch; }
.insights__head--page::after { left: 0; right: 0; }
.insights__pagetitle { font-size: var(--t-h1); line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.insights__intro { font-size: clamp(14px, 1.05vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }

/* FAQs page (/faqs): reuses the Insights page head on sage; native <details> rows with a +/- marker */
.faqs__group, .faqs__cta { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.faqs__group { margin-top: clamp(36px, 4.4vw, 64px); }
.faqs__heading { font-size: var(--t-h3); letter-spacing: 0.02em; text-transform: uppercase; color: #fff; padding-bottom: clamp(12px, 1.2vw, 18px); border-bottom: 1px solid rgba(231, 227, 216, 0.6); }
.faqs__item { border-bottom: 1px solid rgba(231, 227, 216, 0.35); }
.faqs__q { display: flex; justify-content: space-between; align-items: center; gap: 1.5em; padding: clamp(16px, 1.6vw, 22px) 0; cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.35; color: #fff; }
.faqs__q::-webkit-details-marker { display: none; }
.faqs__q::after { content: "+"; flex: 0 0 auto; font-weight: 400; font-size: 1.5em; line-height: 1; transition: transform 0.3s var(--ease); }
.faqs__item[open] .faqs__q::after { transform: rotate(45deg); }
.faqs__q:focus-visible { outline: 2px solid var(--cream-deep); outline-offset: 4px; }
.faqs__a { padding-bottom: clamp(18px, 1.8vw, 26px); font-size: clamp(14px, 1.05vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.faqs__cta { margin-top: clamp(40px, 5vw, 72px); }

/* ----------------------------------------------------------------------------
   10. Footer - glass-prism texture stage: marks row (brand + partners), hairline, copyright | credit | legal.
   ~24% of a 23%-of-92vw-wide 4:5 card = ~6.4vw) plus a gap.
   ---------------------------------------------------------------------------- */
.site-footer {
  position: relative; color: var(--cream-deep);
  padding: clamp(40px, 5vw, 72px) var(--header-x) clamp(18px, 2vw, 28px);
  background: var(--navy-deep) url("../images/texture-prism-glass-2200.webp") center / cover no-repeat;
}
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(20, 32, 39, 0.22); pointer-events: none; }   /* takes the glare off the texture so the cream marks read */
.site-footer__inner { position: relative; display: grid; gap: clamp(32px, 4vw, 56px); }
.site-footer__marks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(36px, 8vw, 130px); }
.site-footer__logo img { display: block; width: clamp(150px, 15vw, 210px); height: auto; }
.site-footer__partner img { display: block; height: clamp(46px, 5.2vw, 68px); width: auto; opacity: 0.95; transition: opacity 0.25s var(--ease); }
.site-footer__partner:hover img { opacity: 1; }
.site-footer__contact { text-align: center; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.6; }
.site-footer__contact p { max-width: none; }
.site-footer__contact a { transition: color 0.25s var(--ease); }
.site-footer__contact a:hover { color: #fff; }
.site-footer__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-top: clamp(14px, 1.6vw, 20px); border-top: 1px solid rgba(231, 227, 216, 0.35);
  font-family: var(--font-label); font-size: clamp(9px, 0.7vw, 11px); letter-spacing: 0.04em; line-height: 1.4;
}
.site-footer__bar p, .site-footer__bar nav { margin: 0; max-width: none; }
.site-footer__credit { text-align: center; }
.site-footer__legal { display: flex; gap: 0.6em; justify-content: flex-end; flex-wrap: wrap; }
.site-footer__bar a { transition: color 0.25s var(--ease); }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bar a:hover { color: #fff; }
.site-footer__social { display: flex; justify-content: center; gap: 0.8rem; }
.site-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(231, 227, 216, 0.35); border-radius: 50%; transition: background 0.25s var(--ease), border-color 0.25s var(--ease); }
.site-footer__social a:hover { background: rgba(231, 227, 216, 0.12); border-color: var(--cream-deep); }
@media (max-width: 860px) {
  .site-footer__marks { gap: 28px 40px; }
  .site-footer__bar { grid-template-columns: 1fr; text-align: center; row-gap: 8px; }
  .site-footer__legal { justify-content: center; }
}

/* ----------------------------------------------------------------------------
   11. Forms
   ---------------------------------------------------------------------------- */
.form__hp { display: none; }                          /* honeypot: not rendered, so autofill never touches it */
.form__msg { font-size: var(--t-small); min-height: 1.4em; }
.form__msg.is-error { color: #A3311E; }

/* ── Submit busy state (main.js adds .is-loading + injects the spinner span) ─────
   MANDATORY on every form submit button (spec §8). A submit can legitimately take
   many seconds — process.php retries the Markt delivery before it answers — and a
   merely-disabled button reads as "this button is broken", so visitors re-click or
   leave. The swapped LABEL is what carries the state: the global reduced-motion rule
   freezes every animation, so the spinner must never be the only signal.
   main.js also sets aria-busy for assistive tech. .btn is inline-flex with a gap, so the
   spinner needs no margin. */
.is-loading[aria-busy="true"] { cursor: progress; }
.btn__spinner {
  width: 1em; height: 1em; flex: none;
  border: 2px solid currentColor;
  border-top-color: transparent;   /* the gap that makes the rotation legible */
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------------------
   12. Legal pages (privacy / terms) - long-form readable typography
   ---------------------------------------------------------------------------- */
.legal { max-width: var(--measure); }
.legal h1 { font-size: var(--t-h2); }
.legal h2 { font-size: var(--t-h3); margin-top: 2.4rem; }
.legal h3 { font-size: var(--t-lead); font-family: var(--font-body); font-weight: 600; margin-top: 1.6rem; }
.legal p, .legal ul, .legal ol { margin-top: 1rem; }
.legal ul, .legal ol { padding-left: 1.4rem; }
.legal li { margin-top: 0.4rem; }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------------------------
   13. Reduced motion: every animation has a no-motion path
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.reveal-ready .fade-up, html.reveal-ready .fade-x { opacity: 1; transform: none; }
}
