/* OUTVERA — tokens from 01_BRAND/OUTVERA_DESIGN.md */
:root {
  --charcoal: #111312;
  --ivory: #F5F1E9;
  --gold: #C5A477;
  --gold-hi: #D3B78E;
  --graphite: #343A37;
  --stone: #A7A49C;
  --white: #FFFFFF;
  --soft-ivory: #E8E1D5;
  --deep-graphite: #222725;
  --line-dark: #454B47;
  --line-light: #DED7CB;
  --ink-muted: #62665F;

  --font: "Montserrat", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 76px;
  --padt: clamp(104px, 13vh, 132px);
  --padb: clamp(64px, 9vh, 96px);

  --r-ctl: 6px;
  --r-btn: 8px;
  --r-card: 14px;
  --r-panel: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t: 280ms;
  --t-slow: 500ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-btn);
  background: var(--gold); color: var(--charcoal); font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* ---------- type ---------- */
h1 {
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-weight: 500;
  font-size: clamp(31px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.005em; }
.lead { color: var(--stone); font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; }
.eyebrow {
  font: 500 13px/1.4 var(--mono);
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ivory); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 24px;
  border-radius: var(--r-btn); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--font); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn__arrow { display: inline-block; transition: transform var(--t) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary { --bg: var(--gold); --fg: var(--charcoal); }
.btn--primary:hover { --bg: var(--gold-hi); }
.btn--ghost { --bd: rgba(167, 164, 156, 0.45); }
.btn--ghost:hover { --bg: rgba(245, 241, 233, 0.07); --bd: var(--stone); }
.btn--dark { --bg: var(--charcoal); --fg: var(--ivory); }
.btn--dark:hover { --bg: var(--graphite); }
.btn--outline-dark { --fg: var(--charcoal); --bd: rgba(17, 19, 18, 0.35); }
.btn--outline-dark:hover { --bg: rgba(17, 19, 18, 0.06); --bd: var(--charcoal); }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(17, 19, 18, 0.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(69, 75, 71, 0.6); }
.nav__inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 186px; height: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a, .foot__col a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--soft-ivory);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--t) var(--ease), color var(--t-fast);
  padding-block: 11px;
}
.nav__links a:hover, .foot__col a:hover { background-size: 100% 1px; color: var(--ivory); }
.nav__links a[aria-current="page"] { color: var(--gold); background-size: 100% 1px; }
.menu nav a[aria-current="page"] { color: var(--gold); }
.nav__cta { min-height: 44px; padding: 12px 20px; font-size: 14px; }
.nav__toggle { display: none; }
.menu[hidden] { display: none; }

@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 48px; height: 48px; border-radius: var(--r-btn);
    background: transparent; border: 1px solid rgba(167, 164, 156, 0.35); color: var(--ivory); cursor: pointer;
  }
  .nav__bars, .nav__bars::before, .nav__bars::after {
    display: block; width: 20px; height: 1.5px; background: currentColor; position: relative;
    transition: transform var(--t) var(--ease), background-color var(--t-fast);
  }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -6px; }
  .nav__bars::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .menu {
    position: fixed; inset: var(--nav-h) 0 0; background: var(--charcoal);
    padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
    animation: menu-in var(--t) var(--ease);
  }
  .menu nav { display: flex; flex-direction: column; }
  .menu nav a {
    font-size: 26px; font-weight: 500; text-decoration: none; padding: 14px 0;
    border-bottom: 1px solid var(--deep-graphite);
  }
  .nav.is-open { background: var(--charcoal); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- sections ---------- */
.section, .closing {
  position: relative;
  min-height: 100svh;
  padding: var(--padt) 0 var(--padb);
  display: flex; flex-direction: column;
}
.section--light { background: var(--ivory); color: var(--charcoal); }
.section--light .lead { color: var(--ink-muted); }
.section--light .eyebrow { color: #7A6142; }

.head { margin-bottom: clamp(40px, 6vh, 64px); }
.head--row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end; }
.head--row .lead { justify-self: end; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

.frame { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--deep-graphite); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 48px) 0 clamp(56px, 9vh, 96px);
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,19,18,0.94) 0%, rgba(17,19,18,0.78) 36%, rgba(17,19,18,0.12) 66%, rgba(17,19,18,0) 100%),
    linear-gradient(0deg, rgba(17,19,18,0.9) 0%, rgba(17,19,18,0) 34%);
}
.hero__text { max-width: 700px; }
.hero h1 { margin-bottom: 24px; }
.hero__lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--soft-ivory); max-width: 54ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__fact {
  font: 400 14px/1.5 var(--mono); color: var(--stone);
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  padding-top: 20px; border-top: 1px solid rgba(69, 75, 71, 0.8); max-width: 560px;
}
.hero__fact strong { color: var(--ivory); font-weight: 500; }

