/* N72 – site styles. The base is the Kidmat Bialik landing page; site components follow at the end. */

:root {
  --black: #0b0b0b;
  --black-3: #202020;
  --white: #f6f4f0;
  --white-2: #d8d4cb;
  --gold: #c1af95;
  --gold-ink: #8d7961;
  --green: #53594c;
  --green-d: #3d4238;
  --accent-rgb: 83, 89, 76; /* per area, see inc/brand.php */
  --hl: #7f8972;
  --mute-d: #a29d95;
  --mute-l: #5f5a53;
  --line-d: rgba(246, 244, 240, .14);
  --line-l: rgba(11, 11, 11, .13);

  /* logo palette */
  --metal: linear-gradient(115deg, #8d7961 0%, #c1af95 28%, #ae997f 52%, #c1af95 74%, #8d7961 100%);
  --metal-ink: linear-gradient(115deg, #231e18 0%, #5a4c3b 40%, #8d7961 100%);
  --silver: linear-gradient(180deg, #d8d4cb 0%, #d8d4cb 45%, #c1af95 100%);
  --graphite: linear-gradient(160deg, #211d18 0%, #141210 55%, #0b0a09 100%);
  --pearl: linear-gradient(160deg, #ffffff 0%, #f6f3ee 55%, #ece6dc 100%);

  --edge-d: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .06);
  --lift-d: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --lift-l: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 24px 48px -28px rgba(60, 45, 25, .35);

  --f-title: "Google Sans", "Noto Sans Hebrew", Arial, sans-serif;
  --f-body: "Noto Sans Hebrew", Arial, sans-serif;
  --r: 22px;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);

  color-scheme: dark;
}


/* ---------- base ---------- */

* { box-sizing: border-box; }

html {
  background: var(--black) !important;
  scrollbar-color: var(--green) var(--black);
  overflow-x: clip;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: transparent !important; /* the texture layer below sits between html and body */
  direction: rtl;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* stone texture from the brand book, very faint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url(../img/texture.jpg) center / cover no-repeat;
  opacity: .1;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0; }
bdi { white-space: nowrap; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-title);
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: clamp(52px, 9vw, 140px); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(36px, 5.4vw, 80px); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; line-height: 1.2; }

section { padding-block: clamp(60px, 7.5vw, 108px); }

.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* let grid columns shrink below their content width */
.why > *,
.after > *,
.feat > *,
.prices > *,
.about > *,
.pillars > *,
.cta .wrap > *,
.foot .cols > * { min-width: 0; }

.light {
  background: var(--white);
  color: var(--black);
  color-scheme: light;
}

.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.light .kicker { background-image: var(--metal-ink); }
.kicker + h2 { margin-top: 16px; }

.lede { max-width: 62ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--mute-d); }
.light .lede { color: var(--mute-l); }

.note { margin-top: 16px; font-size: 14px; color: var(--mute-d); }

.src { margin-top: 28px; font-size: 13px; color: var(--mute-d); }
.light .src { color: var(--mute-l); }

.num {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.num small {
  margin-inline-start: .25em;
  font-size: .38em;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-text-fill-color: currentColor;
  color: var(--mute-d);
}
.light .num small { color: var(--mute-l); }

.metal,
.facts .num,
.stats .num,
.avg .num,
.tl .now .num {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--black-3);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7);
}
.light .photo { box-shadow: 0 30px 60px -34px rgba(60, 45, 25, .45); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--white);
  background: rgba(20, 20, 20, .55);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

/* line icons */
.ico {
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico .dash { stroke-dasharray: 2.5 3; }
.ico .fill { fill: currentColor; stroke: none; }
.ico circle { fill: none; }

/* small icon tile on dark backgrounds */
.ico.tile {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  color: var(--gold);
  background: linear-gradient(160deg, rgba(193, 175, 149, .14), rgba(193, 175, 149, .03));
  box-shadow: inset 0 0 0 1px rgba(193, 175, 149, .22);
}

/* same tile on light backgrounds, in the brand green */
.ico.tile.soft {
  color: var(--green);
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .03));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .22);
}

/* icon badge on light cards */
.ico.big {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  padding: 12px;
  border-radius: 16px;
  color: var(--gold-ink);
  background: linear-gradient(160deg, #fff, #efe9df);
  box-shadow: inset 0 0 0 1px rgba(141, 121, 97, .25), 0 10px 22px -12px rgba(60, 45, 25, .4);
}


/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  background: linear-gradient(180deg, #ffffff, #e9e5df);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -12px rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: background .4s ease, box-shadow .4s ease, color .3s ease;
}
.btn:hover { background: var(--metal); }

.btn.dark {
  color: var(--white);
  background: linear-gradient(180deg, color-mix(in srgb, var(--green), #fff 8%), var(--green-d));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 24px -12px rgba(0, 0, 0, .5);
}
.btn.dark:hover { background: var(--green); }

.btn.green {
  color: var(--white);
  background: linear-gradient(135deg, color-mix(in srgb, var(--green), #fff 22%), var(--green) 55%, var(--green-d));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 26px -12px rgba(0, 0, 0, .6);
}
.btn.green:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--green), #fff 28%), color-mix(in srgb, var(--green), #fff 6%) 55%, color-mix(in srgb, var(--green), #000 15%)); }

/* a highlighted word inside a heading */
h2 .hl { font-style: normal; color: var(--hl); }
.light h2 .hl { color: var(--green); }

.btn.line {
  color: inherit;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.btn.line:hover { background: rgba(255, 255, 255, .08); }

.btn.sm { padding: 11px 22px; font-size: 14px; }

.link {
  padding-bottom: 2px;
  border-bottom: 1.5px solid currentColor;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}


/* ---------- brand emblem watermark ---------- */

.emblem { position: relative; isolation: isolate; overflow: clip; }
.emblem::after {
  content: "";
  position: absolute;
  z-index: -1;
  /* never wider than the screen, so the whole symbol always shows */
  width: min(var(--em-size, 480px), 70vw);
  aspect-ratio: 113 / 82;
  background: url(../img/emblem.png) center / contain no-repeat;
  opacity: var(--em-alpha, .045);
  pointer-events: none;
}
/* emblem placement per section type */
.emblem::after { --em-size: 420px; bottom: 48px; inset-inline-start: 4vw; }
.s-parcel.emblem::after { --em-size: 420px; bottom: 48px; inset-inline-start: 4vw; }
.s-valuation.emblem::after { --em-size: 440px; bottom: 40px; left: 50%; translate: -50% 0; }
.s-about.emblem::after,
.light.emblem::after {
  --em-size: 300px;
  --em-alpha: .06;
  bottom: 40px;
  inset-inline-end: 4vw;
  background-image: url(../img/emblem-green.png);
}
.foot.emblem::after { --em-size: 380px; --em-alpha: .04; bottom: 32px; left: 50%; translate: -50% 0; }

/* soft green light in a couple of the dark sections */
.glow {
  background: radial-gradient(ellipse 70% 60% at 90% 0%, rgba(var(--accent-rgb), .38), transparent 70%);
}


/* ---------- header ---------- */

.progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  height: 2px;
  background: var(--metal);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}

.top {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 5;
  transition: background-color .5s ease, box-shadow .5s ease, -webkit-backdrop-filter .5s ease, backdrop-filter .5s ease;
}
/* dark fade behind the header so it reads over the hero photo */
.top::before {
  content: "";
  position: absolute;
  inset: 0 0 -70px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, 0) 100%);
  transition: opacity .5s ease;
}
.top .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 92px;
  transition: height .5s cubic-bezier(.2, .7, .2, 1);
}
.top .logo img {
  width: auto;
  height: 80px;
  max-width: 46vw;
  object-fit: contain;
  object-position: right center;
  transition: height .5s cubic-bezier(.2, .7, .2, 1);
}

.top.scrolled {
  background: rgba(11, 11, 11, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(193, 175, 149, .18);
}
.top.scrolled::before { opacity: 0; }
.top.scrolled .wrap { height: 70px; }
.top.scrolled .logo img { height: 60px; }

.nav {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav a { text-decoration: none; transition: color .3s ease; }
.nav a:hover { color: var(--gold); }

/* header CTA: slow glow with a gold sheen passing over it */
.top .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 11px 22px;
  font-size: 15px;
  white-space: nowrap;
  animation: btnGlow 3.2s ease-in-out infinite;
}
.top .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
}
.top .btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(193, 175, 149, .85) 48%, rgba(255, 255, 255, .9) 52%, transparent 70%);
  background-size: 250% 100%;
  background-position: 120% 0;
  mix-blend-mode: multiply;
  animation: btnSheen 3.2s var(--ease-io) infinite;
}

@keyframes btnSheen {
  0%, 55% { background-position: 120% 0; }
  85%, 100% { background-position: -20% 0; }
}
@keyframes btnGlow {
  0%, 100% { box-shadow: inset 0 1px 0 #fff, 0 0 0 0 rgba(193, 175, 149, 0); }
  50% { box-shadow: inset 0 1px 0 #fff, 0 0 0 6px rgba(193, 175, 149, .18), 0 0 26px rgba(193, 175, 149, .35); }
}


/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: max(680px, 100svh);
  padding: 0;
  overflow: clip;
}
.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 11, .55) 0%, rgba(11, 11, 11, .15) 35%, rgba(11, 11, 11, .85) 100%);
}
.hero .wrap { width: 100%; padding-block: 150px 64px; }

.hero .kicker {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(11, 11, 11, .5);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.hero h1 {
  margin-top: 16px;
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 span {
  display: block;
  margin-top: 14px;
  font-size: .36em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--white-2);
  -webkit-text-fill-color: var(--white-2);
}

.hero .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 36px;
}
.hero .row p { max-width: 520px; font-size: 20px; color: var(--white-2); }
.hero .row .mask { max-width: 520px; }

.facts {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line-d);
}
.facts > div { padding: 22px 0 0; padding-inline-end: 20px; }
.facts .num { font-size: clamp(28px, 3vw, 44px); }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--mute-d); }


/* ---------- why: the parcel as a survey plan ---------- */

.why {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.why h2 { margin-block: 18px 24px; }

.plot {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 620px;
  padding: 56px;
}
.plot-sq {
  position: relative;
  aspect-ratio: 1;
  isolation: isolate;
}
.plot-sq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(193, 175, 149, .14), transparent 70%);
}
/* scale ruler above the square */
.plot-sq::after {
  content: "";
  position: absolute;
  inset: -26px 0 auto;
  height: 12px;
  background: linear-gradient(to left, rgba(216, 212, 203, .35) 0 1px, transparent 1px) right top / 10% 100% repeat-x;
}
.plot-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(.8);
  opacity: .2;
  mix-blend-mode: luminosity;
}
.plot-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.plot-svg * { fill: none; }
.plot-svg .edge { stroke: var(--gold); stroke-width: .32; }
.plot-svg .grid { stroke: rgba(216, 212, 203, .16); stroke-width: .2; stroke-dasharray: .4 1.2; }
.plot-svg .diag { stroke: rgba(193, 175, 149, .25); stroke-width: .2; }

.plot-c {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.plot-c .num { font-size: clamp(56px, 7vw, 104px); }
.plot-c span { margin-top: 8px; font-size: 14px; letter-spacing: .08em; color: var(--white-2); }

.tag-in {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mute-d);
}

/* corner marks */
.cm {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(216, 212, 203, .55);
}
.cm.a { top: -14px; right: -14px; border-top-width: 1px; border-right-width: 1px; }
.cm.b { top: -14px; left: -14px; border-top-width: 1px; border-left-width: 1px; }
.cm.c { bottom: -14px; right: -14px; border-bottom-width: 1px; border-right-width: 1px; }
.cm.d { bottom: -14px; left: -14px; border-bottom-width: 1px; border-left-width: 1px; }

/* labels on the four sides */
.pl {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .05em;
  white-space: nowrap;
  color: var(--white-2);
}
.pl::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.pl.t { top: 8px; left: 50%; transform: translateX(-50%); }
.pl.btm { bottom: 8px; left: 50%; transform: translateX(-50%); }
.pl.r { right: 20px; top: 50%; transform: translate(50%, -50%) rotate(90deg); }
.pl.l { left: 20px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }


/* ---------- location ---------- */

.statement {
  max-width: 20ch;
  margin-top: 18px;
  font-family: var(--f-title);
  font-size: clamp(32px, 4.6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.statement em { font-style: normal; color: var(--gold-ink); }

/* location photos: an accordion of tall panels, one open at a time */
.panels {
  display: flex;
  gap: 14px;
  height: clamp(440px, 42vw, 580px);
  margin-top: 40px;
}
.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--black);
  cursor: pointer;
  outline: none;
  transition: flex-grow .85s cubic-bezier(.45, 0, .2, 1);
}
.panel.on { flex-grow: 2.4; cursor: default; }
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform 1.3s cubic-bezier(.3, 0, .2, 1), filter .9s ease;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .45));
  transition: opacity .85s ease;
}
/* a second, lighter shade fades in on the open panel, so the change is a crossfade */
.panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .15) 60%, transparent);
  opacity: 0;
  transition: opacity .85s ease;
  pointer-events: none;
}
.panel.on::before { opacity: 1; }
.panel.on::after { opacity: 0; }
.panel.on img { transform: scale(1.04); filter: saturate(1); }
.panel:focus-visible { box-shadow: 0 0 0 2px var(--gold); }

