/* ============================================================
   Elyptis AI — shared design system
   Editorial Fieldnote · Issue No. 01 · Spring 2026
   ============================================================ */

/* ---- Design tokens ---------------------------------------- */
:root {
  --paper:        #F4EEE2;
  --paper-deep:   #EBE3D4;
  --paper-edge:   #DFD4BE;
  --ink:          #1D1917;
  --ink-soft:     #3A322C;
  --stone:        #6B5F52;
  --terracotta:      #B64926;
  --terracotta-deep: #8A3518;
  --forest:       #2F4A3A;
  --mustard:      #D4A21C;

  --rule:         rgba(29, 25, 23, 0.12);
  --focus-ring:   rgba(182, 73, 38, 0.28);

  --radius-sharp: 2px;
  --radius-soft:  12px;

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans:  'IBM Plex Sans', 'Helvetica Neue', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---- Reset + base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Paper grain overlay — fixed, screen-wide, subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Make real content sit above the grain */
body > * { position: relative; z-index: 2; }

a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 calc(100% - 2px);
  background-repeat: no-repeat;
  transition: background-size 240ms ease, color 200ms ease, background-image 200ms ease;
}
a:hover {
  color: var(--terracotta);
  background-image: linear-gradient(var(--terracotta), var(--terracotta));
  background-size: 100% 2px;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
h1 { font-weight: 500; }
h2 { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; letter-spacing: -0.01em; }
h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone);
  font-variation-settings: normal;
}

p { margin: 0 0 1em; max-width: 68ch; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }

/* Selection */
::selection { background: var(--terracotta); color: var(--paper); }

/* ---- Layout primitives ------------------------------------ */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Location strip (top of every page, subtle) ---------- */
.location-strip {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1px solid var(--paper-edge);
  text-align: center;
}
.location-strip .location-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 32px;
}
.location-strip .separator {
  color: var(--paper-edge);
  margin: 0 10px;
}
.location-strip .accent { color: var(--terracotta); }

/* ---- Header (logo + nav) ---------------------------------- */
header.site-header {
  border-bottom: 1px solid var(--paper-edge);
  padding: 22px 0;
}
header.site-header .header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 30px);
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 48;
  color: var(--ink);
  background-image: none;
}
.brand:hover { color: var(--ink); background-image: none; }
.brand .dot { color: var(--terracotta); }
.brand .ai { font-style: italic; color: var(--ink); }

nav.primary {
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  flex-wrap: wrap;
}
nav.primary a {
  color: var(--ink-soft);
  background-image: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 200ms, border-color 200ms;
}
nav.primary a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); background-image: none; }
nav.primary a.active { color: var(--ink); border-bottom-color: var(--terracotta); }

/* ---- CTAs ------------------------------------------------- */
.cta, .cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: var(--radius-sharp);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 200ms ease, background-color 200ms, color 200ms;
  background-image: none;
  white-space: nowrap;
}
.cta {
  background: var(--ink);
  color: var(--paper);
}
.cta:hover {
  background: var(--ink);
  color: var(--paper);
  background-image: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 0 var(--terracotta-deep), 0 12px 28px -14px rgba(29,25,23,0.35);
}
.cta:active { transform: translateY(0); box-shadow: 0 0 0 var(--terracotta-deep); }
.cta:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }

.cta-ghost {
  background: transparent;
  color: var(--ink);
}
.cta-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  background-image: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 0 var(--terracotta-deep), 0 12px 28px -14px rgba(29,25,23,0.35);
}

.cta .arrow, .cta-ghost .arrow { font-family: var(--serif); font-style: normal; font-size: 16px; line-height: 1; transform: translateY(-1px); }

/* Inline text link with arrow */
.link-arrow {
  color: var(--terracotta);
  font-weight: 500;
}
.link-arrow::after {
  content: ' →';
  transition: transform 200ms;
  display: inline-block;
}
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- Cards --------------------------------------------- */
.card {
  position: relative;
  background: var(--paper-deep);
  padding: 36px 32px 32px;
  border-radius: var(--radius-sharp);
  box-shadow: 0 1px 0 var(--paper-edge), 0 20px 48px -32px rgba(29,25,23,0.12);
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.card:hover {
  box-shadow: 0 1px 0 var(--paper-edge), 0 28px 56px -28px rgba(29,25,23,0.2);
  transform: translateY(-2px);
}

.card .folio {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--terracotta);
  margin-bottom: 16px;
  display: block;
}
.card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  font-variation-settings: "opsz" 48;
}
.card p { font-size: 15.5px; margin: 0; line-height: 1.55; }

