/* ============================================================
   TERRACOTTA SUNDAY — The Feline Advisor
   Design tokens from the 2026-07 design handoff (README.md)
   ============================================================ */

:root {
    --ink: #2B211A;
    --paper: #FAF3E7;
    --paper-deep: #F1E3C8;
    --terra: #C4572E;
    --marigold: #F2B33D;
    --muted: #6B5D4F;
    --faint: #8A7B67;
    --prose: #3B3128;
    --pros-green: #2E7D5B;
    --ondark-kicker: #E8B48F;
    --onterra-kicker: #FBE3CE;
    --hairline: rgba(43, 33, 26, 0.18);
    --shadow-card: 5px 5px 0 rgba(43, 33, 26, 0.12);
    --shadow-feature: 8px 8px 0 rgba(43, 33, 26, 0.12);
    --font-display: 'Young Serif', serif;
    --font-accent: 'Instrument Serif', serif;
    --font-ui: 'Karla', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --maxw: 1280px;
    --pad-x: 48px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-ui);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker {
    background: var(--ink); color: var(--paper);
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.08em; text-align: center;
    padding: 9px 16px;
    display: flex; justify-content: center; gap: 14px;
}
.tick-dot { color: var(--marigold); }

/* ── Masthead ───────────────────────────────────────────── */
.masthead { border-bottom: 1.5px solid var(--ink); background: var(--paper); }
.masthead-grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 20px var(--pad-x) 14px;
}
.mast-left { display: flex; gap: 28px; }
.mast-link {
    font-weight: 700; font-size: 14.5px; text-decoration: none;
    color: var(--ink); transition: color 0.2s;
}
.mast-link:hover, .mast-link.is-active { color: var(--terra); }
.mast-left .nav-item {
    font-weight: 700; font-size: 14.5px; text-decoration: none;
    color: var(--ink); transition: color 0.2s;
}
.mast-left .nav-item:hover, .mast-left .nav-item.is-active { color: var(--terra); }
.footer-col .nav-item { display: block; font-size: 14.5px; color: var(--ink); text-decoration: none; margin-bottom: 10px; }
.footer-col .nav-item:hover { color: var(--terra); }
.mobile-nav .nav-item {
    font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink);
    padding: 14px 20px; border-bottom: 1px solid var(--hairline);
}
.mast-center { text-align: center; position: relative; }
.site-title {
    font-family: var(--font-display); font-size: 40px;
    text-decoration: none; color: var(--ink); line-height: 1.05; display: inline-block;
}
.site-tagline {
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.28em; color: var(--terra); margin-top: 2px;
}
.mast-right { display: flex; gap: 22px; align-items: center; justify-content: flex-end; }
.btn-pill {
    display: inline-block; font-family: var(--font-ui); font-weight: 700;
    border-radius: 999px; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-mail {
    background: var(--terra); color: var(--paper);
    font-size: 14px; padding: 10px 20px;
    box-shadow: 3px 3px 0 var(--ink);
}
.btn-mail:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.nav-burger, .mast-mail-icon, .nav-toggle-box, .mobile-nav { display: none; }

/* ── Buttons & stickers ─────────────────────────────────── */
.btn-solid {
    display: inline-block; background: var(--ink); color: var(--paper);
    font-weight: 700; font-size: 16px; padding: 15px 30px;
    border-radius: 999px; text-decoration: none;
    box-shadow: 4px 4px 0 var(--terra); transition: 0.15s;
}
.btn-solid:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--terra); }
.btn-outline {
    display: inline-block; background: #fff; color: var(--ink);
    font-weight: 700; font-size: 16px; padding: 15px 30px;
    border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; transition: 0.15s;
}
.btn-outline:hover { background: var(--paper-deep); }
.btn-terra {
    background: var(--terra); color: var(--paper);
    font-size: 15px; padding: 12px 24px; box-shadow: 3px 3px 0 var(--ink);
}
.btn-terra:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghostline {
    border: 1.5px solid var(--paper); color: var(--paper);
    font-size: 15px; padding: 12px 24px;
}
.sticker {
    display: inline-block; font-weight: 700; font-size: 13px;
    border: 1.5px solid var(--ink); border-radius: 999px;
    padding: 7px 14px; transform: rotate(var(--rot, 0deg));
}
.sticker-marigold { background: var(--marigold); }
.sticker-white { background: #fff; }
.stamp {
    position: absolute; display: flex; align-items: center; justify-content: center;
    text-align: center; border-radius: 50%;
    font-family: var(--font-mono); font-weight: 700; font-size: 13px; line-height: 1.25;
    width: 92px; height: 92px;
}
.stamp-tested { background: var(--marigold); color: var(--ink); border: 1.5px solid var(--ink); transform: rotate(8deg); right: -12px; bottom: 40px; }
.stamp-paws { background: var(--terra); color: var(--paper); transform: rotate(-10deg); width: 86px; height: 86px; top: -20px; right: -14px; }

/* ── Sections ───────────────────────────────────────────── */
.row-section { max-width: var(--maxw); margin: 0 auto; padding: 44px var(--pad-x); }
.kicker {
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.2em; color: var(--terra); margin-bottom: 22px;
}
.kicker-ondark { color: var(--ondark-kicker); }
.kicker-onterra { color: var(--onterra-kicker); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.row-title { font-family: var(--font-display); font-size: 34px; }
.row-more { font-weight: 700; font-size: 15px; color: var(--terra); text-decoration: none; }
.row-more:hover { text-decoration: underline; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-decor-circle {
    position: absolute; width: 380px; height: 380px; border-radius: 50%;
    background: var(--paper-deep); top: -80px; right: -60px; z-index: 0;
}
.hero-watermark {
    position: absolute; font-family: var(--font-display); font-size: 200px;
    color: rgba(196, 87, 46, 0.07); bottom: -60px; left: -10px; z-index: 0;
    user-select: none; pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 1;
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px;
    padding: 66px var(--pad-x) 64px; align-items: center;
}
.hero-badges { display: flex; gap: 12px; margin-bottom: 24px; animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
.hero-h1 {
    font-family: var(--font-display); font-size: 78px; line-height: 0.99;
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.hero-h1 em { font-family: var(--font-accent); font-style: italic; color: var(--terra); }
.hero-sub {
    font-size: 19px; line-height: 1.55; color: var(--muted);
    max-width: 42ch; margin-top: 22px;
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 30px; animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both; }
.hero-visual { position: relative; animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
.hero-arch {
    display: block; height: 410px; overflow: hidden;
    border-radius: 210px 210px 26px 26px;
    border: 1.5px solid var(--ink); transform: rotate(1.5deg);
    box-shadow: 8px 10px 0 rgba(43, 33, 26, 0.12);
    background: var(--paper-deep);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 7rem; }
.float-card {
    position: absolute; left: -26px; bottom: 60px;
    background: var(--terra); color: var(--paper);
    font-family: var(--font-display); font-size: 17px; line-height: 1.3;
    padding: 14px 20px; border-radius: 16px;
    box-shadow: 0 5px 0 var(--ink);
    animation: floaty 5s ease-in-out infinite;
}
.float-card span { font-family: var(--font-mono); font-size: 11px; }

/* ── Marquee ────────────────────────────────────────────── */
.marquee {
    background: var(--paper-deep);
    border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
    overflow: hidden; white-space: nowrap; padding: 12px 0;
}
.marquee-track {
    display: inline-flex; gap: 34px; align-items: center;
    font-family: var(--font-display); font-size: 17px;
    animation: marquee 22s linear infinite;
}
.mq-star { color: var(--terra); }

/* ── Review of the Week ─────────────────────────────────── */
.rotw {
    position: relative;
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    border: 1.5px solid var(--ink); border-radius: 26px;
    background: #fff; overflow: visible;
    box-shadow: var(--shadow-feature);
}
.rotw-img {
    display: block; min-height: 340px; overflow: hidden;
    border-radius: 24px 0 0 24px; border-right: 1.5px solid var(--ink);
}
.rotw-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.rotw-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 5rem; background: var(--paper-deep); }
.rotw-body { padding: 44px 48px; }
.rotw-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }
.rotw-title { font-family: var(--font-display); font-size: 34px; line-height: 1.12; margin: 14px 0; }
.rotw-title a { text-decoration: none; color: var(--ink); }
.rotw-title a:hover { color: var(--terra); }
.rotw-excerpt { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.affiliate-note { font-size: 12.5px; color: var(--faint); margin-top: 16px; }

/* ── Cards ──────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pcard {
    background: #fff; border: 1.5px solid var(--ink); border-radius: 20px;
    overflow: hidden; box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pcard:nth-child(3n+1) { transform: rotate(-1deg); }
.pcard:nth-child(3n+2) { transform: rotate(0.8deg); }
.pcard:nth-child(3n)   { transform: rotate(-0.6deg); }
.pcard:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 7px 9px 0 rgba(43, 33, 26, 0.15); }
.pcard-link { text-decoration: none; color: var(--ink); display: block; }
.pcard-img { height: 180px; overflow: hidden; border-bottom: 1.5px solid var(--ink); background: var(--paper-deep); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.pcard-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; }
.pcard-body { padding: 22px; }
.pcard-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono); font-size: 11px; color: var(--terra);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.paw-rating { font-size: 12px; letter-spacing: 0.05em; }
.pcard-title { font-family: var(--font-display); font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.pcard-excerpt { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ── The Index ──────────────────────────────────────────── */
.index-list { border-bottom: 1.5px solid var(--ink); }
.index-row {
    display: grid; grid-template-columns: 70px 1fr auto; align-items: center;
    padding: 22px 8px; border-top: 1.5px solid var(--ink);
    text-decoration: none; color: var(--ink); transition: background 0.2s;
}
.index-row:hover { background: var(--paper-deep); }
.index-num { font-family: var(--font-accent); font-style: italic; font-size: 26px; color: var(--terra); }
.index-name { font-family: var(--font-display); font-size: 27px; }
.index-desc { font-family: var(--font-ui); font-size: 14.5px; color: var(--muted); margin-left: 16px; }
.index-arrow { font-size: 22px; }

/* ── How we test ────────────────────────────────────────── */
.howwetest { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 40px; }
.hwt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.hwt-num { font-family: var(--font-display); font-size: 40px; color: var(--marigold); display: block; margin-bottom: 10px; }
.hwt-step h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.hwt-step p { font-size: 14.5px; opacity: 0.82; line-height: 1.6; }

/* ── Meow Mail CTA ──────────────────────────────────────── */
.mm-cta {
    background: var(--terra); color: var(--paper);
    border-radius: 30px; padding: 60px; text-align: center;
}
.mm-cta-dark { background: var(--ink); }
.mm-cta-h2 { font-family: var(--font-display); font-size: 48px; line-height: 1.1; margin-bottom: 14px; }
.mm-cta-h2 em { font-family: var(--font-accent); font-style: italic; }
.mm-cta-sub { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }
.mm-fine { font-size: 13px; opacity: 0.75; margin-top: 16px; }
.mm-form { max-width: 460px; margin: 0 auto; }
.mm-capsule {
    display: flex; background: var(--paper); border-radius: 999px;
    padding: 6px; border: 1.5px solid var(--ink);
}
.mm-capsule input {
    flex: 1; border: none; background: transparent; outline: none;
    font-family: var(--font-ui); font-size: 15px; padding: 10px 18px; color: var(--ink); min-width: 0;
}
.mm-btn {
    font-family: var(--font-ui); font-weight: 700; font-size: 14px;
    background: var(--ink); color: var(--paper); border: none;
    border-radius: 999px; padding: 12px 24px; cursor: pointer; transition: background 0.2s;
}
.mm-btn:hover { background: var(--terra); }
.mm-cta .mm-btn:hover, .mm-cta-dark .mm-btn:hover { background: var(--terra); }
.mm-msg { display: none; font-size: 14px; margin-top: 12px; font-weight: 700; }
.mm-form.success .mm-success { display: block; }
.mm-form.error .mm-error { display: block; }

/* ── Post (article) ─────────────────────────────────────── */
.post-breadcrumb {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
    color: var(--faint); text-transform: uppercase; margin-bottom: 28px;
}
.post-breadcrumb a { color: var(--faint); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--terra); }
.bc-current { color: var(--terra); }
.post-full { max-width: var(--maxw); margin: 0 auto; padding: 44px var(--pad-x); }
.post-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; margin-bottom: 44px; align-items: start; }
.post-badges { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.post-title { font-family: var(--font-display); font-size: 56px; line-height: 1.04; }
.post-standfirst { font-size: 19px; color: var(--muted); line-height: 1.55; margin-top: 18px; }
.author-card {
    display: flex; gap: 14px; align-items: center;
    border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
    padding: 16px 0; margin-top: 26px;
}
.author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author-avatar-ph { display: inline-flex; align-items: center; justify-content: center; background: var(--paper-deep); font-size: 22px; border: 1.5px solid var(--ink); }
.author-name { font-weight: 700; font-size: 15px; }
.author-meta { font-size: 13px; color: var(--faint); }
.post-hero-img { position: relative; }
.post-hero-img img {
    border-radius: 24px; border: 1.5px solid var(--ink);
    box-shadow: var(--shadow-feature); width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; }

.post-content > p { font-size: 18px; line-height: 1.72; color: var(--prose); margin-bottom: 20px; }
.post-content > p:first-of-type { font-family: var(--font-accent); font-style: italic; font-size: 20px; line-height: 1.6; color: var(--ink); }
.post-content h2 { font-family: var(--font-display); font-size: 30px; margin: 44px 0 16px; }
.post-content h3 { font-family: var(--font-display); font-size: 24px; margin: 34px 0 12px; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; font-size: 17px; line-height: 1.7; color: var(--prose); }
.post-content li { margin-bottom: 8px; }
.post-content img { border-radius: 16px; border: 1.5px solid var(--ink); margin: 26px 0; }
.post-content blockquote {
    border-left: 3px solid var(--terra); padding-left: 20px;
    font-family: var(--font-accent); font-style: italic; font-size: 20px;
    color: var(--muted); margin: 26px 0;
}
.post-content a { color: var(--terra); }
.post-content .kg-card { margin: 26px 0; }
.post-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.tag-pill {
    font-weight: 700; font-size: 13px; text-decoration: none; color: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px;
    background: #fff; transition: background 0.2s;
}
.tag-pill:hover { background: var(--paper-deep); }

.post-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 20px; align-self: start; }
.side-card { background: #fff; border: 1.5px solid var(--ink); border-radius: 20px; padding: 24px; }
.side-card-dark { background: var(--ink); color: var(--paper); }
.side-card-dark p { font-size: 14.5px; opacity: 0.85; margin-bottom: 16px; }
.side-link {
    display: block; font-family: var(--font-display); font-size: 17px;
    text-decoration: none; color: var(--ink); padding: 12px 0;
    border-bottom: 1px solid var(--hairline); line-height: 1.3;
}
.side-link:last-child { border-bottom: none; }
.side-link:hover { color: var(--terra); }

/* ── Tag archive ────────────────────────────────────────── */
.tag-head { padding-bottom: 10px; }
.tag-title { font-family: var(--font-display); font-size: 64px; line-height: 1.02; }
.tag-title em { font-family: var(--font-accent); font-style: italic; color: var(--terra); }
.tag-intro { font-size: 19px; color: var(--muted); margin-top: 16px; max-width: 60ch; }
.filter-row { margin-bottom: 30px; }
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.fpill {
    font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 18px;
    background: #fff; transition: background 0.2s;
}
.fpill:hover { background: var(--paper-deep); }
.fpill.is-active { background: var(--ink); color: var(--paper); }
.editors-choice {
    position: relative;
    display: grid; grid-template-columns: 340px 1fr; gap: 0;
    border: 1.5px solid var(--ink); border-radius: 24px; background: #fff;
    box-shadow: var(--shadow-feature); margin-bottom: 36px; overflow: visible;
}
.ec-img { display: block; overflow: hidden; border-radius: 22px 0 0 22px; border-right: 1.5px solid var(--ink); }
.ec-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.ec-ph { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 220px; font-size: 4rem; background: var(--paper-deep); }
.ec-body { padding: 34px 40px; }
.ec-title { font-family: var(--font-display); font-size: 30px; line-height: 1.15; margin: 16px 0 10px; }
.ec-title a { text-decoration: none; color: var(--ink); }
.ec-title a:hover { color: var(--terra); }
.ec-excerpt { font-size: 15px; color: var(--muted); }

/* ── Pagination ─────────────────────────────────────────── */
.pagination {
    max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad-x) 60px;
    display: flex; gap: 14px; justify-content: center; align-items: center;
    font-weight: 700; font-size: 14px;
}
.pagination a {
    text-decoration: none; color: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 22px;
    background: #fff; transition: 0.15s;
}
.pagination a:hover { background: var(--paper-deep); }
.page-number { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* ── About page ─────────────────────────────────────────── */
.about-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.about-h1 { font-family: var(--font-display); font-size: 64px; line-height: 1.02; margin-bottom: 22px; }
.about-h1 em { font-family: var(--font-accent); font-style: italic; color: var(--terra); }
.about-body p { font-size: 19px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.about-photo img, .about-photo-ph {
    border-radius: 24px; border: 1.5px solid var(--ink);
    box-shadow: var(--shadow-feature); transform: rotate(1.5deg);
}
.about-photo-ph {
    display: flex; align-items: center; justify-content: center;
    height: 360px; font-size: 7rem; background: var(--paper-deep);
}
.stats-band {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1.5px solid var(--ink); border-radius: 20px; background: #fff; overflow: hidden;
}
.stat { text-align: center; padding: 34px 16px; border-right: 1.5px solid var(--ink); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 44px; color: var(--terra); display: block; }
.stat-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--paper-deep); border: 1.5px solid var(--ink); border-radius: 20px; padding: 30px; }
.value-emoji { font-size: 28px; display: block; margin-bottom: 14px; }
.value-card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; }
.value-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.team-card {
    background: #fff; border: 1.5px solid var(--ink); border-radius: 20px;
    padding: 26px; text-align: center; box-shadow: var(--shadow-card);
    transform: rotate(var(--rot, 0deg));
}
.team-card-boss { background: var(--terra); color: var(--paper); box-shadow: 5px 5px 0 var(--ink); }
.team-card-boss .team-role { color: var(--onterra-kicker); }
.team-photo { font-size: 64px; margin-bottom: 14px; }
.team-photo-svg { display: flex; justify-content: center; gap: 2px; }
.team-name { font-family: var(--font-display); font-size: 19px; }
.team-role { font-weight: 700; font-size: 13px; color: var(--terra); margin: 4px 0 10px; }
.team-bio { font-size: 13.5px; line-height: 1.55; }
.about-cta-btns { display: flex; gap: 14px; justify-content: center; margin-top: 10px; }

/* ── Newsletter page ────────────────────────────────────── */
.nl-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.nl-h1 { font-family: var(--font-display); font-size: 72px; line-height: 1; margin: 22px 0 14px; }
.nl-sub { font-size: 20px; color: var(--muted); margin-bottom: 26px; }
.nl-sub em { font-family: var(--font-accent); font-style: italic; color: var(--terra); }
.nl-hero .mm-form { margin: 0; }
.nl-hero .mm-capsule { box-shadow: 5px 5px 0 rgba(43, 33, 26, 0.15); background: #fff; }
.nl-reassure { display: flex; gap: 20px; font-size: 13.5px; color: var(--muted); margin-top: 18px; flex-wrap: wrap; }
.nl-preview {
    position: relative; background: #fff; border: 1.5px solid var(--ink);
    border-radius: 20px; transform: rotate(2deg);
    box-shadow: 10px 12px 0 rgba(43, 33, 26, 0.12); overflow: hidden;
}
.nl-preview-head {
    background: var(--ink); color: var(--paper);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
    display: flex; justify-content: space-between; padding: 12px 18px;
}
.nl-preview-body { padding: 24px; }
.nl-preview-subject { font-family: var(--font-display); font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.nl-preview-text { font-size: 14.5px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--hairline); margin-bottom: 16px; }
.nl-preview-item { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 14px; padding: 8px 0; }
.nl-thumb {
    width: 44px; height: 44px; border-radius: 10px; background: var(--paper-deep);
    border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.float-tag {
    position: absolute; right: 14px; bottom: -14px;
    background: var(--marigold); border: 1.5px solid var(--ink); border-radius: 999px;
    font-weight: 700; font-size: 13px; padding: 7px 14px;
    animation: floaty 5s ease-in-out infinite;
}
.nl-body-content .post-content, .nl-body-content p { font-size: 17px; color: var(--prose); line-height: 1.7; }

/* ── Page (generic) ─────────────────────────────────────── */
.page-head { margin-bottom: 34px; }
.page-content { max-width: 760px; }

/* ── Error page ─────────────────────────────────────────── */
.error-page { text-align: center; padding-top: 80px; padding-bottom: 100px; }
.error-code { font-family: var(--font-display); font-size: 120px; color: var(--terra); line-height: 1; }
.error-title { font-family: var(--font-display); font-size: 34px; margin: 18px 0 10px; }
.error-msg { color: var(--muted); margin-bottom: 30px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1.5px solid var(--ink); margin-top: 40px; }
.footer-grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
    padding: 44px var(--pad-x);
}
.footer-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; }
.footer-blurb { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.footer-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--terra); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--ink); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: var(--terra); }
.footer-legal {
    border-top: 1px solid var(--hairline);
    max-width: var(--maxw); margin: 0 auto;
    display: flex; justify-content: space-between;
    padding: 18px var(--pad-x); font-size: 13px; color: var(--muted);
}
.footer-legal a { color: var(--ink); font-weight: 700; text-decoration: none; }

