/*
Theme Name: Capstone Studio
Theme URI: https://capstonestudio.co
Author: Capstone Studio
Description: Custom theme for Capstone Studio. Header, footer, and full design system live here; page content is authored as raw HTML in WordPress pages (use a single Custom HTML block). Blog posts render automatically via single.php with the full rich blog toolkit.
Version: 2.0.0
License: Proprietary
Text Domain: capstone
*/

/* ============================================================
   1. DESIGN TOKENS
   Off-white #FAF8F5 · near-black #1A1A1A · deep forest #2D4A3E
   Headings: DM Serif Display · Body: Inter
   ============================================================ */
:root {
  --background: #FAF8F5;
  --overscroll-top: #FAF8F5;     /* what shows when rubber-banding past the top */
  --overscroll-bottom: #1F3329;  /* what shows when scrolling past the footer */
  --foreground: #1A1A1A;
  --primary: #2D4A3E;
  --primary-foreground: #FAF8F5;
  --primary-deep: #1F3329;
  --primary-glow: #4F7A66;
  --accent-warm: #D4A574;
  --accent-clay: #C8674A;
  --stone-tint: #F1EEE8;
  --stone-tint-deep: #E6E1D8;
  --muted-foreground: #5C5C58;
  --border: rgba(26, 26, 26, 0.10);
  --input: rgba(26, 26, 26, 0.14);
  --ring: rgba(45, 74, 62, 0.40);
  --destructive: #B3261E;

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "DM Serif Display", ui-serif, Georgia, serif;

  --gradient-hero:
    linear-gradient(to bottom, #2E4A3E 0%, rgba(46, 74, 62, 0) 10%),
    radial-gradient(at 20% 35%, #4F7A66 0%, transparent 50%),
    radial-gradient(at 80% 80%, #D4A574 0%, transparent 45%),
    linear-gradient(135deg, #2D4A3E 0%, #1F3329 100%);
  --gradient-mesh:
    radial-gradient(at 30% 30%, rgba(45, 74, 62, 0.14) 0%, transparent 60%),
    radial-gradient(at 70% 70%, rgba(212, 165, 116, 0.18) 0%, transparent 60%);

  --shadow-elegant: 0 30px 60px -20px rgba(31, 51, 41, 0.30);
  --shadow-card: 0 10px 30px -12px rgba(26, 26, 26, 0.12);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }

html {
  scroll-behavior: smooth;
  background-color: #1F3329; /* fallback canvas (matches footer) */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: transparent;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Overscroll canvas: a fixed, full-viewport layer behind everything.
   Rubber-banding past the top reveals the top half (matches the page
   top — dark hero green on home, cream elsewhere); scrolling past the
   footer reveals the bottom half (footer green). No more white bars. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    var(--overscroll-top) 0%, var(--overscroll-top) 50%,
    var(--overscroll-bottom) 50%, var(--overscroll-bottom) 100%);
}
/* The home hero is deep green, so its top overscroll should be too */
body.home { --overscroll-top: #2E4A3E; }

/* Content paints its own canvas on top of the fixed layer */
.page-content { background-color: var(--background); padding-bottom: 5rem; }

/* Cross-fade between pages (View Transitions, progressive enhancement) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) { animation: none !important; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }

::selection { background-color: var(--primary); color: var(--primary-foreground); }

/* Prevent iOS auto-zoom on input focus */
input, select, textarea { font-size: 16px; font-family: inherit; }
@media (min-width: 768px) {
  input, select, textarea { font-size: inherit; }
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   3. UTILITIES (shared vocabulary used by page HTML)
   ============================================================ */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
.container-narrow { max-width: 48rem; margin-inline: auto; padding-inline: 1.5rem; }

.font-display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow--primary { color: var(--primary); }
.eyebrow--clay { color: var(--accent-clay); }
.eyebrow--warm { color: var(--accent-warm); }
.eyebrow--muted { color: var(--muted-foreground); }

.text-gradient-brand {
  color: var(--primary);
}
.text-gradient-brand-light {
  color: rgba(250, 248, 245, 0.9);
}

.bg-gradient-hero { background-image: var(--gradient-hero); }
.bg-gradient-mesh { background-image: var(--gradient-mesh); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-card { box-shadow: var(--shadow-card); }

.texture-grain { position: relative; }
.texture-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Decorative blur orbs */
.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}
.orb--glow { background: rgba(79, 122, 102, 0.30); }
.orb--warm { background: rgba(212, 165, 116, 0.22); }
.orb--primary { background: rgba(45, 74, 62, 0.10); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, opacity .25s, transform .25s;
}
.btn--primary { background: var(--primary); color: var(--primary-foreground); }
.btn--primary:hover { background: var(--primary-deep); }
.btn--warm { background: var(--accent-warm); color: var(--primary-deep); box-shadow: var(--shadow-elegant); }
.btn--warm:hover { background: var(--background); color: var(--primary); }
.btn--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.15);
}
.btn--ghost:hover { background: var(--primary); color: var(--primary-foreground); box-shadow: inset 0 0 0 1px var(--primary); }
.btn .arrow { transition: transform .25s; display: inline-block; }
.btn:hover .arrow--up { transform: rotate(45deg); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-clay);
  text-decoration: none;
  transition: color .2s;
}
.link-more:hover { color: var(--primary); }

/* ============================================================
   4. SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.site-header__brand img { height: 2.5rem; width: auto; }
.site-header__wordmark {
  color: var(--primary);
}

.site-nav { display: none; }
@media (min-width: 768px) {
  .site-nav { display: flex; gap: 2rem; align-items: center; }
}
.site-nav__link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.75);
  text-decoration: none;
  transition: color .2s;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--primary);
  transition: width .25s;
}
.site-nav__link:hover { color: var(--primary); }
.site-nav__link:hover::after { width: 100%; }
.site-nav__link.is-active { color: var(--primary); }
.site-nav__cta {
  padding: 0.625rem 1.25rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-card);
  transition: background-color .25s, color .25s;
}
.site-nav__cta:hover { background: var(--primary-deep); }

/* Dark-hero treatment: front page before scroll */
.home .site-header:not(.is-scrolled) .site-header__wordmark {
  color: rgba(250, 248, 245, 0.95);
}
.home .site-header:not(.is-scrolled) .site-nav__link { color: rgba(250, 248, 245, 0.8); }
.home .site-header:not(.is-scrolled) .site-nav__link:hover { color: var(--accent-warm); }
.home .site-header:not(.is-scrolled) .site-nav__link::after { background: var(--accent-warm); }
.home .site-header:not(.is-scrolled) .site-nav__cta {
  background: var(--accent-warm);
  color: var(--primary-deep);
}
.home .site-header:not(.is-scrolled) .site-nav__cta:hover { background: var(--background); color: var(--primary); }
.home .site-header:not(.is-scrolled) .nav-toggle-label { color: var(--primary-foreground); }

/* Mobile nav (checkbox hack — works without JavaScript) */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: -0.5rem;
  cursor: pointer;
  color: var(--foreground);
}
.nav-toggle-label svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle-label .icon-close { display: none; }
@media (min-width: 768px) { .nav-toggle-label { display: none; } }

.mobile-nav {
  display: none;
  background: var(--background);
  border-top: 1px solid rgba(26, 26, 26, 0.05);
}
.nav-toggle-input:checked ~ .mobile-nav { display: block; }
.nav-toggle-input:checked ~ .site-header__inner .icon-open { display: none; }
.nav-toggle-input:checked ~ .site-header__inner .icon-close { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem;
  list-style: none;
}
.mobile-nav__list a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--foreground);
}
.mobile-nav__cta {
  margin-top: 1rem;
  display: block;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--primary-foreground) !important;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   5. SITE FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--primary-deep);
  color: var(--primary-foreground);
  overflow: hidden;
}
.site-footer__inner {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding: 5rem 1.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
}
.site-footer .orb--tl { top: -8rem; left: -5rem; width: 420px; height: 420px; background: rgba(79,122,102,.25); }
.site-footer .orb--br { bottom: -8rem; right: -5rem; width: 420px; height: 420px; background: rgba(212,165,116,.15); }

