/* ============================================================
   Purity Pro — v2 design system
   Oxblood accent · Source Serif + Geist + JetBrains Mono
   Sharp corners · 12-col grid · section borders
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --bg: #FAFAF7;
  --bg-2: #F2F1EC;
  --bg-3: #E8E6DE;
  --paper: #FFFFFF;
  --ink: #16140F;
  --ink-2: #2A2823;
  --muted: #6E6A60;
  --muted-2: #9A9588;
  --hair: rgba(22, 20, 15, 0.10);
  --hair-2: rgba(22, 20, 15, 0.18);
  --rule: rgba(22, 20, 15, 0.30);

  --accent: #6B1F1F;
  --accent-soft: #B86E5C;

  --serif: "Source Serif 4", "Times New Roman", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --gutter: 32px;

  /* 4pt spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 48px;
  --sp-9: 64px;
  --sp-10: 80px;
  --sp-11: 96px;
  --sp-12: 128px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s, color 0.3s;
}
body { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
.nav__cta .arrow { max-width: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.display em { font-style: italic; font-weight: 400; color: var(--muted); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}
.body    { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.body-sm { font-size: 13px;   line-height: 1.5;  color: var(--muted); }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.label-ink    { color: var(--ink); }
.label-accent { color: var(--accent); }

.num {
  font-family: var(--serif);
  font-feature-settings: "tnum" on;
  font-variant-numeric: tabular-nums;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--sp-11) 0; border-top: 1px solid var(--hair); }
section:first-of-type { border-top: none; }

.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-5); }
.span-3  { grid-column: span 3; }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .grid-12 > * { grid-column: span 12 !important; }
  section { padding: var(--sp-9) 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
  transition: background 0.3s;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.brand__mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s;
}
.brand__mark::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  transition: background 0.3s;
}
.brand__name { letter-spacing: -0.01em; }
.brand__name small { color: var(--muted); font-weight: 400; font-size: 0.75em; }

.nav__links { display: flex; align-items: center; gap: var(--sp-5); }
.nav__links a {
  font-size: 14px; color: var(--ink-2);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); font-weight: 500; }

/* Language switcher */
.nav__lang {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
}
.nav__lang button {
  font-size: 12px; color: var(--ink);
  padding: 2px 4px; transition: opacity 0.15s;
  line-height: 1;
  opacity: 0.35;
  border-bottom: 1px solid transparent;
}
.nav__lang button:hover { opacity: 0.65; }
.nav__lang button.is-active {
  opacity: 1; font-weight: 600; cursor: default;
  border-bottom-color: var(--ink);
}
.nav__lang span { color: var(--hair-2); user-select: none; opacity: 0.35; }

/* CTA inside nav links — hidden on desktop, shown in drawer on mobile */
.nav__cta-wrap { display: none; }

.nav__cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all 0.15s;
  cursor: pointer;
  background: none;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
}
.nav__cta:hover { background: var(--ink); color: var(--bg); }
.nav__cta:active { transform: scale(0.97); }
.nav__cta .arrow { width: 12px; height: 9px; flex-shrink: 0; transition: transform 0.15s; }
.nav__cta:hover .arrow { transform: translateX(3px); }

