/* ==========================================================================
   Alteraa — Homepage
   Source of truth: Figma "Alteraa Group-Home Page (11-09-2026)-V2" (1920 px frame).

   Scaling model
   --s is one Figma pixel. It equals 1px at ≥1920px viewports and scales
   proportionally down to 1280px, so desktop keeps the exact Figma proportions.
   Below 1280px --s is fixed per breakpoint and layouts are re-flowed.
   ========================================================================== */

/* Gotham, the design typeface, self-hosted from assets/fonts (copies of resources/fonts).
   File names are case-sensitive on Linux hosts — keep these URLs exactly as on disk.
   Book/Bold (+ Medium on the homepage) are preloaded in views/layout/head.php. */
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Book.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Colours (from Figma layers) */
  --c-green: #0e2e28;
  --c-green-alt: #102e29;
  --c-green-line: #36665d;
  --c-ink: #121212;
  --c-text: #222222;
  --c-text-2: #333333;
  --c-muted: #999999;
  --c-black: #000000;
  --c-white: #ffffff;
  --c-cream: #fde9cf;
  --c-soft: #f9f9f9;
  --c-card-border: #f1f1f1;
  --c-line: #dddddd;
  --c-divider: rgba(0, 0, 0, 0.3);
  --c-dash: #a28160;
  --g-bronze: linear-gradient(178.18deg, #c19d7a 13.716%, #775b3c 85.511%);
  --g-bronze-circle: linear-gradient(67deg, #c09c7a 0.56%, #785c3d 100%);

  /* Typography */
  --font: "Gotham", "Helvetica Neue", Arial, sans-serif;
  --w-light: 300;
  --w-book: 400;
  --w-medium: 500;
  --w-bold: 700;

  /* Scale unit — one Figma pixel */
  --s: min(1px, calc(100vw / 1920));

  /* Font sizes: exact at 1920, proportional with sensible floors */
  --fs-84: max(56px, calc(84 * var(--s)));
  --fs-64: max(44px, calc(64 * var(--s)));
  --fs-56: max(38px, calc(56 * var(--s)));
  --fs-48: max(32px, calc(48 * var(--s)));
  --fs-32: max(22px, calc(32 * var(--s)));
  --fs-28: max(19px, calc(28 * var(--s)));
  --fs-24: max(17px, calc(24 * var(--s)));
  --fs-20: max(15px, calc(20 * var(--s)));
  --fs-18: max(14px, calc(18 * var(--s)));

  /* Layout */
  --gutter: calc(100 * var(--s));
  --section: calc(150 * var(--s));
  --header-h: max(64px, calc(100 * var(--s)));
  --btn-h: max(44px, calc(60 * var(--s)));
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--w-book);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid #c19d7a;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--c-green);
  color: var(--c-white);
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.h2 {
  font-size: var(--fs-48);
  font-weight: var(--w-medium);
  line-height: 1.2;
  color: var(--c-green);
}

.divider {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--c-divider);
}

/* -------------------------------------------------------------------------
   3. Button (Figma component "Frame 1621510087")
   ------------------------------------------------------------------------- */
.btn {
  --btn-pad: max(20px, calc(25.5 * var(--s)));
  --btn-icon: max(16px, calc(24 * var(--s)));
  --btn-icon-inset: calc(2 * var(--s));
  /* Figma prototype: On hover → Change to "Variant2", Smart Animate, Ease out, 600ms */
  --btn-ease: 0.6s ease-out;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding-inline: var(--btn-pad);
  overflow: hidden;
  background: var(--c-green);
  color: var(--c-white);
  font-size: var(--fs-18);
  font-weight: var(--w-bold);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.btn--lg {
  --btn-h: max(52px, calc(80 * var(--s)));
  --btn-pad: max(24px, calc(34 * var(--s)));
  --btn-icon: max(20px, calc(32 * var(--s)));
  --btn-icon-inset: calc(2.67 * var(--s));
  font-size: var(--fs-24);
}

/* Hover fill (Figma Variant2): bronze gradient, measured from the component's
   gradient transform. A gradient can't be transitioned directly, so it sits on a
   layer under the label that fades in over the solid green. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(108.27deg, #c19d7a 17.06%, #775b3c 81.05%);
  opacity: 0;
  transition: opacity var(--btn-ease);
}
.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
}

/* Text roll: the component holds a second, hidden label 5/6 of the button height
   below (Figma y 19 → 69 on the 60px button, 25.3 → 92 on the 80px one). On hover
   both roll up by that distance; the outgoing label turns green, the incoming white. */
.btn__roll {
  --roll: calc(var(--btn-h) * 5 / 6);
  position: relative;
  display: block;
  transition: transform var(--btn-ease);
}
.btn__label {
  display: block;
  transition: color var(--btn-ease);
}
.btn__label + .btn__label {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--roll);
  color: var(--c-green);
}
.btn:hover .btn__roll,
.btn:focus-visible .btn__roll {
  transform: translateY(calc(-1 * var(--roll)));
}
.btn:hover .btn__label,
.btn:focus-visible .btn__label {
  color: var(--c-green);
}
.btn:hover .btn__label + .btn__label,
.btn:focus-visible .btn__label + .btn__label {
  color: var(--c-white);
}

.btn__icon {
  position: absolute;
  top: var(--btn-icon-inset);
  right: var(--btn-icon-inset);
  width: var(--btn-icon);
  height: var(--btn-icon);
  transform: scaleY(-1);
}

/* Same component rendered as a <button> (btn_button()) */
button.btn {
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
button.btn:disabled {
  cursor: progress;
}

/* -------------------------------------------------------------------------
   4. Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  /* Figma also sets backdrop-blur(20px); omitted because the bar is opaque white
       and backdrop-filter would trap the fixed mobile drawer inside the header. */
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.logo {
  display: block;
  flex-shrink: 0;
}
.logo img {
  width: max(160px, calc(296 * var(--s)));
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--s));
}

.nav__item {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--s));
}

/* Figma "Vector 8…13": 13.3px dividers, #555 at 50% */
.nav__item + .nav__item::before {
  content: "";
  width: 0.833px;
  height: max(11px, calc(13.333 * var(--s)));
  background: rgba(85, 85, 85, 0.5);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-20);
  font-weight: var(--w-book);
  line-height: 1.2;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
}

.nav__chevron {
  width: max(11px, calc(14 * var(--s)));
  height: auto;
}

/* Active indicator (Figma "Vector 14": 1.67px, round caps, 6px below) */
.nav__link::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 2px;
  bottom: calc(-6 * var(--s) - 1.667px);
  height: 1.667px;
  border-radius: 1px;
  background: var(--c-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
/* The current item keeps the same weight as the others; only colour + underline change */
.nav__item.is-active .nav__link {
  color: var(--c-green);
}
.nav__item.is-active .nav__link::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: none;
}

.site-header__cta {
  flex-shrink: 0;
  margin-left: calc(29 * var(--s));
}

.nav-toggle,
.nav-backdrop {
  display: none;
}

/* -------------------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: calc(
    800 * var(--s)
  ); /* 900px frame minus the 100px header overlay */
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__inner {
  position: relative;
  padding-top: calc(101 * var(--s));
  padding-bottom: calc(140 * var(--s));
}

.hero__content {
  max-width: calc(873 * var(--s));
}

.hero__title {
  max-width: calc(930 * var(--s));
  font-size: var(--fs-56);
  font-weight: var(--w-bold);
  line-height: 1.2;
  color: var(--c-ink);
}

.hero__subtitle {
  margin-top: calc(32 * var(--s));
  font-size: var(--fs-32);
  font-weight: var(--w-medium);
  line-height: 1.22;
  color: var(--c-text);
}

.hero__text {
  max-width: calc(613 * var(--s));
  margin-top: calc(22 * var(--s));
  font-size: var(--fs-18);
  line-height: 1.5;
  color: var(--c-text);
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(32 * var(--s));
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  height: max(44px, calc(60 * var(--s)));
  font-size: var(--fs-28);
  font-weight: var(--w-medium);
  line-height: 1.2;
  white-space: nowrap;
}
.hero__pill--solid {
  padding-inline: calc(21.5 * var(--s));
  background: var(--c-green-alt);
  color: var(--c-cream);
}
.hero__pill--outline {
  padding-inline: calc(17 * var(--s));
  border: 3px solid var(--c-green-alt);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  color: var(--c-green-alt);
}

/* Service strip — overlaps the hero's bottom edge by half its height */
.strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(48 * var(--s));
  width: calc(1237 * var(--s));
  max-width: calc(100% - 2 * var(--gutter));
  height: max(52px, calc(70 * var(--s)));
  background: var(--c-white);
  box-shadow: 0 14px 23px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, 50%);
}

.strip__item {
  font-size: var(--fs-24);
  font-weight: var(--w-bold);
  line-height: 1.2;
  color: var(--c-ink);
  text-align: center;
  white-space: nowrap;
}

.strip__sep img {
  width: auto;
  height: max(16px, calc(24 * var(--s)));
}

/* -------------------------------------------------------------------------
   6. Section: Where Does Your Business Need Us?
   ------------------------------------------------------------------------- */
.section {
  padding-top: var(--section);
}

.needs {
  padding-bottom: var(--section);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: calc(30 * var(--s));
}
.section-head__title {
  white-space: nowrap;
}
.section-head__cta {
  flex-shrink: 0;
}