.site-footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 5fr 3fr 4fr; }
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: -0.02em;
}
.site-footer__brand img { height: 3rem; width: auto; }
.site-footer__tagline {
  font-size: 0.875rem;
  color: rgba(250, 248, 245, 0.7);
  max-width: 24rem;
  line-height: 1.7;
  margin-top: 1rem;
}
.site-footer .eyebrow { color: rgba(250, 248, 245, 0.5); }
.site-footer .eyebrow--warm { color: var(--accent-warm); }
.site-footer__links { list-style: none; display: grid; gap: 0.625rem; }
.site-footer__links a {
  font-size: 0.875rem;
  color: rgba(250, 248, 245, 0.85);
  text-decoration: none;
  transition: color .2s;
}
.site-footer__links a:hover { color: var(--accent-warm); }
.site-footer__note { font-size: 0.75rem; color: rgba(250, 248, 245, 0.55); margin-top: 0.75rem; }
.site-footer__note a { color: inherit; }
.site-footer__note a:hover { color: var(--accent-warm); }
.site-footer__legal {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(250, 248, 245, 0.5);
}
@media (min-width: 768px) {
  .site-footer__legal { flex-direction: row; justify-content: space-between; }
}

/* Footer quick form */
.quick-form { display: grid; gap: 0.75rem; }
.quick-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.quick-form input,
.quick-form textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  background: rgba(250, 248, 245, 0.1);
  color: var(--primary-foreground);
  border: 1px solid rgba(250, 248, 245, 0.15);
  transition: border-color .2s, box-shadow .2s;
}
.quick-form input::placeholder,
.quick-form textarea::placeholder { color: rgba(250, 248, 245, 0.45); }
.quick-form input:focus,
.quick-form textarea:focus {
  outline: none;
  border-color: rgba(212, 165, 116, 0.4);
  box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.6);
}
.quick-form textarea { resize: none; }
.quick-form button {
  width: 100%;
  padding: 0.75rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--accent-warm);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-elegant);
  transition: background-color .25s, color .25s, opacity .25s;
}
.quick-form button:hover { background: var(--background); color: var(--primary); }
.quick-form button:disabled { opacity: 0.6; cursor: default; }
.quick-form__success {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(250, 248, 245, 0.85);
  line-height: 1.6;
}
.quick-form__success .check {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--accent-warm);
  color: var(--primary-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* Honeypot — visually removed, still in the document for bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   6. SECTIONS & PAGE COMPONENTS
   ============================================================ */
.section { position: relative; padding: 7rem 1.5rem; overflow: hidden; }
.section--tight { padding-block: 5rem; }
.section--flush-top { padding-top: 4rem; }
.section > .container, .section > .container-narrow { position: relative; }

/* --- Hero (home) --- */
.hero {
  position: relative;
  /* slide under the sticky header AND the phone status bar */
  margin-top: calc(-5rem - env(safe-area-inset-top, 0px));
  padding: calc(8rem + env(safe-area-inset-top, 0px)) 1.5rem 6rem;
  background-image: var(--gradient-hero);
  color: var(--primary-foreground);
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) { .hero { padding: calc(11rem + env(safe-area-inset-top, 0px)) 1.5rem 8rem; } }
.hero .orb--left { top: 25%; left: -8rem; width: 500px; height: 500px; background: rgba(79,122,102,.4); }
.hero .orb--right { bottom: 0; right: -8rem; width: 500px; height: 500px; background: rgba(212,165,116,.25); }
.hero__inner { position: relative; max-width: var(--container); margin-inline: auto; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  background: rgba(212, 165, 116, 0.12);
  border: 1px solid rgba(212, 165, 116, 0.35);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.9);
  margin-bottom: 2rem;
}
.hero__badge .dot {
  width: 0.375rem; height: 0.375rem;
  border-radius: 9999px;
  background: var(--accent-warm);
  animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
  margin-bottom: 2rem;
}
.hero__accent { position: relative; display: inline-block; font-style: italic; color: var(--accent-warm); }
.hero__accent .underline-draw {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
}
.hero__sub {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(250, 248, 245, 0.75);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

@keyframes underline-draw {
  from { stroke-dashoffset: 300; }
  to { stroke-dashoffset: 0; }
}
.underline-draw path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: underline-draw 1.4s 0.5s var(--ease-out-expo) forwards;
}

/* --- Page hero (interior pages) --- */
.page-hero { position: relative; padding: 6rem 1.5rem 5rem; overflow: hidden; }
.page-hero--center { text-align: center; padding-bottom: 4rem; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 48rem;
}
.page-hero--center h1 { margin-inline: auto; }
.page-hero__sub {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin-top: 1.5rem;
}
.page-hero--center .page-hero__sub { margin-inline: auto; }
.page-hero .text-primary { color: var(--primary); }

