/* ==========================================================================
   Sovereign Terminal — Anchor Asset View
   Ivory paper · midnight ink · brass detail
   --------------------------------------------------------------------------
   1. Tokens & base        6. Publications      11. Story (single)
   2. Layout & type        7. Steps             12. Pages & archives
   3. Buttons & chips      8. Trust             13. Footer
   4. Header               9. Newsroom & cards  14. Cookie banner
   5. Hero                10. About + form/CF7  15. Motion & utilities
   ========================================================================== */

/* 1. TOKENS & BASE ======================================================== */
:root {
  --paper: #f7f4ee;
  --paper-2: #efe9de;
  --surface: #ffffff;
  --ink: #0b1424;
  --ink-2: #3a4556;
  --muted: #6c7484;
  --line: #e3dcce;
  --line-strong: #d2c8b5;

  --midnight: #0b1424;
  --midnight-2: #13213a;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.7);
  --on-dark-3: rgba(255, 255, 255, 0.5);
  --line-dark: rgba(255, 255, 255, 0.12);

  --brass: #c8a46a;
  --brass-2: #e3c897;
  --brass-ink: #8a6a35;
  --brass-soft: rgba(200, 164, 106, 0.14);

  --danger: #b4412f;
  --success: #2f7a55;

  --serif: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1240px;
  --narrow: 760px;
  --gutter: 24px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11, 20, 36, 0.05), 0 2px 8px rgba(11, 20, 36, 0.04);
  --shadow-md: 0 2px 4px rgba(11, 20, 36, 0.04), 0 12px 32px -8px rgba(11, 20, 36, 0.12);
  --shadow-lg: 0 4px 10px rgba(11, 20, 36, 0.05), 0 30px 60px -18px rgba(11, 20, 36, 0.28);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 2. LAYOUT & TYPE ======================================================== */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

.section { padding: 112px 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--flush { padding-top: 0; }
.section--dark {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(200, 164, 106, 0.12), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(79, 124, 172, 0.12), transparent 70%),
    var(--midnight);
  color: var(--on-dark);
}
@media (max-width: 760px) { .section { padding: 76px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--light { color: var(--brass); }

.section-title {
  font: 600 clamp(1.85rem, 3vw, 2.6rem)/1.12 var(--serif);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-title--sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px; flex-wrap: wrap;
  margin-bottom: 56px;
}
/* The title block keeps its one-line width; the side text drops below it when both don't fit. */
.section-head > div { flex: 0 1 auto; min-width: 0; }
.section-head__text { flex: 0 1 420px; max-width: 460px; margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-foot { margin: 40px 0 0; }

.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: -0.01em; }

/* 3. BUTTONS & CHIPS ====================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--midnight-2); box-shadow: 0 8px 22px -8px rgba(11, 20, 36, 0.55); }

.btn--brass { background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn--brass:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px -8px rgba(200, 164, 106, 0.6); }

.btn--glass { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }

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

.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.chip {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brass-soft);
  color: var(--brass-ink);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
a.chip:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* 4. HEADER =============================================================== */
.utility { background: var(--midnight); color: var(--on-dark-2); font-size: 12.5px; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility__note { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.utility__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.18); }
.utility__links { display: flex; gap: 22px; }
.utility__links a { transition: color 0.2s; }
.utility__links a:hover { color: #fff; }
@media (max-width: 760px) {
  .utility__note { display: none; }
  .utility__inner { justify-content: center; }
  .utility__links { gap: 16px; }
  .utility__links a:first-child { display: none; }
}

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s;
}
.masthead.is-stuck { background: rgba(247, 244, 238, 0.94); box-shadow: 0 10px 30px -18px rgba(11, 20, 36, 0.25); }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar .masthead { top: 0; } }

.masthead__inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.masthead__brand { flex: none; }
.masthead__brand .custom-logo-link { display: block; }
.masthead__brand .custom-logo { display: block; width: auto; height: var(--logo-h, 44px); max-width: 260px; object-fit: contain; object-position: left center; }
@media (max-width: 640px) { .masthead__brand .custom-logo { height: min(var(--logo-h, 44px), 40px); max-width: 190px; } }
.footer-logo { display: inline-block; margin-bottom: 22px; }
.footer-logo__img { display: block; width: auto; height: var(--footer-logo-h, 44px); max-width: 280px; object-fit: contain; object-position: left center; }

.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--ink); color: var(--brass);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 106, 0.35);
}
.wordmark__name { font: 700 20px/1 var(--serif); letter-spacing: -0.02em; }
.wordmark--light .wordmark__mark { background: rgba(200, 164, 106, 0.1); }
.wordmark--light .wordmark__name { color: #fff; }

.masthead__nav { display: flex; gap: 4px; margin-left: auto; }
.masthead__nav a {
  position: relative;
  padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.masthead__nav a:hover { color: var(--ink); background: rgba(11, 20, 36, 0.05); }
.masthead__nav a.is-active { color: var(--ink); }
.masthead__nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brass); }

