/* ============================================================
   coole & frost — brand stylesheet
   Navy #1B2A4A · frost blue #4A90B8 · cool, elegant, professional.
   Type: Poppins (geometric, echoes the wordmark) for display,
   Hanken Grotesk for body, Instrument Serif for italic accents.
   ============================================================ */

:root {
  --ink: #131f39;
  --ink-2: #1b2a4a;
  --ink-3: #24365c;
  --paper: #f6f8fa;
  --mist: #e9eef3;
  --line: rgba(27, 42, 74, 0.13);
  --line-inv: rgba(237, 243, 248, 0.16);
  --frost: #4a90b8;
  --glacier: #7fb8da;
  --glacier-soft: rgba(74, 144, 184, 0.13);
  --glacier-deep: #35688c;
  --warm: #e3c29b;
  --text: #26334c;
  --text-soft: #5b6a82;
  --text-inv: #edf3f8;
  --text-inv-soft: #9fb2c4;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--glacier); color: var(--ink); }

/* ---------- type utilities ---------- */
.serif {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--glacier-deep);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.dark .eyebrow, .eyebrow.inv { color: var(--glacier); }

h1, h2, h3 {
  font-family: "Poppins", "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.stat .n, .price-card .p-num, .calc-out .n, .intro-temp {
  font-family: "Poppins", "Hanken Grotesk", system-ui, sans-serif;
}
.display {
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  font-weight: 250;
}
.title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 280;
  margin-bottom: 1.2rem;
}
.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 350;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 44rem;
}
.dark .lede { color: var(--text-inv-soft); }
.accent { color: var(--glacier-deep); }
.dark .accent, .hero .accent, .page-hero .accent { color: var(--glacier); }

