/* ==========================================================================
   KY LUXURY BATH — Editorial design system
   --------------------------------------------------------------------------
   Rules this system holds to, deliberately:
     · No gradients on interactive elements. No glows. No coloured shadows.
     · Radius is 0 everywhere. Corners are corners.
     · One accent (clay), used no more than three times per screen.
     · Structure is carried by 1px hairlines and whitespace, not by boxes.
     · Type does the work: 90px display serif against 11px mono captions.
     · The grid is asymmetric. Images break the container on purpose.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ground */
  --bone:    #F4F1EA;
  --bone-2:  #EAE5D9;
  --paper:   #FBFAF6;
  --ink:     #16150F;
  --ink-2:   #262419;
  --ink-3:   #57534A;
  --ink-4:   #8C877B;

  /* Accent — used sparingly */
  --clay:    #8C4A2F;
  --clay-2:  #A85E3F;

  /* Lines */
  --rule:    rgba(22, 21, 15, 0.14);
  --rule-2:  rgba(22, 21, 15, 0.30);
  --rule-d:  rgba(244, 241, 234, 0.16);
  --rule-d2: rgba(244, 241, 234, 0.34);

  /* Type */
  --display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Metrics */
  --maxw:    1360px;
  --narrow:  760px;
  --gutter:  clamp(20px, 4.6vw, 60px);
  --sec-y:   clamp(72px, 10vw, 152px);
  --marker-w: clamp(0px, 14vw, 190px);

  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--bone); }

/* ---------- Type scale ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

/* The mono caption — this system's signature */
.marker {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
}
.marker--clay { color: var(--clay); }
.on-ink .marker, .sec--ink .marker { color: rgba(244, 241, 234, 0.5); }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 54ch;
}
.muted { color: var(--ink-4); }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--narrow); }

.sec { padding-block: var(--sec-y); position: relative; }
.sec--ink { background: var(--ink); color: var(--bone); }
.sec--ink h1, .sec--ink h2, .sec--ink h3 { color: var(--bone); }
.sec--ink .lede { color: rgba(244, 241, 234, 0.62); }
.sec--ink .muted { color: rgba(244, 241, 234, 0.44); }
.sec--paper { background: var(--paper); }
.sec--tint { background: var(--bone-2); }
.sec--ruled { border-top: 1px solid var(--rule); }
.pagehead + .sec, .pagehead + .trustbar + .sec { padding-top: clamp(48px, 6vw, 90px); }
.sec--ink.sec--ruled { border-top-color: var(--rule-d); }

/* Section head: mono marker in the left margin, display type in the wide column */
.sec-head {
  display: grid;
  grid-template-columns: var(--marker-w) minmax(0, 1fr);
  gap: 0 clamp(16px, 3vw, 48px);
  padding-bottom: clamp(38px, 5vw, 66px);
}
.sec-head__body { max-width: none; }
.sec-head__body h2 { max-width: 17ch; }
.sec-head h2 + .lede { margin-top: 22px; max-width: 50ch; }
.sec-head .lede { max-width: 50ch; }
.sec-head--wide .sec-head__body h2 { max-width: none; }

/* Generic grids */
.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