/* ── Koenig editor cards ────────────────────────────────── */
.kg-width-wide { position: relative; width: 85vw; max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-gallery-container { display: flex; flex-direction: column; max-width: 1040px; margin: 26px auto; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { display: block; margin: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: none; }
.kg-gallery-row:not(:first-of-type) { margin: 4px 0 0; }
.kg-gallery-image:not(:first-of-type) { margin: 0 0 0 4px; }
.kg-bookmark-card { width: 100%; margin: 26px 0; }
.kg-bookmark-container {
    display: flex; text-decoration: none; color: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden;
    background: #fff; box-shadow: var(--shadow-card);
}
.kg-bookmark-content { display: flex; flex-direction: column; flex-grow: 1; padding: 20px; }
.kg-bookmark-title { font-family: var(--font-display); font-size: 17px; line-height: 1.3; }
.kg-bookmark-description {
    font-size: 14px; color: var(--muted); margin-top: 8px;
    max-height: 44px; overflow: hidden;
}
.kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--faint); }
.kg-bookmark-icon { width: 20px; height: 20px; }
.kg-bookmark-author { font-weight: 700; }
.kg-bookmark-publisher { color: var(--faint); }
.kg-bookmark-thumbnail { position: relative; flex-shrink: 0; min-width: 33%; max-height: 100%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: none; margin: 0; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track, .float-card, .float-tag { animation: none !important; }
    .hero-badges, .hero-h1, .hero-sub, .hero-ctas, .hero-visual { animation: none !important; }
}

