/* Finn Cowan, videographer. Hand written, no framework.
   Look: Runway's cinematic discipline (one typeface, tight display type,
   uppercase micro labels, almost no shadow) in forest green and white.
   signals.css is linked after this file. */

:root {
  --forest-950: #0b1d13;
  --forest-900: #0f2619;
  --forest-800: #143020;
  --forest-700: #1a3d29;
  --forest-600: #235237;
  --forest-500: #2f6a48;
  --mint: #8fd9a8;
  --paper: #f4f6f1;
  --paper-2: #e7ece3;
  --ink: #0f2619;
  --ink-soft: rgba(15, 38, 25, 0.66);
  --text: #f3f6f1;
  --muted: rgba(243, 246, 241, 0.64);
  --faint: rgba(243, 246, 241, 0.52);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.26);
  --line-ink: rgba(15, 38, 25, 0.12);
  --rec: #ff4a3d;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--forest-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--mint); color: var(--forest-950); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* type */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.on-paper .eyebrow { color: var(--forest-500); }
.display {
  font-size: clamp(40px, 7.2vw, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h3 { font-size: 22px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.on-paper .lead { color: var(--ink-soft); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.btn-primary { background: #fff; color: var(--forest-900); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-dark { background: var(--forest-900); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--mint); }
  .btn-ghost:hover { border-color: #fff; }
  .btn-dark:hover { background: var(--forest-600); }
}
.btn:focus-visible, .link-arrow:focus-visible, .nav a:focus-visible, .seg input:focus-visible + span {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.on-paper .btn:focus-visible, .on-paper .link-arrow:focus-visible { outline-color: var(--forest-600); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.link-arrow span { transition: transform 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover span { transform: translateX(3px); } }

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: color-mix(in srgb, var(--forest-950) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; min-height: 44px; }
.brand img { width: 44px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: var(--muted); padding: 10px 0; transition: color 150ms var(--ease-out); }
.nav a[aria-current="page"], .nav a:hover { color: #fff; }
.sig-nav a::after { background: var(--mint) !important; }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .nav, .header-cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong);
    background: transparent; cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    display: block; width: 18px; height: 1.5px; background: #fff; position: relative; content: "";
    transition: transform 220ms var(--ease-out), opacity 150ms var(--ease-out);
  }
  .menu-btn span::before { position: absolute; top: -6px; }
  .menu-btn span::after { position: absolute; top: 6px; }
  .menu-open .menu-btn span { background: transparent; }
  .menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-open .site-header { background: var(--forest-950); }
}
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--forest-950);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mobile-menu a:not(.btn) { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--mint); }
.mobile-menu .btn { margin-top: 24px; }

/* hero: text on the left, his own photo on the right as the camera's screen */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: radial-gradient(90% 90% at 75% 40%, var(--forest-700) 0%, var(--forest-900) 55%, var(--forest-950) 100%);
  overflow: hidden;
  isolation: isolate;
}
.topo { position: absolute; inset: 0; z-index: -2; background: url("../img/topo.svg") center / cover no-repeat; opacity: 0.07; pointer-events: none; }
.on-paper .topo, .topo.dark { opacity: 0.08; filter: invert(1); }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; image-rendering: pixelated; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-inner { position: relative; display: grid; justify-items: start; gap: 24px; }
.hero .display { font-size: clamp(42px, 5.8vw, 82px); }
.hero .lead { color: rgba(243, 246, 241, 0.78); max-width: 46ch; }
.hero .hero-actions { justify-content: flex-start; }

.hero-shot {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--header-h) - 120px);
  justify-self: end;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--forest-800);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  outline: 1px solid var(--line);
}
.hero-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: blur(14px) saturate(0.75);
  transform: scale(1.1);
  transition: filter 1400ms var(--ease-out) 150ms, transform 18s cubic-bezier(0.22, 0.61, 0.36, 1) 150ms;
}
.is-loaded .hero-shot img { filter: blur(0) saturate(0.95); transform: scale(1.01); }
.hero-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 29, 19, 0.45) 0%, rgba(11, 29, 19, 0) 18%, rgba(11, 29, 19, 0) 78%, rgba(11, 29, 19, 0.55) 100%); pointer-events: none; }

