/* ============================================================
   INNER WEST GUTTER CLEANER — site design system
   Forked from the Packed Out template. Same layout system,
   retextured: leaf-green accent, trade-services tone.
   Framework-free; ports cleanly to WordPress.
   ============================================================ */

/* ---------- Sans fallback (Hanken Grotesk, loaded via Google Fonts) ---------- */

/* ---------- tokens ---------- */
:root {
  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface-2: #f5f8f6;   /* soft section bg */
  --surface-3: #edf2ee;
  --ink:       #12181a;   /* dark feature sections */
  --ink-2:     #1a2222;

  --text:      #12181a;
  --text-soft: #566057;
  --text-mute: #5c655d;
  --on-dark:   #f4f8f5;
  --on-dark-soft: #a9b6ac;

  --accent:      #2f9e64;  /* leaf green — the brand mark */
  --accent-ink:  #1f7a4c;
  --accent-soft: #eafaf1;

  --border:     #e6ebe7;
  --border-2:   #dde4df;
  --border-dark:rgba(244,248,245,.14);

  --shadow-sm: 0 1px 2px rgba(18,24,26,.06);
  --shadow:    0 4px 16px -4px rgba(18,24,26,.10), 0 1px 3px rgba(18,24,26,.06);
  --shadow-lg: 0 24px 48px -16px rgba(18,24,26,.18);

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;

  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .6rem + .45vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -.005em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }

.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-dark); padding: .6rem 1rem; z-index: 10000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; top: 0; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 1.1rem;
}
.section--dark .eyebrow { color: #5cd490; }
.center .eyebrow, .section__head.center .eyebrow { display: inline-flex; }

h1, .h2, .h3 { font-family: var(--sans); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; margin: 0; }
.h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); }
.h2--tight { line-height: 1.02; }
.h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -.02em; }
.ital { color: var(--accent-ink); font-style: normal; background: linear-gradient(to top, var(--accent-soft) 0.14em, transparent 0.14em); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.section--dark .ital { color: #5cd490; background: none; }

.lede { font-size: clamp(1.075rem, .95rem + .5vw, 1.3rem); color: var(--text-soft); max-width: 44ch; margin: 1.3rem 0 0; line-height: 1.5; }
.section--dark .lede { color: var(--on-dark-soft); }
.center .lede, .section__head.center .lede { margin-inline: auto; }
.lede a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.lede a:hover { color: var(--accent); }
.section--dark .lede a { color: #5cd490; }

.prose p { margin: 0 0 1.2rem; max-width: 56ch; color: var(--text-soft); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.prose a:hover { color: var(--accent); }
.prose .callout { font-size: 1.35rem; line-height: 1.35; color: var(--text); font-weight: 600; letter-spacing: -.02em; margin-top: 2rem; padding: 1.5rem 1.75rem; background: var(--accent-soft); border-radius: var(--radius); }
.prose .callout a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); }
.bleed { margin: 0 0 1.4rem; display: grid; gap: .2rem; }
.bleed li { position: relative; padding: .9rem 0 .9rem 1.6rem; border-bottom: 1px solid var(--border); max-width: 60ch; color: var(--text-soft); }
.bleed li strong { color: var(--text); }
.bleed li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: .6rem; height: .6rem; border-radius: 2px; background: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .975rem;
  letter-spacing: -.01em;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn__meta { font-weight: 500; font-size: .8rem; opacity: .8; }

.btn--solid { background: var(--accent-ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: #185f3b; box-shadow: var(--shadow); }
.btn--line { background: var(--surface); color: var(--text); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.btn--line:hover { border-color: var(--text-mute); }
.section--dark .btn--line { background: transparent; color: var(--on-dark); border-color: var(--border-dark); box-shadow: none; }
.section--dark .btn--line:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); padding: .6rem 1.05rem; font-size: .9rem; }
.btn--ghost:hover { border-color: var(--text-mute); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; border-radius: 12px; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; }
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; display: block; object-fit: contain; border-radius: 50%; }
.brand__word { color: var(--text); }
.section--dark .brand__word, .footer .brand__word { color: var(--on-dark); }
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a { font-size: .925rem; color: var(--text-soft); font-weight: 500; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(65% 85% at 82% -12%, var(--accent-soft) 0%, transparent 65%),
    radial-gradient(45% 60% at 8% 105%, var(--accent-soft) 0%, transparent 70%),
    var(--bg);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
h1.hero__title { font-size: clamp(2.2rem, 1rem + 3.4vw, 3.4rem); letter-spacing: -.03em; margin-bottom: 1.4rem; max-width: 22ch; }
.hero__sub { color: var(--text-soft); font-size: clamp(1.075rem, .95rem + .5vw, 1.3rem); max-width: 46ch; line-height: 1.5; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.center-cta { justify-content: center; }
.hero__micro { font-size: .82rem; color: var(--text-mute); margin: 1.3rem 0 0; font-weight: 500; }

.hero__media { position: relative; }
.vsl { margin: 0; }
.vsl__frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--surface-2); }
.vsl__frame img { width: 100%; height: 100%; object-fit: cover; }
.vsl__play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
  display: grid; place-items: center; border: none; cursor: pointer;
  background: #fff; color: var(--accent); border-radius: 50%;
  box-shadow: var(--shadow-lg); transition: transform .2s ease;
}
.vsl__play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 3px; }
.vsl__play:hover { transform: scale(1.07); }
.vsl__play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vsl__play::after { animation: none; } }
.vsl__tag { position: absolute; left: 14px; bottom: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--text); padding: .4rem .7rem; border-radius: 7px; box-shadow: var(--shadow-sm); }

