/* Stay Aiware · "Journal surligné"
   Paper, ink rules, press serif, 1 to 3 highlighted passages per section.
   No gradients (except the highlighter), no shadows, no rounded corners. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F2EEE6;
  --paper-shade: #E5DFD3;
  --rule-light: #CFC8BA;
  --lead: #6A655C;
  --ink: #1B1A17;

  --tuned: #B63D25;
  --tuned-hl: #F3C2B0;
  --tuned-dark: #E2654A;
  --ahead: #3F6B4F;
  --ahead-hl: #C9DCC4;
  --curious: #2F5D8C;
  --curious-hl: #C5D7EB;

  --accent: var(--tuned);
  --hl: var(--tuned-hl);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: 20px;
  --col-gap: 24px;
  --section-space: clamp(72px, 12vw, 160px);
  --max: 1296px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
abbr[title] { text-decoration: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

mark {
  color: inherit;
  background: linear-gradient(180deg, transparent 38%, var(--hl) 38%, var(--hl) 92%, transparent 92%);
  padding: 0 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 12px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.caps {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--col-gap); }

@media (min-width: 640px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) {
  :root { --gutter: 72px; }
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.section { padding-block: var(--section-space) 0; }
.section-head { row-gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-label {
  display: flex; align-items: baseline; gap: 12px;
  padding-top: 14px; border-top: 3px solid var(--ink);
  margin-bottom: 20px; grid-column: 1 / -1;
}
.section-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--accent); }
.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.125rem, 6.2vw, 4rem); line-height: 1.02; letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-intro { max-width: 34em; color: var(--ink); }
@media (min-width: 1024px) {
  .section-head .section-title { grid-column: 1 / span 8; }
  .section-head .section-intro { grid-column: 9 / span 4; align-self: end; }
}

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 0;
  font: 600 0.8125rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button:hover { background: var(--tuned); border-color: var(--tuned); }
.button--outline { background: transparent; color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ---------- Masthead ---------- */
.masthead { border-bottom: 1px solid var(--ink); }
.masthead-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 56px; }
.masthead-handle { color: var(--lead); }
.nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px;
  font: 600 0.75rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
}
.nav a:hover { text-decoration: underline; text-underline-offset: 0.4em; }
.nav li:last-child a { padding-right: 0; }
@media (max-width: 479px) {
  .masthead-handle { display: none; }
  .masthead-bar { justify-content: center; }
  .nav { justify-content: center; }
  .nav a { padding-inline: 6px; font-size: 0.6875rem; letter-spacing: 0.08em; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 72px); }
.nameplate { width: 100%; max-width: 1000px; margin-inline: auto; }
.dateline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: clamp(20px, 3vw, 36px);
  padding-block: 12px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.dateline span:nth-child(2) { color: var(--lead); }
@media (max-width: 639px) { .dateline span:nth-child(2) { order: 3; width: 100%; } }

.hero-grid { row-gap: 28px; padding-top: clamp(40px, 7vw, 96px); }
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3rem, 11vw, 7.75rem); line-height: 0.98; letter-spacing: -0.015em;
}
.kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.hero-lead { margin-top: 14px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
@media (min-width: 1024px) {
  .hero-title { grid-column: 1 / span 8; }
  .hero-aside { grid-column: 9 / span 4; align-self: end; padding-bottom: 0.6rem; }
}

/* One soft entrance, only if motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .hero .container { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes rise { from { opacity: 0.001; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- The idea ---------- */
.idea-title { margin-bottom: 24px; }
.idea-text { display: grid; gap: 16px; font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.55; max-width: 36em; }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-weight: 600; color: var(--accent);
  font-size: 3.6em; line-height: 0.82; margin: 0.06em 0.08em 0 0;
}
@media (min-width: 1024px) {
  .idea-title { grid-column: 1 / span 5; }
  .idea-text { grid-column: 7 / span 6; padding-top: 0.5rem; }
}

/* ---------- Formats ---------- */
.format-list { row-gap: 56px; }
@media (min-width: 640px) and (max-width: 1023px) { .format-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .format { grid-column: span 4; } }

.format--tuned   { --fc: var(--tuned);   --hl: var(--tuned-hl); }
.format--ahead   { --fc: var(--ahead);   --hl: var(--ahead-hl); }
.format--curious { --fc: var(--curious); --hl: var(--curious-hl); }

.band {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: var(--fc); color: var(--paper);
  padding: 14px 16px 12px;
}
.band-name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.125rem); line-height: 1; }
.band-day { text-align: right; font-size: 0.6875rem; }
.format { display: flex; flex-direction: column; }
.cover { width: 100%; aspect-ratio: 4 / 5; background: var(--paper-shade); }
.format-fig { margin: 0; padding: 16px 16px 12px; background: var(--paper-shade); }

