/* SmileForge site styles. One file for the whole site.
   Colours and fonts live in :root below. Change a value once here and it changes everywhere.
   Design rules: warm off-white base, near-black ink, square corners, hairline dividers.
   The brand colours (yellow, magenta, blue) appear only in the logo, the process step
   markers and the thin four-colour band above the footer. */

/* ---------- Fonts (self-hosted, latin subset, variable) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F6F4F0;           /* page background (warm off-white) */
  --bg-alt: #EEEAE3;       /* quiet alternate band */
  --ink: #141414;          /* text, buttons, dark bands */
  --ink-deep: #0E0D0C;     /* footer, hero */
  --text: #5F5A54;         /* secondary text on light */
  --label: #6E685F;        /* small labels on light (darker than the brief's #7A746C to pass AA) */
  --hairline: #D9D3CA;     /* dividers on light */
  --field: #8A847C;        /* form field underline (3:1 against the background) */
  --on-dark: #F6F4F0;      /* text on dark */
  --on-dark-muted: #B3ACA2;/* secondary text on dark */
  --hairline-dark: #2E2B28;/* dividers on dark */
  --yellow: #F9CB0A;       /* brand: logo, step markers, footer band only */
  --magenta: #EC0F91;
  --blue: #4593D9;
  --blue-deep: #1F6FB8;    /* focus rings and inline links in long policy text */
  --error: #A3161A;        /* form errors (7:1 on --bg) */

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1320px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.nav-open { overflow: hidden; }

body {
  /* Manrope's ligatures turn "(c)" into a copyright sign; legal text needs the letters. */
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body { font-size: 17px; }
  :root { --gutter: 48px; --header-h: 80px; }
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.02em; color: inherit; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.8rem); letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
h1 em, h2 em, blockquote em { font-style: italic; font-weight: 300; }
p, ul, ol { margin: 0 0 1em; }

a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--text); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--text); max-width: 54ch; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 8px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 18px;
}
.skip-link:focus { top: 8px; }

/* ---------- Eyebrows and labels ---------- */
.eyebrow {
  display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); margin: 0 0 22px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin: -2px 14px 0 0; }