/* proof bar */
.proofbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border);
  padding-block: 2.25rem 2.75rem; gap: 1rem;
}
.proofbar__item { padding-inline: 1.4rem; border-left: 1px solid var(--border); }
.proofbar__item:first-child { border-left: none; padding-left: 0; }
.proofbar .num { display: block; font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); line-height: 1; color: var(--text); letter-spacing: -.03em; }
.proofbar .num small { font-size: .35em; margin-left: 2px; color: var(--accent); vertical-align: super; font-weight: 600; }
.proofbar .lbl { display: block; font-size: .85rem; color: var(--text-soft); margin-top: .6rem; line-height: 1.35; }
@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .proofbar { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; }
  .proofbar__item:nth-child(3) { padding-left: 0; border-left: none; }
}

/* ---------- region strip ---------- */
.strip { border-bottom: 1px solid var(--border); background: var(--bg); }
.strip__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: 1.5rem; }
.strip__label { font-size: .82rem; letter-spacing: .02em; color: var(--text-mute); margin: 0; white-space: nowrap; font-weight: 500; }
.strip__logos { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.strip__logos li { font-weight: 600; font-size: 1.05rem; color: var(--text-mute); letter-spacing: -.02em; }

/* ---------- sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--muted { background: var(--surface-2); }
.section--ember { background: var(--accent-soft); }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head.center { text-align: center; max-width: 42ch; margin-inline: auto; }
.section__head.sticky { position: sticky; top: 94px; align-self: start; }
@media (max-width: 900px) { .section__head.sticky { position: static; } }

.grid-2 { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { background: var(--ink-2); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.1rem); transition: transform .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-3px); border-color: rgba(47,158,100,.4); }
.step__k { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: rgba(47,158,100,.16); color: #5cd490; font-weight: 700; font-size: 1.3rem; margin-bottom: 1.1rem; }
.step__t { font-size: 1.3rem; font-weight: 700; margin: 0 0 .5rem; color: var(--on-dark); letter-spacing: -.02em; }
.step p { margin: 0; color: var(--on-dark-soft); font-size: .95rem; line-height: 1.5; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.path { border: 1px solid var(--border); border-radius: 18px; padding: clamp(1.8rem, 3vw, 2.5rem); background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.path--alt { border-color: var(--accent); box-shadow: var(--shadow); }
.path--alt::before { content: "Most popular"; position: absolute; top: -.7rem; right: 1.6rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.path__kicker { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .9rem; }
.path__name { font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem); font-weight: 700; margin: 0 0 .8rem; line-height: 1.05; letter-spacing: -.025em; }
.path__price { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 1.1rem; flex-wrap: wrap; }
.path__amt { font-weight: 700; font-size: 2rem; letter-spacing: -.03em; }
.path__once { font-size: .85rem; color: var(--text-mute); font-weight: 500; }
.path__pitch { margin: 0 0 1.6rem; color: var(--text-soft); }
.path__cta { width: 100%; justify-content: center; margin-top: auto; }
.path__guarantee { font-size: .8rem; color: var(--text-mute); text-align: center; margin: 1rem 0 0; }
.paths__bridge { text-align: center; margin: 2.2rem auto 0; max-width: 54ch; color: var(--text-soft); }
.paths__bridge strong { color: var(--text); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }

/* ticks / crosses */
.ticks, .crosses { margin: 0 0 1.6rem; display: grid; gap: .65rem; }
.ticks li, .crosses li { position: relative; padding-left: 1.9rem; font-size: .97rem; line-height: 1.45; color: var(--text-soft); }
.ticks li strong, .crosses li strong { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent-soft); -webkit-mask: none; }
.ticks li::after { content: ""; position: absolute; left: .28rem; top: .42em; width: .7rem; height: .7rem; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.crosses li::before { content: "×"; position: absolute; left: 0; top: -.05em; color: var(--text-mute); font-weight: 600; font-size: 1.25rem; }
.ticks--tight { gap: .5rem; }

/* ---------- comparison table ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--surface); }
.compare th, .compare td { text-align: left; padding: 1.05rem 1.25rem; font-size: .94rem; border-bottom: 1px solid var(--border); }
.compare thead th { font-size: .8rem; letter-spacing: .02em; color: var(--text-mute); font-weight: 600; vertical-align: bottom; text-transform: uppercase; }
.compare tbody th { font-weight: 600; color: var(--text); }
.compare td { color: var(--text-soft); }
.compare .hl { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.compare thead .hl { color: var(--accent); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }

/* ---------- value stack ---------- */
.stack { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.stack__row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem clamp(1.2rem, 3vw, 1.8rem); border-bottom: 1px solid var(--border); }
.stack__row h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .2rem; letter-spacing: -.02em; }
.stack__row p { margin: 0; font-size: .9rem; color: var(--text-soft); max-width: 46ch; }
.stack__val { font-size: .85rem; color: var(--text-mute); white-space: nowrap; font-weight: 500; }
.stack__row--bonus { background: var(--accent-soft); }
.stack__row--bonus .stack__val { color: var(--accent); font-weight: 700; }
.stack__total, .stack__price { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1rem clamp(1.2rem, 3vw, 1.8rem); }
.stack__total { border-bottom: 1px solid var(--border); color: var(--text-soft); font-size: .9rem; font-weight: 500; }
.stack__total-num { text-decoration: line-through; opacity: .7; }
.stack__price { background: var(--ink); color: var(--on-dark); }
.stack__price span:first-child { font-size: .9rem; color: var(--on-dark-soft); font-weight: 500; }
.stack__price-num { font-weight: 700; font-size: 1.8rem; color: #fff; letter-spacing: -.03em; }
.show-md { margin-top: 1.8rem; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { margin: 0; padding: 1.8rem; border: 1px solid var(--border-dark); border-radius: var(--radius); background: var(--ink-2); display: flex; flex-direction: column; gap: 1.4rem; }
.quote blockquote { margin: 0; font-size: 1.1rem; line-height: 1.45; color: var(--on-dark); letter-spacing: -.01em; }
.quote figcaption { margin-top: auto; font-size: .88rem; color: var(--on-dark-soft); }
.quote figcaption strong { display: block; color: var(--on-dark); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- fit (yes/no) ---------- */
.fit { gap: clamp(1.5rem, 4vw, 2.5rem); }
.fit__col { border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.fit__col--no { background: var(--surface-2); box-shadow: none; }
.fit__col h2 { margin-bottom: 1.4rem; }
.fit__col--yes h2 { color: var(--accent); }

/* ---------- guarantee ---------- */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.guarantee__seal { width: 132px; height: 132px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-content: center; text-align: center; flex-shrink: 0; }
.guarantee__seal span { font-weight: 700; font-size: 3rem; line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.guarantee__seal small { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.guarantee__copy h2 { margin-bottom: 1rem; }
.guarantee__copy p { margin: 0; color: var(--text-soft); max-width: 60ch; font-size: 1.05rem; }
@media (max-width: 600px) { .guarantee { grid-template-columns: 1fr; text-align: center; } .guarantee__seal { margin-inline: auto; } }

/* ---------- price card ---------- */
.pricecard { display: grid; grid-template-columns: 1.4fr .85fr; gap: 1.25rem; max-width: 920px; margin-inline: auto; }
.pricecard__main { border: 1px solid var(--border); border-radius: 18px; padding: clamp(1.8rem, 4vw, 2.8rem); background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.pricecard__name { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .8rem; font-weight: 600; }
.pricecard__amt { font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 4.25rem); line-height: 1; margin: 0 0 1.6rem; letter-spacing: -.04em; }
.pricecard__amt span { font-size: .85rem; font-weight: 500; color: var(--text-mute); display: block; margin-top: .6rem; letter-spacing: 0; }
.pricecard__main .ticks { text-align: left; max-width: 21rem; margin-inline: auto; }
.pricecard__safe { font-size: .8rem; color: var(--text-mute); margin: 1.2rem 0 0; }
.pricecard__aside { border: 1px solid var(--border); border-radius: 18px; padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--surface-2); display: flex; flex-direction: column; justify-content: center; gap: 1rem; text-align: center; }
.pricecard__or { font-weight: 700; font-size: 1.3rem; margin: 0; letter-spacing: -.02em; }
.pricecard__aside p { margin: 0; color: var(--text-soft); font-size: .94rem; }
@media (max-width: 760px) { .pricecard { grid-template-columns: 1fr; } }

/* ---------- lead magnet ---------- */
.lm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.lm__copy h2 { margin-bottom: .8rem; }
.lm__copy p { margin: 0; color: var(--text-soft); max-width: 42ch; }
.lm__form { display: flex; flex-wrap: wrap; gap: .7rem; }
.lm__form input { flex: 1 1 240px; padding: .9rem 1.1rem; border: 1px solid var(--border-2); border-radius: var(--radius-sm); font: inherit; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.lm__form input:focus { outline: 3px solid var(--accent-soft); outline-offset: 0; border-color: var(--accent); }
.lm__note { flex-basis: 100%; font-size: .82rem; margin: .2rem 0 0; min-height: 1.2em; font-weight: 500; }
.lm__note.ok { color: var(--accent); }
.lm__note.err { color: var(--accent-ink); }
@media (max-width: 700px) { .lm { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; font-size: clamp(1.075rem, 1rem + .4vw, 1.25rem); font-weight: 600; color: var(--text); letter-spacing: -.015em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.6rem; color: var(--accent); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { margin: 0 0 1.4rem; color: var(--text-soft); max-width: 62ch; }
.faq__item a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- final cta ---------- */
.finalcta .hero__micro { color: var(--on-dark-soft); margin-top: 1.6rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-block: 3rem; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.footer__brand p { margin: .6rem 0 0; color: var(--on-dark-soft); font-size: .9rem; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.8rem 1.2rem; }
.footer__col h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-soft); margin: 0 0 .9rem; font-weight: 700; }
.footer__col a { display: block; color: var(--on-dark-soft); font-size: .9rem; padding: .28rem 0; }
.footer__col a:hover { color: var(--on-dark); }
.footer__bottom { border-top: 1px solid var(--border-dark); margin-top: 2.5rem; padding-top: 1.5rem; }
.footer__legal { font-size: .82rem; color: var(--text-mute); margin: 0; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 2rem; } .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- sticky bar ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 16px -8px rgba(18,24,26,.12);
  transform: translateY(110%); transition: transform .3s ease;
}
.stickybar.show { transform: translateY(0); }
.stickybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.stickybar__txt { font-size: .95rem; color: var(--text-soft); }
.stickybar__txt strong { color: var(--text); font-weight: 700; }
.stickybar .btn { white-space: nowrap; }
@media (max-width: 500px) { .stickybar__txt { font-size: .85rem; } }

/* ---------- peek (mockup bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mock { display: flex; flex-direction: column; height: 100%; margin: 0; }
.mock--wide { grid-column: span 2; }
.mock__body { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem; box-shadow: var(--shadow-sm); }
.mock figcaption { font-size: .88rem; color: var(--text-soft); margin-top: .9rem; line-height: 1.45; }
.peek__note { text-align: center; font-size: .8rem; color: var(--text-mute); margin-top: 1.6rem; }
.dash__kpis { display: flex; gap: 1.4rem; margin-bottom: 1rem; }
.dash__k { display: block; font-size: .72rem; color: var(--text-mute); }
.dash__v { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.dash__chart { display: block; width: 100%; height: 86px; }
.dash__chart rect { fill: #d8e3dc; }
.dash__chart rect.hot { fill: var(--accent); }
.dash__cap { font-size: .76rem; color: var(--text-mute); margin: .6rem 0 0; }
.sms__hdr { font-size: .72rem; color: var(--text-mute); margin: 0; }
.sms__bub { background: var(--accent); color: #fff; border-radius: 14px 14px 14px 4px; padding: .75rem .9rem; font-size: .85rem; line-height: 1.4; margin: .6rem 0; }
.sms__meta { font-size: .76rem; color: var(--text-mute); margin: 0; }
.sms__meta strong { color: var(--accent); }
.email__sub { font-weight: 700; font-size: .92rem; margin: 0; }
.email__from { font-size: .72rem; color: var(--text-mute); margin: .15rem 0 .8rem; }
.email__body { font-size: .8rem; color: var(--text-soft); line-height: 1.5; margin: 0; }
.email__btn { display: inline-block; margin-top: .8rem; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 600; padding: .45rem .85rem; border-radius: 8px; }
.cal__hdr { font-size: .72rem; color: var(--text-mute); margin: 0 0 .6rem; }
.cal__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .28rem; font-size: .6rem; color: var(--text-mute); text-align: center; margin-bottom: .3rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .28rem; }
.cal__grid i { aspect-ratio: 1; border-radius: 5px; background: var(--surface-3); }
.cal__grid i.on { background: var(--accent); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .mock--wide { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .mock--wide { grid-column: span 1; } }

/* ---------- scroll reveal ----------
   Visible by default. JS opts elements INTO the hidden pre-reveal state
   (see main.js), so content never ships invisible if JS fails, is
   disabled, or the page is rendered headlessly without running scripts. */
[data-reveal].reveal-pending { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].reveal-pending.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal].reveal-pending { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   MULTI-PAGE SITE
   ============================================================ */
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; display: block; height: 2px; background: var(--accent); border-radius: 2px; margin-top: 3px; }
.nav__cta { white-space: nowrap; }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--surface); cursor: pointer; color: var(--text);
}
.nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav__toggle .x { display: none; }
.nav[data-open="true"] .nav__toggle .bars { display: none; }
.nav[data-open="true"] .nav__toggle .x { display: block; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: .5rem clamp(1.25rem, 5vw, 2.5rem) 1.25rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); transform: translateY(-8px);
    opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  }
  .nav[data-open="true"] .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav__links .nav__menu-cta { margin-top: .9rem; border-bottom: none; }
  .nav__links .nav__menu-cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 901px) { .nav__menu-cta { display: none; } }

/* ---------- inner-page hero ---------- */
.pagehero { background: radial-gradient(60% 80% at 85% -20%, var(--accent-soft) 0%, transparent 60%), var(--bg); border-bottom: 1px solid var(--border); }
.pagehero__inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: 56rem; }
.pagehero h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.5rem); letter-spacing: -.03em; margin: .4rem 0 0; }
.pagehero__sub { font-size: clamp(1.075rem, .95rem + .5vw, 1.3rem); color: var(--text-soft); margin: 1.2rem 0 0; max-width: 52ch; line-height: 1.5; }
.pagehero--center { text-align: center; }
.pagehero--center .pagehero__inner { margin-inline: auto; }
.pagehero--center .pagehero__sub { margin-inline: auto; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding-block: 1rem 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .82rem; color: var(--text-mute); }
.crumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--border-2); }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- long-form article ---------- */
.article { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.article__layout { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); max-width: 50rem; margin-inline: auto; }
.article__layout--toc { max-width: 70rem; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .article__layout--toc { grid-template-columns: 14rem 1fr; } }