.btn--clay { background: var(--clay); border-color: var(--clay); color: var(--paper); }
.btn--clay:hover { background: var(--ink); border-color: var(--ink); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.btn--onink { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--onink:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

.btn--onink-outline { background: transparent; color: var(--bone); border-color: var(--rule-d2); }
.btn--onink-outline:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }

.btn--lg { padding: 20px 38px; font-size: 0.74rem; }
.btn--block { width: 100%; }

/* Text link with a rule under it — the quiet CTA */
.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding-bottom: 7px;
  border-bottom: 1px solid var(--rule-2);
  transition: gap 0.25s var(--ease), border-color 0.25s, color 0.25s;
}
.tlink:hover { gap: 16px; border-color: var(--clay); color: var(--clay); }
.on-ink .tlink { border-color: var(--rule-d2); }
.on-ink .tlink:hover { border-color: var(--bone); color: var(--bone); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
}
.header__promo {
  background: var(--ink); color: rgba(244, 241, 234, 0.85);
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; padding: 9px 16px;
}
.header__promo a { color: var(--bone); border-bottom: 1px solid rgba(244,241,234,.45); padding-bottom: 1px; }
.header__promo a:hover { border-color: var(--bone); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.logo { display: flex; align-items: baseline; gap: 11px; flex-shrink: 0; }
.logo__name {
  font-family: var(--display); font-size: 1.42rem; letter-spacing: -0.01em; line-height: 1;
}
.logo__sub {
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-4);
}
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a {
  font-size: 0.83rem; font-weight: 500; color: var(--ink-3); white-space: nowrap;
  padding-block: 4px; border-bottom: 1px solid transparent; transition: 0.2s;
}
.nav a:hover { color: var(--ink); border-color: var(--ink); }
.nav a.is-active { color: var(--ink); border-color: var(--clay); }
.header__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header__phone { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.header__phone small {
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--ink-4);
}
.header__phone strong { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.header__phone:hover strong { color: var(--clay); }

.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: 0.25s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--ink); transition: 0.25s;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bone); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  min-height: min(72vh, 700px);
  padding-block: clamp(48px, 6vw, 92px);
}
.hero__copy { max-width: 660px; position: relative; z-index: 2; }
.hero__copy .marker { margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.3rem); margin-bottom: 26px; line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-3); max-width: 46ch; margin-bottom: 34px; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--rule); margin-bottom: 34px;
}
.hero__points li {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 13px 22px 13px 0; margin-right: 22px;
  border-bottom: 1px solid var(--rule); flex: 1 1 44%;
}
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Photo bleeds off the right edge of the viewport */
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 44vw; z-index: 0;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bone) 0%, rgba(244,241,234,0) 26%);
}

/* Quiz panel overlaps the photo's left edge — the signature move */
.hero__panel { position: relative; z-index: 3; justify-self: end; width: 100%; max-width: 460px; }

/* ---------- Quiz ---------- */
.quiz {
  background: var(--ink);
  color: var(--bone);
  border-radius: 0;
  position: relative;
}
.quiz__head { padding: 30px 32px 0; }
.quiz__title { font-family: var(--display); font-size: 1.72rem; line-height: 1.02; margin-bottom: 10px; }
.quiz__note { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(244,241,234,.46); }
.quiz__progress { display: flex; gap: 0; padding: 24px 32px 0; }
.quiz__progress span { height: 1px; flex: 1; background: rgba(244,241,234,.20); transition: background 0.35s; }
.quiz__progress span.is-done { background: var(--clay-2); height: 2px; }
.quiz__body { padding: 26px 32px 32px; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: rise 0.45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz__q { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(244,241,234,.55); margin-bottom: 18px; }
.quiz__options { display: grid; gap: 0; border-top: 1px solid rgba(244,241,234,.16); }
.quiz__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 4px; width: 100%; text-align: left;
  font-size: 0.98rem; font-weight: 400; color: var(--bone);
  border-bottom: 1px solid rgba(244,241,234,.16);
  transition: padding 0.25s var(--ease), color 0.2s, background 0.2s;
}
.quiz__opt span:last-child { font-family: var(--mono); font-size: 0.7rem; color: rgba(244,241,234,.35); transition: 0.2s; }
.quiz__opt:hover { padding-left: 14px; padding-right: 14px; background: rgba(244,241,234,.05); }
.quiz__opt:hover span:last-child { color: var(--clay-2); }
.quiz__opt.is-picked { color: var(--clay-2); }
.quiz__field { margin-bottom: 0; }
.quiz__field input {
  width: 100%; padding: 15px 2px;
  background: transparent; border: none;
  border-bottom: 1px solid rgba(244,241,234,.22);
  color: var(--bone); font-size: 0.96rem; border-radius: 0;
}
.quiz__field input::placeholder { color: rgba(244,241,234,.38); }
.quiz__field input:focus { outline: none; border-bottom-color: var(--clay-2); }
.quiz__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.quiz form .btn { margin-top: 26px; }
.quiz__back {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(244,241,234,.42); margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
}
.quiz__back:hover { color: var(--bone); }
.quiz__fine { font-size: 0.72rem; color: rgba(244,241,234,.38); margin-top: 16px; line-height: 1.5; }
.quiz__trust {
  display: flex; align-items: center; gap: 9px;
  padding: 15px 32px; border-top: 1px solid rgba(244,241,234,.16);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.11em; text-transform: uppercase;
  color: rgba(244,241,234,.4);
}
.quiz__success { padding: 10px 0 6px; }
.quiz__success h3 { margin-bottom: 14px; }