.masthead__actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface);
  cursor: pointer; position: relative;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); padding: 12px 0 28px; max-height: calc(100vh - 120px); overflow: auto; }
.mobile-menu__nav { display: flex; flex-direction: column; margin-bottom: 20px; }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 600 1.35rem/1.2 var(--serif); letter-spacing: -0.01em;
}
.mobile-menu__nav a .icon { color: var(--brass-ink); }
.mobile-menu__meta { display: flex; gap: 20px; margin-top: 18px; font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .masthead__nav { display: none; }
  .masthead__actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .masthead__inner { min-height: 68px; }
}
@media (max-width: 420px) {
  .masthead__cta { display: none; }
  .wordmark__name { font-size: 19px; }
}

/* 5. HERO ================================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--midnight); color: var(--on-dark);
  padding: 96px 0 128px;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 520px at 78% 18%, rgba(200, 164, 106, 0.22), transparent 65%),
    radial-gradient(640px 520px at 8% 92%, rgba(66, 112, 168, 0.22), transparent 70%),
    linear-gradient(180deg, #0b1424 0%, #0e1a2f 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 72px; align-items: center; }

.hero__title {
  font: 700 clamp(2.5rem, 5vw, 4.4rem)/1.06 var(--serif);
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero__title em {
  display: block; font-style: normal; font-weight: 700;
  background: linear-gradient(100deg, var(--brass-2) 0%, var(--brass) 55%, #a8834a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 560px; margin-bottom: 36px; font-size: 1.14rem; line-height: 1.65; color: var(--on-dark-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__assure { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--on-dark-2); }
.hero__assure li { display: inline-flex; align-items: center; gap: 8px; }
.hero__assure .icon { color: var(--brass); }

.hero__visual { position: relative; min-height: 560px; }

.hero-story {
  position: relative; margin-left: auto; width: 88%;
  aspect-ratio: 4 / 4.6; border-radius: var(--r-xl); overflow: hidden;
  background: var(--midnight-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero-story__media, .hero-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-story__media img { transition: transform 1.2s var(--ease); }
.hero-story:hover .hero-story__media img { transform: scale(1.04); }
.hero-story::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 20, 36, 0.94) 0%, rgba(11, 20, 36, 0.6) 30%, rgba(11, 20, 36, 0) 58%),
    linear-gradient(0deg, rgba(11, 20, 36, 0.55) 0%, rgba(11, 20, 36, 0) 30%);
}
.hero-story__body { position: absolute; z-index: 1; left: 0; right: 0; top: 0; padding: 32px; }
.hero-story__label { display: inline-block; margin-bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); }
.hero-story__title { font: 600 clamp(1.3rem, 2vw, 1.7rem)/1.18 var(--serif); letter-spacing: -0.015em; margin-bottom: 12px; }
.hero-story__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.hero-story__title a:hover { background-size: 100% 1px; }
.hero-story .byline { color: var(--on-dark-2); }

.hero-inbox {
  position: absolute; left: 0; bottom: -56px; z-index: 2;
  width: min(370px, 72%);
  background: rgba(255, 255, 255, 0.97); color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
  padding: 8px;
}
.hero-inbox__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 10px; font-weight: 600; font-size: 13.5px; }
.hero-inbox__head > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.hero-inbox__count { font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero-inbox__list { list-style: none; }
.hero-inbox__row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; transition: background 0.2s; }
.hero-inbox__row + .hero-inbox__row { border-top: 1px solid #f0ebe1; }
.hero-inbox__row:hover { background: #faf7f1; }
.hero-inbox__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 600 14px/1 var(--serif); color: #fff; background: var(--ink); }
.hero-inbox__avatar--1 { background: #2f5d7c; }
.hero-inbox__avatar--2 { background: #8a6a35; }
.hero-inbox__avatar--3 { background: #3d6b5a; }
.hero-inbox__text { min-width: 0; display: flex; flex-direction: column; }
.hero-inbox__text strong { font-size: 13.5px; font-weight: 600; }
.hero-inbox__text span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-inbox__time { font: 500 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-ink); }

.hero-badge {
  position: absolute; bottom: 300px; left: -28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 999px;
  background: rgba(19, 33, 58, 0.72); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 12.5px; color: var(--on-dark-2);
  animation: float 6s ease-in-out infinite;
}
.hero-badge strong { display: block; color: #fff; font-size: 13.5px; font-weight: 600; }
.hero-badge__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: var(--ink); }

.hero__visual:not(:has(.hero-story)) { min-height: 0; }
.hero__visual:not(:has(.hero-story)) .hero-inbox { position: relative; bottom: auto; width: 100%; max-width: 440px; margin-left: auto; }
.hero__visual:not(:has(.hero-story)) .hero-badge { display: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { min-height: 0; max-width: 640px; }
  .hero-story { width: 100%; aspect-ratio: 16 / 11; }
  .hero-inbox { position: relative; left: auto; bottom: auto; width: calc(100% - 32px); margin: -72px auto 0; }
  .hero-badge { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 80px; }
  .hero-story { aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); }
  .hero-story__body { padding: 22px; }
  .hero-inbox { width: calc(100% - 20px); margin-top: -48px; }
  .hero-badge { display: none; }
  .hero-badge__icon { width: 30px; height: 30px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* 6. PUBLICATIONS ========================================================= */