/* --- Marquee (pure CSS) --- */
.marquee-band {
  padding: 3rem 0;
  border-top: 1px solid rgba(26, 26, 26, 0.05);
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
  background: linear-gradient(90deg, rgba(212, 165, 116, 0.14), rgba(241, 238, 232, 0.5) 35%, rgba(241, 238, 232, 0.5) 65%, rgba(79, 122, 102, 0.12));
  overflow: hidden;
}
.marquee {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: marquee 28s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee__group { display: flex; gap: 4rem; align-items: center; }
.marquee__item { display: flex; align-items: center; gap: 4rem; }
.marquee__item span:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(45, 74, 62, 0.55);
  white-space: nowrap;
}
.marquee__dot {
  width: 0.375rem; height: 0.375rem;
  border-radius: 9999px;
  background: var(--accent-warm);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 2rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* --- Section headings --- */
.split-heading { display: grid; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 768px) {
  .split-heading { grid-template-columns: 4fr 1fr 7fr; align-items: end; }
}
.split-heading h2 { font-size: clamp(2.25rem, 5vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; }
.split-heading h2::after {
  content: "";
  display: block;
  width: 40px; height: 2px;
  margin: 1.25rem 0 0;
  background: var(--accent-warm);
}
.split-heading p { font-size: 1.125rem; color: var(--muted-foreground); margin: 0; }

.center-heading { text-align: center; margin-bottom: 4rem; }
.center-heading h2 { font-size: clamp(2.25rem, 5vw, 3rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
.center-heading h2::after {
  content: "";
  display: block;
  width: 40px; height: 2px;
  margin: 1.25rem auto 0;
  background: var(--accent-warm);
}
.center-heading p { color: var(--muted-foreground); max-width: 36rem; margin-inline: auto; }
.center-heading .italic-accent { font-style: italic; color: var(--primary); }

/* --- Card grids --- */
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Service cards */
.service-card {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 0.75rem;
  background: var(--background);
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.15), 0 10px 30px -12px rgba(26,26,26,0), 0 30px 60px -20px rgba(31,51,41,0);
  transition: box-shadow .8s ease, transform .8s ease;
  height: 100%;
}
.service-card:hover {
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.4), 0 10px 30px -12px rgba(26,26,26,0.12), 0 30px 60px -20px rgba(31,51,41,0.30);
  transform: translateY(-4px);
}
.service-card__num {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: var(--primary-foreground);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-card);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; transition: color .3s; }
.service-card:hover h3 { color: var(--primary); }
.service-card p { color: var(--muted-foreground); margin: 0; }

/* Color-cycle the chips so the grid reads warm, not monochrome */
.grid-2 > :nth-child(2) .service-card__num,
.grid-2 > :nth-child(2).service-card .service-card__num {
  background: linear-gradient(135deg, var(--accent-warm), #C08A52);
  color: var(--primary-deep);
}
.grid-2 > :nth-child(3) .service-card__num,
.grid-2 > :nth-child(3).service-card .service-card__num {
  background: linear-gradient(135deg, var(--accent-clay), #A8543B);
}
.grid-2 > :nth-child(4) .service-card__num,
.grid-2 > :nth-child(4).service-card .service-card__num {
  background: linear-gradient(135deg, var(--primary-glow), var(--primary));
}
.grid-2 > :nth-child(2).service-card,
.grid-2 > :nth-child(2) .service-card { background: linear-gradient(160deg, rgba(212,165,116,.10), rgba(250,248,245,.9) 55%); }
.grid-2 > :nth-child(3).service-card,
.grid-2 > :nth-child(3) .service-card { background: linear-gradient(160deg, rgba(200,103,74,.07), rgba(250,248,245,.9) 55%); }
.grid-2 > :nth-child(4).service-card,
.grid-2 > :nth-child(4) .service-card { background: linear-gradient(160deg, rgba(79,122,102,.10), rgba(250,248,245,.9) 55%); }
.service-card--page .service-card__index { color: var(--accent-clay); }

/* Service cards — services-page variant */
.service-card--page {
  padding: 2rem;
  gap: 1.5rem;
  background: var(--background);
  box-shadow: inset 0 0 0 1px rgba(26,26,26,.1), 0 10px 30px -12px rgba(26,26,26,0), 0 30px 60px -20px rgba(31,51,41,0);
  transition: box-shadow .8s ease, transform .8s ease;
}
.service-card--page:hover {
  box-shadow: inset 0 0 0 1px rgba(45,74,62,.4), 0 10px 30px -12px rgba(26,26,26,0.12), 0 30px 60px -20px rgba(31,51,41,0.30);
  transform: translateY(-4px);
}
.service-card--page .service-card__index {
  flex-shrink: 0;
  width: 2rem;
  padding-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent-warm);
}
.service-card--page h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

/* Step cards */
.step-card {
  position: relative;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(45,74,62,.08), var(--background) 50%, rgba(212,165,116,.12));
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.2), 0 10px 30px -12px rgba(26,26,26,0), 0 30px 60px -20px rgba(31,51,41,0);
  transition: box-shadow .8s ease, transform .8s ease;
  height: 100%;
}
.step-card:hover {
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.5), 0 10px 30px -12px rgba(26,26,26,0.12), 0 30px 60px -20px rgba(31,51,41,0.30);
  transform: translateY(-4px);
}
.step-card__top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.step-card__num {
  width: 2.5rem; height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: var(--primary-foreground);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-card);
}
.step-card__rule { height: 1px; flex: 1; background: linear-gradient(to right, rgba(212,165,116,.4), transparent); }
.grid-3 > :nth-child(2) .step-card__num {
  background: linear-gradient(135deg, var(--accent-warm), #C08A52);
  color: var(--primary-deep);
}
.grid-3 > :nth-child(3) .step-card__num {
  background: linear-gradient(135deg, var(--accent-clay), #A8543B);
}
.step-card h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.75rem; }
.step-card p { color: var(--muted-foreground); margin: 0; }

/* Step cards — services-page variant (large ghost number) */
.step-card--ghost { background: linear-gradient(135deg, rgba(45,74,62,.05), rgba(212,165,116,.1)); box-shadow: inset 0 0 0 1px rgba(45,74,62,.15); }
.step-card--ghost:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(45,74,62,.4), var(--shadow-elegant); }
.step-card__ghost-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: rgba(45, 74, 62, 0.3);
  margin-bottom: 1rem;
}
.step-card--ghost h3 { color: var(--foreground); }

/* Stat band */
.stat-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 2rem;
  border-radius: 0.75rem;
  background: var(--primary-deep);
  color: var(--primary-foreground);
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) {
  .stat-band { grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 3rem 4rem; }
}
.stat-band .orb { top: -5rem; right: -5rem; width: 18rem; height: 18rem; background: rgba(79,122,102,.3); }
.stat { position: relative; text-align: center; }
@media (min-width: 768px) { .stat { text-align: left; } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 6vw, 4.5rem);
  color: var(--accent-warm);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.7);
}

/* Pricing cards */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--background);
  box-shadow: inset 0 0 0 1.5px rgba(45, 74, 62, 0.35), 0 10px 30px -12px rgba(26,26,26,0.12), 0 30px 60px -20px rgba(31,51,41,0);
  transition: transform .8s ease, box-shadow .8s ease;
  height: 100%;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px rgba(45, 74, 62, 0.6), 0 10px 30px -12px rgba(26,26,26,0.12), 0 30px 60px -20px rgba(31,51,41,0.30); }
.pricing-card--popular {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: inset 0 0 0 1px var(--primary-deep), var(--shadow-elegant);
}
.pricing-card--popular:hover { box-shadow: inset 0 0 0 1px var(--primary-deep), var(--shadow-elegant); }
.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-warm);
  color: var(--primary-deep);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}
.pricing-card__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.pricing-card h3 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--primary);
  width: fit-content;
}

