/* ==========================================================================
   MDSM Solutions — Design System
   ========================================================================== */

:root {
  /* Surface */
  --bg:          #ffffff;
  --bg-soft:     #f5f8fc;
  --bg-muted:    #eef3f9;
  --panel:       #ffffff;
  --panel-soft:  #f8fafc;

  /* Ink */
  --ink:         #0b1220;
  --ink-dim:     #1e293b;
  --ink-soft:    #334155;
  --muted:       #64748b;
  --muted-2:     #94a3b8;
  --muted-3:     #cbd5e1;

  /* Brand — MDSM blue */
  --brand:       #1e5fa8;
  --brand-hi:    #2a7bd4;
  --brand-deep:  #164677;
  --brand-darker:#0f3256;
  --brand-tint:  #eff5fb;
  --brand-tint-2:#dfeaf5;
  --brand-ring:  rgba(42,123,212,.18);

  /* Accent */
  --gold:        #d4a03a;
  --gold-soft:   #f5e9c8;
  --success:     #059669;
  --success-soft:#d1fae5;
  --warn:        #f59e0b;
  --danger:      #dc2626;

  /* Lines */
  --line:        #e2e8f0;
  --line-soft:   #eef2f7;
  --line-strong: #cbd5e1;

  /* Radii */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(15,23,42,.04);
  --shadow-sm:  0 2px 6px rgba(15,23,42,.06);
  --shadow:     0 8px 24px rgba(15,23,42,.08);
  --shadow-lg:  0 20px 50px rgba(15,23,42,.12);
  --shadow-brand: 0 8px 24px rgba(30,95,168,.18);
  --shadow-brand-lg: 0 20px 40px rgba(30,95,168,.22);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   20px;
  --fs-xl:   24px;
  --fs-2xl:  32px;
  --fs-3xl:  40px;
  --fs-4xl:  52px;
  --fs-5xl:  68px;

  /* Layout */
  --container: 1200px;
  --container-sm: 960px;
  --nav-h: 72px;
}

@import url('https://rsms.me/inter/inter.css');

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

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

/* ==========================================================================
   WOW pass — scroll reveals + premium polish
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
  }
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
  .reveal-delay-4 { transition-delay: 0.32s; }
}

/* Premium card hover lift */
.service-card-v2,
.area-card,
.why-tile,
.card {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.2s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .service-card-v2:hover,
  .area-card:hover,
  .why-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);
  }
}

/* Hero parallax — subtle */
@media (prefers-reduced-motion: no-preference) {
  .hero-v2::before {
    animation: heroFloat 18s ease-in-out infinite alternate;
  }
  .sparkle {
    animation: sparkleTwinkle 4s ease-in-out infinite alternate;
  }
  .sparkle-slow { animation-duration: 6s; }
  .sparkle-offset { animation-duration: 5s; animation-delay: 1s; }
  .sparkle-offset-2 { animation-duration: 7s; animation-delay: 2s; }
}
@keyframes heroFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12px, 8px) scale(1.04); }
}
@keyframes sparkleTwinkle {
  0%   { opacity: 0.55; transform: scale(0.9) rotate(0deg); }
  100% { opacity: 1;    transform: scale(1.1) rotate(8deg); }
}

/* Premium button micro-interactions */
.btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover {
    transform: translateY(-2px);
  }
}