.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 640px) { .editions { grid-template-columns: 1fr; } }

.edition {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 34px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.edition::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brass), transparent);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.edition:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.edition:hover::before { opacity: 1; }

.edition__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.edition__num { font: 500 2.2rem/1 var(--serif); color: var(--line-strong); letter-spacing: -0.04em; transition: color 0.4s; }
.edition:hover .edition__num { color: var(--brass); }
.edition__name { font: 600 1.45rem/1.15 var(--serif); letter-spacing: -0.015em; margin-bottom: 12px; }
.edition__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.edition__blurb { flex: 1; margin-bottom: 22px; font-size: 15px; color: var(--ink-2); }

.edition__meta { display: grid; gap: 8px; padding: 16px 0; border-top: 1px dashed var(--line-strong); font-size: 13px; color: var(--muted); }
.edition__meta > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.edition__meta dt { display: flex; color: var(--brass-ink); flex: none; }
.edition__meta dd { min-width: 0; overflow-wrap: anywhere; }

.edition__actions { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.edition__actions .link-arrow { font-size: 13.5px; }

/* 7. STEPS ================================================================ */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 56px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step {
  position: relative;
  padding: 32px 30px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px; border-radius: 16px; background: var(--ink); color: var(--brass); box-shadow: 0 10px 24px -10px rgba(11, 20, 36, 0.5); }
.step__num { position: absolute; top: 26px; right: 28px; font: 500 3rem/1 var(--serif); letter-spacing: -0.04em; color: var(--paper-2); }
.step__title { font: 600 1.35rem/1.2 var(--serif); letter-spacing: -0.012em; margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.step a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 56px; right: auto; top: 40px; bottom: 40px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
}

/* 8. TRUST ================================================================ */
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.trust li { display: flex; flex-direction: column; gap: 10px; padding: 36px 32px 8px 0; }
.trust li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.trust__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; border: 1px solid rgba(200, 164, 106, 0.4); color: var(--brass); background: rgba(200, 164, 106, 0.06); }
.trust strong { font: 600 1.4rem/1.2 var(--serif); letter-spacing: -0.012em; color: #fff; }
.trust span:last-child { color: var(--on-dark-2); font-size: 15px; }
.section--dark .section-title { color: #fff; }
@media (max-width: 960px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line-dark); margin-top: 28px; }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .trust li, .trust li + li { padding: 28px 0 4px; border-left: 0; margin-top: 0; }
  .trust li + li { border-top: 1px solid var(--line-dark); }
}

/* 9. NEWSROOM & CARDS ===================================================== */
.newsroom { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.newsroom__list { display: flex; flex-direction: column; }
@media (max-width: 960px) { .newsroom { grid-template-columns: 1fr; gap: 40px; } }

.newsroom__hubs { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.newsroom__hubs-label { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.hubs { display: flex; flex-wrap: wrap; gap: 10px; }
.hubs a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.hubs a span { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.hubs a:hover { border-color: var(--ink); }
.hubs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.hubs a.is-active span { color: var(--brass-2); }
.hubs--hero { margin-top: 32px; }

/* Card base */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r); background: var(--paper-2);
  aspect-ratio: 3 / 2;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11, 20, 36, 0.06); pointer-events: none; }
.media__empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brass); background: radial-gradient(circle at 30% 20%, var(--midnight-2), var(--midnight)); }

.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 20px; }
.card__title { font: 600 1.3rem/1.22 var(--serif); letter-spacing: -0.012em; }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__dek { margin: 0; color: var(--ink-2); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); }
.byline__author { color: var(--ink); font-weight: 600; }
.byline__sep { opacity: 0.6; }

