/* ============================================================
   Neoform — Page layout
   One-pager structure: header, hero, content sections, footer,
   modal. Everything here is specific to this page; reusable UI
   pieces live in components.css.
   ============================================================ */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    backdrop-filter var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled {
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-subtle);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: 1.25rem;
  letter-spacing: -0.045em;
}
.wordmark .dot {
  color: var(--mint-500);
}
.wordmark,
.nav-link {
  color: var(--text-strong);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--text-body-sm);
}
.nav-link:hover {
  color: inherit;
  opacity: 0.75;
}

/* Hero */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--grad-fresh);
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0.5;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 148px var(--gutter) clamp(56px, 7vw, 96px);
}
.hero__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--mint-300);
}
.hero h1 {
  margin-top: 20px;
  max-width: 16ch;
  font-size: var(--text-display-1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  font-weight: var(--weight-black);
  color: var(--text-strong);
}
.hero__lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: var(--text-lead);
  line-height: var(--lh-snug);
  color: var(--text-body);
}
.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero__actions > span {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}
.hero__stats {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(12, 32, 28, 0.55);
}
.hero__stat strong {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: var(--text-h4);
  color: var(--text-strong);
  white-space: nowrap;
}
.hero__stat--mono strong {
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  color: var(--mint-400);
}
.hero__stat span {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: cue 2.6s var(--ease-out) infinite;
}

/* Hero comparison stage — "2015 → 2026" drag-to-wipe.
   Spec: design_handoff_hero_wipe/README.md — high fidelity. Sized entirely
   in container-query width units (cqw) so the whole mockup scales as one
   proportional unit at any viewport width. */
.version-demo {
  position: relative;
  padding: clamp(56px, 9vw, 108px) var(--gutter);
  background: var(--grad-fresh);
  overflow: hidden;
}
.version-demo__glow {
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0.5;
  pointer-events: none;
}
.version-demo__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.version-demo__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.version-demo__labels-eras {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--text-muted);
}
.version-demo__labels-rule {
  width: 48px;
  height: 1px;
  background: var(--border-strong);
}
.version-demo__labels-now {
  color: var(--mint-400);
}
.version-demo__labels-hint {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--text-muted);
}

.version-demo__stage {
  container-type: inline-size;
  position: relative;
  width: min(100%, 1040px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: #0c201c;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xl);
  user-select: none;
  touch-action: none;
}

.version-demo__new,
.version-demo__old {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.version-demo__old {
  will-change: clip-path;
}

/* 2026 layer — the current, on-brand mockup. Always fully painted;
   the 2015 layer sits on top of it, clipped to the wipe position. */
.version-demo__new {
  background: var(--grad-fresh);
  color: var(--text-strong);
  display: flex;
  flex-direction: column;
}
.version-demo__new-nav {
  display: flex;
  align-items: center;
  gap: 1.84cqw;
  padding: 1.97cqw 3.68cqw;
}
.version-demo__new-word {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(11px, 1.97cqw, 30px);
  letter-spacing: -0.045em;
}
.version-demo__new-dot {
  color: var(--mint-400);
}
.version-demo__new-links {
  margin-left: auto;
  display: inline-flex;
  gap: 2.37cqw;
  font-family: var(--font-body);
  font-size: clamp(8px, 1.32cqw, 20px);
  font-weight: var(--weight-medium);
  color: rgba(242, 251, 246, 0.66);
}
.version-demo__new-cta {
  display: inline-flex;
  align-items: center;
  background: var(--mint-400);
  color: var(--mint-900);
  font-family: var(--font-display);
  font-size: clamp(8px, 1.32cqw, 20px);
  font-weight: var(--weight-bold);
  padding: 0.86cqw 1.71cqw;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.version-demo__new-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.97cqw;
  padding: 0.66cqw 3.68cqw 1.97cqw;
  min-height: 0;
}
.version-demo__new-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.92cqw;
  font-family: var(--font-mono);
  font-size: clamp(7px, 1.05cqw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-300);
}
.version-demo__new-kicker span {
  width: 3.03cqw;
  height: 2px;
  background: var(--mint-400);
}
.version-demo__new-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 6.32cqw, 96px);
  font-weight: var(--weight-black);
  letter-spacing: -0.042em;
  line-height: 0.96;
  max-width: 77.6cqw;
}
.version-demo__new-lead {
  font-family: var(--font-body);
  font-size: clamp(9px, 1.64cqw, 25px);
  line-height: 1.55;
  color: rgba(242, 251, 246, 0.72);
  max-width: 46.05cqw;
}
.version-demo__new-actions {
  display: flex;
  align-items: center;
  gap: 1.71cqw;
  margin-top: 0.26cqw;
}
.version-demo__new-btn {
  display: inline-flex;
  align-items: center;
  background: var(--mint-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(8px, 1.45cqw, 22px);
  font-weight: var(--weight-bold);
  padding: 1.18cqw 2.37cqw;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.version-demo__new-hint {
  font-family: var(--font-body);
  font-size: clamp(7px, 1.25cqw, 19px);
  color: rgba(242, 251, 246, 0.5);
}
.version-demo__new-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.16cqw;
  margin-top: 1.97cqw;
  max-width: 77.6cqw;
}
.version-demo__new-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(8px, 1.58cqw, 24px);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--text-inverse);
}
.version-demo__new-stats span {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(6px, 1.18cqw, 18px);
  line-height: 1.45;
  color: rgba(242, 251, 246, 0.55);
  margin-top: 0.53cqw;
}

