/* ========================================================================== */
/* Wet Lab · Notebook hero — a laboratory manual opens into experiment notes */
/* ========================================================================== */

.notebook-opening-hero {
    position: relative;
    isolation: isolate;
}

.notebook-hero-copy {
    position: relative;
    z-index: 5;
}

.notebook-hero-copy .dogma-subpage-lead {
    width: min(34rem, 43vw);
}

.notebook-hero-visual {
    --notebook-shift-x: 0px;
    --notebook-shift-y: 0px;
    position: absolute !important;
    z-index: 4 !important;
    top: calc(var(--dogma-nav-clearance) - .05rem);
    right: max(4.2rem, calc((100vw - 80rem) / 4 + 3rem));
    width: min(48vw, 43rem);
    min-width: 34rem;
    aspect-ratio: 690 / 465;
    pointer-events: none;
    opacity: .98;
    perspective: 1500px;
    transform: translate3d(var(--notebook-shift-x), var(--notebook-shift-y), 0);
    transition: transform .8s cubic-bezier(.2, .72, .2, 1);
}

.notebook-book-stage {
    position: absolute;
    inset: 8% 3% 4%;
    transform-style: preserve-3d;
    transform: translate3d(-21%, 1%, 0);
}

.notebook-book {
    position: absolute;
    inset: 5% 2% 3%;
    transform-style: preserve-3d;
    transform-origin: 52% 51%;
    transform: rotateX(9deg) rotateY(-2deg) rotateZ(5deg) scale(1.08);
    pointer-events: none;
}

.notebook-desk-shadow {
    position: absolute;
    z-index: -1;
    left: 17%;
    right: 5%;
    bottom: 3%;
    height: 21%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(26, 85, 127, .24), rgba(53, 122, 172, .08) 46%, transparent 72%);
    filter: blur(17px);
    transform: rotate(5deg) scaleX(.76);
    opacity: .46;
}

.notebook-back-cover, .notebook-page, .notebook-hover-page, .notebook-cover {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 47.6%;
    height: 84%;
    border-radius: 3px 18px 18px 4px;
    transform-origin: left center;
}