.pricing-card--popular .pricing-card__price {
  background-image: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--accent-warm);
}
.pricing-card__retainer { font-size: 0.875rem; margin: 0.25rem 0 1.5rem; color: var(--muted-foreground); }
.pricing-card--popular .pricing-card__retainer { color: rgba(250, 248, 245, 0.7); }
.pricing-card__blurb { font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.pricing-card--popular .pricing-card__blurb { color: rgba(250, 248, 245, 0.8); }
.pricing-card__features {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 0.875rem;
}
.pricing-card__features li { display: flex; align-items: flex-start; gap: 0.625rem; }
.pricing-card__features .check {
  flex-shrink: 0;
  margin-top: 0.2em;
  color: var(--primary);
  font-weight: 700;
}
.pricing-card--popular .pricing-card__features .check { color: var(--accent-warm); }
.pricing-card__cta {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.15);
  color: inherit;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.pricing-card__cta:hover { background: var(--primary); color: var(--primary-foreground); box-shadow: inset 0 0 0 1px var(--primary); }
.pricing-card--popular .pricing-card__cta {
  background: var(--accent-warm);
  color: var(--primary-deep);
  box-shadow: none;
}
.pricing-card--popular .pricing-card__cta:hover { background: var(--background); color: var(--primary); }

/* Add-on banner: horizontal tile, deep green with warm orb */
.addon-banner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 0.75rem;
  background:
    radial-gradient(at 85% 20%, rgba(212, 165, 116, 0.35) 0%, transparent 55%),
    linear-gradient(120deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--primary-foreground);
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .addon-banner { padding: 2.5rem 3rem; } }
.addon-banner__text { max-width: 34rem; position: relative; }
.addon-banner__text h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.addon-banner__text p { margin: 0; font-size: 0.9rem; color: rgba(250, 248, 245, 0.8); line-height: 1.65; }
.addon-banner__price {
  font-family: var(--font-display);
  color: var(--accent-warm);
  white-space: nowrap;
}
.addon-banner .btn { position: relative; flex-shrink: 0; }

/* Feature panel ("included in every tier") */
.feature-panel {
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(45,74,62,.08), rgba(212,165,116,.1), rgba(79,122,102,.08));
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.15), var(--shadow-card);
  padding: 2.5rem;
}
@media (min-width: 768px) { .feature-panel { padding: 3.5rem; } }
.feature-panel__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .feature-panel__grid { grid-template-columns: 1fr 1fr; } }
.feature-panel h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); letter-spacing: -0.02em; }
.feature-panel ul { list-style: none; display: grid; gap: 1rem; }
.feature-panel li { display: flex; gap: 0.75rem; align-items: flex-start; }
.feature-panel .plus {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  margin-top: 0.125rem;
  border-radius: 9999px;
  background: var(--accent-warm);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* FAQ accordion — native <details>, zero JS */
.faq-group {
  border-radius: 0.75rem;
  background: var(--background);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.08), var(--shadow-card);
  padding: 2rem;
  border-left: 4px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
@media (min-width: 768px) { .faq-group { padding: 2.5rem; } }
.faq-group:hover { box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.25), var(--shadow-card); }
.faq-group:nth-of-type(3n+1) { background: linear-gradient(160deg, rgba(45,74,62,.07) 0%, var(--background) 50%); border-left-color: var(--primary); }
.faq-group:nth-of-type(3n+2) { background: linear-gradient(160deg, rgba(212,165,116,.15) 0%, var(--background) 50%); border-left-color: var(--accent-warm); }
.faq-group:nth-of-type(3n)   { background: linear-gradient(160deg, rgba(200,103,74,.10) 0%, var(--background) 50%); border-left-color: var(--accent-clay); }
.faq-group__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.faq-group__num {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
}
.faq-group:nth-of-type(3n+2) .faq-group__num { background: var(--accent-warm); }
.faq-group:nth-of-type(3n) .faq-group__num { background: var(--accent-clay); }
.faq-group__head h2 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
}
.faq-stack { display: grid; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--muted-foreground);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq-item__answer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  padding: 0 2rem 1.5rem 1rem;
  border-left: 2px solid var(--accent-warm);
  margin-bottom: 1.5rem;
}

/* CTA panels */
.cta-panel {
  position: relative;
  border-radius: 0.75rem;
  background-image: var(--gradient-hero);
  color: var(--primary-foreground);
  overflow: hidden;
  padding: 5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .cta-panel { padding: 7rem 2rem; } }
.cta-panel--compact { padding: 3rem 2rem; border-radius: 0.75rem; }
@media (min-width: 768px) { .cta-panel--compact { padding: 4rem; } }
.cta-panel .orb--tl { top: -8rem; left: -5rem; width: 400px; height: 400px; background: rgba(212,165,116,.2); }
.cta-panel .orb--br { bottom: -8rem; right: -5rem; width: 400px; height: 400px; background: rgba(79,122,102,.3); }
.cta-panel__inner { position: relative; }
.cta-panel h2 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 48rem;
  margin: 0 auto 2rem;
}
.cta-panel--compact h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 1rem; }
.cta-panel .italic-accent { font-style: italic; color: var(--accent-warm); }
.cta-panel__sub { color: rgba(250, 248, 245, 0.75); margin-bottom: 2rem; }

/* Inline CTA card (blog) */
.inline-cta {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(45,74,62,.08), rgba(212,165,116,.1), rgba(79,122,102,.08));
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.15);
}
.inline-cta h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: 1rem; }
.inline-cta p { color: var(--muted-foreground); margin-bottom: 1.5rem; }

/* ============================================================
   6b. PORTFOLIO TILES
   Each tile is an <a class="work-tile"> linking to the live
   site, with a screenshot on top and a caption below.
   ============================================================ */
.work-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .work-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.work-tile {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--background);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform .8s ease, box-shadow .8s ease;
}
.work-tile:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.4), var(--shadow-elegant);
}
.work-tile__shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  /* Placeholder shown until a screenshot file exists */
  background:
    radial-gradient(at 25% 30%, rgba(79, 122, 102, 0.35) 0%, transparent 55%),
    radial-gradient(at 80% 85%, rgba(212, 165, 116, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}
.work-tile__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;   /* websites read top-down */
  transition: transform .5s var(--ease-out-expo);
}
.work-tile:hover .work-tile__shot img { transform: scale(1.04); }
.work-tile__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.work-tile__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.work-tile:hover .work-tile__name { color: var(--primary); }
.work-tile__desc {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}
.work-tile__arrow {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.25rem;
  display: grid;
  place-items: center;
  background: rgba(45, 74, 62, 0.08);
  color: var(--primary);
  font-size: 1rem;
  transition: background-color .25s, color .25s, transform .25s;
}
.work-tile:hover .work-tile__arrow {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: rotate(45deg);
}

/* ============================================================
   7. CONTACT FORM (full intake)
   ============================================================ */