.on-dark .eyebrow, .hero .eyebrow { color: var(--on-dark-muted); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 0;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font: inherit; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn::after { content: "\2192"; content: "\2192" / ""; transition: transform .3s var(--ease); }
.btn:hover { background: #2B2926; border-color: #2B2926; color: var(--bg); }
.btn:hover::after { transform: translateX(4px); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.on-dark .btn, .hero .btn { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.on-dark .btn:hover, .hero .btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.on-dark .btn-line, .hero .btn-line { background: transparent; color: var(--on-dark); border-color: rgba(246, 244, 240, .55); }
.on-dark .btn-line:hover, .hero .btn-line:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-plain::after { content: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.link-arrow::after { content: "\2192"; content: "\2192" / ""; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
#site-header { min-height: var(--header-h); position: sticky; top: 0; z-index: 100; }
.site-header { background: rgba(246, 244, 240, .94); border-bottom: 1px solid var(--hairline); transition: background .35s, border-color .35s, color .35s; }
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(1.4) blur(12px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex: none; }
.brand img { width: 32px; height: 32px; }
.wordmark { font-family: var(--sans); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.24em; text-transform: uppercase; }
.brand .logo-rev { display: none; }

/* Home: header floats over the dark hero, turns solid on scroll (site.js adds .is-solid) */
.has-hero #site-header { position: fixed; left: 0; right: 0; }
.has-hero .site-header:not(.is-solid) { background: transparent; border-bottom-color: transparent; color: var(--on-dark); backdrop-filter: none; }
.has-hero .site-header:not(.is-solid) .logo { display: none; }
.has-hero .site-header:not(.is-solid) .logo-rev { display: block; }
.has-hero .site-header:not(.is-solid) .nav-cta .btn { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.has-hero .site-header:not(.is-solid) .nav-toggle-bars,
.has-hero .site-header:not(.is-solid) .nav-toggle-bars::before { background: var(--on-dark); }
.has-hero .site-header:not(.is-solid) :focus-visible { outline-color: var(--yellow); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px;
  background: none; color: inherit; border: 0; font: inherit; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before {
  display: block; width: 24px; height: 1px; background: var(--ink); position: relative; content: "";
  transition: transform .3s var(--ease);
}
.nav-toggle-bars { margin-top: -6px; }
.nav-toggle-bars::before { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-7px) rotate(-90deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: inherit; text-decoration: none; }

@media (max-width: 1079px) {
  .site-nav {
    display: none; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--bg); color: var(--ink); padding: 12px var(--gutter) 40px; overflow-y: auto;
    border-top: 1px solid var(--hairline);
  }
  .site-nav.is-open { display: block; }
  .site-header.menu-open { background: var(--bg); backdrop-filter: none; } /* a filter would trap the fixed menu */
  .site-nav li a:not(.btn) {
    display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
    font-family: var(--serif); font-weight: 300; font-size: 1.9rem; letter-spacing: -0.02em;
    border-bottom: 1px solid var(--hairline);
  }
  .site-nav li a:not(.btn)::after { content: "\2192"; content: "\2192" / ""; font-family: var(--sans); font-size: 1rem; color: var(--label); }
  .site-nav a[aria-current="page"]:not(.btn) { font-style: italic; }
  .site-nav .nav-cta { margin-top: 28px; }
  .site-nav .nav-cta .btn { width: 100%; }
  /* Menu open on the home page: give the header a solid background too */
  .has-hero .site-header.menu-open { background: var(--bg); color: var(--ink); border-bottom-color: var(--hairline); }
  .has-hero .site-header.menu-open .logo { display: block; }
  .has-hero .site-header.menu-open .logo-rev { display: none; }
  .has-hero .site-header.menu-open .nav-cta .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .has-hero .site-header.menu-open .nav-toggle-bars,
  .has-hero .site-header.menu-open .nav-toggle-bars::before { background: var(--ink); }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: 34px; }
  .site-nav li a:not(.btn) {
    position: relative; padding: 8px 0; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em;
  }
  .site-nav li a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .site-nav li a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin-left: 8px; }
  .site-nav .nav-cta .btn { min-height: 44px; padding: 0 20px; font-size: 0.88rem; }
}

/* noscript fallback nav */
.noscript-nav { padding: 14px var(--gutter); border-bottom: 1px solid var(--hairline); background: var(--bg); }
.noscript-nav a { margin-right: 18px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section.flush-top { padding-top: 24px; }
.section-alt { background: var(--bg-alt); }
.section-rule { border-top: 1px solid var(--hairline); }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head p { color: var(--text); max-width: 56ch; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: 48px; }
.section-head-row .section-head { margin-bottom: 0; }
@media (min-width: 900px) { .section { padding: 136px 0; } .section-tight { padding: 88px 0; } }

.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark p, .on-dark .lead { color: var(--on-dark-muted); }
.on-dark .section-head p { color: var(--on-dark-muted); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; background: #000; color: var(--on-dark); /* matches the photo's black */
  min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
}
.hero-media { position: absolute; left: 0; right: 0; top: var(--header-h); height: 58%; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .7) 40%, rgba(0, 0, 0, .15) 75%, rgba(0, 0, 0, .55) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; }
.hero h1 { max-width: 13ch; margin-bottom: 28px; }
.hero .lead { color: #CFC9C0; max-width: 46ch; }
@media (min-width: 900px) {
  .hero { min-height: max(680px, 100svh); }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .78) 30%, rgba(0, 0, 0, .2) 62%, rgba(0, 0, 0, 0) 80%),
      linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 35%),
      linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%);
  }
  .hero-media { left: 26%; top: var(--header-h); bottom: 0; height: auto; }
  .hero-media img { object-fit: contain; object-position: 100% 100%; transform-origin: 70% 100%; }
  .hero-content { padding-bottom: 112px; }
  .hero h1 { font-size: clamp(3.2rem, 6.4vw, 5.6rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: slow-zoom 22s var(--ease) both; }
  .hero-content > * { animation: rise 1.1s var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: .12s; }
  .hero-content > :nth-child(3) { animation-delay: .24s; }
  .hero-content > :nth-child(4) { animation-delay: .36s; }
}
@keyframes slow-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Proof strip (three hairline columns) ---------- */
.proof { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.proof li { padding: 32px 0; border-bottom: 1px solid var(--hairline); }
.proof h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 400; margin-bottom: 10px; }
.proof p { color: var(--text); margin: 0; max-width: 36ch; }
@media (min-width: 800px) {
  .proof { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hairline); }
  .proof li { padding: 44px 40px 48px; border-bottom: 0; border-left: 1px solid var(--hairline); }
  .proof li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Service mosaic (one large tile + four) ---------- */
.mosaic { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tile { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.tile a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--on-dark); text-decoration: none; }
.tile img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile a::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .66) 32%, rgba(0, 0, 0, .28) 62%, rgba(0, 0, 0, .1) 100%);
  transition: background .5s;
}
.tile-label { position: relative; z-index: 2; }
.tile h3 { margin: 0 0 6px; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.tile p { margin: 0; color: #D8D2C9; font-size: 0.93rem; max-width: 34ch; }
.tile-more {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.tile-more::before { content: ""; display: block; height: 1px; width: 32px; background: currentColor; transition: width .5s var(--ease); }
.tile-more::after { content: "\2192"; content: "\2192" / ""; letter-spacing: 0; }
.tile a:hover img, .tile a:focus-visible img { transform: scale(1.06); }
.tile a:hover .tile-more::before, .tile a:focus-visible .tile-more::before { width: 64px; }
.tile a:focus-visible { outline-offset: -6px; outline-color: var(--yellow); }
.tile-lg h3 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
@media (min-width: 640px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile-lg { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (min-width: 1000px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(250px, 21vw)); max-height: none; }
  .tile { aspect-ratio: auto; }
  .tile-lg { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .tile a { padding: 28px; }
  .tile-lg a { padding: 44px; }
  .tile:not(.tile-lg) p { display: none; }
}

/* ---------- Craft (dark editorial statement) ---------- */
.craft { background: var(--ink-deep); color: var(--on-dark); overflow: hidden; }
.craft-quote { margin: 0 0 56px; }
.craft-quote p {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.1;
  letter-spacing: -0.025em; color: var(--on-dark); margin: 0; max-width: 16ch;
}
.craft-quote em { color: #FFFFFF; }
.craft-figure { margin: 0; position: relative; }
.craft-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.craft-notes { display: grid; gap: 0; list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--hairline-dark); }
.craft-notes li { padding: 24px 0; border-bottom: 1px solid var(--hairline-dark); }
.craft-notes strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--on-dark); margin-bottom: 6px; }
.craft-notes span { color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .craft-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: end; }
  .craft-quote { margin: 0; }
  .craft-figure img { aspect-ratio: 4 / 3; }
  .craft-notes { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hairline-dark); margin-top: 72px; }
  .craft-notes li { padding: 32px 32px 36px; border-bottom: 0; border-left: 1px solid var(--hairline-dark); }
  .craft-notes li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Split (photo + text) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-top { align-items: start; }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-alt); }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-frame { margin: 0; overflow: hidden; }