.vf { position: absolute; inset: 14px; z-index: 2; pointer-events: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.82); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.vf-corner { position: absolute; width: 24px; height: 24px; border-color: rgba(255, 255, 255, 0.75); border-style: solid; border-width: 0; }
.vf-corner.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-corner.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-rec { position: absolute; top: 12px; left: 36px; display: flex; align-items: center; gap: 7px; color: #fff; }
.vf-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: rec 1.2s steps(1, end) infinite; }
@keyframes rec { 50% { opacity: 0.15; } }
.vf-tc { position: absolute; top: 12px; right: 36px; color: #fff; font-variant-numeric: tabular-nums; }
.vf-fmt { position: absolute; bottom: 12px; left: 36px; }
.vf-batt { position: absolute; bottom: 12px; right: 36px; display: flex; align-items: center; gap: 7px; }
.vf-batt b { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid rgba(255,255,255,0.6); border-radius: 3px; }
.vf-batt b i { width: 4px; height: 7px; background: rgba(255,255,255,0.85); border-radius: 1px; }
/* face-detect box: hunts, then locks on his face and turns mint */
.vf-afbox {
  position: absolute; left: 51%; top: 21%; width: 24%; height: 19%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  opacity: 0; transform: scale(1.5);
  transition: transform 520ms var(--ease-out) 1100ms, opacity 200ms var(--ease-out) 1100ms, border-color 200ms var(--ease-out) 1650ms;
}
.is-loaded .vf-afbox { opacity: 1; transform: none; border-color: var(--mint); }
.vf-af { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); color: var(--mint); opacity: 0; white-space: nowrap; transition: opacity 300ms var(--ease-out) 1750ms; }
.is-loaded .vf-af { opacity: 1; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 16px); padding-bottom: 64px; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-shot { order: -1; justify-self: stretch; aspect-ratio: 4 / 4.2; max-height: 44svh; }
  .hero-shot img { object-position: 50% 22%; }
  .vf-afbox { top: 18%; height: 21%; }
}
@media (max-width: 420px) { .vf-fmt, .vf-batt { display: none; } .vf-af { font-size: 10px; } }

.display em { font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.photo-frame.square { aspect-ratio: 1; }

/* sections */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.on-paper { background: var(--paper); color: var(--ink); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-ink); display: grid; gap: 14px; align-content: start; }
.step-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--forest-500); }
.step p { color: var(--ink-soft); }

/* package controls */
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: clamp(32px, 5vw, 48px); }
.seg {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--forest-950);
  border: 1px solid var(--line);
  margin: 0;
  min-width: 0;
}
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; z-index: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--muted);
  transition: color 150ms var(--ease-out);
}
.seg input:checked + span { color: var(--forest-900); }
.seg-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / var(--n, 2));
  border-radius: 999px; background: #fff;
  transform: translateX(calc(100% * var(--i, 0)));
  transition: transform 280ms var(--ease-in-out);
}
.seg[hidden] { display: none; }
@media (max-width: 480px) { .seg span { padding: 0 14px; font-size: 13px; } }

