/* ============================================================
   MEITNERIUM ACCOUNTING — Design Tokens + Components
   Brand: deep ink navy + warm gold accent (evolved from Wix brand)
   ============================================================ */

:root {
  /* Type scale (fluid) */
  --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.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem);
  --text-3xl: clamp(2.6rem, 1.2rem + 4vw, 5rem);

  /* Spacing */
  --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 */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

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

  --content-narrow: 680px;
  --content-default: 1020px;
  --content-wide: 1280px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
}

/* LIGHT MODE */
:root,
[data-theme='light'] {
  --color-bg: #f7f6f1;
  --color-surface: #fffefb;
  --color-surface-2: #f1efe7;
  --color-surface-offset: #e9e6db;
  --color-border: #ddd8c9;
  --color-divider: #e7e3d6;

  --color-text: #1a2233;
  --color-text-muted: #5a6275;
  --color-text-faint: #9aa0ad;
  --color-text-inverse: #f7f6f1;

  /* Ink navy — brand primary (dark surfaces) */
  --color-ink: #131b2e;
  --color-ink-2: #1c2740;
  --color-ink-soft: #2a3654;

  --color-primary: #1c2740;
  --color-primary-hover: #131b2e;

  /* Warm gold — brand accent */
  --color-accent: #c08a2d;
  --color-accent-hover: #a87521;
  --color-accent-soft: #e7d3a8;
  --color-accent-tint: #f3e9d4;

  --shadow-sm: 0 1px 2px rgba(19, 27, 46, 0.06);
  --shadow-md: 0 6px 20px rgba(19, 27, 46, 0.09);
  --shadow-lg: 0 20px 50px rgba(19, 27, 46, 0.14);

  --on-ink-text: #eef0f5;
  --on-ink-muted: #aab2c6;
  --on-ink-border: rgba(255, 255, 255, 0.12);
}

/* DARK MODE */
[data-theme='dark'] {
  --color-bg: #0f1521;
  --color-surface: #161e2e;
  --color-surface-2: #1b2438;
  --color-surface-offset: #202a40;
  --color-border: #2c374f;
  --color-divider: #232d44;

  --color-text: #e7eaf1;
  --color-text-muted: #9ba5ba;
  --color-text-faint: #6b7488;
  --color-text-inverse: #0f1521;

  --color-ink: #0b101a;
  --color-ink-2: #131b2e;
  --color-ink-soft: #1f2a45;

  --color-primary: #cfd6e4;
  --color-primary-hover: #ffffff;

  --color-accent: #e0a847;
  --color-accent-hover: #f0bb5e;
  --color-accent-soft: #4a3c21;
  --color-accent-tint: #20283a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);

  --on-ink-text: #eef0f5;
  --on-ink-muted: #aab2c6;
  --on-ink-border: rgba(255, 255, 255, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0f1521;
    --color-surface: #161e2e;
    --color-surface-2: #1b2438;
    --color-surface-offset: #202a40;
    --color-border: #2c374f;
    --color-divider: #232d44;
    --color-text: #e7eaf1;
    --color-text-muted: #9ba5ba;
    --color-text-faint: #6b7488;
    --color-text-inverse: #0f1521;
    --color-ink: #0b101a;
    --color-ink-2: #131b2e;
    --color-ink-soft: #1f2a45;
    --color-primary: #cfd6e4;
    --color-primary-hover: #ffffff;
    --color-accent: #e0a847;
    --color-accent-hover: #f0bb5e;
    --color-accent-soft: #4a3c21;
    --color-accent-tint: #20283a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  }
}

/* ===================== LAYOUT ===================== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--default {
  max-width: var(--content-default);
}
.container--narrow {
  max-width: var(--content-narrow);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--color-accent);
}
.eyebrow--center {
  justify-content: center;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-text);
}
.section-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.section-lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.text-center {
  text-align: center;
}
.text-center .section-lead,
.text-center .eyebrow {
  margin-inline: auto;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
}
.btn--primary {
  background: var(--color-accent);
  color: #1a1305;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ink {
  background: var(--color-ink-2);
  color: var(--on-ink-text);
  border-color: var(--color-ink-2);
}
.btn--ink:hover {
  background: var(--color-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn--on-ink {
  background: transparent;
  color: var(--on-ink-text);
  border-color: var(--on-ink-border);
}
.btn--on-ink:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn--lg {
  padding: 1.1rem 2rem;
  font-size: var(--text-base);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.brand__mark {
  width: 46px;
  height: 33px;
  flex-shrink: 0;
  color: var(--color-text);
}
.brand__mark .mark-gold {
  fill: var(--color-accent);
}

/* ---- Traced vector logo lockup (real Meitnerium logo) ---- */
.brand--logo {
  gap: 0;
}
.brand__logosvg {
  display: block;
  height: 34px;
  width: auto;
  flex-shrink: 0;
  color: var(--color-text);
}
.brand__logosvg .logo-accent {
  fill: var(--color-text-muted);
}
@media (max-width: 600px) {
  .brand__logosvg {
    height: 28px;
  }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.nav__link:hover,
.nav__link[aria-current='page'] {
  color: var(--color-text);
}
.nav__link[aria-current='page'] {
  color: var(--color-accent);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.hero__title {
  font-size: var(--text-2xl);
  line-height: 1.05;
  margin-bottom: var(--space-5);
}
.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}
.hero__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 50ch;
}
.hero__media {
  position: relative;
}
.hero__img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 250px;
}
.hero__badge svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.hero__badge-text strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.hero__badge-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

