/* fonts.css */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/spacegrotesk-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* tokens.css */
/* Peptide City design tokens. Light is the default, dark is [data-theme="dark"]. */
:root {
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --paper: #f4f1e8;
  --paper-2: #ebe6d9;
  --card: #fffdf8;
  --ink: #12150f;
  --body: #3a3f33;
  --muted: #666b5d;
  --stroke: #12150f;
  --line: rgba(18, 21, 15, 0.14);
  --shadow-c: #12150f;

  --accent: #ff6a45;
  --accent-text: #bf3512;
  --on-accent: #12150f;
  --sun: #ffd24a;

  --sky: #cfe3ee;
  --blush: #f8d6c8;
  --sage: #d9e6cf;
  --sand: #efe2c2;

  --bar: #12150f;
  --bar-text: #f4f1e8;
  --danger: #b3261e;
  --ok: #1f7a4d;

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-h: 72px;
  --img-filter: none;

  /* Layered page background: three light pools + faded 45° hatch pinstripes (masked to two corners). */
  --pool-1: rgba(255, 106, 69, 0.17);
  --pool-2: rgba(255, 210, 74, 0.24);
  --pool-3: rgba(150, 196, 222, 0.30);
  --hatch: rgba(18, 21, 15, 0.075);
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #15110e;
  --paper-2: #1c1713;
  --card: #28211c;
  --ink: #f3efe4;
  --body: #cfcabb;
  --muted: #9a9484;
  --stroke: rgba(243, 239, 228, 0.42);
  --line: rgba(243, 239, 228, 0.14);
  --shadow-c: #070605;

  --accent: #ff7d5c;
  --accent-text: #ff9b80;
  --on-accent: #12150f;

  --sky: #14232c;
  --blush: #2d1d17;
  --sage: #26231a;
  --sand: #2a2516;

  --bar: #0c0a08;
  --bar-text: #f3efe4;
  --danger: #ff8a80;
  --ok: #7fd6a4;
  --img-filter: brightness(0.86) saturate(0.92);

  --pool-1: rgba(255, 125, 92, 0.13);
  --pool-2: rgba(255, 210, 74, 0.07);
  --pool-3: rgba(86, 140, 186, 0.16);
  --hatch: rgba(243, 239, 228, 0.06);
  color-scheme: dark;
}

/* base.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  background:
    radial-gradient(52vw 46vh at 4% -6%, var(--pool-1), transparent 72%),
    radial-gradient(46vw 52vh at 102% 26%, var(--pool-2), transparent 70%),
    radial-gradient(60vw 50vh at 34% 108%, var(--pool-3), transparent 72%),
    var(--paper);
  background-attachment: fixed;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
/* Faded pattern layer: 45° hatch pinstripes, visible only toward the top-right and bottom-left corners. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--hatch) 0 1.5px, transparent 1.5px 12px);
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 100% 0%, #000 10%, transparent 72%), radial-gradient(ellipse 55% 60% at 0% 100%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 62% 70% at 100% 0%, #000 10%, transparent 72%), radial-gradient(ellipse 55% 60% at 0% 100%, #000 5%, transparent 70%);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; }

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

/* layout.css */
/* ---------- Top bar ---------- */
.topbar { background: var(--bar); color: var(--bar-text); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar__msg { display: flex; align-items: center; gap: 10px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; animation: blink 2.4s ease-in-out infinite; }
.topbar__links { display: flex; align-items: center; gap: 4px; }
.topbar__auth { display: contents; }
.topbar__links a, .topbar__links button { padding: 6px 10px; border-radius: 8px; opacity: .85; transition: opacity .15s, background .15s; display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; flex: none; }
.topbar__links a, .topbar__links button { white-space: nowrap; }
.topbar__links a:hover, .topbar__links button:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 2px solid var(--stroke); }
.masthead .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo b { color: var(--accent-text); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav__link { position: relative; padding: 10px 14px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; transition: background .15s; }
.nav__link:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 4px; border-radius: 4px; background: var(--accent); }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

.masthead__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.searchbtn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 2px solid var(--stroke); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 15px; min-width: 190px; transition: transform .15s, box-shadow .15s; }
.searchbtn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shadow-c); }
.searchbtn svg { width: 18px; height: 18px; color: var(--ink); }
.searchbtn kbd { margin-left: auto; font: 600 12px var(--font-display); padding: 2px 8px; border: 1.5px solid var(--line); border-radius: 6px; color: var(--muted); }
.iconbtn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 2px solid var(--stroke); border-radius: 14px; background: var(--card); color: var(--ink); }
.iconbtn svg { width: 20px; height: 20px; }