.panel h3 { margin: 0; color: var(--white); font-weight: 500; }

/* the sideways label on closed panels */
.panel-v {
  position: absolute;
  z-index: 1;
  bottom: 44px;
  left: 50%;
  translate: -50% 0;
  writing-mode: vertical-rl;
  rotate: 180deg;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: .07em;
  white-space: nowrap;
  transition: opacity .5s ease .2s;
}
.panel.on .panel-v { opacity: 0; transition-delay: 0s; transition-duration: .3s; }

.panel-body {
  position: absolute;
  z-index: 1;
  inset-inline: 32px;
  bottom: 36px;
  opacity: 0;
  translate: 0 18px;
  transition: opacity .4s ease, translate .6s ease;
}
.panel.on .panel-body { opacity: 1; translate: 0 0; transition: opacity .7s ease .35s, translate .8s cubic-bezier(.2, .7, .2, 1) .3s; }
.panel-body h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: .03em; white-space: nowrap; }
.panel-body p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.panel-body .btn { margin-top: 22px; }

.btn.ghost {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85);
}
.btn.ghost:hover { color: var(--black); background: var(--white); }

.after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  margin-top: 52px;
}
.after h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; }
.after .lede { margin-top: 16px; }

.bounds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-l);
}
.bounds li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-l);
}
.bounds span { min-width: 44px; font-size: 12px; letter-spacing: .08em; color: var(--gold-ink); }
.bounds b { display: block; font-size: 20px; }

/* distance diagram */
.radar { position: relative; margin: 0; }
.radar svg { display: block; width: 100%; height: auto; overflow: visible; direction: ltr; }
.radar .rings circle { fill: none; stroke: rgba(11, 11, 11, .16); stroke-width: 1; stroke-dasharray: 3 5; }
.radar .rings circle:last-child { fill: rgba(141, 121, 97, .08); stroke: rgba(141, 121, 97, .4); stroke-dasharray: none; }
.radar .rlab text { font: 500 11px var(--f-body); fill: var(--mute-l); }
.radar .leads path { fill: none; stroke: var(--gold-ink); stroke-width: 1.2; }
.radar .pts circle { fill: var(--white); stroke: var(--gold-ink); stroke-width: 2; }
.radar .pts .n { font: 700 15px var(--f-body); fill: var(--black); }
.radar .pts .d { font: 800 14px var(--f-body); fill: var(--gold-ink); }
.radar .core rect { fill: #231e18; }
.radar .core text { font: 800 14px var(--f-body); fill: var(--black); }
.radar .core .pulse {
  fill: none;
  stroke: var(--gold-ink);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 3s cubic-bezier(.2, .7, .2, 1) infinite;
}
.radar figcaption { margin-top: 10px; font-size: 12px; text-align: center; color: var(--mute-l); }

.trio {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), 1fr);
  gap: 16px;
  margin-top: 16px;
}
.trio > div {
  padding: 26px 22px;
  border: 1px solid rgba(11, 11, 11, .08);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
}
.trio .num {
  font-size: 44px;
  background: var(--metal-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trio h3 { margin-block: 12px 8px; }
.trio p { font-size: 15px; color: var(--mute-l); }


/* ---------- planning status + timeline ---------- */

.head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}
.head-row h2 { max-width: 14ch; margin-top: 16px; }

.status {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), 1fr);
  gap: 16px;
}

/* dark cards */
.status > div,
.stats > div,
.docs article,
.why-note {
  border-radius: var(--r);
  background: var(--graphite);
  box-shadow: var(--edge-d), var(--lift-d);
  transition: box-shadow .5s ease;
}
.status > div,
.stats > div { padding: 26px 22px; }
.stats > div { background: linear-gradient(160deg, #4b5144, #2c2f28); }
.status > div:hover,
.stats > div:hover,
.docs article:hover {
  box-shadow: inset 0 1px 0 rgba(193, 175, 149, .35), inset 0 0 0 1px rgba(193, 175, 149, .25), var(--lift-d);
}

.status h3 { margin-block: 18px 10px; }
.status p { font-size: 15px; color: var(--mute-d); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(180deg, color-mix(in srgb, var(--green), #fff 8%), var(--green));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.tag.wip { color: var(--black); background: var(--metal); box-shadow: none; }
.tag.rec { color: var(--gold); background: transparent; box-shadow: inset 0 0 0 1px var(--gold); }

.why-note {
  margin-top: 16px;
  padding: 22px 26px;
  font-size: 16px;
  color: var(--white-2);
}
.why-note b { color: var(--gold); }

.timeline { position: relative; margin-top: 56px; }

/* one continuous ruler across the full screen width */
.tl-track {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 64px;
  margin-left: -50vw;
  pointer-events: none;
}
.tl-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(216, 212, 203, .3) 0 1px, transparent 1px) right var(--off, 0px) bottom / var(--tick, 24px) 11px repeat-x,
    linear-gradient(rgba(216, 212, 203, .2), rgba(216, 212, 203, .2)) right bottom / 100% 1px no-repeat;
  -webkit-mask: linear-gradient(to left, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(to left, transparent, #000 6%, #000 94%, transparent);
}
.tl-track::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(to left, rgba(193, 175, 149, 0), #c1af95 6%, #ae997f 55%, #8d7961 94%, rgba(141, 121, 97, 0));
  transform-origin: right center;
}

.tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n, 5), 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl li { position: relative; padding-inline-end: 28px; }

.seg { position: relative; height: 64px; margin-bottom: 30px; }
.seg::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -1px;
  width: 2px;
  height: 34px;
  border-radius: 1px;
  background: linear-gradient(to top, #c1af95, rgba(193, 175, 149, .15));
}
.now .seg::before {
  height: 46px;
  background: linear-gradient(to top, #c1af95, rgba(193, 175, 149, .3));
}

.dot {
  position: absolute;
  bottom: -7px;
  right: -7px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.now .dot {
  background: var(--metal);
  box-shadow: 0 0 0 4px rgba(193, 175, 149, .16), 0 0 24px rgba(193, 175, 149, .55);
}
.now .dot::before,
.now .dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(193, 175, 149, .55);
  border-radius: 50%;
  animation: ping 2.8s cubic-bezier(.2, .7, .2, 1) infinite;
}
.now .dot::after { animation-delay: 1.4s; }

@keyframes ping {
  from { transform: scale(.6); opacity: 1; }
  to { transform: scale(3.2); opacity: 0; }
}

.cap-l {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  color: #8d977f;
}

.tl .num {
  font-size: 60px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 212, 203, .45);
}
.tl .now .num { -webkit-text-stroke: 0; }
.tl h3 { margin-block: 14px 8px; }
.tl p { font-size: 15px; color: var(--mute-d); }

.here {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  background: var(--metal);
}

.tl-note { max-width: 90ch; margin-top: 36px; font-size: 13px; color: var(--mute-d); }


/* ---------- plan (mitcham 3) ---------- */

.feature { padding-top: 0; }
.feature .wide { aspect-ratio: 21 / 9; border-radius: 0; }

.feat-head { margin-top: clamp(42px, 5.25vw, 72px); }
.feat-head h2 { margin-block: 16px 20px; }
.feat-head .lede { max-width: none; }

.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(27px, 3vw, 42px);
}
.feat .photo { aspect-ratio: 1056 / 708; }
.feat .btn { margin-top: 32px; }

.principles-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--gold);
}
.principles { margin: 0; padding: 0; list-style: none; }
.principles li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-d);
}
.principles li:first-child { border-top: 1px solid var(--line-d); }
.principles p { font-size: 17px; color: var(--white-2); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.stats .tile { display: block; margin-bottom: 16px; }

/* the principles keep their open list; only the icon gets the green tile */
.principles .ico.tile {
  color: #e4e6e8;
  background: linear-gradient(150deg, color-mix(in srgb, var(--green), #fff 16%), var(--green) 50%, var(--green-d));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 16px -8px rgba(0, 0, 0, .6);
}

/* polished silver on the green tiles */
.stats .num,
.stats .num small {
  background: linear-gradient(170deg, #ffffff 0%, #d4d6d8 38%, #9ea2a6 62%, #eceef0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats .ico.tile {
  color: var(--green-d);
  background: linear-gradient(150deg, #ffffff, #d8dadc 40%, #a7abaf 70%, #eef0f1);
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(0, 0, 0, .6);
}
.stats .num { font-size: clamp(30px, 3.2vw, 48px); }
.stats p { margin-top: 10px; font-size: 15px; color: #c9ccce; }


/* ---------- quotes ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.quotes figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 30px 26px;
  border-radius: var(--r);
}
.quotes blockquote {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 500;
  line-height: 1.4;
}
.quotes figcaption { font-size: 14px; color: var(--mute-l); }
.quotes figcaption b { display: block; font-size: 15px; color: var(--black); }

.quotes figure.big {
  grid-column: span 2;
  color: var(--white);
  background: linear-gradient(150deg, color-mix(in srgb, var(--green), #fff 6%), var(--green-d));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -40px rgba(0, 0, 0, .5);
}
.quotes figure.big blockquote { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; }
.quotes figure.big figcaption { color: rgba(255, 255, 255, .7); }
.quotes figure.big figcaption b { color: var(--gold); }

/* light cards */
.quotes figure:not(.big),
.risks > div {
  background: var(--pearl);
  box-shadow: var(--lift-l);
  transition: box-shadow .5s ease;
}
.quotes figure:not(.big):hover,
.risks > div:hover {
  box-shadow: inset 0 0 0 1px rgba(141, 121, 97, .35), 0 30px 60px -30px rgba(60, 45, 25, .45);
}


/* ---------- valuation ---------- */

.s-valuation { padding-block: clamp(56px, 6.5vw, 92px); }

.vhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}
.vhead h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 52px); }
.vhead .src { max-width: 340px; margin: 0; }

/* value ruler: today vs. after a detailed plan */
.vruler {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r);
  background: var(--graphite);
  box-shadow: var(--edge-d), var(--lift-d);
}
.vr-row {
  display: grid;
  grid-template-columns: 190px 1fr 150px;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}
.vr-l { font-size: 17px; font-weight: 700; color: var(--white); }
.vr-l small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--mute-d); }

