/* ======================================================
   JeromyK.com — Design Tokens & Component Styles
   Dark premium authority site. Teal/cyan accent.
   ====================================================== */

/* ── Fonts ── */
/* Cabinet Grotesk (display) + Satoshi (body) from Fontshare */

/* ── Type Scale ── */
:root {
  --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,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* 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.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transition */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Font families */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ── LIGHT MODE (Default) ── */
:root, [data-theme="light"] {
  --color-bg:             #ffffff;
  --color-surface:        #ffffff;
  --color-surface-2:      #f7f7f8;
  --color-surface-offset: #f0f2f5;
  --color-surface-dynamic: #e8eaed;
  --color-divider:        #e2e4e8;
  --color-border:         #d0d3d9;

  --color-text:           #1a1a1a;
  --color-text-muted:     #5c5e66;
  --color-text-faint:     #9a9ca4;
  --color-text-inverse:   #ffffff;

  /* Teal Accent — vibrant on light backgrounds */
  --color-accent:         #0a9e8f;
  --color-accent-hover:   #088577;
  --color-accent-active:  #066e63;
  --color-accent-muted:   rgba(10, 158, 143, 0.09);
  --color-accent-glow:    rgba(10, 158, 143, 0.04);

  /* Semantic */
  --color-error:          #dc2626;
  --color-success:        #16a34a;

  /* Shadows — subtle on light */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --color-bg:             #0a0a0b;
  --color-surface:        #111113;
  --color-surface-2:      #18181b;
  --color-surface-offset: #1c1c1f;
  --color-surface-dynamic: #222226;
  --color-divider:        #27272a;
  --color-border:         #303034;

  --color-text:           #e4e4e7;
  --color-text-muted:     #8b8b94;
  --color-text-faint:     #52525b;
  --color-text-inverse:   #0a0a0b;

  --color-accent:         #2dd4bf;
  --color-accent-hover:   #14b8a6;
  --color-accent-active:  #0d9488;
  --color-accent-muted:   rgba(45, 212, 191, 0.12);
  --color-accent-glow:    rgba(45, 212, 191, 0.06);

  --color-error:          #f87171;
  --color-success:        #4ade80;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

/* System preference fallback — if user prefers dark and no explicit theme is set */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #0a0a0b;
    --color-surface:        #111113;
    --color-surface-2:      #18181b;
    --color-surface-offset: #1c1c1f;
    --color-surface-dynamic: #222226;
    --color-divider:        #27272a;
    --color-border:         #303034;
    --color-text:           #e4e4e7;
    --color-text-muted:     #8b8b94;
    --color-text-faint:     #52525b;
    --color-text-inverse:   #0a0a0b;
    --color-accent:         #2dd4bf;
    --color-accent-hover:   #14b8a6;
    --color-accent-active:  #0d9488;
    --color-accent-muted:   rgba(45, 212, 191, 0.12);
    --color-accent-glow:    rgba(45, 212, 191, 0.06);
    --color-error:          #f87171;
    --color-success:        #4ade80;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  }
}

/* ── Logo Image ── */
.header__logo-img {
  height: 36px;
  width: auto;
}
[data-theme="dark"] .header__logo-img {
  filter: invert(1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .header__logo-img {
    filter: invert(1);
  }
}

/* ── Global Styles ── */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  color: var(--color-accent-hover);
}
a.btn--secondary {
  color: var(--color-text);
}
a.btn--ghost {
  color: var(--color-accent);
}

/* ── Container ── */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

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

/* ── Typography ── */
.font-display {
  font-family: var(--font-display);
}

.text-gradient {
  background: linear-gradient(135deg, #0a9e8f 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, #2dd4bf 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Header / Nav ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.header--hidden {
  transform: translateY(-100%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .header__inner { padding-inline: var(--space-8); }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}
.header__logo svg {
  width: 36px;
  height: 36px;
}
.header__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .header__nav { display: flex; }
}
.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
  position: relative;
}
.header__nav a:hover,
.header__nav a.active {
  color: var(--color-text);
}
.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-accent-muted);
}

/* Mobile menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: color-mix(in srgb, var(--color-bg) 97%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-20) var(--space-6) var(--space-6);
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}
.mobile-nav a:hover {
  color: var(--color-accent);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-interactive);
  white-space: nowrap;
  border: none;
}
.btn--primary {
  background: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(10, 158, 143, 0.25);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
}
.btn--ghost:hover {
  background: var(--color-accent-muted);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

/* ── Section Spacing ── */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.section--sm {
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: var(--space-8);
  }
}
.stat {
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── Card ── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: var(--space-6);
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ── Testimonial ── */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}
.testimonial__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  font-style: italic;
}
.testimonial__quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 0;
  position: relative;
  top: 12px;
  margin-right: 4px;
}
.testimonial__author {
  font-weight: 600;
  font-size: var(--text-sm);
}
.testimonial__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── Lead Magnet Section ── */
.lead-magnet {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  position: relative;
  overflow: hidden;
}
.lead-magnet::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 60%);
  pointer-events: none;
}
.lead-magnet__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 400px;
}
@media (min-width: 768px) {
  .lead-magnet__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
  }
}