/* Quiz on a light ground (contact page) */
.quiz--light { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
.quiz--light .quiz__note, .quiz--light .quiz__q { color: var(--ink-4); }
.quiz--light .quiz__trust { border-top-color: var(--rule); color: var(--ink-4); }
.quiz--light .quiz__fine { color: var(--ink-4); }

/* ---------- Trust strip ---------- */
.trustbar { background: var(--ink); color: var(--bone); }
.trustbar__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.trustbar__item { padding: 30px clamp(18px, 2vw, 30px); border-right: 1px solid rgba(244,241,234,.14); }
.trustbar__item:last-child { border-right: none; }
.trustbar__item .marker { margin-bottom: 10px; }
.trustbar__item strong { display: block; font-size: 0.96rem; font-weight: 500; line-height: 1.3; }

/* ---------- Index rows (services as a list, not cards) ---------- */
.idx { border-top: 1px solid var(--rule); }
.sec--ink .idx { border-top-color: var(--rule-d); }
.idx__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.35fr) 150px 40px;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left 0.4s var(--ease);
}
.sec--ink .idx__row { border-bottom-color: var(--rule-d); }
.idx__row:hover { padding-left: 20px; }
.idx__n { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-4); letter-spacing: 0.08em; }
.idx__title { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.95rem); line-height: 1.02; }
.idx__desc { font-size: 0.9rem; color: var(--ink-3); line-height: 1.5; }
.idx__price { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink); white-space: nowrap; }
.idx__go { font-family: var(--mono); font-size: 0.9rem; color: var(--ink-4); text-align: right; transition: 0.3s var(--ease); }
.idx__row:hover .idx__go { color: var(--clay); transform: translateX(6px); }
.idx__row:hover .idx__title { color: var(--clay); }
/* Hover photo peek — desktop only */
.idx__peek {
  position: absolute; right: 6%; top: 50%;
  width: 300px; aspect-ratio: 4/3; z-index: 5;
  transform: translateY(-50%) scale(0.96); opacity: 0;
  pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  overflow: hidden;
}
.idx__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 981px) {
  .idx__row:hover .idx__peek { opacity: 1; transform: translateY(-50%) scale(1); }
  .idx__row:hover .idx__price { opacity: 0; }
  .idx__price { transition: opacity 0.3s var(--ease); }
}
.idx__thumb { display: none; }

/* ---------- Split feature ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.split--flip .split__media { order: 2; }
.split__media { aspect-ratio: 4/3; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 3/4; }

/* Full-bleed media that escapes the container on one side */
.bleed-l, .bleed-r { position: relative; }
.bleed-l { margin-left: calc((100vw - min(100vw, var(--maxw))) / -2 - var(--gutter)); }
.bleed-r { margin-right: calc((100vw - min(100vw, var(--maxw))) / -2 - var(--gutter)); }

