/* ============================================================
   RYTVAE CONSULTING — Core Stylesheet
   Design system: Deep-black luxury, brand-red "trace line" motif.
   Author: build for rytvae.com | Fonts: Playfair Display, Manrope, Space Grotesk
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Surfaces */
  --ink:        #17171e;   /* primary background (soft black) */
  --char:       #20202a;   /* charcoal panel */
  --graphite:   #292933;   /* card base */
  --graphite-2: #34343f;   /* raised card / hairlines */
  --line:       #45454f;   /* borders */

  /* Brand */
  --red:        #e11b2e;   /* logo-inspired signature red */
  --red-bright: #ff2a3c;   /* glow / hover */
  --red-deep:   #a5121f;   /* pressed / gradient tail */
  --gold:       #c9a24b;   /* minimal gold accent (trust badges, stars) */

  /* Text */
  --white:      #f6f6f8;
  --silver:     #c7c7cf;
  --muted:      #8d8d97;
  --faint:      #5c5c65;

  /* Gradients */
  --grad-silver: linear-gradient(180deg, #ffffff 0%, #b9b9c2 100%);
  --grad-red:    linear-gradient(135deg, var(--red-bright) 0%, var(--red-deep) 100%);
  --grad-panel:  linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));

  /* Type */
  --f-display: "Playfair Display", Georgia, serif;
  --f-body:    "Manrope", system-ui, -apple-system, sans-serif;
  --f-data:    "Space Grotesk", "Manrope", monospace;

  /* Rhythm */
  --maxw: 1240px;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --sect-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.75);
  --shadow-red: 0 18px 50px -18px rgba(225,27,46,.45);
}

/* ---------- 2. Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--f-body);
  background:
    radial-gradient(1100px 750px at 50% 0%, #2b2b3a 0%, transparent 66%),
    linear-gradient(180deg, #222230 0%, var(--ink) 40%, #131319 100%),
    var(--ink);
  background-attachment: fixed;
  color: var(--silver);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }

/* Ambient depth: red glow, woven hairlines, corner vignette */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(225,27,46,.13), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(225,27,46,.07), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.022) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.016) 0 1px, transparent 1px 7px),
    radial-gradient(140% 115% at 50% 45%, transparent 68%, rgba(0,0,0,.22) 100%);
}

/* Fine film grain — keeps large black fields from reading flat */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 0; pointer-events: none;
  opacity: .075;
  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='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-1.5%, 1%); }
  40% { transform: translate(1%, -1.5%); }
  60% { transform: translate(-1%, -1%); }
  80% { transform: translate(1.5%, 1%); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }
.section { padding-block: var(--sect-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.grid { display: grid; gap: var(--gap); }
.center { text-align: center; }

/* Eyebrow label — data font, tracked out, with a red tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-data);
  font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--grad-red); border-radius: 2px;
  box-shadow: 0 0 12px rgba(225,27,46,.6);
}

/* Section titles */
.title {
  font-family: var(--f-display); font-weight: 600; color: var(--white);
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.01em;
}
.title .accent { color: var(--red); font-style: italic; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 60ch; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; }

/* The signature: a thin red trace line used as a separator */
.trace {
  height: 2px; width: 100%; border: 0;
  background: linear-gradient(90deg, transparent, var(--red) 18%, var(--red-bright) 50%, var(--red) 82%, transparent);
  opacity: .55; margin-block: 0;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; white-space: nowrap;
}
.btn i { font-size: .95em; }
.btn--primary { background: var(--grad-red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 60px -16px rgba(225,27,46,.7); }
.btn--ghost { border: 1px solid var(--line); color: var(--white); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--red); color: #fff; transform: translateY(-3px); background: rgba(225,27,46,.08); }
.btn--wa { background: #1faa55; color: #fff; }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -18px rgba(31,170,85,.7); }
.btn--sm { padding: .7rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,8,.82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo { display: flex; align-items: center; gap: .7rem; }
.nav__logo img { height: 42px; width: auto; }
.nav__logo .mark { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--white); letter-spacing: .02em; }
.nav__logo .mark b { color: var(--red); }

.nav__links { display: flex; align-items: center; gap: 1.35rem; white-space: nowrap; }
.nav__links > li > a {
  position: relative; font-weight: 600; font-size: .93rem; color: var(--silver); padding-block: .4rem;
}
.nav__links > li > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad-red); transition: width .3s var(--ease); border-radius: 2px;
}
.nav__links > li > a:hover, .nav__links > li > a.active { color: #fff; }
.nav__links > li > a:hover::after, .nav__links > li > a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: .8rem; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(760px, 90vw); background: rgba(16,16,19,.97); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem 1.6rem;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--shadow); border-top: 2px solid var(--red);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__col h4 { font-family: var(--f-data); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: .3rem 0 .7rem; }
.mega a { display: block; padding: .4rem 0; font-size: .9rem; color: var(--silver); }
.mega a:hover { color: #fff; padding-left: .3rem; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 30px; z-index: 120; }
.burger span { height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: .35s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 110; background: rgba(8,8,8,.98); backdrop-filter: blur(6px);
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; justify-content: center; padding: 5rem 2rem 2rem;
}
.drawer.open { transform: translateX(0); }
.drawer a { font-family: var(--f-display); font-size: 1.5rem; color: var(--white); padding: .55rem 0; border-bottom: 1px solid var(--line); }
.drawer a:hover { color: var(--red); }
.drawer .btn { margin-top: 1.6rem; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 76px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.hero__img {
  position: absolute; inset: 0; z-index: 0; object-fit: cover; width: 100%; height: 100%;
  opacity: .28; mix-blend-mode: luminosity;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 30%, rgba(16,16,21,.55) 65%, rgba(16,16,21,.2) 100%),
              linear-gradient(0deg, var(--ink), transparent 40%);
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .8rem; color: var(--silver);
  margin-bottom: 1.6rem; font-family: var(--f-data); letter-spacing: .04em;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 {
  font-family: var(--f-display); font-weight: 600; color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 1.3rem;
}
.hero h1 .accent { color: var(--red); font-style: italic; position: relative; }
.hero p.sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--silver); max-width: 60ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3rem; }

/* Hero stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 720px; }
.stat { border-left: 2px solid var(--red); padding-left: 1rem; }
.stat__num { font-family: var(--f-data); font-weight: 700; color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.02em; }
.stat__num .unit { color: var(--red); }
.stat__label { font-size: .8rem; color: var(--muted); margin-top: .45rem; letter-spacing: .02em; }

/* ---------- 7. Cards & panels ---------- */
.panel {
  background: linear-gradient(180deg, var(--graphite), var(--char));
  border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden;
}
.card {
  background:
    radial-gradient(420px 200px at 12% 0%, rgba(255,255,255,.05), transparent 70%),
    var(--grad-panel), var(--graphite);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  position: relative; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad-red);
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(225,27,46,.4); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleY(1); }
.card__ico {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(225,27,46,.12); color: var(--red); font-size: 1.35rem; margin-bottom: 1.1rem;
  border: 1px solid rgba(225,27,46,.25);
}
.card h3 { font-family: var(--f-body); font-weight: 700; color: var(--white); font-size: 1.2rem; margin-bottom: .55rem; }
.card p { font-size: .94rem; color: var(--muted); }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--red); font-weight: 600; font-size: .88rem; }
.card__link:hover { gap: .7rem; color: var(--red-bright); }

/* Glass card variant */
.glass {
  background: rgba(255,255,255,.04); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
}

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

/* Cursor-follow spotlight — JS sets --mx / --my on hovered surfaces */
.card, .panel, .glass, .footer__col, .stat {
  --mx: 50%; --my: 50%;
}
.card::after, .panel::after, .glass::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(255,255,255,.09), rgba(225,27,46,.10) 38%, transparent 68%);
}
.card:hover::after, .panel:hover::after, .glass:hover::after { opacity: 1; }
.card > *, .panel > *, .glass > * { position: relative; z-index: 1; }

