/* FOAEN — site styles.
   Motion states live under html.motion (added before paint unless the visitor prefers reduced
   motion). Without JavaScript, or with reduced motion, every element shows its final state. */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #021e42;
  --navy-2: #0c2d5a;
  --ink: #141a24;
  --muted: #5b6372;
  --plaster: #f3eee6;
  --paper: #faf7f2;
  --brass: #b98d48;
  --brass-soft: #e9d9b8;
  --brass-ink: #8c6428; /* brass for text on light backgrounds: >= 4.5:1 */
  --sage: #8c9a86;
  --oak: #b9875a;
  --line: rgba(2, 30, 66, 0.14);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html.static {
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
::selection {
  background: var(--brass-soft);
  color: var(--navy);
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 200;
}
.skip:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 18px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
}
h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
}
h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
}
h1 em,
h2 em {
  font-style: italic;
  color: var(--brass-ink);
}
.journey h2 em,
.contact h2 em {
  color: var(--brass);
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 22px 0 0;
}
.split-line {
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--b);
  color: #fff;
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
  will-change: transform;
}
.btn:hover {
  background: var(--navy-2);
}
.btn .arrow {
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn.brass {
  background: var(--brass);
  color: var(--navy);
}
.btn.brass:hover {
  background: #cfa45f;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease);
}
.link-arrow:hover {
  border-color: var(--navy);
}

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.5s var(--ease);
}
.hdr.is-scrolled {
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.hdr.is-hidden {
  transform: translateY(-100%);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.hdr-logo img {
  height: 22px;
  width: auto;
}
.hdr nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hdr nav a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink);
  position: relative;
}
.hdr nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.hdr nav a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.hdr .btn {
  padding: 12px 18px;
  font-size: 15px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.menu-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--navy);
  transition:
    transform 0.4s var(--ease),
    top 0.4s var(--ease);
}
.menu-btn span:nth-child(1) {
  top: 17px;
}
.menu-btn span:nth-child(2) {
  top: 25px;
}
.nav-open .menu-btn span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-open .menu-btn span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}
.mnav {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--paper);
  padding: 110px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