.checklist { display: grid; margin-top: 30px; border-top: 1px solid var(--rule); }
.sec--ink .checklist { border-top-color: var(--rule-d); }
.checklist li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
  font-size: 0.94rem; color: var(--ink-3); line-height: 1.55;
}
.sec--ink .checklist li { border-bottom-color: var(--rule-d); color: rgba(244,241,234,.66); }
.checklist li::before {
  content: counter(li, decimal-leading-zero);
  counter-increment: li;
  font-family: var(--mono); font-size: 0.64rem; color: var(--ink-4); padding-top: 4px;
}
.checklist { counter-reset: li; }
.checklist li strong { color: var(--ink); font-weight: 600; }
.sec--ink .checklist li strong { color: var(--bone); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--rule); }
.sec--ink .steps { border-top-color: var(--rule-d); }
.step { padding: 30px 26px 34px 0; border-right: 1px solid var(--rule); counter-increment: st; }
.sec--ink .step { border-right-color: var(--rule-d); }
.step:last-child { border-right: none; }
.steps { counter-reset: st; }
.step::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--mono); font-size: 0.66rem; color: var(--clay);
  display: block; margin-bottom: 20px; letter-spacing: 0.1em;
}
.step h4 { margin-bottom: 9px; }
.step p { font-size: 0.87rem; color: var(--ink-3); line-height: 1.5; }
.sec--ink .step p { color: rgba(244,241,234,.55); }

/* ---------- Before / After ---------- */
.ba {
  position: relative; overflow: hidden; aspect-ratio: 16/11;
  cursor: ew-resize; user-select: none; touch-action: none; background: var(--bone-2);
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__layer--after { clip-path: inset(0 0 0 50%); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--bone); z-index: 3; pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; background: var(--bone); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.7rem;
}
.ba__label {
  position: absolute; bottom: 0; z-index: 4;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--ink); color: var(--bone); padding: 7px 13px; pointer-events: none;
}
.ba__label--before { left: 0; }
.ba__label--after { right: 0; background: var(--bone); color: var(--ink); }