/* 2015 layer — deliberately period-correct and NOT a caricature: a
   flat, bootstrap-era design. Colours/fonts are hardcoded on purpose:
   it must NOT look like the current Neoform design system, so it
   skips styles/tokens.css. Clipped from the right to reveal --pos%. */
.version-demo__old {
  background: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
}
.version-demo__old-nav {
  display: flex;
  align-items: center;
  gap: 2.1cqw;
  padding: 1.32cqw 2.1cqw;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.version-demo__old-word {
  font-weight: 700;
  font-size: clamp(10px, 1.97cqw, 30px);
  color: #337ab7;
  letter-spacing: 0.02em;
}
.version-demo__old-word span {
  color: #777;
  font-weight: 400;
}
.version-demo__old-links {
  margin-left: auto;
  display: flex;
  gap: 1.84cqw;
  font-size: clamp(7px, 0.92cqw, 14px);
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.version-demo__old-links .is-active {
  color: #337ab7;
  border-bottom: 2px solid #337ab7;
  padding-bottom: 2px;
}
.version-demo__old-cta {
  padding: 0.79cqw 1.84cqw;
  border-radius: 4px;
  background: #337ab7;
  color: #fff;
  font-size: clamp(7px, 0.92cqw, 14px);
  white-space: nowrap;
}
.version-demo__old-jumbo {
  background: #e9e9e4;
  border-bottom: 1px solid #ddd;
  padding: clamp(10px, 3.16cqw, 40px) 2.1cqw;
  display: flex;
  flex-direction: column;
  gap: 1.32cqw;
  align-items: flex-start;
}
.version-demo__old-heading {
  font-size: clamp(13px, 3.03cqw, 46px);
  font-weight: 300;
  color: #333;
  max-width: 22ch;
}
.version-demo__old-lead {
  font-size: clamp(7px, 1.32cqw, 20px);
  line-height: 1.5;
  color: #777;
  max-width: 34ch;
}
.version-demo__old-actions {
  display: flex;
  align-items: center;
  gap: 1.32cqw;
  margin-top: 0.26cqw;
}
.version-demo__old-btn {
  padding: 1.05cqw 2.37cqw;
  border-radius: 4px;
  background: #5cb85c;
  color: #fff;
  font-size: clamp(7px, 0.95cqw, 14.5px);
}
.version-demo__old-btn--ghost {
  background: #fff;
  border: 1px solid #ccc;
  color: #555;
}
.version-demo__old-dots {
  display: flex;
  gap: 0.66cqw;
  margin-top: 0.53cqw;
}
.version-demo__old-dots span {
  width: 0.92cqw;
  height: 0.92cqw;
  min-width: 5px;
  min-height: 5px;
  border-radius: 999px;
  background: #c4c4c4;
}
.version-demo__old-dots .is-active {
  background: #337ab7;
}
.version-demo__old-features {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.84cqw;
  padding: clamp(8px, 2.6cqw, 32px) 2.1cqw;
  min-height: 0;
}
.version-demo__old-feature {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 1.58cqw;
  display: flex;
  flex-direction: column;
  gap: 0.79cqw;
  align-items: center;
  text-align: center;
}
.version-demo__old-feature-glyph {
  width: 4.47cqw;
  height: 4.47cqw;
  min-width: 22px;
  min-height: 22px;
  border-radius: 999px;
  background: #337ab7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(8px, 0.92cqw, 14px);
}
.version-demo__old-feature-title {
  font-size: clamp(7px, 1cqw, 15px);
  font-weight: 700;
  color: #333;
}
.version-demo__old-feature-sub {
  font-size: clamp(6px, 0.84cqw, 13px);
  color: #888;
  line-height: 1.45;
}
.version-demo__old-foot {
  background: #3a3a3a;
  color: #bbb;
  padding: 1.05cqw 2.1cqw;
  font-size: clamp(6px, 0.81cqw, 12px);
  display: flex;
  align-items: center;
  gap: 1.32cqw;
}
.version-demo__old-foot-email {
  color: #8ab4d8;
}
.version-demo__old-foot-icons {
  margin-left: auto;
  display: flex;
  gap: 0.79cqw;
}
.version-demo__old-foot-icons span {
  width: 2.1cqw;
  height: 2.1cqw;
  min-width: 12px;
  min-height: 12px;
  border-radius: 3px;
  background: #4a4a4a;
}
.version-demo__old-url {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Drag handle — 44px hit area; the visible 2px line is a background
   gradient on the hit area itself, needing no extra element. No CSS
   transition on left/clip-path: pos is written every RAF frame (idle
   drift) or pointermove (drag), and a transition would fight that. */
.version-demo__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 5;
  cursor: ew-resize;
  touch-action: none;
  background: linear-gradient(
    90deg,
    transparent 46%,
    var(--mint-500) 46%,
    var(--mint-500) 54%,
    transparent 54%
  );
}
.version-demo__handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--mint-500);
  box-shadow: var(--shadow-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04100d;
}
.version-demo__handle-knob .icon {
  font-size: 22px;
}

/* Below ~560px the inner 2026 grid collapses to one column — the
   wipe still reads without the three proof cards competing for space. */
@media (max-width: 560px) {
  .version-demo__new-stats {
    grid-template-columns: 1fr;
    gap: 1.2cqw;
  }
}

/* Cost-of-old-site comparison */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.compare__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-7);
  border-radius: var(--radius-xl);
}
.compare__col--bad {
  background: rgba(220, 74, 61, 0.05);
  border: 1px solid rgba(220, 74, 61, 0.18);
}
.compare__col--good {
  background: rgba(23, 180, 134, 0.07);
  border: 1px solid rgba(23, 180, 134, 0.22);
}
.compare__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.compare__item .icon {
  margin-top: 3px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.service-card {
  cursor: pointer;
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--surface-brand-soft);
  color: var(--mint-400);
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}
.service-card__icon .icon {
  font-size: 22px;
}
.service-card__title {
  font-size: var(--text-h3);
  margin-top: 16px;
}
.service-card__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition:
    grid-template-rows 400ms var(--ease-out),
    opacity 320ms var(--ease-out),
    margin-top 400ms var(--ease-out);
}
.service-card__body-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card__meta {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--text-muted);
}

