/* ===========================================================
   ALLURE TAX PROZ — Design Tokens
   Premium, quiet-luxury tax & financial services brand.
   Palette: warm ivory / champagne surfaces + refined brass-gold accent.
   Type: Cormorant Garamond (display, editorial serif) + Switzer (body, clean grotesk).
   =========================================================== */

:root {
  /* Type scale — fluid clamp() */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 6.5rem);

  /* Spacing — 4px base unit */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.4rem;
  --radius-lg: 0.6rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1240px;
  --content-full: 100%;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Switzer', 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* LIGHT MODE (default) */
:root,
[data-theme='light'] {
  --color-bg: #fbf8f1;
  --color-surface: #f5efe1;
  --color-surface-2: #ffffff;
  --color-surface-offset: #efe6d3;
  --color-surface-offset-2: #e8dcc3;
  --color-surface-dynamic: #e0d2af;
  --color-divider: #e3d7bd;
  --color-border: #d6c7a3;

  --color-text: #2a2519;
  --color-text-muted: #6c6250;
  --color-text-faint: #a89a78;
  --color-text-inverse: #fbf8f1;

  --color-primary: #8a6a1f;
  --color-primary-hover: #6e5416;
  --color-primary-active: #57420f;
  --color-primary-highlight: #ecdfba;

  --color-success: #4b6b3a;
  --color-error: #96382e;
  --color-warning: #a9702a;

  /* Secondary jewel accent — deep emerald, for contrast bands & energy */
  --color-accent-2: #2f4a3d;
  --color-accent-2-soft: #e4ebe3;
  --color-accent-2-hover: #26392f;

  --gradient-mesh:
    radial-gradient(48% 42% at 18% 12%, color-mix(in oklab, var(--color-primary) 26%, transparent), transparent 68%),
    radial-gradient(38% 44% at 88% 20%, color-mix(in oklab, var(--color-accent-2) 20%, transparent), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, color-mix(in oklab, var(--color-primary) 12%, transparent), transparent 72%);
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, #b5924a 55%, var(--color-primary) 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");

  --shadow-sm: 0 1px 3px rgba(60, 46, 12, 0.08);
  --shadow-md: 0 8px 24px rgba(60, 46, 12, 0.1);
  --shadow-lg: 0 20px 48px rgba(60, 46, 12, 0.14);
  --shadow-glow: 0 6px 28px color-mix(in oklab, var(--color-primary) 32%, transparent);
}

/* DARK MODE */
[data-theme='dark'] {
  --color-bg: #17140f;
  --color-surface: #1e1a13;
  --color-surface-2: #241f17;
  --color-surface-offset: #2a241a;
  --color-surface-offset-2: #332c1f;
  --color-surface-dynamic: #3d3524;
  --color-divider: #3a3223;
  --color-border: #4a4029;

  --color-text: #ede6d6;
  --color-text-muted: #b3a98e;
  --color-text-faint: #7a7159;
  --color-text-inverse: #241f17;

  --color-primary: #d4af52;
  --color-primary-hover: #e4c169;
  --color-primary-active: #f0d488;
  --color-primary-highlight: #3d3524;

  --color-success: #7fa568;
  --color-error: #c66a5c;
  --color-warning: #cf9a54;

  --color-accent-2: #6fa587;
  --color-accent-2-soft: #23342b;
  --color-accent-2-hover: #8bbe9e;

  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, #f0d488 55%, var(--color-primary) 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 6px 28px rgba(212, 175, 82, 0.28);
}

/* ===========================================================
   LAYOUT PRIMITIVES
   =========================================================== */

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
@media (min-width: 768px) {
  .wrap {
    padding-inline: var(--space-10);
  }
}

.wrap--narrow {
  max-width: var(--content-narrow);
}
.wrap--default {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-primary);
}

/* ===========================================================
   TYPOGRAPHY
   =========================================================== */

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.h-hero {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.04;
}
.h-1 {
  font-size: var(--text-2xl);
  line-height: 1.08;
}
.h-2 {
  font-size: var(--text-xl);
  line-height: 1.15;
}
.h-3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 56ch;
}
p {
  max-width: 68ch;
}
.text-muted {
  color: var(--color-text-muted);
}
.text-faint {
  color: var(--color-text-faint);
}
.text-center {
  text-align: center;
}
.text-center p,
.text-center .lede {
  margin-inline: auto;
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
}

