/* ==========================================================================
   Pause — justapause.app
   --------------------------------------------------------------------------
   The marketing and guides site. One stylesheet, linked (not inlined) because
   this site is many pages deep and served from the root of a custom domain, so
   one cached file beats a copy per document.

   The legal documents (/privacy/, /terms/, /support/) keep their own
   stylesheet, assets/css/pause.css — see README.

   Tokens below come from the approved Tired-dawn design. Two breakpoints and
   no more: 860px (the layout folds to one column) and 620px (row grids that
   still hold at 700px finally stack).
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */

:root {
  /* Paper */
  --cream:        #faf5ef;  /* the page                                    */
  --cream-warm:   #fffbf7;  /* guides band, mobile menu                    */
  --cream-deep:   #f4eae2;  /* "what do you need right now"                */
  --dark:         #2a2333;  /* short pauses for real life                  */

  /* Ink */
  --ink:          #2c2438;
  --ink-2:        #4a4256;
  --ink-3:        #5d5468;
  /* One step deeper than the design's muted greys. Both of these carry real
     text — the medical note, the footer's legal links, section subtitles — and
     the design values sat at 4.3:1 and 3.2:1 on cream. */
  --ink-4:        #6f667c;
  --ink-5:        #736b7f;
  --ink-on-dark:  #f6ece4;
  --ink-on-dark-2:#cfc3cd;

  /* Tired accents. --accent-ink is the same mauve deepened for small text,
     the rule the app already applies to its light-theme accents; --accent-soft
     is decorative only (the mark, arrows, list markers) and never carries
     text a reader has to make out. */
  --accent:       #9a6b7c;
  --accent-ink:   #8a5c6d;  /* links, eyebrows, kickers                    */
  --accent-soft:  #b98b99;  /* the mark, arrows, markers                   */
  --accent-dark:  #c9a3ae;  /* the same voice on the dark band             */
  --accent-hover: #463b56;

  /* Rules — always a tint of the ink, never a grey */
  --rule:         rgba(44, 36, 56, .15);
  --rule-soft:    rgba(44, 36, 56, .13);
  --rule-faint:   rgba(44, 36, 56, .07);
  --rule-on-dark: rgba(246, 236, 228, .16);

  /* Type */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Measure */
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: clamp(64px, 8vw, 82px);

  /* Section rhythm */
  --pad-y: clamp(56px, 9vw, 130px);
  --pad-y-band: clamp(52px, 8vw, 120px);
}

/* ── Reset & base ───────────────────────────────────────────────────────── */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Nothing on this site is meant to scroll sideways. If a child ever
     overhangs, clip it rather than handing the reader a horizontal bar. */
  overflow-x: clip;
}

/* Older engines without overflow: clip still need the old behaviour. */
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

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

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 { font-weight: 400; margin: 0; }

p, ul, ol { margin: 0; }

::selection { background: #efdde1; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 6px 0;
  font-size: 14px;
  font-weight: 600;
}
.skip:focus { left: 0; color: var(--cream); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ── Shared shapes ──────────────────────────────────────────────────────── */

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

.section { padding-block: var(--pad-y); }
.band { padding-block: var(--pad-y-band); }

.band--tint {
  background: var(--cream-deep);
  border-top: 1px solid var(--rule-faint);
  border-bottom: 1px solid var(--rule-faint);
}
.band--paper {
  background: var(--cream-warm);
  border-top: 1px solid var(--rule-faint);
  border-bottom: 1px solid var(--rule-faint);
}
.band--dark {
  background: var(--dark);
  color: var(--ink-on-dark);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 600;
}
.band--dark .eyebrow { color: var(--accent-dark); }

.display { font-family: var(--display); letter-spacing: -.015em; }

.t-h1 {
  font-family: var(--display);
  font-size: clamp(38px, 6.6vw, 84px);
  line-height: 1.03;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.t-h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.t-h2--tight {
  font-size: clamp(27px, 3.3vw, 46px);
  line-height: 1.18;
}
.t-h3 {
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.2;
}

.lede {
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.68;
  color: var(--ink-3);
  text-wrap: pretty;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(26px, 4vw, 48px);
}
.section-head p { margin: 0; font-size: 14.5px; color: var(--ink-4); }

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { flex: none; }

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

.btn--outline {
  border-color: rgba(44, 36, 56, .22);
  color: var(--ink);
  padding: 12px 20px;
  font-size: 14px;
}
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }

.btn--sm { padding: 12px 22px; font-size: 14px; }

/* An underlined text link that keeps its rule on hover rather than losing it */
.link-rule {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  padding: 15px 0 13px;
  font-size: 15px;
  border-bottom: 1px solid rgba(44, 36, 56, .28);
  transition: color .25s ease, border-color .25s ease;
}
.link-rule:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

.link-quiet {
  font-size: 14.5px;
  border-bottom: 1px solid rgba(154, 107, 124, .4);
  padding-bottom: 2px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .5s ease, border-color .5s ease;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

/* Solid from the first pixel on pages that do not open with the artwork. */
.site-header--solid,
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(250, 245, 239, .9);
  border-bottom-color: rgba(44, 36, 56, .1);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.site-header.is-open { background: var(--cream-warm); }

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
  flex: none;
}
.wordmark__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: block;
  transform: translateY(-2px);
}
.wordmark__name {
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  font-size: 15px;
}
.site-nav a { color: var(--ink-3); }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .btn { color: var(--cream); }
.site-nav .btn:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(44, 36, 56, .18);
  background: rgba(255, 251, 247, .55);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 14px; }