.vr-track {
  position: relative;
  height: 30px;
  background:
    linear-gradient(to left, rgba(216, 212, 203, .22) 0 1px, transparent 1px) right bottom / 5% 7px repeat-x,
    linear-gradient(rgba(216, 212, 203, .16), rgba(216, 212, 203, .16)) right bottom / 100% 1px no-repeat;
}
.vr-track i {
  position: absolute;
  bottom: 6px;
  right: calc(var(--s, 0) * 100%);
  width: calc(var(--v) * 100%);
  height: 14px;
  border-radius: 4px;
  transform-origin: right center;
}
.vr-track .base { background: linear-gradient(to left, #8f9397, #d9dcdf 45%, #a9adb1); }
.vr-row.b .vr-track .base { background: linear-gradient(to left, rgba(143, 147, 151, .8), rgba(217, 220, 223, .8) 45%, rgba(169, 173, 177, .8)); }
.vr-track .plus {
  border-radius: 0 4px 4px 0;
  background: linear-gradient(to left, color-mix(in srgb, var(--green), #fff 16%), #97a186);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), .55);
}
.vr-track em {
  position: absolute;
  bottom: 26px;
  right: calc(var(--s, .4875) * 100% + 8px);
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
  white-space: nowrap;
  color: #a3ad92;
}

.vr-row .num { font-size: clamp(28px, 2.8vw, 40px); text-align: left; }
.vr-row.a .num {
  background: linear-gradient(115deg, #9a9ea2, #e2e4e6 50%, #a9adb1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vr-scale {
  display: flex;
  justify-content: space-between;
  margin-inline: 214px 174px;
  padding-top: 8px;
  border-top: 1px dashed rgba(216, 212, 203, .12);
  font-size: 11px;
  color: var(--mute-d);
}

.prices {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(30px, 3.75vw, 48px);
}
.avg .num { margin-block: 14px 12px; font-size: clamp(48px, 5vw, 80px); }
.avg p { font-size: 16px; color: var(--mute-d); }
.rng .kicker { display: block; margin-bottom: 10px; }

/* apartment price columns (scale 0–2.6M) */
.price-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: clamp(14px, 2vw, 28px);
  margin-top: 18px;
  padding-top: 8px;
  background:
    linear-gradient(rgba(216, 212, 203, .08), rgba(216, 212, 203, .08)) 0 calc(220px - 220px * var(--g1, .385)) / 100% 1px no-repeat,
    linear-gradient(rgba(216, 212, 203, .08), rgba(216, 212, 203, .08)) 0 calc(220px - 220px * var(--g2, .769)) / 100% 1px no-repeat;
}
.price-col { display: flex; flex-direction: column; }
.price-bar {
  position: relative;
  height: 220px;
  border-bottom: 1px solid rgba(216, 212, 203, .25);
}
.price-bar i {
  position: absolute;
  bottom: 0;
  inset-inline: 18%;
  height: calc(var(--hi) * 100%);
  border-radius: 10px 10px 0 0;
  background: linear-gradient(to top, rgba(141, 121, 97, .25), rgba(141, 121, 97, .55));
  transform-origin: bottom center;
}
/* the bright cap is the price range itself */
.price-bar i::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: calc((var(--hi) - var(--lo)) / var(--hi) * 100%);
  border-radius: 10px 10px 0 0;
  background: var(--metal);
  box-shadow: 0 0 26px rgba(193, 175, 149, .35);
}
.price-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  text-align: right;
}
.price-label b {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 800;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-label span { font-size: 15px; font-weight: 700; color: var(--white); }
.chart-note { margin-top: 16px; font-size: 12px; color: var(--mute-d); }


/* ---------- transparency ---------- */

.risks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.risks > div { padding: 30px 28px; border-radius: var(--r); }
.risk-head { display: flex; align-items: center; justify-content: space-between; }
.risk-head .ico {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 50%;
  color: var(--gold-ink);
  background: linear-gradient(160deg, #fff, #efe9df);
  box-shadow: inset 0 0 0 1px rgba(141, 121, 97, .25), 0 8px 18px -10px rgba(60, 45, 25, .35);
}
.risks h3 { margin-block: 12px 10px; }
.risks p { font-size: 16px; color: var(--mute-l); }


/* ---------- documents ---------- */

.s-documents .head-row { margin-bottom: 0; }

.docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.docs article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
}
.docs time { font-size: 13px; color: var(--gold); }
.docs p { flex: 1; font-size: 15px; color: var(--mute-d); }


/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}
.about-media { position: relative; }

.about-photo { aspect-ratio: 4 / 5; }
.about-photo img { object-position: 55% 40%; }

.about-text h2 { margin-block: 16px 22px; font-size: clamp(30px, 3.6vw, 52px); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line-l);
}
.pillars h3 { margin: 16px 0 8px; font-size: 19px; line-height: 1.25; }
.pillars p { font-size: 15px; line-height: 1.55; color: var(--mute-l); }


/* ---------- contact ---------- */

.cta { position: relative; isolation: isolate; overflow: clip; }
.cta > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 11, .72);
}
.cta .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.cta h2 { margin-block: 16px 32px; }
.cta ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cta li { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 12px; }
.cta .step {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--black);
  background: var(--metal);
  box-shadow: 0 0 0 4px rgba(193, 175, 149, .12);
}
.cta .step .ico { width: 20px; height: 20px; stroke-width: 1.7; }
.cta li b { display: block; font-size: 18px; }
.cta li span { font-size: 15px; color: var(--white-2); }

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r);
  color: var(--black);
  background: var(--pearl);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), inset 0 1px 0 #fff;
  color-scheme: light;
}
.lead-form h3 { font-size: 26px; font-weight: 800; }
.lead-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--mute-l); }
.lead-form input,
.lead-form select {
  padding: 13px 14px;
  border: 1px solid rgba(11, 11, 11, .1);
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  color: var(--black);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}
.lead-form input:focus,
.lead-form select:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.lead-form .btn { justify-content: center; }
.lead-form .fine { font-size: 12px; color: var(--mute-l); }
.lead-form .ok { font-weight: 700; color: var(--gold-ink); }

/* marketing consent */
.lead-form label.chk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}
.lead-form .chk input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(11, 11, 11, .25);
  border-radius: 6px;
  box-shadow: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lead-form .chk input::after {
  content: "";
  width: 10px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  rotate: -45deg;
  translate: 0 -1px;
  opacity: 0;
  transition: opacity .15s ease;
}
.lead-form .chk input:checked { border-color: var(--green); background: var(--green); }
.lead-form .chk input:checked::after { opacity: 1; }
.lead-form .chk input:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }


/* ---------- footer ---------- */

.foot { padding-block: 64px 104px; border-top: 1px solid var(--line-d); }
.foot .cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  align-items: start;
  gap: 40px;
}
.foot .logo { width: auto; height: 96px; }
.foot .tagline { max-width: 30ch; margin-top: 22px; font-size: 15px; line-height: 1.55; color: var(--mute-d); }
.foot h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--gold); }
.foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--white-2); }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: var(--gold); }
.foot-contact .btn { margin-top: 22px; }

.disc {
  max-width: none;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-d);
  font-size: 13px;
  color: var(--mute-d);
}
.copy { margin-top: 16px; font-size: 13px; color: var(--mute-d); }


/* ---------- contact popup ---------- */

.popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  visibility: hidden;
  pointer-events: none;
}
.popup.open { visibility: visible; pointer-events: auto; }

.popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .45s ease;
}
.popup.open .popup-bg { opacity: 1; }

.popup-box {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  width: min(940px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border-radius: var(--r);
  color: var(--black);
  background: var(--pearl);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
  opacity: 0;
  translate: 0 28px;
  scale: .98;
  transition: opacity .45s ease, translate .7s var(--ease-out), scale .7s var(--ease-out);
}
.popup.open .popup-box { opacity: 1; translate: 0 0; scale: 1; }

.popup-side {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: clamp(24px, 3vw, 40px);
  color: var(--white);
  background: var(--black) url(../img/aerial.jpg) center / cover;
  background-size: cover;
  background-position: center;
}
.popup-side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 11, 11, .25), rgba(11, 11, 11, .9));
}
.popup-side h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.popup-side p { margin-top: 10px; font-size: 15px; color: var(--white-2); }
.popup-side .popup-contact {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px;
  color: var(--gold);
}
.popup-contact a { text-decoration: none; }

.popup .lead-form { border-radius: 0; background: none; box-shadow: none; }

.popup-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--black);
  background: rgba(11, 11, 11, .06);
  cursor: pointer;
}
.popup-close:hover { background: rgba(11, 11, 11, .12); }
.popup-close svg { width: 16px; height: 16px; }




/* ---------- motion ----------
   Only applies once main.js adds .anim to <html>.
   Reveals use translate / opacity / clip-path, parallax uses transform,
   image zoom uses scale – so they never fight over the same property. */

.hero > img,
.cta > img,
.feature .wide img { will-change: transform; }

html.anim .top {
  opacity: 0;
  translate: 0 -20px;
  transition: opacity 1s ease 1s, translate 1s var(--ease-out) 1s, background-color .5s ease, box-shadow .5s ease;
}
html.anim .top.on { opacity: 1; translate: 0 0; }

/* generic fade-up */
html.anim [data-r] {
  opacity: 0;
  translate: 0 36px;
  transition: opacity 1.3s cubic-bezier(.2, .7, .2, 1), translate 1.4s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.anim [data-r].in { opacity: 1; translate: 0 0; }
html.anim [data-r="fade"] { translate: none; }

/* headings: each word rises out of a mask */
html.anim [data-r="words"] { opacity: 1; translate: none; }
.w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 4px;
  padding-bottom: .2em;
  margin-bottom: -.2em;
  vertical-align: top;
}
.w > i { display: inline-block; font-style: normal; }
html.anim [data-r="words"] .w > i {
  translate: 0 105%;
  transition: translate 1.3s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + var(--i) * 55ms);
}
html.anim [data-r="words"].in .w > i { translate: 0 0; }

/* hero lines slide up from behind a hard edge */
.mask {
  overflow: clip;
  overflow-clip-margin: 2px;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
html.anim [data-r="rise"] {
  opacity: 1;
  translate: 0 105%;
  transition: translate 1.25s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.anim [data-r="rise"].in { translate: 0 0; }

html.anim .hero { background: var(--black); }
html.anim .hero > img {
  scale: 1.08;
  opacity: 0;
  transition: scale 2.6s cubic-bezier(.16, 1, .3, 1), opacity 1.2s ease;
}
html.anim .hero.on > img { scale: 1; opacity: 1; }

/* photos: the frame opens, the image settles */
html.anim .photo[data-r] {
  opacity: 1;
  translate: none;
  clip-path: inset(100% 0 0 0 round var(--r));
  transition: clip-path 1.9s cubic-bezier(.77, 0, .18, 1);
  transition-delay: var(--d, 0s);
}
html.anim .photo[data-r].in { clip-path: inset(0 0 0 0 round var(--r)); }
html.anim .photo[data-r] img {
  scale: 1.35;
  transition: scale 2.8s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
}
html.anim .photo[data-r].in img { scale: 1; }
html.anim .photo[data-r] figcaption {
  opacity: 0;
  translate: 0 10px;
  transition: opacity .8s ease, translate .8s ease;
  transition-delay: calc(var(--d, 0s) + 1.5s);
}
html.anim .photo[data-r].in figcaption { opacity: 1; translate: 0 0; }

/* list rows: the divider draws in, then the content */
html.anim [data-r="line"] {
  opacity: 1;
  translate: none;
  background-image: linear-gradient(var(--line-d), var(--line-d));
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 0 1px;
  transition: background-size 2s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
}
html.anim [data-r="line"].in { background-size: 100% 1px; }
html.anim [data-r="line"] > * {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 1.4s ease, translate 1.5s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--d, 0s) + .3s);
}
html.anim [data-r="line"].in > * { opacity: 1; translate: 0 0; }

/* gold numbers get a sheen when they come in */
@keyframes sheen {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
html.anim .in .num,
html.anim .num.in {
  background-size: 260% 100%;
  animation: sheen 3.6s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--d, 0s) + .4s);
}
html.anim .tl .num { animation: none; }
html.anim .tl .now .num { background-size: auto; }

/* icons pop in */
html.anim .ico.big,
html.anim .risk-head .ico,
html.anim .principles .tile,
html.anim .pillars .tile,
html.anim .stats .tile {
  scale: .6;
  opacity: 0;
  transition: scale 1s cubic-bezier(.34, 1.56, .64, 1), opacity .6s ease;
  transition-delay: calc(var(--d, 0s) + .25s);
}
html.anim .principles .tile,
html.anim .pillars .tile,
html.anim .stats .tile { transition-delay: calc(var(--d, 0s) + .2s); }
html.anim .in .ico.big,
html.anim .in .risk-head .ico,
html.anim .principles li.in .tile,
html.anim .pillars > div.in .tile,
html.anim .stats > div.in .tile { scale: 1; opacity: 1; }

/* survey plan draws itself */
html.anim .plot[data-r] { opacity: 1; translate: none; }
html.anim .plot-svg .edge,
html.anim .plot-svg .diag {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease-io);
}
html.anim .plot-svg .diag { transition-delay: 1s; }
html.anim .plot.in .plot-svg .edge,
html.anim .plot.in .plot-svg .diag { stroke-dashoffset: 0; }
html.anim .plot-svg .grid { opacity: 0; transition: opacity 1.6s ease 1.1s; }
html.anim .plot.in .plot-svg .grid { opacity: 1; }
html.anim .plot-img { clip-path: inset(100% 0 0 0); transition: clip-path 2.2s cubic-bezier(.77, 0, .18, 1) 1.2s; }
html.anim .plot.in .plot-img { clip-path: inset(0); }
html.anim .plot-c,
html.anim .tag-in,
html.anim .plot-sq::after { opacity: 0; transition: opacity 1.2s ease .9s; }
html.anim .plot.in .plot-c,
html.anim .plot.in .tag-in,
html.anim .plot.in .plot-sq::after { opacity: 1; }
html.anim .cm { opacity: 0; scale: .4; transition: opacity .8s ease, scale .9s var(--ease-out); }
html.anim .plot.in .cm { opacity: 1; scale: 1; }
html.anim .plot.in .cm.a { transition-delay: .1s; }
html.anim .plot.in .cm.b { transition-delay: .7s; }
html.anim .plot.in .cm.d { transition-delay: 1.3s; }
html.anim .plot.in .cm.c { transition-delay: 1.9s; }
html.anim .pl { opacity: 0; transition: opacity 1s ease; }
html.anim .plot.in .pl { opacity: 1; }
html.anim .plot.in .pl.t { transition-delay: 1.4s; }
html.anim .plot.in .pl.r { transition-delay: 1.6s; }
html.anim .plot.in .pl.btm { transition-delay: 1.8s; }
html.anim .plot.in .pl.l { transition-delay: 2s; }

/* distance diagram */
html.anim .radar[data-r] { opacity: 1; translate: none; }
html.anim .radar .rings circle {
  transform-box: fill-box;
  transform-origin: center;
  scale: 0;
  opacity: 0;
  transition: scale 1.4s var(--ease-out), opacity 1s ease;
  transition-delay: calc(.15s + (3 - var(--i)) * .18s);
}
html.anim .radar.in .rings circle { scale: 1; opacity: 1; }
html.anim .radar .leads path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s var(--ease-io);
  transition-delay: calc(.8s + var(--i) * .25s);
}
html.anim .radar.in .leads path { stroke-dashoffset: 0; }
html.anim .radar .pts g { opacity: 0; transition: opacity .8s ease; transition-delay: calc(1.5s + var(--i) * .25s); }
html.anim .radar.in .pts g { opacity: 1; }
html.anim .radar .rlab,
html.anim .radar figcaption { opacity: 0; transition: opacity 1s ease 1.2s; }
html.anim .radar.in .rlab,
html.anim .radar.in figcaption { opacity: 1; }