/* Covers: folded on small screens (native <details>), always open from 640px when JS runs */
.fig-toggle { margin-top: auto; }
.fig-summary {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 18px 0 14px;
  border: 1px solid currentColor; cursor: pointer; list-style: none;
}
.fig-summary::-webkit-details-marker { display: none; }
.fig-summary::before { content: "\002B"; font-family: var(--serif); font-size: 1.375rem; line-height: 1; font-weight: 500; }
.fig-toggle[open] > .fig-summary::before { content: "\2212"; }
.fig-toggle:not([open]) .fig-hide, .fig-toggle[open] .fig-show { display: none; }
.fig-summary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fig-toggle[open] > .fig-summary + * { margin-top: 16px; }
@media (min-width: 640px) {
  .js .fig-toggle > .fig-summary { display: none; }
  .js .fig-toggle[open] > .fig-summary + * { margin-top: 0; }
}
.format-fig .cover { border: 1px solid var(--rule-light); }
.format-fig figcaption { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 0.9375rem; color: var(--lead); }
.format-summary { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.2; margin-top: 20px; }
.format-inside { color: var(--fc); margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.format-items { margin-bottom: 28px; }
.format-items li { padding: 10px 0; border-bottom: 1px solid var(--rule-light); font-size: 0.9375rem; line-height: 1.45; }

/* Stay Alert: set apart, the only full-colour block */
.alert {
  margin-top: clamp(56px, 8vw, 96px);
  background: var(--tuned); color: var(--paper);
  padding: clamp(20px, 4vw, 48px);
  row-gap: 28px;
  --hl: var(--ink);
}
.alert-cover { border: 1px solid var(--paper); }
.alert .tag { display: inline-block; border: 1px solid var(--paper); padding: 6px 10px; }
.alert-name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.75rem, 7vw, 5rem); line-height: 1; margin-top: 20px; }
.alert-day { margin-top: 14px; padding-block: 10px; border-top: 1px solid var(--paper); border-bottom: 1px solid var(--paper); }
.alert-summary { font-family: var(--serif); font-weight: 600; font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.2; margin-top: 24px; max-width: 24em; }
.alert-items { counter-reset: n; margin-top: 24px; }
.alert-items li { counter-increment: n; display: grid; grid-template-columns: 2.25rem 1fr; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgb(242 238 230 / 0.45); }
.alert-items li::before { content: counter(n); font-family: var(--serif); font-weight: 600; font-size: 1.75rem; line-height: 1; }
.alert :focus-visible { outline-color: var(--paper); }
.alert .fig-summary:hover { background: var(--paper); color: var(--tuned); border-color: var(--paper); }
@media (max-width: 639px) { .alert-fig { order: 2; } }
@media (min-width: 640px) and (max-width: 1023px) { .alert { grid-template-columns: 2fr 3fr; } }
@media (min-width: 1024px) {
  .alert-fig { grid-column: 1 / span 4; }
  .alert-text { grid-column: 6 / span 7; align-self: center; }
}

/* ---------- The week (timeline) ---------- */
.timeline { border-top: 3px solid var(--ink); }
.day { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-light); }
.day-short { grid-row: span 2; padding-top: 0.35rem; }
.day-format { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.625rem; line-height: 1.1; color: var(--fc); }
.day-text { font-size: 0.9375rem; }
.day--tuned   { --fc: var(--tuned); }
.day--ahead   { --fc: var(--ahead); }
.day--curious { --fc: var(--curious); }
.day:not(.day--off) { box-shadow: none; border-left: 6px solid var(--fc); padding-left: 14px; }
.day--off { padding-block: 10px; color: var(--lead); padding-left: 20px; }
.day--off .day-text { font-style: italic; font-family: var(--serif); }

@media (min-width: 1024px) {
  .timeline { display: grid; grid-template-columns: 1.6fr 1.6fr 0.7fr 1.6fr 1.6fr 0.7fr 0.7fr; border-top: 0; }
  .day, .day:not(.day--off), .day--off {
    display: flex; flex-direction: column; gap: 10px;
    padding: 0 20px 28px 0; border-left: 0; border-bottom: 0;
    border-top: 3px solid var(--ink);
  }
  .day:not(.day--off) { border-top: 10px solid var(--fc); }
  .day-short { padding-top: 14px; }
  .day + .day { padding-left: 20px; border-left: 1px solid var(--rule-light); }
}
.week-alert { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 1.1875rem; }
.dot { flex: none; width: 12px; height: 12px; margin-top: 0.5em; border-radius: 50%; background: var(--tuned); } /* the logo's pastille, the only circle */