.contact-panel {
  max-width: 48rem;
  margin-inline: auto;
  background:
    radial-gradient(at 0% 0%, rgba(79, 122, 102, 0.09) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(212, 165, 116, 0.12) 0%, transparent 50%),
    rgba(241, 238, 232, 0.45);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.1);
}
@media (min-width: 768px) { .contact-panel { padding: 3rem; } }
.contact-form { display: grid; gap: 2rem; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.contact-form legend { padding: 0; margin-bottom: 0.5rem; }
.contact-form legend .step-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.contact-form legend .step-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.contact-form hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

.field { display: grid; gap: 0.5rem; }
.field > span { font-size: 0.875rem; font-weight: 500; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  border: 1px solid var(--input);
  background: var(--background);
  color: var(--foreground);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px var(--ring);
}
.field textarea { resize: vertical; min-height: 8rem; }

/* Tile choices (radios styled as cards — pure CSS) */
.tile-grid { display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__body {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: var(--background);
  transition: border-color .2s, background-color .2s, color .2s;
}
.tile__body strong { display: block; font-size: 0.9rem; font-weight: 600; }
.tile__body small { display: block; font-size: 0.78rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.tile:hover .tile__body { border-color: rgba(26, 26, 26, 0.3); }
.tile input:checked + .tile__body {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
}
.tile input:checked + .tile__body small { color: rgba(250, 248, 245, 0.7); }
.tile input:focus-visible + .tile__body { outline: 2px solid var(--ring); outline-offset: 2px; }

/* Pill choices (checkboxes / radios as pills) */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  background: var(--background);
  transition: background-color .2s, border-color .2s, color .2s;
}
.pill:hover span { border-color: rgba(26, 26, 26, 0.3); }
.pill input:checked + span {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
}
.pill input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }

.contact-form__submit { display: flex; justify-content: flex-end; }
.form-note { font-size: 0.8rem; color: var(--muted-foreground); }

/* Form success message (shown by JS after async submit) */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success .check {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.form-success h2 { font-size: 2.25rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
.form-success p { color: var(--muted-foreground); font-size: 1.125rem; }
[hidden] { display: none !important; }

/* ============================================================
   8. ARTICLE / PROSE (blog posts)
   ============================================================ */
.article { padding: 6rem 1.5rem 5rem; }
.article__inner { max-width: 48rem; margin-inline: auto; }
.article h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.article .lede {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 3rem;
}
.article h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem;
}
.article p { line-height: 1.7; margin-bottom: 1rem; }
.article ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.article li { line-height: 1.7; }

/* ============================================================
   9. MOTION — scroll reveals (progressive enhancement)
   Content is fully visible without JavaScript. When main.js
   loads it adds .js to <html>; only then are .reveal elements
   hidden and animated in by IntersectionObserver.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
  }
  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease-out-expo), transform .8s ease, box-shadow .8s ease, border-color .8s ease;
  }

  /* Stagger helpers — set on siblings inside a revealed group */
  html.js .reveal[data-delay="1"] { --reveal-delay: .08s; }
  html.js .reveal[data-delay="2"] { --reveal-delay: .16s; }
  html.js .reveal[data-delay="3"] { --reveal-delay: .24s; }
  html.js .reveal[data-delay="4"] { --reveal-delay: .32s; }
}

/* Branded scrollbar: the gold-green gradient continues down the page edge */
html { scrollbar-color: var(--accent-warm) #1F3329; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #1F3329; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-glow), var(--accent-warm) 60%, var(--accent-clay));
  border-radius: 8px;
  border: 3px solid #1F3329;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-glow), var(--accent-warm));
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary-glow), var(--accent-warm), var(--accent-clay));
  z-index: 60;
  pointer-events: none;
}

/* ============================================================
   10. BENTO GRID (services section)
   ============================================================ */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(12rem, auto);
  }
  .bento-grid .bento-card--feature {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .bento-grid .bento-card--feature .service-card__num {
    font-size: 3.5rem;
    font-family: var(--font-display);
    width: auto; height: auto;
    border-radius: 0;
    background: none;
    color: rgba(250, 248, 245, 0.25);
    box-shadow: none;
    letter-spacing: -0.04em;
    line-height: 1;
  }
  .bento-grid .bento-card--wide {
    grid-column: 2 / 4;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .bento-grid .bento-card--wide .service-card__num {
    flex-shrink: 0;
  }
}
.bento-card--feature {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: inset 0 0 0 1px var(--primary-deep), var(--shadow-elegant);
}
.bento-card--feature h3 { color: var(--primary-foreground); }
.bento-card--feature:hover h3 { color: var(--primary-foreground); }
.bento-card--feature p { color: rgba(250, 248, 245, 0.75); }
.bento-card--feature:hover { box-shadow: inset 0 0 0 1px var(--primary-deep), var(--shadow-elegant); transform: none; }

/* ============================================================
   11. PROCESS LIST (how it works section)
   ============================================================ */
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  align-items: center;
}
.process-item:last-child { border-bottom: 1px solid var(--border); }
.process-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(26, 26, 26, 0.08);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}
.process-body h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.process-body p { color: var(--muted-foreground); margin: 0; max-width: 38rem; }
@media (min-width: 768px) {
  .process-item { grid-template-columns: 7rem 1fr; gap: 3rem; }
  .process-num { font-size: 5.5rem; }
}

/* ============================================================
   12. AMBER CURSOR (hover-capable devices only)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='22'%3E%3Cpath d='M 3 1 L 3 18 L 6.5 14 L 9.5 21 L 11.5 20 L 8.5 13.5 L 14 13.5 Z' fill='%23D4A574' stroke='%23614A00' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") 3 1, default;
  }
  a, button, [role="button"], input[type="submit"], input[type="button"], label.tile, label.pill, .nav-toggle-label {
    cursor: pointer;
  }
}

/* ============================================================
   13. HERO GEOMETRIC DECORATION
   ============================================================ */
.hero__geo {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 75vw);
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}

/* ============================================================
   14. PAGE HERO — COLORED BACKGROUND (interior pages)
   ============================================================ */
.page-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  overflow: visible;
  border-bottom: 3px solid var(--accent-warm);
  padding-bottom: 8rem;
}
.page-hero h1 { color: var(--primary-foreground); }
.page-hero .page-hero__sub { color: rgba(250, 248, 245, 0.75); }
.page-hero .text-primary { color: var(--primary-foreground); }
.page-hero .eyebrow--clay { color: var(--accent-warm); }
.page-hero .eyebrow--primary { color: rgba(250, 248, 245, 0.75); }

/* Force gap between hero and first content section — bypasses HTML caching */
.page-hero + section { padding-top: 7rem; }

/* Contact page — clean card on stone background */
.contact-panel {
  background: var(--background);
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(26, 26, 26, 0.1);
  border-top: 3px solid var(--primary);
}
@media (min-width: 768px) { .contact-panel { padding: 3rem 3.5rem; } }

/* Make contact form section labels legible */
.contact-form .step-label { color: var(--accent-clay); }

/* ============================================================
   6c. CASE STUDY CARDS (portfolio page)
   ============================================================ */
.case-study-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 960px;
  margin-inline: auto;
}

.case-study-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--background);
  border: 1.5px solid var(--stone-tint-deep);
  border-top: 3px solid var(--primary);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow .8s ease, border-color .8s ease;
  box-shadow: var(--shadow-card);
}

