/* ==========================================================================
   HOUSE OF IYERS — Brand stylesheet
   Palette sampled directly from logo.pdf:
     wordmark  CMYK 0.1059 0.5529 1.0000 0.5098  ->  #703800
     ground    CMYK 0.0588 0.1020 0.1490 0.0000  ->  #F0E5D9
     sun rays  sampled from artwork              ->  #E3A21A
     leaf mark sampled from ornament             ->  #3B5200 / #B29C50
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --brown:        #703800;
  --brown-deep:   #4a2400;
  --brown-dark:   #2f1704;
  --brown-soft:   #8c4e12;
  --gold:         #e3a21a;
  --gold-deep:    #c08213;
  --gold-light:   #f2c85c;
  --antique:      #b29c50;
  --green:        #3b5200;
  --green-soft:   #5b7a1c;

  /* Surfaces */
  --cream:        #f0e5d9;
  --cream-lt:     #faf4ec;
  --paper:        #fffdf9;
  --paper-warm:   #fbf6ee;

  /* Ink */
  --ink:          #2b1a0b;
  --ink-mid:      #5c4630;
  --ink-soft:     #7d6850;

  /* Lines & shadow */
  --line:         rgba(112, 56, 0, .14);
  --line-strong:  rgba(112, 56, 0, .28);
  --shadow-sm:    0 1px 2px rgba(74, 36, 0, .06), 0 2px 8px rgba(74, 36, 0, .05);
  --shadow-md:    0 2px 4px rgba(74, 36, 0, .06), 0 12px 28px rgba(74, 36, 0, .09);
  --shadow-lg:    0 4px 8px rgba(74, 36, 0, .07), 0 28px 60px rgba(74, 36, 0, .14);

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

  /* Metrics */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 84px;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.14; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }

/* Paper grain — subtle, sits above section backgrounds, below content */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

/* ---------- 3. Typography scale ------------------------------------------ */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.9rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  color: var(--brown-deep);
}
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--brown-deep);
}
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  color: var(--brown);
}
.h4 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1.03rem;
  letter-spacing: -.005em;
  color: var(--brown-deep);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .715rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.05rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--antique));
}
.eyebrow.is-center::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(270deg, transparent, var(--antique));
}
.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-mid);
  max-width: 62ch;
}
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; line-height: 1.6; }
.tiny  { font-size: .78rem;  line-height: 1.55; }
.serif-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
  line-height: 1.34; font-weight: 500;
  font-style: italic; color: var(--brown);
}

/* ---------- 4. Layout ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; position: relative; z-index: 2; }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(64px, 8.5vw, 118px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 78px) 0; }
.section--cream { background: var(--cream-lt); }
.section--sand  { background: var(--cream); }
.section--dark  { background: var(--brown-dark); color: var(--cream-lt); }
.section--dark .h2, .section--dark .display { color: var(--cream-lt); }
.section--dark .lede { color: rgba(240, 229, 217, .78); }
.section--dark .eyebrow { color: var(--gold-light); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head.is-center .lede { margin-inline: auto; }
.section-head .lede { margin-top: 1.15rem; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 5. Ornaments ------------------------------------------------- */
.rule-gold {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--antique) 22%, var(--antique) 78%, transparent);
  opacity: .55;
}
.leaf-divider {
  display: block; width: 190px; height: auto;
  margin: clamp(30px, 4vw, 48px) auto;
  opacity: .95;
}
.sunburst {
  position: absolute; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(227,162,26,.30) 0%, rgba(227,162,26,.11) 38%, transparent 68%);
  filter: blur(6px);
}

