        @font-face {
            font-family: 'Cormorant Garamond';
            src: url('../assets/fonts/cormorant-garamond/CormorantGaramond-latin.woff2') format('woff2');
            font-style: normal;
            font-weight: 300 500;
            font-display: block;
        }

        @font-face {
            font-family: 'Outfit';
            src: url('../assets/fonts/outfit/Outfit-latin.woff2') format('woff2');
            font-style: normal;
            font-weight: 300 700;
            font-display: block;
        }

        @font-face {
            font-family: 'JetBrains Mono';
            src: url('../assets/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf') format('truetype');
            font-style: normal;
            font-weight: 400;
            font-display: block;
        }

        @font-face {
            font-family: 'JetBrains Mono';
            src: url('../assets/fonts/jetbrains-mono/JetBrainsMono-Medium.ttf') format('truetype');
            font-style: normal;
            font-weight: 500;
            font-display: block;
        }

        @font-face {
            font-family: 'JetBrains Mono';
            src: url('../assets/fonts/jetbrains-mono/JetBrainsMono-SemiBold.ttf') format('truetype');
            font-style: normal;
            font-weight: 600;
            font-display: block;
        }

        @font-face {
            font-family: 'Caveat';
            src: url('../assets/fonts/caveat/Caveat-Regular.ttf') format('truetype');
            font-style: normal;
            font-weight: 400;
            font-display: block;
        }

        @font-face {
            font-family: 'Caveat';
            src: url('../assets/fonts/caveat/Caveat-SemiBold.ttf') format('truetype');
            font-style: normal;
            font-weight: 600;
            font-display: block;
        }
        /* ═══════════════════════════════════════
           COLORS: Cream/Oatmeal from sample
           (#F9F8F6 bg, #FFFFFF cards, warm shadows)
        ═══════════════════════════════════════ */
        :root {
            --bg: #F9F8F6;
            --section-bg: #F9F8F6;
            --section-alt-bg: #F3F2EF;
            --text-main: #1C1B1A;
            --text-muted: #595856;
            --text-dim: #9A9895;
            --accent: #2563EB;
            --accent-soft: #EFF4FF;
            --card-bg: #FFFFFF;
            --card-border: rgba(0,0,0,0.05);
            --card-shadow: 0 16px 40px rgba(0,0,0,0.04);
            --card-shadow-hover: 0 24px 56px rgba(0,0,0,0.07);
            --danger: #DC3545;
            --heal: #16A34A;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg);
            color: var(--text-main);
            -webkit-font-smoothing: antialiased;
            font-synthesis: none;
            overflow-x: hidden;
            /* Match the established story-page policy. Automatic anchoring can
               feed back into the sticky, scroll-driven chapter animations. */
            overflow-anchor: none;
            opacity: 1;
            transition: opacity 0.16s ease;
        }
        .top-bar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            padding: 0.9rem 2.5rem;
            display: flex; justify-content: space-between; align-items: center;
            gap: 1rem;
            background: linear-gradient(to bottom, var(--bg) 70%, transparent);
            pointer-events: none;
        }
        .top-bar > * { pointer-events: auto; }
        .top-bar-brand {
            font-family: 'Outfit', sans-serif;
            font-size: 0.82rem; font-weight: 600;
            flex: 0 0 auto;
            color: var(--text-dim);
            text-decoration: none; letter-spacing: 0.02em;
        }
        .story-parts {
            --story-nav-bg: rgba(255, 252, 247, 0.76);
            --story-nav-border: rgba(163, 110, 50, 0.32);
            --story-nav-divider: rgba(128, 92, 55, 0.18);
            --story-nav-part: rgba(96, 80, 64, 0.62);
            --story-nav-title: rgba(83, 65, 48, 0.74);
            --story-nav-active: #A36E32;
            --story-nav-active-bg: rgba(255, 250, 241, 0.92);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            min-width: 0;
            max-width: min(76vw, 38rem);
            overflow-x: auto;
            padding: 0;
            border: 1px solid var(--story-nav-border);
            border-radius: 14px;
            background: var(--story-nav-bg);
            box-shadow: 0 14px 34px rgba(95, 65, 38, 0.07);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            scrollbar-width: none;
        }
        .story-parts::-webkit-scrollbar { display: none; }
        .story-parts__link {
            position: relative;
            flex: 0 0 auto;
            min-width: 9.25rem;
            min-height: 3.7rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 1px solid transparent;
            border-radius: 13px;
            margin: -1px 0;
            padding: 0.72rem 1.35rem 0.68rem;
            font-family: 'JetBrains Mono', monospace;
            line-height: 1;
            color: var(--story-nav-title);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0;
            text-align: center;
            opacity: 1;
            transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .story-parts__link + .story-parts__link::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            width: 1px;
            height: 1.8rem;
            background: var(--story-nav-divider);
            transform: translateY(-50%);
        }
        .story-parts__link[aria-current="page"]::before,
        .story-parts__link[aria-current="page"] + .story-parts__link::before {
            opacity: 0;
        }
        .story-parts__part,
        .story-parts__title {
            display: block;
            white-space: nowrap;
        }
        .story-parts__part {
            font-size: 0.62rem;
            font-weight: 500;
            color: var(--story-nav-part);
        }
        .story-parts__title {
            margin-top: 0.34rem;
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--story-nav-title);
        }
        .story-parts__link:hover,
        .story-parts__link:focus-visible {
            background: rgba(255, 248, 238, 0.7);
            outline: none;
        }
        .story-parts__link:focus-visible {
            box-shadow: inset 0 0 0 1px var(--story-nav-active);
        }
        .story-parts__link[aria-current="page"] {
            z-index: 1;
            border-color: color-mix(in srgb, var(--story-nav-active) 72%, transparent);
            background: var(--story-nav-active-bg);
            box-shadow: 0 10px 26px rgba(112, 74, 38, 0.11);
        }
        .story-parts__link[aria-current="page"] .story-parts__part,
        .story-parts__link[aria-current="page"] .story-parts__title {
            color: var(--story-nav-active);
        }

        /* ═══ HERO ═══ */
        .hero {
            min-height: 100vh; display: flex; flex-direction: column;
            justify-content: center; align-items: center; text-align: center;
            padding: 2rem; padding-top: 4rem;
            position: relative;
            overflow: hidden;
            isolation: isolate;
            background:
                linear-gradient(180deg, #FFFCF7 0%, #FAF8F2 54%, var(--bg) 100%);
        }

        .hero h1 {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(3.2rem, 8vw, 6rem); font-weight: 300;
            letter-spacing: 0; line-height: 1.1; color: var(--text-main);
            margin-bottom: 1.05rem; position: relative; z-index: 1;
            opacity: 0; animation: fadeUp 0.9s 0.2s cubic-bezier(0.16,1,0.3,1) forwards;
        }
        .hero-divider {
            width: min(23rem, 58vw);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin: 0 0 1.55rem;
            position: relative;
            z-index: 1;
            opacity: 0;
            animation: fadeUp 0.9s 0.38s cubic-bezier(0.16,1,0.3,1) forwards;
        }
        .hero-divider::before,
        .hero-divider::after {
            content: "";
            height: 1px;
            flex: 1;
            background: linear-gradient(90deg, rgba(176, 132, 70, 0), rgba(176, 132, 70, 0.72));
        }
        .hero-divider::after {
            background: linear-gradient(90deg, rgba(176, 132, 70, 0.72), rgba(176, 132, 70, 0));
        }
        .hero-divider span {
            width: 0.72rem;
            height: 0.72rem;
            border: 1px solid rgba(176, 132, 70, 0.88);
            transform: rotate(45deg);
            position: relative;
            flex: 0 0 auto;
        }
        .hero-divider span::after {
            content: "";
            position: absolute;
            inset: 0.18rem;
            background: rgba(176, 132, 70, 0.42);
        }
        .hero-sub {
            font-family: 'Outfit', sans-serif;
            font-size: 1.22rem; font-weight: 300;
            color: #45423E; max-width: 690px; line-height: 1.82;
            text-wrap: balance;
            position: relative; z-index: 1;
            opacity: 0; animation: fadeUp 0.9s 0.56s cubic-bezier(0.16,1,0.3,1) forwards;
        }
        .scroll-cue {
            position: absolute; bottom: 2.5rem; z-index: 1;
            width: 44px; height: 44px; border-radius: 50%;
            background: var(--card-bg); box-shadow: var(--card-shadow);
            display: flex; align-items: center; justify-content: center;
            color: var(--accent); font-size: 1.1rem;
            opacity: 0; animation: fadeUp 0.8s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
        }
        .scroll-cue.bouncing { opacity: 1; animation: bounce 2.5s infinite; }
        .carousel {
            position: relative; width: 100%;
        }
        .carousel-track {
            position: relative;
            width: 100%;
            aspect-ratio: 4 / 5;
            border-radius: 16px; overflow: hidden;
            box-shadow: var(--card-shadow-hover);
            background: var(--card-bg);
        }
        .carousel-slide {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            object-fit: contain;
            display: none; cursor: zoom-in;
        }
        .carousel-slide.active { display: block; }

        .image-tag {
            position: absolute; bottom: 10px; right: 10px;
            padding: 3px 10px; border-radius: 20px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.65rem; font-weight: 500;
            letter-spacing: 0.03em;
            pointer-events: none; z-index: 2;
        }
        .image-tag-real {
            background: rgba(22, 163, 74, 0.82); color: #fff;
        }
        .image-tag-ai {
            background: rgba(0, 0, 0, 0.55); color: rgba(255,255,255,0.9);
        }

        .carousel-arrow {
            position: absolute; top: 50%; transform: translateY(-50%);
            width: 36px; height: 36px; border-radius: 50%;
            background: rgba(255,255,255,0.92);
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            color: var(--text-main); font-size: 1.3rem;
            cursor: pointer; z-index: 2;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s ease;
        }
        .carousel-arrow:hover {
            background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
            transform: translateY(-50%) scale(1.08);
        }
        .carousel-prev { left: -18px; }
        .carousel-next { right: -18px; }

        .carousel-dots {
            display: flex; gap: 7px;
            justify-content: center; margin-top: 14px;
        }
        .carousel-dot {
            width: 8px; height: 8px; border-radius: 50%;
            border: none; padding: 0;
            background: var(--text-dim); opacity: 0.35;
            cursor: pointer; transition: all 0.25s ease;
        }
        .carousel-dot.active {
            opacity: 1; background: var(--accent);
            transform: scale(1.25);
        }

        /* ═══ LIGHTBOX ═══ */
        .lightbox-overlay {
            position: fixed; inset: 0; z-index: 9999;
            background: rgba(0,0,0,0.85);
            backdrop-filter: blur(8px);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            cursor: zoom-out;
        }
        .lightbox-overlay.active { opacity: 1; visibility: visible; }
        .lightbox-overlay img {
            max-width: 92vw; max-height: 92vh;
            object-fit: contain; border-radius: 12px;
            box-shadow: 0 8px 60px rgba(0,0,0,0.5);
            transform: scale(0.92);
            transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
        }
        .lightbox-overlay.active img { transform: scale(1); }
        .lightbox-close {
            position: absolute; top: 1.2rem; right: 1.5rem;
            width: 44px; height: 44px; border-radius: 50%;
            background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
            color: #fff; font-size: 1.3rem;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: background 0.2s;
        }
        .lightbox-close:hover { background: rgba(255,255,255,0.25); }



        /* ═══ CHAPTER MARKERS — full-width cinematic breaks ═══ */
        .chapter-marker {
            padding: 22vh 2rem 12vh;
            text-align: center;
            background: var(--bg);
            overflow-anchor: none;
        }
        .chapter-marker-label {
            font-family: 'Outfit', sans-serif;
            font-size: 0.72rem; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            color: var(--text-dim);
            margin-bottom: 1.2rem;
        }
        .chapter-marker-line {
            width: 60px; height: 1px;
            background: var(--text-dim); opacity: 0.4;
            margin: 0 auto 1.4rem;
        }
        .chapter-marker-title {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300;
            color: var(--text-main);
            line-height: 1.15; letter-spacing: -0.01em;
        }

        /* ═══ NARRATIVE BREAKS — editorial transition moments ═══ */
        .narrative-break {
            padding: 4.5rem 2rem;
            overflow-anchor: none;
        }
        .narrative-break__layout {
            max-width: 750px;
            margin: 0 auto;
        }
        .narrative-break-inner {
            max-width: 750px; margin: 0 auto;
            padding-left: 2rem;
            border-left: 4px solid var(--text-dim);
        }
        .narrative-break-inner.nb-forward { border-left-color: var(--heal); }
        .narrative-break-inner.nb-back { border-left-color: var(--danger); }
        .narrative-break-inner h2 {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 2.2rem; font-weight: 400; color: var(--text-main);
            margin-bottom: 1.2rem; line-height: 1.15;
        }
        .narrative-break-inner p {
            font-size: 1.1rem; color: var(--text-muted);
            margin-bottom: 1.2rem; line-height: 1.7; font-weight: 300;
        }
        .narrative-break-inner p:last-child { margin-bottom: 0; }

        .cereal-sibo-note {
            max-width: 1480px;
            margin: 0 auto;
            padding: clamp(1.35rem, 2.35vw, 2rem);
            display: grid;
            grid-template-columns: minmax(230px, 0.25fr) minmax(0, 1fr);
            gap: clamp(1.25rem, 3vw, 2.4rem);
            align-items: stretch;
            border: 1px solid rgba(181, 124, 72, 0.30);
            border-radius: 28px;
            background:
                radial-gradient(circle at 17% 8%, rgba(255, 255, 255, 0.84), transparent 34%),
                radial-gradient(circle at 88% 82%, rgba(244, 214, 163, 0.24), transparent 34%),
                linear-gradient(135deg, #fffaf0 0%, #fbf1e2 48%, #fff8eb 100%);
            box-shadow: 0 22px 54px rgba(112, 78, 42, 0.11);
            overflow: hidden;
        }
        .cereal-sibo-note__intro {
            padding: clamp(0.25rem, 0.8vw, 0.65rem) clamp(0.85rem, 1.8vw, 1.65rem) clamp(0.25rem, 0.8vw, 0.65rem) 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-right: 1px dashed rgba(181, 124, 72, 0.30);
        }
        .cereal-sibo-note__eyebrow,
        .cereal-sibo-note__row-label {
            margin: 0;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            font-weight: 600;
            line-height: 1;
            letter-spacing: 0.34em;
            text-transform: uppercase;
        }
        .cereal-sibo-note__eyebrow {
            color: #9f2d2f;
            margin-bottom: clamp(1.15rem, 2.7vw, 2.8rem);
        }
        .cereal-sibo-note__intro h2 {
            margin: 0;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 3.05vw, 3.35rem);
            font-weight: 400;
            line-height: 0.98;
            color: #9f2d2f;
            letter-spacing: -0.02em;
        }
        .cereal-sibo-note__intro h2 em {
            color: #b84f34;
            font-style: italic;
        }
        .cereal-sibo-note__summary {
            max-width: 18rem;
            margin: clamp(1.35rem, 3.4vw, 3.2rem) 0 0;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.1rem, 1.8vw, 1.35rem);
            font-style: italic;
            line-height: 1.35;
            color: rgba(112, 47, 38, 0.82);
        }
        .cereal-sibo-note__diagram {
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: clamp(0.82rem, 1.35vw, 1.15rem);
        }
        .cereal-sibo-note__row-label {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            color: #9f2d2f;
        }
        .cereal-sibo-note__row-label::before {
            content: "";
            width: 2.1rem;
            height: 1px;
            background: currentColor;
            opacity: 0.38;
        }
        .cereal-sibo-note__row-label--repair {
            color: #26885b;
        }
        .cereal-sibo-note__chain {
            display: flex;
            align-items: stretch;
            gap: clamp(0.5rem, 1.1vw, 0.85rem);
        }
        .cereal-sibo-note__chain--repair {
            max-width: 760px;
        }
        .cereal-sibo-note__repair-grid {
            display: grid;
            grid-template-columns: minmax(0, 760px) minmax(210px, 0.34fr);
            gap: clamp(0.9rem, 2vw, 1.35rem);
            align-items: end;
        }
        .cereal-sibo-note__repair-main {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: clamp(0.82rem, 1.35vw, 1.15rem);
        }
        .cereal-sibo-note__card {
            flex: 1 1 0;
            min-width: 0;
            padding: clamp(0.68rem, 1.15vw, 0.9rem);
            border-radius: 14px;
            background: rgba(255, 253, 248, 0.92);
            border: 1px solid rgba(137, 79, 38, 0.18);
            box-shadow: 0 13px 28px rgba(103, 55, 33, 0.07);
            text-align: center;
        }
        .cereal-sibo-note__card--cause {
            border-color: rgba(220, 53, 69, 0.22);
        }
        .cereal-sibo-note__card--repair {
            border-color: rgba(20, 153, 88, 0.24);
        }
        .cereal-sibo-note__icon {
            width: 2.25rem;
            height: 2.25rem;
            margin: 0 auto 0.48rem;
            display: grid;
            place-items: center;
            border-radius: 999px;
            border: 1px solid rgba(220, 53, 69, 0.30);
            background: rgba(220, 53, 69, 0.08);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 700;
            color: #9f2d2f;
        }
        .cereal-sibo-note__card--repair .cereal-sibo-note__icon {
            border-color: rgba(20, 153, 88, 0.30);
            background: rgba(20, 153, 88, 0.08);
            color: #26885b;
        }
        .cereal-sibo-note__card h3 {
            margin: 0 0 0.24rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.05rem, 1.25vw, 1.28rem);
            font-style: italic;
            font-weight: 500;
            line-height: 1.1;
            color: #9f2d2f;
        }
        .cereal-sibo-note__card--repair h3 {
            color: #26885b;
        }
        .cereal-sibo-note__card p {
            margin: 0;
            font-family: 'Outfit', sans-serif;
            font-size: clamp(0.74rem, 0.9vw, 0.86rem);
            line-height: 1.28;
            color: rgba(48, 48, 45, 0.72);
        }
        .cereal-sibo-note__arrow {
            align-self: center;
            flex: 0 0 auto;
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.1rem;
            font-weight: 700;
            color: #b84f34;
        }
        .cereal-sibo-note__arrow--repair {
            color: #26885b;
        }
        .cereal-sibo-note__aside {
            margin: -0.45rem 0 0 1.35rem;
            font-family: 'Caveat', cursive;
            font-size: clamp(1.4rem, 2.4vw, 2rem);
            font-weight: 600;
            color: #26885b;
            transform: rotate(-1deg);
        }
        .cereal-sibo-note__story-trigger {
            appearance: none;
            align-self: stretch;
            min-height: 9.7rem;
            padding: 1rem 1.05rem;
            border: 1px solid rgba(181, 124, 72, 0.30);
            border-radius: 18px;
            background:
                linear-gradient(135deg, rgba(255, 254, 249, 0.98), rgba(249, 238, 216, 0.90));
            box-shadow: 0 15px 30px rgba(103, 55, 33, 0.09);
            color: #5b4738;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: left;
            position: relative;
            transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
        }
        .cereal-sibo-note__story-trigger::after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 2.05rem;
            height: 2.05rem;
            border-bottom-left-radius: 14px;
            background: linear-gradient(135deg, rgba(246, 225, 184, 0.28), rgba(181, 124, 72, 0.18));
        }
        .cereal-sibo-note__story-trigger:hover,
        .cereal-sibo-note__story-trigger:focus-visible {
            transform: translateY(-2px);
            border-color: rgba(159, 45, 47, 0.32);
            box-shadow: 0 18px 36px rgba(103, 55, 33, 0.13);
            outline: none;
        }
        .cereal-sibo-note__story-icon {
            width: 2.45rem;
            height: 2.45rem;
            margin-bottom: 0.72rem;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: rgba(159, 45, 47, 0.08);
            border: 1px solid rgba(159, 45, 47, 0.18);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            color: #9f2d2f;
            text-transform: uppercase;
        }
        .cereal-sibo-note__story-kicker {
            margin-bottom: 0.28rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: #9f2d2f;
        }
        .cereal-sibo-note__story-title {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.22rem, 1.55vw, 1.5rem);
            font-weight: 500;
            line-height: 1.04;
            color: #2d241d;
        }
        .cereal-sibo-note__story-copy {
            margin-top: 0.48rem;
            font-family: 'Outfit', sans-serif;
            font-size: 0.82rem;
            line-height: 1.38;
            color: rgba(48, 48, 45, 0.68);
        }
        .cereal-sibo-story-dialog {
            position: fixed;
            inset: 0;
            width: min(720px, calc(100vw - 2rem));
            height: fit-content;
            max-height: min(82vh, calc(100dvh - 2rem));
            margin: auto;
            padding: clamp(1.2rem, 2.8vw, 2rem);
            border: 1px solid rgba(181, 124, 72, 0.32);
            border-radius: 24px;
            background:
                radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.92), transparent 34%),
                linear-gradient(135deg, #fffaf0, #fbf0dd);
            color: #40352c;
            box-shadow: 0 30px 80px rgba(70, 45, 26, 0.28);
            overflow: auto;
        }
        .cereal-sibo-story-dialog::backdrop {
            background: rgba(38, 31, 24, 0.42);
            backdrop-filter: blur(3px);
        }
        .cereal-sibo-story-dialog__close {
            position: absolute;
            top: 0.85rem;
            right: 0.95rem;
            width: 2.35rem;
            height: 2.35rem;
            border: 1px solid rgba(159, 45, 47, 0.20);
            border-radius: 999px;
            background: rgba(255, 253, 248, 0.88);
            color: #9f2d2f;
            font-size: 1.4rem;
            line-height: 1;
            cursor: pointer;
        }
        .cereal-sibo-story-dialog__kicker {
            margin: 0 0 0.7rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            font-weight: 700;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: #9f2d2f;
        }
        .cereal-sibo-story-dialog h3 {
            margin: 0 2.3rem 1rem 0;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 4.8vw, 3.1rem);
            font-weight: 400;
            line-height: 0.98;
            color: #8c2f25;
        }
        .cereal-sibo-story-dialog__body {
            display: grid;
            gap: 1rem;
        }
        .cereal-sibo-story-dialog__body p {
            margin: 0;
            font-family: 'Outfit', sans-serif;
            font-size: clamp(1rem, 1.4vw, 1.08rem);
            line-height: 1.72;
            color: rgba(48, 48, 45, 0.82);
        }
        .cereal-sibo-story-dialog__body ul {
            margin: -0.1rem 0 0;
            padding-left: 1.25rem;
            font-family: 'Outfit', sans-serif;
            font-size: clamp(1rem, 1.4vw, 1.08rem);
            line-height: 1.72;
            color: rgba(48, 48, 45, 0.82);
        }
        .cereal-sibo-story-dialog__body li {
            padding-left: 0.2rem;
        }
        @media (max-width: 1180px) {
            .cereal-sibo-note {
                grid-template-columns: 1fr;
            }
            .cereal-sibo-note__intro {
                border-right: 0;
                border-bottom: 1px dashed rgba(181, 124, 72, 0.26);
                padding: 0 0 1.35rem;
            }
            .cereal-sibo-note__eyebrow,
            .cereal-sibo-note__summary {
                margin-bottom: 1rem;
                margin-top: 1rem;
            }
            .cereal-sibo-note__summary {
                max-width: 34rem;
            }
            .cereal-sibo-note__repair-grid {
                grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
            }
        }
        @media (max-width: 860px) {
            .cereal-sibo-note {
                padding: 1.25rem;
                border-radius: 20px;
            }
            .cereal-sibo-note__chain {
                display: grid;
                grid-template-columns: 1fr;
            }
            .cereal-sibo-note__chain--repair {
                max-width: none;
            }
            .cereal-sibo-note__repair-grid {
                grid-template-columns: 1fr;
            }
            .cereal-sibo-note__arrow {
                justify-self: center;
                transform: rotate(90deg);
            }
            .cereal-sibo-note__card {
                text-align: left;
                display: grid;
                grid-template-columns: auto 1fr;
                column-gap: 0.85rem;
                align-items: center;
            }
            .cereal-sibo-note__icon {
                grid-row: span 2;
                margin: 0;
            }
            .cereal-sibo-note__story-trigger {
                min-height: 0;
            }
        }

        /* Chapter 5: editorial "But" intro */
        .right-order-intro {
            padding: clamp(3rem, 6vw, 5.2rem) clamp(1.2rem, 4vw, 3rem) clamp(3.2rem, 6vw, 5.4rem);
            background:
                radial-gradient(ellipse at 80% 0%, rgba(168, 66, 28, 0.055), transparent 52%),
                linear-gradient(180deg, #fffdf8 0%, var(--section-bg) 100%);
            overflow-anchor: none;
        }
        .right-order-intro__header {
            max-width: 980px;
            margin: 0 auto clamp(2.4rem, 4.2vw, 3.6rem);
            text-align: center;
        }
        .right-order-intro__kicker {
            margin-bottom: 0.7rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: var(--text-dim);
        }
        .right-order-intro__line {
            width: 60px;
            height: 1px;
            margin: 0 auto 1.35rem;
            background: var(--text-dim);
            opacity: 0.38;
        }
        .right-order-intro__title {
            margin: 0;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2.45rem, 5vw, 3.75rem);
            font-weight: 300;
            line-height: 1.05;
            letter-spacing: -0.015em;
            color: var(--text-main);
        }
        .right-order-intro__title em {
            font-style: italic;
            color: #a8421c;
        }
        .right-order-intro__shell {
            max-width: 1280px;
            margin: 0 auto;
        }
        .right-order-intro__spread {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 1fr) clamp(180px, 22vw, 320px) minmax(0, 1.25fr);
            gap: clamp(1rem, 3vw, 2.5rem);
            align-items: start;
            padding: clamp(2rem, 4vw, 3.4rem) clamp(1.5rem, 3vw, 2.6rem);
            overflow: hidden;
            background: #fcf7ea;
            border: 1px solid #e8dfc9;
            border-radius: 6px;
            box-shadow: 0 22px 48px -28px rgba(60, 40, 20, 0.25);
        }
        .right-order-intro__spread::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background-image:
                radial-gradient(circle at 12% 10%, rgba(170, 140, 90, 0.08), transparent 30%),
                radial-gradient(circle at 90% 80%, rgba(170, 140, 90, 0.08), transparent 30%);
            mix-blend-mode: multiply;
        }
        .right-order-intro__col,
        .right-order-intro__pivot {
            position: relative;
            z-index: 1;
        }
        .right-order-intro__col h2 {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            margin: 0 0 1.1rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: var(--text-dim);
        }
        .right-order-intro__col h2::before {
            content: "";
            width: 26px;
            height: 1px;
            background: currentColor;
            opacity: 0.55;
        }
        .right-order-intro__col--right h2 {
            color: #a8421c;
        }
        .right-order-intro__verdict {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            margin: 0 0 1.1rem;
            padding: 0.4em 0.85em;
            border-radius: 999px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.62rem;
            font-weight: 600;
            letter-spacing: 0.22em;
            text-transform: uppercase;
        }
        .right-order-intro__verdict::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: currentColor;
        }
        .right-order-intro__verdict--correct {
            background: rgba(22, 163, 74, 0.13);
            color: #2f7a4e;
        }
        .right-order-intro__verdict--mistake {
            background: rgba(168, 66, 28, 0.12);
            color: #a8421c;
        }
        .right-order-intro__col p {
            margin: 0 0 0.9rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-weight: 400;
            line-height: 1.4;
            color: #2a2926;
            text-align: left;
        }
        .right-order-intro__col--left p {
            font-size: clamp(1.05rem, 1.6vw, 1.3rem);
            font-style: italic;
            color: var(--text-muted);
        }
        .right-order-intro__aside {
            font-family: 'JetBrains Mono', monospace !important;
            font-size: 0.95rem !important;
            font-style: normal !important;
            line-height: 1.45 !important;
            letter-spacing: 0.04em;
            color: var(--text-dim) !important;
        }
        .right-order-intro__col--right p {
            font-size: clamp(1.25rem, 2.2vw, 1.7rem);
            line-height: 1.25;
            letter-spacing: -0.005em;
        }
        .right-order-intro__col--right p em {
            font-style: italic;
            color: #a8421c;
        }
        .right-order-intro__strike {
            text-decoration: line-through;
            text-decoration-color: #b4331e;
            text-decoration-thickness: 2px;
            color: var(--text-muted);
            font-style: italic;
        }
        .right-order-intro__cost {
            font-family: 'Outfit', sans-serif !important;
            font-size: 1.05rem !important;
            line-height: 1.55 !important;
            color: var(--text-muted) !important;
        }
        .right-order-intro__pivot {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: clamp(0rem, 2vw, 1.5rem);
            text-align: center;
        }
        .right-order-intro__pivot-kicker {
            margin-bottom: 0.4rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: var(--text-dim);
        }
        .right-order-intro__but {
            position: relative;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(7rem, 16vw, 13rem);
            font-style: italic;
            font-weight: 400;
            line-height: 0.86;
            letter-spacing: -0.035em;
            color: #a8421c;
        }
        .right-order-intro__but::after {
            content: ".";
            position: absolute;
            right: -0.18em;
            bottom: -0.05em;
            font-size: 1em;
            line-height: 1;
        }
        .right-order-intro__pivot-caption {
            max-width: 18ch;
            margin-top: 1rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 1.05rem;
            font-style: italic;
            line-height: 1.4;
            color: var(--text-muted);
        }
        .right-order-intro__folio {
            position: absolute;
            z-index: 1;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(3rem, 5vw, 4.4rem);
            font-style: italic;
            font-weight: 300;
            line-height: 1;
            color: var(--text-dim);
            opacity: 0.4;
        }
        .right-order-intro__folio--left {
            top: 2rem;
            left: 1.2rem;
        }
        .right-order-intro__folio--right {
            top: 2rem;
            right: 1.2rem;
            color: #a8421c;
            opacity: 0.55;
        }
        .right-order-intro__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 1rem;
        }
        .right-order-intro__chips span {
            padding: 0.4em 0.75em;
            border: 1px solid rgba(168, 66, 28, 0.18);
            border-radius: 4px;
            background: rgba(168, 66, 28, 0.09);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            font-weight: 500;
            letter-spacing: 0.12em;
            color: #a8421c;
        }
        .right-order-intro__answer {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 1.4rem;
            align-items: center;
            max-width: 1280px;
            margin: 1.8rem auto 0;
            padding: 1.4rem 1.8rem;
            background: var(--bg);
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 8px;
            box-shadow: 0 14px 32px -22px rgba(60, 40, 20, 0.15);
        }
        .right-order-intro__answer-stamp {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #2f7a4e;
            color: #fff;
            box-shadow: 0 8px 20px -8px rgba(47, 122, 78, 0.5);
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 1.8rem;
            font-style: italic;
        }
        .right-order-intro__answer-label {
            margin-bottom: 0.35rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            font-weight: 600;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: var(--text-dim);
        }
        .right-order-intro__answer-text {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.25rem, 2vw, 1.6rem);
            line-height: 1.25;
            color: var(--text-main);
        }
        .right-order-intro__answer-text em {
            font-style: italic;
            color: var(--heal);
        }
        @media (max-width: 920px) {
            .right-order-intro__spread {
                grid-template-columns: 1fr;
                gap: 1.4rem;
                padding: 1.6rem;
            }
            .right-order-intro__pivot {
                padding: 0.5rem 0;
            }
            .right-order-intro__but {
                font-size: clamp(5rem, 22vw, 7rem);
            }
            .right-order-intro__folio {
                display: none;
            }
            .right-order-intro__answer {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .right-order-intro__answer-stamp {
                margin: 0 auto;
            }
        }
        @media (max-width: 640px) {
            .right-order-intro {
                padding-inline: 1rem;
            }
            .right-order-intro__chips span {
                font-size: 0.6rem;
            }
        }

        /* Healthy foods warning card: cream two-tone callout. */
        .healthy-warning {
            max-width: 1240px;
            margin: clamp(3rem, 6vw, 5rem) auto clamp(3rem, 6vw, 5rem);
            padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.75rem);
            display: grid;
            grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
            gap: clamp(1.5rem, 4vw, 3.5rem);
            align-items: start;
            background:
                radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.82), transparent 36%),
                linear-gradient(90deg, rgba(250, 236, 198, 0.78) 0%, rgba(255, 248, 229, 0.86) 31%, rgba(255, 253, 247, 0.98) 31%, rgba(255, 252, 246, 0.98) 100%);
            border: 1px solid rgba(202, 153, 84, 0.46);
            border-radius: 18px;
            box-shadow: 0 16px 34px rgba(127, 84, 36, 0.07);
        }
        .healthy-warning__title-col {
            padding-top: 0.25rem;
        }
        .healthy-warning__eyebrow {
            display: inline-block;
            margin-bottom: 0.9rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: #a8421c;
        }
        .healthy-warning__title {
            margin: 0;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 3.35vw, 2.85rem);
            font-weight: 400;
            font-style: italic;
            line-height: 1.02;
            letter-spacing: -0.01em;
            color: #7e3519;
        }
        .healthy-warning__body {
            color: var(--text-main);
        }
        .healthy-warning__body p {
            margin: 0 0 1.1rem;
            font-family: 'Outfit', sans-serif;
            font-size: 1.03rem;
            line-height: 1.74;
            font-weight: 300;
            color: var(--text-muted);
        }
        .healthy-warning__body p:last-child {
            margin-bottom: 0;
        }
        .healthy-warning__body strong {
            font-weight: 700;
            color: #7e3519;
        }
        @media (max-width: 720px) {
            .healthy-warning {
                grid-template-columns: 1fr;
                gap: 1.25rem;
                background:
                    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.82), transparent 38%),
                    linear-gradient(180deg, rgba(250, 236, 198, 0.76) 0%, rgba(255, 248, 229, 0.84) 34%, rgba(255, 253, 247, 0.98) 34%, rgba(255, 252, 246, 0.98) 100%);
            }
        }

        .chapter-marker--hope .chapter-marker-line {
            background: rgba(22, 163, 74, 0.42);
            opacity: 1;
        }
        .chapter-marker--hope .chapter-marker-title {
            color: #22315D;
        }
        .chapter-marker--setback .chapter-marker-line {
            background: rgba(150, 66, 84, 0.46);
            opacity: 1;
        }
        .chapter-marker--setback .chapter-marker-title {
            color: #43242D;
        }
        .narrative-break--hopeboard {
            padding-top: 3.2rem;
        }
        .narrative-break--hopeboard .narrative-break__layout {
            max-width: 1240px;
        }
        .narrative-break--setbackboard {
            padding-top: 3.2rem;
        }
        .narrative-break--setbackboard .narrative-break__layout {
            max-width: 1240px;
        }
        .hopeboard-paper {
            position: relative;
            isolation: isolate;
            --hopeboard-rule-step: 2.04rem;
            --hopeboard-rule-thickness: 0.06rem;
            padding: clamp(2rem, 3vw, 2.8rem);
            padding-left: clamp(2.8rem, 3.7vw, 3.55rem);
            background:
                radial-gradient(circle at top left, rgba(255,255,255,0.88), rgba(255,255,255,0) 34%),
                linear-gradient(180deg, rgba(255,254,250,0.98), rgba(248,244,236,0.98));
            border: 1px solid rgba(95, 88, 78, 0.10);
            border-radius: 10px 10px 18px 18px;
            box-shadow: 0 26px 60px rgba(45, 34, 24, 0.10);
            overflow: hidden;
        }
        .hopeboard-paper::before {
            content: "";
            position: absolute;
            top: 1.35rem;
            bottom: 1.35rem;
            left: 0.95rem;
            width: 8px;
            border-radius: 999px;
            background: linear-gradient(180deg, rgba(17,137,71,0.84), rgba(39,160,101,0.62));
            box-shadow:
                0 10px 18px rgba(21, 86, 57, 0.12),
                inset 1px 0 0 rgba(255,255,255,0.28);
        }
        .hopeboard-paper::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 22px;
            background:
                radial-gradient(circle at 12px -2px, transparent 12px, rgba(247,244,235,0.92) 12.5px) repeat-x;
            background-size: 24px 22px;
            opacity: 0.78;
            pointer-events: none;
        }
        .hopeboard-paper__guide,
        .hopeboard-paper__star {
            position: absolute;
            pointer-events: none;
        }
        .hopeboard-paper__guide {
            top: 3.45rem;
            bottom: 1.45rem;
            left: 2.05rem;
            width: 1px;
            background: linear-gradient(180deg, rgba(23, 126, 78, 0.34), rgba(23, 126, 78, 0.16));
            box-shadow: 1px 0 0 rgba(255,255,255,0.42);
        }
        .hopeboard-paper__star {
            top: 1.42rem;
            left: 1.78rem;
            color: rgba(23, 126, 78, 0.70);
            font-size: 0.82rem;
            line-height: 1;
            text-shadow: 0 1px 0 rgba(255,255,255,0.65);
        }
        .hopeboard-paper h2 {
            position: relative;
            margin-bottom: 1.5rem;
            color: #22315D;
        }
        .hopeboard-paper h2::after {
            content: "";
            display: block;
            width: 54px;
            height: 2px;
            margin-top: 0.85rem;
            background: rgba(22, 163, 74, 0.36);
        }
        .hopeboard-paper__body {
            position: relative;
            display: grid;
            gap: calc(var(--hopeboard-rule-step) * 0.78);
            margin-top: 1.35rem;
            background:
                repeating-linear-gradient(
                    180deg,
                    rgba(255,255,255,0) 0,
                    rgba(255,255,255,0) calc(var(--hopeboard-rule-step) - var(--hopeboard-rule-thickness)),
                    rgba(128, 149, 171, 0.16) calc(var(--hopeboard-rule-step) - var(--hopeboard-rule-thickness)),
                    rgba(128, 149, 171, 0.16) var(--hopeboard-rule-step)
                );
            background-position: 0 0;
        }
        .hopeboard-paper p {
            position: relative;
            font-size: 1.06rem;
            line-height: var(--hopeboard-rule-step);
            margin: 0;
        }
        .setback-paper {
            background:
                radial-gradient(circle at top left, rgba(255,255,255,0.9), rgba(255,255,255,0) 34%),
                linear-gradient(180deg, rgba(255,252,244,0.98), rgba(255,248,238,0.96));
            border-color: rgba(87, 72, 52, 0.10);
            box-shadow: 0 20px 46px rgba(45, 34, 24, 0.09);
        }
        .setback-paper::before {
            background: linear-gradient(180deg, rgba(132, 47, 67, 0.54), rgba(167, 89, 105, 0.30));
            box-shadow:
                0 10px 18px rgba(91, 39, 49, 0.08),
                inset 1px 0 0 rgba(255,255,255,0.32);
        }
        .setback-paper .hopeboard-paper__guide {
            background: linear-gradient(180deg, rgba(132, 47, 67, 0.18), rgba(132, 47, 67, 0.08));
            box-shadow: 1px 0 0 rgba(255,255,255,0.48);
        }
        .setback-paper .hopeboard-paper__star {
            color: rgba(132, 47, 67, 0.72);
        }
        .setback-paper h2 {
            color: #43242D;
        }
        .setback-paper h2::after {
            background: rgba(150, 66, 84, 0.38);
        }
        .setback-paper .hopeboard-paper__body {
            gap: 1.1rem;
            background: none;
        }
        .setback-paper .hopeboard-paper__body p {
            line-height: 1.78;
        }
        .hopeboard-media {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 1.35rem;
            min-width: 0;
        }
        .hopeboard-board {
            position: relative;
            width: min(100%, 430px);
            padding: 0.75rem 0.75rem 1rem;
            background: linear-gradient(180deg, #FBF7EF 0%, #F6F0E4 100%);
            border: 1px solid rgba(90, 77, 60, 0.12);
            border-radius: 14px;
            box-shadow: 0 24px 50px rgba(55, 40, 24, 0.13);
        }
        .hopeboard-board::before {
            content: "";
            position: absolute;
            inset: 0.8rem;
            border: 1px solid rgba(90, 77, 60, 0.08);
            border-radius: 10px;
            pointer-events: none;
        }
        .hopeboard-board__clip {
            position: absolute;
            top: -0.6rem;
            left: 50%;
            width: 44px;
            height: 44px;
            transform: translateX(-50%);
            border-radius: 50%;
            background:
                radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.08) 28%),
                linear-gradient(180deg, #C89E57 0%, #A97B34 100%);
            box-shadow:
                0 10px 18px rgba(72, 52, 20, 0.18),
                inset 0 2px 3px rgba(255,255,255,0.45);
            z-index: 3;
        }
        .hopeboard-board__clip::after {
            content: "";
            position: absolute;
            inset: 13px;
            border-radius: 50%;
            background: rgba(120, 83, 30, 0.34);
        }
        .hopeboard-board .narrative-carousel {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: none;
            min-height: 360px;
            margin: 0;
            aspect-ratio: 4 / 5;
        }
        .hopeboard-board .narrative-carousel .carousel {
            overflow: visible;
        }
        .hopeboard-board .narrative-carousel .carousel-track {
            border: 12px solid #F8F4EC;
            border-radius: 8px;
            box-shadow:
                0 16px 34px rgba(50, 38, 22, 0.16),
                0 0 0 1px rgba(90, 77, 60, 0.08);
            background: #FBF7EF;
        }
        .hopeboard-board .narrative-carousel .carousel-slide {
            background: #FBF7EF;
        }
        .setback-board {
            width: 100%;
            max-width: none;
            background: linear-gradient(180deg, #FBF4F1 0%, #F2E6DF 100%);
            border-color: rgba(111, 83, 76, 0.14);
            box-shadow: 0 24px 52px rgba(61, 40, 33, 0.14);
        }
        .setback-board::before {
            border-color: rgba(111, 83, 76, 0.09);
        }
        .setback-board .hopeboard-board__clip {
            background:
                radial-gradient(circle at 35% 30%, rgba(255,255,255,0.88), rgba(255,255,255,0.08) 28%),
                linear-gradient(180deg, #B5826A 0%, #8C5C4C 100%);
            box-shadow:
                0 10px 18px rgba(83, 54, 41, 0.18),
                inset 0 2px 3px rgba(255,255,255,0.4);
        }
        .setback-board .hopeboard-board__clip::after {
            background: rgba(108, 67, 54, 0.34);
        }
        .setback-board .narrative-carousel .carousel-track {
            border-color: #FBF3EE;
            background: #FBF4F1;
        }
        .setback-board .narrative-carousel .carousel-slide {
            background: #FBF4F1;
        }
        .setback-timeline {
            padding-top: 3.4rem;
            padding-bottom: 5.2rem;
        }
        .scroll-timeline {
            --timeline-rail-start: rgba(150, 66, 84, 0.58);
            --timeline-rail-end: rgba(150, 66, 84, 0.10);
            --timeline-dot-border: rgba(150, 66, 84, 0.62);
            --timeline-dot-ring: rgba(150, 66, 84, 0.06);
            --timeline-active-dot: rgba(150, 66, 84, 0.96);
            --timeline-active-ring: rgba(150, 66, 84, 0.16);
            --timeline-active-shadow: rgba(91, 39, 49, 0.15);
            --timeline-entry-border: rgba(111, 83, 76, 0.12);
            --timeline-entry-active-border: rgba(150, 66, 84, 0.24);
        }
        .one-step-forward-timeline.scroll-timeline {
            --timeline-rail-start: rgba(22, 163, 74, 0.56);
            --timeline-rail-end: rgba(22, 163, 74, 0.10);
            --timeline-dot-border: rgba(22, 163, 74, 0.62);
            --timeline-dot-ring: rgba(22, 163, 74, 0.06);
            --timeline-active-dot: var(--heal);
            --timeline-active-ring: rgba(22, 163, 74, 0.18);
            --timeline-active-shadow: rgba(22, 94, 65, 0.18);
            --timeline-entry-border: rgba(87, 72, 52, 0.10);
            --timeline-entry-active-border: rgba(22, 163, 74, 0.24);
        }
        .scroll-timeline__diary {
            position: relative;
            padding-left: clamp(2rem, 3vw, 2.8rem);
        }
        .scroll-timeline__diary::before {
            content: "";
            position: absolute;
            top: 0.35rem;
            bottom: 0.35rem;
            left: 0.62rem;
            width: 2px;
            border-radius: 999px;
            background: linear-gradient(180deg, var(--timeline-rail-start), var(--timeline-rail-end));
        }
        .scroll-timeline__entry {
            position: relative;
            margin: 0 0 1.15rem;
            padding: clamp(1.05rem, 2vw, 1.35rem) clamp(1rem, 2.2vw, 1.55rem);
            border: 1px solid var(--timeline-entry-border);
            border-radius: 20px;
            background: rgba(255, 252, 244, 0.66);
            box-shadow: 0 12px 34px rgba(45, 34, 24, 0.045);
            transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
        }
        .scroll-timeline__entry::before {
            content: "";
            position: absolute;
            top: 1.4rem;
            left: -2.35rem;
            width: 13px;
            height: 13px;
            border-radius: 999px;
            background: #F7F2E8;
            border: 2px solid var(--timeline-dot-border);
            box-shadow: 0 0 0 6px var(--timeline-dot-ring);
            z-index: 2;
        }
        .scroll-timeline__entry.is-active {
            background: rgba(255, 251, 242, 0.98);
            border-color: var(--timeline-entry-active-border);
            box-shadow: 0 20px 46px rgba(45, 34, 24, 0.09);
            transform: translateX(0.18rem);
        }
        .scroll-timeline__entry.is-active::before {
            background: var(--timeline-active-dot);
            border-color: rgba(255, 255, 255, 0.95);
            box-shadow:
                0 0 0 6px var(--timeline-active-ring),
                0 8px 20px var(--timeline-active-shadow);
        }
        .scroll-timeline__entry.is-warning::before {
            border-color: rgba(188, 76, 69, 0.62);
            box-shadow: 0 0 0 6px rgba(188, 76, 69, 0.06);
        }
        .scroll-timeline__entry.is-warning.is-active {
            border-color: rgba(188, 76, 69, 0.22);
        }
        .scroll-timeline__entry.is-warning.is-active::before {
            background: #C75A42;
            border-color: rgba(255,255,255,0.95);
            box-shadow:
                0 0 0 6px rgba(188, 76, 69, 0.16),
                0 8px 20px rgba(107, 48, 36, 0.15);
        }
        .setback-timeline__shell {
            display: grid;
            grid-template-columns: minmax(390px, 0.52fr) minmax(0, 0.9fr);
            gap: clamp(1.65rem, 2.8vw, 3.25rem);
            align-items: start;
        }
        .narrative-break--setbackboard.setback-timeline .scroll-timeline__diary {
            max-width: none;
            margin: 0;
            padding-left: clamp(2rem, 3vw, 2.8rem);
            border-left: 0;
        }
        .setback-timeline__head {
            margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
        }
        .setback-timeline__kicker,
        .setback-timeline__date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }
        .setback-timeline__kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            margin-bottom: 1rem;
            color: rgba(132, 47, 67, 0.82);
        }
        .setback-timeline__kicker::before {
            content: "";
            width: 36px;
            height: 1px;
            background: rgba(150, 66, 84, 0.42);
        }
        .setback-timeline__head h2 {
            margin: 0 0 0.9rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 3.35vw, 2.85rem);
            font-weight: 400;
            line-height: 1.02;
            color: #43242D;
        }
        .setback-timeline__head h2 em,
        .setback-timeline__entry h3 em {
            color: rgba(150, 66, 84, 0.96);
            font-style: italic;
        }
        .setback-timeline__date {
            display: inline-block;
            margin-bottom: 0.62rem;
            color: rgba(132, 47, 67, 0.78);
        }
        .setback-timeline__entry h3 {
            margin: 0 0 0.75rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.28rem, 2.1vw, 1.7rem);
            font-weight: 500;
            line-height: 1.08;
            color: var(--text-main);
        }
        .setback-timeline__entry p {
            margin: 0 0 0.82rem;
            color: var(--text-muted);
            font-size: 1.03rem;
            font-weight: 300;
            line-height: 1.74;
        }
        .setback-timeline__entry p:last-child {
            margin-bottom: 0;
        }
        .setback-timeline .setback-proof {
            align-self: start;
            position: sticky;
            top: clamp(5.25rem, 10vh, 7rem);
        }
        .acid-trap {
            padding: clamp(4rem, 6vw, 6.8rem) 3.2vw;
            background: var(--section-bg);
            overflow: visible;
        }
        .acid-trap__shell {
            width: min(1500px, 100%);
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1fr);
            gap: clamp(2rem, 4vw, 4.5rem);
            align-items: start;
        }
        .acid-trap__copy {
            min-width: 0;
        }
        .acid-trap__kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            margin: 0 0 1rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(132, 47, 67, 0.82);
        }
        .acid-trap__kicker::before {
            content: "";
            width: 36px;
            height: 1px;
            background: rgba(150, 66, 84, 0.42);
        }
        .acid-trap h2 {
            margin: 0 0 0.9rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 3.35vw, 2.85rem);
            font-weight: 400;
            line-height: 1.02;
            color: #43242D;
        }
        .acid-trap h2 em {
            color: rgba(150, 66, 84, 0.96);
            font-style: italic;
        }
        .acid-trap__story-card p {
            margin: 0;
            color: var(--text-muted);
            font-size: 1.03rem;
            font-weight: 300;
            line-height: 1.74;
        }
        .acid-trap__story-card p strong {
            color: #7E3519;
            font-weight: 600;
        }
        .acid-trap__copy > .acid-trap__kicker {
            margin: 0 0 1rem;
            font-size: 0.72rem;
            font-weight: 400;
            line-height: normal;
        }
        .acid-trap__lead p {
            color: #40322E;
        }
        .acid-trap__mechanisms {
            display: grid;
            gap: 0.78rem;
            margin: clamp(1.35rem, 2vw, 1.8rem) 0;
        }
        .acid-trap__mechanisms .scroll-timeline__entry {
            margin-bottom: 0;
        }
        .acid-trap__card {
            display: grid;
            grid-template-columns: 2.45rem minmax(0, 1fr);
            column-gap: 0.88rem;
        }
        .acid-trap__card span {
            grid-row: 1 / span 2;
            width: 2.35rem;
            height: 2.35rem;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(150, 66, 84, 0.26);
            background: rgba(255, 247, 240, 0.92);
            color: #964254;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.76rem;
            font-weight: 600;
        }
        .acid-trap__card h3 {
            margin: 0 0 0.26rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.2rem, 1.8vw, 1.48rem);
            font-weight: 500;
            line-height: 1.1;
            color: #43242D;
        }
        .acid-trap__card p {
            margin: 0;
            color: var(--text-muted);
            font-size: 0.98rem;
            font-weight: 300;
            line-height: 1.58;
        }
        .acid-trap__closing {
            margin-bottom: 0;
        }
        .acid-trap__visual {
            align-self: start;
            position: sticky;
            top: clamp(5.25rem, 10vh, 7rem);
            min-width: 0;
            margin: 0;
            padding: clamp(0.8rem, 1.5vw, 1rem);
            border: 1px solid rgba(150, 66, 84, 0.16);
            border-radius: 22px;
            background: rgba(255, 252, 244, 0.82);
            box-shadow: 0 22px 54px rgba(61, 40, 33, 0.10);
        }
        .acid-trap__visual img {
            display: block;
            width: 100%;
            height: auto;
            border-radius: 14px;
            background: #FFF9F0;
        }
        .acid-trap__visual figcaption {
            margin-top: 0.78rem;
            color: rgba(67, 36, 45, 0.72);
            font-size: 0.9rem;
            line-height: 1.55;
            text-align: center;
        }
        .setback-proof {
            width: 100%;
            min-width: 0;
        }
        .setback-compare-grid {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            align-items: start;
            gap: clamp(1rem, 1.8vw, 1.85rem);
        }
        .setback-compare-card {
            min-width: 0;
            padding: 0.95rem 0.95rem 1rem;
            border: 1px solid rgba(111, 83, 76, 0.14);
            border-radius: 24px;
            background:
                radial-gradient(circle at top left, rgba(255,255,255,0.9), rgba(255,255,255,0) 32%),
                linear-gradient(180deg, rgba(255,252,246,0.98), rgba(249,241,232,0.98));
            box-shadow: 0 24px 48px rgba(61, 40, 33, 0.13);
            outline: none;
        }
        .setback-compare-card:focus-visible {
            box-shadow:
                0 0 0 3px rgba(150, 66, 84, 0.18),
                0 24px 48px rgba(61, 40, 33, 0.13);
        }
        .setback-compare-card h3 {
            margin: 0 0 0.72rem;
            text-align: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: rgba(128, 50, 63, 0.92);
        }
        .setback-compare-card__media {
            position: relative;
            overflow: hidden;
            aspect-ratio: 4 / 5;
            border-radius: 15px;
            background: #FFF8ED;
        }
        .setback-compare-card__media img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 18%;
            cursor: zoom-in;
        }
        .setback-compare-card__date {
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 2;
            padding: 0.42rem 0.64rem;
            border-radius: 7px;
            background: rgba(126, 72, 30, 0.96);
            color: #FFF7EA;
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(0.94rem, 1.2vw, 1.08rem);
            font-weight: 700;
            letter-spacing: 0.02em;
            box-shadow: 0 9px 18px rgba(56, 32, 16, 0.18);
        }
        .setback-compare-card__count {
            position: absolute;
            right: 1rem;
            bottom: 0.78rem;
            z-index: 2;
            color: #fff;
            font-family: 'Outfit', sans-serif;
            font-size: 0.86rem;
            font-weight: 700;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        }
        .setback-compare-card__dots {
            position: absolute;
            left: 50%;
            bottom: 0.86rem;
            z-index: 2;
            display: flex;
            max-width: 68%;
            gap: 0.24rem;
            transform: translateX(-50%);
        }
        .setback-compare-card__dot {
            width: 0.36rem;
            height: 0.36rem;
            padding: 0;
            border: 0;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.56);
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
            cursor: pointer;
        }
        .setback-compare-card__dot.is-active {
            background: #fff;
            transform: scale(1.35);
        }
        .setback-compare-card__arrow {
            position: absolute;
            top: 50%;
            z-index: 3;
            width: 2.5rem;
            height: 2.5rem;
            border: 1px solid rgba(126, 72, 30, 0.14);
            border-radius: 999px;
            background: rgba(255, 249, 239, 0.92);
            color: #873F1E;
            font-size: 1.75rem;
            line-height: 1;
            box-shadow: 0 10px 20px rgba(61, 40, 33, 0.16);
            cursor: pointer;
            transform: translateY(-50%);
        }
        .setback-compare-card__arrow--prev {
            left: 0.7rem;
        }
        .setback-compare-card__arrow--next {
            right: 0.7rem;
        }
        .setback-compare-card__arrow:hover,
        .setback-compare-card__arrow:focus-visible {
            background: #fff;
            transform: translateY(-50%) scale(1.04);
        }
        .setback-compare-vs {
            position: absolute;
            left: 50%;
            top: 43%;
            transform: translate(-50%, -50%);
            z-index: 4;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: clamp(2.7rem, 4vw, 3.35rem);
            height: clamp(2.7rem, 4vw, 3.35rem);
            border-radius: 999px;
            background: linear-gradient(135deg, #B8843D, #8E541F);
            color: #fff8eb;
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.05rem, 1.5vw, 1.3rem);
            font-weight: 700;
            box-shadow: 0 14px 26px rgba(97, 55, 22, 0.24);
            pointer-events: none;
        }
        .hopeboard-caption {
            position: absolute;
            right: -0.6rem;
            top: 1.15rem;
            z-index: 2;
            width: min(170px, 42%);
            padding: 0.85rem 0.95rem;
            background: rgba(255, 252, 244, 0.98);
            border: 1px solid rgba(90, 77, 60, 0.12);
            border-radius: 3px;
            box-shadow: 0 16px 28px rgba(65, 45, 18, 0.14);
        }
        .hopeboard-caption::before {
            content: "";
            position: absolute;
            left: 1rem;
            right: 1rem;
            top: -0.42rem;
            height: 10px;
            background: rgba(236, 229, 204, 0.74);
            border-radius: 2px;
        }
        .hopeboard-caption__label {
            display: block;
            margin-bottom: 0.4rem;
            font-family: 'Outfit', sans-serif;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(22, 94, 65, 0.88);
        }
        .hopeboard-caption p {
            font-size: 0.92rem;
            line-height: 1.55;
            color: var(--text-muted);
            margin: 0;
        }
        .setback-caption {
            top: auto;
            right: -0.85rem;
            bottom: 1.15rem;
            transform: rotate(-1.8deg);
            background: rgba(255, 248, 245, 0.98);
            border-color: rgba(111, 83, 76, 0.14);
            box-shadow: 0 18px 30px rgba(74, 49, 39, 0.16);
        }
        .setback-caption::before {
            background: rgba(232, 210, 206, 0.78);
        }
        .setback-caption .hopeboard-caption__label {
            color: rgba(128, 50, 63, 0.9);
        }
        .hopeboard-board__meta {
            display: flex;
            align-items: flex-start;
            gap: 0.9rem;
            padding-left: 0.25rem;
            color: var(--text-muted);
        }
        .hopeboard-board__meta-mark {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1px solid rgba(22, 163, 74, 0.28);
            color: var(--heal);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 0.15rem;
            background: rgba(22, 163, 74, 0.06);
            font-size: 0.95rem;
        }
        .hopeboard-board__meta-copy {
            min-width: 0;
        }
        .hopeboard-board__meta-label {
            display: block;
            margin-bottom: 0.35rem;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(22, 94, 65, 0.88);
        }
        .hopeboard-board__meta-copy p {
            margin: 0;
            font-size: 0.98rem;
            line-height: 1.6;
        }
        .setback-meta .hopeboard-board__meta-mark {
            border-color: rgba(150, 66, 84, 0.28);
            color: rgba(132, 47, 67, 0.9);
            background: rgba(150, 66, 84, 0.06);
        }
        .setback-meta .hopeboard-board__meta-label {
            color: rgba(128, 50, 63, 0.9);
        }

        .narrative-break--one-step-timeline {
            padding-top: 3.4rem;
            padding-bottom: 5.2rem;
        }
        .narrative-break--one-step-timeline .narrative-break__layout {
            max-width: 1480px;
        }
        .one-step-forward-timeline {
            width: 100%;
            margin: 0 auto;
        }
        .one-step-forward-timeline__shell {
            display: grid;
            grid-template-columns: minmax(0, 820px) clamp(330px, 28.5vw, 530px);
            gap: clamp(2rem, 4vw, 4rem);
            justify-content: center;
            align-items: start;
        }
        .one-step-forward-timeline__head {
            margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
        }
        .one-step-forward-timeline__kicker,
        .one-step-forward-timeline__date {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }
        .one-step-forward-timeline__kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            color: rgba(22, 94, 65, 0.82);
            margin-bottom: 1rem;
        }
        .one-step-forward-timeline__kicker::before {
            content: "";
            width: 36px;
            height: 1px;
            background: rgba(22, 163, 74, 0.44);
        }
        .one-step-forward-timeline__head h2 {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 3.35vw, 2.85rem);
            line-height: 1.02;
            font-weight: 400;
            color: #14213D;
            margin: 0 0 0.9rem;
        }
        .one-step-forward-timeline__head h2 em,
        .one-step-forward-timeline__entry:not(.is-warning) h3 em {
            color: var(--heal);
            font-style: italic;
        }
        .one-step-forward-timeline__date {
            display: inline-block;
            margin-bottom: 0.62rem;
            color: rgba(22, 94, 65, 0.78);
        }
        .one-step-forward-timeline__entry.is-warning .one-step-forward-timeline__date {
            color: rgba(141, 67, 48, 0.80);
        }
        .one-step-forward-timeline__entry.is-warning h3 em {
            color: #C75A42;
            font-style: italic;
        }
        .one-step-forward-timeline__entry h3 {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.28rem, 2.1vw, 1.7rem);
            line-height: 1.08;
            font-weight: 500;
            color: var(--text-main);
            margin: 0 0 0.75rem;
        }
        .one-step-forward-timeline__entry p {
            margin: 0 0 0.82rem;
            color: var(--text-muted);
            font-size: 1.03rem;
            line-height: 1.74;
            font-weight: 300;
        }
        .one-step-forward-timeline__entry p:last-child {
            margin-bottom: 0;
        }
        .one-step-forward-timeline__aside {
            align-self: start;
            position: sticky;
            top: clamp(5.25rem, 10vh, 7rem);
        }
        .one-step-forward-timeline__frame {
            position: relative;
            padding: 0.75rem 0.75rem 1rem;
            border: 1px solid rgba(106, 84, 54, 0.16);
            border-radius: 22px;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.80), rgba(250,244,230,0.96)),
                #F4ECD8;
            box-shadow:
                0 26px 60px rgba(45, 34, 24, 0.12),
                inset 0 0 0 8px rgba(255,255,255,0.42);
        }
        .one-step-forward-timeline__frame::before,
        .one-step-forward-timeline__frame::after {
            content: "";
            position: absolute;
            pointer-events: none;
        }
        .one-step-forward-timeline__frame::before {
            display: none;
        }
        .one-step-forward-timeline__frame::after {
            inset: 0.65rem;
            border: 1px solid rgba(99, 77, 47, 0.08);
            border-radius: 17px;
        }
        .one-step-forward-timeline__frame .narrative-carousel {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: none;
            min-height: 360px;
            margin: 0;
            aspect-ratio: 4 / 5;
        }
        .one-step-forward-timeline__frame .carousel-track {
            border: 10px solid rgba(255, 251, 243, 0.96);
            border-bottom-width: 12px;
            border-radius: 10px;
            box-shadow: 0 16px 30px rgba(50, 36, 21, 0.16);
            background: #F8F4EC;
        }
        @media (max-width: 960px) {
            .narrative-break--one-step-timeline {
                padding-top: 2.4rem;
                padding-bottom: 3.5rem;
            }
            .one-step-forward-timeline__shell {
                display: flex;
                flex-direction: column;
                gap: 2rem;
            }
            .one-step-forward-timeline__aside {
                order: -1;
                position: static;
                width: min(100%, 530px);
                margin: 0 auto;
            }
            .scroll-timeline__diary {
                padding-left: 2rem;
            }
            .scroll-timeline__entry::before {
                left: -1.86rem;
            }
            .one-step-forward-timeline__frame {
                padding: 0.85rem 0.85rem 1.2rem;
            }
            .one-step-forward-timeline__frame .narrative-carousel {
                min-height: 0;
            }
        }

        /* ═══ NARRATIVE BREAK CAROUSEL ═══ */
        .narrative-carousel {
            margin: 2rem auto 0;
            max-width: 400px;
            width: 100%;
            min-height: 533px;
            aspect-ratio: 3 / 4;
            overflow-anchor: none;
        }
        .narrative-carousel .carousel,
        .lifestyle-carousel .carousel {
            position: relative;
            width: 100%;
            height: 100%;
        }
        .narrative-carousel .carousel-track,
        .lifestyle-carousel .carousel-track {
            height: 100%;
            aspect-ratio: auto;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: var(--card-shadow-hover);
            background: var(--card-bg);
        }
        .narrative-carousel .carousel-slide,
        .lifestyle-carousel .carousel-slide {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .narrative-carousel .carousel-arrow,
        .lifestyle-carousel .carousel-arrow {
            top: 50%;
            transform: translateY(-50%);
        }
        .narrative-carousel .carousel-arrow:hover,
        .lifestyle-carousel .carousel-arrow:hover {
            transform: translateY(-50%) scale(1.08);
        }
        .narrative-carousel .carousel-prev,
        .lifestyle-carousel .carousel-prev { left: 0.75rem; }
        .narrative-carousel .carousel-next,
        .lifestyle-carousel .carousel-next { right: 0.75rem; }
        .narrative-carousel .carousel-dots,
        .lifestyle-carousel .carousel-dots {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0.75rem;
            z-index: 10;
            text-align: center;
            margin-top: 0;
        }
        .narrative-carousel .image-tag,
        .lifestyle-carousel .image-tag {
            right: 0.75rem;
            bottom: 0.75rem;
        }
        @media (min-width: 961px) {
            .narrative-break--split .narrative-break__layout {
                max-width: 1180px;
                display: grid;
                grid-template-columns: minmax(0, 1fr) 390px;
                gap: clamp(3rem, 4vw, 3.75rem);
                align-items: start;
            }
            .narrative-break--split .narrative-break-inner {
                max-width: none;
                margin: 0;
            }
            .narrative-break--split .narrative-carousel {
                margin: 0;
                max-width: 390px;
                width: min(100%, 390px);
                justify-self: end;
            }
            .narrative-break--hopeboard .narrative-break__layout {
                max-width: 1240px;
                grid-template-columns: minmax(0, 1fr) 430px;
                gap: clamp(2.8rem, 4vw, 4.4rem);
            }
            .narrative-break--setbackboard .narrative-break__layout {
                max-width: min(1780px, calc(100vw - 4rem));
                grid-template-columns: minmax(390px, 0.52fr) minmax(0, 0.9fr);
                gap: clamp(1.65rem, 2.8vw, 3.25rem);
            }
            .narrative-break--hopeboard .narrative-break-inner {
                padding-left: 0;
                border-left: 0;
            }
            .narrative-break--setbackboard .narrative-break-inner {
                padding-left: 0;
                border-left: 0;
            }
            .narrative-break--hopeboard .hopeboard-media {
                justify-self: end;
            }
            .narrative-break--setbackboard .hopeboard-media {
                width: 100%;
                justify-self: stretch;
                align-items: stretch;
            }
            .narrative-break--hopeboard .hopeboard-board .narrative-carousel {
                width: 100%;
                max-width: none;
                justify-self: stretch;
            }
            .narrative-break--setbackboard .hopeboard-board .narrative-carousel {
                width: 100%;
                max-width: none;
                justify-self: stretch;
            }
            .narrative-break--setbackboard .setback-proof {
                justify-self: stretch;
            }
        }

        /* ═══ WHAT I LEARNED — HORIZONTAL CARDS WITH IMAGES ═══ */
        .science-section {
            padding: 6rem 5%; background: var(--section-alt-bg);
            overflow-anchor: none;
        }
        .science-header { text-align: center; margin-bottom: 4rem; }
        .science-header,
        .science-stack,
        .gastritis-science-section,
        .gastritis-science-deck,
        .domino-section,
        .domino-deck,
        .domino-chain,
        .irritate-section,
        .irritate-deck,
        .irritate-rail,
        .lifestyle-section,
        .ph-habits-section,
        .ph-habits-grid,
        .ph-tabs,
        .sci-row,
        .diet-intro {
            overflow-anchor: none;
        }
        .science-header h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 3.5rem; font-weight: 300;
            color: var(--text-main); margin-bottom: 0.5rem;
        }
        .science-header p {
            font-size: 1.2rem; color: var(--text-muted); font-weight: 300;
            max-width: 560px; margin: 0 auto; line-height: 1.65;
        }
        .science-stack {
            display: flex; flex-direction: column; gap: 2rem;
            max-width: 1300px; margin: 0 auto;
        }
        .sci-row {
            display: flex; gap: 0;
            background: var(--card-bg); border: 1px solid var(--card-border);
            border-radius: 20px; overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: box-shadow 0.35s ease, transform 0.35s ease;
        }
        .sci-row:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
        .sci-row:nth-child(even) { flex-direction: row-reverse; }

        .sci-row-text {
            flex: 1; padding: 2.5rem; display: flex;
            flex-direction: column; justify-content: center;
            min-width: 0;
        }
        .sci-row-text .num-badge {
            width: 32px; height: 32px; border-radius: 50%;
            display: inline-flex; align-items: center; justify-content: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem; font-weight: 700; color: #fff;
            margin-bottom: 1rem; flex-shrink: 0;
        }
        .nb-red { background: var(--danger); }
        .nb-amber { background: #F59E0B; }
        .nb-blue { background: var(--accent); }
        .nb-purple { background: #8B5CF6; }
        .nb-green { background: var(--heal); }
        .nb-teal { background: #0D9488; }
        .nb-rose { background: #E11D48; }
        .nb-indigo { background: #4F46E5; }

        .sci-row-text h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.6rem; margin-bottom: 1rem; font-weight: 500;
            color: var(--text-main); line-height: 1.25;
        }
        .sci-row-text ul { list-style: none; padding: 0; }
        .sci-row-text ul li {
            font-size: 1rem; color: var(--text-muted); line-height: 1.65;
            padding: 0.3rem 0 0.3rem 1.3rem; position: relative; font-weight: 300;
        }
        .sci-row-text ul li::before {
            content: ''; position: absolute; left: 0; top: 0.65rem;
            width: 5px; height: 5px; border-radius: 50%;
            background: var(--accent);
        }
        .sci-row-img {
            flex: 1.4; overflow: hidden; display: flex;
            align-items: center; justify-content: center;
            padding: 0.5rem;
            aspect-ratio: 4 / 3;
            min-height: 320px;
            background: var(--card-bg);
        }
        .sci-row-img img {
            width: 100%; height: 100%; object-fit: contain; display: block;
            opacity: 1; transform: scale(1);
            transition: transform 0.4s ease;
            border-radius: 12px;
            cursor: zoom-in;
        }
        .optimized-illustration {
            display: block;
            width: 100%;
            height: 100%;
        }
        img[data-lightbox="false"] {
            cursor: default !important;
        }
        .sci-row:hover .sci-row-img img { transform: scale(1.02); }

        .sci-row-text p {
            font-size: 1rem; color: var(--text-muted); line-height: 1.72;
            font-weight: 300; margin-bottom: 0.85rem;
        }
        .sci-row-text p:last-child { margin-bottom: 0; }
        .sci-row-text .food-examples {
            display: inline-block;
            background: rgba(220,53,69,0.07);
            color: var(--danger);
            padding: 3px 12px;
            border-radius: 10px;
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            margin-bottom: 1rem;
        }
        .sci-row-text .food-examples-heal {
            display: inline-block;
            background: rgba(22,163,74,0.07);
            color: var(--heal);
            padding: 3px 12px;
            border-radius: 10px;
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 0.02em;
            margin-bottom: 1rem;
        }

        /* Chapter 3 science deck: one featured lesson + mini cards */
        .gastritis-science-section {
            background:
                radial-gradient(circle at 16% 8%, rgba(220, 53, 69, 0.055), transparent 28rem),
                radial-gradient(circle at 86% 12%, rgba(13, 148, 136, 0.055), transparent 30rem),
                linear-gradient(180deg, var(--section-alt-bg) 0%, #FFFDF8 52%, var(--section-alt-bg) 100%);
        }
        .gastritis-science-section .science-header {
            margin: clamp(2rem, 3vw, 2.8rem) auto clamp(1.6rem, 2.8vw, 2.35rem);
        }
        .gastritis-science-section .science-header p {
            max-width: 720px;
        }
        .gastritis-science-deck {
            --science-stage-height: clamp(410px, 34vw, 500px);
            max-width: 1320px;
            margin: 0 auto;
        }
        .gastritis-science-deck__stage {
            position: relative;
            min-height: var(--science-stage-height);
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 24px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 244, 234, 0.82)),
                var(--card-bg);
            box-shadow: 0 28px 90px rgba(69, 47, 28, 0.12);
            overflow: hidden;
        }
        .gastritis-science-panel {
            position: absolute;
            inset: 0;
            height: 100%;
            min-height: 0;
            display: grid;
            grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
            gap: clamp(1.4rem, 3vw, 3rem);
            align-items: start;
            padding: clamp(1.1rem, 2.2vw, 1.8rem);
            overflow: hidden;
        }
        .gastritis-science-panel[hidden] {
            display: none;
        }
        .gastritis-science-panel__visual {
            grid-column: 2;
            align-self: stretch;
            min-width: 0;
            min-height: 0;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: clamp(0.65rem, 1.5vw, 1rem);
            border: 1px solid rgba(160, 122, 78, 0.16);
            border-radius: 18px;
            background:
                radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.92), transparent 22rem),
                #FFFDF8;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
            overflow: hidden;
        }
        .gastritis-science-panel__visual img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            border-radius: 12px;
            cursor: zoom-in;
        }
        .gastritis-science-panel__copy {
            grid-column: 1;
            grid-row: 1;
            max-height: 100%;
            overflow-y: auto;
            overscroll-behavior: contain;
            padding: clamp(1rem, 2vw, 1.6rem) clamp(0.5rem, 1vw, 1rem);
            scrollbar-width: thin;
            scrollbar-color: rgba(160, 122, 78, 0.35) transparent;
        }
        .gastritis-science-panel__copy::-webkit-scrollbar {
            width: 7px;
        }
        .gastritis-science-panel__copy::-webkit-scrollbar-track {
            background: transparent;
        }
        .gastritis-science-panel__copy::-webkit-scrollbar-thumb {
            background: rgba(160, 122, 78, 0.28);
            border-radius: 999px;
        }
        .gastritis-science-panel__number {
            width: 2.65rem;
            height: 2.65rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.1rem;
            border-radius: 999px;
            background: var(--science-accent, var(--accent));
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
            font-weight: 800;
            box-shadow: 0 12px 28px color-mix(in srgb, var(--science-accent, var(--accent)) 24%, transparent);
        }
        .gastritis-science-panel__eyebrow {
            display: block;
            margin-bottom: 0.65rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--science-accent, var(--accent));
        }
        .gastritis-science-panel__copy h3 {
            max-width: 540px;
            margin: 0 0 1.35rem;
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.7rem, 2.6vw, 2.4rem);
            font-weight: 400;
            line-height: 1.05;
            color: var(--text-main);
        }
        .gastritis-science-panel__copy ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .gastritis-science-panel__copy li {
            position: relative;
            margin-bottom: 0.9rem;
            padding-left: 1.75rem;
            font-size: clamp(1rem, 1.35vw, 1.12rem);
            line-height: 1.65;
            color: var(--text-muted);
            font-weight: 300;
        }
        .gastritis-science-panel__copy li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.62rem;
            width: 0.62rem;
            height: 0.62rem;
            border: 1px solid var(--science-accent, var(--accent));
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.82);
        }
        .gastritis-science-thumbs-shell {
            margin: 0 0 1.05rem;
        }
        .gastritis-science-thumbs {
            min-width: 0;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.65rem;
            overflow: visible;
            padding: 0.15rem 0.05rem 0.25rem;
            scrollbar-width: none;
        }
        .gastritis-science-thumbs::-webkit-scrollbar {
            display: none;
        }
        .gastritis-science-thumbs::-webkit-scrollbar-track {
            display: none;
        }
        .gastritis-science-thumbs::-webkit-scrollbar-thumb {
            display: none;
        }
        .gastritis-science-thumb-nav {
            display: none;
        }
        .gastritis-science-thumb-nav:hover,
        .gastritis-science-thumb-nav:focus-visible {
            outline: none;
        }
        .gastritis-science-thumb {
            flex: 0 0 auto;
            min-height: 0;
            height: 3.5rem;
            display: grid;
            grid-template-columns: 2.05rem max-content;
            gap: 0.62rem;
            align-items: center;
            padding: 0.55rem 1.1rem 0.55rem 0.62rem;
            border: 1px solid rgba(160, 122, 78, 0.2);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.88);
            color: var(--text-main);
            text-align: left;
            cursor: pointer;
            box-shadow: 0 12px 30px rgba(69, 47, 28, 0.055);
            transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
        }
        .gastritis-science-thumb:hover,
        .gastritis-science-thumb:focus-visible,
        .gastritis-science-thumb.is-active {
            border-color: color-mix(in srgb, var(--science-accent, var(--accent)) 62%, rgba(160, 122, 78, 0.2));
            box-shadow: 0 18px 40px rgba(69, 47, 28, 0.11);
            transform: translateY(-2px);
            outline: none;
        }
        .gastritis-science-thumb.is-active {
            border-color: rgba(28, 27, 26, 0.86);
            background: #1F1E1C;
            color: #FFFFFF;
            box-shadow: 0 18px 42px rgba(28, 27, 26, 0.22);
        }
        .gastritis-science-thumb__num {
            width: 2.05rem;
            height: 2.05rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: var(--science-accent, var(--accent));
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem;
            font-weight: 800;
        }
        .gastritis-science-thumb.is-active .gastritis-science-thumb__num {
            background: #FFFFFF;
            color: #1F1E1C;
        }
        .gastritis-science-thumb__label {
            font-family: 'Outfit', sans-serif;
            font-size: 0.94rem;
            line-height: 1.1;
            font-weight: 600;
            white-space: nowrap;
        }
        .gastritis-science-thumb img {
            display: none;
        }

        @media (max-width: 1100px) {
            .gastritis-science-deck {
                --science-stage-height: auto;
            }
            .gastritis-science-deck__stage {
                min-height: 0;
            }
            .gastritis-science-panel {
                position: relative;
                inset: auto;
                height: auto;
                grid-template-columns: 1fr;
                min-height: auto;
            }
            .gastritis-science-panel__visual,
            .gastritis-science-panel__copy {
                grid-column: auto;
                grid-row: auto;
            }
            .gastritis-science-panel__copy {
                max-height: none;
                overflow: visible;
                padding: 0.25rem 0.5rem 0.75rem;
            }
            .gastritis-science-thumbs {
                justify-content: center;
            }
            .gastritis-science-thumb {
                height: 3.3rem;
            }
        }

        @media (max-width: 680px) {
            .gastritis-science-section {
                padding-left: 4%;
                padding-right: 4%;
            }
            .gastritis-science-panel {
                padding: 0.8rem;
            }
            .gastritis-science-panel__visual {
                min-height: 0;
                aspect-ratio: 4 / 3;
            }
            .gastritis-science-thumbs-shell {
                grid-template-columns: minmax(0, 1fr);
                gap: 0.55rem;
                padding: 0.65rem;
            }
            .gastritis-science-thumbs {
                justify-content: flex-start;
                flex-wrap: nowrap;
                gap: 0.65rem;
                margin: 0 -0.65rem;
                padding: 0.25rem 0.8rem 0.85rem;
                overflow-x: auto;
                overflow-y: hidden;
                scroll-snap-type: x proximity;
                -webkit-overflow-scrolling: touch;
            }
            .gastritis-science-thumb-nav {
                display: none;
            }
            .gastritis-science-thumb {
                flex: 0 0 min(76vw, 320px);
                grid-template-columns: 2rem minmax(0, 1fr);
                scroll-snap-align: center;
            }
        }

        /* Chapter 5 roadmap deck: compact steps + one featured panel */
        .roadmap-section {
            background:
                radial-gradient(circle at 12% 10%, rgba(22, 163, 74, 0.055), transparent 30rem),
                radial-gradient(circle at 82% 20%, rgba(245, 158, 11, 0.045), transparent 28rem),
                linear-gradient(180deg, #FFFDF8 0%, var(--section-alt-bg) 100%);
        }
        .roadmap-header {
            max-width: 1320px;
            margin: 0 auto clamp(2rem, 3.5vw, 3.2rem);
            text-align: center;
        }
        .roadmap-eyebrow {
            display: block;
            margin-bottom: 0.65rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: var(--heal);
        }
        .roadmap-header h2 {
            max-width: 760px;
            margin: 0 auto 0.9rem;
            font-size: clamp(2rem, 3.4vw, 3.2rem);
            line-height: 0.98;
        }
        .roadmap-header p {
            max-width: 640px;
            margin: 0 auto;
        }
        .roadmap-deck {
            --roadmap-stage-height: clamp(460px, 36vw, 520px);
            max-width: 1320px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
            gap: clamp(1.5rem, 3.2vw, 3.4rem);
            align-items: start;
            overflow-anchor: none;
        }
        .roadmap-steps {
            display: grid;
            gap: clamp(0.95rem, 1.35vw, 1.05rem);
        }
        .roadmap-step {
            width: 100%;
            min-height: clamp(82px, 6vw, 88px);
            display: grid;
            grid-template-columns: 2.35rem minmax(0, 1fr) 1.25rem;
            gap: clamp(0.8rem, 1.35vw, 1.1rem);
            align-items: center;
            padding: 0.82rem 1rem;
            border: 1px solid rgba(160, 122, 78, 0.2);
            border-radius: 17px;
            background: rgba(255, 253, 248, 0.9);
            color: var(--text-main);
            text-align: left;
            cursor: pointer;
            box-shadow: 0 14px 34px rgba(69, 47, 28, 0.06);
            transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease, background 0.24s ease;
        }
        .roadmap-step:hover,
        .roadmap-step:focus-visible,
        .roadmap-step.is-active {
            border-color: color-mix(in srgb, var(--roadmap-accent, var(--heal)) 58%, rgba(160, 122, 78, 0.22));
            background: #FFFDF8;
            box-shadow: 0 18px 44px rgba(69, 47, 28, 0.11);
            transform: translateY(-1px);
            outline: none;
        }
        .roadmap-step.is-active {
            box-shadow:
                inset 0 0 0 1px color-mix(in srgb, var(--roadmap-accent, var(--heal)) 38%, transparent),
                0 18px 44px rgba(69, 47, 28, 0.11);
        }
        .roadmap-step__num {
            width: 2.2rem;
            height: 2.2rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: var(--roadmap-accent, var(--heal));
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            font-weight: 800;
            box-shadow: 0 10px 24px color-mix(in srgb, var(--roadmap-accent, var(--heal)) 28%, transparent);
        }
        .roadmap-step__title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.08rem, 1.35vw, 1.32rem);
            line-height: 1.12;
            font-weight: 600;
        }
        .roadmap-step__chevron {
            justify-self: end;
            color: color-mix(in srgb, var(--roadmap-accent, var(--heal)) 64%, var(--text-muted));
            font-size: 1.55rem;
            line-height: 1;
        }
        .roadmap-stage {
            position: relative;
            min-height: var(--roadmap-stage-height);
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 24px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 244, 234, 0.82)),
                var(--card-bg);
            box-shadow: 0 28px 90px rgba(69, 47, 28, 0.12);
            overflow: hidden;
        }
        .roadmap-panel {
            position: absolute;
            inset: 0;
            height: 100%;
            display: grid;
            grid-template-rows: clamp(220px, 18vw, 300px) minmax(0, 1fr);
            min-height: 0;
            overflow: hidden;
        }
        .roadmap-panel[hidden] {
            display: none;
        }
        .roadmap-panel__visual {
            position: relative;
            min-height: 0;
            margin: 0.75rem 0.75rem 0;
            border-radius: 18px 18px 6px 6px;
            overflow: hidden;
            background:
                radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.92), transparent 18rem),
                linear-gradient(135deg, #fff 0%, #FBF6EC 100%);
            box-shadow: inset 0 0 0 1px rgba(160, 122, 78, 0.14);
        }
        .roadmap-panel__visual img {
            width: 100%;
            height: 100%;
            min-height: 0;
            object-fit: cover;
            object-position: center;
            display: block;
            cursor: zoom-in;
        }
        .roadmap-panel__badge {
            position: absolute;
            top: 1.1rem;
            left: 1.1rem;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.45rem 0.9rem;
            border-radius: 999px;
            background: var(--roadmap-accent, var(--heal));
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.74rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            box-shadow: 0 12px 28px color-mix(in srgb, var(--roadmap-accent, var(--heal)) 30%, transparent);
        }
        .roadmap-panel__content {
            min-height: 0;
            padding: clamp(1.15rem, 2.1vw, 1.7rem);
            overflow-y: auto;
            overscroll-behavior: contain;
            scrollbar-width: thin;
            scrollbar-color: rgba(160, 122, 78, 0.35) transparent;
        }
        .roadmap-panel__content::-webkit-scrollbar { width: 7px; }
        .roadmap-panel__content::-webkit-scrollbar-track { background: transparent; }
        .roadmap-panel__content::-webkit-scrollbar-thumb {
            background: rgba(160, 122, 78, 0.28);
            border-radius: 999px;
        }
        .roadmap-panel__content h3 {
            margin: 0 0 0.78rem;
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.75rem, 2.8vw, 2.55rem);
            font-weight: 400;
            line-height: 1.08;
            color: var(--text-main);
        }
        .roadmap-panel__content ul {
            list-style: none;
            margin: 0 0 1.25rem;
            padding: 0;
        }
        .roadmap-panel__content li {
            position: relative;
            margin-bottom: 0.72rem;
            padding-left: 1.35rem;
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.65;
            font-weight: 300;
        }
        .roadmap-panel__content li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.62rem;
            width: 0.42rem;
            height: 0.42rem;
            border-radius: 999px;
            background: var(--roadmap-accent, var(--heal));
        }
        .roadmap-callout {
            display: grid;
            grid-template-columns: 2.8rem minmax(0, 1fr);
            gap: 1rem;
            align-items: start;
            margin: 1rem 0 1.2rem;
            padding: 1rem 1.1rem;
            border: 1px solid color-mix(in srgb, var(--roadmap-accent, var(--heal)) 22%, rgba(160, 122, 78, 0.18));
            border-radius: 16px;
            background: color-mix(in srgb, var(--roadmap-accent, var(--heal)) 8%, #FFFDF8);
        }
        .roadmap-callout__icon {
            width: 2.8rem;
            height: 2.8rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: color-mix(in srgb, var(--roadmap-accent, var(--heal)) 16%, #fff);
            color: var(--roadmap-accent, var(--heal));
            font-family: 'JetBrains Mono', monospace;
            font-weight: 800;
        }
        .roadmap-callout h4 {
            margin: 0 0 0.25rem;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-main);
        }
        .roadmap-callout p {
            margin: 0;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
            font-weight: 300;
        }
        .roadmap-tips {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            border-top: 1px solid rgba(160, 122, 78, 0.18);
            padding-top: 0.9rem;
        }
        .roadmap-tip {
            padding: 0.15rem 0.9rem;
            color: var(--text-muted);
            font-size: 0.86rem;
            line-height: 1.45;
            text-align: center;
        }
        .roadmap-tip + .roadmap-tip {
            border-left: 1px solid rgba(160, 122, 78, 0.16);
        }
        .roadmap-tip strong {
            display: block;
            margin-bottom: 0.2rem;
            color: var(--roadmap-accent, var(--heal));
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        @media (max-width: 1100px) {
            .roadmap-deck {
                --roadmap-stage-height: auto;
                grid-template-columns: 1fr;
                gap: 1.2rem;
            }
            .roadmap-steps {
                display: flex;
                gap: 0.75rem;
                overflow-x: auto;
                overflow-y: hidden;
                padding: 0.1rem 0.1rem 0.65rem;
                scrollbar-width: thin;
                scrollbar-color: rgba(160, 122, 78, 0.35) transparent;
            }
            .roadmap-step {
                flex: 0 0 min(78vw, 310px);
                grid-template-columns: 2.1rem minmax(0, 1fr) 1rem;
                min-height: 74px;
            }
            .roadmap-stage { min-height: 0; }
            .roadmap-panel {
                position: relative;
                inset: auto;
                height: auto;
                grid-template-rows: auto;
                min-height: auto;
            }
            .roadmap-panel__visual {
                aspect-ratio: 16 / 9;
            }
            .roadmap-panel__visual img {
                min-height: 0;
            }
            .roadmap-panel__content {
                max-height: none;
                overflow: visible;
            }
        }

        @media (max-width: 680px) {
            .roadmap-section {
                padding-left: 4%;
                padding-right: 4%;
            }
            .roadmap-header {
                text-align: center;
            }
            .roadmap-header p {
                margin: 0 auto;
            }
            .roadmap-step {
                flex-basis: 15.5rem;
                width: 15.5rem;
                grid-template-columns: 2rem minmax(0, 1fr);
            }
            .roadmap-step__chevron {
                display: none;
            }
            .roadmap-panel__visual {
                margin: 0.55rem 0.55rem 0;
            }
            .roadmap-panel__content {
                padding: 1.15rem;
            }
            .roadmap-panel__content h3 {
                font-size: clamp(1.75rem, 9vw, 2.45rem);
            }
            .roadmap-callout {
                grid-template-columns: 1fr;
            }
            .roadmap-tips {
                grid-template-columns: 1fr;
                gap: 0.55rem;
            }
            .roadmap-tip {
                padding: 0.55rem 0;
                border-left: 0 !important;
                border-top: 1px solid rgba(160, 122, 78, 0.14);
            }
            .roadmap-tip:first-child {
                border-top: 0;
            }
        }
        .diet-intro {
            max-width: 780px;
            margin: 0 auto 1rem;
            text-align: center;
        }
        .diet-intro p {
            font-size: 1.08rem; color: var(--text-muted); font-weight: 300;
            line-height: 1.75; margin-bottom: 1rem;
        }
        .diet-intro p:last-child { margin-bottom: 0; }
        .diet-timing-note {
            max-width: 920px;
            margin: clamp(-2rem, -2vw, -1rem) auto clamp(2.5rem, 4.5vw, 4rem);
            padding: clamp(1.25rem, 2.4vw, 1.85rem) clamp(1.25rem, 2.8vw, 2.1rem);
            border: 1px solid rgba(76, 139, 60, 0.24);
            border-left: 4px solid #4C8B3C;
            border-radius: 12px;
            background:
                radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.85), transparent 38%),
                linear-gradient(135deg, rgba(237, 246, 227, 0.92), rgba(255, 253, 248, 0.96));
            box-shadow: 0 18px 44px rgba(65, 91, 42, 0.08);
        }
        .diet-timing-note h3 {
            margin: 0 0 0.7rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.55rem, 2.6vw, 2.1rem);
            font-weight: 500;
            line-height: 1.12;
            color: #315D2A;
        }
        .diet-timing-note p {
            margin: 0 0 0.85rem;
            color: var(--text-muted);
            font-size: 1.02rem;
            line-height: 1.72;
            font-weight: 300;
        }
        .diet-timing-note p:last-child {
            margin-bottom: 0;
        }
        @media (max-width: 720px) {
            .diet-timing-note {
                margin-top: -1.35rem;
                padding: 1.2rem 1rem 1.3rem;
                border-radius: 10px;
            }
            .diet-timing-note p {
                font-size: 0.98rem;
            }
        }

        /* ═══ DIET CARDS — stacked layout (image top, text below) ═══ */
        .diet-cards {
            max-width: 1060px;
        }
        .diet-cards .sci-row,
        .diet-cards .sci-row:nth-child(even) {
            flex-direction: column;
        }
        .diet-cards .sci-row-img {
            order: -1;
            flex: none;
            width: 100%;
            aspect-ratio: 5 / 2;
            height: auto;
            min-height: 0;
            padding: 0.25rem;
            background: #F3F0EB;
        }
        .diet-cards .sci-row-img img {
            object-fit: contain;
            object-position: center;
            border-radius: 12px;
        }
        .diet-cards .sci-row-text {
            padding: 2.5rem 3rem 3rem;
        }
        .diet-cards .sci-row-text p {
            font-size: 1.1rem;
            line-height: 1.75;
        }

        /* Chapter 6 inflammatory foods: sticky rail + field-guide chapters */
        .diet-scroll {
            background:
                radial-gradient(circle at 12% 6%, rgba(192, 138, 62, 0.08), transparent 28rem),
                linear-gradient(180deg, var(--section-alt-bg) 0%, #FAF5EA 54%, var(--section-alt-bg) 100%);
        }
        .diet-scroll--support {
            background:
                radial-gradient(circle at 82% 8%, rgba(22, 163, 74, 0.09), transparent 30rem),
                linear-gradient(180deg, var(--bg) 0%, #F3F8EE 54%, var(--bg) 100%);
        }
        .diet-scroll--chain {
            background:
                radial-gradient(circle at 18% 8%, rgba(58, 110, 165, 0.08), transparent 28rem),
                radial-gradient(circle at 86% 18%, rgba(106, 74, 160, 0.07), transparent 30rem),
                linear-gradient(180deg, var(--section-alt-bg) 0%, #F2F6F8 54%, var(--section-alt-bg) 100%);
        }
        .diet-scroll .science-header {
            max-width: 760px;
            margin: 0 auto 2rem;
        }
        .diet-scroll .diet-intro {
            max-width: 840px;
            margin-bottom: clamp(3rem, 5vw, 5rem);
        }
        .diet-scroll-layout {
            display: grid;
            grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
            gap: clamp(2rem, 4vw, 4rem);
            align-items: start;
            max-width: 1260px;
            margin: 0 auto;
        }
        .diet-scroll-rail {
            position: sticky;
            top: 7rem;
            align-self: start;
            padding: 1.35rem;
            border: 1px solid rgba(160, 122, 78, 0.2);
            border-radius: 24px;
            background: rgba(255, 252, 246, 0.82);
            box-shadow: 0 22px 56px rgba(85, 61, 37, 0.09);
            backdrop-filter: blur(12px);
            overflow-anchor: none;
        }
        .diet-scroll-rail__eyebrow {
            display: block;
            margin-bottom: 1rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--text-muted);
        }
        .diet-scroll-rail a {
            display: grid;
            grid-template-columns: 2rem minmax(0, 1fr);
            gap: 0.7rem;
            align-items: center;
            padding: 0.65rem 0.75rem;
            border-radius: 15px;
            color: var(--text-muted);
            text-decoration: none;
            transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
        }
        .diet-scroll-rail a + a {
            margin-top: 0.25rem;
        }
        .diet-scroll-rail a:hover,
        .diet-scroll-rail a.is-active {
            background: var(--diet-soft, rgba(192, 138, 62, 0.12));
            color: var(--text-main);
            transform: translateX(3px);
        }
        .diet-scroll-rail__num {
            width: 1.85rem;
            height: 1.85rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--diet-ink, #A45F32);
            border-radius: 999px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            color: var(--diet-ink, #A45F32);
            background: rgba(255, 255, 255, 0.75);
        }
        .diet-scroll-rail__label {
            font-size: 0.86rem;
            line-height: 1.25;
        }
        .diet-scroll .diet-cards {
            max-width: none;
            gap: clamp(3rem, 6vw, 5.5rem);
        }
        .diet-scroll .sci-row,
        .diet-scroll .sci-row:nth-child(even) {
            display: flex;
            flex-direction: column;
            gap: 0;
            padding: 0 0 clamp(3rem, 5vw, 4.5rem);
            border: 0;
            border-bottom: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            scroll-margin-top: 7rem;
            overflow: visible;
        }
        .diet-scroll .sci-row:hover {
            transform: none;
            box-shadow: none;
        }
        .diet-scroll .sci-row-img {
            order: -1;
            width: 100%;
            aspect-ratio: 5 / 2;
            min-height: 0;
            margin: 0 0 clamp(1.8rem, 3vw, 2.5rem);
            padding: clamp(0.55rem, 1vw, 0.9rem);
            border: 1px solid rgba(160, 122, 78, 0.25);
            border-radius: 22px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 241, 224, 0.82)),
                var(--diet-soft, #FBF0DC);
            box-shadow: 0 26px 70px rgba(90, 61, 32, 0.12);
        }
        .diet-scroll .sci-row-img img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            border-radius: 15px;
            background: #FFFDF8;
        }
        .diet-scroll .sci-row:hover .sci-row-img img {
            transform: none;
        }
        .diet-scroll .sci-row-text {
            display: block;
            padding: 0;
            counter-reset: dietMechanism;
        }
        .diet-scroll .sci-row-text .num-badge {
            width: 3rem;
            height: 3rem;
            margin-bottom: 1.1rem;
            border: 1px solid var(--diet-ink, #A45F32);
            background: #FFFDF8;
            color: var(--diet-ink, #A45F32);
            font-size: 0.9rem;
        }
        .diet-scroll .sci-row-text h3 {
            max-width: 760px;
            margin-bottom: 1rem;
            font-size: clamp(2.05rem, 4vw, 3rem);
            color: var(--text-main);
        }
        .diet-scroll .sci-row-text .food-examples,
        .diet-scroll .sci-row-text .food-examples-heal,
        .diet-scroll .sci-row-text .chain-context {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.55rem 0.75rem;
            max-width: 920px;
            margin: 0 0 1.45rem;
            padding: 0.8rem 1rem;
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-left: 3px solid var(--diet-ink, #A45F32);
            border-radius: 4px;
            background: rgba(255, 253, 248, 0.72);
            color: var(--text-muted);
            font-family: 'Outfit', sans-serif;
            font-size: 0.92rem;
            line-height: 1.55;
            font-weight: 300;
            letter-spacing: 0.01em;
            text-transform: none;
            box-shadow: 0 10px 28px rgba(83, 54, 26, 0.045);
        }
        .diet-scroll .sci-row-text .food-examples::before,
        .diet-scroll .sci-row-text .food-examples-heal::before,
        .diet-scroll .sci-row-text .chain-context::before {
            content: 'Found in';
            flex: 0 0 auto;
            padding: 0.28rem 0.55rem;
            border-radius: 999px;
            background: var(--diet-soft, #FBF0DC);
            color: var(--diet-ink, #A45F32);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        .diet-scroll .sci-row-text .food-examples-heal::before {
            content: 'Good sources';
        }
        .diet-scroll .sci-row-text .chain-context::before {
            content: 'Chain focus';
        }
        .diet-scroll .sci-row-text p {
            max-width: none;
            font-size: 1.05rem;
            line-height: 1.75;
            color: var(--text-muted);
        }
        .diet-scroll .sci-row-text p:first-of-type {
            max-width: 840px;
            margin: 0 0 1.7rem;
            font-size: 1.12rem;
            color: var(--text-main);
        }
        .diet-scroll .sci-row-text p:not(:first-of-type) {
            position: relative;
            min-height: 5.5rem;
            margin: 0 0 1.35rem;
            padding: 1.45rem 1.65rem 1.45rem 5.8rem;
            counter-increment: dietMechanism;
            border: 1px solid rgba(160, 122, 78, 0.28);
            border-radius: 4px;
            background: rgba(255, 253, 248, 0.92);
            box-shadow: 0 14px 36px rgba(83, 54, 26, 0.055);
        }
        .diet-scroll .sci-row-text p:not(:first-of-type)::before {
            content: counter(dietMechanism);
            position: absolute;
            left: 1.45rem;
            top: 1.35rem;
            width: 2.65rem;
            height: 2.65rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--diet-ink, #A45F32);
            border-radius: 999px;
            color: var(--diet-ink, #A45F32);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem;
            background: #FFFDF8;
            box-shadow: 0 0 0 5px rgba(255, 253, 248, 0.9);
        }
        .diet-scroll .sci-row-text p:not(:first-of-type)::after {
            content: '';
            position: absolute;
            left: 1.15rem;
            top: 1.05rem;
            width: 3.25rem;
            height: 3.25rem;
            border: 1px dashed rgba(160, 122, 78, 0.25);
            border-radius: 999px;
            pointer-events: none;
        }
        .diet-scroll .sci-row-text p strong {
            display: block;
            margin-bottom: 0.45rem;
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.32rem, 2.1vw, 1.65rem);
            line-height: 1.2;
            font-weight: 500;
            color: var(--text-main);
        }

        /* Sources stay outside the paragraph-based mechanism counter. */
        .diet-scroll .research-sources,
        .domino-panel__copy .research-sources,
        .irritate-panel__copy .research-sources,
        .gastritis-science-panel__copy .research-sources {
            margin-top: 0.35rem;
            padding-top: 0.9rem;
            border-top: 1px solid rgba(160, 122, 78, 0.22);
            font-family: 'Outfit', sans-serif;
            font-size: 0.86rem;
            line-height: 1.65;
            color: var(--text-muted);
            overflow-wrap: anywhere;
        }
        .domino-panel__copy .research-sources {
            --diet-ink: color-mix(in srgb, var(--domino-accent, var(--accent)) 55%, #222 45%);
        }
        .gastritis-science-panel__copy .research-sources {
            --diet-ink: color-mix(in srgb, var(--science-accent, var(--accent)) 55%, #222 45%);
        }
        .research-sources__label {
            display: block;
            margin-bottom: 0.3rem;
            font-weight: 500;
            color: var(--text-main);
        }
        .research-sources__links {
            display: block;
        }
        .research-sources a {
            color: var(--diet-ink, #A45F32);
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 0.18em;
        }
        .research-sources a:hover {
            text-decoration-thickness: 2px;
        }
        .research-sources a:focus-visible {
            outline: 2px solid var(--diet-ink, #A45F32);
            outline-offset: 3px;
            border-radius: 2px;
        }
        .research-sources__separator {
            color: var(--text-muted);
        }
        .research-sources__note {
            display: block;
            margin-top: 0.4rem;
        }

        /* ═══ FOODS THAT IRRITATE — chip rail + reader deck ═══ */
        .irritate-section {
            background:
                radial-gradient(circle at 14% 8%, rgba(220, 53, 69, 0.045), transparent 28rem),
                radial-gradient(circle at 84% 14%, rgba(245, 158, 11, 0.05), transparent 30rem),
                linear-gradient(180deg, #FFFDF8 0%, var(--section-alt-bg) 100%);
        }
        .irritate-section .science-header { text-align: center; }
        .irritate-section .science-header h2 {
            max-width: 980px;
            margin: 0 auto 0.6rem;
        }
        .irritate-section .science-header p {
            max-width: 720px;
        }
        .irritate-deck {
            --irritate-stage-height: clamp(280px, 22vw, 340px);
            max-width: 1320px;
            margin: 0 auto;
        }
        .irritate-rail-shell {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            gap: 0.6rem;
            align-items: center;
            margin-bottom: 1.6rem;
        }
        .irritate-rail {
            min-width: 0;
            display: flex;
            gap: 0.55rem;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 1.1rem 0.4rem 0.85rem;
            scrollbar-width: thin;
            scrollbar-color: rgba(160, 122, 78, 0.35) transparent;
            scroll-snap-type: x proximity;
        }
        .irritate-rail::-webkit-scrollbar { height: 8px; }
        .irritate-rail::-webkit-scrollbar-track { background: transparent; }
        .irritate-rail::-webkit-scrollbar-thumb {
            background: rgba(160, 122, 78, 0.28); border-radius: 999px;
        }
        .irritate-rail__nav {
            width: 2.5rem;
            height: 2.5rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(160, 122, 78, 0.28);
            border-radius: 999px;
            background: rgba(255, 253, 248, 0.92);
            color: var(--text-main);
            font-size: 1.25rem;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 8px 22px rgba(69, 47, 28, 0.07);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }
        .irritate-rail__nav:hover,
        .irritate-rail__nav:focus-visible {
            transform: translateY(-1px);
            border-color: rgba(160, 122, 78, 0.5);
            box-shadow: 0 12px 28px rgba(69, 47, 28, 0.11);
            outline: none;
        }
        .irritate-chip {
            flex: 0 0 auto;
            scroll-snap-align: center;
            width: clamp(88px, 7.6vw, 108px);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            padding: 0.55rem 0.7rem 0.65rem;
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 14px;
            background: rgba(255, 253, 248, 0.92);
            color: var(--text-main);
            cursor: pointer;
            text-align: center;
            box-shadow: 0 10px 24px rgba(69, 47, 28, 0.05);
            transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
            position: relative;
        }
        .irritate-chip:hover,
        .irritate-chip:focus-visible {
            transform: translateY(-2px);
            border-color: rgba(160, 122, 78, 0.5);
            box-shadow: 0 14px 32px rgba(69, 47, 28, 0.1);
            outline: none;
        }
        .irritate-chip.is-active {
            border-color: rgba(160, 122, 78, 0.85);
            background: #FFFDF8;
            box-shadow: 0 0 0 1px rgba(160, 122, 78, 0.55), 0 14px 32px rgba(69, 47, 28, 0.1);
        }
        .irritate-chip.is-active::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 12px; height: 12px;
            background: #FFFDF8;
            border-right: 1px solid rgba(160, 122, 78, 0.6);
            border-bottom: 1px solid rgba(160, 122, 78, 0.6);
        }
        .irritate-chip__num {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            color: rgba(160, 122, 78, 0.85);
        }
        .irritate-chip__label {
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.93rem;
            line-height: 1.2;
            font-weight: 500;
            color: var(--text-main);
            min-height: 1.2em;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 0.1rem;
        }
        .irritate-stage {
            position: relative;
            min-height: var(--irritate-stage-height);
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 24px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 244, 234, 0.82)),
                var(--card-bg);
            box-shadow: 0 28px 90px rgba(69, 47, 28, 0.12);
            overflow: hidden;
        }
        .irritate-panel {
            position: absolute;
            inset: 0;
            height: 100%;
            min-height: 0;
            display: grid;
            grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
            gap: clamp(2rem, 3.5vw, 3.5rem);
            align-items: start;
            padding: clamp(1rem, 1.8vw, 1.5rem);
            overflow: hidden;
        }
        .irritate-panel[hidden] { display: none; }
        .irritate-panel__visual {
            align-self: stretch;
            min-width: 0;
            min-height: 0;
            height: 100%;
            display: flex; align-items: center; justify-content: center;
            padding: clamp(0.5rem, 1.2vw, 0.85rem);
            border: 1px solid rgba(160, 122, 78, 0.16);
            border-radius: 18px;
            background:
                radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.92), transparent 22rem),
                #FFFDF8;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
            overflow: hidden;
        }
        .irritate-panel__visual img {
            width: 100%; height: 100%; object-fit: cover; display: block;
            border-radius: 12px; cursor: zoom-in;
        }
        .irritate-panel__copy {
            max-height: 100%;
            overflow-y: auto;
            overscroll-behavior: contain;
            padding: clamp(0.5rem, 1.4vw, 1rem) clamp(0.4rem, 0.9vw, 0.9rem);
            scrollbar-width: thin;
            scrollbar-color: rgba(160, 122, 78, 0.35) transparent;
        }
        .irritate-panel__copy::-webkit-scrollbar { width: 7px; }
        .irritate-panel__copy::-webkit-scrollbar-track { background: transparent; }
        .irritate-panel__copy::-webkit-scrollbar-thumb {
            background: rgba(160, 122, 78, 0.28); border-radius: 999px;
        }
        .irritate-panel__num {
            display: block;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            color: rgba(160, 122, 78, 0.95);
            margin-bottom: 0.55rem;
        }
        .irritate-panel__title {
            margin: 0 0 0.55rem;
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.7rem, 2.8vw, 2.6rem);
            font-weight: 400;
            line-height: 1.08;
            color: var(--text-main);
        }
        .irritate-panel__rule {
            width: 38px; height: 1px;
            margin: 0 0 0.7rem;
            background: rgba(160, 122, 78, 0.55);
            border: none;
        }
        .irritate-panel__copy p {
            font-size: clamp(0.97rem, 1.1vw, 1.04rem);
            line-height: 1.72;
            color: var(--text-muted);
            font-weight: 300;
            margin: 0;
        }
        .irritate-footer {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.55rem;
            margin-top: 1.1rem;
            color: var(--text-muted);
        }
        .irritate-footer__counter {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.82rem;
            color: rgba(160, 122, 78, 0.95);
        }
        .irritate-dots {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .irritate-dots span {
            width: 6px; height: 6px; border-radius: 999px;
            background: rgba(160, 122, 78, 0.35);
            transition: background 0.2s ease, transform 0.2s ease;
        }
        .irritate-dots span.is-active {
            width: 9px; height: 9px;
            background: rgba(160, 122, 78, 0.95);
            transform: translateY(-1px);
        }
        .irritate-footer__hint {
            font-family: 'Outfit', sans-serif;
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 300;
        }

        @media (max-width: 1100px) {
            .irritate-deck { --irritate-stage-height: auto; }
            .irritate-stage { min-height: 0; }
            .irritate-panel {
                position: relative; inset: auto; height: auto;
                grid-template-columns: 1fr;
                min-height: auto;
            }
            .irritate-panel__visual { aspect-ratio: 4 / 3; }
            .irritate-panel__copy {
                max-height: none; overflow: visible;
                padding: 0.5rem 0.5rem 0.75rem;
            }
        }

        @media (max-width: 680px) {
            .irritate-section { padding-left: 4%; padding-right: 4%; }
            .irritate-rail__nav { display: none; }
            .irritate-rail-shell { grid-template-columns: minmax(0, 1fr); }
            .irritate-chip { width: 92px; }
        }

        @media (max-width: 960px) {
            .diet-scroll-layout {
                display: block;
            }
            .diet-scroll-rail {
                position: relative;
                top: auto;
                display: flex;
                gap: 0.6rem;
                margin: 0 auto 2.5rem;
                padding: 0.75rem;
                overflow-x: auto;
                border-radius: 18px;
                -webkit-overflow-scrolling: touch;
            }
            .diet-scroll-rail__eyebrow {
                flex: 0 0 auto;
                align-self: center;
                margin: 0 0.45rem 0 0;
                white-space: nowrap;
            }
            .diet-scroll-rail a {
                flex: 0 0 auto;
                min-width: 11.25rem;
                margin: 0;
            }
            .diet-scroll-rail a + a {
                margin-top: 0;
            }
            .diet-scroll-rail a:hover,
            .diet-scroll-rail a.is-active {
                transform: none;
            }
            .diet-scroll .sci-row {
                scroll-margin-top: 2rem;
            }
            .diet-scroll .sci-row-img {
                aspect-ratio: 16 / 10;
                padding: 0.65rem;
            }
            .diet-scroll .sci-row-text p:not(:first-of-type) {
                padding: 5.1rem 1.25rem 1.35rem;
            }
            .diet-scroll .sci-row-text p:not(:first-of-type)::before {
                left: 1.25rem;
            }
            .diet-scroll .sci-row-text p:not(:first-of-type)::after {
                left: 0.95rem;
            }
        }

        /* ═══ THE DOMINO EFFECT — chain + reader deck ═══ */
        .domino-section {
            padding: 6rem 5%; background: var(--bg);
        }
        .domino-header { text-align: center; margin-bottom: clamp(1.6rem, 2.8vw, 2.35rem); }
        .domino-header h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 3.5rem; font-weight: 300;
            color: var(--text-main); margin-bottom: 0.5rem;
        }
        .domino-header p {
            font-size: 1.2rem; color: var(--text-muted); font-weight: 300;
            max-width: 720px; margin: 0 auto; line-height: 1.65;
        }

        /* ═══ DOMINO CHAIN + READER DECK (active layout) ═══ */
        .domino-chain {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 0.65rem;
            max-width: 1320px;
            margin: 0 auto 1.05rem;
            padding: 0.15rem 0.05rem 0.25rem;
            list-style: none;
            overflow: visible;
            scrollbar-width: none;
        }
        .domino-chain::-webkit-scrollbar {
            display: none;
        }
        .domino-chip {
            flex: 0 0 auto;
            min-height: 0;
            height: 3.5rem;
            display: grid;
            grid-template-columns: 2.05rem max-content;
            gap: 0.62rem;
            align-items: center;
            justify-content: center;
            padding: 0.55rem 1.1rem 0.55rem 0.62rem;
            border: 1px solid rgba(160, 122, 78, 0.2);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.88);
            color: var(--text-main);
            cursor: pointer;
            text-align: left;
            box-shadow: 0 12px 30px rgba(69, 47, 28, 0.055);
            transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
        }
        .domino-chip:hover,
        .domino-chip:focus-visible,
        .domino-chip.is-active {
            transform: translateY(-2px);
            border-color: color-mix(in srgb, var(--domino-accent, var(--accent)) 62%, rgba(160, 122, 78, 0.2));
            box-shadow: 0 18px 40px rgba(69, 47, 28, 0.11);
            outline: none;
        }
        .domino-chip.is-active {
            border-color: rgba(28, 27, 26, 0.86);
            background: #1F1E1C;
            color: #FFFFFF;
            box-shadow: 0 18px 42px rgba(28, 27, 26, 0.22);
        }
        .domino-chip__num {
            width: 2.05rem; height: 2.05rem;
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 999px;
            background: var(--domino-accent, var(--accent));
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem; font-weight: 800;
        }
        .domino-chip.is-active .domino-chip__num {
            background: #FFFFFF;
            color: #1F1E1C;
        }
        .domino-chip__label {
            font-family: 'Outfit', sans-serif;
            font-size: 0.94rem; line-height: 1.1; font-weight: 600;
            white-space: nowrap;
        }

        .domino-deck {
            --domino-stage-height: clamp(410px, 34vw, 500px);
            max-width: 1320px;
            margin: 0 auto;
        }
        .domino-deck__stage {
            position: relative;
            min-height: var(--domino-stage-height);
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 24px;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 244, 234, 0.82)),
                var(--card-bg);
            box-shadow: 0 28px 90px rgba(69, 47, 28, 0.12);
            overflow: hidden;
        }
        .domino-deck__stage::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0; height: 3px;
            background: var(--domino-active-accent, var(--accent));
            transition: background 0.3s ease;
            z-index: 2;
        }
        .domino-panel {
            position: absolute;
            inset: 0;
            height: 100%;
            min-height: 0;
            display: grid;
            grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
            gap: clamp(1.4rem, 3vw, 3rem);
            align-items: start;
            padding: clamp(1.1rem, 2.2vw, 1.8rem);
            overflow: hidden;
        }
        .domino-panel[hidden] { display: none; }
        .domino-panel__visual {
            align-self: stretch;
            min-width: 0;
            min-height: 0;
            height: 100%;
            display: flex; align-items: center; justify-content: center;
            padding: clamp(0.65rem, 1.5vw, 1rem);
            border: 1px solid rgba(160, 122, 78, 0.16);
            border-radius: 18px;
            background:
                radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.92), transparent 22rem),
                #FFFDF8;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
            overflow: hidden;
        }
        .domino-panel__visual img {
            width: 100%; height: 100%; object-fit: contain; display: block;
            border-radius: 12px; cursor: zoom-in;
        }
        .domino-panel__copy {
            height: 100%;
            min-height: 0;
            max-height: 100%;
            overflow-y: auto;
            overscroll-behavior: contain;
            padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.5rem, 1vw, 1rem);
            scrollbar-width: thin;
            scrollbar-color: rgba(160, 122, 78, 0.35) transparent;
        }
        .domino-panel__copy::-webkit-scrollbar { width: 7px; }
        .domino-panel__copy::-webkit-scrollbar-track { background: transparent; }
        .domino-panel__copy::-webkit-scrollbar-thumb {
            background: rgba(160, 122, 78, 0.28); border-radius: 999px;
        }
        .domino-panel__head {
            display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem;
        }
        .domino-panel__num {
            width: 2.4rem; height: 2.4rem;
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 999px;
            background: var(--domino-accent, var(--accent));
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem; font-weight: 800;
            box-shadow: 0 10px 24px color-mix(in srgb, var(--domino-accent, var(--accent)) 28%, transparent);
            flex-shrink: 0;
        }
        .domino-panel__title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.7rem, 2.6vw, 2.4rem);
            font-weight: 400;
            line-height: 1.15;
            color: var(--text-main);
            margin: 0;
        }
        .domino-panel__copy p {
            font-size: clamp(0.96rem, 1.15vw, 1.04rem);
            line-height: 1.72;
            color: var(--text-muted);
            font-weight: 300;
            margin: 0 0 1rem;
        }
        .domino-panel__copy p:last-child { margin-bottom: 0; }

        .domino-bottom-line {
            max-width: 1100px;
            margin: 1.2rem auto 0;
            padding: 0.85rem 1.4rem;
            display: flex; align-items: center; justify-content: center; gap: 0.65rem;
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 14px;
            background: rgba(255, 253, 248, 0.78);
            color: var(--text-muted);
            font-size: 0.95rem; line-height: 1.55;
            text-align: center;
        }
        .domino-bottom-line__icon {
            color: rgba(160, 122, 78, 0.85);
            font-size: 1rem;
            flex-shrink: 0;
        }
        .domino-bottom-line strong { color: var(--text-main); font-weight: 600; }

        @media (max-width: 1100px) {
            .domino-deck { --domino-stage-height: auto; }
            .domino-deck__stage { min-height: 0; }
            .domino-panel {
                position: relative; inset: auto; height: auto;
                grid-template-columns: 1fr;
                min-height: auto;
            }
            .domino-panel__copy {
                max-height: none; overflow: visible;
                padding: 0.25rem 0.5rem 0.5rem;
            }
            .domino-chain {
                grid-template-columns: none;
                display: flex; flex-wrap: wrap;
                justify-content: center;
                overflow: visible;
                padding: 0.35rem 0.25rem 0.8rem;
                scroll-snap-type: none;
                scrollbar-width: none;
            }
            .domino-chip {
                flex: 0 0 auto;
                width: auto;
                scroll-snap-align: start;
            }
        }

        @media (max-width: 680px) {
            .domino-section { padding-left: 4%; padding-right: 4%; }
            .domino-header h2 { font-size: 2.5rem; }
            .domino-header p { font-size: 1.05rem; line-height: 1.6; }
            .domino-chain {
                flex-wrap: nowrap;
                justify-content: flex-start;
                margin: 0 -0.25rem 1.05rem;
                padding: 0.35rem 0.8rem 0.9rem;
                overflow-x: auto;
                overflow-y: hidden;
                scroll-snap-type: x proximity;
                -webkit-overflow-scrolling: touch;
            }
            .domino-chip {
                flex: 0 0 min(76vw, 320px);
                width: auto;
                grid-template-columns: 2.05rem minmax(0, 1fr);
                justify-content: start;
                scroll-snap-align: center;
            }
            .domino-panel { padding: 0.9rem; }
            .domino-bottom-line {
                margin-top: 1rem; padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }
        }

                /* ═══ PROTOCOL ═══ */
        .protocol-band { background: var(--section-alt-bg); padding: 5rem 2rem; text-align: center; }
        .protocol-band h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 400;
            color: var(--text-main); margin-bottom: 0.4rem;
        }
        .protocol-band .sub { color: var(--text-muted); font-weight: 300; margin-bottom: 2rem; }
        .protocol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 600px; margin: 0 auto; }
        .proto-card {
            background: var(--card-bg); border: 1px solid var(--card-border);
            box-shadow: var(--card-shadow); border-radius: 20px;
            padding: 1.5rem 1.3rem; text-align: left; transition: all 0.35s;
        }
        .proto-card:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
        .proto-card .ph {
            display: inline-block; background: var(--accent-soft); color: var(--accent);
            padding: 3px 10px; border-radius: 12px;
            font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
            letter-spacing: 0.08em; margin-bottom: 0.6rem;
        }
        .proto-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; margin-bottom: 0.35rem; }
        .proto-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
        .proto-card .res { margin-top: 0.4rem; font-size: 0.78rem; color: var(--heal); font-weight: 600; }

        /* ═══ CLOSING ═══ */
        .closing { padding: 4rem 2rem 5rem; text-align: center; background: var(--section-bg); }
        .closing h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; color: var(--text-main); margin-bottom: 0.5rem; }
        .closing p { color: var(--text-muted); font-weight: 300; max-width: 400px; margin: 0 auto; line-height: 1.7; }
        .closing .disc { font-size: 0.68rem; color: var(--text-dim); max-width: 340px; margin: 1.5rem auto 0; font-style: italic; line-height: 1.6; }

        /* ═══ CHAPTER 6: LIFESTYLE SECTION ═══ */
        .lifestyle-section {
            padding: 5rem 5%;
            background: var(--section-bg);
        }
        .lifestyle-shell {
            max-width: 1480px;
            margin: 0 auto;
        }
        .lifestyle-header {
            text-align: center;
            margin-bottom: 3.5rem;
        }
        .lifestyle-header h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 3.5rem; font-weight: 300;
            color: var(--text-main); margin-bottom: 0.5rem;
        }
        .lifestyle-header p {
            font-size: 1.15rem; color: var(--text-muted); font-weight: 300;
            max-width: 650px; margin: 0 auto; line-height: 1.7;
        }


        /* Chapter 6: prescription sheet + notes */
        .diet-prescription {
            --paper: #FFFDF7;
            --paper-line: #E8E3D8;
            --doc-ink: #2A3A5E;
            --me-ink: #A8421C;
            --me-soft: #FCF0E8;
            --rule: rgba(0,0,0,0.08);
        }
        .diet-prescription__intro {
            max-width: 720px;
            margin: 0 auto 3.5rem;
        }
        .diet-prescription__stage {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
            gap: clamp(1.5rem, 2.6vw, 2.4rem);
            align-items: stretch;
        }
        .diet-prescription__sheet {
            position: relative;
            min-width: 0;
            padding: 1.6rem 1.8rem 1.3rem;
            background:
                repeating-linear-gradient(
                    180deg,
                    rgba(42,58,94,0.02) 0,
                    rgba(42,58,94,0.02) 1px,
                    transparent 1px,
                    transparent 34px
                ),
                var(--paper);
            border: 1px solid var(--paper-line);
            border-radius: 6px;
            box-shadow: 0 22px 52px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        .diet-prescription__sheet::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 2.25rem;
            width: 1px;
            background: rgba(168,66,28,0.14);
        }
        .diet-prescription__sheet-head {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 1rem;
            align-items: start;
            padding-bottom: 1.35rem;
            margin-bottom: 1.35rem;
            border-bottom: 1px solid rgba(42,58,94,0.14);
        }
        .diet-prescription__sheet-brand {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 1.08rem;
            font-weight: 500;
            color: var(--doc-ink);
            letter-spacing: 0.01em;
        }
        .diet-prescription__sheet-brand small {
            display: block;
            margin-top: 0.35rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            font-weight: 500;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(42,58,94,0.62);
        }
        .diet-prescription__sheet-stamp {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            font-weight: 500;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            line-height: 1.6;
            color: rgba(42,58,94,0.62);
            text-align: right;
        }
        .diet-prescription__sheet-rx {
            position: relative;
            z-index: 1;
            margin-bottom: 0.55rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 1rem;
            font-style: italic;
            color: var(--doc-ink);
        }
        .diet-prescription__sheet-rx strong {
            font-style: normal;
            font-weight: 500;
        }
        .diet-prescription__sheet h3 {
            position: relative;
            z-index: 1;
            margin-bottom: 0.7rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.55rem, 2.2vw, 2.1rem);
            font-weight: 400;
            line-height: 1.12;
            color: var(--doc-ink);
        }
        .diet-prescription__sheet-lead {
            position: relative;
            z-index: 1;
            margin-bottom: 1.35rem;
            font-size: 0.98rem;
            font-weight: 300;
            line-height: 1.7;
            color: var(--text-muted);
        }
        .diet-prescription__reason-list {
            position: relative;
            z-index: 1;
            list-style: none;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 0.5rem 0.6rem;
            margin: 0;
            padding: 0;
        }
        .diet-prescription__reason {
            display: block;
            padding: 0.4rem 0.85rem 0.4rem 1rem;
            border-left: 1px dashed rgba(42,58,94,0.22);
        }
        .diet-prescription__reason:first-child {
            border-left: 0;
            padding-left: 0;
        }
        .diet-prescription__reason-mark {
            display: block;
            margin-bottom: 0.45rem;
            padding-top: 0;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            color: rgba(42,58,94,0.68);
        }
        .diet-prescription__reason h4 {
            margin-bottom: 0.3rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 1.1rem;
            font-weight: 500;
            line-height: 1.22;
            color: var(--doc-ink);
        }
        .diet-prescription__reason p {
            font-size: 0.92rem;
            font-weight: 300;
            line-height: 1.6;
            color: var(--text-muted);
        }
        .diet-prescription__sheet-signoff {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 0.9rem;
            margin-top: 1.5rem;
            padding-top: 1.25rem;
            border-top: 1px solid rgba(42,58,94,0.14);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.64rem;
            font-weight: 500;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(42,58,94,0.65);
        }
        .diet-prescription__sheet-signoff .sig-line {
            flex: 1;
            min-width: 0;
            border-bottom: 1px solid rgba(42,58,94,0.28);
            padding-bottom: 0.2rem;
        }
        .diet-prescription__callout {
            position: absolute;
            right: 1.5rem;
            bottom: 12.5rem;
            font-family: 'Caveat', cursive;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--me-ink);
            transform: rotate(-3deg);
            opacity: 0.92;
        }
        .diet-prescription__notes {
            min-width: 0;
            padding: 1.6rem 1.8rem 1.3rem;
            background: rgba(255,253,247,0.78);
            border: 1px solid var(--paper-line);
            border-radius: 8px;
            box-shadow: 0 22px 52px rgba(0,0,0,0.06);
        }
        .diet-prescription__notes-label {
            display: inline-block;
            margin-bottom: 0.55rem;
            font-family: 'Caveat', cursive;
            font-size: 1.42rem;
            font-weight: 600;
            color: var(--me-ink);
        }
        .diet-prescription__notes-label::before {
            content: "\2192  ";
            font-family: 'Outfit', sans-serif;
            font-size: 0.9rem;
            opacity: 0.6;
        }
        .diet-prescription__notes-title {
            margin-bottom: 0.6rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.55rem, 2.2vw, 2.1rem);
            font-weight: 400;
            line-height: 1.15;
            color: var(--text-main);
        }
        .diet-prescription__notes-title em {
            color: var(--me-ink);
            font-style: italic;
        }
        .diet-prescription__notes-body {
            margin-bottom: 1rem;
            font-size: 1rem;
            font-weight: 300;
            line-height: 1.72;
            color: var(--text-muted);
            max-width: 31rem;
        }
        .diet-prescription__note {
            position: relative;
            margin-top: 1.25rem;
            padding: 1.2rem 1.2rem 1.1rem;
            background: linear-gradient(180deg, #FFF8DE 0%, #FFF4CC 100%);
            border: 1px solid rgba(231,199,126,0.68);
            border-radius: 6px;
            box-shadow: 0 16px 30px rgba(203,160,78,0.12);
        }
        .diet-prescription__note::before {
            content: "";
            position: absolute;
            top: -0.4rem;
            left: 50%;
            width: 56px;
            height: 12px;
            transform: translateX(-50%);
            border-radius: 2px;
            background: rgba(230,192,104,0.42);
            box-shadow: 0 4px 10px rgba(0,0,0,0.06);
        }
        .diet-prescription__note-num {
            margin-bottom: 0.45rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            font-weight: 600;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(168,66,28,0.74);
        }
        .diet-prescription__note h4 {
            margin-bottom: 0.35rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 1.42rem;
            font-weight: 500;
            line-height: 1.2;
            color: #3B2410;
        }
        .diet-prescription__note p {
            font-size: 0.94rem;
            font-weight: 300;
            line-height: 1.62;
            color: #6A4B2E;
        }

        /* Diet prescription redesign — notes row, footer ribbon */
        .diet-prescription__intro h2 em {
            font-style: italic;
            color: var(--me-ink);
        }
        .diet-prescription__notes-row {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.7rem;
            margin-top: 1.2rem;
        }
        .diet-prescription__notes-row .diet-prescription__note {
            margin-top: 0;
        }
        .diet-prescription__note-icon {
            position: absolute;
            top: 0.85rem;
            right: 0.85rem;
            width: 1.65rem;
            height: 1.65rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: rgba(168,66,28,0.12);
            color: var(--me-ink);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem;
            font-weight: 700;
        }
        .diet-prescription__footer-ribbon {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
            margin: 2rem auto 0;
            padding: 0.85rem 1.4rem;
            max-width: 720px;
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.55;
            text-align: center;
        }
        .diet-prescription__footer-ribbon::before {
            content: "…";
            color: var(--me-ink);
            font-size: 0.95rem;
            opacity: 0.8;
        }
        .diet-prescription__evidence {
            display: grid;
            grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
            gap: 1.2rem 2rem;
            align-items: center;
            margin-top: 2.4rem;
            padding: 1.4rem 2rem;
            background: rgba(255,255,255,0.78);
            border: 1px solid rgba(0,0,0,0.08);
            border-radius: 8px;
            box-shadow: var(--card-shadow);
        }
        .diet-prescription__evidence-media {
            min-width: 0;
        }
        .diet-prescription__evidence .lifestyle-carousel {
            max-width: 280px;
            margin: 0;
            aspect-ratio: 4 / 3;
        }
        .diet-prescription__evidence .lifestyle-carousel img,
        .diet-prescription__evidence .carousel-slide {
            object-fit: contain;
        }
        .diet-prescription__evidence .carousel-track {
            border: 1px solid var(--paper-line);
            box-shadow: none;
            background: var(--paper);
        }
        .diet-prescription__evidence .carousel-arrow {
            width: 36px;
            height: 36px;
        }
        .diet-prescription__evidence .carousel-prev { left: 0.5rem; }
        .diet-prescription__evidence .carousel-next { right: 0.5rem; }
        .diet-prescription__evidence-text {
            min-width: 0;
        }
        .diet-prescription__evidence-label {
            margin-bottom: 0.65rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: rgba(42,58,94,0.62);
        }
        .diet-prescription__evidence-text h4 {
            margin-bottom: 0.55rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: 2rem;
            font-weight: 400;
            line-height: 1.12;
            color: var(--text-main);
        }
        .diet-prescription__evidence-text p {
            max-width: 42rem;
            font-size: 1rem;
            font-weight: 300;
            line-height: 1.72;
            color: var(--text-muted);
        }

        /* ═══════════════════════════════════════════════════════
           CHAPTER 6 — How Everyday Habits Affect Your Stomach pH
           5-column layout: [bad-def] [bad-tabs] [stomach] [good-tabs] [good-def]
           Click a tab → its definition card appears in the outer column.
        ═══════════════════════════════════════════════════════ */
        .ph-habits-section {
            padding: 5rem 5%;
            background: var(--section-bg);
        }
        .ph-habits-section .ph-habits-header {
            text-align: center;
            max-width: 760px;
            margin: 0 auto 3rem;
        }
        .ph-habits-section .ph-ornament {
            display: flex;
            justify-content: center;
            margin: 0 auto 1.1rem;
            color: var(--text-muted);
        }
        .ph-habits-section .ph-ornament svg {
            width: 36px;
            height: 18px;
            display: block;
        }
        .ph-habits-section .ph-habits-header h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.8rem;
            font-weight: 300;
            line-height: 1.15;
            color: var(--text-main);
            margin: 0 0 0.5rem;
        }
        .ph-habits-section .ph-habits-header p {
            font-size: 1.2rem;
            line-height: 1.65;
            font-weight: 300;
            color: var(--text-muted);
            max-width: 640px;
            margin: 0 auto;
        }
        .ph-habits-grid {
            display: grid;
            grid-template-columns: minmax(220px, 1fr) 240px 1.3fr 240px minmax(220px, 1fr);
            gap: 1.5rem;
            align-items: start;
            max-width: 1480px;
            margin: 0 auto;
        }
        /* Definition panels — outer columns */
        .ph-def {
            position: relative;
            min-width: 0;
        }
        .ph-def-card {
            background: #FFFDF8;
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 16px;
            padding: 1.4rem 1.4rem 1.5rem;
            box-shadow: 0 14px 34px rgba(69, 47, 28, 0.07);
        }
        .ph-def--bad .ph-def-card { border-top: 3px solid #A8421C; }
        .ph-def--good .ph-def-card { border-top: 3px solid #3D6E55; }
        .ph-def-card__eyebrow {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            margin: 0 0 0.55rem;
            font-weight: 600;
        }
        .ph-def--bad .ph-def-card__eyebrow { color: #A8421C; }
        .ph-def--good .ph-def-card__eyebrow { color: #3D6E55; }
        .ph-def-card__title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.25rem;
            font-weight: 500;
            line-height: 1.25;
            color: var(--text-main);
            margin: 0 0 0.7rem;
        }
        .ph-def-card__title em {
            font-style: italic;
            color: inherit;
        }
        .ph-def-card__body {
            font-size: 0.92rem;
            line-height: 1.6;
            color: var(--text-muted);
            margin: 0;
            font-weight: 300;
        }
        /* Tab columns */
        .ph-tabs {
            display: flex;
            flex-direction: column;
            gap: 0.52rem;
            min-width: 0;
        }
        .ph-tabs__title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.15rem;
            font-weight: 500;
            line-height: 1.3;
            margin: 0 0 0.5rem;
        }
        .ph-tabs--bad .ph-tabs__title { color: #A8421C; }
        .ph-tabs--good .ph-tabs__title { color: #3D6E55; }
        .ph-tab {
            display: grid;
            grid-template-columns: 2.08rem minmax(0, 1fr);
            align-items: center;
            gap: 0.58rem;
            padding: 0.54rem 0.72rem;
            border: 1px solid rgba(160, 122, 78, 0.22);
            border-radius: 14px;
            background: #FFFDF8;
            color: var(--text-main);
            text-align: left;
            cursor: pointer;
            box-shadow: 0 8px 22px rgba(69, 47, 28, 0.05);
            transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
            font-family: inherit;
            width: 100%;
        }
        .ph-tab:hover,
        .ph-tab:focus-visible {
            transform: translateY(-1px);
            box-shadow: 0 14px 30px rgba(69, 47, 28, 0.09);
            outline: none;
        }
        .ph-tabs--bad .ph-tab:hover,
        .ph-tabs--bad .ph-tab:focus-visible,
        .ph-tabs--bad .ph-tab.is-active { border-color: rgba(168, 66, 28, 0.65); }
        .ph-tabs--good .ph-tab:hover,
        .ph-tabs--good .ph-tab:focus-visible,
        .ph-tabs--good .ph-tab.is-active { border-color: rgba(61, 110, 85, 0.65); }
        .ph-tab.is-active { box-shadow: 0 16px 34px rgba(69, 47, 28, 0.11); }
        .ph-tab__num {
            width: 1.86rem;
            height: 1.86rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            color: #fff;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 800;
            flex-shrink: 0;
        }
        .ph-tabs--bad .ph-tab__num { background: #A8421C; }
        .ph-tabs--good .ph-tab__num { background: #3D6E55; }
        .ph-tab__text {
            font-family: 'Cormorant Garamond', serif;
            font-size: 0.9rem;
            line-height: 1.25;
            font-weight: 500;
            min-width: 0;
            margin: 0;
        }
        /* Center stomach column */
        .ph-stomach {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 0;
            place-self: start center;
            width: 100%;
        }
        .ph-stomach__figure {
            margin: 0;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .ph-stomach__image {
            width: min(100%, 360px);
            height: auto;
            display: block;
            border-radius: 50%;
            background: rgba(255, 253, 248, 0.4);
        }
        .ph-stomach__caption {
            margin-top: 1.1rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
        .ph-stomach__label {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.3rem;
            font-weight: 500;
            color: var(--text-main);
        }
        .ph-stomach__value {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.78rem;
            letter-spacing: 0.12em;
            color: var(--text-muted);
        }

        @media (max-width: 1280px) {
            .ph-habits-grid {
                grid-template-columns: 1fr;
                gap: 1.6rem;
                max-width: 540px;
            }
            .ph-def--bad { order: 1; }
            .ph-tabs--bad { order: 2; }
            .ph-stomach { order: 3; max-width: 380px; margin: 0 auto; }
            .ph-tabs--good { order: 4; }
            .ph-def--good { order: 5; }
        }


        /* Lifestyle carousel for diet papers */
        .lifestyle-carousel {
            margin: 0;
            max-width: 400px;
            width: 100%;
            min-height: 0;
            aspect-ratio: 3 / 4;
            overflow-anchor: none;
        }
        @media (max-width: 960px) {
            .narrative-break--hopeboard {
                padding-top: 2.2rem;
            }
            .narrative-break--setbackboard {
                padding-top: 2.2rem;
            }
            .narrative-break--hopeboard .narrative-break-inner {
                padding-left: 0;
                border-left: 0;
            }
            .narrative-break--setbackboard .narrative-break-inner {
                padding-left: 0;
                border-left: 0;
            }
            .hopeboard-paper {
                --hopeboard-rule-step: 1.92rem;
                padding: 1.55rem 1.2rem 1.8rem 2rem;
            }
            .hopeboard-paper::before {
                left: 0.65rem;
                top: 0.95rem;
                bottom: 1rem;
            }
            .hopeboard-paper__guide {
                left: 1.55rem;
                top: 2.85rem;
                bottom: 1.05rem;
            }
            .hopeboard-paper__star {
                left: 1.3rem;
                top: 1.02rem;
            }
            .hopeboard-paper__body {
                gap: 1.3rem;
                margin-top: 1.15rem;
            }
            .hopeboard-paper p {
                font-size: 1rem;
            }
            .hopeboard-media {
                gap: 1rem;
            }
            .hopeboard-board {
                width: 100%;
                padding: 1rem 0.8rem 3.3rem;
            }
            .hopeboard-board .narrative-carousel {
                min-height: 500px;
            }
            .hopeboard-caption {
                position: static;
                width: auto;
                margin: 0.9rem 0 0 auto;
            }
            .setback-caption {
                transform: none;
            }
            .hopeboard-caption::before {
                left: 0.85rem;
                right: 0.85rem;
            }
            .setback-compare-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .setback-compare-vs {
                position: static;
                transform: none;
                justify-self: center;
                margin: -0.2rem auto;
                pointer-events: auto;
            }
            .setback-compare-card__media {
                aspect-ratio: 4 / 5;
            }
            .diet-prescription__stage {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .diet-prescription__sheet {
                padding: 1.65rem 1.3rem 1.35rem;
            }
            .diet-prescription__sheet::before {
                left: 1.3rem;
            }
            .diet-prescription__sheet-head {
                grid-template-columns: 1fr;
                gap: 0.7rem;
            }
            .diet-prescription__reason-list {
                grid-template-columns: 1fr 1fr;
            }
            .diet-prescription__reason {
                border-left: 0;
                border-top: 1px dashed rgba(42,58,94,0.18);
                padding: 0.8rem 0 0;
            }
            .diet-prescription__reason:first-child,
            .diet-prescription__reason:nth-child(2) {
                border-top: 0;
                padding-top: 0;
            }
            .diet-prescription__notes-row {
                grid-template-columns: 1fr;
            }
            .diet-prescription__callout {
                position: static;
                margin-top: 1rem;
                transform: none;
                text-align: right;
            }
            .diet-prescription__notes {
                padding-top: 0;
            }
            .diet-prescription__note {
                padding: 1.35rem 1.15rem 1.2rem;
            }
            .diet-prescription__evidence {
                grid-template-columns: 1fr;
                padding: 1.35rem 1.15rem;
            }
            .diet-prescription__evidence .lifestyle-carousel {
                max-width: 260px;
                margin: 0 auto;
            }
            .lifestyle-carousel {
                max-width: 360px;
            }
        }

        @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes bounce { 0%,20%,50%,80%,100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 60% { transform: translateY(-4px); } }
        .rv { opacity: 1; transform: none; }

        @media (max-width: 960px) {
            .carousel-track { border-radius: 20px; }
            .carousel-prev { left: 8px; } .carousel-next { right: 8px; }
            .hero {
                min-height: 100svh;
                padding: 7.25rem 1.25rem 5.75rem;
            }
            .hero h1 {
                font-size: 2.8rem;
                margin-bottom: 0.85rem;
            }
            .hero-divider {
                width: min(13rem, 70vw);
                gap: 0.5rem;
                margin-bottom: 1.2rem;
            }
            .hero-divider span {
                width: 0.58rem;
                height: 0.58rem;
            }
            .hero-divider span::after {
                inset: 0.14rem;
            }
            .hero-sub {
                max-width: 36rem;
                font-size: 1.02rem;
                line-height: 1.72;
                text-wrap: pretty;
            }
            .protocol-grid { grid-template-columns: 1fr; }
            .sci-row, .sci-row:nth-child(even) { flex-direction: column; }
            .sci-row-img { min-height: 220px; }
            .narrative-carousel { min-height: 420px; }
            .top-bar {
                flex-wrap: wrap;
                justify-content: center;
                row-gap: 0.36rem;
                padding: 0.65rem 1rem;
            }
            .top-bar-brand { font-size: 0.74rem; }
            .story-parts {
                flex: 1 0 100%;
                width: 100%;
                max-width: min(100%, 34rem);
                justify-content: flex-start;
                margin-inline: auto;
                border-radius: 12px;
            }
            .story-parts__link {
                min-width: 8.9rem;
                min-height: 3.15rem;
                border-radius: 11px;
                padding: 0.58rem 0.9rem 0.55rem;
            }
            .story-parts__link + .story-parts__link::before {
                height: 1.55rem;
            }
            .story-parts__part {
                font-size: 0.54rem;
            }
            .story-parts__title {
                margin-top: 0.24rem;
                font-size: 0.62rem;
            }
            .story-page-turn {
                width: min(100% - 1rem, 34rem);
                margin-block: 3.2rem 4.8rem;
                padding: 2.2rem 1rem;
            }
            .story-page-turn h2 { font-size: clamp(2.1rem, 11vw, 3.4rem); }
            .diet-cards .sci-row-img { aspect-ratio: 16 / 10; height: auto; padding: 0.75rem; }
            .diet-cards .sci-row-text { padding: 1.8rem 1.5rem 2rem; }
            .diet-cards .sci-row-text p { font-size: 1.02rem; }
        }

        /* ═══════════════════════════════════════════════════════════
           FODMAP Eating Plan — paired green/rust food cards
           Six category rows: vegetables, fruits, starches, proteins,
           fats, other foods. Each row has a Prioritize card (green)
           and an Avoid card (rust). Reference-guide style, no JS.
           ═══════════════════════════════════════════════════════════ */
        .fodmap-guide {
            max-width: 1240px;
            margin: clamp(3rem, 6vw, 5rem) auto clamp(4rem, 7vw, 6rem);
            padding: 0 clamp(1rem, 3vw, 2rem);
        }
        .fodmap-guide__header {
            text-align: center;
            margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
        }
        .fodmap-guide__eyebrow {
            display: inline-block;
            margin-bottom: 0.9rem;
            padding: 0.28rem 0.75rem;
            border-radius: 999px;
            background: rgba(22, 163, 74, 0.10);
            color: #14532D;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }
        .fodmap-guide__title {
            margin: 0 0 1rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(2rem, 4vw, 2.85rem);
            font-weight: 400;
            line-height: 1.05;
            letter-spacing: -0.015em;
            color: var(--text-main);
        }
        .fodmap-guide__intro {
            max-width: 760px;
            margin: 0 auto;
            color: var(--text-muted);
            font-size: 1.05rem;
            line-height: 1.72;
            font-weight: 300;
        }
        .fodmap-guide__intro strong {
            font-weight: 600;
            color: var(--text-main);
        }
        .fodmap-guide__grid {
            display: grid;
            gap: clamp(0.6rem, 1vw, 1rem);
        }
        .fodmap-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(1rem, 2.2vw, 1.75rem);
            align-items: stretch;
        }
        .fodmap-row__category {
            grid-column: 1 / -1;
            margin: clamp(0.4rem, 0.8vw, 0.65rem) 0 0.15rem;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(1.5rem, 2.4vw, 1.95rem);
            font-weight: 400;
            line-height: 1.1;
            color: var(--text-main);
            letter-spacing: -0.005em;
        }
        .fodmap-card {
            padding: clamp(0.95rem, 1.7vw, 1.35rem) clamp(1.1rem, 2vw, 1.5rem);
            border-radius: 16px;
            border: 1px solid;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }
        .fodmap-card--heal {
            background: linear-gradient(135deg, rgba(22, 163, 74, 0.07), rgba(22, 163, 74, 0.02));
            border-color: rgba(22, 163, 74, 0.32);
        }
        .fodmap-card--avoid {
            background: linear-gradient(135deg, rgba(168, 66, 28, 0.07), rgba(168, 66, 28, 0.02));
            border-color: rgba(168, 66, 28, 0.32);
        }
        .fodmap-card__label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            font-weight: 700;
        }
        .fodmap-card--heal .fodmap-card__label {
            color: #14532D;
        }
        .fodmap-card--avoid .fodmap-card__label {
            color: #7e3519;
        }
        .fodmap-card__list {
            margin: 0;
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            line-height: 1.7;
            font-weight: 300;
            color: var(--text-main);
        }
        .fodmap-guide__outro {
            margin: clamp(2rem, 4vw, 3rem) auto 0;
            max-width: 760px;
            padding: 1.25rem 1.5rem;
            background: rgba(0, 0, 0, 0.02);
            border-left: 3px solid rgba(22, 163, 74, 0.42);
            border-radius: 6px;
            color: var(--text-muted);
            font-size: 0.98rem;
            line-height: 1.7;
            font-weight: 300;
        }
        .fodmap-guide__outro strong {
            font-weight: 600;
            color: var(--text-main);
        }
        @media (max-width: 720px) {
            .fodmap-row {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
        }

        @media (max-width: 960px) {
            .setback-timeline {
                padding-top: 2.4rem;
                padding-bottom: 3.5rem;
            }
            .setback-timeline__shell {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .narrative-break--setbackboard.setback-timeline .scroll-timeline__diary {
                padding-left: 2rem;
                border-left: 0;
            }
            .setback-timeline .setback-proof {
                order: -1;
                position: static;
            }
            .acid-trap {
                padding: 3.25rem 1rem 3.8rem;
            }
            .acid-trap__shell {
                grid-template-columns: 1fr;
                gap: 1.65rem;
            }
            .scroll-timeline--split-mobile .scroll-timeline__diary {
                display: contents;
                padding-left: 0;
            }
            .scroll-timeline--split-mobile .scroll-timeline__diary::before {
                display: none;
            }
            .acid-trap__kicker {
                order: 1;
            }
            .acid-trap h2 {
                order: 2;
            }
            .acid-trap__lead {
                order: 3;
            }
            .acid-trap__visual {
                order: 4;
                position: static;
                width: min(100%, 760px);
                justify-self: center;
                padding: 0.58rem;
                border-radius: 16px;
            }
            .acid-trap__visual img {
                border-radius: 10px;
            }
            .acid-trap__visual figcaption {
                font-size: 0.82rem;
                line-height: 1.45;
            }
            .acid-trap__definition {
                order: 5;
            }
            .acid-trap__study-note {
                order: 6;
            }
            .acid-trap__explain {
                order: 7;
            }
            .acid-trap__mechanisms {
                order: 8;
            }
            .acid-trap__closing {
                order: 9;
            }
            .acid-trap h2 {
                font-size: clamp(2rem, 3.35vw, 2.85rem);
            }
            .scroll-timeline--split-mobile .scroll-timeline__diary > .scroll-timeline__entry {
                margin-left: 2rem;
            }
            .scroll-timeline--split-mobile .scroll-timeline__entry {
                margin-bottom: 1rem;
                padding: 1rem;
            }
            .scroll-timeline--split-mobile .scroll-timeline__entry::before {
                left: -1.86rem;
            }
            .scroll-timeline--split-mobile .scroll-timeline__entry::after {
                content: "";
                position: absolute;
                top: -1rem;
                bottom: -1rem;
                left: -1.45rem;
                width: 2px;
                border-radius: 999px;
                background: linear-gradient(180deg, var(--timeline-rail-start), var(--timeline-rail-end));
                pointer-events: none;
            }
            .acid-trap__story-card p {
                font-size: 1.02rem;
                line-height: 1.7;
            }
            .acid-trap__mechanisms {
                margin: clamp(1.35rem, 2vw, 1.8rem) 0 clamp(1.35rem, 2vw, 1.8rem) 2rem;
            }
            .acid-trap__card {
                grid-template-columns: 2.2rem minmax(0, 1fr);
                padding: 0.95rem;
            }
            .acid-trap__card span {
                width: 2.05rem;
                height: 2.05rem;
                font-size: 0.72rem;
            }
        }

    
/* Chapter title reveal: sticky hold and scroll-scrubbed reveal. */
.chapter-title-reveal {
    --chapter-accent: #7A735F;
    --chapter-title-color: var(--text-main);
    --chapter-glow: rgba(122, 115, 95, 0.13);
    --chapter-wash: rgba(122, 115, 95, 0.035);
    --chapter-progress: 0;
    --chapter-label-opacity: 0;
    --chapter-label-y: 14px;
    --chapter-line-scale: 0;
    --chapter-line-opacity: 0;
    --chapter-title-y: 18px;
    --chapter-glow-opacity: 0;
    --chapter-glow-scale: 0.88;
    --chapter-bridge-scale: 0;
    --chapter-bridge-opacity: 0;
    --chapter-dot-opacity: 0;
    --chapter-dot-scale: 0.5;
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.chapter-marker.chapter-title-reveal {
    min-height: 126svh;
    padding: 0 2rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 60%, var(--chapter-wash), transparent 56%),
        linear-gradient(180deg, #FFFEFB 0%, var(--bg) 100%);
}

.chapter-title-pin {
    position: sticky;
    top: clamp(6.5rem, 31svh, 18rem);
    z-index: 1;
    width: min(100%, 1220px);
    margin: 0 auto;
    text-align: center;
    isolation: isolate;
}

.chapter-title-pin::before {
    content: "";
    position: absolute;
    top: -28%;
    bottom: -28%;
    left: 50%;
    width: min(92vw, 1040px);
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    background: radial-gradient(circle at center, var(--chapter-glow) 0%, transparent 68%);
    opacity: var(--chapter-glow-opacity);
    transform: translateX(-50%) scale(var(--chapter-glow-scale));
    filter: blur(8px);
}

.chapter-title-reveal .chapter-marker-label,
.chapter-title-reveal .right-order-intro__kicker {
    color: var(--text-dim);
    opacity: var(--chapter-label-opacity);
    transform: translateY(var(--chapter-label-y));
    transition: none;
}

.chapter-title-reveal .chapter-marker-line,
.chapter-title-reveal .right-order-intro__line {
    width: 72px;
    opacity: var(--chapter-line-opacity);
    background: var(--chapter-accent);
    transform: scaleX(var(--chapter-line-scale));
    transform-origin: center;
    transition: none;
}

.chapter-title-reveal .chapter-marker-title,
.chapter-title-reveal .right-order-intro__title {
    color: var(--chapter-title-color);
    text-wrap: balance;
}

.chapter-title-reveal .chapter-title-text {
    display: inline-block;
    will-change: transform;
    transform: translateY(var(--chapter-title-y));
    transition: none;
}

.chapter-title-word {
    display: inline-block;
    opacity: var(--word-opacity, 0);
    transform: translateY(var(--word-y, 0.72em));
    filter: blur(var(--word-blur, 5px));
    will-change: opacity, transform, filter;
    transition: none;
}

.chapter-title-word.is-key {
    color: var(--chapter-accent);
}

.chapter-marker-bridge {
    width: 2px;
    height: clamp(48px, 12vh, 104px);
    margin: clamp(1.65rem, 3.6vh, 2.35rem) auto 0;
    position: relative;
    background: linear-gradient(180deg, var(--chapter-accent), rgba(255, 255, 255, 0));
    opacity: var(--chapter-bridge-opacity);
    transform: scaleY(var(--chapter-bridge-scale));
    transform-origin: top;
    transition: none;
}

.chapter-marker-bridge span {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0.64rem;
    height: 0.64rem;
    border-radius: 999px;
    background: var(--chapter-accent);
    box-shadow: 0 0 0 9px color-mix(in srgb, var(--chapter-accent) 14%, transparent);
    opacity: var(--chapter-dot-opacity);
    transform: translate(-50%, 50%) scale(var(--chapter-dot-scale));
    transition: none;
}

.right-order-intro__header.chapter-title-reveal {
    max-width: none;
    min-height: 92svh;
    margin-bottom: clamp(2.65rem, 5vw, 4.2rem);
    padding-top: 0;
}

.right-order-intro__header.chapter-title-reveal .chapter-title-pin {
    top: clamp(5.5rem, 29svh, 17rem);
    width: min(100%, 980px);
}

.right-order-intro__header.chapter-title-reveal .chapter-marker-bridge {
    height: clamp(36px, 7vh, 68px);
    margin-top: clamp(1.25rem, 2.4vh, 1.8rem);
}

.chapter-marker--hope,
.chapter-title-reveal.chapter-marker--hope {
    --chapter-accent: #16A34A;
    --chapter-title-color: #22315D;
    --chapter-glow: rgba(22, 163, 74, 0.16);
    --chapter-wash: rgba(22, 163, 74, 0.045);
}

.chapter-marker--setback,
.chapter-title-reveal.chapter-marker--setback {
    --chapter-accent: #964254;
    --chapter-title-color: #43242D;
    --chapter-glow: rgba(150, 66, 84, 0.15);
    --chapter-wash: rgba(150, 66, 84, 0.045);
}

.chapter-marker--right-order,
.chapter-title-reveal.chapter-marker--right-order {
    --chapter-accent: #A8421C;
    --chapter-title-color: #33231F;
    --chapter-glow: rgba(168, 66, 28, 0.14);
    --chapter-wash: rgba(168, 66, 28, 0.04);
}

.chapter-marker--lifestyle,
.chapter-title-reveal.chapter-marker--lifestyle {
    --chapter-accent: #8A7A3D;
    --chapter-title-color: #2F3323;
    --chapter-glow: rgba(138, 122, 61, 0.15);
    --chapter-wash: rgba(138, 122, 61, 0.045);
}

.story-page-turn {
    position: relative;
    z-index: 5;
    width: min(920px, calc(100% - 2rem));
    margin: clamp(4rem, 10vw, 7.5rem) auto clamp(4.8rem, 11vw, 8rem);
    padding: clamp(2.3rem, 5vw, 4rem);
    border-top: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    text-align: center;
    color: var(--text-main);
}
.story-page-turn__eyebrow {
    margin: 0 0 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--accent);
}
.story-page-turn h2 {
    margin: 0 auto 1rem;
    max-width: 780px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.35rem, 6vw, 4.7rem);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: 0;
}
.story-page-turn p {
    max-width: 660px;
    margin: 0 auto 1.6rem;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.72;
}
.story-page-turn__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.story-page-turn__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
    border-radius: 999px;
    padding: 0.84rem 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.story-page-turn__link--primary {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--text-main);
}
.story-page-turn__link--quiet {
    color: var(--text-muted);
}
.story-page-turn__link:hover,
.story-page-turn__link:focus-visible {
    transform: translateY(-1px);
    border-color: var(--accent);
    outline: none;
}

@media (max-width: 960px) {
    .chapter-marker.chapter-title-reveal {
        min-height: 108svh;
        padding: 0 1.2rem;
    }

    .chapter-title-pin {
        top: clamp(5.5rem, 30svh, 12rem);
    }

    .chapter-title-pin::before {
        top: -18%;
        bottom: -18%;
        width: min(96vw, 520px);
        filter: blur(10px);
    }

    .chapter-title-reveal .chapter-marker-line,
    .chapter-title-reveal .right-order-intro__line {
        width: 56px;
    }

    .chapter-marker-bridge {
        height: 58px;
        margin-top: 1.35rem;
    }

    .right-order-intro__header.chapter-title-reveal {
        min-height: 78svh;
    }

    .right-order-intro__header.chapter-title-reveal .chapter-title-pin {
        top: clamp(5.4rem, 27svh, 11rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .chapter-title-pin,
    .chapter-title-pin::before,
    .chapter-title-reveal .chapter-marker-label,
    .chapter-title-reveal .right-order-intro__kicker,
    .chapter-title-reveal .chapter-marker-line,
    .chapter-title-reveal .right-order-intro__line,
    .chapter-title-word,
    .chapter-marker-bridge,
    .chapter-marker-bridge span,
    .chapter-title-reveal .chapter-title-text {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }

    .chapter-title-pin {
        position: relative !important;
        top: auto !important;
    }

    .chapter-title-pin::before {
        transform: translateX(-50%) !important;
    }

    .chapter-marker.chapter-title-reveal {
        min-height: auto !important;
        padding: 7.2rem 1.2rem 4.8rem !important;
    }

    .right-order-intro__header.chapter-title-reveal {
        min-height: auto !important;
        max-width: 980px !important;
        padding-top: clamp(0.4rem, 2vw, 1.1rem) !important;
    }

    .chapter-title-reveal .chapter-marker-label,
    .chapter-title-reveal .right-order-intro__kicker,
    .chapter-title-word,
    .chapter-title-pin::before,
    .chapter-marker-bridge,
    .chapter-marker-bridge span {
        opacity: 1 !important;
    }

    .chapter-title-reveal .chapter-marker-line,
    .chapter-title-reveal .right-order-intro__line {
        width: 64px !important;
    }
}

        /* Part II progressive enhancement: closed native fallbacks occupy the
           existing control space and retain every original panel and proof. */
        .top-bar { right: var(--part2-scrollbar-space, 0px); }
        [hidden] { display: none !important; }
        [data-part2-group="deck"]:not([data-part2-enhanced]) { position: relative; }
        [data-part2-group="deck"]:not([data-part2-enhanced]) [role="tablist"],
        [data-part2-group="deck"]:not([data-part2-enhanced]) [data-irritate-nav],
        [data-part2-group="deck"]:not([data-part2-enhanced]) .irritate-footer,
        [data-ph-habits]:not([data-ph-ready]) .ph-tabs {
            visibility: hidden;
        }
        html[data-part2-loading] [data-part2-group="deck"] [role="tablist"],
        html[data-part2-loading] [data-ph-habits] .ph-tabs {
            visibility: visible;
        }
        html[data-part2-loading] [data-part2-fallback] > summary,
        html[data-part2-loading] [data-setback-fallback] > summary {
            visibility: hidden;
        }
        [data-part2-fallback] > summary,
        [data-setback-fallback] > summary {
            cursor: pointer; padding: 0.25rem 0.6rem; border-radius: 8px;
            font: 0.85rem 'Outfit', sans-serif; color: var(--text-main);
            background: #FFFDF8; border: 1px solid var(--card-border);
        }
        [data-part2-group="deck"] > details > summary {
            position: absolute; top: 0; left: 0; z-index: 4; min-height: 36px;
        }
        [data-part2-group="deck"] > details:not([open]) {
            position: absolute; top: 0; left: 0; width: 100%;
        }
        [data-part2-group="deck"] > details[open] > [data-part2-panel] {
            position: relative; height: auto; min-height: 0; margin-top: 1rem;
            overflow: visible;
        }
        [data-part2-group="deck"] > details[open] .gastritis-science-panel__copy,
        [data-part2-group="deck"] > details[open] .domino-panel__copy,
        [data-part2-group="deck"] > details[open] .roadmap-panel__copy,
        [data-part2-group="deck"] > details[open] .roadmap-panel__content,
        [data-part2-group="deck"] > details[open] .irritate-panel__copy {
            max-height: none; overflow: visible;
        }
        [data-part2-group="ph"] [data-part2-stage] { display: contents; }
        [data-part2-group="ph"] > details > summary {
            position: absolute; top: -2rem; left: 0; z-index: 3;
        }
        [data-part2-group="ph"] details[open] article { margin-top: 1rem; }
        .carousel-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
        .carousel:not([data-part2-enhanced]) .carousel-arrow,
        .carousel:not([data-part2-enhanced]) .carousel-dots { display: none; }
        .carousel > details > summary { height: 22px; padding: 0; text-align: center; }
        .carousel > details[open] .carousel-slide {
            display: block; position: relative; height: auto; margin-top: 1rem;
        }
        .carousel > details[open] img { height: auto; }
        .one-step-forward-timeline__frame .narrative-carousel:has(.carousel:not([data-part2-enhanced]) > details[open]),
        .lifestyle-carousel:has(.carousel:not([data-part2-enhanced]) > details[open]) {
            height: auto; min-height: 0; aspect-ratio: auto;
        }
        .carousel:not([data-part2-enhanced]):has(> details[open]) { height: auto; }
        .carousel:not([data-part2-enhanced]):has(> details[open]) .carousel-track {
            height: auto; aspect-ratio: 4 / 5;
        }
        .lifestyle-carousel .carousel:not([data-part2-enhanced]):has(> details[open]) .carousel-track {
            aspect-ratio: 3 / 4;
        }
        .setback-proof-link { display: block; width: 100%; height: 100%; }
        .setback-compare-card:not([data-setback-enhanced]) .setback-compare-card__arrow { display: none; }
        [data-setback-fallback] { position: relative; }
        [data-setback-fallback]:not([open]) > summary {
            position: absolute; bottom: 0.5rem; left: 0.5rem; z-index: 3;
        }
        [data-setback-fallback] ol { padding: 0.5rem 1.5rem; line-height: 1.8; }
        .proof-link:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
        [data-cereal-story-fallback] { display: flex; flex-direction: column; min-width: 0; }
        [data-cereal-story-fallback] > summary { flex: 1; }
        .cereal-sibo-note__story-trigger { list-style: none; }
        .cereal-sibo-note__story-trigger::-webkit-details-marker { display: none; }
        [data-cereal-story-fallback] .cereal-sibo-story-dialog {
            position: relative; inset: auto; width: 100%; max-height: none;
            grid-column: 1 / -1; margin-top: 1rem; overflow: visible;
        }
        [data-cereal-story-fallback] [data-cereal-story-close] { display: none; }
        .carousel-dot { position: relative; }
        /* 14px horizontal hit area fits the 15px pitch; 28px vertical hit area. */
        .carousel-dot::after { content: ''; position: absolute; inset: -10px -3px; }
        .carousel-dot.active::after { inset: -8px -1px; }
        .setback-compare-card__dot { position: relative; }
        .setback-compare-card__dot::after { content: ''; position: absolute; inset: -10px 0; }
        .lightbox-overlay {
            pointer-events: none;
            transition: opacity 0.3s ease, visibility 0s linear 0.3s;
        }
        .lightbox-overlay.active {
            pointer-events: auto;
            transition: opacity 0.3s ease, visibility 0s;
        }
        .lightbox-status {
            position: absolute; top: 50%; left: 5%; right: 5%; color: #fff;
            text-align: center; font: 1rem/1.5 'Outfit', sans-serif;
        }
        .lightbox-status:empty { display: none; }
        .chapter-title-reveal:not([data-chapter-reveal-ready]) {
            --chapter-label-opacity: 1; --chapter-label-y: 0px;
            --chapter-line-opacity: .62; --chapter-line-scale: 1;
            --chapter-title-y: 0px; --chapter-glow-opacity: 1; --chapter-glow-scale: 1;
            --chapter-bridge-opacity: .62; --chapter-bridge-scale: 1;
            --chapter-dot-opacity: 1; --chapter-dot-scale: 1;
        }
        /* A long heading word can exceed the 320px content box. Wrap the word
           only when needed; preserve its wording, size and ordinary layout. */
        @media (max-width: 360px) {
            .diet-scroll .science-header h2 { overflow-wrap: anywhere; }
        }
        @media (prefers-reduced-motion: reduce) {
            .hero h1, .hero-divider, .hero-sub, .scroll-cue, .scroll-cue.bouncing {
                animation: none; opacity: 1; transform: none;
            }
            .lightbox-overlay, .lightbox-overlay img { transition: none; transform: none; }
        }

/* Mobile navigation: shared geometry for the fixed header and native fragments.
   Desktop rules and scroll/reading controllers remain unchanged. */
@media (max-width: 960px) {
    :root {
        --mobile-header-height: calc(6rem + env(safe-area-inset-top, 0px));
        --mobile-index-height: 4.25rem;
        --mobile-index-gap: 12px;
        --mobile-card-clearance: 12px;
    }
    .top-bar {
        position: fixed;
        height: var(--mobile-header-height);
        background: linear-gradient(to bottom, var(--bg) 70%, transparent);
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 1.125rem 3.25rem;
        justify-items: center;
        align-items: center;
        gap: 0.375rem;
        padding: calc(0.625rem + env(safe-area-inset-top, 0px))
            max(1rem, env(safe-area-inset-right, 0px)) 0.625rem
            max(1rem, env(safe-area-inset-left, 0px));
    }
    .top-bar-brand {
        font-size: 0.74rem;
        line-height: 1.125rem;
    }
    .story-parts {
        width: 100%;
        max-width: min(100%, 34rem);
        height: 3.25rem;
        margin: 0 auto;
        justify-content: flex-start;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
    }
    .story-parts__link {
        min-width: 8.9rem;
        min-height: 44px;
        margin: 0;
        padding: 0.58rem 0.9rem 0.55rem;
        border-radius: 11px;
    }
    .story-parts__link + .story-parts__link::before { height: 1.55rem; }
    .story-parts__part { font-size: 0.54rem; }
    .story-parts__title { margin-top: 0.24rem; font-size: 0.62rem; }
}

@media (max-width: 960px) {
    .diet-scroll-rail {
        position: sticky;
        top: calc(var(--mobile-header-height) + var(--mobile-index-gap));
        z-index: 10;
        height: var(--mobile-index-height);
        align-items: stretch;
        padding: 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        background: rgba(255, 252, 246, 0.97);
        scrollbar-width: none;
    }
    .diet-scroll-rail::-webkit-scrollbar { display: none; }
    .diet-scroll-rail a {
        min-width: max-content;
        min-height: 44px;
        grid-template-columns: 2rem max-content;
        padding-block: 0.3rem;
        white-space: nowrap;
    }
    .diet-scroll .sci-row,
    .diet-scroll .sci-row:nth-child(even) {
        scroll-margin-top: calc(var(--mobile-header-height) + var(--mobile-index-height)
            + var(--mobile-index-gap) + var(--mobile-card-clearance));
    }
}

/* October 13: a quiet author link below the existing page-turn actions. */
.story-page-turn .story-page-turn__about {
    margin: 1.25rem 0 0;
    display: flex;
    justify-content: center;
}
.story-page-turn .story-page-turn__about a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #79552c;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.story-page-turn .story-page-turn__about a:hover { color: #4f351c; }
.story-page-turn .story-page-turn__about a:focus-visible {
    outline: 2px solid #a36e32;
    outline-offset: 3px;
    border-radius: 3px;
}


/* Privacy link remains beneath the existing author link. */
.story-page-turn__about {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

        /* Documentary carousel recovery is scoped away from science panels. */
        .setback-compare-card[data-setback-enhanced] { position: relative; }
        [data-carousel-empty="true"] .carousel-track img,
        [data-carousel-empty="true"] .setback-compare-card__media img { visibility: hidden; }
        .carousel-feedback {
            position: absolute; top: 3.75rem; left: 0.65rem; right: 0.65rem;
            z-index: 12; padding: 0.6rem 0.75rem; border-radius: 9px;
            background: rgba(255, 253, 248, 0.97); color: var(--text-main);
            font: 0.9rem/1.4 'Outfit', sans-serif; text-align: center;
            box-shadow: 0 2px 12px rgba(61, 40, 33, 0.12);
        }
        .carousel-feedback p { margin: 0; }
        .carousel-feedback[data-feedback-state="ready"] {
            width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
            clip-path: inset(50%); white-space: nowrap; box-shadow: none;
        }
        .carousel-retry {
            min-width: 64px; min-height: 32px; margin-top: 0.45rem;
            padding: 0.25rem 0.65rem; border: 1px solid var(--card-border);
            border-radius: 7px; background: #fff; color: var(--text-main);
            font: inherit; cursor: pointer;
        }
        .carousel-retry:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
        [data-carousel-feedback-host] { position: relative; }
        .carousel-recovery-region[data-recovery-open] { margin-top: 0.75rem; }
        .carousel-recovery-region[data-recovery-open] > .carousel-feedback:not([data-feedback-state="ready"]) {
            position: relative; inset: auto; margin-bottom: 0.5rem;
        }
        .carousel-recovery-region > .carousel-recovery {
            position: relative; inset: auto;
            max-height: 16rem; overflow: auto; padding: 0.25rem;
            border-radius: 8px; background: #FFFDF8; color: var(--text-main);
            box-shadow: 0 2px 12px rgba(61, 40, 33, 0.16);
        }
        .carousel-recovery-region > .carousel-recovery > summary {
            position: static; height: auto; min-height: 28px; padding: 0.25rem 0.5rem;
        }
        .carousel-recovery ol { padding: 0.25rem 1.75rem; margin: 0; line-height: 1.65; }
        .carousel-recovery a { display: block; min-height: 28px; padding: 0.25rem 0; color: inherit; }
        .carousel-recovery a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
        [data-carousel-empty="true"] .carousel-track::after,
        [data-carousel-empty="true"] .setback-compare-card__media::after {
            content: 'Loading image preview…'; position: absolute; inset: 42% 2.75rem auto;
            text-align: center; font: 0.9rem/1.4 'Outfit', sans-serif; color: var(--text-muted);
            pointer-events: none;
        }
        [data-carousel-empty="true"][data-carousel-error] .carousel-track::after,
        [data-carousel-empty="true"][data-carousel-error] .setback-compare-card__media::after { content: 'Image preview unavailable'; }

        /* Real 28px targets; only their inner dots scale when selected. */
        .carousel[data-carousel-ready] .carousel-dot,
        .setback-compare-card[data-setback-enhanced] .setback-compare-card__dot {
            flex: 0 0 28px; width: 28px; height: 28px; padding: 0;
            background: transparent; border: 0; opacity: 1; box-shadow: none;
            transform: none; display: grid; place-items: center;
        }
        .carousel[data-carousel-ready] .carousel-dot::before,
        .setback-compare-card[data-setback-enhanced] .setback-compare-card__dot::before {
            content: ''; width: 8px; height: 8px; border-radius: 50%;
            background: rgba(255,255,255,0.58); box-shadow: 0 1px 4px rgba(0,0,0,0.3);
        }
        .carousel[data-carousel-ready] .carousel-dot.active::before,
        .setback-compare-card[data-setback-enhanced] .setback-compare-card__dot.is-active::before {
            background: #fff; transform: scale(1.25);
        }
        .carousel[data-carousel-ready] .carousel-dot::after,
        .setback-compare-card[data-setback-enhanced] .setback-compare-card__dot::after { content: none; }
        .carousel[data-carousel-ready] .carousel-dot:focus-visible,
        .setback-compare-card[data-setback-enhanced] .setback-compare-card__dot:focus-visible {
            outline: 3px solid #873F1E; outline-offset: -2px;
            background: rgba(255,253,248,0.94); border-radius: 6px;
        }
        .carousel[data-carousel-ready] .carousel-dot:focus-visible::before,
        .setback-compare-card[data-setback-enhanced] .setback-compare-card__dot:focus-visible::before {
            background: #873F1E;
        }
        .carousel[data-carousel-ready] .carousel-dots {
            flex-wrap: wrap; gap: 4px; padding: 0 0.5rem; bottom: 0.35rem;
        }
        .setback-compare-card[data-setback-enhanced] .setback-compare-card__dots {
            width: min(calc(100% - 1.5rem), 188px); max-width: none; flex-wrap: wrap;
            justify-content: center; gap: 4px; bottom: 2rem;
        }
        .carousel-panel, .setback-carousel-panel { position: absolute; inset: 0; }
        .carousel-panel > .proof-link { display: block; width: 100%; height: 100%; }
        .setback-carousel-panel > .setback-proof-link { position: absolute; inset: 0; }
        .carousel[data-carousel-ready] .carousel-track .carousel-slide { display: block; }

/* Intrinsic sizing keeps enlarged text readable without changing normal layouts. */
.hero {
    --hero-bottom-padding: 2rem;
    --hero-cue-space: max(0px, calc(2.5rem + 44px + 0.5rem - var(--hero-bottom-padding)));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(var(--hero-cue-space), 1fr) auto minmax(var(--hero-cue-space), 1fr);
    justify-items: center;
}
.hero-copy {
    grid-row: 2;
    width: 100%; min-width: 0; max-width: 100%;
    display: flex; flex-direction: column; align-items: center;
}
.scroll-cue { left: calc(50% - 22px); }
.science-header h2, .story-page-turn { overflow-wrap: anywhere; }
@media (max-width: 960px) {
    .hero { --hero-bottom-padding: 5.75rem; }
    .one-step-forward-timeline__diary { min-width: 0; width: 100%; }
    .setback-timeline__shell, .acid-trap__shell { grid-template-columns: minmax(0, 1fr); }
    .one-step-forward-timeline__diary, .setback-timeline__diary, .acid-trap__shell { overflow-wrap: anywhere; }
    .science-section .sci-row-text { min-width: 0; overflow-wrap: anywhere; }
}

.lifestyle-header h2, .ph-habits-section, .healthy-warning, .diet-scroll { overflow-wrap: anywhere; }
.ph-habits-grid { grid-template-columns: minmax(220px, 1fr) 240px minmax(0, 1.3fr) 240px minmax(220px, 1fr); }
.ph-stomach { min-width: 0; }
@media (max-width: 1280px) {
    .ph-habits-grid { grid-template-columns: minmax(0, 1fr); }
}

.lifestyle-section { overflow-wrap: anywhere; }
.diet-scroll .sci-row-text .food-examples::before,
.diet-scroll .sci-row-text .food-examples-heal::before,
.diet-scroll .sci-row-text .chain-context::before {
    flex: 0 1 auto; min-width: 0; max-width: 100%;
}

/* Local reliability: preserve normal geometry and the existing font policy. */
.story-parts { scroll-padding-inline: 50%; }
.scroll-cue.bouncing { animation-iteration-count: 2; }
.lightbox-recovery {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem;
    max-height: 28vh; overflow: auto; padding: 0.5rem;
    color: white; cursor: auto;
}
.lightbox-recovery[hidden] { display: none; }
.lightbox-recovery button, .lightbox-recovery a {
    min-height: 44px; padding: 0.65rem 0.9rem; border: 1px solid rgba(255,255,255,0.6);
    border-radius: 8px; background: #302820; color: #fff; font: 1rem/1.4 'Outfit', sans-serif;
    overflow-wrap: anywhere; cursor: pointer;
}
.lightbox-recovery :focus-visible { outline: 3px solid white; outline-offset: 3px; }
.lightbox-overlay:has(.lightbox-recovery:not([hidden])) .lightbox-status { bottom: calc(28vh + 1rem); }
.setback-compare-card[data-setback-enhanced] {
    container: part2-comparison / inline-size;
    padding-bottom: 1rem;
}
.setback-compare-card[data-setback-enhanced] .setback-compare-card__media { margin-bottom: var(--part2-controls-clearance, 0px); }
.setback-compare-card__controls { display: contents; }
.setback-carousel-panel { overflow: hidden; border-radius: inherit; }
@container part2-comparison (max-width: calc(7.5rem + 8px)) {
    .setback-compare-card__media { overflow: visible; }
    .setback-compare-card__media::after { content: none; }
    .setback-compare-card[data-carousel-empty="true"]:not([data-carousel-pending]):not([data-carousel-error]) .setback-compare-card__controls::after {
        content: 'Loading image preview…'; grid-row: 6; grid-column: 1 / -1;
        min-width: 0; max-width: 100%; overflow-wrap: anywhere; text-align: center;
        font: 0.9rem/1.4 'Outfit', sans-serif; color: var(--text-muted);
    }
    .carousel-recovery-region > .carousel-feedback:not([data-feedback-state="ready"]) {
        position: relative; inset: auto; margin: 0.5rem 0 0;
    }
    .setback-compare-card__controls {
        position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 3;
        display: grid; grid-template-columns: minmax(44px, 1fr) minmax(44px, 1fr);
        gap: 8px; justify-items: center; align-items: center; min-width: 0;
    }
    .setback-compare-card__controls .setback-compare-card__date {
        position: static; grid-row: 1; grid-column: 1 / -1; max-width: 100%;
        box-sizing: border-box; overflow-wrap: anywhere; text-align: center; transform: none;
    }
    .setback-compare-card__controls .setback-compare-card__arrow {
        position: static; grid-row: 2; width: min(2.5rem, 100%); min-width: 44px;
        height: max(44px, 2.5rem); transform: none;
    }
    .setback-compare-card__controls .setback-compare-card__arrow--prev { grid-column: 1; }
    .setback-compare-card__controls .setback-compare-card__arrow--next { grid-column: 2; }
    .setback-compare-card__controls .setback-compare-card__count {
        position: static; grid-row: 3; grid-column: 1 / -1; color: #873F1E; text-shadow: none;
        max-width: 100%; overflow-wrap: anywhere;
    }
    .setback-compare-card[data-setback-enhanced] .setback-compare-card__controls .setback-compare-card__dots {
        position: static; grid-row: 4; grid-column: 1 / -1; width: 100%; max-width: 100%;
        padding: 0; transform: none;
    }
    .setback-compare-card[data-setback-enhanced] .setback-compare-card__controls .setback-compare-card__dot::before { background: rgba(126,72,30,0.65); box-shadow: none; }
    .setback-compare-card[data-setback-enhanced] .setback-compare-card__controls .setback-compare-card__dot.is-active::before { background: #873F1E; }
}
@container part2-comparison (max-width: 96px) {
    .setback-compare-card__controls { grid-template-columns: minmax(44px, 1fr); }
    .setback-compare-card__controls .setback-compare-card__arrow--prev { grid-row: 2; grid-column: 1; }
    .setback-compare-card__controls .setback-compare-card__arrow--next { grid-row: 3; grid-column: 1; }
    .setback-compare-card__controls .setback-compare-card__count { grid-row: 4; }
    .setback-compare-card[data-setback-enhanced] .setback-compare-card__controls .setback-compare-card__dots { grid-row: 5; }
}
:is(.one-step-forward-timeline__entry,.setback-compare-card,.acid-trap__story-card,.acid-trap__card,
    .diet-prescription,.diet-prescription__note,.diet-prescription__reason,.cereal-sibo-note,
    .fodmap-guide,.science-header,.right-order-intro__spread,.right-order-intro__col) { min-width: 0; overflow-wrap: anywhere; }
.diet-prescription__reason-mark { min-width: 0; max-width: 100%; }
.acid-trap__card { container: part2-acid-card / inline-size; }
@container part2-acid-card (max-width: 8em) {
    .acid-trap__card span, .acid-trap__card h3, .acid-trap__card p { grid-column: 1 / -1; grid-row: auto; }
    .acid-trap__card h3 { margin-top: 0.5rem; }
}
.diet-prescription__stage { container: part2-prescription / inline-size; }
@container part2-prescription (max-width: 40em) {
    .diet-prescription__reason-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .diet-prescription__reason { border-left: 0; border-top: 1px dashed rgba(42,58,94,0.18); padding: 0.8rem 0 0; }
    .diet-prescription__reason:first-child, .diet-prescription__reason:nth-child(2) { border-top: 0; padding-top: 0; }
    .diet-prescription__notes-row { grid-template-columns: minmax(0, 1fr); }
    .diet-prescription__sheet-signoff { flex-wrap: wrap; }
}
.cereal-sibo-note__intro { min-width: 0; }
.cereal-sibo-note__story-trigger { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.cereal-sibo-note__story-icon { max-width: 100%; }
.diet-prescription__sheet-signoff .sig-line { overflow-wrap: anywhere; white-space: normal; }
.gastritis-science-panel__copy, .domino-panel__copy, .roadmap-panel__content, .irritate-panel__copy {
    min-width: 0; overflow-wrap: anywhere;
}
.irritate-footer__counter, .irritate-dots { flex-wrap: wrap; min-width: 0; max-width: 100%; justify-content: center; }
@media (max-width: 1100px) {
    .gastritis-science-panel, .domino-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 961px) {
    .acid-trap__shell { column-gap: min(clamp(2rem, 4vw, 4.5rem), max(0px, calc(100% - 880px))); }
}
.cereal-sibo-note__diagram { container: part2-cereal / inline-size; }
.cereal-sibo-note__card { container: part2-cereal-card / inline-size; }
@container part2-cereal (max-width: 40em) {
    .cereal-sibo-note__chain { display: grid; grid-template-columns: minmax(0, 1fr); }
    .cereal-sibo-note__repair-grid { grid-template-columns: minmax(0, 1fr); }
    .cereal-sibo-note__arrow { justify-self: center; transform: rotate(90deg); }
    .cereal-sibo-note__card {
        display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem;
        align-items: center; text-align: left;
    }
    .cereal-sibo-note__icon { grid-row: span 2; margin: 0; }
}
@container part2-cereal-card (max-width: 8em) {
    .cereal-sibo-note__icon, .cereal-sibo-note__card h3, .cereal-sibo-note__card p {
        grid-column: 1 / -1; grid-row: auto; max-width: 100%;
    }
    .cereal-sibo-note__icon { margin-bottom: 0.5rem; }
}

/* October 23: reading-text alignment only; existing layouts and controllers retained. */
.one-step-forward-timeline__entry p,
.setback-timeline__entry p,
.gastritis-science-panel__copy > ul > li,
.science-header > p,
.domino-header > p,
.domino-panel__copy > p,
.domino-bottom-line,
.acid-trap__card > p,
.acid-trap__story-card > p,
.right-order-intro__col > p,
.roadmap-panel__content > ul > li,
.roadmap-callout p,
.diet-prescription__intro > p,
.diet-prescription__reason p,
.diet-prescription__note p,
.diet-prescription__evidence-text > p,
.diet-prescription__notes-body,
.ph-habits-header > p,
.ph-def-card__body,
.diet-intro > p,
.sci-row-text > p,
.diet-timing-note > p,
.cereal-sibo-note__summary,
.cereal-sibo-story-dialog__body > p,
.irritate-panel__copy > p,
.healthy-warning__body > p,
.fodmap-guide__intro {
    text-align: left;
}

@media (min-width: 961px) {
.one-step-forward-timeline__entry p,
.setback-timeline__entry p,
.gastritis-science-panel__copy > ul > li,
.science-header > p,
.domino-header > p,
.domino-panel__copy > p,
.domino-bottom-line,
.acid-trap__card > p,
.acid-trap__story-card > p,
.right-order-intro__col > p,
.roadmap-panel__content > ul > li,
.roadmap-callout p,
.diet-prescription__intro > p,
.diet-prescription__reason p,
.diet-prescription__note p,
.diet-prescription__evidence-text > p,
.diet-prescription__notes-body,
.ph-habits-header > p,
.ph-def-card__body,
.diet-intro > p,
.sci-row-text > p,
.diet-timing-note > p,
.cereal-sibo-note__summary,
.cereal-sibo-story-dialog__body > p,
.irritate-panel__copy > p,
.healthy-warning__body > p,
.fodmap-guide__intro {
    text-align: justify;
    text-align-last: start;
    text-justify: inter-word;
    hyphens: none;
}
}

/* Bound only the decorative chapter glow to the mobile content width plus its existing gutters. */
@media (max-width: 960px) {
    .chapter-marker .chapter-title-pin::before { max-width: calc(100% + 2.4rem); }
}
