/* ==========================================================================
   The Office Photographer — site styles
   Built on Airbnb Design System tokens (colors_and_type.css)
   ========================================================================== */

:root {
  --accent: #e91e63;
  --accent-deep: #92174d;
  --accent-purple: #3b0d6b;
  --page-bg: var(--color-canvas);
  --ink: var(--color-ink);
  --ash: var(--color-ash);
  --hairline: var(--color-hairline);
}

html, body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  letter-spacing: -0.01em;
}

body.dark {
  --page-bg: #0e0e0e;
  --ink: #f3f3f3;
  --ash: #a3a3a3;
  --hairline: #262626;
  --color-soft-cloud: #161616;
  --color-fog: #1a1a1a;
  --color-canvas: #0e0e0e;
}

body.dark .listing-card { background: #141414; }
body.dark .prog-card { background: #141414; border-color: #262626; }
body.dark .audience-card { background: #141414; border-color: #262626; }
body.dark .cta-secondary { background: transparent; color: var(--ink); border-color: #333; }
body.dark .footer-main { background: #0a0a0a; border-top-color: #262626; }
body.dark .process-step { background: #141414; border-color: #262626; }

* { box-sizing: border-box; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.shell { max-width: 1360px; margin: 0 auto; padding: 0 40px; }

@media (max-width: 720px) {
  .shell { padding: 0 20px; }
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--page-bg);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 168px;
}
.nav-brand img { height: 144px !important; }
@media (max-width: 720px) { .nav-brand img { height: 112px !important; } .nav { min-height: 128px; } }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
body.dark .nav-brand img { filter: none; }

.nav-links {
  display: flex;
  gap: 4px;
}
.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 120ms ease-out;
}
.nav-link:hover { background: var(--color-fog); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 120ms ease-out, transform 120ms ease-out;
}
.nav-cta:hover { background: var(--accent-deep); }
.nav-cta:active { transform: scale(0.96); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav { padding: 14px 20px; }
}

/* ============ HERO (viewfinder) ============ */
.hero {
  padding: 56px 40px 80px;
}
@media (max-width: 720px) {
  .hero { padding: 40px 20px 64px; }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: rec-pulse 1.6s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 20px;
  font-weight: 500;
  color: var(--ash);
  max-width: 52ch;
  line-height: 1.4;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.cta-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 120ms ease-out, transform 120ms ease-out;
}
.cta-primary:hover { background: var(--accent-deep); }
.cta-primary:active { transform: scale(0.96); }

.cta-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.cta-secondary:hover { border-color: var(--ink); }

/* ============ VIEWFINDER ============ */
.viewfinder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-card);
}

.vf-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.vf-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 700ms ease-in-out, transform 6s ease-out;
  transform: scale(1.02);
}
.vf-photo.on {
  opacity: 1;
  transform: scale(1.08);
}

/* rule-of-thirds grid */
.vf-grid {
  position: absolute;
  inset: 32px;
  pointer-events: none;
}
.vf-grid::before,
.vf-grid::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.25);
}
.vf-grid::before {
  left: 0; right: 0; top: 33.33%; height: 1px;
  box-shadow: 0 33.33% 0 0 rgba(255,255,255,0.25);
}
.vf-grid::after {
  top: 0; bottom: 0; left: 33.33%; width: 1px;
  box-shadow: 33.33% 0 0 0 rgba(255,255,255,0.25);
}

/* corner crop marks */
.vf-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid #fff;
  mix-blend-mode: screen;
}
.vf-corner.tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.vf-corner.tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.vf-corner.bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.vf-corner.br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