/* Feature */
.card--feature .card__media { aspect-ratio: 16 / 10.5; border-radius: var(--r-lg); }
.card--feature .card__body { padding-top: 26px; gap: 14px; }
.card--feature .card__title { font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.card--feature .card__dek { font-size: 1.05rem; -webkit-line-clamp: 3; }

/* Row */
.card--row { display: grid; grid-template-columns: 1fr 132px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.card--row:first-child { padding-top: 0; }
.card--row:last-child { border-bottom: 0; }
.card--row .card__media { order: 2; aspect-ratio: 1; border-radius: 14px; }
.card--row .card__body { padding-top: 0; gap: 10px; }
.card--row .card__title { font-size: 1.16rem; }
@media (max-width: 480px) { .card--row { grid-template-columns: 1fr 96px; gap: 16px; } .card--row .card__title { font-size: 1.05rem; } }

/* Grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; gap: 44px; } }

/* 10. ABOUT + FORM (CF7) ================================================== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-split__copy > p { color: var(--ink-2); font-size: 1.05rem; max-width: 540px; }
.about-split__copy .section-title { margin-bottom: 28px; }
.about-split__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }
@media (max-width: 1000px) { .about-split { grid-template-columns: 1fr; gap: 48px; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.facts > div { padding: 18px 16px 18px 0; }
.facts > div + div { padding-left: 16px; border-left: 1px solid var(--line-strong); }
.facts dt { margin-bottom: 6px; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { font: 600 1rem/1.3 var(--serif); }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

.form-card {
  position: relative;
  padding: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.form-card::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 4px; border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, var(--ink), var(--brass), var(--ink));
}
@media (max-width: 560px) { .form-card { padding: 28px 20px; border-radius: var(--r-lg); } }
.form-card__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.form-card__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--brass); }
.form-card__title { font: 600 1.6rem/1.15 var(--serif); letter-spacing: -0.015em; margin-bottom: 6px; }
.form-card__sub { margin: 0; color: var(--ink-2); font-size: 15px; }
.form-card__more { margin: 14px 0 22px; }
.form-card__more .link-arrow { font-size: 14px; }
.form-card__note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.form-card__note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.form-card__note a:hover { text-decoration-color: var(--brass); }

/* CF7 — generic controls */
.wpcf7 form > div { margin: 0; }
.wpcf7 form p { margin: 0; }
.wpcf7 form br { display: none; }
.wpcf7-form-control-wrap { display: block; position: relative; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: 400 15.5px/1.4 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.wpcf7 textarea { padding: 14px 16px; min-height: 120px; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #8b919c; }
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.22); }
.wpcf7 select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230b1424' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

/* Row: first name + select side by side */
.wpcf7 .form-row p { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .wpcf7 .form-row p { grid-template-columns: 1fr; } }

/* Group labels */
.wpcf7 .form-group { margin-top: 22px; }
.wpcf7 .form-label { display: block; margin-bottom: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Checkbox + radio lists as selectable pills */
.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.wpcf7 .wpcf7-checkbox .wpcf7-list-item,
.wpcf7 .wpcf7-radio .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-checkbox label,
.wpcf7 .wpcf7-radio label { position: relative; display: inline-flex; cursor: pointer; }
.wpcf7 .wpcf7-checkbox input,
.wpcf7 .wpcf7-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wpcf7 .wpcf7-checkbox .wpcf7-list-item-label,
.wpcf7 .wpcf7-radio .wpcf7-list-item-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.wpcf7 .wpcf7-checkbox .wpcf7-list-item-label::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-strong);
  transition: background 0.2s, border-color 0.2s;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item-label::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.wpcf7 .wpcf7-checkbox label:hover .wpcf7-list-item-label,
.wpcf7 .wpcf7-radio label:hover .wpcf7-list-item-label { border-color: var(--ink); color: var(--ink); }
.wpcf7 .wpcf7-checkbox input:checked + .wpcf7-list-item-label,
.wpcf7 .wpcf7-radio input:checked + .wpcf7-list-item-label { background: var(--ink); border-color: var(--ink); color: #fff; }
.wpcf7 .wpcf7-checkbox input:checked + .wpcf7-list-item-label::before {
  border-color: var(--brass);
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230b1424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.wpcf7 .wpcf7-radio input:checked + .wpcf7-list-item-label::before { border-color: var(--brass); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 8px var(--brass); }
.wpcf7 .wpcf7-checkbox input:focus-visible + .wpcf7-list-item-label,
.wpcf7 .wpcf7-radio input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Email + submit */
.wpcf7 .form-fields { margin-top: 24px; }
.wpcf7 .form-fields p { position: relative; display: flex; gap: 10px; }
.wpcf7 .form-fields .wpcf7-form-control-wrap { flex: 1; }
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
  flex: none; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: #fff;
  border: 0; border-radius: 12px;
  font: 600 15px/1 var(--sans); cursor: pointer;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover { background: var(--midnight-2); box-shadow: 0 10px 24px -10px rgba(11, 20, 36, 0.6); }
.wpcf7 input[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; }
.wpcf7 .wpcf7-spinner { position: absolute; right: -34px; top: 14px; margin: 0; background-color: var(--ink); }
@media (max-width: 520px) {
  .wpcf7 .form-fields p { flex-direction: column; }
  .wpcf7 input[type="submit"] { width: 100%; }
  .wpcf7 .wpcf7-spinner { right: 50%; top: auto; bottom: -32px; transform: translateX(50%); }
}

/* Consent */
.wpcf7 .form-privacy { margin-top: 18px; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.wpcf7 .wpcf7-acceptance input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.wpcf7 .wpcf7-acceptance a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 2px; }

/* Subscribe form (cf-* markup from the CF7 form template) */
.wpcf7 .cf-field { margin-bottom: 16px; }
.wpcf7 .cf-field > label,
.wpcf7 .cf-field > p > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.wpcf7 .cf-field .field__opt { font-weight: 400; color: var(--muted); }
.wpcf7 .cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wpcf7 .cf-group { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.wpcf7 .cf-group legend { margin-bottom: 12px; padding: 0; font: 500 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Editions as selectable rows instead of pills */
.wpcf7 .cf-editions .wpcf7-checkbox { display: grid; gap: 8px; }
.wpcf7 .cf-editions .wpcf7-checkbox label { display: flex; width: 100%; }
.wpcf7 .cf-editions .wpcf7-checkbox .wpcf7-list-item-label {
  flex: 1; justify-content: flex-start; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  font-size: 14.5px; line-height: 1.4; color: var(--ink);
}
.wpcf7 .cf-editions .wpcf7-checkbox .wpcf7-list-item-label::before { flex: none; width: 18px; height: 18px; border-radius: 5px; }
.wpcf7 .cf-editions .wpcf7-checkbox input:checked + .wpcf7-list-item-label { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wpcf7 .cf-editions .wpcf7-checkbox input:checked + .wpcf7-list-item-label::before { border-color: var(--ink); background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23c8a46a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E"); }

/* Consent checkboxes */
.wpcf7 .cf-check + .cf-check { margin-top: 12px; }
.wpcf7 .cf-check .wpcf7-acceptance label { font-size: 13.5px; }

/* Full-width submit */
.wpcf7 .cf-actions { position: relative; margin-top: 24px; }
.wpcf7 .cf-actions input[type="submit"] { width: 100%; }
.wpcf7 .cf-actions .wpcf7-spinner { position: absolute; right: 14px; top: 14px; margin: 0; background-color: rgba(255, 255, 255, 0.5); }

/* Validation & response */
.wpcf7 .wpcf7-not-valid { border-color: var(--danger) !important; }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12.5px; color: var(--danger); }
.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  font-size: 14px; background: var(--paper);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output { border-color: #e2b77a; background: #fdf6ea; color: #7a4a00; }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: #e7b3a8; background: #fcefec; color: var(--danger); }
.wpcf7 form.sent .wpcf7-response-output { border-color: #a9d3bd; background: #eef8f2; color: var(--success); }

/* 11. STORY (single) ====================================================== */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .read-progress { top: 32px; }

.story__head { padding: 72px 0 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs a:last-child { color: var(--brass-ink); }
.story__title { font: 600 clamp(2.2rem, 4.8vw, 3.75rem)/1.06 var(--serif); letter-spacing: -0.028em; margin-bottom: 22px; }
.story__dek { font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); margin-bottom: 26px; }
.story__head .byline { padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }

.story__media { max-width: 1240px; margin: 0 auto 64px; }
.story__media img { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--r-xl); }
.story__media figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .story__media img { border-radius: var(--r); } .story__head { padding: 48px 0 32px; } }

.story__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.story__tags a { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; transition: border-color 0.2s; }
.story__tags a:hover { border-color: var(--ink); }
.story__note { margin: 40px 0 0; padding: 18px 20px; border-left: 2px solid var(--brass); background: var(--paper-2); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--ink-2); }
.story__note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 2px; }

.story-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 48px 0 96px; padding: 36px 40px;
  border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(600px 240px at 100% 0%, rgba(200, 164, 106, 0.25), transparent 70%), var(--midnight);
}
.story-cta .eyebrow { margin-bottom: 12px; }
.story-cta__title { margin: 0 0 6px; font: 600 1.7rem/1.15 var(--serif); letter-spacing: -0.015em; }
.story-cta__text { margin: 0; color: var(--on-dark-2); }
@media (max-width: 560px) { .story-cta { padding: 28px 24px; } .story-cta .btn { width: 100%; } }

/* Prose (story + pages) */
.prose { font-size: 18.5px; line-height: 1.75; color: #232c3b; }
.prose > * + * { margin-top: 0; }
.prose p { margin: 0 0 1.4em; }
.prose h2 { font: 600 1.9rem/1.2 var(--serif); letter-spacing: -0.018em; color: var(--ink); margin: 2em 0 0.6em; }
.prose h3 { font: 600 1.4rem/1.25 var(--serif); color: var(--ink); margin: 1.8em 0 0.5em; }
.prose h4 { font: 600 1.05rem/1.3 var(--sans); color: var(--ink); margin: 1.6em 0 0.5em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--brass-ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--brass); font: 500 1.4rem/1.5 var(--serif); color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 12px; font: 500 13px/1 var(--mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prose img { border-radius: var(--r); }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--paper-2); font: 0.86em var(--mono); }
.prose .alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
.prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.prose .alignleft { float: left; margin: 0.4em 1.6em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0.4em 0 1em 1.6em; max-width: 50%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
@media (max-width: 960px) { .prose .alignwide { margin-left: 0; margin-right: 0; } }
@media (max-width: 640px) { .prose { font-size: 17px; } .prose .alignleft, .prose .alignright { float: none; margin: 1.5em 0; max-width: 100%; } }

.related { padding-top: 96px; }

/* 12. PAGES & ARCHIVES ==================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: 88px 0 56px;
  background: radial-gradient(800px 300px at 90% 0%, rgba(200, 164, 106, 0.16), transparent 70%), var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero > .wrap { display: flex; flex-direction: column; align-items: flex-start; }
.page-hero--center > .wrap { align-items: center; }
.page-hero__title { max-width: 900px; font: 600 clamp(2.2rem, 4.6vw, 3.6rem)/1.08 var(--serif); letter-spacing: -0.03em; text-wrap: balance; }
.page-hero__lead { max-width: 680px; margin-top: 20px; font-size: 1.15rem; color: var(--ink-2); }
.page-hero__lead a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.page-hero__lead code { padding: 1px 6px; border-radius: 6px; background: var(--surface); font: 0.86em var(--mono); }
.page-hero__actions { margin: 28px 0 0; }
.page-hero__lead p:last-child { margin-bottom: 0; }
.page-hero__count { margin: 20px 0 0; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.page-hero--center { text-align: center; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .page-hero__lead { margin-left: auto; margin-right: auto; }

.page-body { padding: 56px 0 104px; }
.page-body__media { margin: 0 0 40px; }

.listing { padding-top: 64px; padding-bottom: 112px; }
.listing-feature { margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.listing-feature .card--feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.listing-feature .card--feature .card__body { padding-top: 0; }
@media (max-width: 900px) { .listing-feature .card--feature { grid-template-columns: 1fr; gap: 0; } .listing-feature .card--feature .card__body { padding-top: 24px; } }

.pagination { margin-top: 80px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-weight: 600; font-size: 14.5px; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.pagination a.page-numbers:hover { border-color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; }

.empty-state { padding: 64px 0; text-align: center; color: var(--ink-2); }
.empty-state p { font-size: 1.15rem; margin-bottom: 24px; }

.search-inline {
  display: flex; align-items: center; gap: 10px;
  max-width: 520px; margin: 32px auto 0; padding: 6px 6px 6px 18px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.search-inline .icon { color: var(--muted); flex: none; }
.search-inline input { flex: 1; min-width: 0; border: 0; background: transparent; font: 15.5px var(--sans); color: var(--ink); }
.search-inline input:focus { outline: none; }
.search-inline:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.22); }

/* 13. FOOTER ============================================================== */
.site-footer {
  position: relative;
  padding: 88px 0 36px;
  background: radial-gradient(800px 360px at 100% 0%, rgba(200, 164, 106, 0.08), transparent 70%), var(--midnight);
  color: var(--on-dark-2);
  font-size: 14.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-brand .wordmark { margin-bottom: 22px; }
.footer-brand__tagline { max-width: 300px; font: 500 1.1rem/1.5 var(--serif); color: #fff; margin-bottom: 24px; }
.footer-brand__address { font-size: 13.5px; line-height: 1.7; color: var(--on-dark-3); }
.footer-brand__address strong { color: var(--on-dark-2); font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col__title { margin-bottom: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.footer-col a { width: fit-content; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--on-dark-3);
}
.footer-bottom a { color: var(--on-dark-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.2); text-underline-offset: 2px; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .site-footer { padding-top: 64px; } .footer-bottom { flex-direction: column; } }
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }

/* 14. COOKIE BANNER ======================================================= */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap;
  max-width: 780px; margin: 0 auto; padding: 18px 20px 18px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  font-size: 14px; color: var(--ink-2);
  animation: rise 0.5s var(--ease) both;
}
.cookie-banner p { flex: 1 1 340px; margin: 0; }
.cookie-banner a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 8px; }
@media (max-width: 480px) { .cookie-banner__actions { width: 100%; } .cookie-banner__actions .btn { flex: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 12b. TRANSPARENCY PAGES ================================================= */
.small-print { margin: 20px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.small-print a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.small-print.center, .center { text-align: center; }
.editor-content { margin-top: 48px; }
.section--flush-top { padding-top: 56px; }

/* Chips */
.chip--paid { background: #f6e7cc; color: #7a4f12; }
.chip--lg { padding: 7px 12px; font-size: 12px; vertical-align: middle; position: relative; top: -0.3em; }
.edition--sponsored { background: linear-gradient(180deg, #fffaf1, var(--surface)); border-style: dashed; border-color: #e4cfa6; }
.editions--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .editions--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .editions--3 { grid-template-columns: 1fr; } }

/* Hero extras */
.crumbs--hero { order: -1; margin-bottom: 24px; }
.crumbs--hero span:last-child { color: var(--ink-2); }
.confirmed-badge {
  order: -1; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 28px; border-radius: 50%;
  background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: var(--ink);
  box-shadow: 0 0 0 10px rgba(200, 164, 106, 0.16), 0 20px 40px -16px rgba(138, 106, 53, 0.6);
}

/* Document layout: sticky contents rail + prose */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 80px; padding-top: 64px; padding-bottom: 112px; }
.doc--plain { grid-template-columns: minmax(0, var(--narrow)); justify-content: center; }
.doc__body { max-width: var(--narrow); min-width: 0; }
.doc__body > h2:first-child, .doc__body > p:first-child { margin-top: 0; }
.doc__rail { position: relative; }
.doc__toc { position: sticky; top: 112px; max-height: calc(100vh - 140px); overflow: auto; padding-right: 8px; }
.doc__toc-title { margin: 0 0 14px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.doc__toc ol { list-style: none; border-left: 1px solid var(--line-strong); }
.doc__toc a {
  display: block; margin-left: -1px; padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  font-size: 14px; line-height: 1.4; color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.doc__toc a:hover { color: var(--ink); }
.doc__toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--brass); }
.doc__toc:empty, .doc__toc.is-empty { display: none; }
@media (max-width: 1000px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 48px; }
  .doc__rail { display: none; }
  .doc__body { max-width: none; }
}

.prose .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: 0.02em; line-height: 1.7; }

/* Tables */
.table-wrap { margin: 1.6em 0; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.table-wrap table { margin: 0; min-width: 560px; }
.table-wrap th { background: var(--paper); }
.table-wrap tr:last-child td { border-bottom: 0; }
.prose td code, .prose dd code { white-space: nowrap; }

/* Check / cross lists */
.prose .list-check, .prose .list-x { list-style: none; padding-left: 0; }
.prose .list-check li, .prose .list-x li { position: relative; padding-left: 36px; margin-bottom: 0.8em; }
.prose .list-check li::before, .prose .list-x li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 22px; height: 22px; border-radius: 50%;
  background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.prose .list-check li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23c8a46a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E"); }
.prose .list-x li::before { background-color: #f3e3df; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23b4412f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5'/%3E%3C/svg%3E"); }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1.4em 0 0; }
.team__member { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: 15px; line-height: 1.45; }
.team__member strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 16.5px; }
.team__avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--brass); font: 700 16px/1 var(--serif); }
.team__role { display: block; margin: 4px 0 6px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.team__beat { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* Mailboxes */
.mailboxes { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; margin: 1.2em 0; padding: 0; }
.prose .mailboxes { padding-left: 0; }
.mailbox { display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.2s, box-shadow 0.2s; }
.mailbox:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.mailbox__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brass-soft); color: var(--brass-ink); }
.mailbox__body { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.mailbox__body strong { color: var(--ink); font-family: var(--serif); font-size: 16px; }
.mailbox__body a { margin-top: 6px; color: var(--ink) !important; font-weight: 600; font-size: 14px; overflow-wrap: break-word; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* Cards used inside documents */
.format-grid, .howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.4em 0 2em; }
.howto { grid-template-columns: repeat(2, 1fr); }
.format, .howto__item { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: 15px; line-height: 1.6; }
.prose .format h3, .prose .howto__item h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.prose .howto__item h3 { margin-top: 0; }
.format p, .howto__item p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .format-grid, .howto { grid-template-columns: 1fr; } }

.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 1em; }
.way { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); font-size: 16px; line-height: 1.65; }
.prose .way h2 { margin: 18px 0 10px; font-size: 1.25rem; line-height: 1.3; }
.way p { margin: 0; color: var(--ink-2); }
.way__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--brass); font: 700 16px/1 var(--serif); }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { padding-top: 56px; padding-bottom: 112px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 1.15rem/1.35 var(--serif); letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brass-ink); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq__item[open] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--brass); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 56px 24px 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.faq__answer p { margin: 0; }
.faq__answer a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cta-band strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.cta-band span { color: var(--muted); font-size: 14.5px; }

/* Split pages: content + sticky form */
.split-page { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 64px; padding-bottom: 112px; }
.split-page__side { position: sticky; top: 112px; }
.split-page__title { margin: 0 0 22px; font: 600 1.35rem/1.25 var(--serif); letter-spacing: -0.01em; }
.split-page__title:not(:first-child) { margin-top: 56px; }
.split-page__main.prose > h2:first-child { margin-top: 0; }
@media (max-width: 1000px) {
  .split-page { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; }
  .split-page__side { position: static; }
}

.address-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; padding: 20px; background: var(--ink); color: var(--on-dark-2); border-radius: var(--r); font-size: 15px; line-height: 1.6; }
.address-card strong { display: block; margin-bottom: 4px; color: #fff; font-family: var(--serif); }
.address-card__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(200, 164, 106, 0.14); color: var(--brass); }