/* ===================== INK SECTION ===================== */
.ink {
  background: var(--color-ink);
  color: var(--on-ink-text);
}
.ink h1,
.ink h2,
.ink h3 {
  color: var(--on-ink-text);
}
.ink .section-lead {
  color: var(--on-ink-muted);
}

/* ===================== STAT STRIP ===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.stat {
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
}
.stat__label {
  font-size: var(--text-sm);
  color: var(--on-ink-muted);
  margin-top: var(--space-2);
}

/* ===================== CARDS / SERVICES ===================== */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card--link {
  text-decoration: none;
  color: inherit;
}
.card--link:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-accent-tint);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.card__icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: var(--text-lg);
}
.card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.card__more {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.card--link:hover .card__more svg {
  transform: translateX(4px);
}
.card__more svg {
  width: 1em;
  height: 1em;
  transition: transform var(--transition-interactive);
}

/* feature list */
.featurelist {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.featurelist li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.featurelist svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================== SPLIT ===================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.split__img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split--reverse .split__media {
  order: 2;
}

/* ===================== PRICING ===================== */
.price-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.price-tab {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
}
.price-tab:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
}
.price-tab.active {
  background: var(--color-ink-2);
  color: var(--on-ink-text);
  border-color: var(--color-ink-2);
}

.price-panel {
  display: none;
}
.price-panel.active {
  display: block;
  animation: fade 0.4s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.price-card.featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-card__tag {
  align-self: flex-start;
  margin-bottom: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-tint);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}
.price-card h3 {
  font-size: var(--text-lg);
}
.price-card__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}
.price-card__price small {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.price-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.price-table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-10);
  background: var(--color-surface);
}
.price-table-wrap > h3 {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}
.price-table {
  width: 100%;
  font-size: var(--text-sm);
}
.price-table th,
.price-table td {
  text-align: left;
  padding: var(--space-3) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: top;
}
.price-table thead th {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
}
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-table .svc {
  font-weight: 600;
  color: var(--color-text);
}
.price-table .svc small {
  display: block;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.price-table .amt {
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.price-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-accent-tint);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-10);
}