/* ---------- layout ---------- */
.container { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.dark { background: var(--ink-2); color: var(--text-inv); }
.darker { background: var(--ink); color: var(--text-inv); }
.mist { background: var(--mist); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.split.rev > :first-child { order: 2; }
.split.rev > :last-child { order: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--ink-3); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #ffffff; }
.btn-glacier { background: var(--frost); color: #ffffff; }
.btn-glacier:hover { background: #3d7ea3; }
.btn-ghost { border-color: var(--line); color: inherit; background: transparent; }
.dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost { border-color: var(--line-inv); }
.btn-ghost:hover { border-color: var(--glacier); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}
.site-head .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-head { color: var(--text-inv); }
.site-head.scrolled {
  background: rgba(245, 247, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--text);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand img { height: 30px; width: auto; display: block; }
.site-foot .brand img { height: auto; width: min(250px, 70vw); }
.site-foot .brand-light { content: url("../img/cf-lockup-white.png"); }
.site-head .brand-navy { display: none; }
.site-head.scrolled .brand-light { display: none; }
.site-head.scrolled .brand-navy { display: block; }
.site-foot .brand-navy { display: none; }

/* header snowflake: the real brand mark, cropped from the lockup.
   Header only — the footer .brand content-swaps to the full lockup. */
.site-head .brand { gap: 0.55rem; }
.site-head .brand-flake { height: 32px; }

/* Header budget is tight: the container is a fixed 1180px at every desktop
   width, and brand + nav very nearly fill it. The snowflake in the brand costs
   ~34px, which is more slack than the nav had, so links wrapped to two lines.
   Buy it back from the nav gap rather than shrinking the brand, and never let
   a nav label wrap. */
.nav { display: flex; align-items: center; gap: 1.55rem; }
.nav a { white-space: nowrap; }
.nav a {
  font-size: 0.92rem;
  font-weight: 480;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.25s;
  position: relative;
  padding-block: 0.4rem;
}
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--glacier);
}
.site-head.scrolled .nav a[aria-current="page"]::after { background: var(--glacier-deep); }
.nav .btn { padding: 0.6rem 1.3rem; font-size: 0.88rem; }
.site-head:not(.scrolled) .nav .btn-solid { background: var(--paper); color: var(--ink); }

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-btn svg { display: block; }

/* ---------- intro overlay ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-inv);
  transition: transform 1s var(--ease-io);
  overflow: hidden;
}
.intro.done { transform: translateY(-101%); }
.intro-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero-1-cool-bedroom-m-series.jpg") center 32% / cover no-repeat;
  opacity: 0.52;
  transform: scale(1.08);
  animation: introKen 16s ease-out forwards;
  filter: sepia(0.4) saturate(1.15) brightness(0.82);
  transition: filter 2.6s ease;
}
.intro.cooling .intro-bg { filter: sepia(0) saturate(0.9) brightness(0.88); }
@keyframes introKen { to { transform: scale(1); } }
.intro-tint {
  position: absolute;
  inset: 0;
  transition: opacity 2.6s ease;
}
.intro-tint.warmth {
  background: linear-gradient(180deg, rgba(196, 116, 63, 0.36) 0%, rgba(12, 9, 6, 0.78) 82%);
  opacity: 1;
}
.intro-tint.chill {
  background: linear-gradient(180deg, rgba(74, 144, 184, 0.32) 0%, rgba(6, 11, 18, 0.8) 82%);
  opacity: 0;
}
.intro.cooling .intro-tint.warmth { opacity: 0; }
.intro.cooling .intro-tint.chill { opacity: 1; }
.intro-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(55% 45% at 50% 46%, rgba(196, 116, 63, 0.5), transparent 70%);
  transition: opacity 2.4s ease;
}
.intro-glow.cool {
  background: radial-gradient(55% 45% at 50% 46%, rgba(72, 145, 172, 0.45), transparent 70%);
  opacity: 0;
}
.intro.cooling .intro-glow.warmth { opacity: 0; }
.intro.cooling .intro-glow.cool { opacity: 1; }

.intro-temp {
  position: relative;
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 150;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.intro.p1 .intro-temp { opacity: 1; }
.intro-temp .deg { color: var(--glacier); font-weight: 200; }
.intro-line {
  position: relative;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 330;
  color: var(--text-inv-soft);
  opacity: 0;
  transition: opacity 0.9s ease;
  min-height: 1.8em;
  text-align: center;
  padding-inline: 1.5rem;
}
.intro.p1 .intro-line { opacity: 1; }
.intro-line .serif { color: var(--text-inv); }
.intro-sub {
  position: relative;
  margin-top: 0.9rem;
  font-family: inherit;
  font-style: normal;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--glacier);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1s ease, transform 1s var(--ease);
}
.intro.p4 .intro-sub { opacity: 1; transform: none; }
.intro-enter {
  position: relative;
  margin-top: 2.6rem;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--line-inv);
  background: rgba(74, 144, 184, 0.14);
  color: var(--text-inv);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease), border-color 0.3s, background 0.3s;
}
.intro.p5 .intro-enter { opacity: 1; transform: none; }
.intro-enter:hover { border-color: var(--glacier); background: rgba(74, 144, 184, 0.26); }
.intro-enter .arr { display: inline-block; transition: transform 0.35s var(--ease); }
.intro-enter:hover .arr { transform: translateX(4px); }
.intro-brand {
  position: relative;
  margin-bottom: 2.6rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 1.1s ease, transform 1.1s var(--ease);
}
.intro.p0 .intro-brand { opacity: 1; transform: none; }
.intro-brand img {
  height: 158px;
  width: auto;
  display: block;
  transition: transform 1s var(--ease);
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.55));
}
.intro.p3 .intro-brand img { transform: scale(1.09); }
.intro-skip {
  position: absolute;
  bottom: 2rem;
  right: 2.4rem;
  background: none;
  border: 1px solid var(--line-inv);
  color: var(--text-inv-soft);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.intro-skip:hover { color: var(--text-inv); border-color: var(--glacier); }
.intro .flake {
  position: absolute;
  top: -4%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--glacier);
  opacity: 0;
  animation: drift linear infinite;
}
.intro.cooling .flake { opacity: 0.5; }
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(110vh); }
}

/* ---------- index hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--text-inv);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(74, 144, 184, 0.14), rgba(74, 144, 184, 0.1)),
    linear-gradient(to top, rgba(19, 31, 57, 0.88) 0%, rgba(19, 31, 57, 0.28) 48%, rgba(19, 31, 57, 0.34) 100%);
}
.hero-inner { padding-block: clamp(4rem, 9vh, 7rem) clamp(4.5rem, 10vh, 7.5rem); }
.hero-lockup {
  width: min(320px, 70%);
  height: auto;
  margin-bottom: 2.2rem;
  filter: drop-shadow(0 2px 14px rgba(19, 31, 57, 0.45));
}
.hero-lockup.sm {
  width: min(230px, 56%);
  margin-bottom: 1.8rem;
}
.hero .display { max-width: 13ch; }
.hero .lede { color: rgba(233, 241, 244, 0.85); margin-top: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero-meta {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-inv);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-inv-soft);
}
.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  right: 2.6rem;
  width: 1px;
  height: 64px;
  background: var(--line-inv);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--glacier);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative;
  background: var(--ink-2);
  color: var(--text-inv);
  padding-top: clamp(9rem, 16vh, 12rem);
  padding-bottom: clamp(3.5rem, 7vh, 5.5rem);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.page-hero.imaged::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(74, 144, 184, 0.12), rgba(74, 144, 184, 0.12)),
    linear-gradient(to right, rgba(19, 31, 57, 0.86) 22%, rgba(19, 31, 57, 0.56));
}
.page-hero .display { max-width: 16ch; }
.page-hero .lede { margin-top: 1.4rem; color: rgba(233, 241, 244, 0.92); }

/* ---------- cards / grids ---------- */
.grid-usp {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.usp {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  background: #fff;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.usp:hover {
  transform: translateY(-5px);
  border-color: var(--glacier);
  box-shadow: 0 18px 40px -22px rgba(11, 17, 23, 0.35);
}
.usp .u-num {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--glacier-deep);
  font-weight: 600;
}
.usp h3 { font-size: 1.35rem; font-weight: 420; margin: 0.9rem 0 0.5rem; }
.usp p { font-size: 0.92rem; color: var(--text-soft); line-height: 1.55; }
.usp .u-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--glacier-deep);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 2rem 1.8rem;
}
.dark .card, .darker .card {
  background: var(--ink-3);
  border-color: var(--line-inv);
}
.card h3 { font-size: 1.3rem; font-weight: 420; margin-bottom: 0.7rem; }
.card p, .card li { font-size: 0.95rem; color: var(--text-soft); }
.dark .card p, .dark .card li { color: var(--text-inv-soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--glacier-soft);
  color: var(--glacier-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.dark .icon-badge { color: var(--glacier); }

/* ---------- image treatments ---------- */
.ph {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  /* .ph.wide/.tall set an aspect-ratio. Where the box is also stretched by
     its grid or flex parent (align-self: stretch), the ratio derives WIDTH
     from that stretched height and the photo overflows its column, scrolling
     the whole page sideways. Clamp the width and let height give way. */
  max-width: 100%;
  min-width: 0;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* cool grade: nudge every photo toward the frost palette */
.ph::after, .spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 144, 184, 0.18);
  mix-blend-mode: color;
  pointer-events: none;
}
.spot::after { z-index: 1; }
.spot-scrim, .spot-grille, .spot-dot, .spot-card { z-index: 2; }
.gallery img { filter: saturate(0.88) brightness(1.03); }
.ph.tall { aspect-ratio: 4 / 4.6; }
.ph.wide { aspect-ratio: 16 / 10; }
.ph .credit {
  position: absolute;
  bottom: 0.7rem;
  right: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}

.band {
  position: relative;
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  color: var(--text-inv);
  isolation: isolate;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(74, 144, 184, 0.12), rgba(74, 144, 184, 0.12)),
    linear-gradient(to top, rgba(19, 31, 57, 0.82), rgba(19, 31, 57, 0.12) 55%);
}
.band-inner { padding-block: 4rem; }
.band .title { max-width: 20ch; }
.band p { max-width: 38rem; color: rgba(233, 241, 244, 0.85); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  border-top: 1px solid var(--line-inv);
  padding-top: 1.6rem;
}
.stat .n {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .n .deg, .stat .n small { color: var(--glacier); }
.stat .n small { font-size: 0.45em; font-weight: 350; letter-spacing: 0; }
.stat p { margin-top: 0.7rem; font-size: 0.9rem; color: var(--text-inv-soft); max-width: 24ch; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.step { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.dark .step { border-color: var(--line-inv); }
.step .s-num {
  font-family: inherit;
  font-style: normal;
  font-size: 1.1rem;
  color: var(--glacier-deep);
}
.dark .step .s-num { color: var(--glacier); }
.step h3 { font-size: 1.25rem; font-weight: 420; margin: 0.8rem 0 0.5rem; }
.step p { font-size: 0.92rem; color: var(--text-soft); }
.dark .step p { color: var(--text-inv-soft); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips span {
  border: 1px solid var(--line-inv);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.85rem;
  color: var(--text-inv-soft);
  transition: border-color 0.3s, color 0.3s;
}
.chips span:hover { border-color: var(--glacier); color: var(--text-inv); }
.chips.on-light span { border-color: var(--line); color: var(--text-soft); }
.chips.on-light span:hover { border-color: var(--glacier-deep); color: var(--text); }

/* ---------- spot the AC ---------- */
.spot { position: relative; border-radius: var(--radius); overflow: hidden; }
.spot img { width: 100%; display: block; }
.spot-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 17, 23, 0.55), transparent 40%);
}
.spot-dot {
  position: absolute;
  top: 13%;
  left: 58%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--glacier);
  border: none;
  cursor: pointer;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 184, 218, 0.7); }
  70% { box-shadow: 0 0 0 22px rgba(127, 184, 218, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 184, 218, 0); }
}
.spot-grille {
  position: absolute;
  top: 12.2%;
  left: 44%;
  width: 24%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to bottom, rgba(11, 17, 23, 0.5), rgba(11, 17, 23, 0.25));
  box-shadow: 0 3px 10px rgba(11, 17, 23, 0.3);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.7s ease, transform 0.9s var(--ease);
}
.spot.revealed .spot-grille { opacity: 1; transform: none; }
.spot.revealed .spot-dot { animation: none; opacity: 0; pointer-events: none; }
.spot-card {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;
  max-width: 24rem;
  background: rgba(27, 42, 74, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-inv);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  color: var(--text-inv);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s var(--ease) 0.25s;
}
.spot.revealed .spot-card { opacity: 1; transform: none; }
.spot-card p { font-size: 0.92rem; color: var(--text-inv-soft); }
.spot-card strong { display: block; font-weight: 500; margin-bottom: 0.3rem; color: var(--text-inv); }