/* Hamburger — hidden on desktop */
.nav__toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  position: relative; z-index: 60;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  position: absolute; left: 11px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.is-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 720px) {
  .nav__toggle { display: flex; align-items: center; justify-content: center; }

  /* Links become a vertical drawer below the header */
  .nav__links {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hair);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0;
    z-index: 55;
  }
  .nav__links li { list-style: none; }
  .nav__links a {
    display: block; padding: var(--sp-4) var(--sp-6); font-size: 1rem;
    border-bottom: 1px solid var(--hair);
    border-left: 3px solid transparent;
  }
  .nav__links a:hover { background: var(--bg-2); }
  .nav__links a.active { border-left-color: var(--accent); color: var(--accent); font-weight: 600; }

  /* CTA wrap: show as full-width button at bottom of drawer */
  .nav__cta-wrap { display: block; }
  .nav__cta-wrap .nav__cta {
    display: flex; width: calc(100% - 48px); margin: 8px 24px 16px;
    justify-content: center; border-color: var(--ink);
  }

  /* Open state */
  .is-open .nav__links { display: flex; }

  .nav__lang {
    padding: var(--sp-4) var(--sp-6);
    border-bottom: 1px solid var(--hair);
  }
  .nav__lang button {
    min-height: 44px; min-width: 44px;
    padding: 12px 4px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { border-color: var(--hair-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-2); }
.btn .arrow { width: 12px; height: 9px; transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding-top: var(--sp-8); padding-bottom: var(--sp-10); }

.hero-meta {
  display: flex; justify-content: space-between;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--hair);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap; gap: var(--sp-3);
}
.hero-meta .label-accent::before {
  content: "\25CF";
  margin-right: 8px;
  animation: pulse 2.4s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Data card */
.data-card {
  background: var(--paper);
  border: 1px solid var(--hair-2);
  padding: var(--sp-6);
}
.data-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--hair);
}
.data-row {
  display: grid; grid-template-columns: 1fr auto;
  padding: var(--sp-3) 0; font-size: 13.5px;
  border-bottom: 1px dashed var(--hair); gap: var(--sp-4);
}
.data-row:last-child { border-bottom: none; }
.data-row span:first-child { color: var(--muted); }
.data-row span:last-child { font-family: var(--mono); font-feature-settings: "tnum" on; color: var(--ink); }

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  margin-top: var(--sp-10);
}
.stat { padding: var(--sp-5) var(--sp-5); border-right: 1px solid var(--hair); }
.stat:last-child { border-right: none; }
.stat .num-big {
  font-family: var(--serif); font-size: 36px;
  letter-spacing: -0.02em; line-height: 1;
  font-feature-settings: "tnum" on;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hair); }
}

/* ---------- Service ---------- */
.service-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
}
.service-step {
  padding: var(--sp-6) var(--sp-6) var(--sp-6) 0;
  border-right: 1px solid var(--hair);
}
.service-step:last-child { border-right: none; padding-right: 0; }
.service-step:not(:first-child) { padding-left: var(--sp-6); }
.service-step h3 { margin-bottom: var(--sp-3); }
.service-step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; }
  .service-step {
    border-right: none; border-bottom: 1px solid var(--hair);
    padding: 28px 0 !important;
  }
}

/* ---------- Checklist ---------- */
.checklist {
  background: var(--paper); border: 1px solid var(--hair);
  padding: var(--sp-6); margin-top: var(--sp-5);
}
.checklist h3 {
  margin: 0 0 var(--sp-5); font-family: var(--serif);
  font-size: 1.15rem; font-weight: 400;
}
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: var(--sp-4) 0; border-top: 1px solid var(--hair);
  display: flex; gap: var(--sp-4); align-items: flex-start;
}
.checklist li:first-child { border-top: none; }
.checklist li::before {
  content: ""; display: inline-block; flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B1F1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

/* ---------- Comparison table ---------- */
.spec-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--sans);
}
.spec-table th, .spec-table td {
  text-align: left; padding: 16px 20px;
  border-bottom: 1px solid var(--hair); font-size: 14.5px; vertical-align: top;
}
.spec-table thead th {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
  padding-top: 0; padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.spec-table tbody th { font-weight: 400; color: var(--muted); padding-left: 0; width: 28%; }
.spec-table td { font-family: var(--mono); font-feature-settings: "tnum" on; color: var(--ink); }
.spec-table td.text { font-family: var(--sans); color: var(--ink-2); }

.specs-download {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding: var(--sp-3) var(--sp-5);
  background: var(--paper);
  border: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.specs-download:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- Price per kilo ---------- */
.price-hero {
  margin-bottom: var(--sp-4);
}
.price-hero__label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}
.price-hero__row {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.price-hero__amount {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-feature-settings: "tnum" on;
}
.price-hero__unit {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  color: var(--muted);
}
.price-hero__note {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: var(--sp-2);
}

/* ---------- Calculator ---------- */
.calc-card { background: var(--paper); border: 1px solid var(--hair); padding: var(--sp-7); }
.calc-input { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.calc-input .num-big {
  font-family: var(--serif); font-size: 84px;
  letter-spacing: -0.02em; line-height: 1; font-feature-settings: "tnum" on;
}
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px; background: var(--hair-2); outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); cursor: pointer; transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); cursor: pointer; border: none;
}
.calc-out { background: var(--ink); color: var(--bg); padding: var(--sp-7); }
.calc-out .label { color: var(--muted-2); }
.calc-out .accent-num { color: var(--accent-soft); }