/* timeline */
html.anim .tl-track[data-r] { opacity: 1; translate: none; }
html.anim .tl-track::after { transform: scaleX(0); transition: transform 3.2s var(--ease-io) .3s; }
html.anim .tl-track.in::after { transform: scaleX(1); }
html.anim .tl-track::before { clip-path: inset(0 0 0 100%); transition: clip-path 2.6s var(--ease-io); }
html.anim .tl-track.in::before { clip-path: inset(0); }
html.anim .tl .dot {
  scale: 0;
  transition: scale .7s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--d, 0s) + .5s);
}
html.anim .tl .in .dot { scale: 1; }

/* value ruler */
html.anim .vruler[data-r] { opacity: 1; translate: none; }
html.anim .vr-track i { transform: scaleX(0); transition: transform 1.5s var(--ease-io) .3s; }
html.anim .vr-track .plus { transition: transform 1.7s var(--ease-io) 1.9s; }
html.anim .vruler.in .vr-track i { transform: scaleX(1); }
html.anim .vr-track em { opacity: 0; transition: opacity .8s ease 3.3s; }
html.anim .vruler.in .vr-track em { opacity: 1; }

/* price columns */
html.anim .rng[data-r] { opacity: 1; translate: none; }
html.anim .price-bar i { transform: scaleY(0); transition: transform 1.4s var(--ease-io); }
html.anim .rng.in .price-bar i { transform: scaleY(1); }
html.anim .rng.in .price-col:nth-child(2) .price-bar i { transition-delay: .2s; }
html.anim .rng.in .price-col:nth-child(3) .price-bar i { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  .top .btn,
  .top .btn::after { animation: none; }
}


/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .status,
  .stats { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 17px; }

  .why,
  .after,
  .feat,
  .prices,
  .cta .wrap { grid-template-columns: minmax(0, 1fr); }

  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding-bottom: 16px; }

  .plot { padding: 44px 40px; }
  .plot-sq::after { inset: -20px 0 auto; height: 9px; }
  .pl { gap: 5px; font-size: 11px; }

  .panels { flex-direction: column; height: 620px; gap: 10px; }
  .panel-v { bottom: auto; top: 50%; left: auto; inset-inline-start: 24px; translate: 0 -50%; writing-mode: horizontal-tb; rotate: none; font-size: 22px; }
  .panel-body { inset-inline: 22px; bottom: 24px; }

  .radar { width: 100%; max-width: 440px; margin-inline: auto; }
  .radar .pts .n { font-size: 24px; }
  .radar .pts .d { font-size: 22px; }
  .radar .core text { font-size: 22px; }
  .radar .rlab text { font-size: 18px; }

  .trio,
  .docs,
  .risks { grid-template-columns: 1fr; }

  /* timeline turns vertical */
  .timeline { margin-top: 40px; }
  .tl { grid-template-columns: 1fr; }
  .tl li { padding-inline: 52px 0; padding-bottom: 40px; }
  .tl-track {
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 30px;
    height: auto;
    margin: 0;
  }
  .tl-track::before {
    background:
      linear-gradient(to bottom, rgba(216, 212, 203, .3) 0 1px, transparent 1px) right top var(--off, 0px) / 10px var(--tick, 24px) repeat-y,
      linear-gradient(rgba(216, 212, 203, .2), rgba(216, 212, 203, .2)) right top / 1px 100% no-repeat;
    -webkit-mask: linear-gradient(to bottom, #000 85%, transparent);
    mask: linear-gradient(to bottom, #000 85%, transparent);
  }
  .tl-track::after {
    inset-inline: auto 0;
    inset-block: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, #c1af95, #ae997f 55%, #8d7961 85%, rgba(141, 121, 97, 0));
    transform-origin: center top;
  }
  .seg {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 30px;
    height: auto;
    margin: 0;
  }
  .seg::before {
    top: 12px;
    bottom: auto;
    left: 0;
    right: auto;
    width: 24px;
    height: 2px;
    background: linear-gradient(to right, #c1af95, rgba(193, 175, 149, .15));
  }
  .now .seg::before { width: 30px; height: 2px; }
  .dot { top: 6px; bottom: auto; left: -7px; right: auto; }
  .seg .cap-l { top: 2px; inset-inline-start: 52px; }
  .tl .num { margin-top: 30px; font-size: 44px; }
  .tl-note { margin-top: 0; padding-inline-start: 52px; }

  html.anim .tl-track::after { transform: scaleY(0); }
  html.anim .tl-track.in::after { transform: scaleY(1); }
  html.anim .tl-track::before { clip-path: inset(0 0 100% 0); }

  .feature .wide { aspect-ratio: 4 / 3; }

  .quotes { grid-template-columns: 1fr; }
  .quotes figure.big { grid-column: auto; }

  .vr-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "l n" "t t";
    row-gap: 10px;
  }
  .vr-l { grid-area: l; }
  .vr-row .num { grid-area: n; }
  .vr-track { grid-area: t; }
  .vr-scale { margin-inline: 0; }

  .hero .facts { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 11, 11, .7) 0%, rgba(11, 11, 11, .55) 40%, rgba(11, 11, 11, .92) 100%); }
}

@media (max-width: 760px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-photo { aspect-ratio: 4 / 3; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .popup { place-items: end center; padding: 0; }
  .popup-box {
    grid-template-columns: 1fr;
    max-height: 92dvh;
    border-radius: var(--r) var(--r) 0 0;
    translate: 0 100%;
    scale: 1;
  }
  .popup-side { min-height: 0; padding: 22px 20px; }
  .popup-side h3 { margin-top: 18px; font-size: 22px; }
  .popup-side p { display: none; }
  .popup-close { color: #fff; background: rgba(255, 255, 255, .16); }
}

@media (max-width: 560px) {
  .top .wrap { height: 76px; }
  .top .logo img { height: 58px; }
  .top .btn { padding: 9px 16px; font-size: 14px; }

  .hero .wrap { padding-bottom: 40px; }
  .hero .row p { font-size: 17px; }

  .status { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .num { font-size: 27px; }

  .foot .cols { grid-template-columns: 1fr; }
}


/* =====================================================================
   Site components (beyond the landing page)
   ===================================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--green); }

/* sections glued to the one before them share its padding */
section.flush { display: flow-root; padding-top: 0; }
section:has(+ section.flush) { padding-bottom: 0; }

/* the fixed header needs room when a page does not open with a photo */
.site-main > section:first-child:not(.hero):not(.page-hero) { padding-top: calc(92px + clamp(48px, 6vw, 88px)); }

.wrap.narrow { max-width: 900px; }
.h3 { font-size: clamp(20px, 1.7vw, 24px); }

/* single-column variants when one side of a two-column block is empty */
.after.solo,
.feat.solo,
.prices.solo,
.about.solo,
.split.solo { grid-template-columns: minmax(0, 1fr); }

.empty { padding: 40px 0; font-size: 18px; color: var(--mute-d); }
.light .empty { color: var(--mute-l); }
.empty .btn { margin-top: 20px; }

/* ---------- header: site menu ---------- */

.nav .menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav li { position: relative; }
.nav .menu > li > a { white-space: nowrap; }
@media (max-width: 1240px) { .nav .menu { gap: 20px; } }
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a { color: var(--gold); }
.nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-start: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  rotate: 45deg;
  translate: 0 -3px;
}
.nav .sub-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: -18px;
  display: grid;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  border-radius: 14px;
  background: rgba(20, 19, 17, .96);
  box-shadow: var(--edge-d), var(--lift-d);
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity .25s ease, translate .3s ease, visibility .25s;
}
.nav .sub-menu a { display: block; padding: 8px 18px; }
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; translate: 0 4px; }
.nav .nav-home a { color: var(--mute-d); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}
.menu-btn span { display: block; height: 1.5px; background: var(--white); transition: rotate .3s ease, translate .3s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { translate: 0 6.5px; rotate: 45deg; }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { translate: 0 -6.5px; rotate: -45deg; }

/* ---------- inner page opener ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: calc(92px + clamp(48px, 7vw, 110px)) clamp(48px, 6vw, 88px);
}
.page-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero:has(> img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(270deg, rgba(11, 11, 11, .55), transparent 70%),
    linear-gradient(180deg, rgba(11, 11, 11, .7), rgba(11, 11, 11, .55) 45%, rgba(11, 11, 11, .9));
}
.page-hero:not(:has(> img)) { background: radial-gradient(ellipse 70% 90% at 90% 0%, rgba(var(--accent-rgb), .45), transparent 70%); }
.page-hero h1 {
  max-width: 18ch;
  margin-top: 16px;
  font-size: clamp(40px, 6vw, 88px);
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* once the words are split for their entrance, each word carries the gradient itself:
   Chrome doesn't paint a parent's clipped-text background through moving children */
.page-hero h1:has(.w) { background: none; }
.page-hero h1 .w > i {
  padding-bottom: .08em;
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .lede { margin-top: 20px; color: var(--white-2); }
.page-hero .btn { margin-top: 30px; }
.page-hero .search-form { margin-top: 24px; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--mute-d);
}
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- rich text ---------- */

.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(26px, 2.6vw, 36px); }
.prose h3 { margin-top: 1.4em; }
.prose ul,
.prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.light .prose a { color: var(--green); }
.prose img { height: auto; border-radius: 14px; }
.prose blockquote {
  margin-inline: 0;
  padding-inline-start: 22px;
  border-inline-start: 3px solid var(--gold);
  font-size: 1.1em;
  font-weight: 500;
}
.prose table { width: 100%; border-collapse: collapse; }
.prose td,
.prose th { padding: 10px; border-bottom: 1px solid var(--line-l); text-align: start; }
.light .prose { color: #2a2724; }
h2 + .prose { margin-top: 24px; }
.prose + .btn { margin-top: 28px; }

/* ---------- text + photo ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.split > * { min-width: 0; }
.split.rev .split-photo { order: 2; }
.split-photo { aspect-ratio: 4 / 3; }
.split h2 { margin-bottom: 22px; }
.split .btn { margin-top: 28px; }

.checks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-inline-start: 32px; }
.checks li::before {
  content: "";
  position: absolute;
  top: .35em;
  inset-inline-start: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--metal);
}
.checks li::after {
  content: "";
  position: absolute;
  top: calc(.35em + 5px);
  inset-inline-start: 5px;
  width: 8px;
  height: 5px;
  border: solid var(--black);
  border-width: 0 0 1.5px 1.5px;
  rotate: -45deg;
}

/* ---------- cards ---------- */

.cards-lede { margin-top: 18px; }
.cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  border-radius: var(--r);
  color: inherit;
  text-decoration: none;
  transition: box-shadow .5s ease, translate .5s var(--ease-out);
}
a.card:hover { translate: 0 -4px; }
.card h3 { margin: 0; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; }
.card-text { flex: 1; font-size: 16px; color: var(--mute-d); }
.light .card-text { color: var(--mute-l); }
.card .link { align-self: flex-start; margin-top: 6px; }
.card .ico.big { margin-bottom: 0; }

.c-plain .card { background: var(--pearl); color: var(--black); box-shadow: var(--lift-l); }
.c-plain .card .card-text { color: var(--mute-l); }
.c-dark .card,
.c-number .card { background: var(--graphite); color: var(--white); box-shadow: var(--edge-d), var(--lift-d); }
.c-dark .card .card-text,
.c-number .card .card-text { color: var(--mute-d); }
.light .c-number .card { background: var(--pearl); color: var(--black); box-shadow: var(--lift-l); }
.light .c-number .card .card-text { color: var(--mute-l); }
.card-n { font-size: 56px; color: transparent; -webkit-text-stroke: 1px var(--gold); }

.c-image .card { padding: 0; overflow: hidden; background: var(--graphite); color: var(--white); box-shadow: var(--edge-d), var(--lift-d); }
.c-image .card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.c-image .card-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.c-image a.card:hover .card-img img { scale: 1.05; }
.c-image .card-body { padding: 24px 26px 28px; }
.c-image .card-text { color: var(--mute-d); }
.c-image h3 { font-size: clamp(24px, 2.2vw, 30px); }