/* ── Mobile (≤700px) ────────────────────────────────────── */
@media (max-width: 1020px) {
    .hero-h1 { font-size: 56px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .hwt-grid, .values-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    :root { --pad-x: 20px; }
    .ticker { font-size: 10px; gap: 8px; }
    .masthead-grid { grid-template-columns: 1fr; padding: 12px 20px; }
    .mast-left, .mast-right { display: none; }
    .mast-center { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
    .site-title { font-size: 20px; }
    .site-tagline { display: none; }
    .nav-burger {
        display: flex; align-items: center; justify-content: center;
        font-size: 20px; cursor: pointer; width: 40px; height: 40px;
    }
    .mast-mail-icon {
        display: flex; align-items: center; justify-content: center;
        font-size: 18px; text-decoration: none; width: 40px; height: 40px;
    }
    .mobile-nav {
        display: none; flex-direction: column; border-top: 1.5px solid var(--ink);
    }
    .nav-toggle-box:checked ~ .mobile-nav { display: flex; }
    .mobile-nav a {
        font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink);
        padding: 14px 20px; border-bottom: 1px solid var(--hairline);
    }
    .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; padding-bottom: 40px; }
    .hero-h1 { font-size: 40px; }
    .hero-sub { font-size: 16px; }
    .hero-ctas { flex-direction: column; }
    .btn-solid, .btn-outline { text-align: center; }
    .hero-arch { height: 220px; border-radius: 110px 110px 20px 20px; }
    .hero-watermark { font-size: 100px; }
    .marquee-track { animation-duration: 16s; font-size: 15px; }
    .rotw { grid-template-columns: 1fr; }
    .rotw-img { min-height: 150px; max-height: 200px; border-radius: 24px 24px 0 0; border-right: none; border-bottom: 1.5px solid var(--ink); }
    .rotw-body { padding: 26px 22px; }
    .rotw-title { font-size: 26px; }
    .card-grid { grid-template-columns: 1fr; }
    .pcard, .pcard:nth-child(n) { transform: none; }
    .index-name { font-size: 20px; }
    .index-desc { display: block; margin-left: 0; }
    .post-hero { grid-template-columns: 1fr; gap: 28px; }
    .post-title { font-size: 34px; }
    .tag-title { font-size: 38px; }
    .about-hero-grid, .nl-hero-grid { grid-template-columns: 1fr; }
    .about-h1 { font-size: 38px; }
    .nl-h1 { font-size: 46px; }
    .stats-band { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(-n+2) { border-bottom: 1.5px solid var(--ink); }
    .mm-cta { padding: 40px 24px; }
    .mm-cta-h2 { font-size: 30px; }
    .mm-capsule { flex-direction: column; border-radius: 20px; gap: 8px; padding: 10px; }
    .mm-btn { width: 100%; padding: 14px; }
    .editors-choice { grid-template-columns: 1fr; }
    .ec-img { border-radius: 22px 22px 0 0; border-right: none; border-bottom: 1.5px solid var(--ink); }
    .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .fpill { white-space: nowrap; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; gap: 8px; }
    .float-card { left: 6px; bottom: 20px; font-size: 14px; }
    .stamp-tested { width: 70px; height: 70px; font-size: 11px; }
}