.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-size: .85rem; color: var(--text-mute); margin: 1.4rem 0 0; }
.article__meta .tag { color: var(--accent); font-weight: 600; }
.article__meta time { color: var(--text-soft); }

.prose-long { font-size: 1.075rem; line-height: 1.7; color: var(--text); }
.prose-long > * + * { margin-top: 1.3rem; }
.prose-long p { color: var(--text-soft); max-width: 68ch; }
.prose-long h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 700; letter-spacing: -.025em; margin-top: 2.6rem; line-height: 1.1; scroll-margin-top: 90px; }
.prose-long h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; margin-top: 1.9rem; scroll-margin-top: 90px; }
.prose-long strong { color: var(--text); }
.prose-long a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose-long a:hover { color: var(--accent); }
.prose-long ul, .prose-long ol { padding-left: 1.3rem; color: var(--text-soft); max-width: 66ch; display: grid; gap: .55rem; }
.prose-long ul { list-style: none; padding-left: 0; }
.prose-long ul > li { position: relative; padding-left: 1.6rem; }
.prose-long ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 2px; background: var(--accent); }
.prose-long ol { list-style: decimal; }
.prose-long ol > li { padding-left: .3rem; }
.prose-long li strong { color: var(--text); }
.prose-long blockquote { margin: 0; padding: 1.6rem 1.8rem; background: var(--surface-2); border-radius: var(--radius); font-size: 1.25rem; line-height: 1.4; color: var(--text); font-weight: 500; letter-spacing: -.015em; }
.prose-long figure { margin: 0; }
.prose-long img { border-radius: var(--radius); border: 1px solid var(--border); }
.prose-long figcaption { font-size: .82rem; color: var(--text-mute); margin-top: .6rem; }
.prose-long hr { border: none; border-top: 1px solid var(--border); margin-block: 2.4rem; }
.prose-long .lead { font-size: 1.2rem; line-height: 1.55; color: var(--text); }

