/* ==========================================================================
   Solvane Tower landing page
   Hero · Architecture · Interiors · Location · Contact
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Shared type ---------- */
.eyebrow,
.label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.label { color: var(--terracotta); }

/* ---------- Buttons: an arched fill rises on hover, the arrow loops through ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.btn::before,
.nav__cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--sweep, var(--terracotta));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(102%);
  transition: transform 0.75s var(--ease-out), border-radius 0.75s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before,
.nav__cta:hover::before { transform: translateY(0); border-radius: 0; }

.btn__arrow {
  width: 12px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.btn:hover .btn__arrow,
.nav__cta:hover svg { animation: arrow-loop 0.75s var(--ease-out); }
@keyframes arrow-loop {
  0% { transform: translateX(0); opacity: 1; }
  40% { transform: translateX(16px); opacity: 0; }
  41% { transform: translateX(-16px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.btn--dark { --sweep: var(--terracotta); background: var(--ink); color: var(--cream); }
.btn--light { --sweep: var(--ink); background: rgba(251, 247, 240, 0.94); color: var(--ink); }
.btn--light:hover { color: var(--cream); }
.btn--outline { --sweep: #fff; border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn--outline:hover { border-color: #fff; color: var(--navy); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--cream);
}
.preloader__brand { display: grid; justify-items: center; line-height: 1; color: var(--ink); }
.preloader__leaf { width: 18px; height: 30px; margin-bottom: 10px; fill: none; stroke: var(--terracotta); stroke-width: 1.1; }
.preloader__name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.preloader__sub { margin-top: 10px; padding-left: 0.5em; font-size: 9px; letter-spacing: 0.5em; text-transform: uppercase; }
.preloader__track {
  position: absolute;
  left: 50%;
  bottom: 12vh;
  width: 160px;
  height: 1px;
  background: var(--rule);
  transform: translateX(-50%);
}
.preloader__bar {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-height);
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out),
    height 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.nav--dark { color: #fff; }
.nav--solid {
  --nav-height: 76px;
  color: var(--ink);
  background: rgba(239, 234, 222, 0.88);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}

.brand { display: grid; justify-items: center; justify-self: start; line-height: 1; }
.brand__leaf {
  width: 14px;
  height: 24px;
  margin-bottom: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: height 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}
.nav--solid .brand__leaf { height: 0; margin: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__sub { margin-top: 7px; padding-left: 0.42em; font-size: 8px; letter-spacing: 0.42em; text-transform: uppercase; }

.nav__links { display: flex; gap: 46px; }
.nav__links a {
  position: relative;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  --sweep: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.nav__cta svg { width: 11px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.nav__cta:hover { border-color: var(--ink); color: var(--cream); }
.nav--dark .nav__cta { --sweep: #fff; }
.nav--dark .nav__cta:hover { border-color: #fff; color: var(--ink); }

/* over dark sections */
.nav--solid.nav--night {
  background: rgba(9, 7, 6, 0.82);
  box-shadow: 0 1px 0 rgba(239, 230, 214, 0.08);
  color: #efe6d6;
}
.nav--night .nav__cta { --sweep: #efe6d6; }
.nav--night .nav__cta:hover { border-color: #efe6d6; color: #14100b; }

.nav__toggle { display: none; }

/* ==========================================================================
   Section pager (fixed, labels only)
   ========================================================================== */
.pager {
  position: fixed;
  right: calc(var(--gutter) * 0.45);
  top: 50%;
  z-index: 50;
  display: grid;
  gap: 22px;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translate(10px, -50%);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), visibility 0.5s, color 0.5s;
}
.pager.is-visible { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.pager--light { color: #fff; }
.pager::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: currentColor;
  opacity: 0.25;
}
.pager a { position: relative; display: flex; align-items: center; gap: 14px; }
.pager__dot {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--cream);
  transition: background-color 0.3s;
}
.pager--light .pager__dot { background: transparent; }
.pager a.is-active .pager__dot { background: currentColor; }
.pager__label {
  font-size: 9px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.pager a.is-active .pager__label,
.pager a:hover .pager__label { opacity: 1; }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.hero__stage {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(52, 67, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 67, 74, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* footage layer: hidden in static mode, wiped in on scroll */
.hero__media { position: absolute; inset: 0; z-index: 1; display: none; background: #0d1418; }
.has-motion .hero__media { display: block; }
.hero__poster,
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; }
.hero.is-ready .hero__poster { visibility: hidden; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 14, 0.45) 0%, transparent 24%),
    linear-gradient(20deg, rgba(8, 12, 14, 0.62) 0%, rgba(8, 12, 14, 0.15) 45%, transparent 70%);
}

/* CAD drawing (js/cad-hero.js) */
.cad-drawing { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cad-plane { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; will-change: transform; }
.cad-svg { display: block; width: 1280px; height: 720px; overflow: visible; }
.cad-svg path,
.cad-svg circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cad-struct { stroke: var(--drafting); stroke-width: 0.85; }
.cad-slab { stroke: #2f6f7e; stroke-width: 0.95; }
.cad-heavy { stroke: var(--drafting); stroke-width: 1.6; }
.cad-rail { stroke: #2f6f7e; stroke-width: 0.5; opacity: 0.75; }
.cad-hair { stroke: var(--drafting); stroke-width: 0.4; opacity: 0.55; }
.cad-hatch { stroke: var(--drafting); stroke-width: 0.35; opacity: 0.4; }
.cad-axis { stroke: #b04a3a; stroke-width: 0.55; stroke-dasharray: 16 4 3 4; opacity: 0.55; }
.cad-bubble { stroke: #b04a3a; stroke-width: 0.7; opacity: 0.8; }
.cad-leader { stroke: var(--drafting); stroke-width: 0.5; stroke-dasharray: 3 3; opacity: 0.5; }
.cad-marker,
.cad-dim { stroke: var(--terracotta); stroke-width: 0.75; }
.cad-svg text { fill: var(--drafting); font-family: var(--font-sans); font-weight: 400; letter-spacing: 0.1em; }
.cad-svg .cad-bubble-text { font-size: 9px; fill: #b04a3a; }
.cad-svg .cad-level { font-size: 9px; fill: var(--terracotta); }
.cad-level-name { font-size: 7px; opacity: 0.7; }
.cad-svg .cad-dim-text { font-size: 7.5px; letter-spacing: 0.2em; fill: var(--terracotta); }

/* footage revealed from the ground up behind the scan line */
.has-motion .hero__media { clip-path: inset(var(--scan, 100%) 0 0 0); }
.cad-scan {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: var(--scan, 100%);
  height: 1px;
  background: #f3c9a8;
  box-shadow: 0 0 12px 2px rgba(243, 160, 110, 0.85), 0 0 40px 6px rgba(243, 160, 110, 0.35);
  opacity: 0;
  pointer-events: none;
}

/* CAD interface */
.cad-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; color: var(--drafting); }
.cad-ui__cursor { position: absolute; inset: 0; }
.cad-ui__h,
.cad-ui__v { position: absolute; background: rgba(52, 67, 74, 0.35); }
.cad-ui__h { left: 0; right: 0; top: var(--y); height: 1px; }
.cad-ui__v { top: 0; bottom: 0; left: var(--x); width: 1px; }
.cad-ui__pick {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border: 1px solid var(--drafting);
}
.cad-ui__coords {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(14px, 12px);
  padding: 3px 7px;
  background: rgba(239, 234, 222, 0.92);
  border: 1px solid var(--rule);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: pre;
  font-variant-numeric: tabular-nums;
}
.cad-ui__ucs {
  position: absolute;
  left: calc(var(--gutter) + 4px);
  bottom: 70px;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--drafting);
  stroke-width: 1.2;
  opacity: 0.75;
}
.cad-ui__ucs text { fill: var(--drafting); stroke: none; font: 500 9px var(--font-sans); }
.cad-ui__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px var(--gutter);
  border-top: 1px solid var(--rule);
  background: rgba(239, 234, 222, 0.82);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.cad-ui__cmd { white-space: nowrap; overflow: hidden; }
.cad-ui__cmd b { font-weight: 500; color: var(--terracotta); }
.cad-ui__caret {
  display: inline-block;
  width: 6px;
  height: 11px;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--drafting);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.cad-ui__status { display: flex; gap: 14px; opacity: 0.55; }
.cad-ui__status .is-on { opacity: 1; font-weight: 500; }
.cad-ui__sheet {
  position: absolute;
  left: calc(var(--gutter) + 64px);
  bottom: 60px;
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid rgba(52, 67, 74, 0.4);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
}
.cad-ui__sheet span { font-size: 8.5px; font-weight: 400; letter-spacing: 0.12em; opacity: 0.75; }

/* copy */
.hero__chapter {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  bottom: clamp(90px, 15vh, 160px);
  max-width: 640px;
  color: #fff;
}
.hero__chapter--intro {
  top: 50%;
  bottom: auto;
  max-width: 520px;
  color: var(--ink);
  transform: translateY(-46%);
}
.hero__chapter:not(.hero__chapter--intro) { visibility: hidden; opacity: 0; }
.hero__chapter .eyebrow { color: rgba(255, 255, 255, 0.82); }
.hero__chapter--intro .eyebrow { color: var(--terracotta); }

.hero__title {
  margin: 22px 0 22px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(50px, 5.6vw, 88px);
  line-height: 1;
  letter-spacing: -0.012em;
}
.hero__lead {
  max-width: 400px;
  margin-bottom: 36px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.hero__headline {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.04;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}
.hero__sub {
  max-width: 460px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.hero__chapter .btn { margin-top: 30px; }

.hero__scroll {
  position: absolute;
  z-index: 4;
  right: calc(var(--gutter) * 0.5);
  bottom: 64px;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--ink);
  mix-blend-mode: difference;
  filter: invert(1);
}
.hero__scroll-label { font-size: 9px; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.hero__scroll-mouse {
  display: grid;
  justify-items: center;
  width: 16px;
  height: 28px;
  padding-top: 6px;
  border: 1px solid currentColor;
  border-radius: 9px;
}
.hero__scroll-mouse span {
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  animation: wheel 1.8s var(--ease-out) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(8px); opacity: 0; }
  100% { opacity: 0; }
}

/* ==========================================================================
   2. Architecture: dark studio (matches the render backdrop)
   ========================================================================== */
.arch {
  --studio: #090706;
  --champagne: #cfae84;
  --ivory: #efe6d6;
  background: var(--studio);
  color: var(--ivory);
}
.arch .label { color: var(--champagne); }
.arch__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) 1fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  height: 100svh;
  min-height: 640px;
  padding: calc(var(--nav-height) + 12px) calc(var(--gutter) + 120px) 40px var(--gutter);
}

.arch__title {
  margin: 20px 0 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.04;
}
.arch__text { max-width: 340px; font-size: 14px; line-height: 1.8; color: rgba(239, 230, 214, 0.62); }

.features {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: clamp(32px, 5vh, 56px);
}
.features li {
  display: grid;
  gap: 10px;
  padding: 0 24px;
  border-left: 1px solid rgba(239, 230, 214, 0.12);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: rgba(239, 230, 214, 0.7);
}
.features li:first-child { padding-left: 0; border-left: 0; }
.features svg { width: 28px; height: 28px; fill: none; stroke: var(--champagne); stroke-width: 1.1; }

.arch__stage {
  position: relative;
  height: 100%;
  min-height: 540px;
  user-select: none;
}
.arch__render {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.arch.is-ready .arch__render { opacity: 1; }

/* callouts and leader lines, positioned from the render's per-frame anchors */
.arch__lines {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.arch__lines polyline { fill: none; stroke: var(--champagne); stroke-width: 0.8; opacity: 0; transition: opacity 0.5s; }
.arch__lines circle { fill: var(--champagne); opacity: 0; transition: opacity 0.5s; }
.arch__lines .is-visible { opacity: 0.95; }

.callouts { position: absolute; inset: 0; z-index: 15; pointer-events: none; }
.callout {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  gap: 4px;
  width: 210px;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.callout.is-visible { opacity: 1; }
.callout__badge {
  font-size: 8.5px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: rgba(239, 230, 214, 0.42);
}
.callout__title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--champagne);
}
.callout__text { font-size: 12px; line-height: 1.6; color: rgba(239, 230, 214, 0.62); }

/* ==========================================================================
   3–4. Full-bleed strips (Interiors, Location)
   ========================================================================== */
.strip {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 20px) var(--gutter) 60px;
  overflow: hidden;
  isolation: isolate;
}
.strip__media { position: absolute; inset: -6% 0; z-index: -2; }
.strip__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.strip__bg.is-active { opacity: 1; }
.strip__shade { position: absolute; inset: 0; z-index: -1; }

.strip__content { max-width: 440px; }
.strip__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.04;
}
.strip__text { margin: 22px 0 34px; font-size: 14.5px; line-height: 1.8; }

/* Interiors */
.strip--interiors { color: #fff; background: #1a1612; }
.strip--interiors .strip__shade {
  background: linear-gradient(90deg, rgba(22, 17, 12, 0.82) 0%, rgba(22, 17, 12, 0.5) 32%, transparent 60%),
    linear-gradient(0deg, rgba(22, 17, 12, 0.35) 0%, transparent 40%);
}
.strip--interiors .strip__text { color: rgba(255, 255, 255, 0.86); }

.thumbs {
  position: absolute;
  right: calc(var(--gutter) + 150px);
  top: 50%;
  display: grid;
  gap: 12px;
  transform: translateY(-46%);
}
.thumb {
  position: relative;
  display: block;
  width: clamp(170px, 14vw, 230px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.4s;
}
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.thumb span {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 9px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.thumb:hover img,
.thumb.is-active img { transform: scale(1.06); }
.thumb.is-active,
.thumb:hover { border-color: #fff; }

/* Location */
.strip--location { color: var(--ink); background: #cfd8da; }
.strip--location .strip__shade {
  background: linear-gradient(90deg, rgba(239, 234, 222, 0.94) 0%, rgba(239, 234, 222, 0.72) 30%, rgba(239, 234, 222, 0) 56%);
}
.strip--location .strip__text { color: var(--ink-soft); }

.strip__features { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.strip__features li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 9.5px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
}
.strip__features svg { width: 18px; height: 18px; fill: none; stroke: var(--terracotta); stroke-width: 1.2; }

.pin {
  position: absolute;
  display: flex;
  flex-direction: row-reverse; /* card opens to the left of the marker */
  align-items: flex-start;
  gap: 14px;
  color: #fff;
  right: 22%;
  top: 48%;
  transform-origin: right top;
}
.pin__icon { position: relative; width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); }
.pin__pulse {
  position: absolute;
  right: 15px;
  top: 26px;
  width: 10px;
  height: 10px;
  margin: -5px -5px -5px 0;
  border-radius: 50%;
  transform: translateX(50%);
  background: rgba(255, 255, 255, 0.9);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); }
}
.pin__card {
  display: grid;
  gap: 4px;
  padding: 12px 18px;
  background: rgba(13, 26, 44, 0.42);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  text-align: right;
}
.pin__title { font-size: 11px; font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.pin__text { font-size: 12px; color: rgba(255, 255, 255, 0.85); }

/* ==========================================================================
   5. Contact
   ========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: #fff;
}
.contact__media { position: absolute; inset: -6% 0 -6% 34%; z-index: -2; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 34%, rgba(19, 35, 58, 0.78) 52%, rgba(19, 35, 58, 0.55) 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr auto;
  grid-template-areas:
    "intro cta list brand"
    "legal legal legal legal";
  align-items: center;
  gap: 40px clamp(32px, 4vw, 72px);
  min-height: min(72svh, 620px);
  padding: calc(var(--nav-height) + 10px) calc(var(--gutter) + 120px) 40px var(--gutter);
}
.contact__intro { grid-area: intro; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 3.8vw, 60px);
  line-height: 1.05;
}
.contact__text { max-width: 400px; margin-top: 20px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, 0.82); }
.contact__cta { grid-area: cta; justify-self: center; }

.contact__list { grid-area: list; display: grid; gap: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.88); }
.contact__list a,
.contact__list span { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.contact__list a:hover { color: #fff; }
.contact__list svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; }

.contact__brand { grid-area: brand; display: grid; justify-items: center; line-height: 1; }
.contact__brand .brand__leaf { height: 26px; }
.contact__social { display: flex; gap: 18px; margin-top: 26px; }
.contact__social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0.8; transition: opacity 0.3s; }
.contact__social a:hover svg { opacity: 1; }

.contact__legal {
  grid-area: legal;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Custom cursor (cursor.js): a site-survey marker
   ========================================================================== */
.has-cursor,
.has-cursor * { cursor: none !important; }

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.35s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-cad { opacity: 0; }
.cursor[data-mode="label"]:not(.cursor--quiet) { mix-blend-mode: normal; }

.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  will-change: transform, width, height;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), scale 0.25s var(--ease-out);
}
.cursor.is-pressed .cursor__ring { scale: 0.86; }

.cursor__tick {
  position: absolute;
  background: #fff;
  transition: opacity 0.3s, transform 0.45s var(--ease-out);
}
.cursor__tick--n,
.cursor__tick--s { left: calc(50% - 0.5px); width: 1px; height: 7px; }
.cursor__tick--e,
.cursor__tick--w { top: calc(50% - 0.5px); width: 7px; height: 1px; }
.cursor__tick--n { top: -11px; }
.cursor__tick--s { bottom: -11px; }
.cursor__tick--e { right: -11px; }
.cursor__tick--w { left: -11px; }
.cursor:not([data-mode="default"]) .cursor__tick { opacity: 0; transform: scale(0.2); }

.cursor__label {
  display: grid;
  justify-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: #14100b;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.5s var(--ease-out);
}
.cursor__arrows { display: none; width: 34px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.cursor--arrows .cursor__arrows { display: block; }

/* label state: frosted dark glass inside a slowly turning survey ring */
.cursor__ring::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(207, 174, 132, 0.55);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s, transform 0.6s var(--ease-out);
  animation: cursor-orbit 14s linear infinite;
}
@keyframes cursor-orbit { to { rotate: 360deg; } }
.cursor[data-mode="label"] .cursor__ring {
  background: radial-gradient(circle at 50% 35%, rgba(42, 33, 25, 0.62), rgba(12, 9, 7, 0.72));
  border-color: rgba(207, 174, 132, 0.9);
  box-shadow: inset 0 0 0 4px rgba(207, 174, 132, 0.08), 0 10px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
}
.cursor[data-mode="label"] .cursor__ring::before { opacity: 1; transform: none; }
.cursor[data-mode="label"] .cursor__tick { opacity: 1; transform: none; background: #cfae84; }
.cursor[data-mode="label"] .cursor__label { color: #efe6d6; }
.cursor[data-mode="label"] .cursor__arrows { color: #cfae84; }
.cursor--quiet[data-mode="label"] .cursor__ring { box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cursor--quiet[data-mode="label"] .cursor__ring::before { border-color: rgba(255, 255, 255, 0.45); }
.cursor--quiet[data-mode="label"] .cursor__tick { background: #fff; }
.cursor--quiet[data-mode="label"] .cursor__label { color: #fff; }
.cursor[data-mode="label"] .cursor__label { opacity: 1; transform: none; }
.cursor--quiet[data-mode="label"] .cursor__ring { background: transparent; border-color: rgba(255, 255, 255, 0.6); }
.cursor--quiet .cursor__label { color: #fff; font-size: 9px; }
.cursor[data-mode="hug"] .cursor__ring { border-color: rgba(255, 255, 255, 0.5); }
.cursor[data-mode="link"] .cursor__ring { background: rgba(255, 255, 255, 0.12); }

.cursor__dot {
  position: fixed;
  top: -2.5px;
  left: -2.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transition: opacity 0.25s;
}
.cursor[data-mode="label"] .cursor__dot { opacity: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .pager { display: none; }
  .arch__inner { padding-right: var(--gutter); grid-template-columns: minmax(260px, 0.42fr) 1fr; }
  .thumbs { right: var(--gutter); }
  .contact__inner {
    padding-right: var(--gutter);
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "intro intro" "list brand" "cta cta" "legal legal";
  }
  .contact__cta { justify-self: start; }
}

@media (max-width: 860px) {
  :root { --nav-height: 72px; }

  .nav { grid-template-columns: 1fr auto; }
  .nav__cta { display: none; }
  .nav__toggle {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    width: 32px;
    padding: 8px 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav__toggle span { height: 1px; background: currentColor; transition: transform 0.4s var(--ease-out); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 0 var(--gutter);
    background: var(--cream);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  }
  .nav__links a { font-family: var(--font-display); font-size: 36px; letter-spacing: 0; text-transform: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { color: var(--ink); }
  .nav.is-open .brand { position: relative; z-index: 2; }
  .brand__name { font-size: 22px; }

  .cad-ui__status, .cad-ui__sheet, .cad-ui__ucs { display: none; }
  .hero__chapter--intro { top: calc(var(--nav-height) + 28px); transform: none; }
  .hero__scroll { display: none; }
  .hero__title { margin: 16px 0; }
  .hero__lead { margin-bottom: 24px; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(8, 12, 14, 0.5) 0%, transparent 25%),
      linear-gradient(0deg, rgba(8, 12, 14, 0.7) 0%, transparent 55%);
  }

  .arch__inner {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: calc(var(--nav-height) + 40px) var(--gutter) 64px;
  }
  .features li { padding: 0 14px; }
  .arch__stage { width: 100%; height: auto; min-height: 0; }
  .arch__render { position: relative; height: 92vw; max-height: 520px; }
  .arch__inner > * { min-width: 0; }
  .arch__lines { display: none; }
  .callouts {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 14px;
    margin-top: 20px;
    width: 100%;
  }
  .callout { position: static; width: auto; opacity: 1; transform: none !important; }

  .strip { flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 92svh; }
  .strip--interiors .strip__shade { background: linear-gradient(0deg, rgba(22, 17, 12, 0.88) 0%, rgba(22, 17, 12, 0.4) 55%, rgba(22, 17, 12, 0.2) 100%); }
  .strip--location .strip__shade { background: linear-gradient(0deg, rgba(239, 234, 222, 0.96) 0%, rgba(239, 234, 222, 0.75) 45%, rgba(239, 234, 222, 0) 75%); }
  .thumbs {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
    margin-top: 28px;
    transform: none;
  }
  .thumb { width: 100%; }
  .pin { right: 10%; top: 30%; }
  .pin__card { display: none; }

  .contact__media { inset: 0; }
  .contact__shade { background: linear-gradient(0deg, var(--navy) 35%, rgba(19, 35, 58, 0.7) 100%); }
  .contact__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "cta" "list" "brand" "legal";
    gap: 32px;
    padding: 96px var(--gutter) 36px;
  }
  .contact__brand { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