/* ---------- Pricing table (no cards) ---------- */
.tiers { border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.sec--ink .tiers { border-top-color: var(--rule-d); }
.tier { padding: 34px 30px 36px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.sec--ink .tier { border-right-color: var(--rule-d); }
.tier:last-child { border-right: none; }
.tier__name { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.tier__name h3 { font-size: 1.5rem; }
.tier__flag { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.tier__sub { font-size: 0.84rem; color: var(--ink-4); margin-bottom: 26px; }
.sec--ink .tier__sub { color: rgba(244,241,234,.45); }
.tier__range {
  font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px;
}
.tier__mo { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; color: var(--ink-4); margin-bottom: 28px; }
.sec--ink .tier__mo { color: rgba(244,241,234,.45); }
.tier ul { flex: 1; border-top: 1px solid var(--rule); margin-bottom: 28px; }
.sec--ink .tier ul { border-top-color: var(--rule-d); }
.tier li { font-size: 0.87rem; color: var(--ink-3); padding: 12px 0; border-bottom: 1px solid var(--rule); line-height: 1.45; }
.sec--ink .tier li { border-bottom-color: var(--rule-d); color: rgba(244,241,234,.6); }

/* ---------- Financing calculator ---------- */
.calc { border-top: 1px solid var(--rule); padding-top: 30px; }
.sec--ink .calc { border-top-color: var(--rule-d); }
.calc__out { display: flex; align-items: baseline; gap: 14px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.sec--ink .calc__out { border-bottom-color: var(--rule-d); }
.calc__amount { font-family: var(--display); font-size: clamp(3.2rem, 8vw, 5rem); line-height: 0.9; letter-spacing: -0.03em; }
.calc__label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.sec--ink .calc__label { color: rgba(244,241,234,.45); }
.calc__field { margin-bottom: 28px; }
.calc__field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 14px;
}
.calc__field label span { font-size: 0.95rem; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.sec--ink .calc__field label span { color: var(--bone); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 1px;
  background: var(--rule-2); outline: none;
}
.sec--ink input[type="range"] { background: var(--rule-d2); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px;
  background: var(--clay); cursor: pointer; border-radius: 0;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; background: var(--clay); cursor: pointer; border: none; border-radius: 0;
}
.calc__terms { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule-2); }
.sec--ink .calc__terms { border-color: var(--rule-d2); }
.calc__term {
  padding: 13px 6px; text-align: center; border-right: 1px solid var(--rule-2);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; transition: 0.2s;
}
.sec--ink .calc__term { border-right-color: var(--rule-d2); }
.calc__term:last-child { border-right: none; }
.calc__term:hover { background: rgba(140, 74, 47, 0.1); }
.calc__term.is-picked { background: var(--clay); color: var(--paper); }
.calc__fine { font-size: 0.71rem; color: var(--ink-4); margin-top: 22px; line-height: 1.55; }
.sec--ink .calc__fine { color: rgba(244,241,234,.38); }

/* ---------- Reviews as pull-quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--rule); }
.sec--ink .quotes { border-top-color: var(--rule-d); }
.quote { padding: 34px 34px 36px 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.sec--ink .quote { border-color: var(--rule-d); }
.quote:last-child { border-right: none; }
.stars { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.28em; color: var(--clay); margin-bottom: 22px; }
.quote blockquote {
  font-family: var(--display); font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.28; letter-spacing: -0.01em; flex: 1;
}
.quote__who { margin-top: 26px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.11em; text-transform: uppercase; }
.quote__who span { color: var(--ink-4); }
.sec--ink .quote__who span { color: rgba(244,241,234,.42); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.sec--ink .faq { border-top-color: var(--rule-d); }
.faq__item { border-bottom: 1px solid var(--rule); }
.sec--ink .faq__item { border-bottom-color: var(--rule-d); }
.faq__q {
  width: 100%; display: grid; grid-template-columns: 54px minmax(0,1fr) 30px;
  align-items: start; gap: 10px; padding: 26px 0; text-align: left;
  font-family: var(--display); font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.15;
  transition: color 0.2s;
}
.faq__q::before {
  content: counter(fq, decimal-leading-zero); counter-increment: fq;
  font-family: var(--mono); font-size: 0.64rem; color: var(--ink-4); padding-top: 8px; letter-spacing: 0.08em;
}
.faq { counter-reset: fq; }
.faq__q:hover { color: var(--clay); }
.faq__icon { font-family: var(--mono); font-size: 1rem; color: var(--ink-4); text-align: right; padding-top: 5px; transition: transform 0.3s var(--ease); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq__a p {
  padding: 0 30px 28px 54px; color: var(--ink-3); font-size: 0.95rem; line-height: 1.62; max-width: 68ch;
}
.sec--ink .faq__a p { color: rgba(244,241,234,.6); }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.sec--ink .areas { border-top-color: var(--rule-d); }
.area-col {
  padding: 30px 30px 34px 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sec--ink .area-col { border-color: var(--rule-d); }
.area-col:nth-child(3n) { border-right: none; }
.area-col:nth-last-child(-n+3) { border-bottom: none; }
.area-col h4 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: 20px; font-weight: 500; }
.area-col li { font-size: 0.89rem; color: var(--ink-3); padding: 5px 0; }
.sec--ink .area-col li { color: rgba(244,241,234,.58); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--rule); }
.sec--ink .stats { border-top-color: var(--rule-d); }
.stat { padding: 30px 24px 34px 0; border-right: 1px solid var(--rule); }
.sec--ink .stat { border-right-color: var(--rule-d); }
.stat:last-child { border-right: none; }
.stat__n { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 0.9; letter-spacing: -0.03em; }
.stat__l { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin-top: 14px; }
.sec--ink .stat__l { color: rgba(244,241,234,.42); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 40px; }
.filter {
  padding: 15px 22px 15px 0; margin-right: 22px;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); transition: 0.2s;
}
.filter:hover { color: var(--ink); }
.filter.is-picked { color: var(--clay); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.gallery__item { position: relative; overflow: hidden; }
.gallery__item > img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item:hover > img { transform: scale(1.04); }
.gallery__cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 14px 0 0; font-size: 0.88rem; font-weight: 500;
}
.gallery__cap span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; }
/* Make every 5th image span two columns — breaks the grid rhythm on purpose */
.gallery__item:nth-child(5n+1) { grid-column: span 2; }
.gallery__item:nth-child(5n+1) > img { aspect-ratio: 16/9; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--bone); }
.cta-band__grid { display: grid; grid-template-columns: var(--marker-w) minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 48px); align-items: end; }
.cta-band h2 { max-width: 24ch; margin-bottom: 26px; }
.cta-band .lede { margin-bottom: 38px; }
.cta-band__row { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }

/* ---------- Page head ---------- */
.pagehead { border-bottom: 1px solid var(--rule); padding-block: clamp(44px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.pagehead .crumbs { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 30px; }
.pagehead .crumbs a:hover { color: var(--clay); }
.pagehead h1 { max-width: 15ch; }
.pagehead .lede { margin-top: 26px; }
.pagehead__grid { display: grid; grid-template-columns: var(--marker-w) minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 48px); }

/* ---------- Contact form ---------- */
.form-grid { display: grid; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .f { border-bottom: 1px solid var(--rule); padding: 14px 0 12px; }
.form-grid label {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-4); display: block; margin-bottom: 8px;
}
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; background: transparent; border: none; border-radius: 0;
  font-size: 0.96rem; padding: 2px 0;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; }
.form-grid .f:focus-within { border-bottom-color: var(--clay); }
.form-grid textarea { min-height: 84px; resize: vertical; }
.form-grid .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bone); padding-top: clamp(56px, 7vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.footer .logo__name { color: var(--bone); }
.footer__about p { font-size: 0.87rem; color: rgba(244,241,234,.5); margin-top: 22px; max-width: 34ch; line-height: 1.6; }
.footer h5 { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(244,241,234,.42); font-weight: 500; margin-bottom: 20px; }
.footer ul { display: grid; gap: 11px; }
.footer li, .footer li a { font-size: 0.88rem; color: rgba(244,241,234,.66); transition: color 0.2s; }
.footer li a:hover { color: var(--bone); }
.footer__bottom {
  border-top: 1px solid rgba(244,241,234,.14); padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244,241,234,.38);
}

/* ---------- WhatsApp ---------- */
/* Deliberately NOT WhatsApp green — the glyph carries the recognition, and a
   neon bubble would break the one-accent rule the rest of the system holds to. */
.header__wa a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--rule-2); color: var(--ink-3);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.header__wa a:hover { color: var(--paper); background: var(--clay); border-color: var(--clay); }