/* ---------- item cards (lands, projects, knowledge, events) ---------- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r);
  color: var(--white);
  background: var(--graphite);
  box-shadow: var(--edge-d), var(--lift-d);
  transition: box-shadow .5s ease, translate .5s var(--ease-out);
}
.light .pcard { color: var(--black); background: var(--pearl); box-shadow: var(--lift-l); }
.pcard:hover { translate: 0 -4px; }
.pcard-img { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--black-3); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.pcard:hover .pcard-img img { scale: 1.05; }
.pcard-ph { display: block; width: 100%; height: 100%; background: url(../img/emblem.png) center / 40% no-repeat, var(--graphite); opacity: .5; }
.badges { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: rgba(20, 20, 20, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.badge.is-new,
.badge.is-featured { color: var(--black); background: var(--metal); box-shadow: none; }
.badge.is-soon { background: linear-gradient(180deg, color-mix(in srgb, var(--green), #fff 8%), var(--green)); }
.badge.is-closed { color: var(--white-2); background: rgba(60, 60, 60, .8); }
.pcard-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.pcard h3 { font-size: clamp(22px, 2vw, 28px); }
.pcard h3 a { text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard-loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gold); }
.light .pcard-loc { color: var(--gold-ink); }
.pcard-loc .ico { width: 16px; height: 16px; }
.pcard-body p { font-size: 15px; color: var(--mute-d); }
.light .pcard-body p { color: var(--mute-l); }
.pcard-key {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-d);
}
.light .pcard-key { border-color: var(--line-l); }
.pcard-key b { display: block; font-size: 26px; font-weight: 800; }
.pcard-key span { font-size: 13px; color: var(--mute-d); }
.light .pcard-key span { color: var(--mute-l); }
.light .pcard-key .metal { background: var(--metal-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard .pcard-meta { margin-top: auto; font-size: 13px; }

/* ---------- archive filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r);
  background: var(--pearl);
  box-shadow: var(--lift-l);
}
.filters label { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1 1 160px; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mute-l); }
.filters .f-search { flex: 2 1 220px; }
.filters select,
.filters input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(11, 11, 11, .12);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  color: var(--black);
  background: #fff;
}
.f-actions { display: flex; align-items: center; gap: 16px; }
.count { margin-top: 28px; font-size: 14px; color: var(--mute-l); }
.count + .grid-cards { margin-top: 14px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line-l);
}
.pagination .current { color: var(--white); background: var(--green); box-shadow: none; }

/* ---------- FAQ ---------- */

.faq { margin-top: 36px; border-top: 1px solid var(--line-d); }
.light .faq { border-color: var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-d); }
.light .faq details { border-color: var(--line-l); }
.faq summary {
  position: relative;
  padding: 22px 0;
  padding-inline-end: 44px;
  font-family: var(--f-title);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 6px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat;
  box-shadow: inset 0 0 0 1px currentColor;
  transition: rotate .3s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq .prose { padding-bottom: 24px; font-size: 17px; color: var(--mute-d); }
.light .faq .prose { color: var(--mute-l); }

/* ---------- comparison table ---------- */

.table-wrap { margin-top: 36px; overflow-x: auto; border-radius: var(--r); background: var(--pearl); box-shadow: var(--lift-l); }
.s-table:not(.light) .table-wrap { background: var(--graphite); box-shadow: var(--edge-d); }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.cmp th,
.cmp td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line-l); }
.s-table:not(.light) .cmp th,
.s-table:not(.light) .cmp td { border-color: var(--line-d); }
.cmp thead th { font-size: 13px; letter-spacing: .04em; color: var(--gold-ink); }
.cmp tbody tr:last-child > * { border-bottom: 0; }

/* ---------- team ---------- */

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.team-photo { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.team .role { margin: 4px 0 10px; font-size: 14px; color: var(--gold-ink); }
.team p { font-size: 15px; color: var(--mute-l); }

/* ---------- gallery + lightbox ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.g-item { display: block; aspect-ratio: 4 / 3; cursor: zoom-in; }
.g-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item img { transition: scale 1.2s var(--ease-out); }
.g-item:hover img { scale: 1.04; }
.g-cap {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--white);
  background: rgba(20, 20, 20, .55);
}
.lb {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 7, 6, .92);
}
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: calc(100dvh - 120px); border-radius: 12px; }
.lb p { margin-top: 12px; text-align: center; color: var(--white-2); }
.lb button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
}
.lb .lb-x { top: 16px; inset-inline-end: 16px; }
.lb .lb-prev { inset-inline-start: 16px; top: 50%; }
.lb .lb-next { inset-inline-end: 16px; top: 50%; }

/* ---------- video and map ---------- */

.video-box { margin: 40px 0 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--black-3); }
.video-frame iframe,
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame audio { position: absolute; inset: auto 20px 20px; width: calc(100% - 40px); }
.video-box figcaption { margin-top: 12px; font-size: 14px; color: var(--mute-d); }

.map-sec { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.map-sec > * { min-width: 0; }
.map-sec .lede { margin-block: 18px 20px; }
.map-frame { aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- contact, questionnaire ---------- */

.contact-sec,
.match-sec { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(32px, 5vw, 80px); }
.contact-sec > *,
.match-sec > * { min-width: 0; }
.contact-sec .lede,
.match-sec .lede { margin-top: 18px; }
.contact-list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; font-size: 12px; color: var(--mute-l); }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-sec .map-frame { margin-top: 32px; }
.light .lead-form { box-shadow: var(--lift-l), 0 0 0 1px rgba(11, 11, 11, .05); }

.lead-form textarea {
  padding: 13px 14px;
  border: 1px solid rgba(11, 11, 11, .1);
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  color: var(--black);
  background: #fff;
  resize: vertical;
}
.lead-form textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.lead-form .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .f-checks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; border: 0; }
.lead-form .f-checks legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; color: var(--mute-l); }
.lead-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead-form { position: relative; }
.lead-form .form-msg:empty { display: none; }
.lead-form .form-msg { font-size: 14px; font-weight: 700; color: #a3352a; }
.lead-form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- knowledge item, event ---------- */

.article-meta,
.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--white-2);
}
.article-meta > * + *::before { content: "·"; margin-inline-end: 22px; color: var(--gold); }
.event-facts li { display: flex; align-items: center; gap: 8px; }
.event-facts .ico { width: 20px; height: 20px; color: var(--gold); }
.event-facts + .btn { margin-top: 28px; }
.article-media { margin-bottom: 40px; }

.files { margin-top: 48px; padding: 26px; border-radius: var(--r); background: var(--pearl); box-shadow: var(--lift-l); }
.files ul { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.files li { display: flex; align-items: center; gap: 10px; }
.files .ico { width: 20px; height: 20px; color: var(--gold-ink); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: 15px; }
.share span { font-weight: 700; }
.share a,
.share button { padding: 0; border: 0; font: inherit; color: var(--green); background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.event-body { display: grid; grid-template-columns: 1fr 320px; align-items: start; gap: clamp(32px, 5vw, 72px); }
.event-body > * { min-width: 0; }
.speakers { padding: 26px; border-radius: var(--r); background: var(--pearl); box-shadow: var(--lift-l); }
.speakers ul { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.speakers b { display: block; }
.speakers span { font-size: 14px; color: var(--mute-l); }

.facts-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; }
.facts-list div { padding: 22px; border-radius: var(--r); background: var(--pearl); box-shadow: var(--lift-l); }
.facts-list dt { font-size: 13px; color: var(--gold-ink); }
.facts-list dd { margin: 6px 0 0; font-size: 20px; font-weight: 700; }

.p404 .row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input { flex: 1; padding: 12px 16px; border: 0; border-radius: 999px; font: inherit; }

/* ---------- footer additions ---------- */

.foot .menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--white-2); }
.foot .menu a { text-decoration: none; }
.foot .menu a:hover { color: var(--gold); }
.foot .social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 14px; }
.foot .social a { color: var(--gold); text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 16px; }
.foot-bottom .copy { margin: 0; }
.foot-bottom .legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--mute-d); }
.foot-bottom .legal a { text-decoration: none; }
.foot-bottom .legal a:hover { color: var(--gold); }

/* ---------- WhatsApp ---------- */

.wa-float {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  transition: scale .3s ease;
}
.wa-float:hover { scale: 1.06; }
.wa-float svg { width: 30px; height: 30px; }
body.no-scroll .wa-float { display: none; }

/* ---------- site responsive ---------- */

@media (max-width: 1060px) {
  .menu-btn { display: flex; }
  .top .btn { margin-inline-start: auto; }
  .nav {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: -1;
    display: block;
    max-height: 100dvh;
    overflow: auto;
    padding: 100px clamp(16px, 4vw, 48px) 32px;
    background: rgba(11, 11, 11, .97);
    opacity: 0;
    visibility: hidden;
    translate: 0 -12px;
    transition: opacity .3s ease, translate .4s var(--ease-out), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; translate: 0 0; }
  .nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .menu > li { border-bottom: 1px solid var(--line-d); }
  .nav .menu a { display: block; padding: 14px 0; font-size: 20px; }
  .nav .sub-menu { position: static; min-width: 0; padding: 0 0 10px; background: none; box-shadow: none; opacity: 1; visibility: visible; translate: none; }
  .nav .sub-menu a { padding: 8px 16px; font-size: 16px; color: var(--white-2); }
  .nav .menu-item-has-children > a::after { display: none; }

  .grid-cards,
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event-body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .split,
  .map-sec,
  .contact-sec,
  .match-sec { grid-template-columns: minmax(0, 1fr); }
  .split.rev .split-photo { order: 0; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .tl { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wa-float { bottom: 14px; inset-inline-start: 14px; width: 50px; height: 50px; }
}

@media (max-width: 560px) {
  .grid-cards,
  .gallery,
  .cards { grid-template-columns: minmax(0, 1fr); }
  .g-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .lead-form .f-row { grid-template-columns: minmax(0, 1fr); }
  .status { grid-template-columns: 1fr; }
  .filters { padding: 16px; gap: 12px; }
  .filters label { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .filters .f-search { flex-basis: 100%; }
  .menu-btn { width: 40px; height: 40px; padding: 0 10px; }
  .top .btn { padding: 9px 13px; }
}

/* umbrella logo (+N72 alone, no tagline) sits smaller than the area logos */
.top .logo img.logo-umbrella { height: 46px; }
.top.scrolled .logo img.logo-umbrella { height: 38px; }
.foot .logo.logo-umbrella { height: 60px; }
@media (max-width: 560px) { .top .logo img.logo-umbrella { height: 34px; } }

/* ---------- three ways to invest: accordion of areas ---------- */

.domains .wrap + .dom { margin-top: clamp(32px, 4vw, 56px); }
.dom-lede { margin-top: 18px; }
.dom {
  --open: 4.6;
  display: flex;
  gap: 10px;
  max-width: 1640px;
  height: clamp(560px, 80vh, 780px);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.4vw, 40px);
}
.dom-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(var(--accent-rgb), .95), transparent 62%),
    radial-gradient(90% 70% at 10% 100%, rgba(var(--accent-rgb), .55), transparent 70%),
    linear-gradient(170deg, color-mix(in srgb, var(--green), #000 55%), #0b0b0b 80%);
  box-shadow: var(--edge-d), var(--lift-d);
  cursor: pointer;
  transition: flex-grow 1.15s var(--ease-out), box-shadow .6s ease;
}
.dom-panel.is-open { flex-grow: var(--open); cursor: default; box-shadow: var(--edge-d), 0 40px 90px -40px rgba(var(--accent-rgb), .9); }
.dom-panel::after {
  /* dark veil over the closed panels, lifted on the open one */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(11, 11, 11, .7), rgba(11, 11, 11, .1) 55%, rgba(11, 11, 11, .35));
  transition: opacity .9s ease;
}
.dom-panel.is-open::after { opacity: .7; background: linear-gradient(270deg, rgba(11, 11, 11, .82), rgba(11, 11, 11, .2) 70%); }

.dom-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .7; transition: opacity 1s ease; }
.dom-panel.is-open .dom-art { opacity: 1; }

/* the area's word, cut by the panel edge until it opens */
.dom-word {
  position: absolute;
  bottom: -.16em;
  left: -.04em;
  z-index: 1;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(110px, 15vw, 290px);
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(193, 175, 149, .32);
  pointer-events: none;
  translate: -35% 0;
  transition: translate 1.4s var(--ease-out), letter-spacing 1.4s var(--ease-out), -webkit-text-stroke-color .8s ease;
}
.dom-panel.is-open .dom-word { translate: 0 0; letter-spacing: .08em; -webkit-text-stroke-color: rgba(193, 175, 149, .55); }

/* circle of the area's color spreading from where the panel was chosen */
.dom-flood {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), color-mix(in srgb, var(--green), #fff 18%), rgba(var(--accent-rgb), .6) 40%, transparent 70%);
  opacity: 0;
  clip-path: circle(0 at var(--fx, 50%) var(--fy, 50%));
}
.dom-panel.flood .dom-flood { animation: domFlood 1.25s var(--ease-out) forwards; }
@keyframes domFlood {
  0% { opacity: .95; clip-path: circle(0 at var(--fx, 50%) var(--fy, 50%)); }
  55% { opacity: .55; }
  100% { opacity: 0; clip-path: circle(140% at var(--fx, 50%) var(--fy, 50%)); }
}