/* Animated underline on link-like spans */
.sv2-link, .blog-read {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  a:hover .sv2-link svg,
  a:hover .blog-read svg {
    transform: translateX(4px);
    transition: transform 0.25s ease;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: #fcfaf6; /* cream default — matches v2 home */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

@supports (font-variation-settings: normal) {
  body { font-family: 'Inter var', var(--font-sans); }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
button { font-family: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: var(--fs-5xl); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: var(--fs-3xl); letter-spacing: -.025em; }
h3 { font-size: var(--fs-xl); letter-spacing: -.015em; }
h4 { font-size: var(--fs-md); letter-spacing: -.01em; }

@media (max-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}

.lede { font-size: var(--fs-lg); color: var(--ink-soft); line-height: 1.55; max-width: 56ch; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .section-lg { padding: 80px 0; }
}

.section-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 640px;
}
.section-header .eyebrow { margin-bottom: 12px; display: inline-block; color: #a47921; }
.section-header h2 {
  margin-bottom: 16px;
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink-rich, #0a0f1a);
  font-variation-settings: 'SOFT' 65;
}
.section-header .lede { margin: 0 auto; }

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

@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--brand); }
.brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-tint); }
.nav-links a.active { color: var(--brand); font-weight: 600; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Phone display removed from nav — phone is still in footer + on contact page.
   Get a Quote button is the primary nav CTA; visible across all 17 pages. */
.nav-phone { display: none; }
.nav-cta .btn-sm { white-space: nowrap; }
.nav-phone:hover { color: var(--brand); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s, background .15s, border-color .15s, box-shadow .2s, color .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: .05s; }

.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-hi) 0%, var(--brand) 100%);
  color: white;
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%); box-shadow: var(--shadow-brand-lg); }

.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-sm); }

.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-tint); }

.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-dark:hover { background: var(--ink-dim); }

.btn .icon { width: 16px; height: 16px; flex-shrink: 0; }
.btn-lg .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--brand-tint-2) 0%, transparent 55%),
    radial-gradient(800px 500px at -10% 120%, var(--brand-tint) 0%, transparent 60%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 800px 600px at 50% 0%, rgba(0,0,0,.18), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 800px 600px at 50% 0%, rgba(0,0,0,.18), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-soft);
}

.hero h1 {
  max-width: 14ch;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand-hi) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: 20px;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Trust strip below hero */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px 40px;
  padding: 28px 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-item .icon {
  width: 20px; height: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .2s, box-shadow .2s, border-color .15s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-tint-2);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 15px; }

.card-feature { /* featured variant */
  background: linear-gradient(180deg, var(--brand-tint) 0%, white 100%);
  border-color: var(--brand-tint-2);
  position: relative;
  overflow: hidden;
}
.card-feature::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle at top right, var(--brand-tint-2), transparent 70%);
}
.card-feature .card-icon { background: white; border: 1px solid var(--brand-tint-2); }
.card-feature .badge { position: absolute; top: 20px; right: 20px; }

/* Service card variant */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card .service-image {
  height: 180px;
  margin: -32px -32px 24px;
  background: linear-gradient(135deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%);
  position: relative;
  overflow: hidden;
}
.service-card .service-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.2) 0%, transparent 40%);
}
.service-card .service-image svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  color: var(--brand);
  opacity: .85;
}
.service-card h3 { font-size: 22px; margin-bottom: 8px; }
.service-card p { flex-grow: 1; margin-bottom: 20px; }
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}
.service-card .service-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.service-card:hover .service-link .icon { transform: translateX(3px); }

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-brand { background: var(--brand-tint); color: var(--brand); }
.badge-gold { background: var(--gold-soft); color: #8a6a1e; }
.badge-success { background: var(--success-soft); color: var(--success); }

/* ==========================================================================
   Testimonial block
   ========================================================================== */

.testimonial-feature {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 48px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: white;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-brand-lg);
}
.testimonial-feature::before {
  content: '"';
  position: absolute;
  top: -80px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 320px;
  color: rgba(255,255,255,.08);
  line-height: 1;
}
.testimonial-feature > * { position: relative; z-index: 1; }
.testimonial-feature .tm-quote {
  font-size: 26px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 28px;
  max-width: 52ch;
}
.testimonial-feature .tm-attr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.tm-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}
.tm-name { font-weight: 700; font-size: 16px; }
.tm-meta { font-size: 13px; opacity: .75; margin-top: 2px; }

@media (max-width: 640px) {
  .testimonial-feature { padding: 40px 28px; }
  .testimonial-feature .tm-quote { font-size: 20px; }
}

/* ==========================================================================
   Why MDSM grid
   ========================================================================== */

.why-tile {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .18s, border-color .15s, box-shadow .2s;
}
.why-tile:hover { transform: translateY(-3px); border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.why-tile .why-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 16px;
}
.why-tile .why-icon svg { width: 20px; height: 20px; }
.why-tile h4 { margin-bottom: 6px; font-size: 16px; }
.why-tile p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ==========================================================================
   Service areas
   ========================================================================== */