.prose-long .tablewrap { margin-block: 1.6rem; }
.prose-long table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--surface); font-size: .94rem; }
.prose-long th, .prose-long td { text-align: left; padding: .85rem 1.05rem; border-bottom: 1px solid var(--border); }
.prose-long thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .02em; color: var(--text-mute); }
.prose-long tbody th { font-weight: 600; color: var(--text); }
.prose-long td { color: var(--text-soft); }

.keybox { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: 1.4rem 1.6rem; }
.keybox h2, .keybox h3 { margin-top: 0 !important; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; color: var(--accent); }
.keybox ul { margin: .9rem 0 0; }
.keybox p:last-child, .keybox ul:last-child { margin-bottom: 0; }

.toc { font-size: .9rem; align-self: start; }
@media (min-width: 1000px) { .toc { position: sticky; top: 92px; } }
.toc__title { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); font-weight: 700; margin: 0 0 .8rem; }
.toc ol { list-style: none; display: grid; gap: .55rem; counter-reset: toc; }
.toc a { color: var(--text-soft); line-height: 1.4; display: block; }
.toc a:hover { color: var(--accent); }
@media (max-width: 999px) { .toc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: 1.2rem 1.4rem; } }

.author { display: flex; gap: 1.1rem; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.author__avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-ink); font-weight: 700; font-size: 1.2rem; overflow: hidden; }
.author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author__name { font-weight: 700; margin: 0; letter-spacing: -.01em; }
.author__role { font-size: .85rem; color: var(--text-mute); margin: .1rem 0 .5rem; }
.author__bio { font-size: .9rem; color: var(--text-soft); margin: 0; max-width: 60ch; }