.needs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(40 * var(--s));
  margin-top: calc(30 * var(--s));
}

.need-card {
  /* Figma prototype: On hover → Change to "Variant2", Smart Animate, Ease out, 600ms */
  --hover-ease: 0.6s ease-out;
  min-height: calc(568 * var(--s));
  border: 2px solid var(--c-card-border);
  background: var(--c-white);
  transition: background-color var(--hover-ease);
}

/* 400×300 image window (Figma mask) — keeps the zoomed image inside its slot */
.need-card__media {
  width: calc(100% + 4px);
  aspect-ratio: 4 / 3;
  margin: -2px -2px 0;
  overflow: hidden;
}

.need-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: var(--zoom-origin, 50% 50%);
  transition: transform var(--hover-ease);
}

/* Hover state = Variant2. Pointer devices only, so taps on touch screens don't leave cards stuck zoomed. */
@media (hover: hover) and (pointer: fine) {
  .need-card:hover .need-card__img {
    transform: scale(var(--zoom, 1));
  }
  .need-card--hover-bg:hover {
    background-color: var(--c-soft);
  }
}

.need-card__body {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--s));
  padding: calc(32 * var(--s)) calc(22 * var(--s)) calc(32 * var(--s))
    calc(18 * var(--s));
  font-size: var(--fs-24);
  line-height: 1.5;
  color: var(--c-black);
}

.need-card__title {
  font-size: inherit;
  font-weight: var(--w-bold);
}

.needs__closing {
  margin-top: calc(40 * var(--s));
  font-size: var(--fs-24);
  font-weight: var(--w-bold);
  line-height: 1.5;
  text-align: center;
}

/* -------------------------------------------------------------------------
   7. Section: Five Platforms
   ------------------------------------------------------------------------- */
.platforms {
  position: relative;
  z-index: 3; /* ribbon sits above the texture section below */
  min-height: calc(900 * var(--s));
  background: var(--c-soft);
}

/* Figma prototype: tab click → Change to variant, Dissolve, Ease out, 600ms.
   Dissolve = the whole destination variant fades in on top of the source, which
   stays fully visible underneath until the fade completes (see main.js).
   Stacking reproduces that frame-level blend: source bg (1) → source copy (2) →
   destination bg (3) → destination copy (4); content identical in every variant
   (heading, intro, tab bar, ribbon) sits above all layers (5). */
.platforms {
  --dissolve: 0.6s ease-out;
}

.platforms__media {
  position: absolute;
  inset: 0;
}

.platforms__bg {
  position: absolute;
  inset: 0;
}

.platforms__bg,
.platforms__panel {
  opacity: 0;
  visibility: hidden;
}
.platforms__bg.is-current,
.platforms__panel.is-current {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dissolve);
}
.platforms__bg.is-previous,
.platforms__panel.is-previous {
  opacity: 1;
  visibility: visible;
}
.platforms__bg.is-previous {
  z-index: 1;
}
.platforms__panel.is-previous {
  z-index: 2;
}
.platforms__bg.is-current {
  z-index: 3;
}
.platforms__panel.is-current {
  z-index: 4;
}

.platforms__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.platforms__inner {
  position: relative; /* no z-index: panels stack against the bg layers */
  padding-top: calc(100 * var(--s));
  padding-bottom: calc(
    234 * var(--s) + max(64px, calc(80 * var(--s)))
  ); /* copy → tab bar gap (184) + bar + 50 */
  padding-left: calc(var(--gutter) + 1 * var(--s));
}

.platforms__head {
  position: relative;
  z-index: 5;
  max-width: calc(843 * var(--s));
}

.platforms__title {
  font-weight: var(--w-bold);
}

.platforms__intro {
  margin-top: calc(20 * var(--s));
  font-size: var(--fs-20);
  font-weight: var(--w-medium);
  line-height: 1.5;
}

/* All panels share one grid cell and sit on a common baseline (Figma: every
   variant's copy block ends at y=586; 1-line titles start at 446, 2-line at 398). */
.platforms__panels {
  display: grid;
  margin-top: calc(102 * var(--s));
}

.platforms__panel {
  position: relative;
  grid-area: 1 / 1;
  align-self: end;
  max-width: calc(843 * var(--s));
}

/* Figma text-box widths per variant */
.platforms__panel-title {
  max-width: calc(var(--title-w) * var(--s));
  font-size: var(--fs-32);
  font-weight: var(--w-bold);
  line-height: 1.5;
  color: var(--c-green);
}

.platforms__panel-text {
  max-width: calc(var(--text-w) * var(--s));
  margin-top: calc(20 * var(--s));
  font-size: var(--fs-24);
  font-weight: var(--w-medium);
  line-height: 1.5;
}

.tabs {
  position: absolute;
  left: 50%;
  bottom: calc(50 * var(--s));
  display: flex;
  gap: calc(10.37 * var(--s));
  width: calc(1274.074 * var(--s));
  max-width: calc(100% - 2 * var(--gutter));
  padding: calc(10.37 * var(--s)) calc(11.11 * var(--s));
  background: var(--c-green);
  transform: translateX(-50%);
  z-index: 5;
}

.tabs__tab {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: max(44px, calc(59.26 * var(--s)));
  padding: 0 8px;
  border: 0.741px solid var(--c-green-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  font-size: max(14px, calc(23.704 * var(--s)));
  font-weight: var(--w-bold);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

/* Active appearance as an overlay "face" whose opacity is dissolved,
   so the swap blends exactly like Figma's frame dissolve. */
.tabs__face {
  position: absolute;
  inset: -0.741px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 0.741px solid var(--c-black);
  background: var(--c-white);
  color: var(--c-green);
  opacity: 0;
  transition: opacity var(--dissolve);
}
.tabs__tab.is-active .tabs__face {
  opacity: 1;
}

/* Bronze ribbon — straddles the bottom edge of the section */
.ribbon {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 5;
  display: flex;
  width: calc(1274 * var(--s));
  max-width: calc(100% - 2 * var(--gutter));
  transform: translate(-50%, 50%);
}

.ribbon__end {
  flex: 0 0 auto;
  width: calc(21.343 * var(--s));
  min-width: 12px;
  height: auto;
  max-width: none;
}

.ribbon__text {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(49.253 * var(--s));
  padding: 4px 12px;
  background: var(--g-bronze);
  color: var(--c-white);
  font-size: max(
    12px,
    calc(20 * var(--s))
  ); /* stays on one line down to 1280px, as in Figma */
  font-weight: var(--w-medium);
  line-height: 1.5;
  text-align: center;
}

/* -------------------------------------------------------------------------
   8. Texture band (statement + trust)
   ------------------------------------------------------------------------- */
.texture-wrap {
  position: relative;
  isolation: isolate;
  padding-top: calc(170 * var(--s));
  padding-bottom: calc(145 * var(--s));
}
.texture-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/texture-1920.webp") center / cover no-repeat;
  opacity: 0.5;
  mix-blend-mode: darken;
}

.statement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(1500 * var(--s));
  min-height: calc(447 * var(--s));
  margin-inline: auto;
  padding: calc(60 * var(--s)) calc(80 * var(--s));
  border: 1px solid var(--c-green);
  border-radius: 0 calc(60 * var(--s)) 0 calc(60 * var(--s));
  background: var(--c-white);
}

.statement__corner {
  position: absolute;
  width: calc(60 * var(--s));
  height: calc(60 * var(--s));
}
.statement__corner--tl {
  top: -1px;
  left: -1px;
  transform: rotate(180deg);
}
.statement__corner--br {
  right: -1px;
  bottom: -1px;
}

.statement__content {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--s));
  max-width: max(calc(987 * var(--s)), 640px);
  text-align: center;
}

.statement__title {
  margin-bottom: calc(4 * var(--s));
} /* 20px gap to text block */

.statement__text {
  font-size: var(--fs-24);
  font-weight: var(--w-medium);
  line-height: 1.5;
}

/* Trust diagram */
.trust__title {
  text-align: center;
  white-space: nowrap;
}

.trust__diagram {
  position: relative;
  width: calc(1426 * var(--s));
  height: calc(561 * var(--s));
  margin-top: calc(72 * var(--s));
  margin-left: calc(
    50% - 746.5 * var(--s)
  ); /* centres the brand mark on the page */
}

.trust__mark {
  position: absolute;
  left: calc(619.12 * var(--s));
  top: calc(21 * var(--s));
  width: calc(253.88 * var(--s));
  height: auto;
}

.trust__item {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--s));
  width: calc(455 * var(--s));
  line-height: 1.5;
}
.trust__item--governance {
  left: 0;
  top: 0;
  text-align: right;
  align-items: flex-end;
}
.trust__item--transparency {
  left: calc(144 * var(--s));
  top: calc(417 * var(--s));
  text-align: right;
  align-items: flex-end;
}
.trust__item--accountability {
  left: calc(971 * var(--s));
  top: calc(187 * var(--s));
}

.trust__item-title {
  font-size: var(--fs-32);
  font-weight: var(--w-bold);
}

.trust__item-text {
  max-width: calc(445 * var(--s));
  font-size: var(--fs-24);
}

.trust__conn {
  position: absolute;
  pointer-events: none;
}
.trust__line,
.trust__dot {
  position: absolute;
  max-width: none;
}
.trust__dot {
  width: calc(16 * var(--s));
  height: calc(16 * var(--s));
}