.nav-toggle__bars span { height: 1.5px; background: var(--ink); display: block; }

.mobile-nav {
  display: none;
  background: var(--cream-warm);
  border-top: 1px solid rgba(44, 36, 56, .08);
  padding: 10px var(--gutter) 26px;
}
.mobile-nav__inner {
  max-width: var(--shell);
  margin-inline: auto;
  display: grid;
  gap: 2px;
}
.mobile-nav a {
  font-family: var(--display);
  font-size: 26px;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid rgba(44, 36, 56, .08);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .btn {
  margin-top: 14px;
  font-family: var(--body);
  font-size: 15px;
  padding: 16px;
  color: var(--cream);
  border-bottom: 0;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(700px, 100vh, 1060px);
  min-height: clamp(700px, 100svh, 1060px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(108px, 14vh, 178px);
  overflow: hidden;
  text-align: center;
}
.hero__art,
.hero__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 76%;
  z-index: 0;
}
/* The wash that dissolves the artwork into the page, top and bottom. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    var(--cream) 0%,
    rgba(250, 245, 239, .8) 5%,
    rgba(250, 245, 239, .44) 14%,
    rgba(250, 245, 239, .12) 25%,
    rgba(250, 245, 239, 0) 40%,
    rgba(250, 245, 239, 0) 74%,
    rgba(250, 245, 239, .34) 90%,
    var(--cream) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero h1 { margin: 0 auto; max-width: 16ch; }
.hero .eyebrow { margin: 0 0 clamp(18px, 3vw, 30px); }
.hero__lede {
  margin: clamp(20px, 3vw, 30px) auto 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__actions {
  margin-top: clamp(28px, 4vw, 42px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.hero__actions .link-rule { margin: 0 6px; }

/* The shorter hero the interior pages open with. */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(34px, 6vw, 70px));
  padding-bottom: clamp(30px, 5vw, 56px);
}
.page-hero h1 {
  margin: 14px 0 0;
  max-width: 20ch;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.02em;
  text-wrap: balance;
}
/* Articles put the headline on the body's measure so the two share a left
   edge; every other page keeps the wider editorial hero. */
.page-hero--narrow > * {
  max-width: 720px;
  margin-inline: auto;
}
.page-hero--narrow h1,
.page-hero--narrow .page-hero__lede { max-width: 720px; margin-inline: auto; }

.page-hero__lede {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  max-width: 54ch;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */

.breadcrumb {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink-4);
}
.breadcrumb ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--rule); }
.breadcrumb a { color: var(--ink-4); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink-3); }

/* ── "The idea" — two columns, list on the right ────────────────────────── */

.idea {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.idea h2 { max-width: 24ch; text-wrap: pretty; }
.idea .eyebrow { margin: 0 0 22px; }
.idea__note { margin: clamp(20px, 2.4vw, 30px) 0 0; max-width: 52ch; }

/* A stack of statements divided by hairlines. No cards, no bullets. */
.rule-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--ink-2);
}
.rule-list li {
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
}
.rule-list li:last-child { border-bottom: 1px solid var(--rule-soft); }