.case-study-card--green { border-top-color: var(--primary); }
.case-study-card--warm  { border-top-color: var(--accent-warm); }
.case-study-card--clay  { border-top-color: var(--accent-clay); }

.case-study-card:hover {
  border-color: rgba(45, 74, 62, 0.35);
  box-shadow: var(--shadow-elegant);
}
.case-study-card--green:hover { border-top-color: var(--primary); }
.case-study-card--warm:hover  { border-top-color: var(--accent-warm); }
.case-study-card--clay:hover  { border-top-color: var(--accent-clay); }

/* Image area inset — separates screenshots from the header */
.before-after,
.case-study-card__main,
.dual-shot {
  margin: 0 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--stone-tint-deep);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.04);
}

.case-study-card__thumbs {
  margin-inline: 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 0 0 0.5rem 0.5rem;
  border: 1px solid var(--stone-tint-deep);
  border-top: 0;
  overflow: hidden;
}

/* Before/After layout */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.before-after__col {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.before-after__col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--ease-out-expo);
}

.before-after__label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: 99px;
  background: rgba(26, 26, 26, 0.65);
  color: #FAF8F5;
  backdrop-filter: blur(4px);
}

.before-after__label--after {
  background: rgba(45, 74, 62, 0.85);
}

/* Dual-shot layout (CE anonymous tile) */
.dual-shot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.dual-shot__col {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.dual-shot__col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--ease-out-expo);
}

/* Featured single screenshot */
.case-study-card__main {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-study-card__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--ease-out-expo);
}

.case-study-card:hover .case-study-card__main img,
.case-study-card:hover .before-after__col img,
.case-study-card:hover .dual-shot__col img {
  transform: scale(1.03);
}

/* Thumbnail strip (layout — border/margin handled in inset block above) */
.case-study-card__thumbs {
  display: flex;
  gap: 2px;
  background: var(--stone-tint-deep);
}

.case-study-card__thumbs img {
  flex: 1;
  height: 110px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (min-width: 640px) {
  .case-study-card__thumbs img { height: 140px; }
}

/* Card body / caption */
.case-study-card__body {
  padding: 1.25rem 1.25rem 0.25rem;
}

@media (min-width: 640px) {
  .case-study-card__body { padding: 1.5rem 1.5rem 0.5rem; }
}

.case-study-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.case-study-card__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}

.case-study-card__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

.case-study-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.75em;
  border-radius: 99px;
  background: var(--stone-tint);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.case-study-card__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: rgba(45, 74, 62, 0.07);
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.case-study-card:hover .case-study-card__link {
  background: var(--primary);
  color: var(--primary-foreground);
}

.anon-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  padding: 0.4rem 0.875rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--stone-tint);
  white-space: nowrap;
}

/* Card actions row (multiple buttons side by side) */
.case-study-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.case-study-card__detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-clay);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: rgba(200, 103, 74, 0.08);
  border: 1px solid rgba(200, 103, 74, 0.2);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}

.case-study-card__detail-btn:hover {
  background: var(--accent-clay);
  color: var(--primary-foreground);
  border-color: var(--accent-clay);
}

/* ============================================================
   CASE STUDY MODAL
   ============================================================ */
.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  transition: opacity .3s, visibility .3s;
}

.cs-modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cs-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.cs-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cs-modal__panel {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  background: var(--background);
  border-radius: 0.75rem;
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-elegant);
  padding: 2.5rem 1.5rem;
}

@media (min-width: 640px) {
  .cs-modal__panel { padding: 3rem 2.5rem; }
}

@media (min-width: 768px) {
  .cs-modal__panel { padding: 3.5rem 3.5rem; }
}

.cs-modal__close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: var(--stone-tint);
  color: var(--foreground);
  cursor: pointer;
  transition: background .2s;
}

.cs-modal__close:hover {
  background: var(--foreground);
  color: var(--background);
}

.cs-modal__header {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.cs-modal__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cs-modal__sub {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

.cs-modal__section {
  margin-bottom: 2.5rem;
}

.cs-modal__section h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cs-modal__section > p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 42rem;
}

/* Callout list (design decisions) */
.cs-modal__callouts {
  display: grid;
  gap: 1.25rem;
}

.cs-modal__callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.5rem;
  background: var(--stone-tint);
  border-left: 3px solid var(--accent-warm);
}

.cs-modal__callout-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: rgba(45, 74, 62, 0.25);
  line-height: 1.4;
}

.cs-modal__callout strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
  color: var(--foreground);
}

.cs-modal__callout p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

/* Image grid */
.cs-modal__img-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cs-modal__img-grid--2 { grid-template-columns: 1fr 1fr; }
  .cs-modal__img-grid { grid-template-columns: 1fr 1fr; }
  .cs-modal__fig--wide { grid-column: 1 / -1; }
}

.cs-modal__fig {
  margin: 0;
}

.cs-modal__fig img {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--stone-tint-deep);
  box-shadow: var(--shadow-card);
}

.cs-modal__fig figcaption {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin-top: 0.625rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent-warm);
}

.cs-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

/* ============================================================
   TESTIMONIALS GRID
   ============================================================ */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--background);
  border: 1.5px solid var(--stone-tint-deep);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.testimonial-card:nth-child(1) { border-top-color: var(--primary); }
.testimonial-card:nth-child(2) { border-top-color: var(--accent-warm); }
.testimonial-card:nth-child(3) { border-top-color: var(--accent-clay); }

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--foreground);
  margin: 0 0 1.5rem;
  flex: 1;
  quotes: none;
  position: relative;
  padding-top: 2rem;
}

.testimonial-card blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.25rem;
  left: 0;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  font-style: normal;
}

.testimonial-card:nth-child(1) blockquote::before { color: var(--primary); }
.testimonial-card:nth-child(2) blockquote::before { color: var(--accent-warm); }
.testimonial-card:nth-child(3) blockquote::before { color: var(--accent-clay); }

.testimonial-card__author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  padding-left: 0.75rem;
}

.testimonial-card:nth-child(1) .testimonial-card__author { border-left: 3px solid var(--primary); }
.testimonial-card:nth-child(2) .testimonial-card__author { border-left: 3px solid var(--accent-warm); }
.testimonial-card:nth-child(3) .testimonial-card__author { border-left: 3px solid var(--accent-clay); }

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

.testimonial-card__biz {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* ============================================================
   ABOUT PAGE — Founder Intro
   ============================================================ */
.founder-intro {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .founder-intro { grid-template-columns: 280px 1fr; gap: 3.5rem; }
}

.founder-intro__photo-wrap {
  justify-self: center;
}

.founder-intro__photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 2;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: center 30%;
  border: 2px solid var(--stone-tint-deep);
  box-shadow: var(--shadow-elegant);
}

.founder-intro__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ============================================================
   ABOUT PAGE — Family Callout
   ============================================================ */
.family-callout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(212,165,116,.08), rgba(250,248,245,.95) 50%, rgba(45,74,62,.06));
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.12);
}