/* center focus reticle */
.vf-reticle {
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  transform: translate(-50%, -50%);
  border: 1.5px solid #fff;
  border-radius: 2px;
  mix-blend-mode: screen;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.vf-reticle::before,
.vf-reticle::after {
  content: "";
  position: absolute;
  background: #fff;
}
.vf-reticle::before {
  top: 50%; left: -6px; right: -6px; height: 1px;
  transform: translateY(-50%);
}
.vf-reticle::after {
  left: 50%; top: -6px; bottom: -6px; width: 1px;
  transform: translateX(-50%);
}

/* HUD bars */
.vf-hud-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.vf-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.4);
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.vf-rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff3b30;
  animation: rec-pulse 1.2s ease-in-out infinite;
}
.vf-hud-tag {
  background: rgba(0,0,0,0.4);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.vf-hud-bot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #fff;
  gap: 16px;
}
.vf-shot-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.018em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  line-height: 1.1;
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}
.vf-shot-name small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
  color: #fff;
}
.vf-meta {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  background: rgba(0,0,0,0.4);
  padding: 10px 14px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.vf-meta-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.vf-meta-row span + span { opacity: 0.7; }

/* Battery/progress strip */
.vf-timeline {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 82px;
  height: 2px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  overflow: hidden;
}
.vf-timeline-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 90ms linear;
}

/* subtle scanline texture */
.vf-scan {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
}

@media (max-width: 720px) {
  .vf-hud-top { padding: 12px 14px; font-size: 10px; }
  .vf-hud-bot { padding: 12px 14px; }
  .vf-shot-name { font-size: 18px; }
  .vf-shot-name small { font-size: 10px; }
  .vf-meta { font-size: 9px; padding: 8px 10px; }
  .vf-corner { width: 14px; height: 14px; }
  .vf-timeline { bottom: 62px; }
}

/* ============ SECTION TITLING ============ */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
}
.section-desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--ash);
  max-width: 50ch;
  line-height: 1.45;
  margin: 0;
  text-wrap: pretty;
}

/* ============ AUDIENCES ============ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  transition: transform 180ms ease-out, border-color 180ms ease-out;
  position: relative;
  overflow: hidden;
  background: var(--page-bg);
}
.audience-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.audience-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
  margin-bottom: 20px;
}
.audience-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 8px;
}
.audience-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--ash);
  line-height: 1.45;
  margin: 0 0 20px;
}
.audience-spec {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}

/* ============ MILESTONE PROGRAM ============ */
.milestone {
  background: var(--color-soft-cloud);
  border-radius: 20px;
  padding: 56px 48px;
  margin-top: 24px;
}
.milestone-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}
.milestone-track::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 6%; right: 6%;
  height: 2px;
  background: var(--hairline);
}
.milestone-stop {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.milestone-dot {
  width: 14px; height: 14px;
  background: var(--page-bg);
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin: 20px auto 14px;
  position: relative;
}
.milestone-stop.key .milestone-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}
.milestone-stop.key .milestone-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}
.milestone-when {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
}
.milestone-what {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.milestone-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--ash);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 780px) {
  .milestone { padding: 32px 20px; }
  .milestone-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .milestone-track::before { display: none; }
  .milestone-stop { text-align: left; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
  .milestone-dot { margin: 4px 0 0; }
}

/* ============ PROGRAMS (listing card style) ============ */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .prog-grid { grid-template-columns: 1fr; } }

.prog-card {
  background: var(--page-bg);
  cursor: pointer;
  transition: transform 180ms ease-out;
}
.prog-card:hover { transform: translateY(-4px); }
.prog-card:hover .prog-image::after { opacity: 1; }

.prog-image {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #ddd;
  background-size: cover;
  background-position: center;
}
.prog-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
  opacity: 0.6;
  transition: opacity 180ms ease-out;
}
.prog-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.prog-favorite {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.prog-meta {
  padding: 14px 2px 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.prog-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.prog-coverage {
  font-size: 14px;
  font-weight: 500;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
}
.prog-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--ash);
  line-height: 1.4;
  margin: 2px 2px 12px;
  max-width: 42ch;
}
.prog-specs {
  padding: 0 2px;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 6px;
}
.prog-specs li {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.prog-specs li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 8px;
  flex-shrink: 0;
}
body.dark .prog-specs li::before { background: var(--ink); }
.prog-spec-label {
  color: var(--ash);
  min-width: 96px;
  font-weight: 500;
}
.prog-cta {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  display: inline-block;
  padding: 0 0 2px;
  letter-spacing: -0.005em;
}