/* savings emphasis */
.calc-savings-label {
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted-2);
}
.calc-savings-label strong {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.calc-savings-num span {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-feature-settings: "tnum" on;
  display: block;
}
.calc-break-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13.5px; color: var(--muted-2);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-2);
}
.calc-break-val {
  font-family: var(--mono); color: var(--accent-soft);
  font-size: 20px; font-weight: 500;
}

/* Mobile calc-out: hidden on desktop, visible above slider on mobile */
.calc-out--inline {
  display: none;
  margin-bottom: var(--sp-7);
}
@media (max-width: 900px) {
  .calc-out--inline {
    display: block;
  }
  .span-5 > .calc-out {
    display: none;
  }
}

/* ---------- Cost comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-top: var(--sp-6); }
.compare__col {
  background: var(--paper); border: 1px solid var(--hair);
  padding: var(--sp-6);
}
.compare__col--featured {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.compare__col h3 {
  font-family: var(--serif); font-weight: 400;
  margin: 0 0 4px; font-size: 1.2rem; letter-spacing: -0.01em;
}
.compare__col .price {
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 400; margin: 12px 0 4px;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.compare__col .price small { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.compare__col .price-note { color: var(--muted); font-size: 0.88rem; margin: 0 0 24px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; }
.compare__col li {
  padding: 10px 0; border-top: 1px solid var(--hair);
  color: var(--ink-2); display: flex; justify-content: space-between; font-size: 0.92rem;
}
.compare__col li:first-child { border-top: none; }
.compare__col li strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Estimator controls ---------- */
.estimator { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }

.field { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field label {
  font-size: 0.88rem; color: var(--ink); font-weight: 600;
  font-family: var(--sans);
}
.field input {
  padding: 10px 14px; border: 1px solid var(--hair-2); border-radius: 0;
  font-size: 1rem; background: var(--paper); color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107, 31, 31, 0.1); }
.field .hint { font-size: 0.78rem; color: var(--muted); }

.savings-panel {
  background: var(--ink); color: var(--bg);
  padding: var(--sp-6); margin-top: var(--sp-6);
}
.savings-panel h3 {
  margin: 0 0 var(--sp-2); font-size: 1rem; font-weight: 500; opacity: 0.9;
  font-family: var(--sans);
}
.savings-panel .savings-big {
  font-family: var(--serif);
  font-size: 3.2rem; font-weight: 400; margin: var(--sp-2) 0;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.savings-panel .savings-note { opacity: 0.85; font-size: 0.9rem; }
.savings-panel .breakdown {
  margin-top: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: var(--sp-4);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3);
}
.savings-panel .breakdown div { font-size: 0.9rem; opacity: 0.9; }
.savings-panel .breakdown strong {
  display: block; font-size: 1.3rem; font-weight: 400;
  font-family: var(--serif); font-variant-numeric: tabular-nums;
}

/* ---------- Cards (generic) ---------- */
.card {
  background: var(--paper); border: 1px solid var(--hair);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 400; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--ink-2); line-height: 1.6; }

/* ---------- Cycle diagram ---------- */
.cycle-diagram { max-width: 720px; margin: var(--sp-7) auto 0; }
.cycle-diagram svg { width: 100%; height: auto; display: block; }

.cycle-orbit { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 7; opacity: 0.22; }