@media (min-width: 768px) {
  .family-callout { grid-template-columns: 300px 1fr; gap: 3rem; padding: 3rem; }
}

.family-callout__photo-wrap {
  justify-self: center;
}

.family-callout__photo {
  width: 100%;
  max-width: 300px;
  border-radius: 0.75rem;
  border: 2px solid var(--stone-tint-deep);
  box-shadow: var(--shadow-card);
}

.family-callout__text h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* ============================================================
   ABOUT PAGE — Value Cards
   ============================================================ */
.value-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}

.value-card {
  padding: 1.75rem;
  border-radius: 0.75rem;
  background: var(--background);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-card);
}

.value-card--green { border-left-color: var(--primary); }
.value-card--warm  { border-left-color: var(--accent-warm); }
.value-card--clay  { border-left-color: var(--accent-clay); }

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.value-card--green h3 { color: var(--primary); }
.value-card--warm h3  { color: var(--accent-warm); }
.value-card--clay h3  { color: var(--accent-clay); }

.value-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}


/* ============================================================
   WORDPRESS NICETIES
   ============================================================ */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ============================================================
   ARTICLE / PROSE — RICH BLOG TOOLKIT
   Extends the base .article styles above for WordPress posts.
   ============================================================ */
.article h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}
.article h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 2rem 0 0.5rem;
}
.article ol {
  list-style: none;
  counter-reset: article-ol;
  padding-left: 0;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.article ol > li {
  counter-increment: article-ol;
  padding-left: 2.25rem;
  position: relative;
}
.article ol > li::before {
  content: counter(article-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-warm);
  line-height: 1.7;
}

.article a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(45, 74, 62, 0.3);
  transition: text-decoration-color .2s;
}
.article a:hover { text-decoration-color: var(--primary); }

.article strong { font-weight: 600; }

.article mark {
  background: rgba(212, 165, 116, 0.25);
  color: inherit;
  padding: 0.1em 0.3em;
  border-radius: 0.15rem;
}

.article hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, var(--accent-warm), var(--primary-glow), transparent);
  margin: 3rem 0;
}

/* Article meta (date, category, reading time) */
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.article__meta time { font-weight: 500; }
.article__meta .tag {
  display: inline-block;
  padding: 0.2em 0.75em;
  border-radius: 99px;
  background: var(--stone-tint);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
}
.article__meta .tag:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.article__meta .sep {
  width: 3px; height: 3px;
  border-radius: 9999px;
  background: var(--muted-foreground);
  opacity: 0.5;
}

/* Blockquotes */
.article blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 3px solid var(--accent-warm);
  background: var(--stone-tint);
  border-radius: 0 0.5rem 0.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--foreground);
}
.article blockquote p:last-child { margin-bottom: 0; }
.article blockquote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

/* Pull quote */
.article .pull-quote {
  margin: 3rem -1rem;
  padding: 2rem 2.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--primary);
  border-top: 2px solid var(--accent-warm);
  border-bottom: 2px solid var(--accent-warm);
}
@media (min-width: 640px) {
  .article .pull-quote { margin-inline: -2rem; }
}

/* Callout boxes */
.article .callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--primary);
  background: linear-gradient(135deg, rgba(45,74,62,.06), rgba(250,248,245,.95));
}
.article .callout > :first-child { margin-top: 0; }
.article .callout > :last-child { margin-bottom: 0; }
.article .callout--tip { border-left-color: var(--primary-glow); }
.article .callout--warning { border-left-color: var(--accent-clay); background: linear-gradient(135deg, rgba(200,103,74,.06), rgba(250,248,245,.95)); }
.article .callout--note { border-left-color: var(--accent-warm); background: linear-gradient(135deg, rgba(212,165,116,.08), rgba(250,248,245,.95)); }
.article .callout strong:first-child {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

/* Image grids */
.article .image-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}
.article .image-grid--2 { grid-template-columns: 1fr 1fr; }
.article .image-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 639px) {
  .article .image-grid--3 { grid-template-columns: 1fr 1fr; }
}
.article .image-grid img {
  border-radius: 0.5rem;
  border: 1px solid var(--stone-tint-deep);
  width: 100%;
}

/* Figures */
.article figure { margin: 2rem 0; }
.article figure img {
  border-radius: 0.5rem;
  border: 1px solid var(--stone-tint-deep);
  box-shadow: var(--shadow-card);
}
.article figcaption {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin-top: 0.625rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent-warm);
}

/* Code */
.article code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  border-radius: 0.2rem;
  background: var(--stone-tint);
  color: var(--accent-clay);
  border: 1px solid var(--border);
}
.article pre {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: var(--primary-deep);
  color: var(--primary-foreground);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  box-shadow: var(--shadow-card);
}
.article pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Tables */
.article table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.article thead th {
  text-align: left;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--primary);
  background: var(--stone-tint);
}
.article tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.article tbody tr:hover { background: var(--stone-tint); }

/* Author card */
.author-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 3rem 0;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--stone-tint);
  border: 1px solid var(--border);
}
.author-card__avatar {
  flex-shrink: 0;
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid var(--stone-tint-deep);
}
.author-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.author-card__bio {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin: 0;
}

/* Table of contents */
.article__toc {
  margin: 0 0 3rem;
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  background: var(--stone-tint);
  border: 1px solid var(--border);
}
.article__toc-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.article__toc ol {
  counter-reset: toc;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.article__toc li { padding-left: 0; }
.article__toc li::before { content: none; }
.article__toc a {
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color .2s;
}
.article__toc a:hover { color: var(--primary); }

/* Related posts */
.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.related-posts__title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}
.related-posts__grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) {
  .related-posts__grid { grid-template-columns: 1fr 1fr; }
}
.related-post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  transition: border-color .2s, box-shadow .2s;
}
.related-post-card:hover {
  border-color: rgba(45, 74, 62, 0.3);
  box-shadow: var(--shadow-card);
}
.related-post-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  transition: color .2s;
}
.related-post-card:hover .related-post-card__title { color: var(--primary); }
.related-post-card__excerpt {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}
.related-post-card__date {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

/* Blog listing page */
.blog-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--background);
  border: 1.5px solid var(--stone-tint-deep);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .3s, transform .3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}
.blog-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(at 25% 30%, rgba(79, 122, 102, 0.35) 0%, transparent 55%),
    radial-gradient(at 80% 85%, rgba(212, 165, 116, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out-expo);
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  transition: color .2s;
}
.blog-card:hover .blog-card__title { color: var(--primary); }
.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  flex: 1;
}
.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

/* WordPress block compatibility within .article */
.article .wp-block-image { margin: 2rem 0; }
.article .wp-block-image img {
  border-radius: 0.5rem;
  border: 1px solid var(--stone-tint-deep);
  box-shadow: var(--shadow-card);
}
.article .wp-block-image figcaption {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.75rem;
}
.article .wp-block-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 3px solid var(--accent-warm);
  background: var(--stone-tint);
  border-radius: 0 0.5rem 0.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
}
.article .wp-block-separator {
  border: none;
  height: 2px;
  background: linear-gradient(to right, var(--accent-warm), var(--primary-glow), transparent);
  margin: 3rem 0;
}
.article .wp-block-columns { margin: 2rem 0; gap: 1.5rem; }
.article .wp-block-table table { width: 100%; }