.byline { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--text-soft); }
.byline__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.byline strong { color: var(--text); font-weight: 600; }

.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .postgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .postgrid { grid-template-columns: 1fr; } }
.postcard { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; }
.postcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-2); }
.postcard__thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--surface-3), var(--accent-soft)); position: relative; }
.postcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.postcard__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.postcard__tag { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .6rem; }
.postcard__title { font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .6rem; }
.postcard__title a::after { content: ""; position: absolute; inset: 0; }
.postcard__excerpt { font-size: .92rem; color: var(--text-soft); margin: 0 0 1rem; }
.postcard__meta { margin-top: auto; font-size: .8rem; color: var(--text-mute); display: flex; gap: .6rem; align-items: center; }

.postcard--feat { grid-column: 1 / -1; flex-direction: row; }
.postcard--feat .postcard__thumb { flex: 1 1 46%; aspect-ratio: auto; }
.postcard--feat .postcard__body { flex: 1 1 54%; justify-content: center; padding: clamp(1.6rem, 3vw, 2.6rem); }
.postcard--feat .postcard__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.postcard--feat .postcard__excerpt { font-size: 1rem; max-width: 52ch; }
@media (max-width: 760px) { .postcard--feat { flex-direction: column; } .postcard--feat .postcard__thumb { aspect-ratio: 16/10; } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-size: .85rem; font-weight: 600; color: var(--text-soft); border: 1px solid var(--border-2); border-radius: 999px; padding: .45rem .95rem; background: var(--surface); }
.chip:hover, .chip.is-active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.related { border-top: 1px solid var(--border); padding-top: clamp(2.5rem, 5vw, 3.5rem); }

