/* ==========================================================================
   rational.quest -- v2
   MCBling editorial aesthetic, forest-green palette, watercolor + retro patterns
   ========================================================================== */

/* -------- Reset / base -------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --deep-forest: #1A3D2E;
    --emerald: #2D6B4F;
    --bling-gold: #D4A855;
    --watercolor-sage: #8BAF8B;
    --cream-paper: #F5F0E5;
    --rich-brown: #4A3828;
    --diamond-white: #F8F5F0;

    --font-headline: "Barlow Condensed", Impact, sans-serif;
    --font-body: "Lora", Georgia, serif;
    --font-label: "Inconsolata", "Courier New", monospace;

    --max-read: 700px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--deep-forest);
    color: var(--cream-paper);
    font-family: var(--font-body);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.meta-label, .footer-meta, .footer-col-label,
.section-num, .gate-eyebrow, .tile-label {
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bling-gold);
}

em {
    font-style: italic;
    color: var(--bling-gold);
}

strong {
    color: var(--diamond-white);
    font-weight: 700;
}

/* ==========================================================================
   GLAMOUR GATE
   ========================================================================== */
.gate {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(45,107,79,0.55), transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(212,168,85,0.10), transparent 60%),
        var(--deep-forest);
}

/* Gate frames -- pattern borders forming a magazine cover frame */
.gate-frame {
    position: absolute;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><rect width='22' height='22' fill='%231A3D2E'/><path d='M11,0 L22,11 L11,22 L0,11 Z' fill='none' stroke='%23D4A855' stroke-width='0.55'/><circle cx='11' cy='11' r='0.9' fill='%23D4A855'/></svg>");
    background-repeat: repeat;
    z-index: 1;
    opacity: 0.95;
}
.gate-frame.top    { top: 24px;    left: 24px;   right: 24px;  height: 28px; }
.gate-frame.bottom { bottom: 24px; left: 24px;   right: 24px;  height: 28px; }
.gate-frame.left   { top: 24px;    left: 24px;   bottom: 24px; width: 28px; }
.gate-frame.right  { top: 24px;    right: 24px;  bottom: 24px; width: 28px; }

/* Corner ornaments */
.gate-corner {
    position: absolute;
    width: 56px;
    height: 56px;
    z-index: 2;
    pointer-events: none;
}
.gate-corner.tl { top: 24px; left: 24px; border-top: 2px solid var(--bling-gold); border-left: 2px solid var(--bling-gold); }
.gate-corner.tr { top: 24px; right: 24px; border-top: 2px solid var(--bling-gold); border-right: 2px solid var(--bling-gold); }
.gate-corner.bl { bottom: 24px; left: 24px; border-bottom: 2px solid var(--bling-gold); border-left: 2px solid var(--bling-gold); }
.gate-corner.br { bottom: 24px; right: 24px; border-bottom: 2px solid var(--bling-gold); border-right: 2px solid var(--bling-gold); }
.gate-corner::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--bling-gold);
    transform: rotate(45deg);
}
.gate-corner.tl::after { top: -5px; left: -5px; }
.gate-corner.tr::after { top: -5px; right: -5px; }
.gate-corner.bl::after { bottom: -5px; left: -5px; }
.gate-corner.br::after { bottom: -5px; right: -5px; }

/* Watercolor washes */
.wash {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    animation: washFade 2.4s ease 0.4s forwards;
}
.wash-tl  { top: -10%; left: -10%; width: 480px; height: 480px;
            background: radial-gradient(circle, rgba(139,175,139,0.55), transparent 70%); }
.wash-br  { bottom: -10%; right: -10%; width: 520px; height: 520px;
            background: radial-gradient(circle, rgba(45,107,79,0.65), transparent 70%); }
.wash-mid { top: 40%; left: 50%; transform: translate(-50%, -50%); width: 380px; height: 380px;
            background: radial-gradient(circle, rgba(212,168,85,0.18), transparent 70%); }

@keyframes washFade {
    to { opacity: 1; }
}

/* Gate content */
.gate-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 820px;
    padding: 40px;
}

.gate-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(10px);
    animation: gateRise 0.9s ease 0.6s forwards;
}

.ornament {
    color: var(--bling-gold);
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    text-shadow: 0 0 10px rgba(212,168,85,0.45);
}