/* ---------- grille SVG motif ---------- */
.grille-motif { color: var(--glacier-deep); opacity: 0.9; }
.dark .grille-motif { color: var(--glacier); }

/* ---------- photo galleries ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.dark .gallery figure, .darker .gallery figure {
  background: var(--ink-3);
  border-color: var(--line-inv);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery figcaption {
  padding: 0.95rem 1.15rem 1.05rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.dark .gallery figcaption, .darker .gallery figcaption { color: var(--text-inv-soft); }
.gallery figcaption strong {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--glacier-deep);
  margin-bottom: 0.3rem;
}
.dark .gallery figcaption strong, .darker .gallery figcaption strong { color: var(--glacier); }

/* ---------- lists ---------- */
.ticks { list-style: none; }
.ticks li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: 0.85rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--glacier-deep);
}
.dark .ticks li::before { border-color: var(--glacier); }

/* ---------- price cards ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .p-from { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-soft); }
.price-card .p-num {
  font-size: 2.7rem;
  font-weight: 220;
  letter-spacing: -0.02em;
  margin: 0.3rem 0 0.9rem;
}
.price-card .p-num small { font-size: 0.4em; color: var(--text-soft); font-weight: 400; letter-spacing: 0; }
.price-card ul { margin-top: auto; }
.price-card.featured { border-color: var(--glacier-deep); box-shadow: 0 24px 50px -30px rgba(34, 103, 127, 0.45); }
.pill-note {
  display: inline-block;
  background: var(--glacier-soft);
  color: var(--glacier-deep);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  align-self: flex-start;
}

/* ---------- calculator ---------- */
.calc {
  border: 1px solid var(--line-inv);
  border-radius: var(--radius);
  background: var(--ink-3);
  padding: 2.2rem;
}
.calc label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-inv-soft);
  margin-bottom: 0.5rem;
}
.calc .row { margin-bottom: 1.6rem; }
.calc select, .calc input[type="number"] {
  width: 100%;
  background: var(--ink-2);
  color: var(--text-inv);
  border: 1px solid var(--line-inv);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
}
.calc input[type="range"] { width: 100%; accent-color: var(--glacier); }
.calc-out {
  border-top: 1px solid var(--line-inv);
  padding-top: 1.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.calc-out .n { font-size: 2.4rem; font-weight: 220; }
.calc-out .n span { color: var(--glacier); }
.calc-out p { font-size: 0.82rem; color: var(--text-inv-soft); }
.calc-note { margin-top: 1.2rem; font-size: 0.78rem; color: var(--text-inv-soft); }

/* ---------- timeline ---------- */
.timeline { list-style: none; border-left: 1px solid var(--line); margin-left: 0.4rem; }
.timeline li { padding: 0 0 1.8rem 1.8rem; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--glacier-deep);
}
.timeline .t-day {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--glacier-deep);
}
.timeline h3 { font-size: 1.15rem; font-weight: 450; margin: 0.25rem 0 0.3rem; }
.timeline p { font-size: 0.93rem; color: var(--text-soft); max-width: 38rem; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--glacier-deep);
  box-shadow: 0 0 0 3px var(--glacier-soft);
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .display { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin: 1.4rem auto 0; }
.cta-band .hero-cta { justify-content: center; }
.cta-phone {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-inv-soft);
}
.cta-phone a { color: var(--text-inv); text-decoration: none; border-bottom: 1px solid var(--glacier); }