/* Hover: buttons get a light sweep */
.btn { overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* Hover: stat tiles + footer links */
.stat { transition: transform .4s var(--ease), border-color .4s, background .4s; }
.stat:hover { transform: translateY(-4px); border-color: rgba(225,27,46,.45); background: rgba(255,255,255,.03); }
.footer a { position: relative; }
.footer a:not(.btn):hover { color: #fff; padding-left: .35rem; }
.checklist li { transition: color .35s var(--ease), transform .35s var(--ease); }
.checklist li:hover { color: #fff; transform: translateX(3px); }

/* ---------- 7b. Light section theme (alternating rhythm) ---------- */
.section--light {
  --ink:        #f7f6f3;
  --char:       #eeece7;
  --graphite:   #ffffff;
  --graphite-2: #e7e4dd;
  --line:       #dcd8d0;
  --white:      #14141a;
  --silver:     #43434d;
  --muted:      #6d6d78;
  --faint:      #9b9ba4;
  --grad-panel: linear-gradient(180deg, rgba(0,0,0,.025), rgba(0,0,0,0));
  --shadow:     0 22px 55px -26px rgba(20,20,26,.28);
  position: relative; z-index: 1; color: var(--silver);
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(225,27,46,.05), transparent 62%),
    linear-gradient(180deg, #fbfaf8 0%, var(--ink) 45%, #f1efeb 100%);
  border-block: 1px solid #e6e2da;
}
/* paper grain + weave so light bands aren't flat either */
.section--light::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(45deg, rgba(20,20,26,.016) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(20,20,26,.012) 0 1px, transparent 1px 7px);
}
.section--light > * { position: relative; z-index: 1; }
.section--light .card {
  background: radial-gradient(420px 200px at 12% 0%, rgba(20,20,26,.03), transparent 70%), var(--grad-panel), #fff;
  box-shadow: 0 2px 10px -6px rgba(20,20,26,.18);
}
.section--light .card::after, .section--light .panel::after, .section--light .glass::after {
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(225,27,46,.09), rgba(20,20,26,.05) 42%, transparent 70%);
}
.section--light .glass { background: rgba(255,255,255,.7); border-color: rgba(20,20,26,.08); }
.section--light .btn--ghost { background: rgba(20,20,26,.03); color: var(--white); }
.section--light .btn--ghost:hover { color: #fff; background: var(--red); border-color: var(--red); }
.section--light .tl-item:hover h3, .section--light .calc__tab:hover:not(.active) { color: #000; }
.section--light .card:hover { box-shadow: var(--shadow); }
.section--light .map-embed iframe { filter: grayscale(.25) contrast(1.02); }
.section--light .cta-band { border-color: transparent; }
.section--light input, .section--light select, .section--light textarea { background: #fff; }
.section--light .split__media .tag { background: rgba(16,16,21,.72); border-color: rgba(255,255,255,.18); color: #fff; }
.section--light .split__media { border-color: #dcd8d0; box-shadow: 0 2px 12px -6px rgba(20,20,26,.2); }

/* ---------- 8. Split feature (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; filter: saturate(1.05) contrast(1.02); }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16,16,21,.55)); transition: opacity .5s var(--ease); }
.split__media img { transition: transform .7s var(--ease), filter .5s var(--ease); }
.split__media:hover img { transform: scale(1.05); filter: saturate(1.15) contrast(1.05); }
.split__media:hover::after { opacity: .55; }
.split__media .tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: flex; align-items: center; gap: .6rem;
  background: rgba(8,8,8,.7); border: 1px solid var(--line); padding: .55rem .9rem; border-radius: 999px; font-size: .8rem; color: var(--white);
}
.split__media .tag i { color: var(--red); }

.checklist { margin-top: 1.4rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--silver); font-size: .96rem; }
.checklist i { color: var(--red); margin-top: .28rem; font-size: .85rem; }

/* ---------- 9. Stat band ---------- */
.band { background: linear-gradient(180deg, var(--char), var(--ink)); border-block: 1px solid var(--line); }
.band .grid-4 .stat { border-left-color: var(--red); }

/* ---------- 10. Timeline (client journey) ---------- */
.timeline { position: relative; margin-top: 1rem; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--red), rgba(225,27,46,.15));
}
.tl-item { position: relative; padding-bottom: 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.2rem; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--red); box-shadow: 0 0 0 4px rgba(225,27,46,.12);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), background .4s;
}
.tl-item:hover::before { transform: scale(1.25); background: var(--red); box-shadow: 0 0 0 8px rgba(225,27,46,.18), 0 0 22px rgba(255,42,60,.6); }
.tl-item h3, .tl-item p { transition: color .35s var(--ease), transform .4s var(--ease); }
.tl-item:hover h3 { color: #fff; transform: translateX(4px); }
.tl-item:hover p { color: var(--silver); transform: translateX(4px); }
.tl-item .step { font-family: var(--f-data); font-size: .72rem; letter-spacing: .2em; color: var(--red); text-transform: uppercase; }
.tl-item h3 { color: var(--white); font-size: 1.2rem; margin: .3rem 0 .4rem; }
.tl-item p { color: var(--muted); font-size: .94rem; }

/* ---------- 11. Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: stretch; }
.calc__panel { padding: 2rem; }
.calc__result { display: grid; gap: 1.4rem; align-content: space-between; }
.field { margin-bottom: 1.6rem; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; }
.field label { font-size: .9rem; color: var(--silver); font-weight: 600; }
.field .val { font-family: var(--f-data); font-weight: 700; color: var(--white); font-size: 1.05rem; }
.field .val small { color: var(--red); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 5px; background: var(--graphite-2); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-red); box-shadow: 0 0 0 4px rgba(225,27,46,.18); cursor: pointer; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,27,46,.18); cursor: pointer; }

.result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.result-row:last-child { border-bottom: 0; }
.result-row .k { color: var(--muted); font-size: .92rem; }
.result-row .v { font-family: var(--f-data); font-weight: 700; font-size: 1.25rem; color: var(--white); }
.result-row.total .v { color: var(--red); font-size: 1.7rem; }
.calc__tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.calc__tab { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--silver); font-weight: 600; font-size: .88rem; transition: .3s var(--ease); }
.calc__tab.active { background: var(--grad-red); color: #fff; border-color: transparent; }
.calc__tab:hover:not(.active) { border-color: var(--red); color: #fff; }
.calc-panel { display: none; }
.calc-panel.active { display: block; animation: fade .5s var(--ease); }
.chart-wrap { position: relative; min-height: 240px; }

/* ---------- 12. Testimonials (Swiper) ---------- */
.quote { padding: 2rem; height: auto; }
.quote .stars { color: var(--gold); margin-bottom: 1rem; font-size: .9rem; letter-spacing: .15em; }
.quote p { font-size: 1.02rem; color: var(--silver); font-style: italic; line-height: 1.7; }
.quote .who { margin-top: 1.4rem; display: flex; align-items: center; gap: .8rem; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-red); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--f-data); }
.quote .who b { color: var(--white); display: block; font-size: .95rem; }
.quote .who span { color: var(--muted); font-size: .82rem; }
.swiper { padding-bottom: 3rem !important; }
.swiper-pagination-bullet { background: var(--muted); opacity: .5; }
.swiper-pagination-bullet-active { background: var(--red); opacity: 1; width: 22px; border-radius: 4px; }

/* ---------- 13. FAQ accordion ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--graphite); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 1.6rem; color: var(--white); font-weight: 600; font-size: 1.02rem; }
.faq__q i { color: var(--red); transition: transform .35s var(--ease); flex-shrink: 0; }
.faq__item.open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 1.6rem 1.4rem; color: var(--muted); font-size: .96rem; }

/* ---------- 14. Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { font-size: .85rem; color: var(--silver); font-weight: 600; margin-bottom: .4rem; display: block; }
.form .req { color: var(--red); }
input, select, textarea {
  width: 100%; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; color: var(--white); font-family: inherit; font-size: .95rem; transition: border-color .3s, box-shadow .3s;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,27,46,.14); outline: none; }
textarea { resize: vertical; min-height: 120px; }
.field-msg { font-size: .78rem; margin-top: .35rem; min-height: 1em; color: var(--red-bright); }
.form__ok { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(31,170,85,.12); border: 1px solid rgba(31,170,85,.4); color: #5fd98a; font-size: .92rem; }
.form__ok.show { display: block; }
input.invalid, textarea.invalid, select.invalid { border-color: var(--red); }

/* ---------- 15. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.4rem; }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(225,27,46,.12); color: var(--red); border: 1px solid rgba(225,27,46,.25); }
.info-row h4 { color: var(--white); font-size: .95rem; margin-bottom: .2rem; }
.info-row p, .info-row a { color: var(--muted); font-size: .92rem; }
.info-row a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed { min-height: 260px; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }

/* ---------- 16. CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(2.5rem, 5vw, 4rem); border: 1px solid var(--line); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(225,27,46,.22), transparent 70%), linear-gradient(180deg, var(--char), var(--ink)); z-index: -1; }
.cta-band h2 { font-family: var(--f-display); color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin-bottom: .8rem; }
.cta-band p { color: var(--silver); max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 17. Footer ---------- */
.footer { background: radial-gradient(1000px 400px at 50% 0%, rgba(225,27,46,.06), transparent 65%), var(--char); border-top: 2px solid var(--red); padding-top: clamp(3rem, 6vw, 4.5rem); position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer__brand img { height: 46px; margin-bottom: 1.1rem; }
.footer__brand p { color: var(--muted); font-size: .9rem; max-width: 34ch; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--f-data); margin-bottom: 1.1rem; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a { color: var(--muted); font-size: .92rem; }
.footer ul a:hover { color: var(--red); padding-left: .25rem; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--silver); transition: .3s var(--ease); }
.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }
.disclaimer { border-top: 1px solid var(--line); padding-block: 1.6rem; }
.disclaimer p { color: var(--faint); font-size: .78rem; line-height: 1.7; margin-bottom: .6rem; }
.footer__bar { border-top: 1px solid var(--line); padding-block: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__bar p { color: var(--faint); font-size: .82rem; }
.footer__bar a { color: var(--muted); }
.footer__bar a:hover { color: var(--red); }

/* ---------- 18. Floating actions & misc ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab .wa { background: #1faa55; }
.fab .call { background: var(--grad-red); }
.to-top { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--graphite); border: 1px solid var(--line); color: var(--white); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); border-color: var(--red); }

/* Mobile sticky CTA */
.mobile-cta { display: none; position: fixed; inset: auto 0 0 0; z-index: 95; background: rgba(8,8,8,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: .7rem; gap: .6rem; }
.mobile-cta .btn { flex: 1; }

/* Page loader */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--ink); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader__mark { font-family: var(--f-display); font-size: 2rem; color: var(--white); letter-spacing: .1em; position: relative; }
.loader__mark b { color: var(--red); }
.loader__bar { width: 160px; height: 2px; background: var(--graphite-2); border-radius: 2px; margin-top: 1rem; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--grad-red); animation: load 1.1s var(--ease) infinite; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem); position: relative; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 50% -10%, rgba(225,27,46,.18), transparent 65%); z-index: -1; }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(2.2rem, 5.5vw, 3.8rem); color: #fff; line-height: 1.06; }
.page-hero h1 .accent { color: var(--red); font-style: italic; }
.page-hero p { color: var(--silver); max-width: 60ch; margin: 1.1rem auto 0; }
.crumbs { font-family: var(--f-data); font-size: .78rem; letter-spacing: .1em; color: var(--muted); margin-bottom: 1.4rem; text-transform: uppercase; }
.crumbs a:hover { color: var(--red); }