/* ---------- 6. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px;
  font-size: .83rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; position: relative;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brown); color: var(--cream-lt); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brown-deep); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line-strong); color: var(--brown); background: transparent; }
.btn--ghost:hover { border-color: var(--brown); background: rgba(112,56,0,.045); }
.btn--gold { background: var(--gold); color: var(--brown-dark); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }
.btn--onDark { border: 1px solid rgba(240,229,217,.35); color: var(--cream-lt); }
.btn--onDark:hover { background: rgba(240,229,217,.1); border-color: var(--cream-lt); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brown); padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: gap .22s ease, border-color .22s ease, color .22s ease;
}
.link-arrow:hover { gap: .95em; border-color: var(--brown); color: var(--brown-deep); }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- 7. Header ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 249, .9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(74,36,0,.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
  transition: min-height .3s ease;
}
.site-header.is-stuck .header-inner { min-height: 70px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 52px; height: 40px; object-fit: contain; object-position: center;
  transition: width .3s ease, height .3s ease;
}
.site-header.is-stuck .brand__mark { width: 45px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.42rem; letter-spacing: .012em; color: var(--brown);
  transition: font-size .3s ease;
}
.site-header.is-stuck .brand__name { font-size: 1.3rem; }
.brand__tag {
  font-size: .535rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--antique); margin-top: 4px; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 30px; }
/* The in-nav CTA exists for the mobile drawer only; the header CTA covers desktop. */
.nav > .btn { display: none; }
.nav__link {
  position: relative; white-space: nowrap;
  font-size: .845rem; font-weight: 500; letter-spacing: .03em;
  color: var(--ink-mid); padding: 6px 0;
  transition: color .2s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-deep); transition: width .28s cubic-bezier(.2,.7,.3,1);
}
.nav__link:hover { color: var(--brown); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--brown); font-weight: 600; }
.header-cta { display: inline-flex; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 19px; height: 1.5px; background: var(--brown); position: relative;
  transition: background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--brown);
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% 32%, rgba(227,162,26,.13), transparent 62%),
    linear-gradient(170deg, var(--paper) 0%, var(--cream-lt) 46%, var(--cream) 100%);
  padding: clamp(48px, 6.5vw, 92px) 0 clamp(56px, 7vw, 104px);
}
.hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 4.5vw, 64px); align-items: center;
}
.hero__eyebrow { margin-bottom: 1.3rem; }
.hero .display em {
  font-style: italic; font-weight: 500;
  color: var(--brown);
  position: relative;
}
.hero__lede { margin-top: 1.6rem; }
.hero__art { position: relative; }
.hero__art img { width: 100%; height: auto; position: relative; z-index: 2; }
.hero__art .sunburst { inset: -8% -12% -8% -12%; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(34px, 4.5vw, 52px); padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.1vw, 2.5rem);
  line-height: 1; color: var(--brown); display: flex; align-items: baseline; gap: 2px;
}
.stat__label {
  margin-top: 8px; font-size: .715rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft);
}

/* Marquee strip */
.strip {
  background: var(--brown-dark); color: var(--cream-lt);
  padding: 15px 0; overflow: hidden; position: relative; z-index: 2;
}
.strip__track { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 26px;
  font-size: .715rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  white-space: nowrap; color: rgba(240,229,217,.9);
}
.strip__item::after { content: "◆"; color: var(--gold); font-size: .5rem; letter-spacing: 0; margin-left: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 9. Cards ----------------------------------------------------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__icon {
  width: 44px; height: 44px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(227,162,26,.18), rgba(227,162,26,.06));
  color: var(--brown);
}
.card__icon svg { width: 21px; height: 21px; }
.card p { margin-top: 9px; color: var(--ink-mid); font-size: .935rem; }

/* Promise list */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promise {
  background: var(--paper); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .3s ease;
}
.promise:hover { background: var(--paper-warm); }
.promise__check {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(59,82,0,.1); color: var(--green); flex: none;
}
.promise__check svg { width: 13px; height: 13px; }
.promise__text { font-size: .935rem; font-weight: 550; color: var(--brown-deep); line-height: 1.42; }