/* entrance: once on load */
[data-enter] [style*="--i"] { animation: rise 760ms var(--ease) both; animation-delay: calc(120ms + var(--i) * 90ms); }
[data-enter] .hero__media img { animation: settle 1600ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } }

/* ---------- problems ---------- */
/* the picture stretches so its bottom lines up with the list's last rule */
.split--problems { grid-template-columns: 1fr 1fr; align-items: stretch; }
.split--problems .split__text { display: flex; flex-direction: column; }
.split--problems .lead { margin: 20px 0 36px; }
.frame--problems { flex: 1 1 auto; min-height: 220px; }
.frame--problems img { position: absolute; inset: 0; }
.split--problems .issues { align-self: start; }
.frame--problems img { object-position: center 70%; }
.issues { border-top: 1px solid var(--line-dark); }
.issues li {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line-dark);
}
.issues__n, .steps__n { font: 500 13px/1.9 var(--mono); color: var(--gold); }
.issues h3 { font-size: 17px; margin-bottom: 4px; }
.issues p { color: var(--stone); font-size: 15px; line-height: 1.6; max-width: 56ch; }
.frame--faq { aspect-ratio: 16 / 9; margin-top: 40px; }

/* ---------- services ---------- */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.division { border: 1px solid var(--line-dark); border-radius: var(--r-panel); padding: 12px 12px 26px; background: var(--deep-graphite); }
.frame--wide { aspect-ratio: 2.9 / 1; border-radius: 12px; margin-bottom: 28px; }
.division__label, .division h3, .division .ticks { margin-inline: 20px; }
.division__label { font: 500 13px/1.4 var(--mono); color: var(--gold); margin-bottom: 10px; }
.division h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; margin-bottom: 22px; max-width: 30ch; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticks li { position: relative; padding-left: 20px; font-size: 15px; color: var(--soft-ivory); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 1px; background: var(--gold); }

/* ---------- statement (moment) ---------- */
.statement { justify-content: center; overflow: hidden; isolation: isolate; }
.statement__bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/glass-curve.webp") right center / cover no-repeat;
  opacity: 0.55;
}
.statement__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 20%, rgba(17,19,18,0.4) 100%); }
.statement__brand { font: 500 15px/1.4 var(--mono); letter-spacing: 0.02em; color: var(--stone); margin-bottom: 28px; }
.statement__words {
  font-weight: 500; font-size: clamp(30px, 4.2vw, 60px); line-height: 1.14; letter-spacing: -0.02em;
  max-width: 20ch; text-wrap: pretty;
}
.statement__words .w { opacity: 0.22; transition: opacity 400ms var(--ease); }
.statement__words .w.is-lit { opacity: 1; }
.statement__words .w.is-gold { color: var(--gold); }
.statement__stack { margin-top: clamp(40px, 7vh, 72px); max-width: 560px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.statement__stack p { color: var(--stone); font-size: 16px; }
.statement__stack strong { color: var(--ivory); font-weight: 600; }

/* ---------- approach ---------- */
.frame--band { aspect-ratio: 5.6 / 1; margin-bottom: 40px; }
.frame--band img { object-position: center 62%; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 20px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--gold); }
.steps h3 { margin: 6px 0 8px; font-size: 20px; font-weight: 500; }
.steps p { color: var(--stone); font-size: 15px; line-height: 1.6; }

/* ---------- pricing ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 32px); }
.offer {
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-panel);
  padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px;
}
.offer:first-child { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.offer:first-child .offer__type { color: var(--gold); }
.offer:first-child > p:not([class]) { color: var(--stone); }
.offer:first-child .btn--dark { --bg: var(--gold); --fg: var(--charcoal); }
.offer:first-child .btn--dark:hover { --bg: var(--gold-hi); }
.offer__type { font: 500 13px/1.4 var(--mono); color: #7A6142; }
.offer h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.015em; }
.offer__price { font-size: 16px; color: var(--ink-muted); }
.offer:first-child .offer__price { color: var(--stone); }
.offer__amount { font-size: clamp(44px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-right: 4px; color: var(--charcoal); }
.offer:first-child .offer__amount { color: var(--ivory); }
.offer > p:not([class]) { color: var(--ink-muted); max-width: 42ch; margin-bottom: 18px; }
.offer .btn { margin-top: auto; align-self: flex-start; }

/* ---------- faq ---------- */
.split--faq { grid-template-columns: 0.8fr 1.2fr; }
.split--faq .lead { margin-top: 20px; }
.faq { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; min-height: 44px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--gold), var(--gold)) center / 14px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 14px no-repeat;
  transition: transform var(--t) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq details p { color: var(--stone); padding: 0 48px 26px 0; max-width: 62ch; }