/* package cards */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); align-items: center; }
@media (max-width: 920px) { .packages { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.pkg {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  background: var(--forest-800);
  border: 1px solid var(--line);
  color: var(--text);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 150ms var(--ease-out);
}
.packages.has-feature .pkg:not(.is-feature) { opacity: 0.86; }
.pkg.is-feature {
  background: linear-gradient(180deg, var(--forest-600) 0%, var(--forest-800) 78%);
  border-color: rgba(143, 217, 168, 0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 2px 4px rgba(0,0,0,0.25), 0 28px 60px -24px rgba(0,0,0,0.6), 0 0 0 1px rgba(143,217,168,0.12);
  transform: scale(1.04);
  z-index: 1;
}
@media (max-width: 920px) { .pkg.is-feature { transform: none; } }
.pkg-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--mint); color: var(--forest-950);
}
.pkg-art { height: 150px; display: grid; place-items: center; margin: -6px 0 2px; }
.pkg-art svg { width: 100%; height: 100%; overflow: visible; }
.pkg-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.pkg-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.price { font-size: clamp(44px, 4.6vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); margin-left: 2px; }
.was { font-size: 18px; color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.save {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  color: var(--mint); background: rgba(143, 217, 168, 0.12); border: 1px solid rgba(143, 217, 168, 0.28);
}
.save.is-empty { visibility: hidden; }
.pkg-list { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.pkg-list li { display: flex; gap: 10px; align-items: flex-start; }
.pkg-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--mint); }
.pkg .btn { width: 100%; }
.pkg-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.swap-out { opacity: 0; transform: translateY(4px); }
.swap-in { transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); }
.pkg-note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--muted); }

