/* Jordinary Life, build 1 (10 Nov 2026). Palette "Stone and olive", chosen by Jordan 10 Nov 2026.
   Contrast (WCAG): Charcoal on Stone 12.5, Charcoal on Putty 11.0, Olive on Stone 5.9, Olive on Putty 5.2,
   Stone on Olive 5.9, Stone on Charcoal 12.5. Sand is never used for text on Stone or Putty (2.0 and 1.8, fails),
   and Olive is never put on Sand (2.9, fails). */

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/DMSerifDisplay-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-latin.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --stone: #F3F0EA;     /* main background */
  --putty: #E7E2D8;     /* alternate panels */
  --charcoal: #2B2B26;  /* text and wordmark */
  --olive: #5A5F3A;     /* buttons and links */
  --sand: #B9A98A;      /* soft shapes and accents only, never text */
  --serif: "DM Serif Display", Georgia, serif;   /* titles only, 28px or more */
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gap: clamp(20px, 4vw, 48px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 680px; }

/* Titles: DM Serif Display, never under 28px, never for numbers, prices, buttons or paragraphs. */
h1, h2, .wordmark { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 78px); }
h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 0.45em; }
h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 0.35em; }
.eyebrow {
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--olive); margin: 0 0 14px;
}
.lede { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.55; }

/* Header */
.site-header { border-bottom: 1px solid rgba(43, 43, 38, 0.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.wordmark { font-size: 30px; color: var(--charcoal); text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: clamp(14px, 3vw, 32px); align-items: center; font-size: 16px; font-weight: 600; }
.nav a { color: var(--charcoal); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--olive); }
.nav .nav-extra { display: none; }
@media (min-width: 720px) { .nav .nav-extra { display: inline; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 17px; font-weight: 650; line-height: 1;
  padding: 16px 26px; border-radius: 999px; text-decoration: none;
  background: var(--olive); color: var(--stone); border: 2px solid var(--olive);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--olive); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.panel { background: var(--putty); }
.dark { background: var(--charcoal); color: var(--stone); }
.dark a { color: var(--stone); }
.dark .eyebrow { color: var(--sand); }  /* Sand on Charcoal 6.2 */

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px); }
.hero .wrap { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { margin-bottom: 22px; }

/* Photos and the soft Sand shape behind them */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.photo.arch img { border-radius: 999px 999px var(--radius) var(--radius); }
.photo.shape::before {
  content: ""; position: absolute; z-index: -1; inset: 22px -18px -18px 22px;
  background: var(--sand); border-radius: 999px 999px var(--radius) var(--radius); opacity: 0.55;
}
.photo { isolation: isolate; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-11 { aspect-ratio: 1 / 1; }
figcaption { font-size: 14px; margin-top: 10px; }

/* Wide banner cut from a portrait photo (Jordan has no landscape photos) */
.banner { margin: 0; }
.banner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 720px) { .banner img { aspect-ratio: 21 / 8; } }

/* Two-column story rows */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.photo-right .photo { order: 2; }
  .split.wide-text { grid-template-columns: 0.8fr 1.2fr; }
}
.split .photo { max-width: 520px; width: 100%; margin-inline: auto; }
.dark .split .photo { max-width: 380px; }

/* Lists of points */
.points { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .points.two { grid-template-columns: 1fr 1fr; gap: 22px 40px; } }
.points li { padding-left: 22px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }

/* Cards */
.cards { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--stone); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.panel .card { background: var(--stone); }
section:not(.panel):not(.dark) .card { background: var(--putty); }
.card img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.card p:last-child { margin-bottom: 0; }
/* Santo Salt card: its own logo on its own forest green, the same size and shape as the photo cards (Jordan, round 2) */
.card .logo-tile { aspect-ratio: 4 / 3; border-radius: 12px; background: #0B4337; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .logo-tile img { width: 62%; height: auto; aspect-ratio: auto; border-radius: 0; margin: 0; object-fit: contain; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 650; }

/* Photo strip (scrolls sideways on a phone) */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-top: 32px; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
@media (min-width: 760px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; } }