.photo-frame img { transition: transform 1.2s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 96px; }
  .split-wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split-wide.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* Hairline list (checks, what to send, notes) */
.rule-list { list-style: none; padding: 0; margin: 0 0 1.5em; border-top: 1px solid var(--hairline); }
.rule-list li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--hairline); position: relative; }
.rule-list li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 16px; height: 1px; background: var(--ink); }
.on-dark .rule-list, .on-dark .rule-list li { border-color: var(--hairline-dark); }
.on-dark .rule-list li::before { background: var(--on-dark); }

/* ---------- Steps (roman numerals from CSS counters; brand colours as markers) ---------- */
.steps { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; counter-increment: step; padding: 28px 0 32px; border-top: 1px solid var(--hairline); }
.on-dark .step { border-top-color: var(--hairline-dark); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--yellow);
}
.step:nth-child(4n+2)::before { background: var(--magenta); }
.step:nth-child(4n+3)::before { background: var(--blue); }
.step:nth-child(4n+4)::before { background: var(--ink); }
.on-dark .step:nth-child(4n+4)::before { background: var(--on-dark); }
.step-num { display: block; margin-bottom: 18px; }
.step-num::before {
  content: counter(step, lower-roman) ".";
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.4rem; line-height: 1;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text); margin: 0; max-width: 34ch; }
.on-dark .step p { color: var(--on-dark-muted); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); column-gap: 40px; } }

/* ---------- Big centred CTA ---------- */
.cta { text-align: center; padding: 112px 0 120px; }
.cta h2 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); max-width: 15ch; margin: 0 auto 24px; }
.cta p { color: var(--text); max-width: 50ch; margin: 0 auto; }
.cta .btn-row { justify-content: center; }
@media (min-width: 900px) { .cta { padding: 168px 0 176px; } }

/* ---------- Interior page heroes ---------- */
.page-hero { padding: 64px 0 56px; }
.page-hero h1 { max-width: 16ch; margin-bottom: 28px; }
.page-hero-foot { display: grid; gap: 24px; }
.page-hero-foot .lead { margin: 0; }
@media (min-width: 900px) {
  .page-hero { padding: 120px 0 88px; }
  .page-hero-foot { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; border-top: 1px solid var(--hairline); padding-top: 32px; align-items: start; }
  .page-hero-foot .lead { grid-column: 2; }
  .page-hero-foot > .eyebrow-side { grid-column: 1; grid-row: 1; }
}
.eyebrow-side { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); margin: 0; padding-top: 6px; }

