/* ============================================================
   53rd & Water Group — style.css
   Authoritative, precise, minimal. High-end strategy consultancy.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --navy: #0d1b2a;
  --navy-900: #0a1420;
  --navy-700: #132a40;
  --gold: #c9a84c;
  --gold-soft: #d9be73;
  --cream: #f7f6f2;
  --ink: #28251d;
  --slate: #6b7280;
  --slate-soft: #9aa3af;
  --line: #e6e3db;
  --white: #ffffff;

  /* Semantic (light) */
  --bg: var(--cream);
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --text: var(--ink);
  --text-muted: var(--slate);
  --border: var(--line);
  --brand: var(--navy);
  --brand-contrast: #ffffff;
  --accent: var(--gold);

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;
  --text-hero: clamp(3rem, 8vw, 6.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Radius & shadow */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.04), 0 1px 3px rgba(13, 27, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(13, 27, 42, 0.08), 0 2px 6px rgba(13, 27, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(13, 27, 42, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;

  --container: 1200px;
}

[data-theme="dark"] {
  --bg: var(--navy-900);
  --bg-alt: #0e1a29;
  --surface: #0d1b2a;
  --text: #e8e6e1;
  --text-muted: #9aa3af;
  --border: #1b2a3d;
  --brand: var(--gold);
  --brand-contrast: var(--navy-900);
  --line: #1b2a3d;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
p {
  margin: 0;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .container {
    padding-inline: 1.75rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding-inline: 2.5rem;
  }
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-border: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease),
    background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-border: var(--navy);
}
[data-theme="dark"] .btn-primary {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-900);
  --btn-border: var(--gold);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--border);
}
.btn-ghost:hover {
  --btn-border: var(--text);
}
.btn-lg {
  padding: 1rem 1.5rem;
  font-size: var(--text-base);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(13, 27, 42, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
}
[data-theme="dark"] .brand {
  color: var(--cream);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--navy);
}
[data-theme="dark"] .brand-mark {
  color: var(--gold);
}
.brand-word {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-word-main {
  font-size: 1.05rem;
}
.brand-word-sub {
  font-size: 1.05rem;
  color: var(--slate);
  font-weight: 600;
}
[data-theme="dark"] .brand-word-sub {
  color: var(--slate-soft);
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.nav a {
  position: relative;
  padding: 0.25rem 0;
}
.nav a:hover {
  color: var(--text);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.nav a:hover::after {
  width: 100%;
}
@media (min-width: 900px) {
  .nav {
    display: inline-flex;
  }
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.header-cta {
  display: none;
}
@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.theme-toggle:hover {
  background: var(--bg-alt);
  border-color: var(--text-muted);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .icon-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  margin: 2.5px 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.mobile-nav a:last-child {
  border-bottom: 0;
  margin-top: 0.75rem;
  align-self: flex-start;
}
.mobile-nav.is-open {
  display: flex;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  padding: 7rem 0 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy-900);
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.55;
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 1) 45%,
    rgba(0, 0, 0, 1) 100%
  );
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at 30% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 75%
  );
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      60% 60% at 20% 40%,
      rgba(13, 27, 42, 0.2) 0%,
      rgba(13, 27, 42, 0.85) 100%
    ),
    linear-gradient(180deg, rgba(10, 20, 32, 0.2) 0%, rgba(10, 20, 32, 0.9) 100%);
}

.hero-inner {
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.75rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

.display {
  font-size: var(--text-hero);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.75rem;
  max-width: 15ch;
}
.display-line {
  display: block;
}
.accent-word {
  position: relative;
  display: inline-block;
}
.accent-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 6px;
  background: var(--gold);
  border-radius: 6px;
  transform-origin: left center;
  animation: underlineGrow 900ms var(--ease) 300ms both;
}
@keyframes underlineGrow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.lede {
  color: rgba(232, 230, 225, 0.82);
  font-size: var(--text-lg);
  max-width: 56ch;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}