/* a line of gold light crossing the panel as it opens */
.dom-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--gold) 30%, #fff 50%, var(--gold) 70%, transparent);
  box-shadow: 0 0 24px 4px rgba(193, 175, 149, .55);
  opacity: 0;
}
.dom-panel.flood .dom-seam { animation: domSeam 1.3s var(--ease-io) .1s forwards; }
@keyframes domSeam {
  0% { opacity: 0; right: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; right: calc(100% - 2px); }
}

.dom-tab { position: static; margin: 0; font: inherit; }
.dom-tab button {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 34px 0 30px;
  border: 0;
  border-radius: inherit;
  font: inherit;
  color: var(--white);
  background: none;
  cursor: pointer;
}
.dom-tab-title {
  writing-mode: vertical-rl;
  font-family: var(--f-title);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: opacity .4s ease;
}
.dom-tab-plus {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(246, 244, 240, .1);
  box-shadow: inset 0 0 0 1px rgba(246, 244, 240, .22);
  transition: rotate .8s var(--ease-out), background .4s ease, opacity .4s ease;
}
.dom-tab-plus::before,
.dom-tab-plus::after { content: ""; position: absolute; width: 16px; height: 1.5px; background: var(--white); }
.dom-tab-plus::after { rotate: 90deg; }
.dom-panel:not(.is-open):hover .dom-tab-plus { rotate: 90deg; background: rgba(var(--accent-rgb), .9); }
.dom-tab button:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
.dom-panel.is-open .dom-tab button { inset: 0 0 auto; height: 0; padding: 0; overflow: hidden; pointer-events: none; }
.dom-panel.is-open .dom-tab-title,
.dom-panel.is-open .dom-tab-plus { opacity: 0; }

.dom-body {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  width: min(520px, 100%);
  padding: clamp(28px, 3.4vw, 56px);
  visibility: hidden;
}
.dom-body > * { opacity: 0; translate: 0 26px; filter: blur(8px); transition: opacity .5s ease, translate .8s var(--ease-out), filter .6s ease; }
.dom-panel.is-open .dom-body { visibility: visible; }
.dom-panel.is-open .dom-body > * { opacity: 1; translate: 0 0; filter: none; }
.dom-panel.is-open .dom-body > :nth-child(1) { transition-delay: .35s; }
.dom-panel.is-open .dom-body > :nth-child(2) { transition-delay: .45s; }
.dom-panel.is-open .dom-body > :nth-child(3) { transition-delay: .55s; }
.dom-panel.is-open .dom-body > :nth-child(4) { transition-delay: .65s; }
.dom-panel.is-open .dom-body > :nth-child(5) { transition-delay: .75s; }
.dom-logo { width: auto; max-width: 300px; height: auto; max-height: 120px; margin-bottom: 8px; object-fit: contain; object-position: right; }
.dom-tagline { font-family: var(--f-title); font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.dom-text { max-width: 44ch; font-size: 17px; line-height: 1.65; color: var(--white-2); }
.dom-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dom-points li { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--white); background: rgba(246, 244, 240, .08); box-shadow: inset 0 0 0 1px rgba(246, 244, 240, .16); backdrop-filter: blur(6px); }
.dom-btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 860px) {
  .dom { flex-direction: column; height: auto; }
  .dom-panel { flex: none; height: 104px; border-radius: 22px; transition: height 1s var(--ease-out), box-shadow .6s ease; }
  .dom-panel.is-open { height: min(600px, 86svh); }
  .dom-tab button { flex-direction: row; padding: 0 24px; }
  .dom-tab-title { writing-mode: horizontal-tb; }
  .dom-word { font-size: clamp(90px, 30vw, 160px); translate: 0 30%; }
  .dom-panel.is-open .dom-word { translate: 0 0; }
  .dom-panel.is-open::after { background: linear-gradient(0deg, rgba(11, 11, 11, .9), rgba(11, 11, 11, .25) 75%); }
  .dom-body { left: 0; width: auto; padding: 26px 22px 30px; }
  .dom-logo { max-width: 220px; max-height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .dom-panel, .dom-word, .dom-body > *, .dom-art { transition-duration: .01s !important; transition-delay: 0s !important; }
  .dom-panel.flood .dom-flood, .dom-panel.flood .dom-seam { animation: none; }
}

/* three equal panels at rest; photos that take turns behind the drawing */
.dom-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.dom-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.12;
  transition: opacity 1.8s ease, scale 9s linear;
}
.dom-bg img.on { opacity: 1; scale: 1; }
.dom-bg::after {
  /* the area's color laid over its photos */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .55), rgba(var(--accent-rgb), .3) 45%, rgba(11, 11, 11, .55));
  mix-blend-mode: multiply;
}
.dom-panel.has-bg .dom-art { z-index: 2; opacity: .85; }
.dom-panel.has-bg.is-open .dom-art { opacity: 1; }
.dom-panel.has-bg::after { background: linear-gradient(0deg, rgba(11, 11, 11, .78), rgba(11, 11, 11, .05) 55%, rgba(11, 11, 11, .3)); }
.dom-panel.has-bg.is-open::after { opacity: 1; background: linear-gradient(270deg, rgba(11, 11, 11, .86), rgba(11, 11, 11, .35) 55%, rgba(11, 11, 11, .05)); }

.dom-face { display: none; }
.dom:not(.has-open) .dom-tab button { justify-content: flex-end; align-items: stretch; padding: clamp(28px, 3vw, 44px); }
.dom:not(.has-open) .dom-tab-title,
.dom:not(.has-open) .dom-tab-plus { display: none; }
.dom:not(.has-open) .dom-face {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: start;
  animation: domFace .9s var(--ease-out) both;
}
@keyframes domFace { from { opacity: 0; translate: 0 18px; } }
.dom-face img { width: auto; max-width: 78%; height: clamp(54px, 5.4vw, 84px); margin-bottom: 10px; object-fit: contain; object-position: right; }
.dom-face-title { font-family: var(--f-title); font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.1; }
.dom-face-tag { font-size: 16px; line-height: 1.5; color: var(--white-2); }
.dom-face::after {
  /* a short line in the area's color that stretches on hover */
  content: "";
  width: 44px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--gold), var(--hl));
  transition: width .8s var(--ease-out);
}
.dom-panel:hover .dom-face::after { width: 120px; }
.dom:not(.has-open) .dom-word { -webkit-text-stroke-color: rgba(214, 196, 166, .4); translate: -20% 0; }

.dom-close {
  position: absolute;
  top: clamp(22px, 2.6vw, 40px);
  inset-inline-start: clamp(28px, 3.4vw, 56px);
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 244, 240, .1);
  box-shadow: inset 0 0 0 1px rgba(246, 244, 240, .25);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background .3s ease, rotate .6s var(--ease-out);
}
.dom-close::before,
.dom-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 1.5px; background: var(--white); translate: -50% -50%; rotate: 45deg; }
.dom-close::after { rotate: -45deg; }
.dom-close:hover { background: rgba(var(--accent-rgb), .9); rotate: 90deg; }
.dom-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 860px) {
  .dom:not(.has-open) .dom-panel { height: 236px; }
  .dom:not(.has-open) .dom-tab button { padding: 24px 22px; }
  .dom-face img { height: 50px; margin-bottom: 4px; }
  .dom-face-tag { font-size: 15px; }
  .dom-panel.has-bg.is-open::after { background: linear-gradient(0deg, rgba(11, 11, 11, .92), rgba(11, 11, 11, .45) 65%, rgba(11, 11, 11, .2)); }
  .dom-close { top: 20px; inset-inline-start: auto; inset-inline-end: 20px; }
  .dom-body { justify-content: flex-end; }
}

/* ---------- process: one screen per step ---------- */

.jr-media, .jr-hint, .jr-track { display: none; }
.jr-head { max-width: 900px; }
.jr-lede { margin-top: 18px; }
.jr-ruler {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.jr-mark button {
  display: grid;
  justify-items: start;
  gap: 6px;
  width: 100%;
  padding: 0;
  padding-inline-end: 22px;
  border: 0;
  font: inherit;
  text-align: start;
  color: inherit;
  background: none;
  cursor: pointer;
}
.jr-mark button:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 6px; }
.jr-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 15px;
  height: 15px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: inset 0 0 0 1.5px var(--gold);
  transition: background .5s ease, box-shadow .5s ease, scale .6s var(--ease-out);
}
.jr-num { font-family: var(--f-title); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.jr-name { font-family: var(--f-title); font-size: clamp(19px, 1.7vw, 25px); font-weight: 700; line-height: 1.2; transition: opacity .5s ease, color .5s ease; }
.jr-short { max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--mute-d); }

/* without the script: the steps one under the other */
.jr-steps .wrap { display: grid; gap: clamp(48px, 6vw, 88px); margin-top: clamp(48px, 6vw, 88px); }
.jr-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.jr-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); object-fit: cover; }
.jr-count { font-size: 13px; letter-spacing: .14em; color: var(--gold); }
.jr-count b { color: var(--white); }
.jr-copy h3 { margin-block: 12px 16px; font-size: clamp(30px, 3.3vw, 50px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.jr-lead { margin: 0 0 16px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--white); text-wrap: pretty; }
.jr-text { max-width: 64ch; margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: var(--white-2); text-wrap: pretty; }
.jr-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.jr-points li { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--white); background: rgba(246, 244, 240, .08); box-shadow: inset 0 0 0 1px rgba(246, 244, 240, .16); backdrop-filter: blur(6px); }

/* with the script: the section pins to the screen */
.s-journey:has(.jr.is-live) { padding-block: 0; }
.jr.is-live { height: calc(var(--n) * 100svh + 160svh); }
.jr.is-live .jr-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.jr.is-live .jr-media { display: block; position: absolute; inset: 0; z-index: -1; background: var(--graphite); }
.jr-img {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  clip-path: inset(100% 0 0 0);
  scale: 1.14;
  transition: clip-path 1.25s var(--ease-io), scale 2.6s var(--ease-out);
}
.jr-img.is-on,
.jr-img.is-past { clip-path: inset(0); scale: 1; }
.jr-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, .9) 0%, rgba(11, 11, 11, .55) 30%, rgba(11, 11, 11, 0) 55%),
    linear-gradient(270deg, rgba(11, 11, 11, .94) 0%, rgba(11, 11, 11, .8) 42%, rgba(11, 11, 11, .2) 82%);
}

.jr.is-live .jr-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  padding-top: clamp(96px, 13svh, 128px);
  transition: translate 1.1s var(--ease-io);
}
.jr.is-live.is-intro .jr-top { translate: 0 calc(50svh - 50% - 8px); }
.jr.is-live .jr-head h2 { transition: font-size 1s var(--ease-io); }
.jr.is-live:not(.is-intro) .jr-head h2 { font-size: clamp(26px, 2.3vw, 36px); }
.jr.is-live .jr-lede,
.jr.is-live .jr-short { max-height: 8em; overflow: hidden; transition: opacity .5s ease, max-height .9s var(--ease-io), margin .9s var(--ease-io); }
.jr.is-live:not(.is-intro) .jr-lede,
.jr.is-live:not(.is-intro) .jr-short { max-height: 0; margin-top: 0; opacity: 0; }
.jr.is-live .jr-ruler { transition: margin .9s var(--ease-io); }
.jr.is-live:not(.is-intro) .jr-ruler { margin-top: 26px; }
.jr.is-live .jr-track {
  display: block;
  position: absolute;
  top: 7px;
  inset-inline-start: 7px;
  width: calc(100% * (var(--n) - 1) / var(--n));
  height: 1px;
  background: rgba(246, 244, 240, .2);
}
.jr-fill {
  position: absolute;
  inset: -1px 0;
  background: linear-gradient(270deg, var(--gold), #fff);
  box-shadow: 0 0 14px rgba(214, 196, 166, .8);
  transform: scaleX(var(--p, 0));
  transform-origin: right;
}
.jr.is-live:not(.is-intro) .jr-mark:not(.is-done) .jr-name { opacity: .5; }
.jr-mark.is-done .jr-dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(193, 175, 149, .18); }
.jr-mark.is-on .jr-dot { scale: 1.35; box-shadow: 0 0 0 6px rgba(193, 175, 149, .22), 0 0 22px rgba(214, 196, 166, .9); }
.jr.is-live .jr-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 0;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--mute-d);
  transition: opacity .5s ease;
}
.jr-hint span { position: relative; width: 1px; height: 38px; overflow: hidden; background: rgba(246, 244, 240, .2); }
.jr-hint span::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: jrHint 1.8s var(--ease-io) infinite; }
@keyframes jrHint { from { translate: 0 -100%; } to { translate: 0 100%; } }
.jr.is-live:not(.is-intro) .jr-hint { opacity: 0; }