/* ===========================================================
   HEADER / NAV
   =========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.045em;
  line-height: 1;
}
.brand-word span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 3px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--color-primary);
  transition: width var(--transition-interactive);
}
.nav-links a:hover {
  color: var(--color-text);
}
.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  width: 100%;
}
.nav-links a[aria-current='page'] {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-actions .btn-primary {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-word {
    font-size: 1.05rem;
  }
  .brand-word span {
    display: none;
  }
  .nav-actions {
    gap: var(--space-2);
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: var(--space-4) var(--space-6);
  text-decoration: none;
  color: var(--color-text);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-base);
}
.mobile-nav .btn {
  margin: var(--space-4) var(--space-6);
}

/* ===========================================================
   BUTTONS
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.85rem 1.7rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive);
}
.btn-primary {
  background: var(--gradient-primary);
  background-size: 220% 220%;
  background-position: 0% 50%;
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}
[data-theme='dark'] .btn-primary {
  color: #241f17;
}

.btn-accent {
  background: var(--color-accent-2);
  color: #f5f1e6;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover {
  background: var(--color-accent-2-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: 0.6rem 0;
}
.btn-ghost:hover {
  color: var(--color-primary);
}

.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 1.05rem 2.1rem;
  min-height: 52px;
  font-size: var(--text-base);
}

@media (max-width: 480px) {
  .btn {
    min-height: 50px;
    padding: 0.9rem 1.5rem;
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-row .btn {
    width: 100%;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ===========================================================
   HERO
   =========================================================== */

.hero {
  position: relative;
  padding-top: clamp(var(--space-16), 9vw, var(--space-24));
  padding-bottom: clamp(var(--space-16), 8vw, var(--space-24));
  overflow: hidden;
  background-image: var(--gradient-mesh);
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-blob--gold {
  width: 380px;
  height: 380px;
  top: -120px;
  right: 6%;
  background: color-mix(in oklab, var(--color-primary) 55%, transparent);
}
.hero-blob--emerald {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -60px;
  background: color-mix(in oklab, var(--color-accent-2) 45%, transparent);
}
@media (max-width: 640px) {
  .hero-blob {
    opacity: 0.35;
  }
}
.hero-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero-copy .h-hero {
  margin-bottom: var(--space-6);
}
.hero-copy .lede {
  margin-bottom: var(--space-8);
}
.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 15, 5, 0.35));
}
.hero-media-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  z-index: 2;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.hero-media-badge strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  display: block;
}
.hero-media-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.trust-bar {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: space-between;
  list-style: none;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex: 1;
  min-width: 200px;
}
.trust-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ===========================================================
   CARDS
   =========================================================== */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg {
  width: 22px;
  height: 22px;
}
.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.service-card ul li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Process steps */
.process-steps {
  display: grid;
  gap: var(--space-6);
  counter-reset: step;
}
@media (min-width: 860px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  position: relative;
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  line-height: 1;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  background: var(--color-bg);
  padding-right: var(--space-3);
}

/* Testimonials */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--color-primary);
}
.stars svg {
  width: 16px;
  height: 16px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.4;
}
.testimonial-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: auto;
}
.testimonial-person strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Feature split */
.split {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--reverse {
    direction: rtl;
  }
  .split--reverse > * {
    direction: ltr;
  }
}
.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3.2;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.split-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.split-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(150deg, var(--color-text) 0%, #2a2417 50%, var(--color-accent-2) 145%);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  text-align: center;
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.5;
  pointer-events: none;
}
.cta-banner > * {
  position: relative;
  z-index: 1;
}
[data-theme='dark'] .cta-banner {
  background: linear-gradient(150deg, var(--color-surface-offset) 0%, #1c1712 60%, var(--color-accent-2-soft) 150%);
}
.cta-banner h2 {
  color: var(--color-text-inverse);
}
[data-theme='dark'] .cta-banner h2 {
  color: var(--color-text);
}
.cta-banner p {
  color: color-mix(in oklab, var(--color-text-inverse) 75%, transparent);
  margin-inline: auto;
}
[data-theme='dark'] .cta-banner p {
  color: var(--color-text-muted);
}
.cta-banner .btn-row {
  justify-content: center;
  margin-top: var(--space-8);
}
.cta-banner .btn-primary {
  background: var(--color-primary);
}
.cta-banner .btn-secondary {
  color: var(--color-text-inverse);
  border-color: color-mix(in oklab, var(--color-text-inverse) 30%, transparent);
}
[data-theme='dark'] .cta-banner .btn-secondary {
  color: var(--color-text);
  border-color: var(--color-border);
}
.cta-banner .btn-secondary:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-divider);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
}
.faq-item[data-open='true'] .faq-question svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.faq-answer-inner {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* Pricing table extras */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.85em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}