.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bone);
  /* Hairline ring so the button still reads when it floats over an ink section */
  border: 1px solid var(--bone);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}
.wa-float:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-2px); }

/* WhatsApp beside a phone number in a CTA row */
.wa-inline {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding-bottom: 7px;
  border-bottom: 1px solid var(--rule-2);
  transition: gap 0.25s var(--ease), color 0.25s, border-color 0.25s;
}
.wa-inline:hover { gap: 14px; color: var(--clay); border-color: var(--clay); }
.sec--ink .wa-inline { border-bottom-color: var(--rule-d2); }
.sec--ink .wa-inline:hover { color: var(--bone); border-color: var(--bone); }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--ink); border-top: 1px solid rgba(244,241,234,.16);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  padding: 17px 10px; text-align: center;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--bone); border-right: 1px solid rgba(244,241,234,.16);
}
.callbar a:last-child { background: var(--clay); border-right: none; }
.callbar--3 { grid-template-columns: 0.85fr 1.15fr 1fr; }
.callbar__wa { display: flex; align-items: center; justify-content: center; gap: 7px; }
.callbar__wa svg { flex-shrink: 0; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(22, 21, 15, 0.86);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: 0.3s; overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  background: var(--bone); max-width: 460px; width: 100%; padding: 44px 40px 40px;
  position: relative; transform: translateY(14px); transition: transform 0.35s var(--ease); margin: auto;
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 16px; right: 18px; font-family: var(--mono); font-size: 0.9rem; color: var(--ink-4); }
.modal__close:hover { color: var(--clay); }
.modal__offer { font-family: var(--display); font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; margin: 16px 0 12px; }
.modal form { margin-top: 26px; display: grid; gap: 0; }
.modal input {
  width: 100%; padding: 14px 0; background: transparent;
  border: none; border-bottom: 1px solid var(--rule); border-radius: 0;
}
.modal input:focus { outline: none; border-bottom-color: var(--clay); }
.modal .btn { margin-top: 24px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .idx__row { grid-template-columns: 50px minmax(0, 1fr) 130px 30px; }
  .idx__desc { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --marker-w: 0px; }
  .sec-head, .cta-band__grid, .pagehead__grid { grid-template-columns: 1fr; }
  .sec-head .marker, .cta-band__grid .marker, .pagehead__grid .marker { margin-bottom: 22px; }
  .hero { display: flex; flex-direction: column; }
  .hero .wrap { order: 1; }
  .hero__media {
    order: 2; position: relative; top: auto; bottom: auto; right: auto;
    width: 100vw; margin-left: calc(50% - 50vw);
    height: 58vw; max-height: 380px;
  }
  .hero__media::after { background: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 34px; }
  .hero__panel { max-width: none; justify-self: stretch; margin-top: 8px; }
  .split, .split--flip .split__media { grid-template-columns: 1fr; order: 0; }
  .bleed-l, .bleed-r { margin-inline: 0; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: var(--bone); border-left: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 110px 30px 30px; gap: 0;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    z-index: 99; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { font-family: var(--display); font-size: 1.5rem; padding: 15px 0; border-bottom: 1px solid var(--rule); }
  .nav a.is-active { border-color: var(--rule); color: var(--clay); }
  .burger { display: flex; z-index: 101; }
  .header__actions .btn { display: none; }
  .callbar { display: grid; }
  .wa-float { display: none; }
  body { padding-bottom: 56px; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-col:nth-child(3n) { border-right: 1px solid var(--rule); }
  .area-col:nth-child(2n) { border-right: none; }
  .area-col:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .area-col:nth-last-child(-n+2) { border-bottom: none; }
  .step, .tier, .stat, .quote { border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .sec--ink .step, .sec--ink .tier, .sec--ink .area-col, .sec--ink .stat, .sec--ink .quote { border-bottom-color: var(--rule-d); }
  .gallery__item:nth-child(5n+1) { grid-column: span 1; }
  .gallery__item:nth-child(5n+1) > img { aspect-ratio: 4/3; }
  .idx__peek { display: none; }
}
@media (max-width: 620px) {
  .header__inner { min-height: 62px; gap: 12px; }
  .logo__name { font-size: 1.2rem; }
  .logo__sub { display: none; }
  .header__phone strong { font-size: 0.92rem; }
  .header__promo { font-size: 0.56rem; letter-spacing: 0.1em; }
  .hero__points li { flex: 1 1 100%; margin-right: 0; }
  .quiz__row, .form-row { grid-template-columns: 1fr; }
  .quiz__head, .quiz__body, .quiz__trust { padding-inline: 22px; }
  .areas { grid-template-columns: 1fr; }
  .area-col { border-right: none !important; border-bottom: 1px solid var(--rule) !important; padding-right: 0; }
  .area-col:last-child { border-bottom: none !important; }
  .idx__row { grid-template-columns: 40px minmax(0, 1fr) 26px; }
  .idx__price { display: none; }
  .calc__out { flex-direction: column; gap: 6px; }
  .calc__terms { grid-template-columns: repeat(2, 1fr); }
  .calc__term:nth-child(2) { border-right: none; }
  .calc__term:nth-child(-n+2) { border-bottom: 1px solid var(--rule-2); }
  .btn { width: 100%; }
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .faq__q { grid-template-columns: 34px minmax(0,1fr) 24px; }
  .faq__a p { padding-left: 34px; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .callbar, .modal, .quiz, .hero__media { display: none !important; }
  body { background: #fff; }
}