.ctaband { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: center; }
.ctaband h2, .ctaband h3 { color: #fff; margin: 0 0 .4rem; }
.ctaband p { margin: 0; color: var(--on-dark-soft); max-width: 52ch; }
.ctaband .btn--solid { color: #fff; }
.ctaband .btn--line { background: transparent; color: var(--on-dark); border-color: var(--border-dark); }
.ctaband .btn--line:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 760px) { .ctaband { grid-template-columns: 1fr; } }
.ctaband--soft { background: var(--accent-soft); color: var(--text); }
.ctaband--soft h2, .ctaband--soft h3 { color: var(--text); }
.ctaband--soft p { color: var(--text-soft); }

.inlinecta { border: 1px dashed var(--border-2); border-radius: var(--radius); background: var(--surface-2); padding: 1.5rem 1.7rem; }
.inlinecta p { margin: 0 0 1rem; color: var(--text-soft); }
.inlinecta strong { color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.card__ico { width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .5rem; }
.card p { margin: 0; color: var(--text-soft); font-size: .95rem; }
.cards--num .card__ico { font-size: 1.1rem; }
a.card { display:block; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--border-2); box-shadow: var(--shadow); }
.card p.card__go { color: var(--accent-ink); font-weight: 600; font-size: .9rem; margin-top: .9rem; }
.cards--mix .card:first-child { grid-column: span 2; }
.cards--mix .card:last-child { grid-column: 1 / -1; }
@media (max-width: 860px) { .cards--mix .card:first-child, .cards--mix .card:last-child { grid-column: auto; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.6rem; box-shadow: var(--shadow-sm); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }
.stat .num { display: block; font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; letter-spacing: -.03em; }
.stat .lbl { display: block; font-size: .82rem; color: var(--text-soft); margin-top: .5rem; }

.contactform { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem 1rem; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); outline-offset: 0; border-color: var(--accent); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.formnote { font-size: .82rem; margin: .3rem 0 0; min-height: 1.2em; font-weight: 500; }
.formnote.ok { color: var(--accent); }
.formnote.err { color: var(--accent-ink); }

.hublist { display: grid; gap: .9rem; }
.hublink { display: flex; gap: 1rem; align-items: baseline; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-sm); transition: border-color .16s ease, transform .16s ease; }
.hublink:hover { border-color: var(--accent); transform: translateX(2px); }
.hublink__n { color: var(--accent); font-weight: 700; font-size: .9rem; }
.hublink h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .25rem; }
.hublink p { margin: 0; font-size: .9rem; color: var(--text-soft); }