.service-card:hover,
.service-card:focus-within,
.service-card.is-open {
  background: var(--surface-brand-soft);
}
.service-card:hover .service-card__icon,
.service-card:focus-within .service-card__icon,
.service-card.is-open .service-card__icon {
  background: var(--surface-brand);
  color: #fff;
}
.service-card:hover .service-card__body,
.service-card:focus-within .service-card__body,
.service-card.is-open .service-card__body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 16px;
}
.service-card.card--interactive:hover,
.service-card.card--interactive:focus-within {
  box-shadow:
    0 26px 60px -20px rgba(23, 180, 134, 0.45),
    0 0 0 1px rgba(23, 180, 134, 0.26);
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.work-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work-item__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.work-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work-item__title {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
}
.work-item__sub {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 2px solid var(--mint-500);
}
.process-step:nth-child(2) {
  border-top-color: rgba(23, 180, 134, 0.45);
}
.process-step:nth-child(3) {
  border-top-color: rgba(23, 180, 134, 0.3);
}
.process-step:nth-child(4) {
  border-top-color: rgba(23, 180, 134, 0.18);
}
.process-step__num {
  font-family: var(--font-mono);
  font-size: var(--text-body-lg);
  color: var(--mint-400);
}
.process-step h4 {
  font-size: var(--text-h4);
}
.process-step p {
  font-size: var(--text-body-sm);
  color: var(--text-body);
}
.process-step__meta {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--text-muted);
}