/* terms */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } }
.term { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-ink); background: #fff; display: grid; gap: 10px; align-content: start; }
.term p { color: var(--ink-soft); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.photo-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo-frame .vf-corner { border-color: rgba(255,255,255,0.85); margin: 16px; }
.photo-tag { position: absolute; left: 18px; bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(11, 29, 19, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.about-copy { display: grid; gap: 20px; align-content: center; }
.about-copy p { font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.dark .about-copy p { color: var(--muted); }

/* final call */
.cta-band { text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta-band .lead { margin-inline: auto; }

/* page hero (subpages) */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(48px, 7vw, 80px); background: radial-gradient(100% 120% at 50% 0%, var(--forest-700) 0%, var(--forest-900) 70%); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero.center .wrap { justify-items: center; text-align: center; }

/* contact form */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 18px; }
.contact-aside p { color: var(--muted); }
.form { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--forest-800); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--faint); margin-left: 6px; }
.field .help { font-size: 13px; color: var(--faint); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--forest-950);
  color: var(--text);
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.input::placeholder { color: var(--faint); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23f3f6f1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select.input option { background: var(--forest-900); color: var(--text); }
input[type="date"].input { color-scheme: dark; }
.sig-field-msg > div { display: flex; gap: 8px; align-items: flex-start; color: #ffb2aa; font-size: 14px; }
.sig-field-msg > div::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--sig-danger, #ff6b5e); color: var(--forest-950); font-size: 12px; font-weight: 700; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { color: var(--faint); max-width: 34ch; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.5em; }
.form-status.is-error { color: #ffb2aa; }
.form-status.is-done { color: var(--mint); }
.sig-submit .sig-tick { width: 18px; height: 18px; }
.sig-submit-done { display: inline-flex; align-items: center; gap: 8px; }

/* simple prose pages */
.prose { max-width: 68ch; display: grid; gap: 18px; }
.prose h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.prose p, .prose li { color: var(--ink-soft); }

/* footer */
.site-footer { background: var(--forest-950); padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--muted); text-decoration: none; padding: 12px 0; font-size: 15px; display: inline-block; }
.footer-nav a:hover { color: #fff; }
.footer-base { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--faint); }
.footer-base a { color: var(--faint); }

/* reduced motion: keep colour and opacity, drop movement */
@media (prefers-reduced-motion: reduce) {
  .vf-rec i { animation: none; }
  .hero-shot img { filter: saturate(0.95); transform: none; transition: none; }
  .vf-afbox { transform: none; opacity: 1; border-color: var(--mint); transition: none; }
  .vf-af { opacity: 1; transition: none; }
  .seg-thumb, .pkg, .swap-in, .link-arrow span, .mobile-menu { transition-property: opacity, background-color, color, border-color; }
  .pkg.is-feature { transform: none; }
}

/* ---------------- polish pass ---------------- */

/* nature texture: the same topographic lines as the hero, on every dark band */
.topo-bg { position: relative; isolation: isolate; }
.topo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/topo.svg") center / cover no-repeat; opacity: 0.06; pointer-events: none; }
.page-hero { position: relative; overflow: hidden; }

/* mountain ridge where a dark band meets a light one */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(44px, 7vw, 104px); z-index: 1; pointer-events: none; }
.ridge-back { fill: var(--forest-600); opacity: 0.55; }
.ridge-front { fill: var(--paper); }
.hero:has(.ridge) { padding-bottom: calc(80px + clamp(44px, 7vw, 104px)); }
.page-hero:has(.ridge) { padding-bottom: calc(clamp(48px, 7vw, 80px) + clamp(44px, 7vw, 104px)); }
@media (max-width: 900px) { .hero:has(.ridge) { padding-bottom: calc(56px + clamp(44px, 7vw, 104px)); } }

/* how it works: each step is a frame on a film strip */
.step { position: relative; overflow: hidden; padding-top: 58px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 28px;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, var(--paper) 9px 21px, transparent 21px 30px) 0 50% / 100% 10px no-repeat,
    var(--forest-800);
}
.step-num { font-size: 13px; }
.step-num b { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .step { transition: transform 150ms var(--ease-out), border-color 150ms var(--ease-out); }
  .step:hover { transform: translateY(-2px); border-color: rgba(15, 38, 25, 0.24); }
}

/* only the featured package gets the white button; the rest step back */
.pkg:not(.is-feature) .btn-primary { background: transparent; color: var(--text); border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .pkg:not(.is-feature) .btn-primary:hover { background: rgba(255, 255, 255, 0.06); border-color: #fff; } }
.pkg.is-feature .pkg-art svg { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }

/* price change: digits pop in (transitions.dev "number pop-in") */
:root { --digit-dur: 500ms; --digit-distance: 8px; --digit-stagger: 70ms; --digit-blur: 2px; --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1); }
@keyframes t-digit-pop-in {
  0% { transform: translateY(var(--digit-distance)); opacity: 0; filter: blur(var(--digit-blur)); }
  100% { transform: none; opacity: 1; filter: blur(0); }
}
.t-digit-group { display: inline-flex; align-items: baseline; }
.t-digit { display: inline-block; }
.t-digit-group.is-animating .t-digit { animation: t-digit-pop-in var(--digit-dur) var(--digit-ease) both; animation-delay: calc(var(--s, 0) * var(--digit-stagger)); }
@media (prefers-reduced-motion: reduce) { .t-digit-group.is-animating .t-digit { animation: none; } }

/* thanks and 404 sit inside a viewfinder */
.simple-hero { min-height: 72svh; display: grid; align-items: center; }
.vf-page { position: absolute; inset: calc(var(--header-h) + 24px) clamp(16px, 4vw, 48px) 32px; z-index: 0; text-shadow: none; color: var(--muted); }
.vf-page .vf-rec { top: 12px; left: 36px; }
.simple-hero .wrap > :not(.vf) { position: relative; z-index: 1; }
.simple-hero .vf-rec i { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
body[data-page="404"] .simple-hero .vf-rec i { background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: none; }

/* about: the photo stays put while the story scrolls on wide screens */
@media (min-width: 861px) { .about-page .photo-frame { position: sticky; top: calc(var(--header-h) + 24px); } }
.about-copy .h2 + p { margin-top: 4px; }

/* on a phone the cards stack, so the featured one goes first instead of last */
@media (max-width: 920px) { .packages .pkg.is-feature { order: -1; } }
.sitemap-list { display: grid; gap: 12px; padding-left: 20px; font-size: 18px; } .sitemap-list a { color: var(--ink); }
.form-preview-note { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: var(--mint); background: rgba(143, 217, 168, 0.1); border: 1px dashed rgba(143, 217, 168, 0.4); }