.hero .btn-primary {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-900);
  --btn-border: var(--gold);
}
.hero .btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-border: rgba(247, 246, 242, 0.25);
}
.hero .btn-ghost:hover {
  --btn-border: var(--cream);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 640px;
  margin: 0;
}
@media (min-width: 640px) {
  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hero-meta dt {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 230, 225, 0.55);
  margin-bottom: 0.3rem;
}
.hero-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--cream);
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 0;
}
@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-head-center {
  margin-inline: auto;
  text-align: center;
}
.section-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--gold);
}
.section-kicker-light {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
[data-theme="dark"] .section-kicker {
  color: var(--gold);
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
}
.section-title-light {
  color: var(--cream);
}
.section-lede {
  color: var(--text-muted);
  font-size: var(--text-lg);
  margin-top: 1rem;
  max-width: 58ch;
}
.section-head-center .section-lede {
  margin-inline: auto;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.service-card {
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--navy) 30%, var(--border));
  box-shadow: var(--shadow-md);
}
.service-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 40%, var(--gold) 100%);
  opacity: 0.9;
}
[data-theme="dark"] .service-accent {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 40%, var(--navy) 100%);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--navy) 8%, transparent);
  color: var(--navy);
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .service-icon {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}
.service-icon svg {
  width: 22px;
  height: 22px;
}
.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- Impact ---------- */
.impact {
  background: var(--navy);
  color: var(--cream);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.8), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.8), transparent 70%);
  pointer-events: none;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem;
  margin-top: 3rem;
  position: relative;
}
@media (min-width: 1024px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
.stat {
  text-align: left;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 1024px) {
  .stat:first-child {
    border-left: 0;
    padding-left: 0;
  }
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.stat-label {
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 230, 225, 0.75);
}

/* ---------- Teams ---------- */
.teams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .teams-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team-tile {
  position: relative;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.team-tile:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}
[data-theme="dark"] .team-tile:hover {
  border-color: var(--gold);
}
.team-index {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: var(--slate);
}
.team-tile h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.35rem;
}
.team-tile p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }
}
.about-body {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 62ch;
}
.about-body + .about-body {
  margin-top: 1.25rem;
}

.credentials {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}
.credentials li {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--surface);
}

.about-visual {
  position: relative;
}
.quote-card {
  position: relative;
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem 2.25rem;
  overflow: hidden;
  isolation: isolate;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.quote-mark {
  position: absolute;
  top: -0.25rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
}
.quote-card figcaption {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: var(--text-sm);
}
.quote-name {
  font-weight: 600;
  color: var(--cream);
}
.quote-role {
  color: rgba(232, 230, 225, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--text-xs);
}
.quote-rings {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  z-index: -1;
  opacity: 0.15;
}
.quote-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.quote-rings span:nth-child(1) {
  inset: 30%;
}
.quote-rings span:nth-child(2) {
  inset: 15%;
}
.quote-rings span:nth-child(3) {
  inset: 0;
}

/* ---------- Engage ---------- */
.engage {
  background: var(--navy);
  color: var(--cream);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.engage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.8), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.8), transparent 75%);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
.step {
  position: relative;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1;
}
.step h3 {
  font-size: var(--text-2xl);
  margin-bottom: 0.75rem;
  color: var(--cream);
}
.step p {
  color: rgba(232, 230, 225, 0.75);
  font-size: 1rem;
  max-width: 42ch;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
  }
}
.contact-copy .btn {
  margin-top: 2rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
@media (min-width: 640px) {
  .contact-row {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}
.contact-label {
  flex: 0 0 120px;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-row a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.contact-row a:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
[data-theme="dark"] .contact-row a:hover {
  color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(232, 230, 225, 0.8);
  padding: 3rem 0 2.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--cream);
}
.footer-brand .brand-mark {
  color: var(--gold);
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
}
.footer-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.15rem;
}
.footer-meta {
  font-size: var(--text-sm);
  color: rgba(232, 230, 225, 0.55);
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- AI-Augmented Section ---------- */
.section-ai {
  padding: 6rem 0;
  background: #f7f6f2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .section-ai {
    padding: 8rem 0;
  }
}
[data-theme="dark"] .section-ai {
  background: var(--bg-alt);
}
.section-ai .section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section-ai .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.section-ai .section-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ai-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ai-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ai-card-label {
  color: #0d1b2a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
[data-theme="dark"] .ai-card-label {
  color: var(--gold);
}
.ai-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}
.ai-callout {
  background: #0d1b2a;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin-top: 2.5rem;
  text-align: center;
}
.ai-callout-text {
  color: #ffffff;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}

/* Footer domain link */
.footer-domain {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-left: 1.5rem;
  transition: color var(--transition-interactive);
}
.footer-domain:hover {
  color: var(--color-primary);
}