.cycle-arrow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-dasharray: 8 6;
  stroke-linecap: round;
  animation: cycle-flow 1.4s linear infinite;
}
@keyframes cycle-flow { to { stroke-dashoffset: -14; } }

.cycle-center {
  transform-box: fill-box;
  transform-origin: center;
  animation: cycle-pulse 3.2s ease-in-out infinite;
}
@keyframes cycle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.cycle-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: cycle-node-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.cycle-nodes .cycle-node:nth-child(1) { animation-delay: 0.15s; }
.cycle-nodes .cycle-node:nth-child(2) { animation-delay: 0.28s; }
.cycle-nodes .cycle-node:nth-child(3) { animation-delay: 0.41s; }
.cycle-nodes .cycle-node:nth-child(4) { animation-delay: 0.54s; }
@keyframes cycle-node-in {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .cycle-arrow { animation: none; stroke-dasharray: none; }
  .cycle-center { animation: none; }
  .cycle-node { animation: none; opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--sp-10) 0 var(--sp-6);
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8); margin-bottom: var(--sp-9);
}
.footer-grid h5 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: var(--sp-4);
}
.footer-grid ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-grid a { color: var(--ink-2); font-size: 14px; transition: color 0.15s; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
  padding-top: var(--sp-6); border-top: 1px solid var(--hair);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase;
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.gallery-grid a {
  display: block; cursor: zoom-in;
  line-height: 0;
  transition: opacity 0.2s;
}
.gallery-grid a:hover { opacity: 0.85; }
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
  background: var(--bg-2);
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(22, 20, 15, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center; align-items: center;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  cursor: default;
}
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  color: var(--bg); font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.15s;
}
.lightbox__close:hover { opacity: 0.7; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: var(--sp-5); max-width: 640px; margin-top: var(--sp-7); }
.contact-form .field { display: grid; gap: var(--sp-2); }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.contact-form label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans); font-size: 15px;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--hair);
  padding: var(--sp-3) var(--sp-4);
  width: 100%; box-sizing: border-box;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-submit {
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; color: var(--bg);
  background: var(--ink); border: none;
  padding: var(--sp-4) var(--sp-6);
  cursor: pointer; transition: background 0.15s;
  justify-self: start;
}
.contact-submit:hover { background: var(--accent); }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.contact-status {
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--hair);
}
.contact-status--success { color: var(--ink-2); background: var(--bg-2); border-color: var(--hair-2); }
.contact-status--error { color: var(--accent); background: var(--bg-2); border-color: var(--accent); }
.contact-direct {
  margin-top: var(--sp-7); font-size: 14px; color: var(--muted);
}
.contact-direct a { color: var(--ink); }

@media (max-width: 640px) {
  .contact-form .field-row { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* ---------- Motion ---------- */
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade {
  opacity: 0;
  animation: fadeIn 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.2s; }
.d4 { animation-delay: 0.28s; }

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .fade { transition: none; opacity: 1; transform: none; animation: none; }
  .nav__toggle span { transition: none; }
  .nav__cta .arrow,
  .nav__cta:hover .arrow,
  .btn .arrow,
  .btn:hover .arrow { transition: none; transform: none; }
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
}

/* ---------- Imprint / legal pages ---------- */
.imprint-block {
  max-width: 640px;
  margin-top: var(--sp-7);
}
.imprint-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14.5px;
}
.imprint-row:first-child {
  border-top: 1px solid var(--hair);
}
.imprint-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.legal-placeholder {
  margin-top: var(--sp-7);
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-content {
  margin-top: var(--sp-7);
  max-width: 720px;
}
.legal-content h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-7);
}
.legal-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: var(--sp-5);
}
.footer-legal {
  display: flex;
  gap: var(--sp-5);
}
.footer-legal a {
  color: var(--muted);
  transition: color 0.15s;
}
.footer-legal a:hover {
  color: var(--ink);
}
@media (max-width: 640px) {
  .imprint-row {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }
  .footer-legal {
    flex-wrap: wrap;
    gap: var(--sp-3);
  }
}