.wordmark {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: clamp(56px, 11vw, 144px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--bling-gold);
    margin-bottom: 28px;
    opacity: 0;
    transform: scale(0.95);
    animation: wordmarkIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s forwards;
    text-shadow:
        0 0 24px rgba(212,168,85,0.35),
        0 4px 0 rgba(0,0,0,0.25);
}

.word-rational, .word-quest, .word-dot {
    display: inline-block;
}

.word-dot {
    color: var(--diamond-white);
    transform: translateY(-0.05em);
}

@keyframes wordmarkIn {
    0%   { opacity: 0; transform: scale(0.95); letter-spacing: -0.02em; }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: scale(1.0); letter-spacing: 0.02em; }
}

.gate-tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(18px, 2vw, 24px);
    color: var(--diamond-white);
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(10px);
    animation: gateRise 0.9s ease 1.2s forwards;
}

.gate-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.5s forwards;
}
.gate-divider .line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bling-gold), transparent);
}
.gate-divider .diamond {
    width: 10px; height: 10px;
    background: var(--bling-gold);
    transform: rotate(45deg);
    box-shadow: 0 0 12px rgba(212,168,85,0.6);
}

.gate-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.7s forwards;
}
.meta-dot {
    color: var(--bling-gold);
    font-size: 10px;
}

@keyframes gateRise {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
    opacity: 0;
    animation: fadeIn 0.8s ease 2.0s forwards;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--bling-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.6; transform: scaleY(1); }
    50%      { opacity: 1; transform: scaleY(1.3); }
}

/* ==========================================================================
   EDITORIAL STREAM
   ========================================================================== */
#editorial-stream {
    position: relative;
    background: var(--cream-paper);
    color: var(--rich-brown);
    padding: 120px 24px;
    overflow: hidden;
}

#editorial-stream::before {
    content: "";
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><rect width='34' height='34' fill='%231A3D2E'/><path d='M17,3 L19,15 L31,17 L19,19 L17,31 L15,19 L3,17 L15,15 Z' fill='none' stroke='%23D4A855' stroke-width='0.5'/></svg>");
    background-size: 34px 18px;
    background-repeat: repeat-x;
    z-index: 2;
}
#editorial-stream::after {
    content: "";
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><rect width='34' height='34' fill='%231A3D2E'/><path d='M17,3 L19,15 L31,17 L19,19 L17,31 L15,19 L3,17 L15,15 Z' fill='none' stroke='%23D4A855' stroke-width='0.5'/></svg>");
    background-size: 34px 18px;
    background-repeat: repeat-x;
    z-index: 2;
}

.editorial-block {
    max-width: var(--max-read);
    margin: 0 auto 100px;
    position: relative;
}

.editorial-block:last-of-type {
    margin-bottom: 40px;
}

/* Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal] > * {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal].is-visible > *:nth-child(1) { transition-delay: 0.00s; }
[data-reveal].is-visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-reveal].is-visible > *:nth-child(3) { transition-delay: 0.30s; }
[data-reveal].is-visible > *:nth-child(4) { transition-delay: 0.45s; }
[data-reveal].is-visible > *:nth-child(5) { transition-delay: 0.60s; }
[data-reveal].is-visible > *:nth-child(6) { transition-delay: 0.75s; }

.block-header {
    margin-bottom: 36px;
    text-align: left;
}

.section-num {
    display: inline-block;
    color: var(--bling-gold);
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(212,168,85,0.4);
}

.headline {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: clamp(28px, 4.5vw, 56px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--deep-forest);
    line-height: 1.05;
    margin-bottom: 14px;
}

.headline em {
    color: var(--bling-gold);
    font-style: italic;
}

.section-rule {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--bling-gold);
    margin-top: 4px;
}

.lede {
    font-family: var(--font-body);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 400;
    color: var(--rich-brown);
    margin-bottom: 28px;
    line-height: 1.65;
}

.lede em { color: var(--bling-gold); font-weight: 700; }

.body-text {
    margin-bottom: 24px;
    color: var(--rich-brown);
}

.pullquote {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.4;
    color: var(--deep-forest);
    border-left: 3px solid var(--bling-gold);
    padding-left: 24px;
    margin: 40px 0;
    position: relative;
}
.pullquote::before {
    content: "\201C";
    position: absolute;
    left: -10px;
    top: -20px;
    font-size: 56px;
    color: rgba(212,168,85,0.3);
    font-family: var(--font-body);
    line-height: 1;
}

.ornament-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 48px 0 0;
}
.ornament-row .ornament {
    color: var(--bling-gold);
    font-size: 16px;
}
.ornament-line {
    width: 80px;
    height: 1px;
    background: var(--bling-gold);
    opacity: 0.6;
}

/* Numbered list */
.numbered-list {
    list-style: none;
    margin: 24px 0 32px;
    padding: 0;
}
.numbered-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
    background: rgba(212,168,85,0.06);
    border-left: 3px solid var(--bling-gold);
}
.num-marker {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 28px;
    color: var(--bling-gold);
    line-height: 1;
}
.num-text {
    font-family: var(--font-body);
    color: var(--rich-brown);
    line-height: 1.65;
}