.areas-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .areas-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .areas-list { grid-template-columns: repeat(2, 1fr); } }

.area-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: white;
  text-align: center;
  transition: transform .18s, border-color .15s, box-shadow .2s;
  display: block;
}
.area-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
}
.area-card .area-icon { width: 28px; height: 28px; margin: 0 auto 12px; color: var(--brand); }
.area-card h4 { font-size: 15px; margin-bottom: 2px; }
.area-card p { font-size: 12px; color: var(--muted); margin: 0; }

/* ==========================================================================
   CTA section (footer CTA)
   ========================================================================== */

.cta-band {
  padding: 120px 0;
  background:
    radial-gradient(800px 500px at 30% 30%, rgba(200,154,60,.15) 0%, transparent 55%),
    radial-gradient(700px 400px at 80% 80%, rgba(42,123,212,.2) 0%, transparent 55%),
    linear-gradient(135deg, #0a0f1a 0%, #152236 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-band > * { position: relative; }
.cta-band .eyebrow { color: #c89a3c; display: inline-block; margin-bottom: 16px; }
.cta-band h2 {
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: white;
  margin: 0 auto 18px;
  max-width: 22ch;
  font-variation-settings: 'SOFT' 60;
}
.cta-band h2 em {
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: #c89a3c;
  font-weight: 400;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.cta-band .lede {
  color: rgba(255,255,255,.8);
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: 19px;
}
.cta-band .btn-primary {
  background: white;
  color: var(--brand-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.cta-band .btn-primary:hover { background: #fcfaf6; color: #0f3256; }
.cta-band .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.25);
}
.cta-band .btn-secondary:hover { border-color: white; background: rgba(255,255,255,.08); }
.cta-inner { text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.cta-inner .cta-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Deprecated alias — cta-band-v2 is now the same as cta-band */
.cta-band-v2 { /* same */ }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .brand-name { color: white; }
.footer .brand-sub { color: rgba(255,255,255,.55); }
.footer .brand-mark img { filter: brightness(0) invert(1); }
.footer-about p { margin-top: 16px; line-height: 1.65; max-width: 38ch; }
.footer h5 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.7); transition: color .15s; }
.footer a:hover { color: white; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form { display: grid; gap: 16px; }
.field { display: block; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Quote form styled card */
.quote-card {
  background: white;
  padding: 40px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) { .quote-card { padding: 28px 24px; } }
.quote-card h3 { font-size: 24px; margin-bottom: 8px; }
.quote-card .caption { color: var(--muted); margin-bottom: 28px; font-size: 15px; }

/* ==========================================================================
   Page headers (inner pages)
   ========================================================================== */

.page-header {
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 500px at 50% -20%, var(--brand-tint) 0%, transparent 55%),
    radial-gradient(700px 400px at 90% 100%, rgba(200,154,60,.08) 0%, transparent 60%),
    #fcfaf6;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  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='.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 .05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .5;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header .eyebrow { display: inline-block; margin-bottom: 14px; color: #a47921; }
.page-header h1 {
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 22ch;
  margin: 0 auto 16px;
  color: #0a0f1a;
  font-variation-settings: 'SOFT' 65;
}
.page-header h1 em {
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: #1e5fa8;
  font-weight: 400;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.page-header .lede { margin: 0 auto; font-size: 19px; color: var(--ink-soft); }

@media (max-width: 768px) {
  .page-header { padding: 64px 0 52px; }
  .page-header h1 { font-size: 36px; }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item details { padding: 20px 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .2s, background .15s;
}
.faq-item details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: white; }
.faq-item summary:hover { color: var(--brand); }
.faq-item .faq-answer { padding-top: 12px; color: var(--ink-soft); line-height: 1.65; max-width: 68ch; }

/* ==========================================================================
   Blog cards
   ========================================================================== */

.blog-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .15s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-tint-2); }
.blog-card .blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%);
  position: relative;
  overflow: hidden;
}
.blog-card .blog-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,.5) 0%, transparent 45%);
}
.blog-card .blog-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-card .blog-meta .cat { color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; flex-grow: 1; line-height: 1.6; }
.blog-card .blog-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
}
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-hi) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 8px; }
.gap { gap: 16px; }
.gap-lg { gap: 24px; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0;
  border: 0;
}

/* Animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   === V2 UPGRADE: "WOW" LAYER ===
   Additional tokens, typography, and components for editorial home page
   ========================================================================== */

/* Fraunces — display serif for editorial headlines */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&display=swap');

:root {
  --font-serif: 'Fraunces', 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Warmer palette — cream paper, richer ink */
  --cream:        #fcfaf6;
  --cream-deep:   #f6f2ea;
  --paper:        #faf7f1;
  --ink-rich:     #0a0f1a;

  /* Gold as a real accent, not just Premium tier */
  --gold-deep:    #a47921;
  --gold-rich:    #c89a3c;
  --gold-soft-v2: #f2e4c1;
  --gold-ring:    rgba(200,154,60,.22);
}

.serif { font-family: var(--font-serif); font-optical-sizing: auto; font-variation-settings: 'SOFT' 50; letter-spacing: -.02em; }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-variation-settings: 'SOFT' 70, 'WONK' 1; }

/* Warm body background on home */
body.home {
  background: var(--cream);
}

/* ==========================================================================
   Hero V2 — asymmetric editorial
   ========================================================================== */

.hero-v2 {
  position: relative;
  padding: 88px 0 104px;
  background: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 110% -10%, rgba(30,95,168,.10) 0%, transparent 55%),
    radial-gradient(700px 500px at -10% 110%, rgba(200,154,60,.10) 0%, transparent 60%);
  z-index: -1;
}
.hero-v2::after {
  /* subtle paper grain */
  content: '';
  position: absolute;
  inset: 0;
  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='.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 .08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .5;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

.hero-v2-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-v2-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-v2-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 28px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.hero-v2-tag .seal {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-soft-v2);
  color: var(--gold-deep);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.hero-v2 h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 92px);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--ink-rich);
  margin: 0 0 28px;
  font-variation-settings: 'SOFT' 70;
}
.hero-v2 h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}

.hero-v2 .lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 36px;
}
.hero-v2 .hero-ctas { justify-content: flex-start; }

/* Right side — stacked proof card */
.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-proof-card {
  padding: 24px 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-proof-card .pc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.hero-proof-card .pc-num {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
  color: var(--ink-rich);
  letter-spacing: -.03em;
  margin-bottom: 4px;
  font-variation-settings: 'SOFT' 60;
}
.hero-proof-card .pc-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.hero-proof-card.featured {
  background: linear-gradient(135deg, var(--ink-rich) 0%, #1a2332 100%);
  border-color: var(--ink-rich);
  color: white;
}
.hero-proof-card.featured .pc-label { color: var(--gold-rich); }
.hero-proof-card.featured .pc-num { color: white; }
.hero-proof-card.featured .pc-desc { color: rgba(255,255,255,.75); }
.hero-proof-card .pc-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-dim);
  margin-bottom: 14px;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
}
.hero-proof-card.featured .pc-quote { color: rgba(255,255,255,.95); }
.hero-proof-card .pc-attr { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.hero-proof-card.featured .pc-attr { color: rgba(255,255,255,.65); }

/* Sparkle accent — uses the logo's signature element */
.sparkle {
  position: absolute;
  pointer-events: none;
  color: var(--gold-rich);
  opacity: 0;
  animation: sparkle-pulse 5s ease-in-out infinite;
}
@keyframes sparkle-pulse {
  0%, 100% { opacity: 0; transform: scale(.6) rotate(0deg); }
  50% { opacity: .85; transform: scale(1) rotate(20deg); }
}
.sparkle.sparkle-slow { animation-duration: 7s; }
.sparkle.sparkle-offset { animation-delay: 2s; }
.sparkle.sparkle-offset-2 { animation-delay: 3.5s; }

/* ==========================================================================
   "Ten Years. One Standard." editorial feature
   ========================================================================== */

.thirteen-year {
  padding: 120px 0;
  background: var(--ink-rich);
  color: white;
  position: relative;
  overflow: hidden;
}
.thirteen-year::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 600px at 80% 20%, rgba(30,95,168,.25) 0%, transparent 55%),
    radial-gradient(700px 500px at 10% 80%, rgba(200,154,60,.18) 0%, transparent 60%);
}
.thirteen-year > * { position: relative; }
.thirteen-year-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 960px) { .thirteen-year-grid { grid-template-columns: 1fr; gap: 56px; } }