/* ---------- 10. Comparison table ----------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table.cmp {
  width: 100%; min-width: 640px; border-collapse: collapse;
  background: var(--paper); font-size: .945rem;
  border: 1px solid var(--line);
}
table.cmp caption { caption-side: top; text-align: left; padding: 0 0 14px; font-size: .82rem; color: var(--ink-soft); }
table.cmp th, table.cmp td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.cmp thead th {
  font-size: .705rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-deep); background: var(--cream); border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody th {
  font-weight: 600; font-size: .89rem; color: var(--brown-deep);
  background: rgba(240,229,217,.42); width: 27%;
}
table.cmp tbody tr:hover td { background: rgba(240,229,217,.24); }
.cmp .col-hero { background: rgba(227,162,26,.075); }
.cmp thead .col-hero { background: rgba(227,162,26,.2); color: var(--brown-deep); }
.cmp tbody tr:hover .col-hero { background: rgba(227,162,26,.13); }
.cmp .col-hero { font-weight: 550; color: var(--brown-deep); }
.tag-best {
  display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 2px;
  background: var(--gold); color: var(--brown-dark);
  font-size: .58rem; font-weight: 700; letter-spacing: .09em; vertical-align: middle;
}
.table-note { margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }
.scroll-hint { display: none; font-size: .75rem; color: var(--ink-soft); margin-bottom: 10px; letter-spacing: .06em; }

/* ---------- 11. Split rows (science) -------------------------------------- */
.insight {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.insight:last-child { border-bottom: 0; }
.insight__from { color: var(--ink-mid); font-size: .96rem; }
.insight__arrow { color: var(--antique); display: grid; place-items: center; }
.insight__arrow svg { width: 24px; height: 24px; }
.insight__to {
  font-weight: 550; color: var(--brown-deep); font-size: 1rem;
  padding-left: 22px; border-left: 2px solid var(--gold);
}

/* ---------- 12. Oil cards ------------------------------------------------ */
.oil-card {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; box-shadow: var(--shadow-sm);
  transition: transform .32s cubic-bezier(.2,.7,.3,1), box-shadow .32s ease;
  display: flex; flex-direction: column;
}
.oil-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.oil-card__top {
  padding: 30px 26px 22px; position: relative;
  background: linear-gradient(160deg, rgba(227,162,26,.14), rgba(240,229,217,.35));
  border-bottom: 1px solid var(--line);
}
.oil-card__drop { width: 46px; height: 46px; margin-bottom: 16px; }
.oil-card__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--brown-deep); line-height: 1.12; }
.oil-card__native { font-size: .715rem; letter-spacing: .16em; text-transform: uppercase; color: var(--antique); margin-top: 7px; font-weight: 600; }
.oil-card__body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.oil-card__strength { font-size: .945rem; color: var(--ink-mid); }
.oil-card__uses { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.chip {
  font-size: .7rem; font-weight: 600; letter-spacing: .05em;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(59,82,0,.075); color: var(--green); border: 1px solid rgba(59,82,0,.14);
}
.chip--gold { background: rgba(227,162,26,.13); color: var(--brown); border-color: rgba(227,162,26,.3); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.filter-btn {
  padding: 9px 19px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-mid);
  transition: all .22s ease;
}
.filter-btn:hover { border-color: var(--brown); color: var(--brown); }
.filter-btn.is-active { background: var(--brown); border-color: var(--brown); color: var(--cream-lt); }
.oil-card.is-hidden { display: none; }

/* ---------- 13. Cost calculator ------------------------------------------ */
.calc {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(24px, 3.5vw, 46px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.2vw, 42px); box-shadow: var(--shadow-md);
}
.calc__controls { display: flex; flex-direction: column; gap: 26px; }
.field label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: var(--brown-deep);
  margin-bottom: 11px;
}
.field__val { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--gold-deep); letter-spacing: 0; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 50%), rgba(112,56,0,.14) var(--fill, 50%));
  cursor: pointer; margin: 6px 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brown);
  box-shadow: var(--shadow-sm); cursor: grab;
  transition: transform .16s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brown); cursor: grab;
}
.field__hint { font-size: .765rem; color: var(--ink-soft); margin-top: 5px; }