/* ---- Hairline rule ---------------------------------------- */
.rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--terracotta);
  margin: 32px auto;
  border: none;
}
.rule.left { margin-left: 0; margin-right: 0; }
.rule.full { width: 100%; background: var(--paper-edge); }

/* ---- Small-caps kicker labels ----------------------------- */
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  margin: 0 0 20px;
  display: block;
}

/* ---- Section header --------------------------------------- */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--terracotta);
  margin: 0 0 16px;
  display: block;
}
.section-header {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.1;
  max-width: 20ch;
}
.section-lead {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 56px;
  font-variation-settings: "opsz" 18;
}

/* ---- Pull-quote / callout --------------------------------- */
.pullquote {
  border-left: 3px solid var(--terracotta);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "opsz" 48;
  max-width: 640px;
}
.pullquote.large {
  font-size: 28px;
  border-left-width: 4px;
  padding-left: 32px;
}

/* ---- Form fields (editorial paper-form style) ------------- */
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin-bottom: 8px;
  transition: color 200ms;
}
.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--stone);
  opacity: 0.7;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  padding: 10px 2px;
  outline: none;
  transition: border-color 200ms;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
  border-left: 1.5px solid var(--paper-edge);
  padding: 12px 14px;
  background: rgba(255,255,255,0.35);
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1 L 6 6 L 11 1' fill='none' stroke='%231D1917' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--terracotta);
  box-shadow: 0 3px 0 -1.5px var(--focus-ring);
}
.field input:focus + .field-hint,
.field:focus-within label {
  color: var(--terracotta);
}

.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

/* ---- Banners ---------------------------------------------- */
.banner {
  background: rgba(182, 73, 38, 0.08);
  border-left: 3px solid var(--terracotta);
  color: var(--ink);
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 14px;
  margin: 0 0 28px;
}
.banner.ok {
  background: rgba(47, 74, 58, 0.08);
  border-left-color: var(--forest);
}

/* ---- iMessage thread (signature component) ---------------- */
.imessage {
  max-width: 380px;
  margin: 32px 0;
  background: var(--paper-deep);
  padding: 24px 18px 20px;
  border-radius: var(--radius-soft);
  box-shadow: 0 1px 0 var(--paper-edge), 0 30px 60px -30px rgba(29,25,23,0.2);
  position: relative;
}
.imessage::before {
  content: 'MON · 2:47 PM';
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--stone);
  margin-bottom: 18px;
}
.imessage .bubble {
  max-width: 80%;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.35;
  margin-bottom: 8px;
  word-wrap: break-word;
}
.imessage .bubble.inbound {
  background: #E5E5EA;
  color: #1D1917;
  margin-right: auto;
  border-bottom-left-radius: 4px;
}
.imessage .bubble.outbound {
  background: #0B84FF;
  color: #FFFFFF;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  text-align: left;
}
.imessage .who {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin: 14px 4px 4px;
}
.imessage .who:first-child { margin-top: 0; }
.imessage .delivered {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: right;
  margin: -2px 4px 10px;
}
.imessage .annotation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--stone);
  margin: 8px 4px 14px;
  line-height: 1.5;
}

/* ---- Numbered step (sms-flow) ----------------------------- */
.steps { margin: 32px 0 48px; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.step:first-child { border-top: none; padding-top: 0; }
.step .folio {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--terracotta);
  padding-top: 6px;
  text-transform: uppercase;
}
.step .body strong {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.015em;
}
.step .body p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .step .folio { padding-top: 0; }
}