.thirteen-year .eyebrow { color: var(--gold-rich); }
.thirteen-year h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  color: white;
  margin: 12px 0 24px;
  font-variation-settings: 'SOFT' 60;
}
.thirteen-year h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
  color: var(--gold-rich);
  font-weight: 400;
}
.thirteen-year .lede {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  max-width: 52ch;
  margin-bottom: 28px;
}
.thirteen-year .ty-pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: white;
  padding: 20px 0 20px 28px;
  border-left: 3px solid var(--gold-rich);
  margin-bottom: 28px;
  font-variation-settings: 'SOFT' 85, 'WONK' 1;
}

.ty-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ty-stat {
  background: rgba(10,15,26,.85);
  padding: 28px 24px;
}
.ty-stat-num {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -.03em;
  font-variation-settings: 'SOFT' 50;
}
.ty-stat-num .unit {
  font-size: 24px;
  color: var(--gold-rich);
  margin-left: 4px;
  font-style: italic;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.ty-stat-label { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; }

/* ==========================================================================
   Our Word — family covenant
   ========================================================================== */

.our-word {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}
.our-word::before {
  content: '';
  position: absolute;
  inset: 0;
  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='.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 .06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .6;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.our-word > * { position: relative; }
.our-word-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.our-word .eyebrow {
  color: var(--gold-deep);
  display: inline-block;
  margin-bottom: 16px;
}
.our-word h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 500;
  color: var(--ink-rich);
  margin-bottom: 24px;
  font-variation-settings: 'SOFT' 65;
}
.our-word h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-deep);
  font-weight: 400;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.our-word .preamble {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 48px;
  max-width: 58ch;
}

.covenant {
  display: grid;
  gap: 2px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.covenant-item {
  background: var(--paper);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  transition: background .15s;
}
.covenant-item:hover { background: white; }
.covenant-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-deep);
  line-height: 1;
  font-weight: 400;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.covenant-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.covenant-text strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink-rich);
  display: block;
  margin-bottom: 4px;
  letter-spacing: -.01em;
  font-variation-settings: 'SOFT' 65;
}

.signature {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.signature::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--ink-soft);
}

/* ==========================================================================
   Before/After CSS slider
   ========================================================================== */