.nav-open .mnav {
  clip-path: inset(0 0 0 0);
  visibility: visible;
}
.mnav a {
  font: 400 44px/1.15 var(--serif);
  color: var(--navy);
  text-decoration: none;
}
.mnav .btn {
  margin-top: 26px;
  align-self: flex-start;
  font-family: var(--sans);
}
@media (max-width: 899px) {
  .hdr nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .hdr .wrap {
    height: 64px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--plaster);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
}
.hero::before {
  /* designer's grid paper */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--muted), transparent);
  animation: hint 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes hint {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* The scene: drawing -> render -> phone */
.scene {
  position: relative;
  height: min(74vh, 640px);
  min-height: 460px;
}
.scene-screen {
  --bezel: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  aspect-ratio: 800 / 540; /* landscape for the drawing and photo; morphs into a phone */
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 6px;
  background: var(--paper);
  box-shadow:
    0 0 0 var(--bezel) #10151d,
    0 40px 80px -30px rgba(2, 30, 66, 0.35);
}
.scene-screen > svg {
  width: 100%;
  height: 100%;
}
/* The real photograph the drawing turns into (motion only; the static page keeps the drawing). */
.scene-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.scene-photo img,
.mock-photo img,
.cs img,
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-photo img {
  object-position: 46% 55%;
}
.k-line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.k-dims {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1;
}
.k-dims text {
  fill: var(--navy);
  stroke: none;
  font: 500 10.5px var(--sans);
  letter-spacing: 0.12em;
}
.ui {
  position: absolute;
  left: 0;
  right: 0;
  font-family: var(--sans);
  color: #fff;
}
.ui-bar {
  top: 0;
  padding: 26px 18px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(rgba(16, 21, 29, 0.55), transparent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ui-bar i {
  display: block;
  width: 18px;
  height: 10px;
  border-top: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
}
.ui-cap {
  bottom: 0;
  padding: 60px 18px 22px;
  background: linear-gradient(transparent, rgba(16, 21, 29, 0.78));
}
.ui-cap small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}
.ui-cap strong {
  display: block;
  font: 400 22px/1.1 var(--serif);
  margin: 6px 0 12px;
}
.ui-cap span {
  display: inline-block;
  white-space: nowrap;
  background: var(--brass);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 999px;
}
@media (max-width: 899px) and (max-height: 640px), (max-width: 360px) {
  /* small phones: the mock phone is narrow, so its content scales down */
  .ui-cap {
    padding: 44px 12px 14px;
  }
  .ui-cap strong {
    font-size: 18px;
    margin: 4px 0 9px;
  }
  .ui-cap span {
    font-size: 10.5px;
    padding: 7px 10px;
  }
  .ui-bar {
    padding: 20px 12px 8px;
    font-size: 11px;
  }
}
.ui.ui-tag {
  position: absolute;
  top: 58px;
  left: auto;
  right: 14px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  padding: 4px 7px;
  border-radius: 4px;
}
.scene-caps {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -38px;
  height: 22px;
  text-align: center;
  font: italic 400 20px/1 var(--serif);
  color: var(--navy);
}
.scene-caps span {
  position: absolute;
  inset: 0;
}
/* Static (no JS / reduced motion): the rendered drawing with its notes, no phone UI.
   Motion: the drawing starts as bare lines and the captions swap as you scroll. */
.ui,
.scene-caps span {
  opacity: 0;
}
.scene-caps span:nth-child(2) {
  opacity: 1;
}
html.motion .scene-caps span:nth-child(2) {
  opacity: 0;
}
html.motion .scene-caps span:first-child {
  opacity: 1;
}
html.motion .k-hero .k-fill > *,
html.motion .k-hero .k-dims {
  opacity: 0;
}

@media (max-width: 899px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .scene {
    /* must fit the visible screen (below the header, with room for the caption) when pinned */
    height: min(480px, calc(100svh - 190px));
    min-height: 0;
    margin-bottom: 30px;
  }
  .scroll-hint {
    display: none;
  }
}

/* ---------- Sections ---------- */
section {
  position: relative;
}
.sec {
  padding: clamp(80px, 12vw, 160px) 0;
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 90px);
}
.sec-head .lede {
  margin: 0;
}
@media (max-width: 899px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- Journey (horizontal scenes) ---------- */
.journey {
  background: var(--navy);
  color: #dfe5ee;
  overflow: hidden;
}
.journey h2 {
  color: #fff;
}
.journey .lede {
  color: #aab6c8;
}
.journey-intro {
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: 50px;
}
.journey-track {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  padding: 0 var(--gutter) clamp(80px, 10vw, 130px);
  width: max-content;
}
.panel {
  width: min(86vw, 1040px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 56px);
  min-height: min(68vh, 560px);
}
.panel-num {
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.16em;
  color: var(--brass);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 420px;
}
.panel h3 {
  color: #fff;
  margin: 14px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
}
.panel p {
  margin: 0;
  color: #b9c3d3;
  max-width: 420px;
}
.mock {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.mock-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  padding: 5px 8px;
  border-radius: 4px;
}
/* 01 photo */
.mock-photo {
  aspect-ratio: 4 / 3;
  transform: rotate(-2deg);
  border: 10px solid #fff;
  border-bottom-width: 46px;
}
.mock-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.mock-photo figcaption {
  position: absolute;
  left: 4px;
  bottom: -36px;
  font: italic 400 18px var(--serif);
  color: var(--navy);
}
/* 02 browser */
.mock-browser .chrome {
  display: flex;
  gap: 6px;
  padding: 12px;
  background: #e9e4dc;
}
.mock-browser .chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfc6b8;
}
.mock-browser .chrome b {
  flex: 1;
  margin-left: 10px;
  height: 10px;
  border-radius: 6px;
  background: #fff;
}
.cs {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}
.cs picture {
  display: block;
  min-height: 230px;
}
.cs-body {
  padding: 20px;
}
.cs-body strong {
  display: block;
  font: 400 22px/1.1 var(--serif);
  color: var(--navy);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.chips span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--plaster);
  color: var(--navy);
}
@media (max-width: 560px) {
  .cs {
    grid-template-columns: 1fr;
  }
  .cs picture {
    min-height: 0;
    height: 190px;
  }
}
.skel {
  height: 7px;
  border-radius: 4px;
  background: #e7e1d7;
  margin: 8px 0;
}
/* 03 form */
.mock-form {
  padding: 26px;
}
.mock-form strong {
  font: 400 24px var(--serif);
  color: var(--navy);
}
.ff {
  margin-top: 14px;
}
.ff label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.ff div {
  min-height: 42px;
  border: 1px solid #ddd5c8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
}
.ff div::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--navy);
  opacity: 0;
}
.ff div.typing::after {
  opacity: 1;
  animation: caret 0.8s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.ff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mock-form .send {
  margin-top: 18px;
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
}
/* 04 phone */
.mock.mock-phone {
  width: 250px;
  aspect-ratio: 9 / 18.5;
  margin: 0 auto;
  border-radius: 38px;
  border: 10px solid #10151d;
  background: linear-gradient(160deg, #1d3a63, #021e42 60%);
  overflow: hidden;
  color: #fff;
}
.mock-phone .time {
  text-align: center;
  font: 300 54px/1 var(--sans);
  margin-top: 46px;
}
.mock-phone .date {
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}
.notif {
  margin: 34px 12px 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.4;
}
.notif b {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.notif strong {
  display: block;
  font-size: 13.5px;
}
@media (min-width: 900px) {
  /* The whole section is pinned while the panels slide, so it must fit one screen. */
  .journey-intro {
    padding-top: 104px;
    padding-bottom: 30px;
  }
  .journey .sec-head {
    margin-bottom: 0;
  }
  .journey h2 {
    font-size: clamp(36px, 4vw, 56px);
  }
  .journey-track {
    padding-bottom: 40px;
  }
  .panel {
    min-height: 0;
    height: clamp(400px, calc(100vh - 320px), 600px);
  }
  .mock-photo,
  .mock-browser,
  .mock-form {
    max-height: calc(100vh - 380px);
  }
  .mock.mock-phone {
    width: auto;
    height: min(500px, calc(100vh - 380px));
  }
}
@media (max-width: 899px) {
  .journey-track {
    flex-direction: column;
    width: auto;
  }
  .panel {
    width: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .mock.mock-phone {
    width: 220px;
  }
}

/* ---------- Photography ---------- */
.photos {
  background: var(--paper);
  padding-bottom: clamp(30px, 4vw, 50px);
}
.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: end;
}
.ph {
  margin: 0;
}
.ph-frame {
  overflow: hidden;
  border-radius: 14px;
  background: var(--plaster);
}
.ph-wide .ph-frame {
  aspect-ratio: 3 / 2;
}
.ph-tall .ph-frame {
  aspect-ratio: 4 / 5;
}
.ph picture {
  display: block;
  width: 100%;
  height: 100%;
}
.ph figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
}
.ph figcaption span {
  font: italic 400 24px var(--serif);
  color: var(--navy);
}
.ph figcaption small {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
html.motion .ph-frame {
  clip-path: inset(100% 0 0 0 round 14px);
}
@media (max-width: 899px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Offer ---------- */
.offer {
  background: var(--paper);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(60px, 8vw, 100px);
}
.stat {
  padding: 34px 24px 30px 0;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.stat b {
  display: block;
  font: 400 clamp(54px, 6vw, 88px) / 1 var(--serif);
  color: var(--navy);
}
.stat span {
  color: var(--muted);
  font-size: 15px;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(30px, 6vw, 100px);
}
.feature-list li {
  display: block;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.feature-list li h3 {
  font-size: 26px;
}
.feature-list li p {
  margin: 6px 0 0;
  color: var(--muted);
}
@media (max-width: 899px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Prices ---------- */
.prices {
  background: var(--plaster);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tier {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(2, 30, 66, 0.3);
}
.tier.featured {
  background: var(--navy);
  color: #c9d2df;
  border-color: var(--navy);
}
.tier.featured h3,
.tier.featured .amount {
  color: #fff;
}
.tier .badge {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--brass);
  color: var(--navy);
  padding: 5px 9px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 600;
}
.tier h3 {
  font-size: 26px;
}
.amount {
  font: 400 54px/1 var(--serif);
  color: var(--navy);
  margin: 18px 0 6px;
}
.amount small {
  font: 400 15px var(--sans);
  color: inherit;
  opacity: 0.7;
}
.tier p {
  margin: 10px 0 0;
  font-size: 15px;
}
.price-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 999px) {
  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}

/* ---------- Website check ---------- */
.check {
  background: var(--paper);
}
.check .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.check-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 34px;
}
.check-points li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
}
.check-points li b {
  font: 500 13px/1.9 var(--sans);
  color: var(--brass-ink);
  min-width: 26px;
}
.report {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 40px 90px -40px rgba(2, 30, 66, 0.35);
  position: relative;
}
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 14px;
  margin-bottom: 8px;
}
.report-head strong {
  font: 400 24px var(--serif);
  color: var(--navy);
  display: block;
}
.report-head small {
  color: var(--muted);
  font-size: 12px;
}
.ring {
  width: 70px;
  height: 70px;
  position: relative;
}
.ring svg {
  width: 70px;
  height: 70px;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 6;
}
.ring .bg {
  stroke: #eee8de;
}
.ring .fg {
  stroke: #b8572f;
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: 109.3;
}
.ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 22px var(--serif);
  color: var(--navy);
}
.rep-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebe3;
  font-size: 14.5px;
}
.rep-item small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip.bad {
  background: #f8e6df;
  color: #8e3b1c;
}
.chip.warn {
  background: #f7efd9;
  color: #6f5212;
}
.chip.ok {
  background: #e3efe1;
  color: #2f5a2b;
}
.report-foot {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted);
}
@media (max-width: 899px) {
  .check .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process ---------- */
.process {
  background: var(--plaster);
}
.steps-wrap {
  position: relative;
  max-width: 820px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 64px;
}
.steps-rail,
.steps-fill {
  position: absolute;
  left: 18px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.steps-fill {
  background: var(--brass);
  transform-origin: top;
}
.steps li {
  position: relative;
  padding: 0 0 clamp(40px, 6vw, 64px);
}
.steps li::before {
  content: attr(data-n);
  position: absolute;
  left: -64px;
  top: 0;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--brass);
  display: grid;
  place-items: center;
  font: 500 14px var(--sans);
  color: var(--brass-ink);
}
.steps h3 {
  font-size: clamp(28px, 3vw, 38px);
}
.steps p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 560px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy);
  color: #c9d2df;
  overflow: hidden;
}
.contact h2 {
  color: #fff;
  font-size: clamp(44px, 7vw, 104px);
}
.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact .lede {
  color: #aab6c8;
}
.direct {
  margin-top: 40px;
  display: grid;
  gap: 6px;
}
.direct a {
  font: 400 clamp(24px, 2.6vw, 34px) / 1.2 var(--serif);
  color: #fff;
  text-decoration: none;
  width: fit-content;
  background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.direct a:hover {
  background-size: 100% 1px;
}
.form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
}
.form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aab6c8;
  margin: 18px 0 7px;
}
.form label:first-of-type {
  margin-top: 0;
}
.form input,
.form textarea {
  width: 100%;
  font: 400 16px var(--sans);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 14px 14px;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(255, 255, 255, 0.1);
}
.form textarea {
  min-height: 110px;
  resize: vertical;
}
.form .btn {
  margin-top: 24px;
}
.form .fine {
  font-size: 13px;
  color: #93a1b6;
  margin: 16px 0 0;
}
.form .fine a {
  color: #dfe5ee;
}
.hp {
  display: none;
}
@media (max-width: 899px) {
  .contact .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.ftr {
  background: #01142e;
  color: #93a1b6;
  font-size: 14px;
  padding: 50px 0 40px;
}
.ftr .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-end;
}
.ftr img {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 14px;
}
.ftr nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.ftr a {
  color: #c9d2df;
  text-decoration: none;
}
.ftr a:hover {
  color: #fff;
}
.ftr p {
  margin: 0;
}
.ftr .ftr-desc {
  color: #c9d2df;
  margin-bottom: 8px;
}

/* ---------- Reveal states (motion only) ---------- */
html.motion [data-reveal],
html.motion [data-hero] {
  opacity: 0;
  transform: translateY(28px);
}
html.motion .split {
  visibility: hidden;
}

/* ---------- Inner pages ---------- */
.page {
  background: var(--paper);
  padding: 140px 0 100px;
}
.doc {
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(44px, 6vw, 72px);
}
.doc h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin: 46px 0 12px;
}
.doc .updated {
  color: var(--muted);
  margin: 14px 0 30px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--line);
}
.doc th {
  color: var(--muted);
  font-weight: 500;
}
.doc code {
  background: var(--plaster);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 15px;
}
.doc a {
  color: var(--navy);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
