/* ==========================================================================
   Everyone Better Agency — Design Tokens & Component Styles
   Concept: Miami performance-marketing energy + data-driven agency credibility.
   Dark cool navy/charcoal base, one vibrant coral-sunset accent used sparingly.
   ========================================================================== */

/* ---- Fonts ---- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@400,500,600,700&f[]=satoshi@400,500,600,700,900&display=swap');

: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, 5rem);
  --text-hero: clamp(2.75rem, 1rem + 6vw, 6.5rem);

  /* Spacing — 4px system */
  --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: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

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

  /* Fonts */
  --font-display: 'Clash Grotesk', 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

/* ---- Color: Dark is the default/primary mode for this brand ---- */
:root,
[data-theme='dark'] {
  /* Surfaces — deep navy/charcoal, Miami dusk */
  --color-bg: #0e1a24;
  --color-surface: #142530;
  --color-surface-2: #182b37;
  --color-surface-offset: #0b1620;
  --color-surface-offset-2: #1c323f;
  --color-surface-dynamic: #223b48;
  --color-divider: oklch(0.9 0.01 220 / 0.1);
  --color-border: oklch(0.9 0.01 220 / 0.14);

  /* Text */
  --color-text: #eef3f5;
  --color-text-muted: #9fb3bd;
  --color-text-faint: #647d89;
  --color-text-inverse: #0e1a24;

  /* Primary accent — coral / sunset orange */
  --color-primary: #ff5a36;
  --color-primary-hover: #ff7355;
  --color-primary-active: #e8471f;
  --color-primary-highlight: #3a2620;

  /* Secondary data-viz hues (used sparingly, for stat variety only) */
  --color-teal: #3ecf9e;
  --color-teal-highlight: #16332b;
  --color-gold: #f2b544;
  --color-gold-highlight: #3a2f18;
  --color-blue: #5b9fd6;
  --color-blue-highlight: #1c2e3e;

  --color-success: #3ecf9e;
  --color-warning: #f2b544;
  --color-error: #ff6b6b;

  /* Shadows — tone-matched to navy surfaces */
  --shadow-sm: 0 1px 2px oklch(0.05 0.02 240 / 0.4);
  --shadow-md: 0 4px 16px oklch(0.05 0.02 240 / 0.45);
  --shadow-lg: 0 16px 40px oklch(0.03 0.02 240 / 0.55);
  --shadow-glow: 0 0 40px oklch(0.65 0.19 35 / 0.25);
}

/* ---- Light mode (secondary, toggle-accessible) ---- */
[data-theme='light'] {
  --color-bg: #f6f4f1;
  --color-surface: #ffffff;
  --color-surface-2: #fbfaf8;
  --color-surface-offset: #edeae4;
  --color-surface-offset-2: #e5e1d9;
  --color-surface-dynamic: #dcd7cd;
  --color-divider: oklch(0.2 0.02 240 / 0.1);
  --color-border: oklch(0.2 0.02 240 / 0.14);

  --color-text: #101d26;
  --color-text-muted: #506170;
  --color-text-faint: #8a97a0;
  --color-text-inverse: #f6f4f1;

  --color-primary: #e8471f;
  --color-primary-hover: #ff5a36;
  --color-primary-active: #c93a16;
  --color-primary-highlight: #ffe1d6;

  --color-teal: #0f8f68;
  --color-teal-highlight: #d7f0e6;
  --color-gold: #b3800c;
  --color-gold-highlight: #f6e6c2;
  --color-blue: #2a6fa8;
  --color-blue-highlight: #d9e8f4;

  --color-success: #0f8f68;
  --color-warning: #b3800c;
  --color-error: #d43f3f;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 240 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.2 0.02 240 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 240 / 0.14);
  --shadow-glow: 0 0 40px oklch(0.6 0.18 35 / 0.18);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #f6f4f1;
    --color-surface: #ffffff;
    --color-surface-2: #fbfaf8;
    --color-surface-offset: #edeae4;
    --color-surface-offset-2: #e5e1d9;
    --color-surface-dynamic: #dcd7cd;
    --color-divider: oklch(0.2 0.02 240 / 0.1);
    --color-border: oklch(0.2 0.02 240 / 0.14);
    --color-text: #101d26;
    --color-text-muted: #506170;
    --color-text-faint: #8a97a0;
    --color-text-inverse: #f6f4f1;
    --color-primary: #e8471f;
    --color-primary-hover: #ff5a36;
    --color-primary-active: #c93a16;
    --color-primary-highlight: #ffe1d6;
    --color-teal: #0f8f68;
    --color-teal-highlight: #d7f0e6;
    --color-gold: #b3800c;
    --color-gold-highlight: #f6e6c2;
    --color-blue: #2a6fa8;
    --color-blue-highlight: #d9e8f4;
    --color-success: #0f8f68;
    --color-warning: #b3800c;
    --color-error: #d43f3f;
    --shadow-sm: 0 1px 2px oklch(0.2 0.02 240 / 0.08);
    --shadow-md: 0 4px 16px oklch(0.2 0.02 240 / 0.1);
    --shadow-lg: 0 16px 40px oklch(0.2 0.02 240 / 0.14);
    --shadow-glow: 0 0 40px oklch(0.6 0.18 35 / 0.18);
  }
}