.trust__conn--governance,
.trust__conn-rot {
  width: calc(134 * var(--s));
  height: calc(53.5 * var(--s));
}
.trust__conn--governance {
  left: calc(486 * var(--s));
  top: calc(54.5 * var(--s));
}
.trust__conn--governance .trust__line,
.trust__conn-rot .trust__line {
  left: calc(2.5 * var(--s));
  top: calc(6 * var(--s));
  width: calc(132.5 * var(--s));
  height: calc(48.5 * var(--s));
  transform: scaleY(-1);
}
.trust__conn--governance .trust__dot,
.trust__conn-rot .trust__dot {
  left: 0;
  top: 0;
}

.trust__conn--transparency {
  left: calc(615 * var(--s));
  top: calc(407.5 * var(--s));
  width: calc(65 * var(--s));
  height: calc(104.5 * var(--s));
}
.trust__conn--transparency .trust__line {
  left: calc(3.5 * var(--s));
  top: 0;
  width: calc(62.5 * var(--s));
  height: calc(98.5 * var(--s));
}
.trust__conn--transparency .trust__dot {
  left: 0;
  top: calc(88.5 * var(--s));
}

.trust__conn--accountability {
  left: calc(895 * var(--s));
  top: calc(243 * var(--s));
  width: calc(53.5 * var(--s));
  height: calc(134 * var(--s));
}
.trust__conn-rot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

/* -------------------------------------------------------------------------
   9. Section: Senior Expertise / timeline
   ------------------------------------------------------------------------- */
.leadership {
  padding-bottom: var(--section);
}

.leadership__head {
  max-width: calc(1573 * var(--s));
  margin-inline: auto;
  text-align: center;
}

.leadership__stat {
  margin-top: calc(8 * var(--s));
}

.leadership__subtitle {
  margin-top: calc(20 * var(--s));
  font-size: var(--fs-32);
  font-weight: var(--w-medium);
  line-height: 1.5;
}

.leadership__text {
  max-width: calc(1097 * var(--s));
  margin: calc(20 * var(--s)) auto 0;
  font-size: var(--fs-24);
  line-height: 1.5;
}

.timeline {
  --circle: max(44px, calc(60 * var(--s)));
  --circle-top: calc(10 * var(--s));
  --line-y: calc(var(--circle-top) + var(--circle) / 2);
  position: relative;
  margin-top: calc(48 * var(--s));
}

/* Dashed connector (Figma "Vector 22": 6px dashes, 2px, #A28160) */
.timeline::before {
  content: "";
  position: absolute;
  left: 9.4%;
  right: 9.6%;
  top: calc(var(--line-y) - 1px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--c-dash) 0 6px,
    transparent 6px 12px
  );
}

.timeline__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--circle);
  height: var(--circle);
  margin-top: var(--circle-top);
  border-radius: 50%;
  background: var(--g-bronze-circle);
  color: var(--c-white);
  font-size: var(--fs-24);
  font-weight: var(--w-bold);
  line-height: 1.2;
}

.timeline__label {
  margin-top: calc(35 * var(--s));
  padding-inline: 8px;
  font-size: var(--fs-24);
  font-weight: var(--w-bold);
  line-height: 1.2;
  color: var(--c-green);
}

.timeline__arrow {
  position: absolute;
  left: calc(var(--i) * 20%);
  top: var(--line-y);
  width: max(16px, calc(22 * var(--s)));
  height: auto;
  transform: translate(-50%, -50%);
}

.leadership__cta {
  display: flex;
  justify-content: center;
  margin-top: calc(80 * var(--s));
}

/* -------------------------------------------------------------------------
   10. Media band (Figma video fill: FILL/cover, centred, autoplay loop)
   ------------------------------------------------------------------------- */
.media-band {
  /* aspect-ratio: 1.77;
  width: 100%; */
  position: relative;
  height: calc(950 * var(--s));
  overflow: hidden;
}
.media-band img,
.media-band__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Video sits over the poster and only becomes visible once frames are playing,
   so a missing/unsupported file leaves the poster exactly as it is. */
.media-band__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.media-band__video.is-playing {
  opacity: 1;
}

/* -------------------------------------------------------------------------
   11. Section: Let's Look At Your Real Estate
   ------------------------------------------------------------------------- */
.start {
  padding-bottom: var(--section);
}

.start__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: calc(33 * var(--s));
}

.start__title {
  font-weight: var(--w-bold);
  color: var(--c-ink);
  white-space: nowrap;
}

.start__text {
  max-width: calc(549 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--c-text-2);
}

.start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(40 * var(--s));
  margin-top: calc(33 * var(--s));
}

.num-card {
  /* Figma prototype: On hover → Change to "Variant2", Smart Animate, Ease out, 600ms */
  --hover-ease: 0.6s ease-out;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(377 * var(--s));
  padding: calc(40 * var(--s));
  padding-top: calc(var(--fs-64) * 1.2 + 40 * var(--s));
  background: var(--c-soft);
  transition: background-color var(--hover-ease);
}

.num-card__num {
  position: absolute;
  top: calc(20 * var(--s));
  right: calc(20 * var(--s));
  font-size: var(--fs-64);
  font-weight: var(--w-light);
  line-height: 1.2;
  color: var(--c-green);
  opacity: 0.2;
  transition:
    color var(--hover-ease),
    opacity var(--hover-ease);
}

.num-card__body {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--s));
  max-width: calc(var(--w) * var(--s));
  transition: transform var(--hover-ease);
}

.num-card__title {
  font-size: var(--fs-32);
  font-weight: var(--w-bold);
  line-height: 1.5;
  color: var(--c-green);
  transition: color var(--hover-ease);
}

.num-card__text {
  font-size: var(--fs-20);
  line-height: 1.5;
  transition: color var(--hover-ease);
}

/* Hover state = Variant2: card turns green, copy turns white and the copy block
   rises 40px (Figma y 161 → 121). Pointer devices only, like .need-card. */
@media (hover: hover) and (pointer: fine) {
  .num-card:hover {
    background-color: var(--c-green);
  }
  .num-card:hover .num-card__num {
    color: var(--c-white);
    opacity: 1;
  }
  .num-card:hover .num-card__body {
    transform: translateY(calc(-40 * var(--s)));
  }
  .num-card:hover .num-card__title,
  .num-card:hover .num-card__text {
    color: var(--c-white);
  }
}

.start__cta {
  display: flex;
  justify-content: center;
  margin-top: calc(33 * var(--s));
}

/* -------------------------------------------------------------------------
   12. Section: How we think (panel + image carousel)
   ------------------------------------------------------------------------- */
.perspective {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(800 * var(--s));
}

.perspective__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(100 * var(--s)) calc(100 * var(--s)) calc(125 * var(--s));
  background: var(--c-green);
  color: var(--c-white);
}

.perspective__title {
  max-width: calc(
    625 * var(--s)
  ); /* Figma 589; widened so the fallback font wraps like Gotham */
  font-weight: var(--w-bold);
  color: var(--c-white);
}
.perspective__muted {
  color: var(--c-muted);
}

/* One caption per slide, stacked in the same cell so they cross-fade in place.
   Figma prototype: arrow click → Change to next variant, Smart Animate, Ease out, 600ms.
   The caption layers differ between variants, so Smart Animate dissolves them. */
.perspective__captions {
  --slide-ease: 0.6s ease-out;
  display: grid;
  align-items: end;
}

.perspective__slide-text {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--s));
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--slide-ease),
    visibility 0s linear 0.6s;
}
.perspective__slide-text.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--slide-ease);
}

.perspective__slide-title {
  max-width: calc(var(--tw, 392) * var(--s));
  font-size: var(--fs-32);
  font-weight: var(--w-bold);
  line-height: 1.5;
}

.perspective__slide-desc {
  max-width: calc(var(--dw, 555) * var(--s));
  font-size: var(--fs-24);
  line-height: 1.5;
}

.carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.carousel__track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__btn {
  position: absolute;
  width: max(40px, calc(60 * var(--s)));
  height: max(40px, calc(60 * var(--s)));
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.carousel__btn img {
  width: 100%;
  height: 100%;
}
.carousel__btn--prev {
  left: calc(47 * var(--s));
  top: calc(360 * var(--s));
}
.carousel__btn--next {
  right: calc(49 * var(--s));
  top: calc(370 * var(--s));
}
.carousel__btn--next img {
  transform: scaleX(-1);
}

.carousel__cta {
  position: absolute;
  right: calc(33 * var(--s));
  bottom: calc(41 * var(--s));
}

/* -------------------------------------------------------------------------
   13. Section: Let's Talk
   ------------------------------------------------------------------------- */
.talk {
  position: relative;
  min-height: calc(822 * var(--s));
  overflow: hidden;
}

.talk__media {
  position: absolute;
  inset: 0;
}

.talk__sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Figma "Rectangle 281/282": two stacked white→transparent gradients */
.talk__fade {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-90 * var(--s));
  height: calc(601 * var(--s));
  background:
    linear-gradient(#fff, rgba(255, 255, 255, 0)),
    linear-gradient(#fff, rgba(255, 255, 255, 0));
}

.talk__building {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}

.talk__inner {
  position: relative;
  padding-top: calc(192 * var(--s));
  padding-bottom: calc(80 * var(--s));
}

.talk__title {
  font-size: var(--fs-84);
  font-weight: var(--w-medium);
  line-height: 1.2;
  color: var(--c-green);
}

.talk__text {
  max-width: calc(564 * var(--s));
  font-size: var(--fs-32);
  font-weight: var(--w-medium);
  line-height: 1.2;
  color: var(--c-green);
}

.talk__cta {
  margin-top: calc(60 * var(--s));
}

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  margin-top: calc(100 * var(--s));
  padding-bottom: calc(216 * var(--s));
  color: var(--c-green);
}

.footer {
  display: grid;
  grid-template-columns: 573fr 573fr 576fr;
}

.footer__col {
  min-height: calc(490 * var(--s));
  margin: 0 0 -1px -1px;
  padding: calc(27 * var(--s)) calc(30 * var(--s)) calc(40 * var(--s));
  border: 1px solid var(--c-line);
}
.footer__col:first-child {
  margin-left: 0;
  padding-left: calc(41 * var(--s));
}

.footer__logo img {
  width: max(180px, calc(296 * var(--s)));
}

.footer__about {
  max-width: calc(466 * var(--s));
  margin-top: calc(34 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
}

.footer__more {
  font-weight: var(--w-medium);
  text-decoration: underline;
  text-underline-position: from-font;
}

.footer__follow {
  margin-top: calc(40 * var(--s));
}

.footer__heading {
  font-size: var(--fs-24);
  font-weight: var(--w-medium);
  line-height: 1.5;
  color: #0d2f29;
}

.footer__social {
  display: flex;
  gap: calc(45 * var(--s));
  margin-top: calc(16 * var(--s));
}
.footer__social img {
  width: max(40px, calc(50 * var(--s)));
  height: auto;
}

.footer__links {
  margin-top: calc(24 * var(--s));
  padding-left: calc(30 * var(--s));
  list-style: disc;
  font-size: var(--fs-20);
  line-height: 2.3;
}
.footer__links li::marker {
  font-size: 0.8em;
}
.footer__links a {
  text-decoration: none;
}
.footer__links a:hover {
  text-decoration: underline;
}

.footer__chevron {
  display: inline-block;
  width: max(11px, calc(14 * var(--s)));
  height: auto;
  margin-left: 4px;
  vertical-align: middle;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: calc(40 * var(--s));
  margin-top: calc(24 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
}
.footer__contact li {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--s));
}
.footer__contact li > :last-child {
  max-width: calc(437 * var(--s));
}
.footer__contact a {
  text-decoration: none;
}
.footer__contact a:hover {
  text-decoration: underline;
}
.footer__contact .footer__contact-mail {
  align-items: flex-end;
}

.footer__icon,
.contact-list__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: max(32px, calc(40 * var(--s)));
  height: max(32px, calc(40 * var(--s)));
}
.footer__icon img,
.contact-list__icon img {
  width: 100%;
  height: auto;
}
.footer__icon--loc img,
.contact-list__icon--loc img {
  width: 79.2%;
}
.footer__icon--mail img,
.contact-list__icon--mail img {
  width: 88.8%;
}

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: calc(78 * var(--s));
  padding: 12px calc(35 * var(--s)) 12px calc(41 * var(--s));
  border: 1px solid var(--c-line);
  font-size: var(--fs-18);
  line-height: 1.5;
}
.footer__legal a {
  text-decoration: none;
}
.footer__legal a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   15. Lead enquiry modal (Figma 618:7248 "Frame 1621510176")
   The <dialog> itself is the full-viewport scrim; the panel sits inside it.
   Figma draws only the form card; the scrim, close button, errors and
   success view are the site's own additions around it.
   ------------------------------------------------------------------------- */
html.lead-modal-open {
  overflow: hidden;
}

/* Form tokens, shared with the contact page's inline form (.contact-card) */
.lead-modal,
.contact-card {
  --c-error: #b3261e;
  --c-field-bg: #f8f8f8;
  --c-field-border: #d9d9d9;
  --c-field-text: #162355;
  --c-label: #707070; /* Figma #dedede fails contrast on white; darkened to 4.9:1 */
}

.lead-modal {
  --modal-in: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  --modal-out: 0.25s ease-in;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 72px 24px 24px; /* top leaves room for the close button above the card */
  border: 0;
  background: rgba(14, 46, 40, 0.72); /* --c-green at 72% */
  color: var(--c-black);
  opacity: 0;
  overscroll-behavior: contain;
  transition: opacity var(--modal-out);
}
.lead-modal[open] {
  display: grid;
  place-items: center;
}
.lead-modal::backdrop {
  background: transparent;
}
.lead-modal.is-open {
  opacity: 1;
  transition: opacity var(--modal-in);
}

.lead-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(547px, 100%);
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  background: var(--c-white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  transform: translateY(24px) scale(0.98);
  transition: transform var(--modal-out);
}
.lead-modal.is-open .lead-modal__panel {
  transform: none;
  transition: transform var(--modal-in);
}

.lead-modal__body {
  min-height: 0; /* let the body shrink and scroll inside a capped panel */
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: inherit;
  padding: 30px 20px;
}

.lead-modal__close {
  position: absolute;
  top: -52px; /* outside the card, on the scrim, so the Figma layout stays intact */
  right: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  transition:
    color 0.2s ease-out,
    background-color 0.2s ease-out;
}
.lead-modal__close svg {
  display: block;
}
.lead-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lead-modal__title {
  max-width: calc(100% - 40px);
  font-size: var(--fs-32);
  font-weight: var(--w-bold);
  line-height: 1.3;
  color: var(--c-green);
}
.lead-modal__title:focus {
  outline: none;
}
/* Figma: Gotham Book 28/1.2. The layer is white on the white card, so the
   site's heading green is used to keep it visible. */
.lead-modal__title--form {
  max-width: none;
  font-size: 28px;
  font-weight: var(--w-book);
  line-height: 1.2;
}

.lead-modal__intro {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text-2);
}

.lead-form {
  margin-top: 16px;
}

.lead-form__alert {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-left: 3px solid var(--c-error);
  background: #fdecea;
  color: var(--c-error);
  font-size: 15px;
  line-height: 1.5;
}
.lead-form__alert:focus {
  outline: none;
}

.lead-form__status,
.lead-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.lead-form__hp {
  left: -10000px;
}

.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-field {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lead-field--half {
  grid-column: auto;
}

.lead-field__label {
  font-size: 14px;
  font-weight: var(--w-book);
  line-height: 1.5;
  color: var(--c-label);
}

.lead-field__input {
  width: 100%;
  min-height: 38px;
  padding: 6px 16px; /* 20px text inset incl. the 1px border */
  border: 1px solid var(--c-field-border);
  border-radius: 0;
  background: var(--c-field-bg);
  color: var(--c-field-text);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  transition:
    border-color 0.2s ease-out,
    box-shadow 0.2s ease-out;
}
.lead-field__input--area {
  min-height: 80px;
  padding-top: 15px;
  resize: vertical;
}
.lead-field__input::placeholder {
  color: var(--c-field-text);
  opacity: 0.5;
}
.lead-field__input:hover {
  border-color: #9aa19e;
}
.lead-field__input:focus {
  outline: none;
}
.lead-field__input:focus-visible,
.lead-field__input:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 1px var(--c-green);
}
.lead-field__input[readonly] {
  background: #efefef;
}

.lead-field.is-invalid .lead-field__input {
  border-color: var(--c-error);
}
.lead-field.is-invalid .lead-field__input:focus {
  box-shadow: 0 0 0 1px var(--c-error);
}

.lead-field__error {
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-error);
}
.lead-field__error:empty {
  display: none;
}

.lead-form__actions {
  display: flex;
  margin-top: 16px;
}
/* Figma: the site button at its 1:1 size (192 × 60, 18px label) */
@media (min-width: 768px) {
  .lead-form__actions .btn {
    --btn-h: 44px;
    --btn-pad: 25.5px;
    --btn-icon: 20px;
    --btn-icon-inset: 2px;
    font-size: 15px;
  }
}

.lead-modal__success {
  text-align: left;
}
.lead-modal__tick {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--g-bronze-circle);
  color: var(--c-white);
}

@media (max-width: 767.98px) {
  /* Full-screen sheet on phones */
  .lead-modal {
    padding: 0;
  }
  .lead-modal[open] {
    place-items: stretch;
    grid-template-rows: minmax(0, 1fr);
  }
  .lead-modal__panel {
    width: 100%;
    max-height: none;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(40px);
  }
  .lead-modal__body {
    padding: 64px 20px 32px;
  }
  .lead-modal__close {
    top: 8px;
    right: 8px;
    color: var(--c-green);
  }
  .lead-modal__close:hover {
    background: var(--c-soft);
  }
  .lead-modal__title--form {
    font-size: 24px;
  }
  .lead-form__grid {
    grid-template-columns: 1fr;
  }
  .lead-field--half {
    grid-column: 1 / -1;
  }
  .lead-field__input {
    font-size: 16px; /* ≥16px stops iOS zooming on focus */
  }
  .lead-form__actions .btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------
   16. Contact page (Figma 608:6745 "Alteraa Group-Contact Us Page")
   Reuses the homepage "Let's Look" section, the needs card component, the
   texture band and the lead form; only the page-specific layout lives here.
   Section rhythm on this page is 120px at 1920 (the homepage uses 150).
   ------------------------------------------------------------------------- */
.contact-page {
  --section-contact: calc(var(--section) * 0.8);
}

/* Banner (608:6747): 900px frame minus the 100px header, like the homepage hero */
.contact-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: calc(800 * var(--s));
  overflow: hidden;
  background: var(--c-green);
  color: var(--c-white);
}

