@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f3efe8;
  --cream-deep: #eae3d8;
  --paper: #fbf9f5;
  --ink: #1d1916;
  --ink-soft: #4a423a;
  --taupe: #7c7266;
  --gold: #8a6b2f;
  --gold-bright: #a58244;
  --champagne: #e6d6b3;
  --aubergine: #2b2130;
  --line: rgba(29, 25, 22, 0.12);
  --line-soft: rgba(29, 25, 22, 0.07);
  --shadow-lg: 0 30px 70px -30px rgba(46, 36, 26, 0.38);
  --shadow-md: 0 18px 40px -22px rgba(46, 36, 26, 0.35);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --section-y: clamp(72px, 11vw, 152px);
  --radius: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #131110;
    --cream-deep: #0d0b0a;
    --paper: #1c1917;
    --ink: #f2ece3;
    --ink-soft: #c8bfb2;
    --taupe: #9c9285;
    --gold: #d8b978;
    --gold-bright: #e6cd97;
    --champagne: #6a5730;
    --aubergine: #221a26;
    --line: rgba(242, 236, 227, 0.14);
    --line-soft: rgba(242, 236, 227, 0.08);
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
    --shadow-md: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--champagne); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- eyebrow / shared bits ---------- */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav[data-stuck="true"] { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.brand__name {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.16em;
  line-height: 1;
  padding-left: 1px;
}
.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--taupe);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav__links a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--ink); }

/* scroll-spy: marks which section is currently in view */
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav__links a:not(.btn)[aria-current="true"] { color: var(--ink); }
.nav__links a:not(.btn)[aria-current="true"]::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .nav[data-open="true"] .nav__links {
    display: flex;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px;
    box-shadow: var(--shadow-md);
  }
  .nav[data-open="true"] .nav__links a {
    padding: 15px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
  }
  /* the sliding underline reads as a stray rule in a stacked menu — colour alone
     carries the current-section cue here */
  .nav__links a:not(.btn)::after { display: none; }
  .nav[data-open="true"] .nav__links a:not(.btn)[aria-current="true"] { color: var(--gold); }
  .nav[data-open="true"] .nav__links .btn {
    margin-top: 18px;
    border-bottom: 0;
    text-align: center;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover { background: var(--gold); color: #fff; }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover { background: var(--gold-bright); }

.btn--sm { padding: 11px 20px; font-size: 14px; }

.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(120% 90% at 88% 6%, color-mix(in srgb, var(--champagne) 34%, transparent), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(46px, 8.2vw, 104px);
  line-height: 0.98;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__lede {
  font-size: clamp(17px, 1.75vw, 21px);
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 34px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__note {
  font-size: 13.5px;
  color: var(--taupe);
  max-width: 42ch;
}

/* hero composition */
.compo {
  position: relative;
  aspect-ratio: 4 / 5;
}
.compo__plate {
  position: absolute;
  inset: 0 0 0 12%;
  border-radius: 220px 220px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-deep);
}
.compo__plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.compo__device {
  position: absolute;
  left: 0;
  bottom: 7%;
  width: 36%;
  max-width: 190px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--paper);
}
.compo__device img { width: 100%; height: auto; }
.compo__chip {
  position: absolute;
  right: 4%;
  top: 8%;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .compo { aspect-ratio: 5 / 6; max-width: 460px; margin-inline: auto; width: 100%; }
  .compo__plate { inset: 0 0 0 14%; border-radius: 180px 180px 20px 20px; }
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding: 20px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 22px);
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee__group span::after {
  content: "·";
  margin-left: 44px;
  color: var(--gold);
}
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- sections ---------- */

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }

.section__head {
  max-width: 42ch;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.section__head h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  margin-bottom: 20px;
}
.section__head--wide { max-width: 58ch; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 48px);
  counter-reset: step;
}
.step { counter-increment: step; }
.step__shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
  background: var(--cream-deep);
}
.step__shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  object-position: 50% 0;
}
.step__no {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.step__no::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
}
.step h3 { font-size: clamp(23px, 2.4vw, 30px); margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* Side by side once the three columns stop fitting: the screenshot holds the left
   rail while the number, heading and copy stack down the right. */
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .step {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-areas: "shot no" "shot title" "shot body";
    grid-template-rows: auto auto 1fr;
    column-gap: 24px;
    align-content: start;
  }
  .step__shot { grid-area: shot; margin-bottom: 0; }
  .step p.step__no { grid-area: no; }
  .step h3 { grid-area: title; }
  .step p { grid-area: body; margin-top: 4px; }
}
@media (max-width: 440px) {
  .step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "shot" "no" "title" "body";
    grid-template-rows: auto;
    row-gap: 4px;
  }
  .step__shot { max-width: 190px; margin-bottom: 20px; }
}

/* ---------- features ---------- */

/* exactly six features — hold three per row so no empty cells show through */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  background: var(--cream);
  padding: clamp(28px, 3.2vw, 40px);
  transition: background 0.25s ease;
}
.feature:hover { background: var(--paper); }
.feature__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  color: var(--gold);
}
.feature h3 { font-size: 21px; margin-bottom: 9px; }
.feature p { font-size: 15px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- editorial band ---------- */

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.band--flip .band__media { order: 2; }
.band__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--cream-deep);
}
.band__media img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }

/* a phone screenshot needs its own shape rather than the editorial 4:5 crop */
.band__media--device {
  width: 272px;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 18px;
}
.band__media--device img { height: auto; aspect-ratio: auto; }
.band + .band { margin-top: clamp(72px, 9vw, 132px); }
.band h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 20px; }
.band p + p { margin-top: 16px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--cream);
}

@media (max-width: 860px) {
  .band { grid-template-columns: minmax(0, 1fr); }
  .band--flip .band__media { order: 0; }
}

/* ---------- before / after ---------- */

.ba {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}
.ba__pane {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--cream-deep);
}
.ba__pane img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.ba__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(24, 20, 17, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ba__side {
  align-self: center;
  padding-left: clamp(0px, 2vw, 24px);
}
.ba__device {
  width: 200px;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  margin-top: 30px;
}
.ba__device img { width: 100%; height: auto; }

.ba-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .ba-wrap { grid-template-columns: minmax(0, 1fr); }
  .ba__side { padding-left: 0; }
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--cream-deep);
  position: relative;
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 15px 14px;
  background: linear-gradient(transparent, rgba(20, 16, 13, 0.78));
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.gallery figure:nth-child(2) { transform: translateY(clamp(14px, 2.6vw, 34px)); }
.gallery figure:nth-child(4) { transform: translateY(clamp(14px, 2.6vw, 34px)); }

@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(4) { transform: none; }
}

/* ---------- credits ---------- */

.credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.credit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  background: var(--cream);
}
.credit-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.credit-card p { font-size: 15px; color: var(--ink-soft); }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- privacy strip ---------- */

.assure {
  background: var(--aubergine);
  color: #f4efe6;
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.assure h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; color: #fff; }
.assure p { color: rgba(244, 239, 230, 0.78); max-width: 52ch; font-size: 15.5px; }
.assure ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.assure li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: rgba(244, 239, 230, 0.86);
}
.assure li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.assure .btn--ghost { border-color: rgba(244, 239, 230, 0.32); color: #f4efe6; }
.assure .btn--ghost:hover { border-color: #f4efe6; background: rgba(255, 255, 255, 0.06); }

@media (max-width: 780px) {
  .assure { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- faq ---------- */

.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p {
  padding: 0 8% 26px 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- cta / form ---------- */

.cta {
  text-align: center;
  padding-block: clamp(80px, 12vw, 168px);
  background:
    radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--champagne) 40%, transparent), transparent 62%),
    var(--cream);
}
.cta h2 {
  font-size: clamp(38px, 6.4vw, 82px);
  margin-bottom: 22px;
}
.cta .lede { margin-inline: auto; text-align: center; }

.signup {
  display: flex;
  gap: 10px;
  max-width: 470px;
  margin: 38px auto 0;
  flex-wrap: wrap;
}
.signup input {
  flex: 1 1 240px;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.signup input::placeholder { color: var(--taupe); }
.signup .btn { flex: 0 0 auto; }

.form-msg {
  margin: 18px auto 0;
  max-width: 470px;
  font-size: 14.5px;
  color: var(--ink-soft);
  min-height: 1.4em;
}
.form-msg[data-state="error"] { color: #a33d2a; }
@media (prefers-color-scheme: dark) {
  .form-msg[data-state="error"] { color: #e79079; }
}
.form-msg a { color: var(--gold); }

/* ---------- footer ---------- */

.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(52px, 7vw, 84px) 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 64px);
  margin-bottom: 52px;
}
.footer__blurb {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-top: 18px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.footer ul a:hover { color: var(--gold); }

.footer__base {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--taupe);
}

@media (max-width: 720px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- legal / prose pages ---------- */

.page-head {
  padding: clamp(56px, 8vw, 108px) 0 clamp(34px, 4vw, 52px);
  background: linear-gradient(180deg, var(--cream), var(--cream-deep));
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(40px, 6.4vw, 76px); margin-bottom: 16px; }
.page-head p { color: var(--taupe); font-size: 15px; }

.prose {
  max-width: 76ch;
  padding-block: clamp(48px, 6vw, 84px);
}
.prose h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 52px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.prose > .lede { margin-bottom: 44px; }
.prose h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 30px 0 8px;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 9px; }
.prose a { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 600; }

/* wide tables scroll inside their own box rather than pushing the page sideways */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.table-wrap table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 15px;
}
.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.table-wrap th {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  background: var(--paper);
}
.table-wrap tr:last-child td { border-bottom: 0; }

.prose code {
  font-size: 0.9em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
}

.callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 30px 0;
}
.callout p { margin: 0; font-size: 15.5px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  margin-top: 8px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  background: var(--paper);
}
.contact-card h3 { font-size: 20px; margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 22px; }
/* buttons line up across cards whatever the copy length */
.contact-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- reveal ---------- */

/* Content is hidden only once JS has confirmed it can reveal it again — see the
   inline guard in the page head. Without that class everything renders normally. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