.wp-block-image.alignwide,
.wp-block-image.alignfull {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  max-width: none;
}
.wp-block-image.alignfull img { border-radius: 0; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination a:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.pagination .current {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* ============================================================
   EXTENDED ARTICLE COMPONENTS
   Pre-built blocks for rich, varied blog posts.
   ============================================================ */

/* Stat callout — big number + label, inline in prose */
.article .stat-callout {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  background: var(--primary-deep);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-card);
}
.article .stat-callout__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--accent-warm);
  line-height: 1;
  flex-shrink: 0;
}
.article .stat-callout__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(250, 248, 245, 0.85);
}
.article .stat-callout__text p { margin: 0; color: inherit; }

/* Stat row — multiple stats side by side */
.article .stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 640px) {
  .article .stat-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
.article .stat-row__item {
  padding: 1.25rem;
  border-radius: 0.5rem;
  background: var(--stone-tint);
  border-left: 3px solid var(--primary);
  text-align: center;
}
.article .stat-row__item:nth-child(2) { border-left-color: var(--accent-warm); }
.article .stat-row__item:nth-child(3) { border-left-color: var(--accent-clay); }
.article .stat-row__item:nth-child(4) { border-left-color: var(--primary-glow); }
.article .stat-row__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.article .stat-row__item:nth-child(2) .stat-row__num { color: var(--accent-warm); }
.article .stat-row__item:nth-child(3) .stat-row__num { color: var(--accent-clay); }
.article .stat-row__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* Comparison table — two-column pro/con or vs layout */
.article .compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 639px) {
  .article .compare { grid-template-columns: 1fr; }
}
.article .compare__col {
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--background);
}
.article .compare__col--green {
  border-top: 3px solid var(--primary);
  background: linear-gradient(160deg, rgba(45,74,62,.05) 0%, var(--background) 50%);
}
.article .compare__col--warm {
  border-top: 3px solid var(--accent-warm);
  background: linear-gradient(160deg, rgba(212,165,116,.08) 0%, var(--background) 50%);
}
.article .compare__col--clay {
  border-top: 3px solid var(--accent-clay);
  background: linear-gradient(160deg, rgba(200,103,74,.05) 0%, var(--background) 50%);
}
.article .compare__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
.article .compare__col ul {
  list-style: none;
  padding: 0;
}
.article .compare__col li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.article .compare__col li:last-child { border-bottom: 0; }
.article .compare__icon {
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 0.1em;
}
.article .compare__col--green .compare__icon { color: var(--primary); }
.article .compare__col--clay .compare__icon { color: var(--accent-clay); }

/* Timeline / Steps — vertical numbered steps */
.article .steps {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
  position: relative;
}
.article .steps::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-warm), var(--accent-clay));
}
.article .steps li {
  counter-increment: steps;
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  position: relative;
}
.article .steps li::before {
  content: counter(steps, decimal-leading-zero);
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 0.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
}
.article .steps li:nth-child(2)::before { background: var(--accent-warm); color: var(--primary-deep); }
.article .steps li:nth-child(3)::before { background: var(--accent-clay); }
.article .steps li:nth-child(4)::before { background: var(--primary-glow); }
.article .steps li:nth-child(5)::before { background: var(--primary); }
.article .steps__content { flex: 1; padding-top: 0.25rem; }
.article .steps__content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.article .steps__content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.65;
}

/* Featured quote — large blockquote with attribution photo */
.article .featured-quote {
  margin: 3rem 0;
  padding: 2rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant);
  position: relative;
}
.article .featured-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(250, 248, 245, 0.15);
}
.article .featured-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--primary-foreground);
  position: relative;
  z-index: 1;
}
.article .featured-quote blockquote p { color: inherit; }
.article .featured-quote__attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}
.article .featured-quote__avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(250, 248, 245, 0.3);
}
.article .featured-quote__name {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  font-style: normal;
  color: rgba(250, 248, 245, 0.9);
}
.article .featured-quote__role {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-style: normal;
  color: rgba(250, 248, 245, 0.6);
}

/* Key takeaway box */
.article .takeaway {
  margin: 2.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--primary);
  background: linear-gradient(135deg, rgba(45,74,62,.06), var(--background) 60%);
  position: relative;
}
.article .takeaway::before {
  content: "Key takeaway";
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.article .takeaway > :last-child { margin-bottom: 0; }

/* Numbered tip list — fancy ordered list with cards */
.article .tip-list {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  counter-reset: tips;
  display: grid;
  gap: 0.75rem;
}
.article .tip-list li {
  counter-increment: tips;
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.5rem;
  background: var(--stone-tint);
  border: 1px solid var(--border);
  align-items: flex-start;
}
.article .tip-list li::before {
  content: counter(tips);
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 0.875rem;
  box-shadow: var(--shadow-card);
}
.article .tip-list li:nth-child(2)::before { background: var(--accent-warm); color: var(--primary-deep); }
.article .tip-list li:nth-child(3)::before { background: var(--accent-clay); }
.article .tip-list li:nth-child(4)::before { background: var(--primary-glow); }
.article .tip-list li:nth-child(5)::before { background: var(--primary); }
.article .tip-list li:nth-child(6)::before { background: var(--accent-warm); color: var(--primary-deep); }

/* Definition list */
.article dl {
  margin: 2rem 0;
  display: grid;
  gap: 0;
}
.article dt {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--border);
  color: var(--foreground);
}
.article dt:first-of-type { border-top: none; }
.article dd {
  margin: 0;
  padding: 0 0 1rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  border-left: 2px solid var(--accent-warm);
}

/* Highlight card — full-width accent card for key points */
.article .highlight-card {
  margin: 2.5rem -0.5rem;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(45,74,62,.08), rgba(212,165,116,.1), rgba(79,122,102,.08));
  box-shadow: inset 0 0 0 1px rgba(45, 74, 62, 0.15);
}
.article .highlight-card > :first-child { margin-top: 0; }
.article .highlight-card > :last-child { margin-bottom: 0; }
.article .highlight-card h3 { color: var(--primary); margin-top: 0; }
@media (min-width: 640px) {
  .article .highlight-card { margin-inline: -1rem; padding: 2.5rem; }
}

/* Icon list — list with custom checkmark or emoji prefix */
.article .icon-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.625rem;
  margin: 1.5rem 0;
}
.article .icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.65;
}
.article .icon-list .icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.15em;
}
.article .icon-list .icon--check { background: var(--primary); color: var(--primary-foreground); }
.article .icon-list .icon--x { background: var(--accent-clay); color: #fff; }
.article .icon-list .icon--star { background: var(--accent-warm); color: var(--primary-deep); }