.contact-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact-hero__photo,
.contact-hero__people {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
/* Two stacked Figma layers (Rectangle 251 / 252): #071c18 → transparent over 1715 of 1920px */
.contact-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #071c18 0%, rgba(7, 28, 24, 0) 89.32%),
    linear-gradient(90deg, #071c18 0%, rgba(7, 28, 24, 0) 89.32%);
}

.contact-hero__inner {
  padding-top: calc(201 * var(--s));
  padding-bottom: calc(160 * var(--s));
}

.contact-hero__title {
  max-width: calc(598 * var(--s));
  font-size: var(--fs-56);
  font-weight: var(--w-bold);
  line-height: 1.2;
}

.contact-hero__text {
  display: flex;
  flex-direction: column;
  gap: calc(22 * var(--s));
  max-width: calc(613 * var(--s));
  margin-top: calc(32 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
}

/* Let's Look At Your Real Estate (shared partial) */
.contact-page .start {
  padding-top: var(--section-contact);
  padding-bottom: var(--section-contact);
}

/* What Happens Next (618:7195) */
.contact-steps {
  padding-block: var(--section-contact);
  background: var(--c-green);
}
.contact-steps__title {
  color: var(--c-white);
}

/* Contact Us + form (2720–3659 in the frame): texture band, building flush to the bottom */
.contact-main {
  position: relative;
  isolation: isolate;
  padding-top: var(--section-contact);
}
.contact-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/texture-1920.webp") center top / cover no-repeat;
  opacity: 0.5;
  mix-blend-mode: darken;
}

.contact-main__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: var(--section-contact);
}

.contact-main__info {
  position: relative;
  z-index: 1;
}

.contact-main__title {
  margin-bottom: calc(40 * var(--s));
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: calc(30 * var(--s));
  max-width: calc(485 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--c-text-2);
}
.contact-list__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(16 * var(--s));
}
.contact-list__item:first-child {
  align-items: flex-start;
}
.contact-list__item--mail {
  align-items: flex-end;
}
/* 400px rules between items (Figma Vector 16/17: black, 20% opacity) */
.contact-list__item + .contact-list__item {
  padding-top: calc(30 * var(--s));
}
.contact-list__item + .contact-list__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(400 * var(--s));
  max-width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.contact-list a {
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}

/* Building-02 (639:8486): x 368 in the frame, sits on the section's bottom edge */
.contact-main__building {
  position: absolute;
  left: calc(var(--gutter) + 268 * var(--s));
  bottom: 0;
  width: calc(953 * var(--s));
  height: auto;
  pointer-events: none;
}

/* Enquiry card (618:7248) — the lead modal's panel styling, in place */
.contact-card {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: min(400px, 100%);
  padding: 30px 20px;
  background: var(--c-white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.contact-card__noscript {
  margin-top: 16px;
  font-size: 14px;
  color: var(--c-text-2);
}

@media (max-width: 1023.98px) {
  .contact-hero {
    min-height: 600px;
  }
  .contact-hero__photo,
  .contact-hero__people {
    object-position: 65% bottom;
  }
  .contact-hero__inner {
    padding-top: 88px;
    padding-bottom: 96px;
  }
  .contact-hero__title,
  .contact-hero__text {
    max-width: 480px;
  }
  .contact-hero__text {
    gap: 14px;
    margin-top: 24px;
  }

  .contact-main__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding-bottom: 0;
  }
  .contact-main__title {
    margin-bottom: 28px;
  }
  .contact-list {
    gap: 20px;
    max-width: 485px;
  }
  .contact-list__item {
    gap: 16px;
  }
  .contact-list__item + .contact-list__item {
    padding-top: 20px;
  }
  .contact-list__item + .contact-list__item::before {
    width: 400px;
  }
  .contact-card {
    width: 100%;
    max-width: 640px;
  }
  /* Building drops below the form and keeps sitting on the section's bottom edge */
  .contact-main__building {
    position: static;
    order: 1;
    align-self: center;
    width: min(100%, 640px);
  }
}

@media (max-width: 767.98px) {
  /* Text spans the full width on phones, so the whole photo is shaded and the
     undimmed people layer is dropped to keep the copy readable. */
  .contact-hero {
    min-height: 560px;
  }
  .contact-hero__photo {
    object-position: 72% bottom;
  }
  .contact-hero__people {
    display: none;
  }
  .contact-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(7, 28, 24, 0.9) 0%,
      rgba(7, 28, 24, 0.55) 100%
    );
  }
  .contact-hero__inner {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .contact-hero__title,
  .contact-hero__text {
    max-width: none;
  }

  .contact-main__inner {
    gap: 32px;
  }
  .contact-card {
    padding: 24px 16px;
  }
  .contact-main__info {
    display:none;
  }
}

/* -------------------------------------------------------------------------
   17. Leadership page (Figma 745:1933 "Alteraa Group-Leadership Page")
   Coordinates below are Figma pixels in the 1920 frame (× --s). Header, footer,
   button, texture band and lead modal are the shared components.
   ------------------------------------------------------------------------- */

/* Banner (745:1935): 900px frame minus the 100px header. The photo sits at frame
   y 21 and is clipped to the frame, so 79px of it are hidden under the header. */
.leadership-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: calc(800 * var(--s));
  overflow: hidden;
  background: #ededed;
}

.leadership-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.leadership-hero__photo {
  position: absolute;
  left: 0;
  top: calc(-79 * var(--s));
  width: 100%;
  height: calc(900 * var(--s));
  object-fit: cover;
}
/* Rectangle 287: #ededed → transparent across the left 1100 of 1920px */
.leadership-hero__shade {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(1100 / 1920 * 100%);
  background: linear-gradient(90deg, #ededed 0%, rgba(237, 237, 237, 0) 100%);
}

/* People cut-out layer of the phone banner (see the 767.98px block) */
.leadership-hero__people {
  display: none;
}

.leadership-hero__inner {
  padding-top: calc(178 * var(--s));
  padding-bottom: calc(180 * var(--s));
}

.leadership-hero__title {
  font-size: var(--fs-56);
  font-weight: var(--w-bold);
  line-height: 1.2;
  color: var(--c-ink);
}

.leadership-hero__text {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--s));
  max-width: max(420px, calc(613 * var(--s)));
  margin-top: calc(32 * var(--s));
  font-size: var(--fs-18);
  line-height: 1.5;
  color: var(--c-text);
}

/* Stats bar (745:2748): 1237 × 150, centred, 35px over the banner's bottom edge */
.leadership-stats {
  position: relative;
  z-index: 1;
  margin-top: calc(-35 * var(--s));
}

.leadership-stats__box {
  display: flex;
  width: calc(1237 * var(--s));
  max-width: 100%;
  min-height: calc(150 * var(--s));
  margin-inline: auto;
  background: var(--c-white);
  box-shadow: 0 14px 23px rgba(0, 0, 0, 0.25);
}

.leadership-stats__figure {
  position: relative;
  flex: 0 0 calc(491 * var(--s));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(8 * var(--s));
  padding: calc(20 * var(--s)) calc(40 * var(--s));
  background: var(--c-green);
  color: var(--c-white);
  font-weight: var(--w-medium);
}
.leadership-stats__value {
  font-size: max(44px, calc(73 * var(--s)));
  line-height: 0.96;
  white-space: nowrap;
}
.leadership-stats__label {
  font-size: var(--fs-24);
  line-height: 1;
}
/* Polygon 1: rounded triangle rotated to point right, tip 13px past the green panel */
.leadership-stats__pointer {
  position: absolute;
  top: 50%;
  left: calc(486.75 * var(--s));
  width: max(12px, calc(18.32 * var(--s)));
  height: max(11px, calc(17.08 * var(--s)));
  transform: translateY(-50%) rotate(90deg);
}

.leadership-stats__tags {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(24 * var(--s));
  padding: calc(20 * var(--s)) calc(41 * var(--s)) calc(20 * var(--s)) calc(42 * var(--s));
}
.leadership-stats__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.leadership-stats__tag {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--s));
  font-size: var(--fs-20);
  font-weight: var(--w-medium);
  line-height: 1.5;
  color: var(--c-text);
  white-space: nowrap;
}
.leadership-stats__tag img {
  flex-shrink: 0;
  width: max(8px, calc(10.64 * var(--s)));
  height: max(18px, calc(24 * var(--s)));
}

/* Four Perspectives. One Purpose. (745:2756 + 749:2824): 1426px column, 390px rows, 80px apart */
.leaders {
  padding-bottom: var(--section);
}
.leaders__title {
  text-align: center;
}

.leaders__list {
  display: flex;
  flex-direction: column;
  gap: calc(80 * var(--s));
  width: calc(1426 * var(--s));
  max-width: 100%;
  margin: calc(41 * var(--s)) auto 0;
}

.leader {
  display: flex;
  align-items: center;
  min-height: calc(390 * var(--s));
  background: var(--c-white);
  border: 1px solid #e8e8e8;
}
.leader--reverse {
  flex-direction: row-reverse;
}