/* ── Form Inputs ── */
.input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.input::placeholder {
  color: var(--color-text-faint);
}
.input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-muted);
}

textarea.input {
  resize: vertical;
  min-height: 120px;
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer__brand p {
  margin-top: var(--space-3);
  max-width: 32ch;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__heading {
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer__links a {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer__links a:hover {
  color: var(--color-accent);
}
.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__socials {
  display: flex;
  gap: var(--space-3);
}
.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.footer__socials a:hover {
  color: var(--color-accent);
  background: var(--color-accent-muted);
}

/* ── Blog Card ── */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.blog-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.blog-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-muted) 0%, transparent 60%);
}
.blog-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  line-height: 1.25;
}
.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-4);
}

/* ── Blog Post ── */
.prose {
  max-width: 65ch;
  margin-inline: auto;
  line-height: 1.75;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.prose p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}
.prose ul, .prose ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}
.prose li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}
.prose strong {
  color: var(--color-text);
  font-weight: 600;
}
.prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-4);
  margin-block: var(--space-6);
  font-style: italic;
  color: var(--color-text-muted);
}

/* ── Page Header ── */
.page-header {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
  text-align: left;
}
.page-header__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.page-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  max-width: 18ch;
  margin-bottom: var(--space-4);
}
.page-header__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition-interactive);
}
.service-card:hover {
  border-color: var(--color-accent);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.service-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.service-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-divider);
}
.timeline__item {
  position: relative;
  padding-bottom: var(--space-8);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 1px);
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
}
.timeline__year {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.timeline__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.calendar-placeholder {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-8);
}
.calendar-placeholder__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
}
.calendar-placeholder__text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ── Scroll Animations ── */
.fade-in { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes reveal-fade { to { opacity: 1; } }

/* ── Blog Grid ── */
.blog-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Misc ── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

/* Header CTA */
.header-cta {
  display: none;
}
@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
}
.skip-link:focus {
  top: var(--space-4);
}

/* Two-col asymmetric */
.two-col {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1.2fr 1fr; gap: var(--space-12); align-items: start; }
  .two-col--reversed { grid-template-columns: 1fr 1.2fr; }
}

/* Social proof logos strip */
.logo-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Highlight box */
.highlight-box {
  background: var(--color-accent-muted);
  border: 1px solid var(--color-accent-muted);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

/* CTA Banner */
.cta-banner {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  text-align: center;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.cta-banner__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 48ch;
  margin-inline: auto;
}

/* ── Light Mode Refinements ── */

/* Cards get subtle shadow on light for depth */
:root .card,
[data-theme="light"] .card {
  box-shadow: var(--shadow-sm);
}
:root .card:hover,
[data-theme="light"] .card:hover {
  box-shadow: var(--shadow-lg);
}

/* Testimonials get subtle shadow */
:root .testimonial,
[data-theme="light"] .testimonial {
  box-shadow: var(--shadow-sm);
}

/* Stats bar subtle shadow on light */
:root .stats-bar,
[data-theme="light"] .stats-bar {
  box-shadow: var(--shadow-sm);
  background: var(--color-surface-offset);
}

/* CTA banner light background treatment */
:root .cta-banner,
[data-theme="light"] .cta-banner {
  background: var(--color-surface-offset);
  box-shadow: var(--shadow-sm);
}

/* Lead magnet section light treatment */
:root .lead-magnet,
[data-theme="light"] .lead-magnet {
  background: linear-gradient(135deg, var(--color-surface-offset) 0%, var(--color-surface) 100%);
  box-shadow: var(--shadow-sm);
}

/* Service card shadow on light */
:root .service-card,
[data-theme="light"] .service-card {
  box-shadow: var(--shadow-sm);
}
:root .service-card:hover,
[data-theme="light"] .service-card:hover {
  box-shadow: var(--shadow-md);
}

/* Blog card shadow on light */
:root .blog-card,
[data-theme="light"] .blog-card {
  box-shadow: var(--shadow-sm);
}
:root .blog-card:hover,
[data-theme="light"] .blog-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Primary button keep dark text */
.btn--primary {
  color: #ffffff;
}
[data-theme="dark"] .btn--primary {
  color: #0a0a0b;
}
a.btn--primary,
a.btn--primary:hover {
  color: #ffffff;
}
[data-theme="dark"] a.btn--primary,
[data-theme="dark"] a.btn--primary:hover {
  color: #0a0a0b;
}

/* Hero section light mode glow */
:root .hero::before,
[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(10, 158, 143, 0.06) 0%, transparent 70%);
}