.calc__out { display: flex; flex-direction: column; gap: 16px; }
.calc__row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--cream-lt);
}
.calc__row--hero { background: linear-gradient(140deg, rgba(227,162,26,.16), rgba(227,162,26,.05)); border-color: rgba(227,162,26,.4); }
.calc__row-label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.calc__row-sub { font-size: .8rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.calc__amount { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 600; color: var(--brown-deep); line-height: 1; white-space: nowrap; }
.calc__verdict {
  margin-top: 4px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--brown-dark); color: var(--cream-lt);
}
.calc__verdict strong { color: var(--gold-light); }
.calc__verdict p { font-size: .93rem; }

.bar { height: 8px; border-radius: 4px; background: rgba(112,56,0,.1); overflow: hidden; margin-top: 12px; grid-column: 1 / -1; }
.bar__fill { height: 100%; border-radius: 4px; transition: width .5s cubic-bezier(.2,.7,.3,1); }
.bar__fill--refined { background: var(--ink-soft); }
.bar__fill--wood { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }

/* ---------- 14. Process -------------------------------------------------- */
.process { counter-reset: step; display: grid; gap: 0; }
.process__item {
  counter-increment: step;
  display: grid; grid-template-columns: auto 1fr; gap: 26px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.process__item:last-child { border-bottom: 0; }
.process__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--antique);
  font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--gold-deep);
  background: var(--paper);
}
.process__num::before { content: "0" counter(step); }
.process__body p { margin-top: 8px; color: var(--ink-mid); font-size: .96rem; max-width: 66ch; }

/* ---------- 15. Philosophy band ------------------------------------------ */
.philosophy {
  position: relative; overflow: hidden;
  background: var(--brown-dark);
  color: var(--cream-lt);
  text-align: center;
}
.philosophy::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .1;
  background: radial-gradient(600px 320px at 50% 0%, var(--gold), transparent 70%);
}
.philosophy .wrap { position: relative; z-index: 2; }
.philosophy__words {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(16px, 3.4vw, 44px); margin: 30px 0 34px;
}
.philosophy__word {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 500; color: var(--gold-light); letter-spacing: .01em;
}
.philosophy__word + .philosophy__word::before {
  content: "·"; margin-right: clamp(16px, 3.4vw, 44px); color: rgba(240,229,217,.34);
}
.philosophy p { color: rgba(240,229,217,.8); max-width: 60ch; margin-inline: auto; }

/* ---------- 16. Accordion ------------------------------------------------ */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: clamp(1.12rem, 1.8vw, 1.35rem); font-weight: 600;
  color: var(--brown-deep); transition: color .2s ease;
}
.acc__btn:hover { color: var(--gold-deep); }
.acc__sign { flex: none; width: 22px; height: 22px; position: relative; }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; background: var(--gold-deep); border-radius: 1px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), opacity .3s ease;
}
.acc__sign::before { top: 50%; left: 0; width: 22px; height: 1.5px; transform: translateY(-50%); }
.acc__sign::after  { left: 50%; top: 0; width: 1.5px; height: 22px; transform: translateX(-50%); }
.acc__btn[aria-expanded="true"] .acc__sign::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.acc__panel { overflow: hidden; height: 0; transition: height .36s cubic-bezier(.2,.7,.3,1); }
.acc__panel-inner { padding: 0 0 26px; color: var(--ink-mid); font-size: .97rem; max-width: 76ch; }