/* Rectangle 288 + portrait: 10px green frame around a 370px square, covering the card border */
.leader__photo {
  flex: 0 0 calc(390 * var(--s));
  align-self: stretch;
  min-height: calc(390 * var(--s));
  margin: -1px 0 -1px -1px;
  padding: calc(10 * var(--s));
  background: var(--c-green);
}
.leader--reverse .leader__photo {
  margin: -1px -1px -1px 0;
}
.leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader__body {
  flex: 1 1 auto;
  min-width: 0;
  padding: calc(35 * var(--s)) calc(70 * var(--s)) calc(35 * var(--s)) calc(50 * var(--s));
}
.leader--reverse .leader__body {
  padding-left: calc(55 * var(--s));
  padding-right: calc(50 * var(--s));
}

.leader__head {
  display: flex;
  align-items: flex-start;
  gap: calc(12 * var(--s));
}
.leader__names {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--s));
  font-weight: var(--w-medium);
  line-height: 1.2;
  color: var(--c-green);
}
.leader__name {
  font-size: var(--fs-32);
  font-weight: inherit;
}
.leader__role {
  font-size: var(--fs-20);
}
.leader__linkedin {
  flex-shrink: 0;
  display: block;
  transition: opacity 0.2s ease-out;
}
.leader__linkedin img {
  width: max(24px, calc(32 * var(--s)));
  height: max(24px, calc(32 * var(--s)));
}
.leader__linkedin:hover {
  opacity: 0.8;
}

.leader__bio {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--s));
  margin-top: calc(16 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--c-text);
}

/* Building + lake band (749:2939): 1280px, white sky fade at the top, green shade
   along the bottom 368px; "Building An Institution." sits on a blurred green glow */
.leadership-view {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.leadership-view__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.leadership-view__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leadership-view__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(181.49deg, rgba(255, 255, 255, 0.6) 1.88%, rgba(255, 255, 255, 0) 33.63%);
}
.leadership-view__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(368 / 1280 * 100%);
  background: linear-gradient(0deg, rgba(14, 46, 40, 0.8) 0%, rgba(14, 46, 40, 0) 100%);
}

.leadership-view__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: calc(1280 * var(--s));
  padding-top: calc(100 * var(--s));
  padding-bottom: calc(172 * var(--s));
}

.leadership-view__intro {
  max-width: calc(1572 * var(--s));
}

.leadership-view__text {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--s));
  margin-top: calc(32 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--c-text);
}

/* Frame 1621510244: x 1043, 710 wide */
.leadership-view__institution {
  position: relative;
  width: calc(710 * var(--s));
  margin-left: calc(943 * var(--s));
}
.leadership-view__institution-title,
.leadership-view__institution .leadership-view__text {
  position: relative;
  color: var(--c-white);
}
/* Ellipse 37 export (1380 × 802 incl. the blur) at frame x 704, y 562 */
.leadership-view__glow {
  position: absolute;
  left: calc(-339 * var(--s));
  top: calc(-274 * var(--s));
  width: calc(1380 * var(--s));
  max-width: none;
  height: calc(802 * var(--s));
  pointer-events: none;
}

/* Closing CTA (749:2863 + 749:2851): #f9f9f9 band with the shared texture at 50%
   (darken), seated professional on the left overlapping the building band above */
.leadership-cta {
  position: relative;
  isolation: isolate;
  background: var(--c-soft);
}
/* Figma masks the 1920 × 1603 texture to the 651px band at offset 608 → 63.87% */
.leadership-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/texture-1920.webp") center 63.87% / 100% auto no-repeat;
  opacity: 0.5;
  mix-blend-mode: darken;
}

.leadership-cta__inner {
  position: relative;
  display: flex;
  justify-content: flex-start;
  min-height: calc(651 * var(--s));
}

.leadership-cta__person {
  position: absolute;
  left: 0;
  bottom: calc(-45 * var(--s));
  width: calc(837 * var(--s));
  height: auto;
  pointer-events: none;
}

.leadership-cta__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: calc(31 * var(--s));
  width: calc(710 * var(--s));
  margin-left: calc(880 * var(--s));
  padding-block: calc(135 * var(--s));
}

.leadership-cta__title {
  font-size: max(48px, calc(96 * var(--s)));
  font-weight: var(--w-bold);
  line-height: 1.2;
  color: var(--c-green);
}

.leadership-cta__text {
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--c-black);
}

/* Fixed-size stats panel once type floors take over */
@media (max-width: 1279.98px) {
  .leadership-stats__box {
    width: 100%;
  }
  .leadership-stats__figure {
    flex-basis: auto;
    padding-right: 48px;
  }
  .leadership-stats__pointer {
    left: auto;
    right: -8px;
  }
  .leadership-stats__tags {
    padding-left: 40px;
    padding-right: 32px;
  }
  .leadership-view__institution {
    width: max(440px, calc(710 * var(--s)));
    margin-left: auto;
  }
}

@media (max-width: 1023.98px) {
  .leadership-hero {
    min-height: 600px;
  }
  .leadership-hero__photo {
    top: 0;
    height: 100%;
    object-position: 72% center;
  }
  .leadership-hero__shade {
    width: 85%;
    background: linear-gradient(90deg, #ededed 0%, rgba(237, 237, 237, 0.85) 45%, rgba(237, 237, 237, 0) 100%);
  }
  .leadership-hero__inner {
    padding-top: 88px;
    padding-bottom: 120px;
  }
  .leadership-hero__title,
  .leadership-hero__text {
    max-width: 480px;
  }
  .leadership-hero__text {
    gap: 14px;
    margin-top: 24px;
  }

  /* Stats stack: green panel on top, pointer turns down onto the tags */
  .leadership-stats {
    margin-top: -48px;
  }
  .leadership-stats__box {
    flex-direction: column;
  }
  .leadership-stats__figure {
    align-items: center;
    gap: 10px;
    padding: 28px 24px 30px;
    text-align: center;
  }
  .leadership-stats__pointer {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -12px;
    width: 18px;
    height: 17px;
    transform: translateX(-50%) rotate(180deg);
  }
  .leadership-stats__tags {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 32px;
    padding: 32px 24px 26px;
  }
  .leadership-stats__row {
    display: contents;
  }

  .leaders__list {
    gap: 40px;
    margin-top: 32px;
  }
  .leader__photo {
    flex-basis: 234px;
    min-height: 234px;
    padding: 8px;
  }
  .leader__body,
  .leader--reverse .leader__body {
    padding: 28px 32px;
  }
  .leader__head,
  .leader__names {
    gap: 10px;
  }
  .leader__bio {
    gap: 8px;
    margin-top: 14px;
  }

  .leadership-view__inner {
    min-height: 0;
    gap: 280px;
    padding-top: 72px;
    padding-bottom: 80px;
  }
  /* The intro copy runs taller than the sky once it re-flows, so the white fade is
     extended under it and the building is anchored to the bottom of the band. */
  .leadership-view__photo {
    object-position: 40% bottom;
  }
  .leadership-view__media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.7) 320px, rgba(255, 255, 255, 0) 460px);
  }
  .leadership-view__shade {
    height: 55%;
  }
  .leadership-view__text {
    gap: 12px;
    margin-top: 20px;
  }
  .leadership-view__glow {
    left: -40%;
    top: -45%;
    width: 180%;
    height: 190%;
  }

  /* CTA: person above the copy, no overlap with the band above */
  .leadership-cta__inner {
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding-top: 48px;
  }
  .leadership-cta__person {
    position: static;
    order: -1;
    width: min(100%, 420px);
  }
  .leadership-cta__body {
    align-items: center;
    width: 100%;
    margin-left: 0;
    padding-block: 32px var(--section);
    text-align: center;
    gap: 20px;
  }
  .leadership-cta__title {
    font-size: 52px;
  }
}

@media (max-width: 767.98px) {
  /* Phone banner (Figma 749:2881, 430 × 640 frame): copy on white, the boardroom photo
     below it. --m is one frame pixel; it follows the viewport up to 560px. The photo
     (835 × 639) is pinned to the bottom right and starts 300px above the end of the
     copy, so a taller block of copy pushes it down instead of overlapping the people. */
  .leadership-hero {
    --m: calc(min(100vw, 560px) / 430);
    min-height: 0;
    background: var(--c-white);
  }
  .leadership-hero__photo,
  .leadership-hero__people img {
    inset: auto 0 calc(1 * var(--m)) auto;
    width: calc(835 * var(--m));
    max-width: none;
    height: calc(639 * var(--m));
    object-fit: cover;
    object-position: center;
  }
  /* Rectangles 287 + 300: two identical white fades over the top 407px of the photo */
  .leadership-hero__shade {
    --fade: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.97) 53.365%, rgba(255, 255, 255, 0) 100%);
    inset: auto 0 calc(233 * var(--m)) 0;
    width: auto;
    height: calc(407 * var(--m));
    background: var(--fade), var(--fade);
  }
  .leadership-hero__people {
    display: block;
  }
  .leadership-hero__people img {
    position: absolute;
  }
  .leadership-hero__inner {
    padding-top: 50px;
    padding-bottom: calc(340 * var(--m));
  }
  .leadership-hero__title,
  .leadership-hero__text {
    max-width: 375px;
  }
  .leadership-hero__title {
    font-size: 24px;
  }
  .leadership-hero__text {
    gap: 8px;
    margin-top: 16px;
  }

  .leadership-stats__value {
    font-size: 44px;
  }
  .leadership-stats__tags {
    justify-content: flex-start;
    gap: 12px 24px;
    padding: 28px 20px 22px;
  }

  /* Cards stack: portrait on top for every leader */
  .leader,
  .leader--reverse {
    flex-direction: column;
    align-items: stretch;
  }
  .leader__photo,
  .leader--reverse .leader__photo {
    flex: none;
    aspect-ratio: 1;
    min-height: 0;
    margin: -1px -1px 0;
  }
  .leader__body,
  .leader--reverse .leader__body {
    padding: 22px 20px 26px;
  }

  .leadership-view__inner {
    gap: 220px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .leadership-view__media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0, rgba(255, 255, 255, 0.75) 430px, rgba(255, 255, 255, 0) 560px);
  }
  .leadership-view__shade {
    height: 65%;
  }
  .leadership-view__institution {
    width: 100%;
  }

  .leadership-cta__title {
    font-size: 40px;
  }
  .leadership-cta__action,
  .leadership-cta__action .btn {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------
   18. Legal pages — Privacy Policy and Terms & Conditions
   (Figma page "Privacy Policy & T&C Page": 785:243 body, 786:1758 / 786:1813 banners)
   Figma draws the titles in Montserrat Regular; the site's Gotham Book is used instead.
   Copy comes from content/privacy-policy.php and content/terms-and-conditions.php,
   not from the Figma placeholder text.
   ------------------------------------------------------------------------- */
.legal-page {
  background: #f3f5f4;
}

/* Banner (786:1758): 900px frame minus the 100px header; title centred in the frame */
.legal-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(800 * var(--s));
  padding-bottom: calc(100 * var(--s));
  overflow: hidden;
  background: var(--c-green);
  color: var(--c-white);
  text-align: center;
}
.legal-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.legal-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Rectangle 34625074: 40% black over the photo */
.legal-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.legal-hero__title {
  font-size: var(--fs-64);
  font-weight: var(--w-book);
  line-height: 1.5;
  text-transform: uppercase;
}