.jr.is-live .jr-steps { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.jr.is-live .jr-steps .wrap { position: relative; display: block; height: 100%; margin-top: 0; }
.jr.is-live .jr-step { position: absolute; inset: auto 0 clamp(28px, 7svh, 84px); display: block; padding-inline: inherit; }
.jr.is-live .jr-step.is-on { pointer-events: auto; }
.jr.is-live .jr-photo { display: none; }
.jr.is-live .jr-copy { max-width: 660px; }
.jr.is-live .jr-copy > * { opacity: 0; translate: 0 44px; filter: blur(8px); transition: opacity .45s ease, translate .9s var(--ease-out), filter .5s ease; }
.jr.is-live .jr-step.is-past .jr-copy > * { translate: 0 -44px; }
.jr.is-live .jr-step.is-on .jr-copy > * { opacity: 1; translate: 0 0; filter: none; }
.jr.is-live .jr-step.is-on .jr-copy > :nth-child(1) { transition-delay: .25s; }
.jr.is-live .jr-step.is-on .jr-copy > :nth-child(2) { transition-delay: .32s; }
.jr.is-live .jr-step.is-on .jr-copy > :nth-child(3) { transition-delay: .4s; }
.jr.is-live .jr-step.is-on .jr-copy > :nth-child(4) { transition-delay: .48s; }
.jr.is-live .jr-step.is-on .jr-copy > :nth-child(5) { transition-delay: .56s; }
.jr.is-live .jr-step.is-on .jr-copy > :nth-child(6) { transition-delay: .64s; }
/* the step's big number, cut by the screen edge */
.jr.is-live .jr-step::after {
  content: "0" counter(jr);
  position: absolute;
  bottom: -.2em;
  inset-inline-end: -.05em;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(160px, 26vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 196, 166, .35);
  opacity: 0;
  translate: 0 12%;
  transition: opacity .8s ease, translate 1.2s var(--ease-out);
  pointer-events: none;
}
.jr.is-live .jr-steps .wrap { counter-reset: jr; }
.jr.is-live .jr-step { counter-increment: jr; }
.jr.is-live .jr-step.is-on::after { opacity: 1; translate: 0 0; transition-delay: .2s; }

@media (max-width: 1100px) and (min-width: 761px) {
  .jr.is-live .jr-step::after { display: none; }
}
@media (max-height: 820px) and (min-width: 761px) {
  .jr.is-live .jr-text { font-size: 15px; line-height: 1.65; }
  .jr.is-live .jr-copy h3 { font-size: clamp(28px, 2.7vw, 40px); margin-block: 8px 12px; }
  .jr.is-live .jr-points { margin-top: 12px; }
}

@media (max-width: 760px) {
  .jr-step { grid-template-columns: 1fr; }
  .jr-short { font-size: 13px; }
  .jr-mark button { padding-inline-end: 10px; }
  .jr-name { font-size: 15px; }
  .jr.is-live .jr-top { padding-top: 84px; }
  .jr.is-live .jr-short { display: none; }
  .jr.is-live:not(.is-intro) .jr-ruler { margin-top: 16px; }
  .jr.is-live:not(.is-intro) .jr-head .kicker { display: none; }
  .jr.is-live:not(.is-intro) .jr-head h2 { font-size: 22px; }
  .jr.is-live .jr-step { bottom: 88px; }
  .jr.is-live .jr-step::after { display: none; }
  .jr.is-live .jr-copy h3 { font-size: 27px; margin-block: 8px 10px; }
  .jr.is-live .jr-lead { margin-bottom: 10px; font-size: 16px; }
  .jr.is-live .jr-text { margin-bottom: 8px; font-size: 14.5px; line-height: 1.6; }
  .jr.is-live .jr-points { margin-top: 10px; gap: 6px; }
  .jr.is-live .jr-points li { padding: 5px 11px; font-size: 12.5px; }
  .jr-veil {
    background:
      linear-gradient(180deg, rgba(11, 11, 11, .92) 0%, rgba(11, 11, 11, .5) 26%, rgba(11, 11, 11, .25) 40%),
      linear-gradient(0deg, rgba(11, 11, 11, .97) 0%, rgba(11, 11, 11, .86) 55%, rgba(11, 11, 11, 0) 85%);
  }
}
@media (max-width: 760px) and (max-height: 760px) {
  .jr.is-live .jr-points { display: none; }
  .jr.is-live .jr-lead { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jr-img, .jr.is-live .jr-top, .jr.is-live .jr-copy > *, .jr.is-live .jr-step::after, .jr-head h2, .jr-lede, .jr-short { transition-duration: .01s !important; transition-delay: 0s !important; }
  .jr-hint span::after { animation: none; }
}

/* ---------- footer: the three area logos ---------- */

.foot-logos { display: grid; gap: 16px; justify-items: start; margin: 0; padding: 0; list-style: none; }
.foot-logos a { display: block; padding-inline-start: 14px; border-inline-start: 2px solid var(--green); transition: opacity .3s ease, border-color .3s ease; }
.foot-logos img { display: block; width: auto; max-width: 240px; height: 54px; object-fit: contain; object-position: right; }
.foot-logos a:hover { opacity: .8; }

/* closed panels beside an open one: name and logo standing on end; buttons in the area's color */
.dom-tab-logo { display: none; }
.dom.has-open .dom-panel:not(.is-open) .dom-tab-logo {
  position: relative;
  display: block;
  flex: none;
  width: 54px;
  height: clamp(150px, 26vh, 220px);
  opacity: .92;
}
.dom-tab-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 26vh, 220px);
  max-width: none;
  height: 54px;
  object-fit: contain;
  translate: -50% -50%;
  rotate: 90deg;
}
.dom-tab-plus { background: rgba(var(--accent-rgb), .55); box-shadow: inset 0 0 0 1px rgba(214, 196, 166, .45), 0 10px 24px -10px rgba(var(--accent-rgb), .9); }
.dom-panel:not(.is-open):hover .dom-tab-plus { background: var(--green); }
.dom-btn {
  color: var(--white);
  background: linear-gradient(135deg, color-mix(in srgb, var(--green), #fff 22%), var(--green) 55%, var(--green-d));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 30px -12px rgba(var(--accent-rgb), .9);
}
.dom-btn:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--green), #fff 32%), color-mix(in srgb, var(--green), #fff 8%) 55%, var(--green)); }
@media (max-width: 860px) {
  .dom.has-open .dom-panel:not(.is-open) .dom-tab-logo { width: auto; height: 34px; margin-inline-start: auto; margin-inline-end: 14px; }
  .dom.has-open .dom-panel:not(.is-open) .dom-tab-logo img { position: static; width: auto; height: 34px; max-width: 150px; translate: none; rotate: none; }
}

/* ---------- switch between kinds of cards ---------- */

.grid-cards > [hidden] { display: none !important; }
.s-showcase { padding-block: 0; }
.sc { position: relative; isolation: isolate; padding-block: clamp(60px, 7.5vw, 108px); overflow: clip; }
.sc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; }
.sc-head > div { max-width: 720px; }
.sc-head .lede { margin-top: 16px; }
.sc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.light .sc-links .btn.line { box-shadow: inset 0 0 0 1px var(--line-l); }
.light .sc-links .btn.line:hover { background: rgba(11, 11, 11, .05); }

/* the color of the chosen kind, spreading from the switch and fading */
.sc-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--wx, 50%) var(--wy, 0), rgba(var(--wc, 83, 89, 76), .22), rgba(var(--wc, 83, 89, 76), .08) 45%, transparent 75%);
  opacity: 0;
  clip-path: circle(0 at var(--wx, 50%) var(--wy, 0));
}
.sc-wash.go { animation: scWash 1.6s var(--ease-out) forwards; }
@keyframes scWash {
  0% { opacity: 1; clip-path: circle(0 at var(--wx, 50%) var(--wy, 0)); }
  60% { opacity: .9; }
  100% { opacity: 0; clip-path: circle(160% at var(--wx, 50%) var(--wy, 0)); }
}