/* ── "What do you need right now?" ──────────────────────────────────────── */

.needs { display: grid; }
.needs__row {
  display: grid;
  grid-template-columns: 38px minmax(0, 8.5fr) minmax(0, 9fr);
  gap: clamp(6px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  transition: background-color .25s ease;
}
.needs__row:last-child { border-bottom: 1px solid var(--rule); }
.needs__row:hover { background: rgba(255, 251, 247, .55); }
.needs__num {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--accent-ink);
  font-weight: 600;
}
.needs__name {
  font-family: var(--display);
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.1;
}
.needs__what {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  color: var(--ink-3);
  line-height: 1.6;
}

/* ── App showcase ───────────────────────────────────────────────────────── */

.showcase {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.showcase h2 { max-width: 20ch; }
.showcase .eyebrow { margin: 0 0 22px; }
.showcase__note { margin: 24px 0 0; max-width: 46ch; }
.showcase__list {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
}
.showcase__list div {
  padding: 13px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 15.5px;
}
.showcase__stage {
  position: relative;
  display: flex;
  justify-content: center;
}
/* The one piece of decoration on the page: the bloom the app itself uses. */
.showcase__stage::before {
  content: "";
  position: absolute;
  width: 118%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(239, 221, 225, .95) 0%,
    rgba(246, 217, 188, .42) 42%,
    rgba(250, 245, 239, 0) 72%);
  z-index: 0;
}
.showcase__stage > * { position: relative; z-index: 1; }

/* ── PhoneMockup ────────────────────────────────────────────────────────── */
/*
   An iPhone Pro Max frame drawn entirely in CSS around a raw screenshot. The
   screenshot is never composited into a PNG — swap the file and the frame
   still fits, because every dimension below is a ratio of --phone-w.

   Proportions: 440x956pt display, 55pt display corner radius, and a Dynamic
   Island 125x36.7pt sitting 14pt from the top — the same numbers a device
   screenshot is captured at, so an island already baked into a screenshot
   lands underneath this one exactly.
*/
.phone {
  /* --phone-cap is what a page asks for via <PhoneMockup width="…">.
     --phone-w is what the layout actually gets, so a narrow viewport can
     override the request without the frame's proportions drifting. */
  --phone-cap: 300px;
  --phone-w: min(var(--phone-cap), 100%);
  --bezel: calc(var(--phone-w) * .0265);
  margin: 0;
  width: var(--phone-w);
  flex: none;
}
.phone__body {
  position: relative;
  padding: var(--bezel);
  border-radius: calc(var(--phone-w) * .148);
  background: linear-gradient(150deg, #4b4356 0%, #241d2d 34%, #3b3346 68%, #221b2a 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .18) inset,
    0 24px 60px -28px rgba(44, 36, 56, .5);
}
.phone__screen {
  position: relative;
  display: block;
  aspect-ratio: 440 / 956;
  border-radius: calc(var(--phone-w) * .1215);
  overflow: hidden;
  background: #efe6ee;
}
/* <picture> is an auto-height wrapper, so an <img> inside it cannot resolve
   height: 100% against it. Give the wrapper the box instead. */
.phone__screen > picture {
  position: absolute;
  inset: 0;
  display: block;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
.phone__island {
  position: absolute;
  top: 1.464%;
  left: 50%;
  transform: translateX(-50%);
  width: 28.56%;
  height: 3.835%;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

/* One, two, or three phones in a row. Side phones step down and back so the
   group reads as a composition rather than a screenshot carousel. */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2.5vw, 30px);
}
.phones .phone { --phone-cap: 260px; }
.phones--two .phone:nth-child(2),
.phones--three .phone:nth-child(3) { margin-top: clamp(22px, 4vw, 52px); }
.phones--three .phone:nth-child(2) { z-index: 1; }
.phones--three .phone { --phone-cap: 210px; }

/* ── Short pauses for real life ─────────────────────────────────────────── */

.moments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(30px, 5vw, 70px);
}
.moments > * {
  margin: 0;
  padding: clamp(16px, 2vw, 22px) 0;
  border-top: 1px solid var(--rule-on-dark);
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.22;
}
.moments > *:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule-on-dark); }
.moments__italic { font-style: italic; }
.moments__note {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-on-dark-2);
  align-self: center;
}
.band--dark .eyebrow { margin: 0 0 clamp(26px, 4vw, 46px); }