/* Policy body (785:452): 120px below the banner, blocks split by 2px #d9d9d9 rules
   with 40px either side; copy is 1574px wide in the 1920 frame. */
.policy {
  padding-top: calc(120 * var(--s));
  padding-bottom: var(--section);
}
.policy__block + .policy__block {
  margin-top: calc(40 * var(--s));
  padding-top: calc(40 * var(--s));
  border-top: 2px solid #d9d9d9;
}
.policy__effective {
  margin-bottom: calc(32 * var(--s));
  font-size: var(--fs-48);
  line-height: 1.2;
  color: var(--c-green);
}
.policy__heading {
  margin-bottom: calc(32 * var(--s));
  font-size: max(26px, calc(40 * var(--s)));
  font-weight: var(--w-book);
  line-height: 1.2;
  color: var(--c-green);
}
.policy__text {
  display: flex;
  flex-direction: column;
  gap: max(12px, calc(16 * var(--s)));
  max-width: calc(1574 * var(--s));
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--c-text);
}
.policy__text strong,
.policy__terms dt {
  font-weight: var(--w-bold);
  color: var(--c-ink);
}
.policy__text a {
  color: var(--c-green);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.policy__text a:hover {
  text-decoration-thickness: 2px;
}
.policy__subheading {
  margin-top: max(8px, calc(12 * var(--s)));
  font-size: var(--fs-24);
  font-weight: var(--w-bold);
  line-height: 1.4;
  color: var(--c-green);
}
.policy__list {
  padding-left: calc(30 * var(--s) + 10px);
  list-style: disc;
}
.policy__list li::marker {
  color: var(--c-green);
}
.policy__terms {
  display: flex;
  flex-direction: column;
  gap: max(12px, calc(16 * var(--s)));
  margin: 0;
}
.policy__terms dd {
  margin: 0;
}
.policy__contact {
  display: flex;
  flex-direction: column;
  gap: max(12px, calc(16 * var(--s)));
  font-style: normal;
}

@media (max-width: 1023.98px) {
  .legal-hero {
    min-height: 560px;
    padding-bottom: 0;
  }
  .policy {
    padding-top: 64px;
  }
  .policy__block + .policy__block {
    margin-top: 32px;
    padding-top: 32px;
  }
  .policy__effective,
  .policy__heading {
    margin-bottom: 20px;
  }
  .policy__text {
    max-width: none;
    font-size: 16px;
  }
  .policy__subheading {
    font-size: 18px;
  }
}

/* Phones (786:1770): 430 × 640 banner, centred crop, 32px title */
@media (max-width: 767.98px) {
  .legal-hero {
    min-height: 640px;
  }
  .legal-hero__title {
    font-size: 32px;
  }
  .policy {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .policy__heading {
    font-size: 22px;
  }
  .policy__list {
    padding-left: 24px;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---- ≥1920: lock the design at 1:1 and keep full-bleed backgrounds ------ */
@media (min-width: 1920px) {
  :root {
    --s: 1px;
  }
}

/* ---- Below 1280: navigation moves into an off-canvas drawer ------------- */
@media (max-width: 1279.98px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: 16px;
    padding: 0 10px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle__bar {
    display: block;
    height: 2px;
    background: var(--c-green);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header__cta {
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 101;
    flex-direction: column;
    align-items: stretch;
    width: min(400px, 100%);
    margin: 0;
    padding: 16px 24px 32px;
    overflow-y: auto;
    background: var(--c-white);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s ease,
      visibility 0s linear 0.35s;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.35s ease;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__item {
    display: block;
    border-bottom: 1px solid var(--c-card-border);
  }
  .nav__item + .nav__item::before {
    display: none;
  }
  .nav__link {
    padding: 16px 0;
    font-size: 18px;
  }
  .nav__link::after {
    bottom: 10px;
  }

  .nav-backdrop {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    display: block;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s ease,
      visibility 0s linear 0.35s;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* Strip and hero proportions once type floors take over */
@media (max-width: 1279.98px) {
  .strip {
    width: auto;
    gap: 20px;
    padding-inline: 32px;
  }
  .hero {
    min-height: 700px;
  }
}

/* ---- Below 1200: needs cards in two columns ----------------------------- */
@media (max-width: 1199.98px) {
  .needs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .need-card {
    min-height: 0;
  }
}

/* ---- Tablet (768–1023) ---------------------------------------------------- */
@media (max-width: 1023.98px) {
  :root {
    --s: 0.6px;
    --gutter: 32px;
    --section: 88px;
    --fs-84: 52px;
    --fs-64: 44px;
    --fs-56: 40px;
    --fs-48: 34px;
    --fs-32: 24px;
    --fs-28: 20px;
    --fs-24: 18px;
    --fs-20: 16px;
    --fs-18: 15px;
    --btn-h: 52px;
  }

  /* Hero */
  .hero {
    min-height: 740px;
  }
  .hero__media img {
    object-position: 40% bottom;
  }
  .hero__inner {
    padding-top: 64px;
    padding-bottom: 104px;
  }
  .hero__content {
    max-width: 500px;
  }
  .hero__title {
    max-width: none;
  }
  .hero__subtitle {
    margin-top: 24px;
  }
  .hero__text {
    max-width: 480px;
    margin-top: 16px;
  }
  .hero__pills {
    margin-top: 28px;
  }
  .hero__pill--solid,
  .hero__pill--outline {
    padding-inline: 16px;
  }

  .strip {
    gap: 14px;
    width: calc(100% - 2 * var(--gutter));
    height: 56px;
    padding-inline: 16px;
    justify-content: space-between;
  }
  .strip__item {
    font-size: 15px;
  }
  .strip__sep img {
    height: 18px;
  }

  /* Needs */
  .section-head__title {
    white-space: normal;
  }
  .needs__grid,
  .needs__closing {
    margin-top: 32px;
  }
  .need-card__body {
    gap: 12px;
    padding: 24px 20px 28px;
  }
  .section-head {
    margin-bottom: 32px;
  }

  /* Platforms: image moves into flow, tabs overlap its lower edge */
  .platforms {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 64px;
  }
  .platforms__inner {
    order: 1;
    padding-top: 72px;
    padding-bottom: 0;
    padding-left: var(--gutter);
  }
  .platforms__head,
  .platforms__panel {
    max-width: 640px;
  }
  .platforms__panels {
    margin-top: 40px;
  }
  .platforms__panel-title,
  .platforms__panel-text {
    max-width: none;
  }
  .platforms__panel-text {
    margin-top: 12px;
  }
  /* Image sits below the copy here, so the outgoing copy is not covered by the
       incoming background — fade it out on the same 600ms ease-out curve instead. */
  .platforms__panel.is-previous {
    opacity: 0;
    transition: opacity var(--dissolve);
  }
  .platforms__media {
    position: relative;
    inset: auto;
    order: 2;
    margin-top: 40px;
    aspect-ratio: 16 / 9;
  }
  .platforms__bg img {
    object-position: 50% 20%;
  }
  .tabs {
    position: relative;
    order: 3;
    left: auto;
    bottom: auto;
    width: calc(100% - 2 * var(--gutter));
    max-width: none;
    margin: -44px auto 0;
    padding: 8px;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs__tab {
    flex: 1 0 auto;
    height: 48px;
    padding: 0 18px;
    font-size: 15px;
    scroll-snap-align: start;
  }
  .ribbon {
    width: calc(100% - 2 * var(--gutter));
  }
  .ribbon__text {
    font-size: 15px;
    padding: 10px 12px;
  }

  /* Statement */
  .texture-wrap {
    padding-top: 104px;
    padding-bottom: 88px;
  }
  .statement {
    padding: 56px 40px;
  }
  .statement__content {
    gap: 12px;
  }

  /* Trust: stacked composition, connectors removed */
  .trust__title {
    white-space: normal;
  }
  .trust__diagram {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
    width: auto;
    height: auto;
    margin: 48px 0 0;
  }
  .trust__mark {
    position: static;
    grid-column: 1 / -1;
    justify-self: center;
    width: 160px;
  }
  .trust__item,
  .trust__item--governance,
  .trust__item--transparency,
  .trust__item--accountability {
    position: static;
    width: auto;
    gap: 8px;
    align-items: center;
    text-align: center;
  }
  .trust__item--transparency {
    order: 1;
  } /* Figma reading order top→bottom: Governance, Accountability, Transparency */
  .trust__item-text {
    max-width: none;
  }
  .trust__conn {
    display: none;
  }

  /* Leadership */
  .leadership__head {
    max-width: 720px;
  }
  .leadership__stat {
    margin-top: 4px;
  }
  .leadership__subtitle,
  .leadership__text {
    margin-top: 12px;
  }
  .timeline {
    margin-top: 48px;
  }
  .timeline__label {
    margin-top: 20px;
    font-size: 16px;
  }
  .leadership__cta {
    margin-top: 48px;
  }

  /* Media band */
  .media-band {
    height: auto;
    aspect-ratio: 1.77;
  }

  /* Let's Look */
  .start__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .start__text {
    max-width: 560px;
  }
  .start__grid {
    gap: 20px;
  }
  .num-card {
    min-height: 280px;
    padding: 88px 24px 24px;
  }
  .num-card__title {
    font-size: 20px;
  }
  .num-card__text {
    font-size: 15px;
  }
  .num-card__body {
    gap: 10px;
    max-width: none;
  }

  /* Perspective */
  .perspective {
    grid-template-columns: 1fr;
    height: auto;
  }
  .perspective__panel {
    gap: 48px;
    padding: 64px var(--gutter);
  }
  .perspective__title,
  .perspective__slide-text,
  .perspective__slide-title,
  .perspective__slide-desc {
    max-width: 560px;
  }
  .perspective__slide-text {
    gap: 12px;
  }
  .carousel {
    aspect-ratio: 960 / 800;
  }
  .carousel__btn--prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .carousel__btn--next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  .carousel__cta {
    right: 20px;
    bottom: 20px;
  }

  /* Let's Talk: building image joins the flow under the text */
  .talk {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .talk__inner {
    order: 1;
    padding-top: 72px;
    padding-bottom: 0;
  }
  .talk__fade {
    top: -40px;
    height: 360px;
  }
  .talk__building {
    position: relative;
    order: 2;
    margin-top: 24px;
    min-height: 300px;
    object-fit: cover;
    object-position: 80% bottom;
  }
  .talk__media {
    display: contents;
  }
  .talk__sky,
  .talk__fade {
    z-index: 0;
  }
  .talk__inner {
    z-index: 1;
  }
  .talk__text {
    max-width: 480px;
    margin-top: 8px;
  }
  .talk__cta {
    margin-top: 32px;
  }

  /* Footer */
  .site-footer {
    margin-top: 72px;
    padding-bottom: 64px;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col {
    min-height: 0;
    padding: 28px 24px 32px;
  }
  .footer__col:first-child {
    grid-column: 1 / -1;
    padding-left: 24px;
  }
  .footer__col--links {
    margin-left: 0;
  }
  .footer__about {
    max-width: 640px;
    margin-top: 24px;
  }
  .footer__follow {
    margin-top: 28px;
  }
  .footer__social {
    gap: 24px;
    margin-top: 12px;
  }
  .footer__links {
    padding-left: 22px;
    margin-top: 12px;
    line-height: 2.1;
  }
  .footer__contact {
    gap: 24px;
    margin-top: 16px;
  }
  .footer__contact li {
    gap: 12px;
  }
  .footer__contact li > :last-child {
    max-width: none;
  }
  .footer__bottom {
    padding-inline: 24px;
  }
}

/* ---- Mobile (≤767) -------------------------------------------------------- */
@media (max-width: 767.98px) {
  :root {
    --s: 0.45px;
    --gutter: 20px;
    --section: 64px;
    --header-h: 64px;
    --fs-84: 42px;
    --fs-64: 40px;
    --fs-56: 31px;
    --fs-48: 27px;
    --fs-32: 21px;
    --fs-28: 17px;
    --fs-24: 17px;
    --fs-20: 16px;
    --fs-18: 14px;
    --btn-h: 48px;
  }

  .logo img {
    width: 170px;
  }
  .site-header__cta {
    display: none;
  }
  .nav-toggle {
    margin-left: auto;
  }
  .nav__cta {
    display: block;
    margin-top: 28px;
  }
  .nav__cta .btn {
    width: 100%;
  }

  /* Hero */
  .hero {
    min-height: 720px;
  }
  .hero__media img {
    object-position: 38% bottom;
  }
  .hero__inner {
    padding-top: 48px;
    padding-bottom: 120px;
  }
  .hero__subtitle {
    margin-top: 20px;
  }
  .hero__text {
    margin-top: 12px;
  }
  .hero__pills {
    margin-top: 24px;
  }
  .hero__pill {
    height: 44px;
  }

  /* Strip: two rows of three, separators kept between items in a row */
  .strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px 8px;
    height: auto;
    padding: 14px 10px;
  }
  .strip__sep:nth-child(6) {
    display: none;
  }
  .strip__item {
    font-size: 13px;
  }
  .strip__sep img {
    height: 16px;
  }

  /* Needs */
  .needs {
    padding-top: 96px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
  }
  .needs__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  .needs__closing {
    margin-top: 28px;
  }

  /* Platforms */
  .platforms {
    padding-bottom: 72px;
  }
  .platforms__inner {
    padding-top: 56px;
  }
  .platforms__panels {
    margin-top: 32px;
  }
  .platforms__media {
    margin-top: 32px;
    aspect-ratio: 4 / 3;
  }
  .tabs {
    margin-top: -36px;
    padding: 6px;
    gap: 6px;
  }
  .tabs__tab {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }
  .ribbon__text {
    font-size: 14px;
    padding: 8px 6px;
  }

  /* Statement */
  .texture-wrap {
    padding-top: 96px;
    padding-bottom: 64px;
  }
  .statement {
    padding: 48px 22px;
  }

  /* Trust */
  .trust__diagram {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 36px;
  }
  .trust__mark {
    width: 120px;
  }

  /* Leadership: vertical timeline */
  .timeline {
    width: fit-content;
    max-width: 100%;
    margin: 40px auto 0;
    --circle: 48px;
    --circle-top: 0px;
  }
  .timeline::before {
    left: calc(var(--circle) / 2 - 1px);
    right: auto;
    top: 10%;
    bottom: 10%;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(
      to bottom,
      var(--c-dash) 0 6px,
      transparent 6px 12px
    );
  }
  .timeline__list {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
  }
  .timeline__step {
    flex-direction: row;
    gap: 20px;
    padding-block: 14px;
    text-align: left;
  }
  .timeline__num {
    margin: 0;
    flex-shrink: 0;
  }
  .timeline__label {
    margin: 0;
    padding: 0;
    font-size: 17px;
  }
  .timeline__arrow {
    left: calc(var(--circle) / 2);
    top: calc(var(--i) * 20%);
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .leadership__cta {
    margin-top: 40px;
  }

  /* Media band */
  .media-band {
    aspect-ratio: 1.77;
  }
  .media-band img,
  .media-band__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* Let's Look */
  .start__title {
    white-space: normal;
  }
  .start__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .num-card {
    min-height: 0;
    padding: 80px 20px 24px;
  }
  .num-card__title {
    font-size: 21px;
  }
  .num-card__text {
    font-size: 16px;
  }
  .start__cta {
    margin-top: 32px;
  }

  /* Perspective */
  .perspective__panel {
    padding: 56px var(--gutter);
    gap: 40px;
  }
  .carousel__btn--prev {
    left: 12px;
  }
  .carousel__btn--next {
    right: 12px;
  }
  .carousel__cta {
    right: 12px;
    bottom: 12px;
  }
  .carousel__cta .btn {
    --btn-h: 44px;
    font-size: 13px;
  }

  /* Let's Talk */
  .talk__inner {
    padding-top: 56px;
  }
  .talk__building {
    min-height: 260px;
  }

  /* Footer */
  .site-footer {
    margin-top: 56px;
    padding-bottom: 40px;
  }
  .footer {
    grid-template-columns: 1fr;
  }
  .footer__col {
    margin-left: 0;
    padding: 24px 20px 28px;
  }
  .footer__col:first-child {
    padding-left: 20px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }
}

/* ---- Small mobile (≤479) ---------------------------------------------------- */
@media (max-width: 479.98px) {
  :root {
    --gutter: 16px;
    --fs-84: 38px;
    --fs-56: 28px;
    --fs-48: 25px;
    --fs-32: 20px;
    --fs-28: 16px;
  }

  .logo img {
    width: 150px;
  }
  .hero__pills {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__pill--outline {
    border-width: 2px;
  }
  .strip__item {
    font-size: 12px;
  }
  .statement {
    padding: 44px 18px;
  }
  .talk .btn--lg {
    width: 100%;
  }
  .footer__col {
    padding-inline: 16px;
  }
  .footer__col:first-child {
    padding-left: 16px;
  }
  .footer__bottom {
    padding-inline: 16px;
  }
}

/* ---- Reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