/* Contact page */
.contact-grid {
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-info-item .service-icon {
  flex-shrink: 0;
}
.contact-info-item a {
  color: var(--color-text);
  text-decoration: none;
}
.contact-info-item a:hover {
  color: var(--color-primary);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  color: var(--color-text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form-row {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}
.form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
}
.form-success.is-visible {
  display: flex;
}

/* ===========================================================
   FOOTER
   =========================================================== */

.site-footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
  background: var(--color-surface);
}
.footer-top {
  display: grid;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}
@media (min-width: 860px) {
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.footer-social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-bottom a {
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--color-primary);
}
.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

/* ===========================================================
   PAGE HEADER (interior pages)
   =========================================================== */
.page-header {
  padding-top: clamp(var(--space-20), 10vw, var(--space-28));
  padding-bottom: var(--space-12);
  text-align: center;
}
.page-header .h-1 {
  margin-top: var(--space-5);
}
.page-header .lede {
  margin-inline: auto;
  margin-top: var(--space-5);
}

/* Breadcrumb-ish divider band */
.band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

/* Value / segment tiles */
.segment-tile {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}
.segment-tile svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  margin: 0 auto var(--space-3);
}
.segment-tile h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
}
.segment-tile p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* Timeline (About / values) */
.values-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 860px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.value-item {
  border-top: 2px solid var(--color-primary);
  padding-top: var(--space-5);
}

/* utility */
.mt-0 {
  margin-top: 0 !important;
}
.divider {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin-block: var(--space-16);
}

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition-interactive);
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
[data-theme='dark'] .back-to-top {
  color: #241f17;
}

/* ===========================================================
   STATS BAND
   =========================================================== */
.stats-band {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 720px) {
  .stats-band {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-item {
  position: relative;
  padding: var(--space-6) var(--space-3);
}
.stat-item::after {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;
  width: 1px;
  background: color-mix(in oklab, var(--color-text-inverse) 18%, transparent);
}
.stats-band .stat-item:nth-child(2n)::after,
.stats-band .stat-item:last-child::after {
  display: none;
}
@media (min-width: 720px) {
  .stats-band .stat-item:nth-child(2n)::after {
    display: block;
  }
  .stats-band .stat-item:nth-child(4n)::after {
    display: none;
  }
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
  display: block;
}
[data-theme='dark'] .stats-band .stat-number {
  color: var(--color-primary);
}
.stat-label {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-text-inverse) 72%, transparent);
}

/* ===========================================================
   CONTRAST SECTION (deep jewel band for visual rhythm)
   =========================================================== */
.section--contrast {
  position: relative;
  background: linear-gradient(160deg, var(--color-accent-2) 0%, #24382e 65%, #1d2e25 100%);
  color: #f3f0e6;
  overflow: hidden;
}
[data-theme='dark'] .section--contrast {
  background: linear-gradient(160deg, #0f1a14 0%, #14211a 100%);
}
.section--contrast::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.5;
  pointer-events: none;
}
.section--contrast .wrap {
  position: relative;
  z-index: 1;
}
.section--contrast h2,
.section--contrast h1 {
  color: #fbf8f1;
}
.section--contrast .eyebrow {
  color: var(--color-primary);
}
.section--contrast .eyebrow::before {
  background: var(--color-primary);
}
.section--contrast .lede,
.section--contrast p {
  color: color-mix(in oklab, #f3f0e6 78%, transparent);
}
.section--contrast .stat-item::after {
  background: color-mix(in oklab, #f3f0e6 18%, transparent);
}

/* ===========================================================
   DECORATIVE SECTION DIVIDER
   =========================================================== */
.section-divider {
  height: clamp(36px, 5vw, 64px);
  width: 100%;
  display: block;
  color: var(--color-bg);
}
.section-divider--flip {
  transform: scaleY(-1);
}

/* ===========================================================
   GRADIENT TEXT ACCENT
   =========================================================== */
.text-gradient {
  background: var(--gradient-primary);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow with dot accent for extra energy */
.eyebrow--dot::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-2);
  margin-left: var(--space-1);
}
[data-theme='dark'] .eyebrow--dot::after {
  background: var(--color-accent-2);
}

/* Testimonial quote mark flourish */
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-2);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-primary-highlight);
  z-index: 0;
}

/* Service card top accent + subtle lift on energy */
.service-card {
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-8);
  right: var(--space-8);
  height: 2px;
  background: var(--gradient-primary);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition-interactive);
}
.service-card:hover::before {
  opacity: 1;
}

/* Floating badge subtle motion (respects reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero-media-badge {
    animation: float-badge 5s ease-in-out infinite;
  }
  @keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
}

/* Page header decorative background */
.page-header {
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--gradient-mesh);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.page-header .wrap {
  position: relative;
  z-index: 1;
}

/* Mobile touch-target safety net for nav + interactive icons */
@media (max-width: 900px) {
  .theme-toggle {
    width: 44px;
    height: 44px;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
  }
  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}