.banner { margin: 0; overflow: hidden; background: var(--ink); }
.banner img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 700px) { .banner img { aspect-ratio: 21 / 9; max-height: 78vh; } }

/* ---------- Services page ---------- */
.index-links { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--hairline); }
.index-links li { border-bottom: 1px solid var(--hairline); }
.index-links a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; font-weight: 500; }
.index-links a::after { content: "\2193"; content: "\2193" / ""; color: var(--label); transition: transform .3s var(--ease); }
.index-links a:hover::after { transform: translateY(3px); }
@media (min-width: 900px) {
  .index-links { grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--hairline); }
  .index-links li { border-bottom: 0; border-left: 1px solid var(--hairline); }
  .index-links li:first-child { border-left: 0; }
  .index-links a { padding: 20px 20px; font-size: 0.92rem; }
  .index-links li:first-child a { padding-left: 0; }
}

.service { padding: 72px 0; border-top: 1px solid var(--hairline); }
.service:first-child { border-top: 0; }
.service-grid { display: grid; gap: 36px; align-items: start; }
.service-photo { margin: 0; overflow: hidden; }
.service-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-photo:hover img { transform: scale(1.04); }
.service h2 { margin-bottom: 24px; }
.service-body > p { color: var(--text); max-width: 58ch; }
.service-body > p:first-of-type { color: var(--ink); font-size: 1.12rem; }
.send-list { margin-top: 36px; }
.send-list h3 { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); margin-bottom: 14px; }
@media (min-width: 900px) {
  .service { padding: 112px 0; }
  .service-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 96px; align-items: center; }
  .service:nth-child(even) .service-photo { order: 2; }
  .service-photo img { aspect-ratio: 4 / 5; }
}