/* Prose (legal pages) */
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { font-family: var(--f-display); color: var(--white); font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.prose h3 { color: var(--white); font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--silver); font-size: .98rem; margin-bottom: .9rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { padding-left: 1.4rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--red); }
.prose strong { color: var(--white); }

/* Pills / badges */
.pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); color: var(--silver); font-family: var(--f-data); }
.pill.gold { color: var(--gold); border-color: rgba(201,162,75,.4); }
.pill i { color: var(--red); }

/* ---------- 19. Animations ---------- */
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 1220px) and (min-width: 861px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .burger { display: flex; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .burger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .split--rev .split__copy { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .mega { display: none; }
  .mobile-cta { display: flex; }
  .fab { bottom: 74px; }
  .to-top { bottom: 74px; }
  body { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .grid-4, .stats { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}


/* ---------- Brand logo lockups ---------- */
.nav__logo .brand-logo { height: 30px; width: auto; display: block; }
.nav.scrolled .nav__logo .brand-logo { height: 27px; }
.footer__brand .brand-logo--tagline { height: 62px; width: auto; margin-bottom: 1rem; }
.section--light .brand-logo { filter: invert(1) hue-rotate(180deg) saturate(1.6); }
.loader__mark img { height: 46px; width: auto; }
.brand-tagline {
  font-family: var(--f-display); font-style: italic; letter-spacing: .01em;
  color: var(--faint); font-size: 1.02rem;
}
.brand-tagline b { color: var(--red); font-style: normal; font-weight: 600; }
.mark-badge { height: 34px; width: auto; }

/* footer now carries five columns */
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; }
}

/* ---------- Investor login / quick links ---------- */
.login-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem; align-items: stretch; }
@media (max-width: 900px) { .login-grid { grid-template-columns: 1fr; } }
.login-card { display: flex; flex-direction: column; gap: .9rem; padding: 2.2rem; }
.ico-lg {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(225,27,46,.12); color: var(--red); font-size: 1.3rem; border: 1px solid rgba(225,27,46,.28);
}
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.link-tile {
  display: flex; align-items: center; gap: .8rem; padding: .95rem 1.05rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--graphite);
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.link-tile i { color: var(--red); width: 18px; text-align: center; }
.link-tile span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: .12rem; }
.link-tile:hover { transform: translateY(-3px); border-color: rgba(225,27,46,.5); box-shadow: var(--shadow); }
.section--light .link-tile { background: #fff; }


/* ---------- Insights / blog cards ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--char); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-card__body h3 { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; color: var(--white); }
.post-card__body p { font-size: .95rem; color: var(--muted); }
.post-meta { display: flex; align-items: center; gap: .7rem; font-family: var(--f-data); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.post-chip { padding: .18rem .6rem; border-radius: 999px; background: rgba(225,27,46,.12); color: var(--red); border: 1px solid rgba(225,27,46,.28); }
.post-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.post-src { font-family: var(--f-data); font-size: .76rem; letter-spacing: .05em; color: var(--faint); display: inline-flex; align-items: center; gap: .4rem; }
.post-src i { color: var(--red); }


/* ---------- Credential strip ---------- */
.cred-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.cred {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--graphite);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.cred:hover { transform: translateY(-3px); border-color: rgba(225,27,46,.42); box-shadow: var(--shadow); }
.cred__mark {
  flex: 0 0 auto; min-width: 66px; height: 46px; padding-inline: .7rem;
  display: grid; place-items: center; border-radius: 9px;
  background: rgba(225,27,46,.09); border: 1px solid rgba(225,27,46,.26);
  font-family: var(--f-data); font-weight: 700; font-size: 1rem; letter-spacing: .04em; color: var(--red);
}
.cred__mark sup { font-size: .55em; }
.cred__meta b { display: block; font-size: .95rem; color: var(--white); line-height: 1.3; }
.cred__meta span { display: block; font-family: var(--f-data); font-size: .76rem; letter-spacing: .04em; color: var(--muted); margin-top: .18rem; }
.cred-note { text-align: center; margin-top: 1.4rem; font-size: .93rem; color: var(--muted); }
.cred-note a { color: var(--red); border-bottom: 1px solid rgba(225,27,46,.4); }
.cred-note a:hover { color: var(--white); border-color: var(--white); }
.section--light .cred { background: #fff; }
.cred-logo { max-height: 40px; width: auto; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--graphite); }
.section--light .cmp-table { background: #fff; }
.cmp-table th, .cmp-table td { padding: .95rem 1.15rem; text-align: left; font-size: .95rem; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-family: var(--f-data); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: var(--char); }
.section--light .cmp-table thead th { background: var(--graphite-2); color: var(--silver); }
.cmp-table thead th:last-child { color: var(--red); }
.cmp-table tbody td:first-child { font-weight: 600; color: var(--white); width: 30%; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody tr:hover td { background: rgba(225,27,46,.04); }


/* ---------- Registered mark beside the wordmark ---------- */
.nav__logo { display: inline-flex; align-items: flex-start; gap: 2px; }
.footer__brand { position: relative; }
.footer__brand > .brand-logo--tagline { display: inline-block; }
.rmark { font-family: var(--f-body); font-size: .58rem; font-weight: 700; color: var(--red); line-height: 1; margin-top: 2px; }
.rmark--foot { font-size: .66rem; vertical-align: top; margin-left: 3px; }

/* ---------- Association / partner strips ---------- */
.strip-title {
  margin: 2.4rem 0 1rem; text-align: center;
  font-family: var(--f-data); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
}
.cred-logo { max-height: 40px; max-width: 108px; width: auto; object-fit: contain; flex: 0 0 auto; }
.cred-strip--partners { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- Logo / name marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding-block: .3rem;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: .8rem; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}
.marquee__item {
  flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: .35rem;
  padding: .7rem 1.15rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--graphite); color: var(--white);
  font-weight: 600; font-size: .93rem; white-space: nowrap;
  transition: border-color .3s var(--ease), background .3s, transform .3s var(--ease);
}
.marquee__item em { font-style: normal; font-family: var(--f-data); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.marquee__item:hover { transform: translateY(-2px); border-color: rgba(225,27,46,.45); background: var(--graphite-2); }
.marquee__item img { max-height: 30px; width: auto; }
.section--light .marquee__item { background: #fff; }


/* ---------- Checklist alignment (bold lead-ins + small icons wrapped unevenly) ---------- */
.checklist li {
  display: block; position: relative;
  padding-left: 1.8em; text-wrap: pretty;
}
.checklist li > i:first-child {
  position: absolute; left: 0; top: .34em; margin: 0;
  width: 1.05em; text-align: center; font-size: .9em; line-height: 1;
}
.checklist li > i.fa-circle-dot { font-size: .5em; top: .95em; }


/* partner tiles: give the wordy ones room, keep logos evenly sized */
.cred { min-height: 78px; }
.cred__meta { min-width: 0; }
.cred__meta b { line-height: 1.35; }
.cred__meta span { line-height: 1.4; }
.cred-logo { max-height: 34px; max-width: 84px; }
.cred-strip, .cred-strip--partners { grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); }


/* ---------- AMC logo marquee tiles ---------- */
.strip-sub { text-align: center; margin: -.4rem 0 1.1rem; font-size: .9rem; color: var(--muted); }
.marquee__item--logo {
  padding: .5rem .75rem; background: #fff; border-color: rgba(255,255,255,.14);
  min-width: 138px; justify-content: center;
}
.marquee__item--logo img {
  max-height: 42px; max-width: 118px; width: auto; object-fit: contain; display: block;
}
.marquee__item--logo:hover { background: #fff; transform: translateY(-3px); }
.marquee__track { gap: .9rem; }


/* stop long partner names colliding with their caption */
.cred__meta { display: flex; flex-direction: column; gap: .2rem; }
.cred__meta b { display: block; width: 100%; margin: 0; }
.cred__meta span { display: block; width: 100%; margin: 0; }


/* ---------- Philosophy: pull quote + cost illustration ---------- */
.pullquote {
  max-width: 780px; margin: 2.2rem auto 0; padding: 1.6rem 1.9rem;
  border-left: 3px solid var(--red); background: var(--graphite); border-radius: 0 14px 14px 0;
}
.section--light .pullquote { background: #fff; }
.pullquote p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4; color: var(--white); }
.pullquote cite { display: block; margin-top: .7rem; font-family: var(--f-data); font-style: normal; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.cost-panel {
  margin-top: 2.4rem; padding: 2rem; display: grid; gap: 1.8rem;
  grid-template-columns: 1.15fr .85fr; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--graphite);
}
.section--light .cost-panel { background: #fff; }
@media (max-width: 860px) { .cost-panel { grid-template-columns: 1fr; padding: 1.5rem; } }
.cost-panel__copy h3 { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--white); margin: .5rem 0 .7rem; }
.cost-panel__copy p { color: var(--muted); }
.cost-panel__note { margin-top: .9rem; font-size: .82rem; color: var(--faint); }
.cost-panel__nums { display: grid; gap: .7rem; }
.cost-stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.15rem; border: 1px solid var(--line); border-radius: 12px;
}
.cost-stat__k { font-family: var(--f-data); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cost-stat b { font-family: var(--f-data); font-size: 1.45rem; color: var(--white); }
.cost-stat--hero { border-color: rgba(225,27,46,.45); background: rgba(225,27,46,.08); }
.cost-stat--hero b { color: var(--red); font-size: 1.7rem; }


/* calculator field labels: let long labels wrap without crowding the value */
.field__top { gap: .9rem; flex-wrap: wrap; }
.field__top label { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.field__top .val { flex: 0 0 auto; white-space: nowrap; }


/* mobile: give the burger a proper 44px tap target without moving the bars */
@media (max-width: 1220px) {
  .burger { padding: 14px 7px; margin: -14px -7px; box-sizing: content-box; }
}


/* post artwork is portrait/square creative — show it whole, not cropped */
.post-card__media { aspect-ratio: 1 / 1; background: var(--char); display: block; padding: .5rem; box-sizing: border-box; }
.section--light .post-card__media { background: #f1efeb; }
.post-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