/* Watercolor figure */
.watercolor-figure {
    position: relative;
    height: 220px;
    margin: 40px 0;
    overflow: hidden;
}
.wc-blot {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.85;
}
.wc-sage    { top: 20%; left: 10%; width: 200px; height: 200px;
              background: radial-gradient(circle, rgba(139,175,139,0.85), transparent 70%); }
.wc-emerald { top: 10%; left: 38%; width: 240px; height: 240px;
              background: radial-gradient(circle, rgba(45,107,79,0.6), transparent 70%); }
.wc-gold    { top: 30%; right: 15%; width: 180px; height: 180px;
              background: radial-gradient(circle, rgba(212,168,85,0.5), transparent 70%); }

/* Field glossary */
.field-glossary {
    margin-top: 32px;
    border-top: 1px solid rgba(212,168,85,0.4);
}
.glossary-entry {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(212,168,85,0.4);
}
.glossary-entry dt {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--deep-forest);
    line-height: 1.2;
}
.glossary-entry dd {
    font-family: var(--font-body);
    color: var(--rich-brown);
    line-height: 1.65;
}

/* ==========================================================================
   PATTERN GALLERY
   ========================================================================== */
#pattern-gallery {
    position: relative;
    background: var(--deep-forest);
    color: var(--diamond-white);
    padding: 140px 24px 120px;
    overflow: hidden;
}

.gallery-frame {
    position: absolute;
    left: 0; right: 0;
    height: 22px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26'><rect width='26' height='26' fill='%231A3D2E'/><circle cx='13' cy='13' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='0' cy='0' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='26' cy='0' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='0' cy='26' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='26' cy='26' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/></svg>");
    background-repeat: repeat;
    z-index: 2;
}
.gallery-frame.top    { top: 0; }
.gallery-frame.bottom { bottom: 0; }

.gallery-header {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}
.gallery-num {
    display: inline-block;
    margin-bottom: 14px;
}
.gallery-headline {
    color: var(--bling-gold);
    margin-bottom: 18px;
}
.gallery-deck {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(17px, 1.6vw, 19px);
    color: var(--cream-paper);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

.pattern-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto 80px;
}

.pattern-tile {
    position: relative;
    background: var(--deep-forest);
    border: 2px solid var(--bling-gold);
    padding: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pattern-tile::before, .pattern-tile::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--bling-gold);
    transform: rotate(45deg);
}
.pattern-tile::before { top: -6px; left: -6px; }
.pattern-tile::after  { bottom: -6px; right: -6px; }

.pattern-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(212,168,85,0.18);
}