/* ---------- Columns of short text (values, categories, partners) ---------- */
.cols { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hairline); }
.cols > li { padding: 32px 0; border-bottom: 1px solid var(--hairline); }
.cols h3 { margin-bottom: 12px; }
.cols p { color: var(--text); margin: 0; }
@media (min-width: 700px) {
  .cols { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}
@media (min-width: 1000px) {
  .cols-4 { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .cols-4 > li { padding: 36px 32px 40px; border-left: 1px solid var(--hairline); }
  .cols-4 > li:nth-child(4n+1) { border-left: 0; padding-left: 0; }
  .cols-3 { grid-template-columns: repeat(3, 1fr); column-gap: 0; }
  .cols-3 > li { padding: 36px 32px 40px; border-left: 1px solid var(--hairline); }
  .cols-3 > li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}

.cols.about-areas { grid-template-columns: 1fr; }
.scans-h { margin-top: 40px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.split h3 { margin-top: 28px; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 0.4em; }

.note { border-left: 1px solid var(--ink); padding: 4px 0 4px 20px; margin: 28px 0; color: var(--text); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 28px; max-width: 680px; }
.form-row { display: grid; gap: 28px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.req { color: #B0086F; }
.hint { color: var(--text); font-size: 0.92rem; margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 0; font: inherit; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--field); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; border: 1px solid var(--field); padding: 12px 14px; }
select {
  -webkit-appearance: none; appearance: none; padding-right: 32px; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center;
}
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 2px; border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.check label, .field .check label { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.check a { text-decoration: underline; }
.hidden-field { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
fieldset.field legend { padding: 0; margin-bottom: 12px; }
.form .btn { min-width: 220px; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.field-error { color: var(--error); font-size: 0.92rem; font-weight: 600; margin: 0; }
[aria-invalid="true"] { border-color: var(--error); }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 1px; }
.form-alert { color: var(--error); border-left: 3px solid var(--error); background: var(--bg-alt); padding: 14px 18px; margin: 0 0 28px; max-width: 680px; }
.cf-turnstile .form-alert { margin: 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--hairline); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.contact-list strong { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); font-weight: 700; margin-bottom: 4px; }
.contact-list a { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- Policies hub ---------- */
.policy-list { list-style: none; padding: 0; margin: 0; }
.policy-list li { border-bottom: 1px solid var(--hairline); }
.policy-list li a {
  display: grid; gap: 4px; padding: 24px 32px 24px 0; text-decoration: none; position: relative;
}
.policy-list li a::after { content: "\2192"; content: "\2192" / ""; position: absolute; right: 4px; top: 26px; transition: transform .3s var(--ease); }
.policy-list li a:hover::after { transform: translateX(4px); }
.policy-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.25; }
.policy-list span { color: var(--text); }
.policy-list li a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.policy-list .policy-group h2 { font: inherit; letter-spacing: inherit; margin: 0; }
.policy-list .policy-group:first-child { padding-top: 0; }
.policy-noscript h2 { font-size: 1.4rem; margin-top: 1.5em; }
.policy-list .policy-group { padding: 56px 0 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); border-bottom: 1px solid var(--ink); }
@media (min-width: 800px) {
  .policy-list li a { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: baseline; padding: 28px 48px 28px 0; }
  .policy-list li a::after { top: 30px; }
}

/* ---------- Policy page (long-form) ---------- */
.policy-back { margin: 0 0 40px; font-size: 0.9rem; }
.policy-back a { text-decoration: none; color: var(--text); }
.policy-back a:hover { color: var(--ink); text-decoration: underline; }
.policy-article { max-width: 70ch; margin: 0 auto; }
.policy-article h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); margin-bottom: 20px; }
.policy-meta { color: var(--label); font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 28px; }
.policy-actions { margin: 0 0 48px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--hairline); }
.policy-actions .btn { min-height: 44px; font-size: 0.88rem; }
.policy-body { font-size: 1.02rem; line-height: 1.75; }
.policy-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 400; margin: 2.2em 0 0.6em; }
.policy-body h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin: 1.8em 0 0.5em; }
.policy-body h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.policy-body a { color: var(--blue-deep); }
.policy-body li { margin-bottom: 0.45em; }
.policy-body hr { border: 0; border-top: 1px solid var(--hairline); margin: 2.5em 0; }
.policy-body blockquote { margin: 0 0 2em; padding: 16px 20px; border-left: 2px solid var(--ink); background: var(--bg-alt); }
.policy-body blockquote p { margin: 0; }
.policy-body .table-wrap, .policy-body table { display: block; overflow-x: auto; }
.policy-body table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; font-size: 0.95rem; }
.policy-body th, .policy-body td { border-bottom: 1px solid var(--hairline); padding: 12px 14px 12px 0; text-align: left; vertical-align: top; }
.policy-body th { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); border-bottom-color: var(--ink); }
.policy-error { border-left: 2px solid #B0086F; background: var(--bg-alt); padding: 16px 20px; }

/* ---------- Thanks / 404 ---------- */
.statement { padding: 96px 0 120px; }
.statement h1 { max-width: 14ch; }
@media (min-width: 900px) { .statement { padding: 168px 0 184px; } }

/* ---------- Footer ---------- */
.band { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; }
.band span:nth-child(1) { background: var(--yellow); }
.band span:nth-child(2) { background: var(--magenta); }
.band span:nth-child(3) { background: var(--blue); }
.band span:nth-child(4) { background: var(--ink); }

.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .btn { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.site-footer .btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); text-decoration: none; }
.footer-top { padding: 72px 0 56px; border-bottom: 1px solid var(--hairline-dark); display: grid; gap: 32px; }
.footer-line { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--on-dark); margin: 0; max-width: 18ch; }
.footer-line em { font-style: italic; }
.footer-grid { display: grid; gap: 40px; padding: 56px 0 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr auto; align-items: end; padding: 104px 0 72px; } }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .brand:hover { text-decoration: none; }
.footer-brand p { margin: 20px 0 6px; }
.footer-col h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; line-height: 1.45; }
.footer-legal { border-top: 1px solid var(--hairline-dark); padding: 24px 0 32px; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-legal p { margin: 0; }

/* ---------- Scroll reveal (site.js adds .reveal-ready to <html> only when motion is allowed) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal-ready .reveal-d1 { transition-delay: .1s; }
.reveal-ready .reveal-d2 { transition-delay: .2s; }
.reveal-ready .reveal-d3 { transition-delay: .3s; }

/* ---------- Print (mainly for policies) ---------- */
@media print {
  #site-header, #site-footer, .site-header, .site-footer, .skip-link, .policy-actions, .no-print, .band { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .section, .page-hero { padding: 0; }
  .on-dark, .hero, .craft { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  h1, h2, h3 { color: #000; }
  a, .policy-body a { color: #000; }
  .policy-article { max-width: none; }
  .policy-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.9em; }
  .policy-body h2, .policy-body h3 { break-after: avoid; }
  .policy-body table { display: table; }
  .policy-body tr { break-inside: avoid; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