/* ---------- closing + footer ---------- */
.closing { background: var(--deep-graphite); padding-bottom: 32px; }
#contact.closing { min-height: auto; padding-top: clamp(80px, 10vw, 120px); }
.closing > .wrap { display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 64px; }
.close .lead { margin-top: 20px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full, .form__foot { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--soft-ivory); }
.field input, .field textarea {
  font: 400 16px/1.5 var(--font); color: var(--ivory);
  background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: var(--r-ctl);
  padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover, .field textarea:hover { border-color: var(--stone); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 164, 119, 0.22); }
.field [aria-invalid="true"] { border-color: #D98E73; }
.field__error { font-size: 14px; color: #E7A68E; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 14px; color: var(--stone); }

.foot {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px 48px;
  padding-top: 44px; border-top: 1px solid var(--line-dark);
}
.foot__brand img { width: 200px; }
.foot__brand > p { font: 400 13px/1.5 var(--mono); color: var(--stone); margin-top: 14px; }
.foot__head { font: 500 12px/1.4 var(--mono); color: var(--gold); letter-spacing: 0.04em; margin-bottom: 10px; }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; }
.foot__col a { font-size: 14px; color: var(--stone); padding-block: 7px; }
.foot__text { font-size: 14px; color: var(--stone); line-height: 1.55; margin-bottom: 6px; max-width: 30ch; }
.foot__col .text-link { padding: 0; font-size: 14px; color: var(--gold); }
.nav__links a { background-position: 0 calc(100% - 8px); }

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--stone);
  transition: color 240ms var(--ease), border-color 240ms var(--ease), background-color 240ms var(--ease), transform 240ms var(--ease);
}
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.socials a:hover { color: var(--charcoal); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.foot__legal {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--stone);
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .head--row { grid-template-columns: 1fr; }
  .head--row .lead { justify-self: start; }
  .split, .split--problems, .split--faq { grid-template-columns: 1fr; }
  .frame--problems { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .divisions { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .offers > * { min-width: 0; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding-top: calc(var(--nav-h) + 24px); }
  .hero__media img { object-position: center top; }
  .hero::after {
    background: linear-gradient(0deg, rgba(17,19,18,0.97) 0%, rgba(17,19,18,0.86) 42%, rgba(17,19,18,0.45) 68%, rgba(17,19,18,0.15) 88%, rgba(17,19,18,0.5) 100%);
  }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__dot { display: none; }
  .hero__fact { flex-direction: column; }
  .statement__bg { background-position: 70% top; opacity: 0.5; }
  .statement__bg::after { background: linear-gradient(0deg, var(--charcoal) 30%, rgba(17,19,18,0.5) 100%); }
  .foot__col a { padding-block: 11px; }
  .ticks { grid-template-columns: 1fr; }
  .division__label, .division h3, .division .ticks { margin-inline: 12px; }
  .frame--band { aspect-ratio: 2.6 / 1; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .offers { grid-template-columns: 1fr; }
  .offer .btn { align-self: stretch; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .foot { grid-template-columns: 1fr; }
  .foot__brand img { width: 190px; }
  .socials a { width: 44px; height: 44px; }
  .foot__col .text-link { min-height: 44px; }
}

/* =========================================================
   Inner pages
   ========================================================= */

/* page hero: words left, picture right */
.page-hero {
  position: relative; min-height: 100svh;
  padding: calc(var(--nav-h) + 56px) 0 clamp(56px, 9vh, 96px);
  display: flex; align-items: center; overflow: hidden;
}
.page-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 64px); margin-bottom: 24px; }
.page-hero .hero__lead { margin-bottom: 32px; }
.page-hero .hero__actions { margin-bottom: 36px; }
/* the picture is a layer on the right that fades into the page, like the homepage hero */
.page-hero { isolation: isolate; }
.page-hero > .wrap { position: static; }
.page-hero .page-hero__media {
  --fade-l: 46%;
  position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 60%;
  margin: 0; border: 0; border-radius: 0; background: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 var(--fade-l)), linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 var(--fade-l)), linear-gradient(to bottom, transparent 0%, #000 18%, #000 74%, transparent 100%);
  mask-composite: intersect;
}
.page-hero__media img, .page-hero__media svg { width: 100%; height: 100%; object-fit: cover; }
.page-hero .page-hero__media.art {
  --fade-l: 18%;
  background:
    radial-gradient(60% 50% at 62% 48%, rgba(197,164,119,0.16), transparent 70%),
    linear-gradient(rgba(69,75,71,0.32) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(69,75,71,0.32) 1px, transparent 1px) 0 0 / 44px 44px;
}
.page-hero .art svg { padding: calc(var(--nav-h) + 24px) 4% 48px 8%; }
.page-hero [style*="--i"] { animation: rise 760ms var(--ease) both; animation-delay: calc(120ms + var(--i) * 90ms); }
.page-hero__media { animation: settle 1600ms var(--ease) both; }

/* code-drawn brand visuals */
.art {
  position: relative; border-radius: var(--r-panel); overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, rgba(197,164,119,0.16), transparent 60%), var(--deep-graphite);
  border: 1px solid var(--line-dark);
}
.art svg { display: block; width: 100%; height: 100%; }
.art text { font-family: var(--font); }
.art .mono { font-family: var(--mono); }
.draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: draw 1800ms var(--ease) 500ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* service item grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc { border-top: 1px solid var(--line-dark); padding-top: 20px; position: relative; }
.svc::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 1px; background: var(--gold); }
.svc__n { font: 500 13px/1.4 var(--mono); color: var(--gold); display: block; margin-bottom: 12px; }
.svc h3 { font-size: 18px; margin-bottom: 8px; }
.svc p { color: var(--stone); font-size: 15px; line-height: 1.6; }
.section--light .svc { border-color: var(--line-light); }
.section--light .svc p { color: var(--ink-muted); }
.section--light .svc__n { color: #7A6142; }
.section--light .svc::before { background: #A98252; }

.media-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; margin-bottom: clamp(40px, 6vh, 64px); }
.media-row .frame { min-height: 260px; }
.media-row .lead { margin-top: 20px; }

/* tool rows */
.rows { border-top: 1px solid var(--line-dark); }
.rows li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.rows strong { font-weight: 600; font-size: 18px; }
.rows span { color: var(--stone); font-size: 16px; }

/* pricing detail */
.plan { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 8px; }
.plan__price .offer__amount { font-size: clamp(56px, 6vw, 88px); color: inherit; }
.plan__price span:not(.offer__amount) { color: var(--stone); font-size: 17px; }
.section--light .plan__price span:not(.offer__amount) { color: var(--ink-muted); }
.plan__note { font: 400 14px/1.5 var(--mono); color: var(--stone); margin-bottom: 32px; }
.section--light .plan__note { color: var(--ink-muted); }
.included { display: grid; gap: 28px; }
.included__group { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.section--light .included__group { border-color: var(--line-light); }
.included__group h3 { font: 500 13px/1.4 var(--mono); color: var(--gold); margin-bottom: 14px; }
.section--light .included__group h3 { color: #7A6142; }
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--gold); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 4.5px; border: solid var(--gold); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.section--light .checks li::before { border-color: #A98252; }
.section--light .checks li::after { border-color: #8F6A3E; }

.table-wrap { overflow-x: auto; }
.compare-panel { border: 1px solid var(--line-dark); border-radius: var(--r-panel); background: var(--deep-graphite); }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.compare__c1 { width: 22%; } .compare__c2, .compare__c3 { width: 39%; }
.compare th, .compare td { text-align: left; vertical-align: middle; padding: 18px 28px; border-bottom: 1px solid var(--line-dark); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { padding-top: 28px; padding-bottom: 24px; }
.compare__plan { vertical-align: bottom; }
.compare__type { display: block; font: 500 12px/1.4 var(--mono); color: var(--gold); margin-bottom: 8px; }
.compare__name { display: block; font: 500 22px/1.2 var(--font); color: var(--ivory); letter-spacing: -0.01em; }
.compare__price { display: block; margin-top: 6px; font: 500 15px/1.4 var(--font); color: var(--soft-ivory); }
.compare__price small { font-size: 13px; color: var(--stone); font-weight: 400; }
.compare tbody th { font-size: 14px; font-weight: 600; color: var(--soft-ivory); }
.compare td { color: var(--stone); line-height: 1.5; }
.compare td strong { color: var(--ivory); font-weight: 600; }
.compare__plan--care, .compare__care { background: rgba(197,164,119,0.05); }
.compare__plan--care { border-top-left-radius: 0; box-shadow: inset 0 2px 0 var(--gold); }
.compare tbody tr { transition: background-color 240ms var(--ease); }
@media (min-width: 768px) { .compare tr.compare__phone { display: none; } }
.compare tbody tr:hover { background: rgba(245,241,233,0.025); }

/* values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value {
  display: flex; flex-direction: column; min-height: clamp(280px, 40vh, 360px);
  padding: 28px 24px; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-card);
}
.value svg { width: 48px; height: 48px; flex: none; }
.value h3 { font-size: 22px; font-weight: 500; margin: clamp(48px, 12vh, 120px) 0 8px; letter-spacing: -0.01em; }
.value p { color: var(--ink-muted); font-size: 15px; line-height: 1.6; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.duo__item h3 { font: 500 13px/1.4 var(--mono); color: var(--gold); margin-bottom: 16px; }
.duo__item p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }

.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trade { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.trade h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.trade p { color: var(--stone); font-size: 15px; }

/* approach rows */
.phases { border-top: 1px solid var(--line-dark); }
.phase { display: grid; grid-template-columns: 90px 0.7fr 1fr 1fr; gap: 24px 40px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.phase__n { font: 500 32px/1 var(--font); color: var(--gold); letter-spacing: -0.02em; }
.phase h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.015em; }
.phase dt { font: 500 12px/1.4 var(--mono); color: var(--stone); margin-bottom: 8px; }
.phase dd { margin: 0; font-size: 16px; color: var(--soft-ivory); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.next { margin-top: 36px; border-top: 1px solid var(--line-dark); }
.next li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; color: var(--soft-ivory); }
.next span { font: 500 13px/1.7 var(--mono); color: var(--gold); }
.form-panel { background: var(--deep-graphite); border: 1px solid var(--line-dark); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 40px); }
.field select {
  font: 400 16px/1.5 var(--font); color: var(--ivory); background: var(--charcoal);
  border: 1px solid var(--line-dark); border-radius: var(--r-ctl); padding: 13px 40px 13px 14px; min-height: 50px; width: 100%;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 164, 119, 0.22); }
.form__status { grid-column: 1 / -1; font-size: 15px; padding: 14px 16px; border-radius: var(--r-ctl); background: rgba(197,164,119,0.12); color: var(--ivory); border: 1px solid rgba(197,164,119,0.4); }
.form__status.is-error { background: rgba(217,142,115,0.12); border-color: rgba(217,142,115,0.5); }

/* About hero: x-ray lens that follows the pointer and shows the emblem's construction */
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
.xray { --x: 50%; --y: 50%; --r: 0px; transition: --r 420ms var(--ease); }
.xray.is-on { --r: clamp(104px, 11vw, 150px); }
.page-hero .xray .xray__scan {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(197,164,119,0.07) 0 1px, transparent 1px 4px),
    linear-gradient(rgba(197,164,119,0.14) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(197,164,119,0.14) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(circle at var(--x) var(--y), #1b1d1a, #0f1312 70%);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 calc(100% - 1px), transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 calc(100% - 1px), transparent 100%);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.xray.is-on .xray__scan { opacity: 1; }
.xray__scan text { font-family: var(--mono); letter-spacing: 0.02em; }
.xray.is-on { --r: clamp(78px, 8vw, 112px); }

/* the connector network inside the lens */
.xr-link { stroke: #C5A477; stroke-width: 1; stroke-opacity: 0.35; stroke-dasharray: 3 5; transition: stroke-opacity 260ms var(--ease); }
.xr-link.is-active { stroke-opacity: 1; stroke-width: 1.4; animation: xr-flow 700ms linear infinite; }
@keyframes xr-flow { to { stroke-dashoffset: -16; } }
.xr-app circle { fill: #151816; stroke: #C5A477; stroke-opacity: 0.55; stroke-width: 1; transition: stroke-opacity 260ms var(--ease), fill 260ms var(--ease); }
.xr-app__glyph { fill: #D3B78E; transition: fill 260ms var(--ease); }
.xr-app__name { font-size: 11px; fill: #F5F1E9; opacity: 0; transition: opacity 220ms var(--ease); paint-order: stroke; stroke: #0f1312; stroke-width: 4px; }
.xr-app.is-active circle { fill: #2a2620; stroke-opacity: 1; }
.xr-app.is-active .xr-app__glyph { fill: #F5F1E9; }
.xr-app__glyph .xr-hole { fill: #151816; transition: fill 260ms var(--ease); }
.xr-app.is-active .xr-app__glyph .xr-hole { fill: #2a2620; }
.xr-app.is-active .xr-app__name { opacity: 1; }
.xr-core__plate { fill: #0f1312; stroke: #C5A477; stroke-width: 1.5; }
.xray.has-app .xr-core__plate { stroke: #E2C597; stroke-width: 2; }
.xray__ring {
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(197,164,119,0.85);
  box-shadow: 0 0 0 1px rgba(17,19,18,0.7), 0 0 48px rgba(197,164,119,0.22), inset 0 0 32px rgba(197,164,119,0.12);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.xray__ring::before, .xray__ring::after { content: ""; position: absolute; background: rgba(197,164,119,0.85); }
.xray__ring::before { left: 50%; top: -7px; width: 1px; height: 12px; box-shadow: 0 calc(var(--r) * 2 + 2px) 0 rgba(197,164,119,0.85); }
.xray__ring::after { top: 50%; left: -7px; height: 1px; width: 12px; box-shadow: calc(var(--r) * 2 + 2px) 0 0 rgba(197,164,119,0.85); }
.xray.is-on .xray__ring { opacity: 1; }
.page-hero.is-xray { cursor: crosshair; }

/* Approach hero: the gold ball travels the route to the step under the pointer */
.steps-art text { font-family: var(--font); }
.steps-art .steps-art__label text + text { font-family: var(--mono); }
.steps-art__label { opacity: 0.45; transition: opacity 320ms var(--ease); }
.steps-art__label.is-reached { opacity: 0.8; }
.steps-art__label.is-active { opacity: 1; }
.steps-art__node { transition: stroke-width 320ms var(--ease); }
.steps-art__node.is-reached { stroke-width: 3; }
.page-hero.is-steps { cursor: pointer; }

/* drawn visuals for the tools row and the homepage service cards */
.art--tools { aspect-ratio: 1; align-self: center; }
.art--card { aspect-ratio: 2.9 / 1; border-radius: 12px; margin-bottom: 28px; }
.art--tools text, .art--card text { font-family: var(--font); }
.art--tools .mono, .art--card .mono { font-family: var(--mono); }
.art--card svg { transition: transform 1400ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .division:hover .art--card svg { transform: scale(1.025); } }
.art--card .art__narrow { display: none; }
@media (max-width: 767px) {
  .art--card { aspect-ratio: 4 / 3; }
  .art--card svg:not(.art__narrow) { display: none; }
  .art--card .art__narrow { display: block; }
}

/* services diagram: wide on desktop, tall on phones */
.art--diagram { border-radius: var(--r-panel); display: flex; justify-content: center; }
.diagram--wide { max-height: max(380px, calc(100svh - 400px)); width: 100%; }
.diagram--tall { display: none !important; }
@media (max-width: 767px) {
  .diagram--wide { display: none !important; }
  .diagram--tall { display: block !important; }
}

.closing--short { min-height: auto; padding-top: 72px; }

/* closing call to action on inner pages: compact, content-height */
.closing--cta { min-height: auto; padding: clamp(72px, 9vw, 112px) 0 32px; overflow: hidden; isolation: isolate; }
.closing--cta > .wrap { gap: clamp(56px, 7vw, 88px); }
.closing--cta::before {
  content: ""; position: absolute; z-index: 0; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,164,119,0.55) 50%, transparent);
  pointer-events: none;
}
.cta-close { display: grid; grid-template-columns: 1fr auto; gap: 28px 64px; align-items: center; }
.cta-close h2 { font-size: clamp(34px, 4vw, 56px); max-width: 16ch; }
.cta-close .lead { margin-top: 16px; }
.cta-close__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.closing--cta .foot { padding-top: 32px; }

@media (max-width: 1023px) {
  .page-hero__grid, .plan, .contact-grid, .media-row, .cta-close { grid-template-columns: 1fr; }
  .page-hero { align-items: flex-start; }
  .page-hero .art svg { padding: 16px 6%; }
  .page-hero .page-hero__media {
    position: relative; z-index: 0; width: auto; aspect-ratio: 16 / 10;
    margin: 8px calc(-1 * var(--gutter)) 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 72%, transparent 100%);
  }
  .svc-grid, .svc-grid--3 { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { min-height: 220px; }
  .trades { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 64px 1fr; }
  .phase > dl { grid-column: 2; }
  .cta-close__actions { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .svc-grid, .svc-grid--3, .values, .duo { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding-top: calc(var(--nav-h) + 32px); }
  /* phones: the picture sits on top under the nav and fades down into the words */
  .page-hero--media { padding-top: 0; }
  .page-hero--media .page-hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .page-hero .page-hero__media {
    order: -1; aspect-ratio: auto; height: 42svh; min-height: 280px;
    margin: 0 calc(-1 * var(--gutter)) -36px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, #000 28%, #000 58%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, #000 28%, #000 58%, transparent 100%);
  }
  .page-hero .art svg { padding: calc(var(--nav-h) + 4px) 6% 28px; }
  .compare-panel { padding: 4px 20px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare__care { background: none; }
  .compare tr { padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border: 0; padding: 0; }
  .compare tbody th { width: 100%; margin-bottom: 10px; }
  .compare td { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 4px 0; font-size: 15px; }
  .compare td::before { content: attr(data-label); font: 500 12px/1.9 var(--mono); color: var(--gold); }
  .cta-close__actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   Text link and ROI calculator
   ========================================================= */
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 15px; color: var(--gold); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size var(--t) var(--ease), color var(--t-fast);
}
.text-link::after { content: "→"; transition: transform var(--t) var(--ease); }
.text-link:hover { background-size: calc(100% - 22px) 1px; }
.text-link:hover::after { transform: translateX(3px); }
.section--light .text-link { color: #7A6142; }
.offers__more { margin-top: 20px; }
.plan__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.roi { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.roi__inputs {
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-panel);
  padding: clamp(22px, 2.2vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; align-content: start;
}
#roi .head { margin-bottom: clamp(28px, 4vh, 44px); }
#roi .head .lead { font-size: 17px; }
.roi__field { min-width: 0; }
.roi__tabs {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 4px; border-radius: 10px; background: #F1ECE3; border: 1px solid var(--line-light); margin-bottom: 4px;
}
.roi__tab {
  min-height: 40px; border: 0; border-radius: 7px; background: transparent; cursor: pointer;
  font: 600 14px/1 var(--font); color: var(--ink-muted);
  transition: background-color 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.roi__tab:hover { color: var(--charcoal); }
.roi__tab[aria-checked="true"] { background: var(--charcoal); color: var(--ivory); box-shadow: 0 4px 12px -6px rgba(17,19,18,0.5); }
.roi__tab:focus-visible { outline: 2px solid #A98252; outline-offset: 2px; }
.roi__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.roi__top label { font-size: 14px; font-weight: 600; color: var(--charcoal); line-height: 1.3; }
.roi__num {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  border: 1px solid var(--line-light); border-radius: var(--r-ctl); padding: 0 10px; min-height: 40px;
  font: 500 15px/1 var(--mono); color: var(--charcoal); background: #FBF9F5;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.roi__num:focus-within { border-color: #A98252; box-shadow: 0 0 0 3px rgba(169,130,82,0.2); }
.roi__num input {
  width: 5.2ch; border: 0; background: transparent; font: inherit; color: inherit; text-align: right; padding: 0; min-height: 38px;
  -moz-appearance: textfield; appearance: textfield;
}
.roi__num input:focus { outline: none; }
.roi__num input::-webkit-outer-spin-button, .roi__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.roi__unit { color: var(--ink-muted); }
.roi__hint { font-size: 13px; color: var(--ink-muted); margin-top: 2px; line-height: 1.4; }
.roi__reset {
  align-self: end; justify-self: start; background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer;
  font: 600 14px/1 var(--font); color: #7A6142; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(122,97,66,0.4);
  transition: text-decoration-color var(--t-fast);
}
.roi__reset:hover { text-decoration-color: currentColor; }

/* range: a thin track that fills in gold up to the thumb */
.roi input[type="range"] {
  --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer;
}
.roi input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px; background: linear-gradient(90deg, #A98252 var(--p), #E3DCCF var(--p));
}
.roi input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: #E3DCCF; }
.roi input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: #A98252; }
.roi input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%;
  background: var(--white); border: 2px solid #8F6A3E; box-shadow: 0 2px 8px rgba(17,19,18,0.18);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.roi input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid #8F6A3E; box-shadow: 0 2px 8px rgba(17,19,18,0.18);
}
.roi input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.1); }
.roi input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(169,130,82,0.18); }
.roi input[type="range"]:focus-visible { outline: none; }
.roi input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(169,130,82,0.35); }
.roi input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(169,130,82,0.35); }

.roi__result {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--charcoal); color: var(--ivory); border-radius: var(--r-panel);
  padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column;
}
.roi__result::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(197,164,119,0.16), transparent); pointer-events: none;
}
.roi__label { font: 500 13px/1.4 var(--mono); color: var(--gold); }
.roi__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 6px; }
.roi__big [data-out="won"] { font-size: clamp(44px, 5vw, 72px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.roi__per { color: var(--stone); font-size: 17px; }
.roi__sub { color: var(--stone); font-size: 15px; }
.roi__sub strong { color: var(--ivory); font-weight: 600; }
.roi__bars { display: grid; gap: 10px; margin: 22px 0 18px; }
.roi__bar { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; font-size: 13px; color: var(--stone); }
.roi__bar i { display: block; height: 8px; border-radius: 8px; background: rgba(167,164,156,0.35); width: var(--w, 0%); min-width: 2px; transition: width 600ms var(--ease); }
.roi__bar--gold i { background: linear-gradient(90deg, #A98252, #E2C597); }
.roi__bar--ivory i { background: rgba(245,241,233,0.75); }
.roi__bar b { font: 500 13px/1 var(--mono); color: var(--soft-ivory); min-width: 7ch; text-align: right; }
.roi__rows { margin: 0 0 20px; border-top: 1px solid var(--line-dark); }
.roi__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-dark); }
.roi__rows dt { color: var(--stone); font-size: 15px; }
.roi__rows dd { margin: 0; font: 500 15px/1.5 var(--mono); color: var(--ivory); white-space: nowrap; }
.roi__rows .roi__pay dd { color: var(--gold-hi); }
.roi__result .btn { margin-top: auto; }
.roi__note { font-size: 12.5px; color: var(--stone); margin-top: 12px; line-height: 1.45; }
.roi__source { font-size: 13px; color: var(--ink-muted); margin-top: 20px; max-width: 90ch; }
.roi__source a { color: #7A6142; }

@media (max-width: 1023px) {
  .roi { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .roi__inputs { grid-template-columns: 1fr; gap: 20px; }
  .roi__reset { justify-self: start; }
  .roi__tabs { grid-template-columns: 1fr 1fr; }
  .roi__tab { min-height: 44px; }
  .roi__bar { grid-template-columns: 78px 1fr auto; gap: 10px; }
}

/* =========================================================
   Premium hover layer: quiet, pointer-led, nothing on scroll
   ========================================================= */

/* cards: a soft light and a lit edge that follow the pointer, a 3px lift */
[data-spot] { position: relative; isolation: isolate; --mx: 50%; --my: 50%; --spot: rgba(197,164,119,0.10); --edge: rgba(226,197,151,0.9); }
[data-spot].spot--light { --spot: rgba(169,130,82,0.09); --edge: rgba(143,106,62,0.85); }
[data-spot]::before,
[data-spot]::after { content: ""; position: absolute; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 500ms var(--ease); }
[data-spot]::before { inset: 0; z-index: -1; background: radial-gradient(440px circle at var(--mx) var(--my), var(--spot), transparent 62%); }
[data-spot]::after {
  inset: -1px; z-index: 2; padding: 1px;
  background: radial-gradient(240px circle at var(--mx) var(--my), var(--edge), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.value, .division, .offer { transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease); }

/* pictures settle in slowly when pointed at */
.frame:not(.page-hero__media) img { transition: transform 1400ms var(--ease), filter 1400ms var(--ease); }

/* tick dashes and accent rules */
.ticks li::before { transition: width 450ms var(--ease); }
.ticks li:nth-child(2)::before { transition-delay: 30ms; } .ticks li:nth-child(3)::before { transition-delay: 60ms; }
.ticks li:nth-child(4)::before { transition-delay: 90ms; } .ticks li:nth-child(5)::before { transition-delay: 120ms; }
.ticks li:nth-child(6)::before { transition-delay: 150ms; } .ticks li:nth-child(7)::before { transition-delay: 180ms; }
.ticks li:nth-child(8)::before { transition-delay: 210ms; }
.svc::before, .steps li::before { transition: width 700ms var(--ease); }
.svc h3, .steps h3 { transition: color 300ms var(--ease); }
.svc__n, .steps__n { transition: letter-spacing 500ms var(--ease); }

/* value icons redraw their lines */
.value svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes icon-draw { from { stroke-dashoffset: 1; } }

/* FAQ rows */
.faq details p { overflow: hidden; }
.faq summary { transition: color 300ms var(--ease); }

@media (hover: hover) and (pointer: fine) {
  [data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }
  .value:hover, .division:hover, .offer:hover { transform: translateY(-3px); }
  .division:hover, .offer:first-child:hover { box-shadow: 0 24px 48px -28px rgba(0,0,0,0.7); }
  .value:hover, .offer.spot--light:hover { box-shadow: 0 24px 44px -30px rgba(17,19,18,0.28); }
  .division:hover .frame img,
  .frame:not(.page-hero__media):hover img { transform: scale(1.035); filter: brightness(1.06); }
  .division:hover .ticks li::before { width: 14px; }
  .value:hover svg * { animation: icon-draw 1100ms var(--ease) both; }
  .svc:hover::before, .steps li:hover::before { width: 100%; }
  .svc:hover h3, .steps li:hover h3 { color: var(--gold-hi); }
  .section--light .svc:hover h3 { color: #7A6142; }
  .svc:hover .svc__n, .steps li:hover .steps__n { letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .draw { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .statement__words .w { opacity: 1; }
  .xr-link.is-active { animation: none !important; }
}