/* ---------- Follow: contents list + preview in each platform's format ---------- */
.pf { row-gap: 40px; align-items: start; }
.pf-list { margin: 0; padding: 0; border: 0; border-top: 3px solid var(--ink); min-width: 0; }
.pf-row { position: relative; border-bottom: 1px solid var(--ink); }
.pf-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pf-label {
  display: grid; grid-template-columns: 2.5rem auto minmax(1.5rem, 1fr) auto; align-items: baseline; column-gap: 12px;
  min-height: 64px; padding: 18px 4px 14px; cursor: pointer;
}
.pf-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1rem; color: var(--lead); }
.pf-name {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 4.4vw, 2.75rem); line-height: 1.05;
  background: linear-gradient(180deg, transparent 38%, var(--tuned-hl) 38%, var(--tuned-hl) 92%, transparent 92%) no-repeat left / 0% 100%;
  padding: 0 0.06em;
}
.pf-leader { border-bottom: 2px dotted var(--rule-light); transform: translateY(-0.3em); }
.pf-handle { font: 600 0.75rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lead); }

.pf-label:hover .pf-leader { border-bottom-color: var(--ink); }
.pf-label:hover .pf-handle { color: var(--ink); }
.pf-radio:checked + .pf-label .pf-name { background-size: 100% 100%; }
.pf-radio:checked + .pf-label .pf-num { color: var(--tuned); }
.pf-radio:checked + .pf-label .pf-handle { color: var(--ink); }
.pf-radio:focus-visible + .pf-label { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .pf-name { transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@media (max-width: 479px) {
  .pf-label { grid-template-columns: 2rem 1fr auto; }
  .pf-leader { display: none; }
}

/* Only the selected platform's panel shows. Browsers without :has() show all three. */
.pf-panel { display: none; }
.follow:has(#pf-instagram:checked) .pf-panel--instagram,
.follow:has(#pf-tiktok:checked) .pf-panel--tiktok,
.follow:has(#pf-linkedin:checked) .pf-panel--linkedin { display: grid; }
@supports not selector(:has(*)) { .pf-panel { display: grid; margin-bottom: 40px; } }

.pf-panel { gap: 24px; }
.pf-figure { margin: 0; }
.pf-stage {
  display: flex; align-items: center; justify-content: center;
  height: clamp(360px, 52vw, 460px); padding: 20px;
  background: var(--paper-shade);
}
.pf-figure figcaption { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 0.9375rem; color: var(--lead); }
.pf-role { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; margin-bottom: 18px; max-width: 26em; }

@media (min-width: 1024px) {
  .pf-list { grid-column: 1 / span 6; }
  .pf-panels { grid-column: 8 / span 5; }
}

/* Instagram: 4:5 cover + carousel dots */
.pf-ig { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pf-ig img { height: calc(100% - 16px); width: auto; aspect-ratio: 4 / 5; border: 1px solid var(--rule-light); }
.pf-ig-dots { display: flex; gap: 6px; }
.pf-ig-dots i { width: 6px; height: 6px; background: var(--rule-light); }
.pf-ig-dots i:first-child { background: var(--ink); }

/* TikTok: a 9:16 slide recomposed in HTML (sizes follow the slide width) */
.pf-tt {
  --hl: var(--curious-hl);
  container-type: inline-size;
  height: 100%; aspect-ratio: 9 / 16;
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--rule-light);
}
.pf-tt-band { display: flex; justify-content: space-between; align-items: flex-end; height: 24%; padding: 0 7cqw 5cqw; background: var(--curious); color: var(--paper); }
.pf-tt-name { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 12cqw; line-height: 0.9; }
.pf-tt-no { font-family: var(--serif); font-size: 7cqw; }
.pf-tt-date { display: flex; justify-content: space-between; margin: 0 7cqw; padding: 3cqw 0; border-bottom: 1px solid var(--ink); font: 600 3.4cqw/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.pf-tt-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 7cqw; }
.pf-tt-term { font-family: var(--serif); font-weight: 600; font-size: 26cqw; line-height: 1; letter-spacing: -0.02em; }
.pf-tt-noun { margin-top: 2cqw; font-family: var(--serif); font-style: italic; font-size: 5.5cqw; color: var(--lead); }
.pf-tt-q { margin-top: 8cqw; font-family: var(--serif); font-weight: 600; font-size: 10cqw; line-height: 1.05; }
.pf-tt-foot { display: flex; justify-content: space-between; align-items: center; margin: 0 7cqw 22%; padding-top: 3cqw; border-top: 2px solid var(--ink); font: 600 3.2cqw/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.pf-tt-foot img { width: 34cqw; height: auto; }

/* LinkedIn: the cover as page 1 of a PDF document */
.pf-li { height: 100%; aspect-ratio: 4 / 5.4; display: flex; flex-direction: column; border: 1px solid var(--ink); background: var(--paper); }
.pf-li-bar { display: flex; justify-content: space-between; gap: 16px; padding: 6px 10px; background: var(--ink); color: var(--paper); font: 600 0.6875rem/1.4 var(--sans); letter-spacing: 0.1em; }
.pf-li-file { font-family: var(--mono); font-weight: 400; letter-spacing: 0; text-transform: none; }
.pf-li img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }

/* ---------- Contact ---------- */
.contact-intro { margin-bottom: 40px; }
.contact-intro .section-title { margin-bottom: 20px; }
.contact-intro p:last-child { max-width: 28em; }
@media (min-width: 1024px) {
  .contact-intro { grid-column: 1 / span 5; }
  .contact-form { grid-column: 7 / span 6; padding-top: 14px; border-top: 3px solid var(--ink); }
  .contact-intro .section-label { border-top-width: 3px; }
}

.field { display: grid; gap: 6px; margin-bottom: 22px; }
.field label { font-weight: 600; }
.req { font-weight: 400; color: var(--lead); font-size: 0.875rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: #FBF9F5; border: 1px solid var(--ink); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: 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='%231B1A17' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--tuned); outline-offset: 2px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--tuned); border-width: 2px; }
.field-hint { font-size: 0.875rem; color: var(--lead); }
.field-error { font-size: 0.9375rem; font-weight: 600; color: var(--tuned); }
.field-error:empty { display: none; }
.field--check { grid-template-columns: 28px 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); }
.field--check label { font-weight: 400; font-size: 0.9375rem; }
.field--check .field-error { grid-column: 2; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-summary { border: 1px solid var(--tuned); border-left-width: 6px; padding: 12px 16px; margin-bottom: 24px; font-weight: 600; }
.form-status { margin-top: 16px; }
.form-status.is-success {
  border: 1px solid var(--ink); border-left: 6px solid var(--ahead);
  padding: 14px 16px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3;
}

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section-space); background: var(--ink); color: var(--paper); padding-block: 56px 40px; }
.site-footer :focus-visible { outline-color: var(--paper); }
.footer-grid { display: grid; gap: 36px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 200px; }
.footer-tagline { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.footer-head { margin-bottom: 8px; color: var(--rule-light); }
.footer-nav li a, .footer-legal li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-copy { margin-top: 16px; color: var(--rule-light); }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .footer-brand { grid-column: 1 / span 5; }
  .footer-nav { grid-column: 7 / span 3; }
  .footer-legal { grid-column: 10 / span 3; }
}

/* ---------- Simple pages (legal, 404) ---------- */
.page-head { border-bottom: 1px solid var(--ink); }
.page-head .masthead-bar { justify-content: space-between; }
.page-head img { width: 144px; }
.prose { max-width: 42em; padding-block: clamp(48px, 8vw, 96px) 0; }
.prose h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.05; margin-bottom: 24px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 40px 0 10px; padding-top: 12px; border-top: 1px solid var(--ink); }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose .updated { margin-top: 40px; color: var(--lead); }
.prose li { margin-bottom: 4px; }
.todo { background: var(--tuned-hl); padding: 0 0.2em; }

/* ---------- Small screens: more air between and inside sections ---------- */
@media (max-width: 639px) {
  :root { --section-space: 128px; }
  .hero-grid { row-gap: 40px; padding-top: 48px; }
  .section-head { margin-bottom: 56px; }
  .section-label { margin-bottom: 28px; }
  .idea-title { margin-bottom: 32px; }
  .idea-text { gap: 24px; }
  .format-list { row-gap: 96px; }
  .band { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 16px 14px; }
  .band-day { text-align: left; }
  .format-summary { margin-top: 24px; }
  .format-inside { margin-top: 24px; }
  .format-items { margin-bottom: 32px; }
  .format-items li { padding: 12px 0; }
  .alert { margin-top: 112px; padding: 28px 20px 32px; row-gap: 32px; }
  .alert-summary, .alert-items { margin-top: 28px; }
  .day { padding-block: 22px; }
  .day--off { padding-block: 14px; }
  .week-alert { margin-top: 36px; }
  .pf { row-gap: 56px; }
  .pf-label { min-height: 72px; padding-block: 22px 18px; }
  .pf-role { margin-bottom: 24px; }
  .contact-intro { margin-bottom: 56px; }
  .field { margin-bottom: 30px; }
  .site-footer { padding-block: 72px 48px; }
  .footer-grid { gap: 48px; }
}