/* ── Features ───────────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(30px, 5vw, 72px);
}
.features a {
  display: block;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.features a:hover { color: var(--accent-ink); }
.features a:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
.features h3 { margin: 0 0 8px; }
.features h3 span {
  font-family: var(--body);
  font-size: 14px;
  color: var(--accent-soft);
}
.features p { font-size: 15.5px; line-height: 1.62; color: var(--ink-3); }

/* ── Guides ─────────────────────────────────────────────────────────────── */

.guides-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 76px);
}
.guide-lead { display: block; color: var(--ink); }
.guide-lead:hover { color: var(--accent-ink); }
.guide-lead h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.13;
  letter-spacing: -.01em;
}
.guide-lead p {
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.66;
  color: var(--ink-3);
  max-width: 44ch;
}
.guide-kicker {
  margin: 0 0 14px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 600;
}

.guide-rows { display: grid; }
.guide-rows a {
  display: block;
  padding: 16px 0;
  border-top: 1px solid rgba(44, 36, 56, .14);
  color: var(--ink);
}
.guide-rows a:last-child { border-bottom: 1px solid rgba(44, 36, 56, .14); }
.guide-rows a:hover { color: var(--accent-ink); }
.guide-rows .guide-kicker { margin: 0 0 5px; letter-spacing: .18em; }
.guide-rows p:last-child {
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.25;
}

/* The guides index: a reading list, not a wall of cards. */
.guide-index { display: grid; }
.guide-index__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(8px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  transition: background-color .25s ease;
}
.guide-index__item:last-child { border-bottom: 1px solid var(--rule); }
.guide-index__item:hover { background: rgba(255, 251, 247, .55); }
.guide-index__item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.16;
  letter-spacing: -.01em;
}
.guide-index__item p {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.62;
  color: var(--ink-3);
}
.guide-index__group + .guide-index__group { margin-top: clamp(30px, 4vw, 54px); }
.guide-index__group > .eyebrow { display: block; margin: 0 0 clamp(10px, 1.4vw, 15px); }

/* ── Closing CTA ────────────────────────────────────────────────────────── */

.closing {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 62vh, 660px);
  display: flex;
  align-items: center;
  text-align: center;
}
.closing__art,
.closing__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
}
.closing__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--cream) 0%,
    rgba(250, 245, 239, .6) 18%,
    rgba(250, 245, 239, .12) 45%,
    rgba(250, 245, 239, .5) 82%,
    var(--cream) 100%);
}
.closing__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
}
.closing h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.closing h2 em { font-style: italic; }
.closing__actions {
  margin-top: clamp(26px, 3.5vw, 38px);
  display: flex;
  justify-content: center;
}
.closing .btn { padding: 16px 28px; font-size: 15.5px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--cream);
  border-top: 1px solid rgba(44, 36, 56, .1);
}
.site-footer__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: clamp(28px, 5vw, 60px);
  padding-block: clamp(38px, 5vw, 64px) clamp(26px, 3vw, 36px);
}
.site-footer__tagline {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-4);
  font-style: italic;
}
.site-footer nav {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  align-content: start;
}
.site-footer nav a { color: var(--ink-3); }
.site-footer nav a:hover { color: var(--ink); }
.site-footer__legal {
  padding-bottom: clamp(30px, 4vw, 44px);
  font-size: 12.5px;
  color: var(--ink-5);
}
.site-footer .wordmark__name { font-size: 23px; }
.site-footer .wordmark__dot { width: 8px; height: 8px; }

/* ── Long-form article ──────────────────────────────────────────────────── */

.article { padding-bottom: clamp(40px, 6vw, 72px); }
.article__inner { max-width: 720px; margin-inline: auto; }