/* ---- Time ledger (book.html) ------------------------------ */
.ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 32px 0 16px;
}
.ledger .day-col { display: flex; flex-direction: column; gap: 4px; }
.ledger .day-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.005em;
}
.ledger .day-label .day-weekday {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--terracotta);
  font-style: normal;
  margin-bottom: 4px;
}
.ledger .slot-btn {
  background: transparent;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--paper-edge);
  border-radius: 0;
  padding: 12px 2px 12px 18px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: left;
  transition: color 180ms, border-bottom-color 180ms, padding-left 180ms;
  position: relative;
  font-variation-settings: "opsz" 18;
}
.ledger .slot-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background 180ms;
}
.ledger .slot-btn:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}
.ledger .slot-btn:hover::before { background: var(--paper-edge); }
.ledger .slot-btn.selected {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}
.ledger .slot-btn.selected::before { background: var(--terracotta); }
.ledger .slot-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.ledger-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--stone);
  margin-top: 24px;
  font-variation-settings: "opsz" 14;
}
@media (max-width: 720px) {
  .ledger { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Receipt card (sms-flow demo phone) ------------------- */
.receipt {
  max-width: 480px;
  margin: 32px 0;
  padding: 32px 36px;
  background: var(--paper);
  border: 1px dashed var(--ink);
  border-radius: var(--radius-sharp);
  text-align: center;
  position: relative;
}
.receipt .receipt-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.receipt .phone {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 16px;
  font-variation-settings: "opsz" 48;
}
.receipt .phone a { color: var(--ink); background-image: none; }
.receipt .phone a:hover { color: var(--terracotta); background-image: none; }
.receipt .receipt-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  font-variation-settings: "opsz" 14;
}
.receipt .receipt-caption strong { color: var(--ink); font-style: normal; font-weight: 500; }

/* ---- Footer colophon -------------------------------------- */
footer.colophon {
  border-top: 1px solid var(--paper-edge);
  margin-top: 80px;
  padding: 56px 0 48px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--stone);
}
footer.colophon .colophon-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
footer.colophon .composed {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
  margin-bottom: 4px;
}
footer.colophon .attribution {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 32px;
}
footer.colophon .links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
footer.colophon .col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone);
  margin: 0 0 12px;
}
footer.colophon .col a {
  display: block;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 6px;
  background-image: none;
}
footer.colophon .col a:hover { color: var(--terracotta); background-image: none; }
footer.colophon .legalmark {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Editorial body copy (for long-form pages) ------------ */
.editorial-body p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 64ch;
  font-variation-settings: "opsz" 14;
}
.editorial-body p strong { color: var(--ink); font-weight: 500; }
.editorial-body ul {
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}
.editorial-body ul li {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
  max-width: 64ch;
}
.editorial-body ul li::before {
  content: '●';
  color: var(--terracotta);
  position: absolute;
  left: 4px;
  top: 2px;
  font-size: 13px;
}
.editorial-body h2 {
  font-size: clamp(24px, 3.2vw, 30px);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  font-variation-settings: "opsz" 48;
  line-height: 1.2;
}
.editorial-body h2 .numeral {
  color: var(--terracotta);
  font-style: italic;
  margin-right: 10px;
  font-weight: 400;
}
.editorial-body h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin: 32px 0 10px;
}
.editorial-body .updated {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin-bottom: 48px;
}
.editorial-body a { color: var(--ink); font-weight: 500; }

/* Drop-cap for first paragraph after h1 */
.editorial-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 72px;
  line-height: 0.85;
  color: var(--terracotta);
  float: left;
  padding: 8px 10px 0 0;
  font-variation-settings: "opsz" 144;
}

/* ---- Motion ----------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  header.site-header { padding: 16px 0; }
  header.site-header .header-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  nav.primary { gap: 18px; font-size: 11.5px; }
  .masthead-strip .masthead-inner { padding: 10px 20px; font-size: 10px; gap: 12px; letter-spacing: 0.18em; }
  .masthead-strip .middle { text-align: right; }
  .brand { font-size: 24px; }
  .card { padding: 24px; }
  .card h4 { font-size: 20px; }
  .section-header { font-size: 26px; margin-bottom: 28px; }
  .pullquote { font-size: 19px; padding-left: 20px; }
  .pullquote.large { font-size: 22px; padding-left: 22px; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step .numeral { font-size: 36px; }
  .step .body strong { font-size: 17px; }
  footer.colophon { padding: 40px 0 32px; }
  footer.colophon .colophon-inner { padding: 0 20px; }
  footer.colophon .links-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .editorial-body p { font-size: 16.5px; }
  .editorial-body ul li { font-size: 16px; }
  .editorial-body > p:first-of-type::first-letter { font-size: 60px; }
}

@media (max-width: 420px) {
  .masthead-strip .left { flex-basis: 100%; }
  .imessage { max-width: 100%; }
}