/* Mega menu */
.mega { position: absolute; top: calc(100% + 14px); left: -80px; width: 760px; padding: 16px; display: none; grid-template-columns: repeat(2, 1fr); gap: 12px; background: var(--card); border: 2px solid var(--stroke); border-radius: var(--radius); box-shadow: 7px 7px 0 var(--shadow-c); }
.nav__item.is-open .mega { display: grid; animation: pop .18s ease-out; }
.mega a { display: flex; gap: 12px; padding: 14px; border: 2px solid var(--stroke); border-radius: var(--radius-sm); transition: transform .15s, box-shadow .15s; }
[data-theme="dark"] .mega { background: var(--paper-2); box-shadow: 0 26px 60px rgba(0, 0, 0, .6), 7px 7px 0 var(--shadow-c); }
[data-theme="dark"] .mega a { border-color: var(--line); background: var(--card); }
[data-theme="dark"] .mega a:hover { border-color: var(--stroke); }
.mega a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--shadow-c); }
.mega__ico { flex: none; width: 46px; height: 56px; display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 12px; font: 700 20px var(--font-display); color: var(--ink); }
.mega strong { display: block; font: 700 17px var(--font-display); color: var(--ink); }
.mega small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--body); opacity: .85; }
.mega .count { margin-left: auto; align-self: flex-start; font: 700 12px var(--font-display); padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }

/* Mobile menu */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; background: var(--paper); overflow-y: auto; padding: 18px 24px 40px; }
.drawer.is-open { display: block; animation: pop .2s ease-out; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer a.drawer__link { display: block; padding: 14px 0; font: 700 28px var(--font-display); color: var(--ink); border-bottom: 2px solid var(--line); letter-spacing: -0.03em; }
.drawer .drawer__label { margin: 26px 0 10px; font: 600 13px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drawer__topics { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Search overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 120; display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; background: rgba(12, 10, 8, .55); backdrop-filter: blur(3px); }
.overlay.is-open { display: flex; }
.search { width: 100%; max-width: 640px; background: var(--card); border: 2px solid var(--stroke); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--shadow-c); overflow: hidden; animation: pop .18s ease-out; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 2px solid var(--stroke); }
.search__field svg { width: 22px; height: 22px; color: var(--ink); flex: none; }
.search__field input { flex: 1; height: 62px; border: 0; outline: 0; background: transparent; font: 600 19px var(--font-display); color: var(--ink); }
.search__close { flex: none; display: inline-flex; border-radius: 8px; }
.search__field kbd { font: 600 12px var(--font-display); padding: 3px 8px; border: 1.5px solid var(--line); border-radius: 6px; color: var(--muted); }
.search__list { max-height: 50vh; overflow-y: auto; padding: 8px 8px 0; }
.search__list:empty { display: none; }
.search__foot { padding: 0 8px 8px; }
.search__item { cursor: pointer; }
.search__empty { padding: 28px 12px; text-align: center; color: var(--muted); font-size: 15px; }
.search__item { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 12px 14px; border-radius: 12px; text-align: left; }
.search__item.is-active { background: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: inset 4px 0 0 var(--accent); }
.search__item:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.search__item strong { font: 700 16px var(--font-display); color: var(--ink); }
.search__item span { font-size: 13px; color: var(--muted); }
.search__all { display: block; width: 100%; padding: 12px 14px; text-align: left; font: 600 14px var(--font-display); color: var(--accent-text); border-radius: 12px; }
.search__all:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* ---------- Footer ---------- */
.footer { margin-top: 110px; background: var(--paper-2); border-top: 2px solid var(--stroke); }
.cta { position: relative; margin-top: -70px; padding: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; background: var(--accent); color: var(--on-accent); border: 2px solid var(--stroke); border-radius: 28px; box-shadow: 8px 8px 0 var(--shadow-c); overflow: hidden; }
.cta h2 { color: var(--on-accent); font-size: clamp(28px, 3.6vw, 44px); }
.cta p { margin-top: 12px; font-size: 17px; color: var(--on-accent); opacity: .85; max-width: 56ch; }
.cta .blob { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--sun); opacity: .5; pointer-events: none; }
.sub { position: relative; display: flex; flex-direction: column; gap: 10px; }
.sub__row { display: flex; gap: 10px; }
.sub input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 2px solid var(--stroke); border-radius: 16px; background: #fffdf8; color: #12150f; font-size: 16px; }
.sub input::placeholder { color: #7b8072; }
.sub button { height: 54px; padding: 0 24px; border: 2px solid var(--stroke); border-radius: 16px; background: #12150f; color: #fffdf8; font: 700 16px var(--font-display); transition: transform .15s, box-shadow .15s; }
.sub button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 rgba(18, 21, 15, .35); }
.sub__msg { min-height: 22px; font-size: 14px; font-weight: 600; color: var(--on-accent); }
.sub__msg.is-error { color: #7a1710; }
.sub__msg a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sub input[aria-invalid="true"] { border-color: #7a1710; box-shadow: inset 0 0 0 1px #7a1710; }
.sub button:disabled { opacity: .7; cursor: progress; }
.rail__sub .sub__msg, .cta .sub__msg { color: #12150f; }

.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; font-size: 15px; color: var(--body); }
.footer .footer__h { margin-bottom: 14px; font: 600 13px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer li + li { margin-top: 8px; }
.footer li a { font-size: 15px; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat; transition: background-size .2s; }
.footer li a:hover { background-size: 100% 3px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 34px; border-top: 2px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer__legal p { max-width: 70ch; }

/* ---------- Reading progress ---------- */
.progress { position: fixed; left: 0; top: 0; z-index: 150; height: 5px; width: 100%; background: var(--accent); border-bottom: 2px solid var(--stroke); transform: scaleX(0); transform-origin: 0 50%; transition: transform .08s linear; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav, .searchbtn, .masthead__right .btn--accent { display: none; }
  .iconbtn { display: inline-flex; }
  .masthead .container { gap: 12px; }
  .cta { grid-template-columns: 1fr; padding: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .topbar__msg { display: none; }
  .topbar .container { justify-content: flex-end; }
  .sub__row { flex-direction: column; }
  .sub input { flex: none; }
  .cta .blob { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}
.rail__sub .sub__row { flex-direction: column; }
.rail__sub .sub input { flex: none; height: 48px; }
.rail__sub .sub button { height: 46px; }

/* components.css */
/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 2px solid var(--stroke); border-radius: 14px; background: var(--card); color: var(--ink); font: 700 16px var(--font-display); letter-spacing: -0.01em; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--shadow-c); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn:disabled { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn--danger { color: var(--danger); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--font-display); color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 4px no-repeat; padding-bottom: 3px; transition: gap .2s, background-size .2s; }
.link-arrow:hover { gap: 14px; background-size: 100% 100%; color: var(--on-accent); }
.link-arrow svg { width: 18px; height: 18px; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 2px solid var(--stroke); border-radius: 999px; font: 700 13px var(--font-display); color: var(--ink); background: var(--card); letter-spacing: -0.005em; white-space: nowrap; }
.chip--sky { background: var(--sky); } .chip--blush { background: var(--blush); } .chip--sage { background: var(--sage); } .chip--sand { background: var(--sand); }
.chip--btn { height: 38px; padding: 0 16px; font-size: 14px; transition: transform .15s, box-shadow .15s; }
.chip--btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shadow-c); }
.chip--btn.is-active { background: var(--ink); color: var(--paper); }
.chip small { font-weight: 600; opacity: .65; }

/* ---------- Cards: stacked sheet ----------
   The face sits on a pastel back sheet (topic colour) that peeks out at an angle and fans out on hover.
   No offset drop shadow: depth comes from the second sheet. */
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; color: inherit; }
.card__back { position: absolute; inset: 0; z-index: -1; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--sand); transform: rotate(-2.2deg) translate(3px, 7px); transform-origin: 50% 100%; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.sheet--sky { background: var(--sky); } .sheet--blush { background: var(--blush); } .sheet--sage { background: var(--sage); } .sheet--sand { background: var(--sand); }
.card__face { position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 2px solid var(--stroke); border-radius: var(--radius); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__back, .card:focus-visible .card__back { transform: rotate(-5deg) translate(7px, 12px); }
.card:hover .card__face, .card:focus-visible .card__face { transform: translateY(-3px) rotate(.6deg); }
.card__media { position: relative; border-bottom: 2px solid var(--stroke); overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--body); font-weight: 500; }
.card .card__title { font-size: 23px; line-height: 1.15; }
.card p { font-size: 15.5px; line-height: 1.55; color: var(--body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 6px; font: 700 14px var(--font-display); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.card__foot svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__foot svg { transform: translateX(5px); }

.card--wide .card__face { flex-direction: row; }
.card--wide .card__media { aspect-ratio: auto; width: 42%; flex: none; border-bottom: 0; border-right: 2px solid var(--stroke); }
.card--wide .card__body { justify-content: center; }
.card--wide h3 { font-size: 21px; }

.card--feature h3 { font-size: clamp(28px, 3vw, 38px); }
.card--feature p { font-size: 17px; -webkit-line-clamp: 4; }
.card--feature .card__media { aspect-ratio: 16 / 10; }

/* Mini: compact row for the home segments. */
.card--mini .card__back, .card--mini .card__face { border-radius: 18px; }
.card--mini .card__face { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; }
.card__thumb { flex: none; width: 76px; aspect-ratio: 1; overflow: hidden; border: 2px solid var(--stroke); border-radius: 12px; background: var(--paper-2); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.card--mini .card__body { padding: 0; gap: 4px; }
.card--mini .card__meta { font: 600 12px var(--font-display); color: var(--muted); letter-spacing: .02em; }
.card--mini strong { font: 700 15.5px/1.22 var(--font-display); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Inline load / error state ---------- */
.state { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 22px; border: 2px dashed var(--stroke); border-radius: var(--radius-sm); background: var(--card); font-size: 15.5px; }
.state--error { border-color: var(--danger); }
.state strong { color: var(--ink); font-family: var(--font-display); }

/* ---------- Section heads ---------- */
.section { margin-top: 96px; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 700 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--accent); }
.section__title { font-size: clamp(32px, 4vw, 52px); }

/* ---------- Highlighter underline ---------- */
.mark { background: linear-gradient(transparent 66%, var(--accent) 66% 94%, transparent 94%); padding: 0 4px; margin: 0 -4px; }

/* ---------- Forms ---------- */
.field { width: 100%; height: 52px; padding: 0 16px; border: 2px solid var(--stroke); border-radius: 14px; background: var(--card); color: var(--ink); font-size: 16px; outline: 0; transition: box-shadow .15s; }
.field:focus { box-shadow: 4px 4px 0 var(--shadow-c); }
textarea.field { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.label { display: block; margin-bottom: 8px; font: 700 14px var(--font-display); color: var(--ink); }
/* Live character counter next to a label (SEO meta fields). */
.counter { float: right; font: 600 12px var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.counter--full { color: var(--accent); }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); }
.notice { padding: 14px 18px; border: 2px dashed var(--stroke); border-radius: var(--radius-sm); font-size: 15px; }
.notice--error { color: var(--danger); border-color: var(--danger); }

/* ---------- Skeleton / loading ---------- */
.skel { border-radius: var(--radius); background: linear-gradient(100deg, var(--paper-2) 30%, color-mix(in srgb, var(--paper-2) 60%, var(--card)) 50%, var(--paper-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; border: 2px solid var(--line); }
@keyframes shimmer { to { background-position: -300% 0; } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
.page-in { animation: pageIn .35s ease-out; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translateX(-50%) translateY(20px); opacity: 0; padding: 12px 20px; border: 2px solid var(--stroke); border-radius: 14px; background: var(--ink); color: var(--paper); font: 600 15px var(--font-display); box-shadow: 4px 4px 0 var(--shadow-c); transition: .25s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translateX(-50%); }

/* Back to top (all pages; shown after about one screen of scroll) */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 120; width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 14px; background: var(--sun); color: #12150f; box-shadow: 4px 4px 0 var(--shadow-c); transition: transform .2s; }
.totop:hover { transform: translateY(-3px); }
.totop svg { width: 20px; height: 20px; }
.totop[hidden] { display: none; }
@media (max-width: 620px) { .totop { right: 16px; bottom: 16px; width: 42px; height: 42px; } }

/* pages.css */
/* ================= HOME (one screen) =================
   Marquee H1 band (merges the old word ticker) → lead story flanked by two sticker callouts → segmented tabs. */
.mq-hero { padding-top: 6px; }
.mq { position: relative; overflow-x: clip; padding: 10px 0 12px; }
.mq__band { width: 104%; margin: 0 0 0 -2%; padding: .13em 0 .16em; overflow: hidden; background: var(--ink); color: var(--paper); border-block: 2px solid var(--stroke); transform: rotate(-.8deg); font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 40px); line-height: 1; letter-spacing: -0.035em; }
.mq__track { display: flex; width: max-content; animation: mq 260s linear infinite; }
.mq__group { display: flex; flex: none; align-items: center; }
.mq__phrase { padding: 0 .28em; white-space: nowrap; color: var(--paper); }
.mq__phrase em { font-style: normal; background: linear-gradient(transparent 64%, var(--accent) 64% 90%, transparent 90%); }
.mq__words { display: inline-flex; gap: 6px; margin: 0 .5em; }
.mq__words b { padding: 4px 10px; border: 1.5px solid var(--paper); border-radius: 999px; background: var(--sun); color: #12150f; font: 700 12px/1 var(--font-display); letter-spacing: 0; }
.mq__words b + b { background: var(--accent); }
.mq__band:hover .mq__track, .mq__band:focus .mq__track, .mq.is-paused .mq__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq__toggle { position: absolute; right: 22px; top: 50%; z-index: 2; width: 30px; height: 30px; transform: translateY(-50%); display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 50%; background: var(--card); color: var(--ink); }
.mq__toggle:hover { background: var(--sun); color: #12150f; }
.mq__pause { width: 9px; height: 11px; border-inline: 3px solid currentColor; }
.mq.is-paused .mq__pause { width: 0; height: 0; margin-left: 4px; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
@media (prefers-reduced-motion: reduce) {
  .mq__track { width: 100%; animation: none; }
  .mq__group { width: 100%; justify-content: center; }
  .mq__group + .mq__group, .mq__group > :nth-child(n + 2), .mq__toggle { display: none; }
  .mq__phrase { white-space: normal; text-align: center; }
}

.hero-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.7fr) minmax(150px, 1fr); gap: 28px; align-items: center; margin-top: 10px; }
.callout { position: relative; justify-self: center; width: 100%; max-width: 200px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; text-align: center; color: #12150f; border: 2px solid var(--stroke); border-radius: 50%; transform: rotate(-7deg); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.callout::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(18, 21, 15, .42); border-radius: inherit; pointer-events: none; }
.callout--coral { background: var(--accent); }
.callout--sun { background: var(--sun); border-radius: 34px; transform: rotate(6deg); }
.callout:hover, .callout:focus-visible { transform: rotate(0) scale(1.04); }
.callout__n { font: 700 54px/.9 var(--font-display); letter-spacing: -0.05em; }
.callout__t { margin-top: 6px; max-width: 14ch; font: 600 14px/1.25 var(--font-display); }
.callout__go { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 2px solid currentColor; font: 700 13px var(--font-display); }
.callout__go svg { width: 14px; height: 14px; }

.lead-card { position: relative; isolation: isolate; display: block; color: inherit; }
.lead-card .card__back { border-radius: 26px; }
.lead-card__face { position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 212px; overflow: hidden; background: var(--card); border: 2px solid var(--stroke); border-radius: 26px; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.lead-card:hover .card__back, .lead-card:focus-visible .card__back { transform: rotate(-4deg) translate(8px, 12px); }
.lead-card:hover .lead-card__face, .lead-card:focus-visible .lead-card__face { transform: translateY(-3px) rotate(.4deg); }
.lead-card__img { display: block; border-right: 2px solid var(--stroke); background: var(--paper-2); }
.lead-card__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.lead-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; }
.lead-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lead-card__flag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 11.5px var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.lead-card__title { font: 700 clamp(20px, 1.9vw, 26px)/1.12 var(--font-display); letter-spacing: -0.025em; color: var(--ink); }
.lead-card__ex { font-size: 15px; line-height: 1.5; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead-card__foot { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--font-display); color: var(--ink); }
.lead-card__foot svg { width: 16px; height: 16px; transition: transform .2s; }
.lead-card:hover .lead-card__foot svg { transform: translateX(5px); }

.segs { margin-top: 30px; }
.segs__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.segs__tabs { display: inline-flex; gap: 4px; padding: 4px; border: 2px solid var(--stroke); border-radius: 999px; background: var(--card); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segs__tabs [role="tab"] { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; font: 700 15px var(--font-display); color: var(--ink); transition: background .15s; }
.segs__tabs [role="tab"]:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.segs__tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.segs__tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.segs__panel { min-height: 150px; border-radius: 12px; }
.segs__panel:focus-visible { outline-offset: 8px; }
.seg-grid { display: grid; gap: 22px; }
.seg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.rankgrid { counter-reset: r; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.rankgrid li { counter-increment: r; }
.rankgrid a { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 2px 10px; padding: 10px 16px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); transition: background .15s; }
.rankgrid a::before { content: counter(r, decimal-leading-zero); grid-row: span 2; font: 700 34px var(--font-display); letter-spacing: -0.04em; color: var(--accent-text); }
.rankgrid a:hover { background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.rankgrid strong { font: 700 16px/1.2 var(--font-display); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rankgrid span { font-size: 13px; color: var(--muted); }

.topic-tag { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 11px 16px; border: 2px solid var(--stroke); border-radius: 18px; color: var(--ink); transition: transform .2s; }
.topic-tag:hover { transform: rotate(-1deg) translateY(-2px); }
.topic-tag--sky { background: var(--sky); } .topic-tag--blush { background: var(--blush); } .topic-tag--sage { background: var(--sage); } .topic-tag--sand { background: var(--sand); }
.topic-tag__name { font: 700 17px var(--font-display); }
.topic-tag__n { display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px var(--font-display); }
.topic-tag__n svg { width: 14px; height: 14px; }
.topic-tag__desc { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--body); text-wrap: pretty; }

.starter { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); transition: transform .2s; }
.starter:hover { transform: translateY(-3px) rotate(-.6deg); }
.starter__n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 50%; background: var(--accent); color: #12150f; font: 700 16px var(--font-display); }
.starter strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 700 15.5px/1.22 var(--font-display); color: var(--ink); }
.starter small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.pocket { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--sun); color: #12150f; transform: rotate(1.2deg); transition: transform .2s; }
.pocket:hover { transform: rotate(0) translateY(-2px); }
.pocket small { font: 700 11px var(--font-display); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.pocket strong { font: 700 19px/1.1 var(--font-display); }
.pocket span { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= ARTICLES LIST ================= */
.pagehead { padding: 64px 0 36px; }
.pagehead h1 { font-size: clamp(44px, 6vw, 84px); }
.pagehead p { margin-top: 18px; max-width: 72ch; font-size: 19px; }
.pagehead--tight { padding: 44px 0 26px; }
.pagehead--tight h1 { font-size: clamp(40px, 5vw, 68px); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.toolbar .field { max-width: 340px; }
.toolbar select.field { max-width: 200px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.count { margin: 8px 0 28px; font: 600 15px var(--font-display); color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.more { display: flex; justify-content: center; margin-top: 44px; }
.empty { padding: 64px 24px; text-align: center; border: 2px dashed var(--stroke); border-radius: var(--radius); font: 600 20px var(--font-display); color: var(--ink); }

/* ================= ARTICLE ================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 34px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink); font-weight: 600; }
.crumbs a:hover { color: var(--accent-text); }
.post-head { max-width: 960px; padding: 26px 0 0; }
.post-head--cover { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.post-head h1 { margin-top: 18px; font-size: clamp(38px, 5.4vw, 70px); line-height: 1.02; }
.post-head .excerpt { margin-top: 22px; max-width: 62ch; font-size: 21px; line-height: 1.55; color: var(--body); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; font-size: 14.5px; }
.byline__who { display: inline-flex; align-items: center; gap: 12px; font: 700 15px var(--font-display); color: var(--ink); }
.byline__who svg { width: 40px; height: 40px; }
.byline .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
/* Cover is a small tile beside the title, so the text starts within the first screen. */
.post-cover { border: 2px solid var(--stroke); border-radius: 22px; overflow: hidden; box-shadow: 6px 6px 0 var(--shadow-c); background: var(--paper-2); transform: rotate(1.5deg); }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--img-filter); }

.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; margin-top: 48px; }
.rail { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 22px; }
.rail__box { padding: 22px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); }
.rail .rail__h { margin-bottom: 14px; font: 700 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--line); }
.toc a { display: block; margin-left: -3px; padding: 7px 0 7px 16px; border-left: 3px solid transparent; font: 600 15px/1.35 var(--font-display); color: var(--body); transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share .btn { flex: 1 1 auto; }
.rail__sub { background: var(--accent); color: var(--on-accent); }
.rail__sub .rail__h { color: var(--on-accent); opacity: .75; }
.rail__sub p { font: 700 20px/1.2 var(--font-display); margin-bottom: 14px; }

.prose { font-size: 19px; line-height: 1.82; color: var(--body); }
.prose > :first-child { margin-top: 0; }
.prose > p:first-of-type { font-size: 22px; line-height: 1.65; color: var(--ink); }
.prose p { margin: 1.15em 0; }
.prose h2 { position: relative; margin: 2.1em 0 .55em; padding-top: 18px; font-size: clamp(28px, 3.2vw, 38px); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 8px; border: 2px solid var(--stroke); border-radius: 8px; background: var(--accent); }
.prose h3 { margin: 1.7em 0 .4em; font-size: 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ink); font-weight: 600; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 3px no-repeat; transition: background-size .2s; }
.prose a:hover { background-size: 100% 100%; color: var(--on-accent); }
.prose ul, .prose ol { margin: 1.1em 0; display: flex; flex-direction: column; gap: .55em; }
.prose ul > li { position: relative; padding-left: 32px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 12px; border: 2px solid var(--stroke); border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 46px; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 9px; background: var(--sun); color: #12150f; font: 700 15px var(--font-display); }
.prose blockquote { position: relative; margin: 1.8em 0; padding: 26px 28px 26px 30px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--sand); box-shadow: 6px 6px 0 var(--shadow-c); font: 600 22px/1.45 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.prose blockquote p { margin: 0; }
.prose code { padding: 2px 7px; border-radius: 7px; background: color-mix(in srgb, var(--ink) 9%, transparent); font-size: .88em; }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: separate; border-spacing: 0; border: 2px solid var(--stroke); border-radius: 14px; overflow: hidden; font-size: 16px; }
.prose th { padding: 12px 16px; background: var(--ink); color: var(--paper); text-align: left; font: 700 14px var(--font-display); }
.prose td { padding: 12px 16px; border-top: 2px solid var(--line); background: var(--card); }
.prose hr { margin: 2.4em 0; border: 0; height: 2px; background: var(--line); }

.aftermath { margin-top: 56px; display: flex; flex-direction: column; gap: 22px; }
.disclaimer { padding: 22px 26px; border: 2px dashed var(--stroke); border-radius: var(--radius); font-size: 15.5px; background: var(--card); }
.disclaimer strong { color: var(--ink); font-family: var(--font-display); }
.author { display: flex; gap: 18px; align-items: center; padding: 22px 26px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--sage); }
.author svg { width: 58px; height: 58px; flex: none; }
.author strong { display: block; font: 700 19px var(--font-display); color: var(--ink); }
.author p { font-size: 15px; }
.related { margin-top: 20px; }
.sources { margin-top: 48px; padding: 22px 26px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); font-size: 16px; }
.prose .sources h2 { margin: 0 0 6px; padding-top: 0; font-size: 22px; }
.prose .sources h2::before { display: none; }
.sources a { word-break: break-word; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.prevnext__a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); transition: transform .2s; }
.prevnext__a:hover { transform: translateY(-3px); }
.prevnext__a small { font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.prevnext__a strong { font: 700 18px/1.2 var(--font-display); color: var(--ink); }
.prevnext__a--next { grid-column: 2; text-align: right; }

/* ================= GLOSSARY ================= */
.gloss { display: grid; grid-template-columns: 64px 1fr; gap: 40px; align-items: start; }
.az { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); }
.az a { display: grid; place-items: center; height: 34px; border-radius: 9px; font: 700 15px var(--font-display); color: var(--ink); transition: background .15s; }
.az a:hover, .az a.is-active { background: var(--accent); color: var(--on-accent); }
.gloss h2 { margin: 0 0 14px; font-size: 52px; color: var(--accent-text); scroll-margin-top: calc(var(--header-h) + 24px); }
.gloss section + section { margin-top: 44px; }
.terms { border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.term { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 22px 26px; }
.term + .term { border-top: 2px solid var(--line); }
.term:focus { outline: none; background: color-mix(in srgb, var(--accent) 16%, var(--card)); box-shadow: inset 5px 0 0 var(--accent); }
.term dt { font: 700 19px/1.25 var(--font-display); color: var(--ink); }
.term dd { margin: 0; font-size: 16.5px; line-height: 1.65; }

/* ================= ABOUT / TEXT PAGES ================= */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 48px 0; }
.principle { padding: 30px; border: 2px solid var(--stroke); border-radius: var(--radius); transition: transform .18s, box-shadow .18s; }
.principle:hover { transform: rotate(-.8deg) translateY(-3px); }
.principle:nth-child(1) { background: var(--sky); } .principle:nth-child(2) { background: var(--sand); }
.principle:nth-child(3) { background: var(--sage); } .principle:nth-child(4) { background: var(--blush); }
.principle .num { font: 700 15px var(--font-display); letter-spacing: .12em; color: var(--accent-text); }
.principle h2 { margin: 10px 0 10px; font-size: 26px; } .principle p { color: var(--body); font-size: 16.5px; }
.textpage { max-width: 820px; }
.textpage.prose > p:first-of-type { font-size: 22px; }

/* ================= ADMIN ================= */
.admin { padding-top: 56px; }
.admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.admin__bar h1 { font-size: clamp(34px, 4vw, 52px); }
.admin h2 { margin: 56px 0 18px; font-size: 32px; }
.table { border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 22px; }
.row + .row { border-top: 2px solid var(--line); }
.row__main { flex: 1; min-width: 220px; }
.row__main a { display: block; font: 700 18px/1.25 var(--font-display); color: var(--ink); }
.row__main a:hover { color: var(--accent-text); }
.row__main small { color: var(--muted); font-size: 13.5px; }
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 2px solid var(--stroke); border-radius: 999px; font: 700 12.5px var(--font-display); background: var(--sage); color: var(--ink); }
.status--draft { background: var(--sun); }
.status--feat { background: var(--sky); }
.row__actions { display: flex; gap: 8px; }

.login { max-width: 460px; margin: 90px auto 0; padding: 34px; border: 2px solid var(--stroke); border-radius: 28px; background: var(--card); box-shadow: 8px 8px 0 var(--shadow-c); display: flex; flex-direction: column; gap: 18px; }
.login h1 { font-size: 40px; }

.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.editor__form { display: flex; flex-direction: column; gap: 18px; }
.editor__form textarea[name=content] { min-height: 460px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 15px; }
.editor__preview { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 26px 30px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); }
.editor__preview .prose { font-size: 16.5px; }
.editor__preview .prose > p:first-of-type { font-size: 18px; }
.editor__preview h1 { font-size: 34px; margin-bottom: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inline { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

.notfound { padding: 120px 0 40px; text-align: center; }
.notfound h1 { font-size: clamp(80px, 16vw, 200px); line-height: .9; }
.notfound p { margin: 18px 0 28px; font-size: 20px; }
.notfound__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.unsub { margin-top: 70px; }
.unsub .eyebrow { margin-bottom: 0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rail { position: static; order: -1; }
  .post-head--cover { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; }
  .rail__toc, .rail__sub { display: none; }
  .editor { grid-template-columns: 1fr; }
  .editor__preview { position: static; max-height: none; }
}
@media (max-width: 960px) {
  .card--wide .card__face { flex-direction: column; }
  .card--wide .card__media { width: 100%; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--stroke); }
  .hero-row { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .lead-card { grid-column: 1 / -1; order: -1; }
  .callout { max-width: 170px; }
  .seg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .gloss { grid-template-columns: 1fr; } .az { display: none; }
  .term { grid-template-columns: 1fr; gap: 6px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .section { margin-top: 72px; }
  .mq__toggle { right: 12px; width: 28px; height: 28px; }
  .mq__band { font-size: 22px; }
  .lead-card__face { grid-template-columns: 1fr; }
  .post-head--cover { grid-template-columns: 1fr; gap: 22px; }
  .post-cover { transform: none; }
  .post-cover img { aspect-ratio: 16 / 5; }
  .lead-card__img { border-right: 0; border-bottom: 2px solid var(--stroke); aspect-ratio: 16 / 8; }
  .callout { max-width: 150px; padding: 16px; }
  .callout__n { font-size: 40px; }
  .callout__t { font-size: 12.5px; }
  .seg-grid--4, .seg-grid--3, .rankgrid { grid-template-columns: 1fr; }
  .seg-grid { gap: 14px; }
  .segs__panel { min-height: 0; }
  .segs__tabs { width: 100%; justify-content: space-between; }
  .segs__tabs [role="tab"] { padding: 0 11px; font-size: 14px; }
  .callout__go { font-size: 11px; gap: 4px; white-space: nowrap; }
  .callout { padding: 14px; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext__a--next { grid-column: auto; }
  .prose { font-size: 17.5px; } .prose > p:first-of-type { font-size: 19.5px; }
  .post-head .excerpt { font-size: 18px; }
  .row { padding: 14px 16px; }
}

/* Home (2026-10-28): the citable definition as a small subtitle under the marquee, most searched as a strip under the hero row. */
.mq-sub { max-width: 940px; margin: 20px auto 40px; text-align: center; font-size: 14.5px; line-height: 1.55; color: var(--muted); text-wrap: balance; }
.mq-sub a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.pop-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 30px 0 4px; }
.pop-strip h2 { margin: 0; font: 700 12px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pop-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pop-strip a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 2px solid var(--stroke); border-radius: 999px; background: var(--card); color: var(--ink); font: 700 12.5px var(--font-display); transition: transform .15s, background .15s, box-shadow .15s; }
.pop-strip a:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shadow-c); background: var(--sun); color: #12150f; }
.pop-strip a.is-faq { background: var(--ink); color: var(--paper); }
@media (max-width: 620px) { .mq-sub { font-size: 14px; text-align: left; margin-bottom: 28px; } .pop-strip { justify-content: flex-start; } .pop-strip ul { justify-content: flex-start; } }

/* Library and topic pages: intro, page label. Static pages: date line, FAQ, contact form. */
.pagehead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pagehead__page { font-size: .45em; color: var(--muted); letter-spacing: 0; }
.list-intro { max-width: 980px; margin-top: 16px; }
.list-intro p { max-width: none; margin: 0 0 10px; font-size: 16.5px; line-height: 1.6; color: var(--body); }
.list-intro a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.more { gap: 18px; align-items: center; flex-wrap: wrap; }
.updated { margin: 28px 0 56px; font: 600 14px var(--font-display); color: var(--muted); }
.faq { display: grid; gap: 14px; max-width: 820px; margin-top: 8px; }
.faq__item { padding: 20px 24px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); }
.faq__item h3 { font-size: 22px; margin-bottom: 8px; }
.faq__item p { margin: 0; color: var(--body); line-height: 1.6; }
.faq__item a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact { display: grid; gap: 16px; max-width: 820px; margin-top: 28px; padding: 24px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__f { display: grid; gap: 6px; font: 700 14px var(--font-display); color: var(--ink); }
.contact__f small { font-weight: 500; color: var(--muted); }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.contact__msg { margin: 0; font: 600 15px var(--font-display); color: var(--ink); }
.contact__msg.is-error { color: var(--danger); }
.row--msg { align-items: flex-start; }
.row__msg { margin: 6px 0 0; white-space: pre-wrap; color: var(--body); font-size: 15px; }
@media (max-width: 620px) { .contact__row { grid-template-columns: 1fr; } .contact { padding: 18px; } }