.notebook-back-cover {
    z-index: 1;
    top: 6.2%;
    left: 49.2%;
    width: 49%;
    height: 86%;
    background: linear-gradient(145deg, #1A6193 0%, #124264 48%, #0E3652 100%);
    border: 1px solid rgba(26, 96, 146, .72);
    box-shadow: 12px 18px 28px rgba(22, 82, 124, .2);
}

.notebook-paper-stack {
    position: absolute;
    z-index: 2;
    left: 50.4%;
    top: 7.2%;
    width: 46.3%;
    height: 83.5%;
    border-radius: 3px 15px 15px 4px;
    background: repeating-linear-gradient(to bottom, #D5E5F1 0 1px, #F7FBFD 1px 3px);
    box-shadow: 5px 8px 14px rgba(37, 94, 135, .14);
}

.notebook-page, .notebook-cover-inside {
    color: #246593;
    background:
        linear-gradient(90deg, rgba(41, 106, 153, .07), transparent 10%, transparent 92%, rgba(40, 103, 148, .08)),
        repeating-linear-gradient(to bottom, transparent 0 22px, rgba(63, 132, 181, .14) 22px 23px),
        linear-gradient(145deg, #FFFFFF 0%, #F4FBFF 55%, #EBF4FB 100%);
    border: 1px solid rgba(75, 138, 183, .22);
    box-shadow: inset 8px 0 18px rgba(60, 112, 150, .07), 7px 10px 18px rgba(31, 87, 127, .12);
}

.notebook-page--right {
    z-index: 3;
    padding: 1.4rem 1.35rem 1.1rem 1.55rem;
    overflow: hidden;
}

.notebook-hover-page {
    z-index: 4;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform .92s cubic-bezier(.42,0,.58,1);
    will-change: transform;
}

.notebook-hover-face {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(75, 138, 183, .22);
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    color: #246593;
    background:
        linear-gradient(90deg, rgba(41, 106, 153, .07), transparent 10%, transparent 92%, rgba(40, 103, 148, .08)),
        repeating-linear-gradient(to bottom, transparent 0 22px, rgba(63, 132, 181, .14) 22px 23px),
        linear-gradient(145deg, #FFFFFF 0%, #F4FBFF 55%, #EBF4FB 100%);
    box-shadow: inset 8px 0 18px rgba(60, 112, 150, .07), 7px 10px 18px rgba(31, 87, 127, .12);
}

.notebook-hover-front {
    transform: rotateY(0deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.notebook-hover-back {
    transform: rotateY(180deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 18px 3px 4px 18px;
    background:
        linear-gradient(90deg, rgba(40, 103, 148, .08), transparent 12%, transparent 90%, rgba(41, 106, 153, .06)),
        repeating-linear-gradient(to bottom, transparent 0 22px, rgba(63, 132, 181, .12) 22px 23px),
        linear-gradient(215deg, #FFFFFF 0%, #F4FBFF 58%, #EBF4FB 100%);
    box-shadow: inset -9px 0 18px rgba(60, 112, 150, .08), -7px 10px 18px rgba(31, 87, 127, .12);
}

.notebook-turn-page-content {
    position: absolute;
    z-index: 2;
    inset: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: 1.4rem 1.35rem 1rem 1.45rem;
    color: #246593;
    opacity: 0;
    transition: opacity .16s ease;
    pointer-events: none;
}

.notebook-book.is-logo-page-open .notebook-turn-page-content {
    opacity: 1;
    transition: opacity .4s ease .96s;
}

.notebook-turn-page-content .notebook-page-number {
    right: auto;
    left: .92rem;
}

.notebook-turn-page-content .notebook-page-heading {
    width: 78%;
    margin-left: 14%;
}

.notebook-left-observations {
    display: grid;
    gap: .42rem;
    margin: .7rem 0 0 14%;
    color: #397CAC;
    font: 500 .43rem/1.25 "Fira Code", monospace;
}

.notebook-left-observations span {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.notebook-left-observations b {
    display: inline-grid;
    place-items: center;
    width: .82rem;
    height: .64rem;
    border: 1px solid rgba(55, 124, 174, .48);
    color: #4B8BB9;
    font-size: .34rem;
}

.notebook-fold-sketch {
    position: absolute;
    left: 8%;
    bottom: 12%;
    width: 82%;
    height: 44%;
    overflow: visible;
    fill: none;
    stroke: #3980B3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notebook-fold-axis {
    stroke-width: 1.2;
    opacity: .55;
}

.notebook-fold-curve {
    stroke-width: 2.5;
}

.notebook-fold-sketch circle {
    fill: #66A3CF;
    stroke: #F0F7FC;
    stroke-width: 1.2;
}

.notebook-fold-sketch text {
    fill: #4586B5;
    stroke: none;
    text-anchor: middle;
    font: italic 9px/1 "Fira Code", monospace;
}

.notebook-left-note {
    position: absolute;
    right: 1.15rem;
    bottom: .75rem;
    margin: 0;
    color: #377EB0;
    font: italic 600 .43rem/1.2 "Fira Code", monospace;
    transform: rotate(-3deg);
}

.notebook-book.is-logo-page-open .notebook-hover-page {
    transform: rotateY(-173.5deg);
}

.notebook-book.is-hover-ready .notebook-hover-page {
    z-index: 9;
}

.notebook-page--logo {
    display: grid;
    place-items: center;
}

.notebook-logo-reveal {
    position: relative;
    display: grid;
    place-items: center;
    gap: .28rem;
    width: 74%;
    margin-left: 7%;
    text-align: center;
    opacity: 0;
    transform: translateY(5px) scale(.94) rotate(-1.5deg);
    transition: opacity .22s ease, transform .32s ease;
}

.notebook-book.is-logo-page-open .notebook-logo-reveal {
    opacity: .9;
    transform: translateY(0) scale(1) rotate(-1.5deg);
    transition: opacity .46s ease .94s, transform .56s cubic-bezier(.2,.72,.18,1) .9s;
}

.notebook-logo-reveal::before {
    content: "";
    position: absolute;
    inset: 9% 5% 13%;
    border: 1px solid rgba(51, 121, 171, .18);
    border-radius: 48% 52% 46% 54%;
    transform: rotate(2deg);
}

.notebook-logo-reveal img {
    width: 5.6rem;
    height: 6.7rem;
    object-fit: contain;
    opacity: .76;
    filter: saturate(.78) brightness(1.15) drop-shadow(0 2px 1px rgba(31, 102, 153, .13));
    mix-blend-mode: multiply;
}

.notebook-logo-reveal strong {
    font: 800 1.05rem/1 Inter, sans-serif;
    letter-spacing: -.035em;
    color: #2C74A7;
}

.notebook-logo-reveal small, .notebook-logo-kicker {
    font: 600 .4rem/1.25 "Fira Code", monospace;
    letter-spacing: .08em;
    color: rgba(48, 117, 166, .72);
}

.notebook-logo-kicker {
    letter-spacing: .16em;
}

.notebook-page--right::after, .notebook-cover-inside::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255,.62) 49%, transparent 63%);
    opacity: .34;
    pointer-events: none;
}

.notebook-page-number {
    position: absolute;
    top: .7rem;
    right: .95rem;
    font: 600 .54rem/1 "Fira Code", monospace;
    letter-spacing: .12em;
    color: rgba(37, 104, 151, .52);
}

.notebook-page-heading {
    position: relative;
    z-index: 2;
    display: grid;
    gap: .18rem;
    width: 82%;
    padding-bottom: .48rem;
    border-bottom: 1px solid rgba(39, 111, 162, .3);
}

.notebook-page-heading small {
    font: 700 .46rem/1.1 "Fira Code", monospace;
    letter-spacing: .15em;
    color: #478ABA;
}

.notebook-page-heading strong {
    font: 700 .88rem/1.08 Inter, sans-serif;
    color: #185784;
}

.notebook-date-row {
    display: flex;
    align-items: center;
    gap: .38rem;
    margin: .52rem 0 .12rem;
    font: 600 .44rem/1 "Fira Code", monospace;
    letter-spacing: .06em;
    color: #6597BA;
}

.notebook-date-row i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #6DA7D0;
}

.notebook-page-grid {
    position: relative;
    height: 73%;
}

.notebook-sketch {
    position: absolute;
    overflow: visible;
    fill: none;
    stroke: #3980B3;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notebook-sketch text {
    fill: #4586B5;
    stroke: none;
    text-anchor: middle;
    font: italic 10px/1 "Fira Code", monospace;
}

.notebook-sketch--dish { top: 2%; left: -2%; width: 47%; }
.notebook-sketch--gel { top: 42%; left: 0; width: 48%; }
.notebook-sketch--plot { top: 43%; right: -2%; width: 50%; }

.notebook-colonies circle {
    fill: rgba(58, 133, 187, .42);
    stroke-width: 1;
}

.notebook-gel-bands { stroke: #1A6295; stroke-width: 5; }
.notebook-plot-line { stroke: #1F70AA; stroke-width: 2.6; }
.notebook-sketch--plot circle { fill: #4B93C6; stroke: none; }

.notebook-mini-notes {
    position: absolute;
    top: 7%;
    right: 0;
    display: grid;
    gap: .4rem;
    width: 50%;
    font: 500 .46rem/1.2 "Fira Code", monospace;
    color: #387CAD;
}

.notebook-mini-notes span { display: flex; align-items: center; gap: .3rem; }
.notebook-mini-notes b {
    width: .48rem;
    height: .48rem;
    border: 1px solid #4F92C1;
    background: linear-gradient(135deg, transparent 45%, #4F92C1 46% 56%, transparent 57%);
}

.notebook-hand-note {
    position: absolute;
    right: 1.25rem;
    bottom: .82rem;
    margin: 0;
    color: #377EB0;
    font: italic 600 .48rem/1.25 "Fira Code", monospace;
    transform: rotate(-4deg);
}

.notebook-flip-page {
    position: absolute;
    top: 5.15%;
    left: 50%;
    width: 47.35%;
    height: 83.7%;
    border-radius: 3px 17px 17px 4px;
    transform: rotateY(0deg);
    transform-origin: left center;
    transform-style: preserve-3d;
}

.notebook-flip-page--one { z-index: 7; }
.notebook-flip-page--two { z-index: 6; }
.notebook-flip-page--three { z-index: 5; }

.notebook-flip-face {
    position: absolute;
    inset: 0;
    display: block;
    padding: 1.45rem 1.35rem;
    overflow: hidden;
    color: #3478A8;
    border: 1px solid rgba(79, 143, 188, .24);
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background:
        linear-gradient(90deg, rgba(42, 108, 155, .06), transparent 11%, transparent 92%, rgba(42, 108, 155, .07)),
        repeating-linear-gradient(to bottom, transparent 0 22px, rgba(63, 132, 181, .13) 22px 23px),
        linear-gradient(145deg, #FFFFFF 0%, #F4FBFF 58%, #EBF4FB 100%);
    box-shadow: 4px 7px 12px rgba(30, 87, 128, .1);
}

.notebook-flip-back {
    border-radius: 17px 3px 4px 17px;
    transform: rotateY(180deg);
    box-shadow: -4px 7px 12px rgba(30, 87, 128, .1);
}

.notebook-flip-face small {
    display: block;
    margin-bottom: .28rem;
    font: 700 .43rem/1 "Fira Code", monospace;
    letter-spacing: .12em;
    color: #629DC7;
}

.notebook-flip-face strong {
    display: block;
    width: 84%;
    margin-bottom: .72rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid rgba(57, 125, 174, .3);
    font: 700 .76rem/1.15 Inter, sans-serif;
    color: #236493;
}

.notebook-flip-line {
    display: block;
    width: 64%;
    height: 1px;
    margin: .62rem 0;
    border-radius: 999px;
    background: rgba(58, 128, 178, .24);
    filter: blur(.7px);
    opacity: .58;
}

.notebook-flip-line.is-long { width: 88%; }
.notebook-flip-line.is-short { width: 46%; }

.notebook-flip-dish, .notebook-flip-curve, .notebook-flip-gel {
    position: absolute;
    left: 23%;
    bottom: 19%;
    width: 48%;
    height: 27%;
    border: 2px solid rgba(47, 123, 178, .55);
    border-radius: 50%;
}

.notebook-flip-dish::after {
    content: "•  ·  •   •  ·";
    position: absolute;
    inset: 32% 8% auto;
    color: rgba(45, 120, 173, .72);
    font: 700 .55rem/1 "Fira Code", monospace;
    text-align: center;
}

.notebook-flip-curve {
    height: 21%;
    border: 0;
    border-bottom: 2px solid rgba(47, 123, 178, .58);
    border-radius: 0 0 70% 20%;
    transform: rotate(-8deg);
}

.notebook-flip-gel {
    border-radius: 5px;
    background: repeating-linear-gradient(90deg, transparent 0 17%, rgba(47, 123, 178,.32) 18% 21%, transparent 22% 34%);
}

.notebook-cover {
    z-index: 8;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
}

.notebook-cover-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.notebook-cover-front {
    display: grid;
    place-items: center;
    align-content: center;
    gap: .45rem;
    padding: 1.6rem 2rem;
    color: white;
    text-align: center;
    background:
        linear-gradient(118deg, transparent 0 34%, rgba(255, 255, 255,.12) 46%, transparent 58%),
        radial-gradient(circle at 76% 18%, rgba(117, 183, 231, .23), transparent 32%),
        linear-gradient(145deg, #2676AF 0%, #185988 42%, #103C5C 100%);
    border: 1px solid rgba(18, 69, 105, .8);
    box-shadow: inset 6px 0 0 rgba(255, 255, 255,.08), inset -6px 0 18px rgba(11, 42, 65,.28), 10px 15px 25px rgba(20, 74, 112,.2);
}

.notebook-cover-front::before {
    content: "";
    position: absolute;
    inset: .55rem;
    border: 1px solid rgba(219, 236, 249, .32);
    border-radius: 3px 13px 13px 3px;
}

.notebook-cover-front::after {
    content: "";
    position: absolute;
    top: 0;
    left: 1.05rem;
    width: .14rem;
    height: 100%;
    background: rgba(218, 236, 248, .24);
    box-shadow: .24rem 0 .65rem rgba(10, 37, 57, .26);
}

.notebook-cover-kicker {
    position: absolute;
    top: 1.18rem;
    left: 1.65rem;
    font: 700 .43rem/1 "Fira Code", monospace;
    letter-spacing: .2em;
    color: rgba(235, 244, 251, .78);
}

.notebook-cover-front img {
    position: relative;
    z-index: 2;
    width: 4.2rem;
    height: 4.9rem;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 5px 8px rgba(11, 41, 62, .22));
    opacity: .94;
}

.notebook-cover-front strong {
    position: relative;
    z-index: 2;
    font: 800 1.42rem/1 Inter, sans-serif;
    letter-spacing: -.045em;
}

.notebook-cover-front em {
    position: relative;
    z-index: 2;
    font: 500 .55rem/1.2 "Fira Code", monospace;
    font-style: normal;
    letter-spacing: .08em;
    color: rgba(235, 245, 252, .86);
}

.notebook-cover-rule {
    width: 45%;
    height: 1px;
    background: rgba(225, 240, 250, .5);
}

.notebook-cover-front small {
    font: 500 .39rem/1.2 "Fira Code", monospace;
    letter-spacing: .08em;
    color: rgba(229, 241, 250, .68);
}

.notebook-cover-inside {
    box-sizing: border-box;
    padding: 1.4rem 1.35rem 1rem 1.45rem;
    transform: rotateY(180deg);
    border-radius: 18px 3px 4px 18px;
    border-style: solid;
    border-color: rgba(27, 102, 155, .9);
    border-width: 3px 1px 6px 5px;
    background-clip: padding-box;
    box-shadow:
        inset -10px 0 18px rgba(49, 104, 144, .08),
        inset 0 0 0 2px rgba(218, 236, 249, .9),
        -5px 8px 15px rgba(27, 83, 123, .18);
}

.notebook-cover-inside .notebook-page-number { right: auto; left: .92rem; }
.notebook-cover-inside .notebook-page-heading { margin-left: 18%; width: 78%; }

.notebook-inside-list {
    display: grid;
    gap: .38rem;
    margin: .72rem 0 0 18%;
    color: #3378A9;
    font: 500 .46rem/1.25 "Fira Code", monospace;
}

.notebook-inside-list span { display: flex; align-items: center; gap: .38rem; }
.notebook-inside-list i {
    display: inline-grid;
    place-items: center;
    width: .64rem;
    height: .64rem;
    border: 1px solid rgba(55, 124, 174, .6);
    font-style: normal;
    line-height: 1;
}

.notebook-plasmid {
    position: absolute;
    left: 3%;
    bottom: 1.2rem;
    width: 68%;
    height: 47%;
    fill: none;
    stroke: #397EAF;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.notebook-plasmid > circle { stroke-dasharray: 12 5 25 6; }
.notebook-plasmid text {
    fill: #397EAF;
    stroke: none;
    text-anchor: middle;
    font: 600 9px/1 "Fira Code", monospace;
}
.notebook-plasmid .notebook-plasmid-label { font-size: 7px; text-anchor: start; }
.notebook-plasmid-callout { stroke-width: 1; }

.notebook-hand-note--left {
    right: .8rem;
    bottom: 1.35rem;
    text-align: right;
    transform: rotate(4deg);
}

.notebook-spine {
    position: absolute;
    z-index: 14;
    left: calc(50% - .28rem);
    top: 6.5%;
    width: .56rem;
    height: 84%;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(19, 70, 106,.28), rgba(241, 248, 253,.9) 44%, rgba(32, 93, 137,.18));
    box-shadow: 0 4px 9px rgba(25, 81, 121, .12);
    opacity: 0;
}

.notebook-ribbon-marker {
    position: absolute;
    z-index: 15;
    left: calc(50% - .3rem);
    top: 77%;
    width: .56rem;
    height: 20%;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, #1F6DA4, #62A7D8 50%, #185885);
    box-shadow: 2px 4px 6px rgba(18, 69, 105, .18);
    opacity: 0;
}

.notebook-interaction-zone {
    position: absolute;
    z-index: 30;
    inset: 6% 1% 4%;
    display: block;
    pointer-events: auto;
    background: transparent;
}

.notebook-hero-visual.is-ready .notebook-book-stage {
    animation: notebook-stage-open 1.24s cubic-bezier(.32,.72,.2,1) forwards;
}

.notebook-hero-visual.is-ready .notebook-cover {
    animation: notebook-cover-open 1.22s cubic-bezier(.26,.72,.18,1) forwards;
}

.notebook-hero-visual.is-ready .notebook-flip-page--one {
    animation: notebook-page-flip .82s cubic-bezier(.2,.02,.14,1) 1.24s both;
}

.notebook-hero-visual.is-ready .notebook-flip-page--two {
    animation: notebook-page-flip .82s cubic-bezier(.2,.02,.14,1) 1.29s both;
}

.notebook-hero-visual.is-ready .notebook-flip-page--three {
    animation: notebook-page-flip .82s cubic-bezier(.2,.02,.14,1) 1.34s both;
}

.notebook-hero-visual.is-ready .notebook-page--right:not(.notebook-page--logo) > *, .notebook-hero-visual.is-ready .notebook-cover-inside > * {
    animation: notebook-ink-reveal .58s ease-out 2.12s both;
}

.notebook-hero-visual.is-ready .notebook-spine, .notebook-hero-visual.is-ready .notebook-ribbon-marker {
    animation: notebook-detail-reveal .42s ease-out 1.12s both;
}

.notebook-hero-visual.is-ready .notebook-desk-shadow {
    animation: notebook-shadow-cycle 1.24s ease-out forwards;
}

@keyframes notebook-cover-open {
    0%, 5% { transform: rotateY(0deg); z-index: 8; }
    20% { transform: rotateY(-24deg); z-index: 8; }
    96% { transform: rotateY(-176deg); z-index: 8; }
    100% { transform: rotateY(-176deg); z-index: 4; }
}

@keyframes notebook-stage-open {
    0%, 4% { transform: translate3d(-21%, 1%, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes notebook-page-flip {
    0% { transform: rotateY(0deg); opacity: 1; }
    64% { transform: rotateY(-148deg); opacity: 1; }
    87% { transform: rotateY(-171deg); opacity: 1; }
    100% { transform: rotateY(-177deg); opacity: 0; }
}

@keyframes notebook-ink-reveal {
    0% { opacity: 0; transform: translateY(3px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes notebook-detail-reveal {
    0% { opacity: 0; }
    100% { opacity: .9; }
}

@keyframes notebook-shadow-cycle {
    0%, 4% { opacity: .34; transform: rotate(4deg) scaleX(.4); }
    100% { opacity: .48; transform: rotate(5deg) scaleX(1.08); }
}




@media (max-width: 1080px) {
    .notebook-hero-visual {
        right: .5rem;
        width: min(53vw, 39rem);
        min-width: 31rem;
    }
    .notebook-hero-copy .dogma-subpage-lead { width: min(31rem, 45vw); }
}

@media (max-width: 760px) {
    html, body { overflow-x: clip; }
    .notebook-hero-visual { display: none; }
    .notebook-hero-copy .dogma-subpage-lead { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .notebook-hero-visual, .notebook-hero-visual * {
        animation: none !important;
        transition: none !important;
    }
    .notebook-book-stage { transform: translate3d(0, 0, 0); }
    .notebook-cover { transform: rotateY(-176deg); }
    .notebook-flip-page { display: none; }
    .notebook-hover-page { transform: rotateY(0deg) !important; }
    .notebook-page--right > *, .notebook-cover-inside > * { opacity: 1; }
    .notebook-spine, .notebook-ribbon-marker { opacity: .9; }
}