/* ==========================================================================
   Base typography
   ========================================================================== */

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

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

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--default {
  max-width: var(--content-default);
}
.container--narrow {
  max-width: var(--content-narrow);
}

main {
  overflow-x: clip;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: var(--space-2);
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
}
.skip-link:focus {
  left: var(--space-2);
}

/* ==========================================================================
   Header
   ========================================================================== */

.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 var(--color-divider);
}

.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);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  white-space: nowrap;
}
.brand__logo {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__links {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
}
.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--color-text);
}
.nav__links a[aria-current='page'] {
  color: var(--color-text);
}
.nav__links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}
.nav__links li.nav__cta-item {
  display: none;
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--color-text);
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: calc(var(--space-16) + var(--space-6)) var(--space-6) var(--space-8);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--color-divider);
  }
  .nav__links[data-open='true'] {
    transform: translateX(0);
  }
  .nav__links a {
    width: 100%;
    padding: var(--space-3) 0;
    font-size: var(--text-lg);
    border-bottom: 1px solid var(--color-divider);
  }
  .nav__toggle {
    display: grid;
  }
  .nav__actions .btn {
    display: none;
  }
  .nav__links li.nav__cta-item {
    display: block;
    margin-top: var(--space-4);
  }
  .nav__links li.nav__cta-item a {
    width: 100%;
    text-align: center;
    border-bottom: none;
  }
  .nav__scrim {
    position: fixed;
    inset: 0;
    background: oklch(0.05 0.02 240 / 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    z-index: 90;
  }
  .nav__scrim[data-open='true'] {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==========================================================================
   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-full);
  text-decoration: none;
  min-height: 44px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 24px oklch(0.65 0.19 35 / 0.28);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn--primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--color-surface-2);
  border-color: var(--color-text-faint);
}
.btn--block {
  width: 100%;
}
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

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

.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 12vw, var(--space-32)) clamp(var(--space-12), 8vw, var(--space-20));
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(from var(--color-bg) l c h / 0.55) 0%, var(--color-bg) 92%);
}
[data-theme='light'] .hero__bg img {
  opacity: 0.22;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.hero--page .hero__content {
  max-width: 52rem;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 600;
  margin-top: var(--space-5);
  color: var(--color-text);
}
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}
.hero--page .hero__title {
  font-size: var(--text-3xl);
}

.hero__lede {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 44ch;
}

.hero__actions {
  margin-top: var(--space-8);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}
.hero__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ==========================================================================
   Proof strip / stat callouts
   ========================================================================== */

.proof-strip {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 980px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2) 0 0;
  border-top: 1px solid var(--color-divider);
}
.stat-card__figure {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}
.stat-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.stat-card__source {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: normal;
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.section-head__title {
  font-size: var(--text-2xl);
  margin-top: var(--space-4);
  font-weight: 600;
}
.section-head--wide {
  max-width: 60rem;
}

/* ==========================================================================
   Service cards (asymmetric, avoids the 3-col AI grid)
   ========================================================================== */

.service-list {
  display: grid;
  gap: var(--space-6);
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.service-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.service-card:nth-child(even) .service-card__media {
  order: -1;
}

.service-card__index {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
}
.service-card__title {
  font-size: var(--text-xl);
  margin-top: var(--space-2);
  font-weight: 600;
}
.service-card__hook {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.service-card__link {
  margin-top: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
}
.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-interactive);
}
.service-card__link:hover svg {
  transform: translateX(3px);
}

.service-card__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface-offset);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .service-card,
  .service-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .service-card:nth-child(even) .service-card__media {
    order: 0;
  }
  .service-card__media {
    aspect-ratio: 16/9;
  }
}