/* ===================== STEPS ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
.step {
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-accent-soft);
  margin-bottom: var(--space-3);
}
.ink .step__num {
  color: var(--color-accent);
}
.step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.ink .step p {
  color: var(--on-ink-muted);
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: var(--color-ink);
  color: var(--on-ink-text);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 5vw, var(--space-20));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  color: var(--on-ink-text);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.cta-banner p {
  color: var(--on-ink-muted);
  font-size: var(--text-lg);
  max-width: 48ch;
  margin: 0 auto var(--space-8);
}
.cta-banner .btn-row {
  justify-content: center;
}

/* ===================== ABOUT / BIO ===================== */
.bio {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.bio--reverse {
  grid-template-columns: 1.2fr 0.8fr;
}
.bio--reverse .bio__card {
  order: 2;
}
.bio--reverse .prose {
  order: 1;
}
.bio__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}
.bio__avatar {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto var(--space-5);
  border: 3px solid var(--color-accent);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}
.bio__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.bio__role {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.bio__creds {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  text-align: left;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.bio__creds li {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.bio__creds svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.prose p {
  margin-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.prose p:first-child {
  font-size: var(--text-lg);
  color: var(--color-text);
}

/* values grid */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.value h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.value h3 svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}
.value p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* logos */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6) var(--space-12);
}
.logos span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
}
.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-6);
}
.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-item__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-accent-tint);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item__icon svg {
  width: 22px;
  height: 22px;
}
.contact-item strong {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-item a,
.contact-item p {
  font-size: var(--text-base);
  color: var(--color-text);
  text-decoration: none;
}
.contact-item a:hover {
  color: var(--color-accent);
}
.form {
  display: grid;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.form__field {
  display: grid;
  gap: var(--space-2);
}
.form label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-tint);
}
.form__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.form__success {
  display: none;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-accent-tint);
  color: var(--color-text);
  font-size: var(--text-sm);
  text-align: center;
}

.map-embed {
  width: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 7;
  margin-top: var(--space-12);
  filter: grayscale(0.2);
}

/* ===================== PAGE HEADER ===================== */
.page-head {
  background: var(--color-ink);
  color: var(--on-ink-text);
  padding-block: clamp(var(--space-16), 7vw, var(--space-24));
}
.page-head h1 {
  color: var(--on-ink-text);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.page-head p {
  color: var(--on-ink-muted);
  font-size: var(--text-lg);
  max-width: 60ch;
}
.crumbs {
  font-size: var(--text-xs);
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.crumbs a {
  color: var(--on-ink-muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--on-ink-text);
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--color-ink);
  color: var(--on-ink-muted);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.site-footer .brand {
  color: var(--on-ink-text);
  margin-bottom: var(--space-4);
}
.site-footer .brand__logosvg {
  color: var(--on-ink-text);
  height: 30px;
}
.site-footer .brand__logosvg .logo-accent {
  fill: var(--on-ink-muted);
}
.footer-about {
  font-size: var(--text-sm);
  color: var(--on-ink-muted);
  max-width: 36ch;
}
.footer-col--badge {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.footer-tax-agent {
  display: block;
  width: 140px;
  height: auto;
  opacity: 0.95;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-ink-text);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--on-ink-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-accent);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--on-ink-border);
  font-size: var(--text-xs);
  color: var(--on-ink-muted);
}
.footer-bottom a {
  color: var(--on-ink-muted);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--color-accent);
}

/* ===================== REVEAL ANIM ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 940px) {
  .hero__grid,
  .split,
  .bio,
  .bio--reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .bio--reverse .bio__card {
    order: 0;
  }
  .bio--reverse .prose {
    order: 0;
  }
  .grid--3,
  .price-cards,
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__media {
    order: -1;
  }
  .bio__card {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.3s;
  }
  .nav__links.open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
  }
  .nav__link {
    padding: var(--space-3) var(--space-4);
  }
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .grid--3,
  .grid--2,
  .price-cards,
  .values,
  .stats,
  .steps {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-4);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero__badge {
    left: 0;
    bottom: -16px;
  }
  .price-table th,
  .price-table td {
    padding: var(--space-3) var(--space-4);
  }
}