/* Subscribe page */
.pub-list { list-style: none; border-top: 1px solid var(--line); }
.pub-list__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub-list__item h3 { margin: 12px 0 6px; font: 600 1.25rem/1.25 var(--serif); }
.pub-list__item h3 a:hover { color: var(--brass-ink); }
.pub-list__item p { margin: 0 0 8px; color: var(--ink-2); font-size: 15.5px; }
.pub-list__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pub-list__item--paid h3 { color: var(--ink-2); }

.next-steps { list-style: none; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding: 0 0 18px 48px; color: var(--ink-2); font-size: 15.5px; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: -3px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--brass); font: 600 13px/1 var(--mono); }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 4px; width: 1px; background: var(--line-strong); }
.next-steps a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* Subscription confirmed */
.next-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.next-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.next-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.next-card h2 { margin-top: 12px; font: 600 1.25rem/1.25 var(--serif); }
.next-card p { flex: 1; margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.next-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--ink); color: var(--brass); }
@media (max-width: 860px) { .next-cards { grid-template-columns: 1fr; } }

/* Theme forms (contact, data request, unsubscribe, preferences) */
.form-page { padding-top: 56px; padding-bottom: 112px; }
.form-page > .form-card { margin-bottom: 32px; }
.form .form-card__title { margin-bottom: 24px; }
.form .field { margin-bottom: 18px; }
.form label:not(.option) { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: 400 15.5px/1.4 var(--sans);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form textarea { padding: 14px 16px; min-height: 120px; resize: vertical; }
.form select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230b1424' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.22); }
.form .btn--block { margin-top: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.fieldset legend { margin-bottom: 12px; padding: 0; font: 500 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.option { position: relative; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.option:hover { border-color: var(--ink-2); }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--line-strong); border-radius: 6px; background: #fff; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.option--radio .option__box { border-radius: 50%; }
.option__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.option__text strong { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 600; }
.option:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.option input:checked + .option__box {
  border-color: var(--ink);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23c8a46a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.option--radio input:checked + .option__box { background: #fff; box-shadow: inset 0 0 0 5px var(--ink); }
.option input:focus-visible + .option__box { outline: 2px solid var(--brass); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.form-done { text-align: center; }
.form-done .form-card__title { margin-bottom: 10px; }
.form-done p { color: var(--ink-2); }
.form-done__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: #e6f3ec; color: var(--success); }

.notice { margin: 32px 0; padding: 16px 20px; border-left: 2px solid var(--brass); border-radius: 0 12px 12px 0; background: var(--paper-2); font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.notice code { padding: 1px 6px; border-radius: 6px; background: var(--surface); font: 0.86em var(--mono); }
.notice--error { margin: 0 0 20px; border-left-color: var(--danger); background: #fcefec; color: var(--danger); }

/* Publication page */
.prose .inside { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.prose .inside li { display: grid; grid-template-columns: 220px 1fr; gap: 16px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.prose .inside strong { font-family: var(--serif); }
.prose .inside span { color: var(--ink-2); }
@media (max-width: 640px) { .prose .inside li { grid-template-columns: 1fr; gap: 4px; } }

.spec { margin: 1.2em 0 1.6em; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.spec dt { padding-top: 3px; font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.spec dd code { padding: 2px 7px; border-radius: 6px; background: var(--paper-2); font: 0.86em var(--mono); white-space: normal; overflow-wrap: anywhere; }
.spec--compact > div { grid-template-columns: 76px 1fr; padding: 10px 0; font-size: 14.5px; }
@media (max-width: 560px) { .spec > div { grid-template-columns: 1fr; gap: 4px; } }

.prose .issues { list-style: none; padding: 0; }
.prose .issues__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.issues__item time { min-width: 140px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.issues__item > span:not(.chip) { flex: 1; color: var(--ink-2); }
.issues__item > a { flex: 1; }

/* Email examples */
.jump { order: 5; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.jump a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.examples { padding-top: 24px; padding-bottom: 112px; }
.example { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.example:last-of-type { border-bottom: 0; }
.example__info { position: sticky; top: 112px; }
.example__num { display: block; margin-bottom: 18px; font: 500 2.6rem/1 var(--serif); letter-spacing: -0.04em; color: var(--line-strong); }
.example__name { margin: 14px 0 12px; font: 600 1.6rem/1.15 var(--serif); letter-spacing: -0.015em; }
.example__info > p { color: var(--ink-2); font-size: 15.5px; }
.email-frame { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.email-frame__bar { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.email-frame__dots { display: flex; gap: 6px; }
.email-frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.email-frame__subject { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; font-weight: 600; }
.email-frame__tools { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.email-frame__tools button, .email-frame__tools a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 0; border-radius: 999px; background: none; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
.email-frame__tools button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.email-frame__tools a:hover, .email-frame__tools button:hover { color: var(--ink); }
.email-frame__stage { padding: 24px; background: repeating-linear-gradient(45deg, var(--paper-2) 0 10px, var(--paper) 10px 20px); }
.email-frame__stage iframe { display: block; width: 100%; height: 760px; margin: 0 auto; border: 0; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); transition: width 0.45s var(--ease); }
.email-frame.is-mobile iframe { width: 390px; max-width: 100%; }
@media (max-width: 1000px) {
  .example { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 48px 0; }
  .example__info { position: static; }
}
@media (max-width: 560px) {
  .email-frame__stage { padding: 10px; }
  .email-frame__stage iframe { height: 620px; }
  .email-frame__subject, .email-frame__dots { display: none; }
  .email-frame__bar { justify-content: center; }
}

/* 15. MOTION & UTILITIES ================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.edition.reveal.is-in:hover { transform: translateY(-4px); }

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

/* Core WP bits */
.wp-caption, .wp-block-image { max-width: 100%; }
.wp-block-image img { height: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