/* ============ BEFORE/AFTER ============ */
.ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .ba-wrap { grid-template-columns: 1fr; } }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #222;
  user-select: none;
  touch-action: none;
}
.ba-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-layer.after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  box-shadow: 0 0 14px rgba(0,0,0,0.3);
  cursor: ew-resize;
}
.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.ba-label {
  position: absolute;
  top: 16px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; }

/* ============ DELIVERABLES TICKER ============ */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  padding: 28px 0;
  background: var(--color-soft-cloud);
  margin: 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  width: max-content;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker-item::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--page-bg);
  position: relative;
  min-height: 220px;
}
.process-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 20px;
}
.process-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.process-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--ash);
  line-height: 1.45;
  margin: 0;
}

/* ============ LICENSING ============ */
.lic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 900px) { .lic-grid { grid-template-columns: 1fr; } }

.lic-col {
  padding: 36px 32px;
  border-right: 1px solid var(--hairline);
}
.lic-col:last-child { border-right: none; }
@media (max-width: 900px) {
  .lic-col { border-right: none; border-bottom: 1px solid var(--hairline); }
  .lic-col:last-child { border-bottom: none; }
}

.lic-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.lic-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.lic-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--ash);
  line-height: 1.5;
  margin: 0;
}

/* ============ CONTACT ============ */
.contact {
  text-align: center;
  padding: 128px 0;
}
.contact .hero-title { margin-inline: auto; }
.contact-sub { margin-inline: auto; }
.contact-detail {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-detail a {
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 4px;
}
.contact-detail a:hover { border-color: var(--ink); }
.contact-tagline {
  margin-top: 64px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ash);
  font-style: italic;
}

/* Contact form */
.contact-form {
  margin: 56px auto 0;
  max-width: 760px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .cf-row { grid-template-columns: 1fr; gap: 14px; } }

.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-field-full { grid-column: 1 / -1; }
.cf-field > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ash);
}
.cf-field > span em {
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ash);
  opacity: 0.7;
}
.cf-field input,
.cf-field textarea {
  appearance: none;
  border: 1px solid var(--hairline);
  background: var(--page-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 14px 16px;
  border-radius: 10px;
  outline: none;
  resize: vertical;
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}
body.dark .cf-field input,
body.dark .cf-field textarea { background: #141414; border-color: #2a2a2a; }
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--ash); opacity: 0.7; }

.cf-seg {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cf-seg-btn {
  appearance: none;
  border: 1px solid var(--hairline);
  background: var(--page-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 120ms ease-out;
}
.cf-seg-btn:hover { border-color: var(--ink); }
.cf-seg-btn.on {
  background: var(--ink);
  color: var(--page-bg);
  border-color: var(--ink);
}

.cf-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cf-actions .cta-primary:disabled { opacity: 0.6; cursor: wait; }
.cf-fineprint {
  font-size: 13px;
  color: var(--ash);
  font-weight: 500;
}
.cf-fineprint a { border-bottom: 1px solid var(--hairline); padding-bottom: 1px; }
.cf-fineprint a:hover { border-color: var(--ink); }

.contact-form-sent {
  align-items: center;
  text-align: center;
  padding: 56px 24px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--color-soft-cloud);
}
.contact-form-sent .contact-form-mark {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin-bottom: 20px;
}
.contact-form-sent h3 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px;
}
.contact-form-sent p {
  font-size: 15px; color: var(--ash); max-width: 52ch; margin: 0 0 24px;
}
.contact-form-sent p a { color: var(--ink); border-bottom: 1px solid var(--hairline); }

/* ============ FOOTER ============ */
.footer-main {
  background: var(--color-soft-cloud);
  border-top: 1px solid var(--hairline);
  padding: 48px 40px 32px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1360px;
  margin: 0 auto;
}
.footer-brand { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-brand img { height: 64px !important; width: auto !important; max-width: none; }
.footer-brand small { display: block; font-weight: 500; color: var(--ash); }
.footer-legal {
  font-size: 13px;
  color: var(--ash);
  font-weight: 500;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
}
.footer-links a:hover { text-decoration: underline; }

/* ============ UTIL ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.stat {
  font-variant-numeric: tabular-nums;
}
.stat-num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ash);
  line-height: 1.35;
  max-width: 22ch;
}