/* ==========================================================================
   Why us — data callout section
   ========================================================================== */

.why-us {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.why-us__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-16);
  align-items: start;
}
@media (max-width: 860px) {
  .why-us__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}
.why-us__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.why-us__item {
  display: flex;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.why-us__item:first-child {
  border-top: none;
  padding-top: 0;
}
.why-us__num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  flex-shrink: 0;
  width: 2.5ch;
}
.why-us__item h3 {
  font-size: var(--text-base);
  font-weight: 700;
}
.why-us__item p {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Pricing tables
   ========================================================================== */

.pricing-group {
  margin-bottom: clamp(var(--space-16), 8vw, var(--space-24));
}
.pricing-group__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.pricing-group__title {
  font-size: var(--text-xl);
  font-weight: 600;
}
.pricing-group__roi {
  max-width: 40ch;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.tier-grid[data-count='2'] {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .tier-grid,
  .tier-grid[data-count='2'] {
    grid-template-columns: 1fr;
  }
}

.tier-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
}
.tier-card[data-featured='true'] {
  border-color: oklch(from var(--color-primary) l c h / 0.5);
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  box-shadow: var(--shadow-md);
}
.tier-card__badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.tier-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.tier-card__price {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}
.tier-card__price span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-faint);
  font-family: var(--font-body);
}
.tier-card__desc {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  min-height: 2lh;
}
.tier-card__list {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.tier-card__list li {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
  align-items: flex-start;
}
.tier-card__list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-teal);
}
.tier-card__list li.is-muted {
  color: var(--color-text-faint);
}
.tier-card__cta {
  margin-top: var(--space-8);
}

/* ==========================================================================
   Testimonial / pull quote
   ========================================================================== */

.pull-quote {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-8);
  max-width: 50rem;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
}
.pull-quote footer {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   About page specifics
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}
.about-grid__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.about-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-copy p + p {
  margin-top: var(--space-4);
}
.about-copy p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 60ch;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
@media (max-width: 760px) {
  .values-list {
    grid-template-columns: 1fr;
  }
}
.values-list > div {
  border-top: 2px solid var(--color-primary);
  padding-top: var(--space-5);
}
.values-list h3 {
  font-size: var(--text-lg);
  font-weight: 700;
}
.values-list p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-16);
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

.contact-info__item {
  padding-top: var(--space-5);
  margin-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.contact-info__item:first-child {
  margin-top: 0;
}
.contact-info__item h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  font-weight: 700;
}
.contact-info__item p,
.contact-info__item a {
  margin-top: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-text);
}
.contact-info__item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.field input,
.field select,
.field textarea {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: 44px;
  width: 100%;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.form-status {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  display: none;
}
.form-status[data-state='success'] {
  display: block;
  background: var(--color-teal-highlight);
  color: var(--color-teal);
}
.form-status[data-state='error'] {
  display: block;
  background: oklch(from var(--color-error) l c h / 0.15);
  color: var(--color-error);
}

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

.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  background: linear-gradient(135deg, var(--color-surface-offset-2) 0%, var(--color-surface-offset) 100%);
  border: 1px solid var(--color-border);
  overflow: clip;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, oklch(from var(--color-primary) l c h / 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  max-width: 30ch;
}
.cta-band p {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  max-width: 44ch;
}

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

.footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
  padding-block: var(--space-16) var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-10);
}
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
}
.footer__brand svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}
.footer__tagline {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 32ch;
}
.footer h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--color-text);
}
.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ==========================================================================
   Misc utilities
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
}
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.note-callout {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-left: none;
  background: var(--color-surface-offset-2);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  max-width: 60rem;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