/* ---------- 17. Contact -------------------------------------------------- */
.contact { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.contact__list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.contact__item { display: flex; gap: 15px; align-items: flex-start; }
.contact__ico {
  width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(227,162,26,.14); color: var(--brown);
}
.contact__ico svg { width: 17px; height: 17px; }
.contact__k { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact__v { font-size: 1rem; color: var(--brown-deep); font-weight: 550; margin-top: 3px; }
.contact__v a:hover { color: var(--gold-deep); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__field label { font-size: .755rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.form__field input, .form__field textarea, .form__field select {
  padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--paper-warm); font-size: .95rem; color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none; border-color: var(--gold-deep); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(227,162,26,.14);
}
.form__field textarea { resize: vertical; min-height: 118px; }
.form__field.has-error input, .form__field.has-error textarea { border-color: #a13d1a; box-shadow: 0 0 0 3px rgba(161,61,26,.1); }
.form__err { font-size: .76rem; color: #a13d1a; display: none; }
.form__field.has-error .form__err { display: block; }
.form__note { font-size: .78rem; color: var(--ink-soft); margin-top: 14px; }
.form__success {
  display: none; margin-top: 18px; padding: 15px 18px; border-radius: var(--radius);
  background: rgba(59,82,0,.09); border: 1px solid rgba(59,82,0,.24);
  color: var(--green); font-size: .9rem; font-weight: 550;
}
.form__success.is-visible { display: block; }

/* ---------- 18. Footer --------------------------------------------------- */
/* Bottom padding clears the fixed back-to-top button (46px + 22px offset),
   which otherwise sits on top of the credit line in the footer bottom row. */
.site-footer { background: var(--brown-dark); color: rgba(240,229,217,.68); padding: clamp(52px, 6vw, 78px) 0 78px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 3.6vw, 52px); }
.footer__brand .brand__name { color: var(--cream-lt); }
.footer__brand .brand__tag { color: var(--gold); }
/* The footer uses the simplified badge mark — the detailed line art turns to
   mush at this size, and to a white blob if you just invert it. */
.footer__brand .brand__mark { width: 42px; height: 42px; border-radius: 9px; }
.footer__blurb { margin-top: 18px; font-size: .9rem; line-height: 1.65; max-width: 38ch; }
.footer h4 { font-size: .715rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: .92rem; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: var(--cream-lt); padding-left: 4px; }
.footer-bottom {
  margin-top: clamp(38px, 4.5vw, 56px); padding-top: 24px;
  border-top: 1px solid rgba(240,229,217,.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: .8rem;
}
.footer-bottom .credit a {
  color: rgba(240,229,217,.86);
  border-bottom: 1px solid rgba(240,229,217,.3);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-bottom .credit a:hover { color: var(--gold-light); border-color: var(--gold-light); }
/* Disclaimer */
.disclaimer {
  border-left: 2px solid var(--antique);
  padding: 16px 20px; background: rgba(240,229,217,.42);
  font-size: .84rem; color: var(--ink-mid); line-height: 1.6;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.refs { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.refs a {
  display: block; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font-size: .88rem; color: var(--ink-mid);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.refs a:hover { border-color: var(--antique); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.refs strong { display: block; color: var(--brown-deep); font-weight: 600; margin-bottom: 3px; font-size: .93rem; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brown); color: var(--cream-lt); border: 0; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brown-deep); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- 19. Reveal ---------------------------------------------------
   Scoped to .js so that if the script fails or is blocked, nothing is ever
   left invisible — the page simply renders without the animation.          */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ---------- 20. Responsive ----------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 22px; }
  .nav__link { font-size: .81rem; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px 24px 26px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav > .btn { display: inline-flex; margin-top: 18px; width: 100%; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin-inline: auto; }
  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .insight { grid-template-columns: 1fr; gap: 12px; }
  .insight__arrow { justify-self: start; transform: rotate(90deg); }
  .insight__to { padding-left: 16px; }
  .scroll-hint { display: block; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 30px; }
  .process__item { grid-template-columns: 1fr; gap: 14px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .calc__row { grid-template-columns: 1fr; }
  .calc__amount { justify-self: start; }
}

/* ---------- 21. Motion / print ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .to-top, .strip, .nav-toggle { display: none !important; }
  body { background: #fff; }
  body::before { display: none; }
}