.docpage { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.docpage .prose-long { max-width: 46rem; margin-inline: auto; }

.center-block { max-width: 46rem; margin-inline: auto; text-align: center; }
.mt-band { margin-top: clamp(3rem, 6vw, 5rem); }

.nav__item--has-menu { position: relative; display: inline-flex; align-items: center; }
.nav__sub {
  display: inline-flex; align-items: center; gap: .3rem;
  font: inherit; font-size: .925rem; font-weight: 500; color: var(--text-soft);
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav__sub:hover { color: var(--text); }
.nav__caret { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav__item--has-menu:hover .nav__caret,
.nav__item--has-menu:focus-within .nav__caret,
.nav__item--has-menu[data-open="true"] .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .5rem; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 200;
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item--has-menu:hover .nav__dropdown,
.nav__item--has-menu:focus-within .nav__dropdown,
.nav__item--has-menu[data-open="true"] .nav__dropdown { opacity: 1; visibility: visible; transform: none; }

.nav__dropdown a { display: block; padding: .6rem .75rem; border-radius: 9px; }
.nav__dropdown a:hover { background: var(--surface-2); }
.nav__dropdown a strong { display: block; color: var(--text); font-weight: 600; font-size: .94rem; letter-spacing: -.01em; }
.nav__dropdown a span { display: block; color: var(--text-mute); font-size: .82rem; line-height: 1.3; margin-top: .1rem; }
.nav__dropdown--wide { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.4rem; min-width: 408px; }
.nav__dd-col { min-width: 0; }
.nav__dropdown--wide a { padding: .42rem .55rem; font-weight: 600; font-size: .9rem; color: var(--text); }
.nav__dropdown--wide a:hover { color: var(--accent-ink); }
@media (max-width: 900px) { .nav__dropdown--wide { grid-template-columns: 1fr; min-width: 0; } }
.nav__dd-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); font-weight: 700; padding: .5rem .75rem .2rem; }
.nav__dd-sep { height: 1px; background: var(--border); margin: .4rem .3rem; }

@media (max-width: 900px) {
  .nav__item--has-menu { display: block; width: 100%; flex-direction: column; align-items: stretch; }
  .nav__sub { width: 100%; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; color: var(--text); }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0; padding: .25rem 0 .5rem .9rem;
    min-width: 0; display: none;
  }
  .nav__item--has-menu[data-open="true"] .nav__dropdown { display: grid; }
  .nav__dropdown::before { display: none; }
  .nav__dropdown a { padding: .55rem 0; }
  .nav__dropdown a span { display: none; }
}