/* ---------- footer ---------- */
.site-foot {
  background: var(--ink);
  color: var(--text-inv-soft);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-inv);
}
.site-foot .brand { color: var(--text-inv); }
.foot-grid p { margin-top: 1rem; max-width: 30ch; }
.foot-grid h4 {
  color: var(--text-inv);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 0.55rem; }
.foot-grid a { text-decoration: none; opacity: 0.85; transition: opacity 0.25s, color 0.25s; }
.foot-grid a:hover { opacity: 1; color: var(--glacier); }
.foot-small {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding-top: 2rem;
  font-size: 0.78rem;
  opacity: 0.75;
}

/* ---------- image rotation (crossfade) ---------- */
.rot-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.rot-bg.show { opacity: 1; }
.rot-top {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.rot-top.show { opacity: 1; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid-usp { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav {
    position: fixed;
    inset: 0;
    top: 76px;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 3rem;
    padding-bottom: 3rem;
    gap: 1.6rem;
    background: var(--ink);
    color: var(--text-inv);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-io);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.3rem; }
  .menu-btn { display: block; }
  /* on a phone the fixed header already carries the snowflake and the
     full name, so the hero lockup is the same branding twice on one
     screen — desktop keeps it, there is room there */
  .hero-lockup { display: none; }
  /* while the menu is open the header must not use backdrop-filter:
     it would become the containing block for the fixed panel and
     collapse it to nothing — solid header instead */
  .site-head.menu-open {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    color: var(--text-inv);
  }
  .site-head.menu-open .brand-light { display: block; }
  .site-head.menu-open .brand-navy { display: none; }
  .site-head.menu-open .nav .btn-solid { background: var(--paper); color: var(--ink); }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 1; }
  .split.rev > :last-child { order: 2; }
  .grid-usp { grid-template-columns: 1fr 1fr; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .band { background-attachment: scroll; min-height: 60vh; }
  .scroll-cue { display: none; }
  .hero-meta { gap: 0.4rem 1.4rem; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-usp { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* narrow phones: snowflake + wordmark need 258px, but a 320px screen
   leaves only 230px beside the menu button — the name would run under
   it. Scale the header brand down rather than let it collide. */
@media (max-width: 360px) {
  .site-head .brand img { height: 25px; }
  .site-head .brand img.brand-flake { height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro { display: none; }
  body.locked { overflow: auto; }
  .scroll-cue::after, .spot-dot { animation: none; }
  .band { background-attachment: scroll; }
}
