/* =========================================================================
   Northcrest Wealth — site styles
   Brand colours (--primary, --accent, …) are injected from src/_data/site.json
   in the <head> of layouts/base.njk, so they stay editable in one place.
   ========================================================================= */

:root {
  /* Fallbacks in case the inline brand vars are ever missing */
  --primary: #0f2a4a;
  --primary-dark: #0a1d34;
  --accent: #1c8a46;
  --accent-dark: #15703a;

  --ink: #16202c;
  --ink-soft: #46566a;
  --muted: #6b7a8d;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef3f9;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 74, 0.06), 0 2px 8px rgba(15, 42, 74, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 42, 74, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 42, 74, 0.16);

  --container: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

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

/* ----------------------------------------------------------------- Reset */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-dark); }

ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); }

p { color: var(--ink-soft); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ------------------------------------------------------------ Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.section--soft { background: var(--bg-soft); }
.section--ink {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(28, 138, 70, 0.18), transparent 60%),
    linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #eaf0f8;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(234, 240, 248, 0.82); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--accent); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 0.9rem; font-size: 1.08rem; }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

.text-balance { text-wrap: balance; }

/* -------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn-accent { --btn-bg: var(--accent); --btn-fg: #ffffff; }
.btn-accent:hover { background: var(--accent-dark); }

.btn-primary { --btn-bg: var(--primary); --btn-fg: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(15, 42, 74, 0.25);
}
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.section--ink .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.section--ink .btn-outline:hover { background: #fff; color: var(--primary-dark); }

.btn-ghost { background: transparent; color: var(--primary); padding-inline: 0.25rem; }
.btn-ghost:hover { transform: none; box-shadow: none; color: var(--accent-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--primary-dark); }
.brand:hover { color: var(--primary-dark); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: inset 0 0 0 1.5px rgba(28, 138, 70, 0.5);
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.01em; }
.brand-logo { height: 54px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 46px; } }
.brand-logo--footer { height: 84px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow-sm); }

.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.primary-nav ul { display: flex; align-items: center; gap: clamp(0.85rem, 1.6vw, 1.6rem); }
.primary-nav a {
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0.15rem;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--primary-dark); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { padding: 0.7rem 1.2rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 0.95rem 0.25rem; }
  .primary-nav a::after { display: none; }
  .header-cta { margin-top: 1rem; }
}

/* ----------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(28, 138, 70, 0.16), transparent 55%),
    radial-gradient(700px 500px at 0% 110%, rgba(15, 42, 74, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-tint), var(--bg) 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 6vw, 6rem);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.hero h1 { margin-top: 1.1rem; }
.hero h1 .accent { color: var(--accent-dark); }
.hero-grid .lead { margin-top: 1.1rem; max-width: 34rem; }
.hero .btn-row { margin-top: 1.8rem; }
.hero-trust { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.hero-trust span { font-size: 0.85rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent-dark); }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  position: relative;
}
.hero-card h3 { color: var(--primary-dark); }
.hero-card .muted { color: var(--muted); font-size: 0.9rem; }
.hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 1.25rem; }
.hero-card-stat { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 0.9rem 1rem; }
.hero-card-stat b { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary-dark); display: block; }
.hero-card-stat span { font-size: 0.82rem; color: var(--muted); }
.hero-bars { margin-top: 1.25rem; display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.hero-bars i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  opacity: 0.85;
  animation: barRise 1s var(--ease) both;
}
.hero-bars i:nth-child(odd) { background: linear-gradient(180deg, var(--primary), var(--primary-dark)); }
@keyframes barRise { from { transform: scaleY(0.2); transform-origin: bottom; opacity: 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
}

/* ---------------------------------------------------------------- Stats */
.stats-band { background: var(--primary-dark); color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: clamp(2.2rem, 1.6rem + 2vw, 3rem);
}
.stat { text-align: center; }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem);
  color: #fff;
  display: block;
  line-height: 1;
}
.stat span { color: rgba(234, 240, 248, 0.7); font-size: 0.9rem; }
.stat + .stat { position: relative; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; } }

/* ------------------------------------------------------------- Cards UI */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(28, 138, 70, 0.5); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-tint);
  color: var(--primary);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.97rem; }

.service-card { display: flex; flex-direction: column; }
.service-points { margin-top: 1rem; display: grid; gap: 0.5rem; }
.service-points li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.service-points svg { width: 18px; height: 18px; color: var(--accent-dark); flex: none; margin-top: 0.15rem; }
.service-card .link-arrow { margin-top: auto; padding-top: 1.1rem; }

.num-card .num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(28, 138, 70, 0.12);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------- Why / split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(28, 138, 70, 0.15);
  color: var(--accent-dark);
  margin-top: 0.1rem;
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { color: var(--primary-dark); display: block; }
.checklist span { color: var(--ink-soft); font-size: 0.95rem; }