/* ---------- own vs rent (DIY vs handyman comparison) ---------- */
.owngrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 760px; margin: 0 auto; }
.owncard { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.owncard--win { border-color: var(--accent); box-shadow: var(--shadow); }
.owncard__name { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 .6rem; }
.owncard--win .owncard__name { color: var(--accent); }
.owncard__price { font-weight: 700; font-size: 2.2rem; letter-spacing: -.03em; margin: 0 0 1.3rem; }
.owncard__price span { font-size: .9rem; font-weight: 500; color: var(--text-mute); letter-spacing: 0; }
@media (max-width: 640px) { .owngrid { grid-template-columns: 1fr; } }

/* ---------- team / credibility ---------- */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.founder__photo { aspect-ratio: 4/5; border: 1.5px dashed var(--border-2); border-radius: 18px; background: var(--surface-2); display: grid; place-items: center; }
.founder__photo span { font-size: .78rem; color: var(--text-mute); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.founder__photo:has(img) { border: none; background: none; }
.founder__copy .ticks { margin-top: 1.5rem; }
@media (max-width: 780px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 260px; aspect-ratio: 1; } }

/* home-only layout families */
.ladder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 4vw, 3.2rem) clamp(2.5rem, 5vw, 4.5rem); }
.ladder__row { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; }
.ladder__k { font-weight: 700; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: .9; color: var(--accent); letter-spacing: -.03em; }
.ladder__t { font-size: 1.25rem; font-weight: 700; margin: 0 0 .45rem; letter-spacing: -.02em; }
.ladder__row p { margin: 0; color: var(--text-soft); font-size: .97rem; line-height: 1.55; max-width: 44ch; }
@media (max-width: 700px) { .ladder { grid-template-columns: 1fr; } }

.quotes--light .quote { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.quotes--light .quote blockquote { color: var(--text); }
.quotes--light .quote figcaption { color: var(--text-mute); }
.quotes--light .quote figcaption strong { color: var(--text); }

.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2.5rem, 5vw, 4.5rem); }
.venue { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem .15rem; border-bottom: 1px solid var(--border); }
.venues .venue:nth-child(1), .venues .venue:nth-child(2) { border-top: 1px solid var(--border); }
.venue h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .2rem; }
.venue p { margin: 0; font-size: .9rem; color: var(--text-soft); }
.venue__go { color: var(--accent-ink); font-weight: 600; flex-shrink: 0; transition: transform .16s ease; }
.venue:hover .venue__go { transform: translateX(3px); }
@media (max-width: 700px) { .venues { grid-template-columns: 1fr; } .venues .venue:nth-child(2) { border-top: none; } }

.faqcol { max-width: 46rem; margin-inline: auto; }
.faqcol .section__head { margin-bottom: 2rem; }

.wrap.center { text-align: center; }

.peek__foot { text-align: center; margin-top: 2.4rem; }
.peek__foot .peek__note { margin: 0 0 1rem; }

.prose-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.75rem; margin-top: .5rem; }
.prose-cols .deepdive__item h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5rem; }
.prose-cols .deepdive__item h3::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 2px; background: var(--accent); margin-right: .55rem; vertical-align: middle; }
.prose-cols .deepdive__item p { margin: 0; color: var(--text-soft); font-size: .96rem; line-height: 1.6; }
@media (max-width: 760px) { .prose-cols { grid-template-columns: 1fr; gap: 1.4rem; } }

/* casestudy block (reused from template pattern) */
.casestudy { max-width: 60rem; margin-inline: auto; text-align: center; }
.casestudy__quote { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.45; color: var(--text); font-weight: 500; letter-spacing: -.015em; margin: 0 0 1rem; }
.casestudy__by { color: var(--text-mute); font-size: .9rem; margin: 0 0 2rem; }