.ba-section {
  padding: 96px 0;
  background: var(--cream-deep);
}
.ba-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.ba-wrap > .eyebrow { color: var(--gold-deep); }
.ba-wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  margin: 12px 0 16px;
  color: var(--ink-rich);
  font-variation-settings: 'SOFT' 65;
}
.ba-wrap h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand);
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
  font-weight: 400;
}
.ba-wrap .lede { margin: 0 auto 40px; }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  border: 1px solid var(--line);
}
.ba-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ba-before {
  background:
    radial-gradient(circle at 30% 40%, rgba(40,30,20,.35) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(60,40,25,.3) 0%, transparent 45%),
    linear-gradient(135deg, #c4b8a5 0%, #8a7d6a 100%);
}
.ba-after {
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(230,240,250,.5) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #e8f0f8 100%);
  clip-path: inset(0 50% 0 0);
  transition: clip-path .1s;
}
.ba-label {
  position: absolute;
  top: 24px;
  padding: 6px 14px;
  background: rgba(0,0,0,.7);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.ba-before .ba-label { left: 24px; }
.ba-after .ba-label { right: 24px; background: rgba(30,95,168,.9); }
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: white;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 4px 16px rgba(0,0,0,.3);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle::after {
  content: '⇄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.ba-icon {
  width: 100px;
  height: 100px;
  opacity: .25;
}

.ba-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ==========================================================================
   Editorial testimonial — drop cap, serif body, magazine treatment
   ========================================================================== */

.editorial-quote {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 56px;
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow);
}
@media (max-width: 640px) { .editorial-quote { padding: 48px 28px; } }
.editorial-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 48px;
  font-family: var(--font-serif);
  font-size: 120px;
  line-height: 1;
  color: var(--gold-rich);
  font-style: italic;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.editorial-quote .eq-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.editorial-quote .eq-text {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.4;
  color: var(--ink-rich);
  margin-bottom: 36px;
  font-weight: 400;
  font-variation-settings: 'SOFT' 70;
}
.editorial-quote .eq-text::first-letter {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6em;
  float: left;
  margin: 8px 12px 0 -4px;
  color: var(--brand);
  line-height: .85;
  font-weight: 500;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.eq-attr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.eq-attr .tm-avatar {
  background: var(--brand-tint);
  color: var(--brand);
  width: 52px; height: 52px;
  font-size: 18px;
  font-family: var(--font-serif);
  font-weight: 500;
}
.eq-attr .tm-name { color: var(--ink-rich); }
.eq-attr .tm-meta { color: var(--muted); }

/* ==========================================================================
   Home page: richer service cards
   ========================================================================== */

.service-card-v2 {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .15s;
  text-decoration: none;
  color: inherit;
}
.service-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.service-card-v2 .sv2-hero {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%);
}
.service-card-v2.featured .sv2-hero {
  background: linear-gradient(135deg, var(--ink-rich) 0%, var(--brand-deep) 100%);
}
.service-card-v2 .sv2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.5) 0%, transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,.2) 0%, transparent 45%);
}
.service-card-v2.featured .sv2-hero::before {
  background-image:
    radial-gradient(circle at 25% 30%, rgba(200,154,60,.3) 0%, transparent 45%),
    radial-gradient(circle at 75% 75%, rgba(30,95,168,.4) 0%, transparent 45%);
}
.service-card-v2 .sv2-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  color: var(--brand);
  opacity: .7;
}
.service-card-v2.featured .sv2-icon { color: var(--gold-rich); opacity: .95; }
.service-card-v2 .sv2-badge {
  position: absolute;
  top: 20px;
  left: 20px;
}
.service-card-v2 .sv2-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-v2 h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink-rich);
  font-variation-settings: 'SOFT' 65;
}
.service-card-v2 p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 20px;
}
.service-card-v2 .sv2-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}
.service-card-v2:hover .sv2-link .icon { transform: translateX(4px); }
.service-card-v2 .sv2-link .icon { width: 16px; height: 16px; transition: transform .2s; }

/* ==========================================================================
   Richer section header for v2
   ========================================================================== */

.section-header-v2 { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header-v2 .eyebrow { color: var(--gold-deep); display: inline-block; margin-bottom: 12px; }
.section-header-v2 h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 500;
  color: var(--ink-rich);
  margin-bottom: 16px;
  font-variation-settings: 'SOFT' 65;
}
.section-header-v2 h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand);
  font-weight: 400;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.section-header-v2 .lede { margin: 0 auto; color: var(--ink-soft); }

/* ==========================================================================
   Enhanced CTA band
   ========================================================================== */

.cta-band-v2 {
  padding: 120px 0;
  background:
    radial-gradient(800px 500px at 30% 30%, rgba(200,154,60,.15) 0%, transparent 55%),
    radial-gradient(700px 400px at 80% 80%, rgba(42,123,212,.2) 0%, transparent 55%),
    linear-gradient(135deg, #0a0f1a 0%, #152236 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-band-v2 > * { position: relative; }
.cta-band-v2 .cta-inner { max-width: 820px; }
.cta-band-v2 h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  color: white;
  margin-bottom: 20px;
  font-variation-settings: 'SOFT' 60;
}
.cta-band-v2 h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-rich);
  font-weight: 400;
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}
.cta-band-v2 .lede { color: rgba(255,255,255,.8); font-size: 19px; max-width: 56ch; margin: 0 auto 36px; }
.cta-band-v2 .btn-primary {
  background: white;
  color: var(--brand-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.cta-band-v2 .btn-primary:hover { background: var(--cream); color: var(--brand-darker); }
.cta-band-v2 .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: white;
}
.cta-band-v2 .btn-secondary:hover { border-color: white; background: rgba(255,255,255,.08); }
.cta-band-v2 .eyebrow { color: var(--gold-rich); }