.sw {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(246, 244, 240, .06);
  box-shadow: inset 0 0 0 1px var(--line-d);
}
.light .sw { background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line-l), 0 18px 40px -26px rgba(60, 45, 25, .5); backdrop-filter: blur(8px); }
.sw-thumb {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: var(--w, 0);
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--green)), #fff 22%), var(--c, var(--green)) 55%, color-mix(in srgb, var(--c, var(--green)), #000 25%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 22px -10px var(--c, var(--green));
  translate: var(--x, 0) 0;
  transition: translate .75s var(--ease-out), width .75s var(--ease-out), background .5s ease;
  transform-origin: center;
}
.sw-thumb.go { animation: swStretch .75s var(--ease-out); }
@keyframes swStretch {
  0% { scale: 1 1; }
  30% { scale: 1.28 .82; }
  65% { scale: .96 1.05; }
  100% { scale: 1 1; }
}
.sw-opt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-family: var(--f-title);
  font-size: 16px;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: color .45s ease;
}
.sw-opt .ico { width: 20px; height: 20px; transition: rotate .6s var(--ease-out); }
.sw-opt:hover .ico { rotate: -12deg; }
.sw-opt sup { font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .55; }
.sw-opt.is-on { color: var(--white); }
.sw-opt.is-on .ico { rotate: 0deg; }
.sw-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* cards folding away and rising in */
.sc-item, .grid-cards > .pcard { will-change: transform; }
.sc-out { animation: scOut .43s var(--ease-io) forwards; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes scOut {
  to { opacity: 0; clip-path: inset(0 0 100% 0 round var(--r)); translate: 0 -24px; filter: blur(4px); }
}
.sc-in { animation: scIn 1s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes scIn {
  from { opacity: 0; clip-path: inset(100% 0 0 0 round var(--r)); translate: 0 40px; }
  to { opacity: 1; clip-path: inset(0 0 0 0 round var(--r)); translate: 0 0; }
}
/* each card says what it is, in its area's color */
.sc-item[data-brand] .pcard { box-shadow: inset 0 3px 0 var(--green), var(--lift-l); }
.sc-item { display: flex; }
.sc-item > .pcard { flex: 1; }

/* archive: the switch above the filters */
.sc-bar { position: relative; isolation: isolate; margin-bottom: 26px; }
.sc-bar .sc-wash { inset: -60px -40px; }

@media (max-width: 760px) {
  .sc-head { align-items: flex-start; }
  .sw { display: flex; width: 100%; }
  .sw-opt { flex: 1 1 auto; justify-content: center; padding: 11px 12px; font-size: 14px; }
  .sw-opt sup { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-thumb { transition: none; }
}

/* knowledge cards: what kind of item it is, at a glance */
.badge-f { display: inline-flex; align-items: center; gap: 6px; }
.badge-f .ico { width: 15px; height: 15px; }
.pcard-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(11, 11, 11, .45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 10px rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  translate: -50% -50%;
  transition: scale .6s var(--ease-out), background .4s ease;
}
.pcard-play .ico { width: 68px; height: 68px; stroke-width: 0; }
.pcard-play .ico circle { display: none; }
.pcard:hover .pcard-play { scale: 1.12; background: var(--green); }
.pcard-wave {
  position: absolute;
  inset: auto 18px 16px;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(11, 11, 11, .5);
  backdrop-filter: blur(8px);
}
.pcard-wave i { flex: 1; height: 30%; border-radius: 2px; background: var(--gold); opacity: .85; }
.pcard-wave i:nth-child(3n) { height: 70%; }
.pcard-wave i:nth-child(4n+1) { height: 50%; }
.pcard-wave i:nth-child(5n+2) { height: 85%; }
.pcard-wave i:nth-child(7n) { height: 40%; }
html.anim .pcard:hover .pcard-wave i { animation: wave .9s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * 1s); }
.pcard-wave i:nth-child(2n) { --d: .15; }
.pcard-wave i:nth-child(3n) { --d: .3; }
.pcard-wave i:nth-child(5n) { --d: .45; }
@keyframes wave { to { scale: 1 .35; } }

/* ---------- questions ---------- */

.qa {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}
.qa-side { position: sticky; top: 120px; }
.qa-meter { display: flex; align-items: baseline; gap: 10px; margin: 36px 0 0; font-family: "Cinzel", "Times New Roman", serif; }
.qa-meter b {
  font-size: clamp(80px, 9vw, 140px);
  font-weight: 400;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gold-ink);
}
.qa:not(.light *) .qa-meter b { -webkit-text-stroke-color: var(--gold); }
.qa-meter span { font-size: 22px; color: var(--mute-l); }
.qa-more { margin: 30px 0 14px; font-size: 16px; color: var(--mute-l); }
section:not(.light) .qa-meter span,
section:not(.light) .qa-more { color: var(--mute-d); }

.qa-list { counter-reset: qa; border-top: 1px solid var(--line-l); }
section:not(.light) .qa-list { border-color: var(--line-d); }
.qa-item { border-bottom: 1px solid var(--line-l); transition: opacity .5s ease; }
section:not(.light) .qa-item { border-color: var(--line-d); }
.qa.has-open .qa-item:not([open]) { opacity: .5; }
.qa.has-open .qa-item:not([open]):hover { opacity: 1; }
.qa-item summary {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
  /* a line in the area's color drawing under the open question */
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(270deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .9s var(--ease-out);
}
.qa-item[open] summary::after { transform: scaleX(1); }
.qa-n { font-family: "Cinzel", "Times New Roman", serif; font-size: 18px; color: var(--gold-ink); transition: color .4s ease; }
section:not(.light) .qa-n { color: var(--gold); }
.qa-q { font-family: var(--f-title); font-size: clamp(19px, 1.7vw, 25px); font-weight: 700; line-height: 1.3; transition: translate .6s var(--ease-out), color .4s ease; }
.qa-item summary:hover .qa-q { translate: -8px 0; }
.qa-item[open] .qa-q { color: var(--green); }
section:not(.light) .qa-item[open] .qa-q { color: var(--hl); }
.qa-x {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-l);
  transition: rotate .6s var(--ease-out), background .4s ease, box-shadow .4s ease;
}
section:not(.light) .qa-x { box-shadow: inset 0 0 0 1px var(--line-d); }
.qa-x::before,
.qa-x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.qa-x::after { rotate: 90deg; transition: rotate .6s var(--ease-out); }
.qa-item[open] .qa-x { rotate: 180deg; background: var(--green); color: var(--white); box-shadow: none; }
.qa-item[open] .qa-x::after { rotate: 0deg; }

.qa-a {
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  padding: clamp(24px, 2.6vw, 36px) clamp(24px, 3vw, 44px);
  padding-inline-start: clamp(56px, 6vw, 92px);
  border-radius: var(--r);
  color: var(--white);
  background: var(--graphite);
  box-shadow: var(--edge-d), var(--lift-d);
}
section:not(.light) .qa-a { color: var(--black); background: var(--pearl); box-shadow: var(--lift-l); }
.qa-a::before {
  /* the question's number, large and cut by the card */
  content: attr(data-n);
  position: absolute;
  top: -.18em;
  inset-inline-start: -.08em;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(90px, 8vw, 130px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 196, 166, .45);
  pointer-events: none;
}
.qa-a::after {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  inset-inline-start: clamp(36px, 4vw, 62px);
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.qa-a .prose { position: relative; font-size: 17px; line-height: 1.75; color: inherit; }
.qa-a .prose p { color: inherit; }
.qa-item[open] .qa-a { animation: qaIn .8s var(--ease-out) both; }
@keyframes qaIn {
  from { opacity: 0; clip-path: inset(0 0 100% 0 round var(--r)); translate: 0 -10px; }
  to { opacity: 1; clip-path: inset(0 0 0 0 round var(--r)); translate: 0 0; }
}

@media (max-width: 860px) {
  .qa { grid-template-columns: 1fr; }
  .qa-side { position: static; }
  .qa-meter { display: none; }
  .qa-more { margin-top: 18px; }
  .qa-item summary { gap: 14px; padding: 20px 0; }
  .qa-x { width: 34px; height: 34px; }
  .qa-a { padding-inline-start: 44px; }
  .qa-a::after { inset-inline-start: 26px; }
  .qa-a::before { font-size: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .qa-item[open] .qa-a { animation: none; }
}

/* panels fade in once their photo has loaded, instead of popping in */
.dom-bg, .dom-art { transition: opacity 1.4s ease, filter 1.6s ease; }
html.anim .dom-panel:not(.is-ready) .dom-bg { opacity: 0; filter: blur(16px); }
html.anim .dom-panel:not(.is-ready) .dom-art { opacity: 0 !important; }
html.anim .dom-panel.is-ready .dom-bg,
html.anim .dom-panel.is-ready .dom-art { transition-delay: calc(var(--i, 0) * .15s); }

/* N72 Group: a deep royal navy that falls into black */
body.brand-residential::before {
  background: linear-gradient(180deg, rgba(23, 46, 74, 1) 0%, rgba(25, 43, 68, .92) 30%, rgba(20, 23, 29, .6) 75%, rgba(18, 21, 21, 0) 100%);
  opacity: 1;
}
body.brand-residential .light { background: linear-gradient(180deg, #f6f4f0, #eef1f6); }
.dom-panel[data-brand="residential"] .dom-bg::after { background: linear-gradient(180deg, rgba(23, 46, 74, .75), rgba(25, 43, 68, .45) 45%, rgba(18, 21, 21, .7)); }

/* ---------- story: text only, lit word by word ---------- */

.st .wrap { position: relative; max-width: 1180px; }
.st h2 { margin-top: 18px; font-size: clamp(42px, 6.6vw, 104px); line-height: 1.04; text-wrap: balance; }
.st-body { max-width: 52ch; margin: clamp(26px, 3vw, 44px) 0 0; font-family: var(--f-title); font-size: clamp(21px, 2.1vw, 32px); font-weight: 500; line-height: 1.45; color: var(--white-2); text-wrap: pretty; }
.st-end { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; margin-top: clamp(32px, 4vw, 56px); }
.st-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; flex: 1 1 640px; margin: 0; padding: 0; list-style: none; }
.st-points li { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-d); font-size: 16px; line-height: 1.5; color: var(--white-2); }
.st-points b { font-family: "Cinzel", "Times New Roman", serif; font-size: 15px; font-weight: 400; color: var(--gold); }

.s-story:has(.st.is-live) { padding-block: 0; }
.st.is-live { height: 300svh; }
.st.is-live .st-stage { position: sticky; top: 0; display: grid; align-items: center; height: 100svh; padding-top: 70px; }
.st-w { transition: color .5s ease, opacity .5s ease, text-shadow .6s ease; }
.st.is-live .st-w { opacity: .16; }
.st.is-live .st-w.on { opacity: 1; }
.st.is-live .st-w.now { color: var(--gold); text-shadow: 0 0 24px rgba(214, 196, 166, .55); }
.st.is-live h2 .hl .st-w.on { color: var(--hl); }
.st.is-live .st-points li,
.st.is-live .st-end .btn { opacity: 0; translate: 0 26px; transition: opacity .6s ease, translate .9s var(--ease-out); }
.st.is-live .st-points li { border-top-color: transparent; background: linear-gradient(var(--gold), var(--gold)) top right / 0 1px no-repeat; transition: opacity .6s ease, translate .9s var(--ease-out), background-size 1s var(--ease-io); }
.st.is-live.is-done .st-points li { opacity: 1; translate: 0 0; background-size: 100% 1px; transition-delay: calc(var(--i) * .14s); }
.st.is-live.is-done .st-end .btn { opacity: 1; translate: 0 0; transition-delay: .45s; }

@media (max-width: 760px) {
  .st.is-live { height: 260svh; }
  .st h2 { font-size: clamp(36px, 10vw, 52px); }
  .st-body { font-size: 19px; }
  .st-points { grid-template-columns: 1fr; gap: 12px; flex-basis: 100%; }
  .st-points li { padding-top: 10px; font-size: 15px; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .st-body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-w, .st.is-live .st-points li, .st.is-live .st-end .btn { transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* ---------- words lighting up on scroll, site-wide ---------- */
.scrub .sc-w { opacity: .17; transition: opacity .45s ease; }
.scrub .sc-w.on { opacity: 1; }

/* ---------- questions: topics, more, no numbers ---------- */
.qa-item summary { grid-template-columns: minmax(0, 1fr) auto; }
.qa-a { padding-inline-start: clamp(40px, 4.4vw, 64px); }
.qa-a::before { content: none; }
.qa-a::after { inset-inline-start: clamp(20px, 2.2vw, 32px); }
.qa-cat { position: relative; display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold); }
.qa-main .sw { margin-bottom: 22px; }
.qa-load { margin-top: 24px; }
.light .qa-load { box-shadow: inset 0 0 0 1px var(--line-l); }
.light .qa-load:hover { background: rgba(11, 11, 11, .05); }
.qa-in { animation: qaRise .8s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes qaRise { from { opacity: 0; translate: 0 22px; } }

/* ---------- three ways to invest: holds the screen as it arrives ---------- */
.domains:has(.dom-pin.is-live) { padding-block: 0; }
.dom-pin.is-live { height: 170svh; }
.dom-pin.is-live .dom-stage {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3vh, 44px);
  height: 100svh;
  padding: 92px 0 clamp(20px, 3vh, 36px);
}
.dom-pin.is-live .wrap + .dom { margin-top: 0; }
.dom-pin.is-live .dom { flex: 1 1 auto; min-height: 0; height: auto; max-height: 760px; width: 100%; }
.dom-pin.is-live .dom-panel {
  --a: min(1, max(0, var(--e, 1) * 1.8 - var(--i, 0) * .22 - .35));
  opacity: var(--a);
  translate: 0 calc((1 - var(--a)) * 160px);
  scale: calc(.94 + var(--a) * .06);
}
.btn[hidden] { display: none !important; }

/* ===================== earth opening ===================== */
/* The marketing intro as the first section: 600 screens of scroll drive a sticky stage.
   Positions inside the stage are set in px by assets/intro/intro.js. */
.s-earth { position: relative; z-index: 0; margin-bottom: -100vh; margin-bottom: -100svh; padding: 0 !important; }
/* the section after the intro slides up over its last screen */
.s-earth + section { position: relative; z-index: 1; }
.ei { position: relative; height: 700vh; height: 700svh; color: var(--white); }
.ei-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.ei-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.ei-scene canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .4s ease; }
.ei.scene-live .ei-scene canvas { opacity: 1; }
.ei-poster {
  position: absolute; left: 50%; top: 50%;
  width: 76.744186vmin; height: 76.744186vmin;
  object-fit: contain; transform: translate(-50%, -50%);
  pointer-events: none; transition: opacity .5s ease;
}
.ei.scene-live .ei-poster { opacity: 0; }
.ei.scene-fallback .ei-poster { left: 30%; width: 65vmin; height: 65vmin; }
.ei-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(270deg, #0009 0%, #0003 25%, transparent 48%), linear-gradient(0deg, #02040655 0%, transparent 17%, transparent 78%, #02040699 100%);
}
.ei-occlusion { position: absolute; inset: 0; z-index: 3; pointer-events: none; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; }
.ei.scene-boot .ei-occlusion { visibility: hidden; }
.ei-copy {
  position: absolute; right: 8%; top: 47%; width: 32%;
  transform: translateY(-38%); z-index: 3; pointer-events: none; text-align: right;
  text-shadow: 0 2px 26px #000c, 0 1px 3px #0009; will-change: opacity, transform;
}
.ei-intro { right: auto; max-width: 620px; transform-origin: center; }
.ei-country { opacity: 0; visibility: hidden; }
.ei-country-logo { display: block; width: 112px; height: auto; margin: 0 0 30px auto; }
.ei-kicker {
  display: inline-block; margin-bottom: 22px;
  font-size: 14px; font-weight: 500; letter-spacing: .08em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ei h1, .ei .ei-title {
  margin: 0; font-family: var(--f-title); font-size: clamp(44px, 4.6vw, 82px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em;
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ei h1 span, .ei .ei-title span {
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ei-copy p:not(.ei-title) { margin-top: 24px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--white-2); }
.ei-copy { text-shadow: none; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .65)); }
.ei-enter, .ei-go { margin-top: 32px; pointer-events: auto; }
.ei-enter span { font-size: 18px; }
.ei-logo {
  position: absolute; left: 50%; top: 50%; z-index: 4; width: 62%; aspect-ratio: 587.96 / 177.87;
  transform: translate(-50%, -50%); pointer-events: none; visibility: hidden; direction: ltr; will-change: transform, opacity;
}
.ei-logo svg, .ei-logo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.ei-logo img { visibility: hidden; }
.ei-credit { position: absolute; bottom: 12px; left: 44px; right: 44px; z-index: 4; color: #74736f; font-size: 8px; opacity: 0; pointer-events: none; }
.ei-error {
  position: absolute; z-index: 6; inset: auto auto 90px 24px; max-width: 300px; margin: 0; padding: 16px;
  background: #17130fdd; border: 1px solid #b9a28644; border-radius: 9px; font-size: 13px; line-height: 1.6;
}
.ei-error[hidden] { display: none; }
@media (min-width: 1800px) { .ei-copy { right: 10%; width: 30%; } }
@media (max-width: 800px), (max-aspect-ratio: 1/1) {
  .ei-copy { top: 18%; left: 26px; right: 26px; width: auto; text-align: center; transform: translateY(-24%); }
  .ei-intro { left: 50%; right: auto; width: calc(100% - 52px); }
  .ei-kicker { margin-bottom: 12px; font-size: 12px; }
  .ei h1, .ei .ei-title { font-size: clamp(36px, 9vw, 52px); }
  .ei-copy p:not(.ei-title) { margin-top: 14px; font-size: 15px; }
  .ei-copy p:not(.ei-title) br { display: none; }
  .ei-country-logo { width: 75px; margin: 0 auto 16px; }
  .ei-enter, .ei-go { margin: 18px auto 0; }
  .ei-credit { left: 23px; right: 23px; bottom: 10px; font-size: 6px; line-height: 1.6; }
  .ei-logo { width: 86%; }
  .ei-shade { background: linear-gradient(0deg, #02040666 0%, transparent 13%, transparent 76%, #02040666 100%); }
  .ei.scene-fallback .ei-poster { left: 50%; top: 65%; }
}
/* while the intro plays, the site header follows it: no solid bar, no fade delay */
.top.over-earth { transition: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.over-earth::before { opacity: .6; }