.media-frame {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(200,162,75,0.25), transparent 60%),
    linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: clamp(1.6rem, 1rem + 3vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.media-frame h3 { color: #fff; }
.media-frame p { color: rgba(234,240,248,0.85); }
.media-frame .quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--accent); }

/* ------------------------------------------------------------- Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.75rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: rgba(28, 138, 70, 0.35);
  display: block;
  margin-bottom: 0.5rem;
}
.section--ink .step { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }

/* -------------------------------------------------------- SIP / tool UI */
.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc-inputs { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.calc-field { margin-bottom: 1.6rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.65rem; }
.calc-field label { font-weight: 600; color: var(--primary-dark); }
.calc-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(28, 138, 70, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  outline-offset: 6px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(15,42,74,0.25);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(15,42,74,0.25);
}
.calc-result {
  background:
    radial-gradient(500px 300px at 80% 0%, rgba(200,162,75,0.22), transparent 60%),
    linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result .big { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.5vw, 3rem); line-height: 1; margin: 0.4rem 0 0.2rem; }
.calc-result small { color: rgba(234,240,248,0.7); }
.calc-breakdown { margin-top: 1.5rem; display: grid; gap: 0.6rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; }
.calc-breakdown div { display: flex; justify-content: space-between; font-size: 0.95rem; }
.calc-breakdown span { color: rgba(234,240,248,0.7); }
.calc-breakdown b { color: #fff; font-weight: 600; }
.calc-note { font-size: 0.8rem; color: var(--muted); margin-top: 1.25rem; }

/* -------------------------------------------------------- Testimonials */
.tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
}
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.tcard blockquote { font-size: 1.02rem; color: var(--ink); }
.tcard .who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  font-family: var(--font-display);
}
.who b { color: var(--primary-dark); display: block; line-height: 1.2; }
.who span { color: var(--muted); font-size: 0.85rem; }

/* ----------------------------------------------------------------- FAQ */
.faq { max-width: 52rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-family: var(--font-body);
  color: var(--accent-dark);
  transition: transform 0.25s var(--ease);
}
.faq-item.is-open .faq-q::after { content: "\2212"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a p { padding-bottom: 1.25rem; }

/* ---------------------------------------------------------------- Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-thumb {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(400px 200px at 20% 10%, rgba(200,162,75,0.4), transparent 60%),
    linear-gradient(150deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
}
.post-thumb svg { width: 42px; height: 42px; }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-meta { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.post-body h3 a { color: var(--primary-dark); }
.post-body h3 a:hover { color: var(--accent-dark); }
.post-body .link-arrow { margin-top: auto; padding-top: 0.5rem; }

/* Article (single post) */
.article { max-width: 46rem; margin-inline: auto; }
.article-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.prose { font-size: 1.08rem; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: 0.5rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary-dark);
}

/* ------------------------------------------------------------- CTA band */
.cta-band {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(200,162,75,0.22), transparent 55%),
    linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(234,240,248,0.85); max-width: 38rem; margin: 0.8rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }

/* -------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-info li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info .ci-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--primary);
  display: grid; place-items: center;
}
.contact-info .ci-icon svg { width: 20px; height: 20px; }
.contact-info b { color: var(--primary-dark); display: block; }
.contact-info a, .contact-info span { color: var(--ink-soft); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; color: var(--primary-dark); margin-bottom: 0.4rem; font-size: 0.95rem; }
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(28, 138, 70, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-hp { position: absolute; left: -9999px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.form-consent input { width: auto; margin-top: 0.2rem; }
.form-card .btn { width: 100%; margin-top: 0.5rem; }

/* ------------------------------------------------------------ Page hero */
.page-hero {
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(200,162,75,0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-tint), var(--bg));
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: 50rem; }
.page-hero h1 { margin-top: 0.8rem; }
.page-hero p { margin-top: 1rem; font-size: 1.12rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--primary-dark); color: rgba(234,240,248,0.78); margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.brand--footer { color: #fff; margin-bottom: 1rem; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand-name { color: #fff; }
.footer-about p { color: rgba(234,240,248,0.7); font-size: 0.95rem; max-width: 28rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.footer-social a { color: rgba(234,240,248,0.75); font-size: 0.9rem; font-weight: 500; }
.footer-social a:hover { color: var(--accent); }
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(234,240,248,0.72); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { color: rgba(234,240,248,0.72); font-size: 0.95rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.75rem; }
.footer-legal .compliance { color: rgba(234,240,248,0.85); font-size: 0.85rem; font-weight: 500; }
.footer-legal .disclaimer { color: rgba(234,240,248,0.55); font-size: 0.78rem; margin-top: 0.6rem; max-width: 70ch; }
.footer-legal .copyright { color: rgba(234,240,248,0.55); font-size: 0.82rem; margin-top: 0.8rem; }

/* ----------------------------------------------------- Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- 404 */
.notfound { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.notfound .code { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 8vw, 9rem); color: var(--bg-tint); line-height: 0.9; }