.tile-art {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid rgba(212,168,85,0.5);
}
.tile-diamond { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><rect width='22' height='22' fill='%231A3D2E'/><path d='M11,0 L22,11 L11,22 L0,11 Z' fill='none' stroke='%23D4A855' stroke-width='0.55'/><circle cx='11' cy='11' r='0.9' fill='%23D4A855'/></svg>"); background-size: 22px 22px; }
.tile-circles { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26'><rect width='26' height='26' fill='%231A3D2E'/><circle cx='13' cy='13' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='0' cy='0' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='26' cy='0' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='0' cy='26' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/><circle cx='26' cy='26' r='11' fill='none' stroke='%23D4A855' stroke-width='0.45'/></svg>"); background-size: 26px 26px; }
.tile-stars   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><rect width='34' height='34' fill='%231A3D2E'/><path d='M17,3 L19,15 L31,17 L19,19 L17,31 L15,19 L3,17 L15,15 Z' fill='none' stroke='%23D4A855' stroke-width='0.5'/></svg>"); background-size: 34px 34px; }
.tile-lattice { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18'><rect width='18' height='18' fill='%231A3D2E'/><path d='M0,9 L9,0 M9,18 L18,9 M0,18 L18,0' stroke='%23D4A855' stroke-width='0.4' fill='none'/><circle cx='9' cy='9' r='1.4' fill='none' stroke='%23D4A855' stroke-width='0.4'/></svg>"); background-size: 18px 18px; }

figcaption {
    margin-top: 14px;
    text-align: center;
}
.tile-label {
    display: block;
    margin-bottom: 4px;
}
.tile-name {
    display: block;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 18px;
    color: var(--diamond-white);
}

.gallery-coda {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 24px;
    text-align: center;
    border-top: 1px solid rgba(212,168,85,0.35);
    border-bottom: 1px solid rgba(212,168,85,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.coda-text {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--cream-paper);
    line-height: 1.7;
    flex: 1;
}
.coda-text em {
    color: var(--bling-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
}

/* ==========================================================================
   ARCHIVE FOOTER
   ========================================================================== */
#archive-footer {
    position: relative;
    background: var(--deep-forest);
    color: var(--cream-paper);
    padding: 80px 24px 40px;
    border-top: 0;
}
.footer-frame {
    position: absolute;
    left: 0; right: 0;
    height: 22px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><rect width='22' height='22' fill='%231A3D2E'/><path d='M11,0 L22,11 L11,22 L0,11 Z' fill='none' stroke='%23D4A855' stroke-width='0.55'/><circle cx='11' cy='11' r='0.9' fill='%23D4A855'/></svg>");
    background-repeat: repeat;
    z-index: 2;
}
.footer-frame.top { top: 0; }

.footer-content {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(212,168,85,0.3);
}

.footer-mark {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-wordmark {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--bling-gold);
}
.footer-tagline {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--cream-paper);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}
.footer-col-label {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(212,168,85,0.4);
}
.footer-list {
    list-style: none;
}
.footer-list li {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--cream-paper);
    line-height: 1.9;
}

.footer-base {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-meta {
    color: var(--bling-gold);
}
.footer-ornament {
    margin: 0;
    gap: 10px;
}
.footer-ornament .ornament {
    font-size: 12px;
}

/* ==========================================================================
   SPARKLES
   ========================================================================== */
.sparkle {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    background: var(--bling-gold);
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    opacity: 0;
    z-index: 50;
    animation: sparkleFlash 0.9s ease forwards;
    box-shadow: 0 0 14px rgba(212,168,85,0.75);
}
@keyframes sparkleFlash {
    0%   { opacity: 0; transform: scale(0.4) rotate(0deg); }
    35%  { opacity: 1; transform: scale(1.0) rotate(45deg); }
    70%  { opacity: 1; transform: scale(1.1) rotate(70deg); }
    100% { opacity: 0; transform: scale(0.5) rotate(120deg); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 720px) {
    .gate-frame.top    { top: 12px; left: 12px; right: 12px; height: 22px; }
    .gate-frame.bottom { bottom: 12px; left: 12px; right: 12px; height: 22px; }
    .gate-frame.left   { top: 12px; left: 12px; bottom: 12px; width: 22px; }
    .gate-frame.right  { top: 12px; right: 12px; bottom: 12px; width: 22px; }
    .gate-corner.tl, .gate-corner.tr { top: 12px; }
    .gate-corner.tl, .gate-corner.bl { left: 12px; }
    .gate-corner.tr, .gate-corner.br { right: 12px; }
    .gate-corner.bl, .gate-corner.br { bottom: 12px; }
    .gate-content { padding: 24px; }

    #editorial-stream { padding: 80px 20px; }
    .editorial-block { margin-bottom: 70px; }

    .glossary-entry {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-coda {
        flex-direction: column;
        gap: 12px;
    }

    .pullquote {
        margin: 32px 0;
        padding-left: 18px;
    }
}

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