.prose { font-size: 17.5px; line-height: 1.72; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-family: var(--display);
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--ink);
  margin-top: clamp(38px, 5vw, 62px);
}
.prose h3 {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
  color: var(--ink);
  margin-top: clamp(26px, 3vw, 38px);
}
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--accent-soft); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { border-bottom: 1px solid rgba(154, 107, 124, .35); }
.prose a:hover { border-color: var(--ink); }
.prose blockquote {
  margin: clamp(28px, 4vw, 40px) 0;
  padding-left: clamp(18px, 3vw, 28px);
  border-left: 1px solid var(--rule);
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
  color: var(--ink);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--rule-soft);
  margin: clamp(34px, 5vw, 54px) 0;
}

/* A feature callout — a hairline block, not a coloured card. */
.callout {
  margin: clamp(34px, 5vw, 52px) 0;
  padding: clamp(22px, 3vw, 30px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.callout .eyebrow { display: block; margin-bottom: 12px; }
.callout p {
  font-family: var(--display);
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 34ch;
}
.callout p + p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
  margin-top: 10px;
  max-width: 52ch;
}
.callout a { margin-top: 14px; display: inline-block; }

/* FAQ — plain headings and answers. Only ever rendered when the page really
   has these questions on it; there is no schema-only version. */
.faq { display: grid; }
.faq__item {
  padding: clamp(18px, 2.2vw, 24px) 0;
  border-top: 1px solid var(--rule-soft);
}
.faq__item:last-child { border-bottom: 1px solid var(--rule-soft); }
.faq__item h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.25;
}
.faq__item p { font-size: 16.5px; line-height: 1.65; color: var(--ink-3); }

.article-note {
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--rule-faint);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-5);
}

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
/*
   Deliberately opt-in from JavaScript: the class only lands on <html> once the
   script runs, so with JS off or broken every section is simply visible.
*/
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1),
              transform .9s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   860px — the layout folds to one column and the menu takes over
   ========================================================================== */

@media (max-width: 859px) {
  body { font-size: 16.5px; }

  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .mobile-nav { display: block; }

  /* The phone crop: further right and higher than the desktop framing, so the
     ridge and the warm part of the sky both survive a portrait viewport. */
  .hero__art img { object-position: 56% 72%; }
  .hero {
    min-height: clamp(620px, 100svh, 860px);
    padding-top: calc(var(--header-h) + clamp(28px, 8vh, 64px));
  }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; padding: 17px 24px; font-size: 16px; }
  .hero__actions .link-rule {
    justify-content: center;
    margin: 4px auto 0;
    align-self: center;
  }

  .idea,
  .showcase,
  .moments,
  .features,
  .guides-split { grid-template-columns: 1fr; }

  .showcase { gap: clamp(34px, 8vw, 48px); }
  .showcase__stage { order: -1; }
  .showcase__stage::before { width: 108%; }

  .moments > *:nth-last-child(-n+2) { border-bottom: 0; }
  .moments > *:last-child { border-bottom: 1px solid var(--rule-on-dark); }

  .features a:nth-last-child(-n+2) { border-bottom: 0; }
  .features a:last-child { border-bottom: 1px solid var(--rule); }

  .guides-split { gap: clamp(34px, 7vw, 48px); }

  .guide-index__item { grid-template-columns: 1fr; gap: 8px; }

  .site-footer__row { grid-template-columns: 1fr 1fr; }
  .site-footer__row > :first-child { grid-column: 1 / -1; }
  .site-footer__row > :last-child { grid-column: 1 / -1; }

  .phone { --phone-w: min(74vw, var(--phone-cap)); }
  .phones { gap: 12px; }
  .phones .phone { --phone-w: min(42vw, var(--phone-cap)); }
  .phones--three .phone { --phone-w: min(29vw, var(--phone-cap)); }

  .prose { font-size: 17px; }
  .closing { min-height: clamp(400px, 70svh, 560px); }
}

/* ==========================================================================
   620px — the last two-up grids stack
   ========================================================================== */

@media (max-width: 619px) {
  .needs__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .needs__num { order: -1; }

  .showcase__list { grid-template-columns: 1fr 1fr; }

  .phones--three { flex-wrap: wrap; }
  .phones--three .phone { --phone-w: min(44vw, var(--phone-cap)); }
  .phones--three .phone:nth-child(3) { margin-top: 0; }

  .section-head { gap: 10px; }
  .site-footer__row { gap: 30px; }
}