/* The visible ASK placeholder: something not in the files, waiting on Jordan */
.ask {
  display: inline; background: var(--stone); color: var(--charcoal);
  border: 1.5px dashed var(--olive); border-radius: 6px; padding: 1px 7px;
  font-family: var(--sans); font-size: 0.82em; font-weight: 600; line-height: 1.7;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.panel .ask { background: var(--putty); }
.dark .ask { background: var(--charcoal); color: var(--stone); border-color: var(--sand); }
.ask-block { display: block; margin: 0 0 1em; padding: 10px 14px; }

/* The break between the audience and the numbers */
.the-break { background: var(--charcoal); color: var(--stone); padding-block: clamp(44px, 6vw, 72px); text-align: center; }
.the-break h2 { margin: 0; }
.the-break p { margin: 12px auto 0; max-width: 560px; }
.the-break .rule { width: 72px; height: 3px; background: var(--sand); border-radius: 3px; margin: 0 auto 22px; }

/* Numbers (Figtree only: the serif is never used for numbers) */
.stats { display: grid; gap: 14px; margin-top: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats.one { grid-template-columns: 1fr; max-width: 420px; }
.stat { background: var(--stone); border-radius: var(--radius); padding: 22px 22px 20px; }
.stat .num { font-family: var(--sans); font-weight: 750; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.02em; display: block; }
.stat .label { font-weight: 650; display: block; margin-top: 6px; }
.stat .note { font-size: 14px; display: block; margin-top: 4px; }
.source { font-size: 14px; margin-top: 18px; }

/* Per-platform demographic charts: one series each, direct-labelled, values in text */
.platforms { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 900px) { .platforms { grid-template-columns: 1fr 1fr; } }
.platform { background: var(--stone); border-radius: var(--radius); padding: 24px; }
.platform h3 { font-size: 20px; margin-bottom: 4px; }
.platform .sub { font-size: 14px; margin: 0 0 16px; }
.platform .key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; font-size: 15px; }
.platform .key b { font-size: 22px; font-weight: 750; display: block; line-height: 1.2; }
.chart { margin: 0 0 18px; }
.chart:last-child { margin-bottom: 0; }
.chart-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 8px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bars li { display: grid; grid-template-columns: 112px 1fr 52px; gap: 10px; align-items: center; font-size: 15px; }
.bars .track, .bars .fill { display: block; }
section:not(.panel) .platform, section:not(.panel) .result { background: var(--putty); }
.bars .track { height: 12px; border-radius: 0 4px 4px 0; background: transparent; position: relative; }
/* One shared scale on every chart (0 to 52%), so bars compare fairly across platforms. */
.bars .fill { width: calc(var(--v) / 52 * 100%); max-width: 100%; height: 100%; background: var(--olive); border-radius: 0 4px 4px 0; min-width: 2px; }
.bars li.muted .fill { background: var(--sand); }
.bars .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.bars li.core .lab { font-weight: 700; }
.nodata { font-size: 15px; margin: 0; padding: 10px 12px; border: 1px dashed rgba(43,43,38,0.35); border-radius: 8px; }

/* Results */
.results { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 860px) { .results { grid-template-columns: 1fr 1fr; } }
.result { background: var(--stone); border-radius: var(--radius); padding: 26px; }
.result h3 { font-size: 21px; margin-bottom: 2px; }
.result .since { font-size: 15px; margin: 0 0 14px; }
.result dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 0 0 12px; }
.result dt { font-size: 14px; }
.result dd { margin: 0; font-weight: 750; font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.result p { font-size: 16px; margin: 0; }

/* Partner list (proof) */
.partners { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.partners li { padding: 18px 0; border-top: 1px solid rgba(43, 43, 38, 0.16); display: grid; gap: 4px; }
@media (min-width: 760px) { .partners li { grid-template-columns: 220px 1fr; gap: 24px; } }
.partners li:last-child { border-bottom: 1px solid rgba(43, 43, 38, 0.16); }
.partners .name { font-weight: 750; }

/* Swap tiles */
.tiles { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--stone); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tile img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.tile .body { padding: 18px 20px 22px; }
.tile h3 { margin-bottom: 4px; }
.tile p { margin: 0; font-size: 16px; }
.tile.text-only { border: 1.5px solid var(--sand); background: transparent; justify-content: center; }

/* Pull line */
.pull { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; margin: 0 0 18px; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--stone); padding-block: 56px 40px; font-size: 16px; }
.site-footer a { color: var(--stone); }
.site-footer .wordmark { color: var(--stone); font-size: 34px; display: inline-block; margin-bottom: 18px; }
.site-footer .cols { display: grid; gap: 24px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(243, 240, 234, 0.2); font-size: 14px; }
.foot-title { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); margin: 0 0 10px; }

.center { text-align: center; }
.center .actions { justify-content: center; }
.mt0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