/* Contact CTA band — full-bleed ink gradient, single centred column */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) var(--gutter);
  background: var(--grad-ink);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-card__glow {
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: 0.7;
  pointer-events: none;
}
.cta-card__grid {
  position: relative;
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}
.cta-card__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.cta-card__copy h2 {
  font-size: var(--text-display-1);
  font-weight: var(--weight-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text-strong);
  text-wrap: balance;
}
.cta-card__copy p {
  max-width: 52ch;
  font-size: var(--text-lead);
  color: var(--text-body);
}
.cta-card__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.cta-card__side-label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--text-muted);
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 251, 246, 0.16);
  background: transparent;
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-body-sm);
  color: var(--text-strong);
  transition:
    border-color var(--dur-hover) var(--ease-out),
    color var(--dur-hover) var(--ease-out),
    transform var(--dur-hover) var(--ease-out);
}
.contact-link:hover {
  border-color: var(--mint-400);
  color: var(--mint-300);
  transform: translateY(-2px);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about-photo {
  width: 100%;
  max-width: 420px;
}
.about-photo picture,
.about-photo .photo-slot {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-copy .lead {
  font-size: var(--text-lead);
  line-height: var(--lh-snug);
  color: var(--text-strong);
}
.about-copy .body {
  max-width: 62ch;
  color: var(--text-body);
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: var(--grad-ink);
  padding: clamp(56px, 7vw, 88px) var(--gutter) 32px;
}
.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__brand .wordmark {
  font-size: 1.5rem;
  color: #f2fbf6;
}
.site-footer__brand p {
  max-width: 34ch;
  color: rgba(242, 251, 246, 0.62);
  font-size: var(--text-body-sm);
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__col a,
.site-footer__col span {
  color: rgba(242, 251, 246, 0.78);
  font-size: var(--text-body-sm);
}
.site-footer__bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.site-footer__bottom span {
  color: rgba(242, 251, 246, 0.45);
  font-size: var(--text-caption);
}

/* Modal */
.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 16, 13, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-scrim.is-open {
  display: flex;
  animation: fade 260ms var(--ease-out) both;
}
.modal {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: clamp(24px, 4vw, 40px);
  animation: pop 320ms var(--ease-out) both;
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal__head-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__head-text p {
  max-width: 44ch;
  font-size: var(--text-body-sm);
  color: var(--text-body);
}
.modal__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--surface-card);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background var(--dur-hover) var(--ease-out),
    color var(--dur-hover) var(--ease-out);
}
.modal__close:hover {
  background: var(--surface-sunken);
  color: var(--text-strong);
}

.modal__success {
  margin-top: 28px;
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-brand-soft);
  border: 1px solid rgba(23, 180, 134, 0.22);
  color: var(--text-body);
}
.modal.is-sent .modal__success {
  display: flex;
}
.modal.is-sent .modal__form {
  display: none;
}
.modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-brand);
  color: #fff;
}

.modal__form {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal__form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.modal__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
}
.modal__form-actions .hint {
  font-size: var(--text-caption);
  color: var(--text-muted);
}
.modal__form-error {
  font-size: var(--text-caption);
  color: var(--danger-500);
}

/* Responsive */
@media (max-width: 640px) {
  .site-nav .nav-link {
    display: none;
  }
  .hero__inner {
    padding-top: 120px;
  }

  /* Process stays a left-to-right list on mobile, scrolled instead of stacked */
  .process-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: calc(var(--gutter) + 12px);
    scroll-padding-right: var(--gutter);
    gap: 16px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 0 8px;
  }
  .process-step {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .process-step:first-child {
    margin-left: calc(var(--gutter) + 12px);
  }
  .process-step:last-child {
    margin-right: var(--gutter);
  }

  /* About: round photo floats top-left, the lead paragraph wraps
     around it instead of being squeezed into a rigid narrow column;
     the smaller body text, tags and actions clear below both */
  .about-grid {
    display: block;
  }
  .about-copy {
    display: contents;
  }
  .about-photo {
    float: left;
    width: 150px;
    max-width: 150px;
    margin: 0 16px 12px 0;
  }
  .about-photo picture,
  .about-photo .photo-slot {
    aspect-ratio: 1/1;
    border-radius: 50%;
  }
  .about-copy .body {
    clear: both;
    margin-top: var(--space-5);
    margin-bottom: var(--space-5);
  }
}
