/* Panni's field notebook. Tokens first, then the page, then one block per section. */

@font-face { font-family: "Barlow"; src: url(/assets/fonts/barlow-400.213e96e98c.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(/assets/fonts/barlow-600.0a76a4a399.woff2) format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(/assets/fonts/barlow-800.265a7a34c4.woff2) format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/assets/fonts/caveat-600.5436c763b2.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks keep the swap from shifting the layout. */
@font-face { font-family: "Barlow fallback"; src: local("Arial Narrow"), local("Arial"); size-adjust: 94%; ascent-override: 106%; descent-override: 22%; }
@font-face { font-family: "Caveat fallback"; src: local("Segoe Print"), local("Comic Sans MS"), local("Arial"); size-adjust: 78%; }

:root {
  --paper: #F4F4EF;
  --ink: #1D1D1F;
  --graphite: #56565B;
  --pen: #C0282D;
  --pen-fill: #C0282D;
  --grid: rgba(29, 29, 31, .07);
  --rule: rgba(192, 40, 45, .6);
  --hairline: rgba(29, 29, 31, .2);
  --stamp: #D23A3A;
  --stamp-blend: normal;
  --label: #B3262B;
  --print: #FBFBF8;
  --tape: rgba(222, 219, 206, .8);
  --tile: #FAFAF6;
  --card: #FBFBF8;
  --sticky: #F6E0DD;
  --hole: rgba(29, 29, 31, .1);
  --coffee: rgba(122, 82, 48, .11);
  --shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 14px 26px -16px rgba(0, 0, 0, .5);
  --shadow-lift: 0 2px 3px rgba(0, 0, 0, .12), 0 22px 34px -18px rgba(0, 0, 0, .5);
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 6'%3E%3Cpath d='M0 3.4c3-1.8 6-1.8 9 0s6 1.6 9-.2 4.6-1.4 6 .2' fill='none' stroke='%23C0282D' stroke-width='1.5'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --text: "Barlow", "Barlow fallback", "Arial Narrow", Arial, sans-serif;
  --hand: "Caveat", "Caveat fallback", "Segoe Print", cursive;
  --rule-x: 30px;
  --left: 46px;
  --right: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151314; --ink: #ECE8E1; --graphite: #A9A39B; --pen: #E25A55; --pen-fill: #B3262B;
    --grid: rgba(236, 232, 225, .06); --rule: rgba(226, 90, 85, .5); --hairline: rgba(236, 232, 225, .22);
    --stamp: #E25A55; --stamp-blend: normal; --print: #E9E6E0; --tape: rgba(205, 199, 182, .6);
    --tile: #1D1A1B; --card: #1F1B1C; --sticky: #2D2021; --hole: rgba(0, 0, 0, .55); --coffee: rgba(200, 160, 120, .08);
    --shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 16px 28px -14px rgba(0, 0, 0, .85);
    --shadow-lift: 0 2px 3px rgba(0, 0, 0, .5), 0 24px 36px -16px rgba(0, 0, 0, .9);
    --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 6'%3E%3Cpath d='M0 3.4c3-1.8 6-1.8 9 0s6 1.6 9-.2 4.6-1.4 6 .2' fill='none' stroke='%23E25A55' stroke-width='1.5'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #151314; --ink: #ECE8E1; --graphite: #A9A39B; --pen: #E25A55; --pen-fill: #B3262B;
  --grid: rgba(236, 232, 225, .06); --rule: rgba(226, 90, 85, .5); --hairline: rgba(236, 232, 225, .22);
  --stamp: #E25A55; --stamp-blend: normal; --print: #E9E6E0; --tape: rgba(205, 199, 182, .6);
  --tile: #1D1A1B; --card: #1F1B1C; --sticky: #2D2021; --hole: rgba(0, 0, 0, .55); --coffee: rgba(200, 160, 120, .08);
  --shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 16px 28px -14px rgba(0, 0, 0, .85);
  --shadow-lift: 0 2px 3px rgba(0, 0, 0, .5), 0 24px 36px -16px rgba(0, 0, 0, .9);
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 6'%3E%3Cpath d='M0 3.4c3-1.8 6-1.8 9 0s6 1.6 9-.2 4.6-1.4 6 .2' fill='none' stroke='%23E25A55' stroke-width='1.5'/%3E%3C/svg%3E");
  color-scheme: dark;
}

@media (min-width: 700px) { :root { --rule-x: 74px; --left: 112px; --right: 40px; } }
@media (min-width: 1120px) { :root { --rule-x: 148px; --left: 200px; --right: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  font: 400 1.125rem/1.55 var(--text);
  font-kerning: normal;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
/* Night-owl mode: one soft red safelight in the corner, like a darkroom. */
:root[data-theme="dark"] body::after { content: ""; position: fixed; inset: -20vmax -20vmax auto auto; width: 70vmax; height: 70vmax; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(226, 90, 85, .1), transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::after { content: ""; position: fixed; inset: -20vmax -20vmax auto auto; width: 70vmax; height: 70vmax; pointer-events: none; z-index: -1; background: radial-gradient(closest-side, rgba(226, 90, 85, .1), transparent); } }

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 7.4vw, 3.6rem); letter-spacing: -.015em; }
h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
p { margin: 0 0 1rem; text-wrap: pretty; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; }
cite { font-style: normal; }

a { color: inherit; text-decoration: none; background: var(--squiggle) repeat-x 0 100% / 24px 6px; padding-bottom: 5px; transition: color .15s; }
a:hover { color: var(--pen); }

:focus-visible { outline: 3px solid var(--pen); outline-offset: 4px; border-radius: 6px 11px 5px 10px / 10px 5px 11px 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:not(.js) .js-only { display: none !important; }

.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--paper); padding: .6rem 1rem; border: 2px solid var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Top strip ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 3.4rem; padding: 0 var(--right) 0 12px; background: var(--paper); border-bottom: 1px solid var(--hairline); }
@media (min-width: 700px) { .bar { padding-left: calc(var(--rule-x) - 20px); } }
/* Very small phones (320px): keep the bar inside the screen in every language. */
@media (max-width: 359px) { .bar { gap: .5rem; } .bar-right { gap: .25rem; } .bar-contents { padding-left: .5rem; padding-right: .55rem; } }
.bar-contents { border: 2px solid var(--ink); background: var(--tile); padding: .35rem .8rem .35rem .7rem; font-weight: 600; font-size: 1rem; cursor: pointer; min-height: 44px;
  border-radius: 0 6px 6px 0; border-left-width: 6px; border-left-color: var(--pen); }
.bar-contents:hover { background: var(--ink); color: var(--paper); }
.bar-right { display: flex; align-items: center; gap: .5rem; }
.langs ul { display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.langs a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .35rem; font-weight: 600; font-size: .98rem; background: none; }
.langs a[aria-current="page"] { color: var(--pen); position: relative; }
.langs a[aria-current="page"]::after { content: ""; position: absolute; inset: 8px 2px; border: 2px solid var(--pen); border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; rotate: -4deg; }
.owl { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.owl:hover { color: var(--pen); }
.owl-svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.owl-open { fill: currentColor; stroke: none; display: none; }
.owl[aria-pressed="true"] .owl-open { display: inline; }
.owl[aria-pressed="true"] .owl-shut { display: none; }

/* ---------- Contents page ---------- */
.toc { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(24rem, 88vw); height: 100%; max-height: none; overflow: visible;
  padding: 1.6rem 1.5rem 2rem 2.2rem; border: 0; border-right: 2px solid var(--ink); color: var(--ink);
  background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px;
  box-shadow: 18px 0 40px -24px rgba(0, 0, 0, .6);
  translate: -102% 0; transition: translate .38s cubic-bezier(.2, .8, .2, 1), overlay .38s allow-discrete, display .38s allow-discrete; }
.toc:popover-open { translate: 0 0; }
@starting-style { .toc:popover-open { translate: -102% 0; } }
.toc::backdrop { background: rgba(21, 19, 20, .28); }
.toc::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.2rem; width: 2px; background: var(--rule); }
.toc-tab { position: absolute; top: 5.5rem; right: -2.35rem; width: 2.35rem; padding: .8rem 0; writing-mode: vertical-rl; text-align: center;
  background: var(--label); color: #fff; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; border-radius: 0 6px 6px 0; }
.toc-title { font-size: 2.2rem; margin: .4rem 0 1.2rem; }
.toc-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.toc-list a { display: flex; align-items: baseline; gap: .4rem; padding: .45rem 0; background: none; font-weight: 600; font-size: 1.12rem; }
.toc-dots { flex: 1; border-bottom: 2px dotted var(--hairline); translate: 0 -.3em; }
.toc-page { min-width: 1.4rem; text-align: right; color: var(--graphite); }
.toc-close { border: 2px solid var(--ink); background: none; padding: .55rem .9rem; font-weight: 600; cursor: pointer; min-height: 44px; }

/* ---------- The sheet: margin rule, punch holes, pages ---------- */
.sheet { position: relative; }
.sheet::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--rule-x); width: 2px; background: var(--rule); pointer-events: none; }
@media (min-width: 700px) {
  .sheet::after { content: ""; position: absolute; top: 2rem; bottom: 0; left: calc(var(--rule-x) / 2 - 13px); width: 26px; pointer-events: none;
    background: radial-gradient(circle at 13px 13px, var(--hole) 0 10px, transparent 11px) 0 0 / 26px 220px repeat-y; }
}
.page { position: relative; padding: clamp(4.5rem, 12vw, 7rem) var(--right) clamp(4rem, 10vw, 6rem) var(--left); border-top: 1px dashed var(--hairline); }
.col-main { max-width: 34rem; min-width: 0; }
.col-main.col-wide { max-width: 40rem; }
.col-margin { min-width: 0; margin-top: 3rem; }
@media (min-width: 1120px) {
  .page { display: grid; grid-template-columns: minmax(0, 34rem) minmax(15rem, 32rem); column-gap: clamp(3rem, 7vw, 7.5rem); align-items: start; }
  .page:has(.col-wide) { grid-template-columns: minmax(0, 40rem) minmax(12rem, 28rem); }
  .col-margin { margin-top: 0; }
}
.pno { position: absolute; top: 1.4rem; right: var(--right); font-weight: 600; font-size: .92rem; color: var(--graphite); letter-spacing: .02em; }
.h-wrap { position: relative; margin-bottom: 1.6rem; }
.tagnote { margin: .5rem 0 0 .2rem; font: 600 1.45rem/1 var(--hand); color: var(--pen); rotate: -2deg; transform-origin: left; }
@media (min-width: 700px) { .tagnote { position: absolute; right: 0; top: -.2rem; margin: 0; } }
@media (min-width: 1120px) { .tagnote { right: auto; left: calc(100% + clamp(3rem, 7vw, 7.5rem)); top: .5rem; white-space: nowrap; } }

/* ---------- Shared devices ---------- */
.note { font: 600 1.45rem/1.12 var(--hand); color: var(--pen); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.15rem; border: 2px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: 600 1.05rem/1.1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, rotate .15s; }
.btn:hover { background: var(--ink); color: var(--paper); rotate: -1deg; }
.btn-primary { background: var(--pen-fill); border-color: var(--pen-fill); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-small { min-height: 44px; padding: .45rem .85rem; font-size: .98rem; }

.stamp { display: inline-block; padding: .22em .5em .18em; border: .16em solid currentColor; border-radius: .22em; outline: .07em solid currentColor; outline-offset: .12em;
  color: var(--stamp); font: 800 1.2rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  opacity: .88; mix-blend-mode: var(--stamp-blend); rotate: -11deg; -webkit-mask-image: var(--grain); mask-image: var(--grain); -webkit-mask-size: 180px; mask-size: 180px; pointer-events: none; }

.tape-label { display: inline-block; margin: 0; padding: .42em .8em .36em; background: var(--label); color: #fff; font: 800 .92rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 -1px 0 rgba(255, 255, 255, .22); rotate: var(--tr, -1.5deg);
  clip-path: polygon(0 0, 100% 0, 98.6% 50%, 100% 100%, 0 100%, 1.4% 50%); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }

/* Taped prints */
.print { position: relative; margin: 0; padding: .55rem .55rem 0; background: var(--print); box-shadow: var(--shadow); rotate: var(--r, -1.5deg); transition: translate .25s, box-shadow .25s; }
.print img { display: block; width: 100%; height: auto; }
.print picture { display: block; }
.print figcaption { padding: .5rem .25rem .7rem; font: 600 1.3rem/1.15 var(--hand); color: #1D1D1F; }
.print:not(:has(figcaption)) { padding-bottom: .55rem; }
.print::before { content: ""; position: absolute; z-index: 2; top: -.85rem; left: 50%; width: 6.5rem; height: 1.75rem; translate: -50% 0; rotate: -3.5deg; background: var(--tape);
  clip-path: polygon(0 6%, 4% 0, 8% 7%, 13% 1%, 88% 0, 93% 6%, 97% 0, 100% 8%, 100% 92%, 96% 100%, 91% 93%, 86% 100%, 12% 99%, 7% 93%, 3% 100%, 0 94%); }
@media (hover: hover) { .print:hover { translate: 0 -3px; box-shadow: var(--shadow-lift); } }
.print[data-drag].is-draggable { cursor: grab; }
.print.is-dragging { cursor: grabbing; z-index: 30; box-shadow: var(--shadow-lift); transition: none; }

/* Hand-drawn strokes (drawn in by JS when they scroll into view) */
.draw { overflow: visible; fill: none; stroke: var(--pen); stroke-linecap: round; stroke-linejoin: round; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw:not(.is-drawn) path { stroke-dashoffset: 1; }
.js .draw.is-drawn path { transition: stroke-dashoffset .7s cubic-bezier(.5, 0, .3, 1); }
.u { position: relative; white-space: nowrap; }
.u-line { position: absolute; left: -.1em; right: -.1em; bottom: -.28em; width: calc(100% + .2em); height: .42em; stroke-width: 2.2; }

/* ---------- Hero: the notebook cover ---------- */
.hero { padding-top: clamp(2rem, 6vw, 3.5rem); border-top: 0; overflow-x: clip; }
@media (min-width: 1120px) { .hero { grid-template-columns: minmax(0, 42rem) minmax(15rem, 26rem); padding-top: 3.5rem; } }
.greeting { margin: 0 0 .6rem; font: 600 clamp(1.6rem, 5vw, 2rem)/1.1 var(--hand); rotate: -2deg; transform-origin: left; word-spacing: .15em; }
.hero h1 { font-size: clamp(2.6rem, 11.2vw, 5.3rem); line-height: .94; letter-spacing: -.025em; margin-bottom: 1rem; }
.name-btn { all: unset; cursor: help; text-decoration: underline dotted var(--pen); text-decoration-thickness: .06em; text-underline-offset: .12em; }
.name-btn:focus-visible { outline: 3px solid var(--pen); outline-offset: 6px; }
.name-pop { margin: 0; inset: auto; max-width: min(21rem, calc(100vw - 32px)); padding: .9rem 1.1rem 1rem; border: 2px solid var(--ink); background: var(--sticky); color: var(--ink);
  font: 400 1.05rem/1.45 var(--text); box-shadow: var(--shadow); rotate: -1deg; }
.name-pop p { margin: 0; }
html:not(.js) .name-pop { inset: 0; margin: auto; height: fit-content; }
.tagline { font-size: clamp(1.2rem, 3.6vw, 1.45rem); line-height: 1.35; max-width: 30rem; margin-bottom: 0; }

.pb { margin: 2.4rem 0 1.8rem; }
.pb-tile { position: relative; display: grid; grid-template: auto 1fr auto auto / 1fr auto; width: clamp(15rem, 68vw, 19.5rem); aspect-ratio: 1 / 1.1;
  padding: .75rem .95rem 1rem; border: 3px solid var(--ink); background: var(--tile); rotate: -2deg; box-shadow: var(--shadow); cursor: pointer; }
.pb-no { font-weight: 800; font-size: 1.55rem; line-height: 1; }
.pb-mass { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.pb-sym { grid-column: 1 / -1; align-self: center; font-weight: 800; font-size: clamp(6rem, 27vw, 8.3rem); line-height: .8; letter-spacing: -.03em; }
.pb-name { grid-column: 1 / -1; position: relative; justify-self: start; font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--graphite); }
.pb-name .strike { position: absolute; left: -.2em; top: 0; width: calc(100% + .4em); height: 100%; stroke-width: 3.2; }
.pb-fix { grid-column: 1 / -1; font: 700 clamp(1.9rem, 7.4vw, 2.35rem)/1 var(--hand); color: var(--pen); rotate: -4deg; transform-origin: left; margin: .15rem 0 0 -.1rem; white-space: nowrap; }
.pb-fix-ink { display: inline-block; }
.pb-stamp { position: absolute; right: -2.6rem; top: 40%; font-size: clamp(1.3rem, 5.4vw, 1.75rem); rotate: -14deg; opacity: .92; }
@media (max-width: 420px) { .pb-stamp { right: -.9rem; } }
.pb-cap { margin-top: 1.4rem; max-width: 26rem; color: var(--graphite); font-size: 1.05rem; line-height: 1.45; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }

.print-a { max-width: 22rem; margin: 0 0 0 auto; width: 80%; }
@media (min-width: 700px) and (max-width: 1119px) { .hero .col-margin { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; } .print-a { width: 100%; } }
@media (min-width: 1120px) { .print-a { width: 100%; margin: 7.5rem 0 0 -1rem; } }
.egg { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.note-a { position: relative; max-width: 17rem; margin: 1.2rem 0 0; padding-left: 4.3rem; rotate: -2deg; }
.note-a .arrow { position: absolute; left: 0; top: -1.6rem; width: 3.6rem; height: 2.8rem; stroke-width: 2.2; }
@media (min-width: 1120px) { .note-a { margin-left: 1rem; } }

/* ---------- About ---------- */
.lead { font-size: 1.2rem; }
.sig { font-size: 1.6rem; letter-spacing: .2em; margin: 1.2rem 0 2.4rem; }
.sticky { position: relative; max-width: 24rem; padding: 1.5rem 1.4rem 1.2rem; background: var(--sticky); box-shadow: var(--shadow); rotate: -1.2deg; }
.sticky::before { content: ""; position: absolute; top: -.8rem; left: 1.4rem; width: 5.5rem; height: 1.6rem; rotate: 4deg; background: var(--tape);
  clip-path: polygon(0 6%, 5% 0, 10% 6%, 90% 0, 95% 7%, 100% 0, 100% 94%, 94% 100%, 88% 94%, 8% 100%, 3% 94%, 0 100%); }
.sticky h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .8rem; }
.now { margin: 0; }
.now div { margin-bottom: .85rem; }
.now dt { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--graphite); }
.now dd { margin: .1rem 0 0 1.85rem; font-weight: 600; line-height: 1.3; }
.now-note { display: block; margin-top: .3rem; font: 600 1.28rem/1.12 var(--hand); color: var(--pen); }
.now-updated { margin: .4rem 0 0; font-size: .92rem; color: var(--graphite); }
.icon { width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.about-margin { display: grid; gap: 2.6rem; align-items: start; }
.margin-note { max-width: 20rem; margin: 0; rotate: -2deg; }
.print-b { width: 62%; max-width: 15rem; }
.print-g { width: 56%; max-width: 13.5rem; justify-self: end; margin-top: -1rem; }
.print-f { width: 94%; max-width: 24rem; }
@media (min-width: 700px) and (max-width: 1119px) {
  .about-margin { grid-template-columns: 1fr 1fr; align-items: start; }
  .margin-note { grid-column: 1 / -1; }
  .print-b, .print-g { width: 88%; }
  .print-g { justify-self: center; margin-top: 2rem; }
  .print-f { grid-column: 1 / -1; width: 70%; }
}
@media (min-width: 1120px) {
  .about-margin { grid-template-columns: 1fr 1fr; padding-top: .6rem; }
  .margin-note { grid-column: 1 / -1; }
  .print-b { width: 100%; }
  .print-g { width: 92%; margin-top: 4rem; }
  .print-f { grid-column: 1 / -1; width: 92%; margin-top: -1rem; }
}

/* ---------- Why water: the one serious page ---------- */
.mission { background: var(--paper); padding-block: clamp(6rem, 16vw, 11rem); }
.mission h2 { font-size: 1.15rem; font-weight: 600; color: var(--graphite); letter-spacing: .01em; margin-bottom: 2.2rem; }
.big { position: relative; isolation: isolate; margin: 0 0 2.6rem; padding: .3rem 0 .6rem; font-weight: 800; font-size: clamp(2.3rem, 7.6vw, 4rem); line-height: 1.02; letter-spacing: -.02em; max-width: 15ch; }
.mission { overflow: clip; }
.waterline { position: absolute; z-index: -1; left: -1rem; width: 100vw; bottom: -.4rem; height: 44%; border-top: 2px solid var(--hairline); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.js .mission:not(.is-visible) .waterline { height: 0; }
.js .mission.is-visible .waterline { transition: height 2.6s cubic-bezier(.3, .1, .2, 1); }
.mission .col-main > p:not(.big) { font-size: 1.2rem; max-width: 33rem; }
.fact { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline); font-size: 1.12rem; }
.fact-source { display: block; margin-top: .5rem; font-size: .95rem; color: var(--graphite); }

/* ---------- Experience: field log ---------- */
.log { list-style: none; margin: 0; padding: 0; }
.log-item { position: relative; padding: 0 0 1.7rem 1.3rem; border-left: 2px solid var(--hairline); }
.log-item::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border: 2px solid var(--ink); background: var(--paper); border-radius: 50%; }
.log-item:first-child::before { background: var(--pen); border-color: var(--pen); }
.log-item h3 { margin-bottom: .2rem; }
.log-item p { margin-bottom: .3rem; }
.log-date { font-size: .95rem; font-weight: 600; color: var(--graphite); margin-bottom: .15rem !important; }
.log-where { font-weight: 600; }
.log-org { color: var(--graphite); }
.log-logo { display: block; width: 9rem; height: auto; margin: .7rem 0 .3rem; }
.slip { position: relative; max-width: 22rem; padding: 1.4rem 1.3rem 1.2rem; background: var(--card); border: 1px solid var(--hairline); box-shadow: var(--shadow); rotate: 1.4deg;
  background-image: repeating-linear-gradient(transparent 0 25px, var(--grid) 25px 26px); scroll-margin-top: 6rem; }
.slip::before { content: ""; position: absolute; top: -.8rem; right: 2rem; width: 5rem; height: 1.6rem; rotate: -5deg; background: var(--tape); }
.slip h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--pen); }
.slip p { margin: 0; }
.slip:target { outline: 3px solid var(--pen); outline-offset: 6px; }
@media (min-width: 1120px) { .slip { margin-top: 26rem; } }

/* ---------- Education: sediment core ---------- */
.core { list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.layer { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.2rem; }
.layer-strip { position: relative; border-inline: 2px solid var(--ink); }
.layer-1 .layer-strip { background: radial-gradient(circle, var(--graphite) 0 1.1px, transparent 1.5px) 0 0 / 7px 7px; border-top: 0; }
.layer-1 .layer-strip::before { content: ""; position: absolute; left: -2px; right: -2px; top: -.8rem; height: 1.6rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.layer-2 .layer-strip { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--graphite) 0 1.2px, transparent 1.2px 7px); }
.layer-body { padding: 1.3rem 0 1.8rem; }
.layer-body h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .3rem; }
.layer-body p { margin-bottom: .35rem; }
.core-note { position: relative; margin: .9rem 0 0 !important; rotate: -2.5deg; }

/* ---------- Skills: periodic table ---------- */
.intro { color: var(--graphite); }
.ptable { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 1.4rem; }
.pgroup h3.tape-label { margin-bottom: .9rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(auto-fill, minmax(7.6rem, 1fr)); } }
.el { position: relative; perspective: 900px; }
.el-wide { grid-column: span 2; }
.el-card { position: relative; height: 100%; }
.el-face { min-height: 7.4rem; height: 100%; padding: .45rem .55rem .55rem; border: 2px solid var(--ink); background: var(--tile); display: flex; flex-direction: column; }
.el-no { font-weight: 600; font-size: .82rem; min-height: 1.1em; line-height: 1.1; }
.el-sym { font-weight: 800; font-size: 2.35rem; line-height: 1; margin-top: .15rem; letter-spacing: -.02em; }
.el-name { margin-top: auto; font-weight: 600; font-size: .84rem; line-height: 1.15; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 1120px) {
  #qualifications .col-main { grid-column: 1 / -1; max-width: none; }
  .ptable { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2.2rem 3.2rem; }
  .tiles { display: flex; flex-wrap: nowrap; }
  .el { width: 7.6rem; flex: none; }
  .el-wide { width: calc(15.2rem + .5rem); }
}
.el-back { font-size: .9rem; line-height: 1.3; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.el-back p { margin: 0; }
html:not(.js) .el-back { height: auto; min-height: 0; border-top: 0; }
.js .el-card { display: grid; grid-template-columns: minmax(0, 1fr); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3, .7, .3, 1); }
.js .el-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.js .el-back { transform: rotateY(180deg); justify-content: center; }
.js .el.is-flipped .el-card { transform: rotateY(180deg); }
.el-btn { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.el-btn:focus-visible { outline-offset: 3px; }
@media (hover: hover) { .el:hover .el-front { background: var(--sticky); } }

/* ---------- Languages: lab results ---------- */
.table-wrap { overflow-x: auto; }
.lab-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.lab-table th, .lab-table td { padding: .7rem .8rem .7rem 0; text-align: left; vertical-align: top; }
.lab-table thead th { font-weight: 600; font-size: .9rem; color: var(--graphite); border-bottom: 2px solid var(--ink); padding-top: 0; }
.lab-table tbody th { font-weight: 800; }
.lab-table tr.row-end > * { border-bottom: 1px solid var(--hairline); }
.lab-table tbody th[rowspan] { border-bottom: 1px solid var(--hairline); }
.lvl { position: relative; display: inline-block; font-weight: 800; font-size: 1.15rem; line-height: 1.2; min-width: 2.2rem; }
.lvl .ring { position: absolute; left: -.55em; top: -.42em; width: calc(100% + 1.1em); height: calc(100% + .84em); stroke-width: 2.2; }
.lvl:not(.c1) { font-weight: 600; }
.footnote { margin-top: 1.4rem; font-size: .98rem; color: var(--graphite); }

/* ---------- Handball: specimen card ---------- */
.specimen { max-width: 36rem; }
.spec-card { display: grid; }
.spec-face { grid-area: 1 / 1; position: relative; padding: 1rem 1rem 1.2rem; background: var(--card); border: 1.5px solid var(--ink); border-top: 7px solid var(--pen); box-shadow: var(--shadow); }
html:not(.js) .spec-back { grid-area: auto; margin-top: 1.2rem; }
.spec-photo { margin: 0; }
.spec-photo img { display: block; width: 100%; height: auto; }
.credit { margin-top: .35rem; font-size: .88rem; font-weight: 600; color: var(--graphite); text-align: right; }
.spec-no { position: absolute; left: -.7rem; top: 1.6rem; font-size: 1.1rem; }
.spec-fields { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: .8rem 0 0; padding-top: .8rem; border-top: 1px solid var(--hairline); }
.spec-fields div { display: contents; }
.spec-fields dt { font-weight: 600; font-size: .95rem; color: var(--graphite); }
.spec-fields dd { margin: 0; font-weight: 600; }
.spec-back { background-image: repeating-linear-gradient(transparent 0 29px, var(--hairline) 29px 30px); background-position: 0 3.2rem; }
.spec-back h3 { font-size: 1.3rem; font-weight: 800; margin: .3rem 0 1rem; }
.spec-back ul { margin: 0; padding-left: 1.2rem; line-height: 30px; }
.spec-back li { margin: 0; }
.spec-back .rare { margin-top: .8rem; }
.spec-flip { margin-top: 1.4rem; }
.js .spec-card { transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3, .7, .3, 1); }
.js .specimen { perspective: 1400px; }
.js .spec-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.js .spec-back { transform: rotateY(180deg); }
.js .specimen.is-flipped .spec-card { transform: rotateY(180deg); }

/* ---------- This or that: experiments ---------- */
#results { overflow: clip; }
.coffee-ring { position: absolute; width: 11rem; height: 11rem; right: 6%; top: 3rem; fill: none; stroke: var(--coffee); pointer-events: none; rotate: 18deg; }
@media (min-width: 1120px) { .coffee-ring { right: auto; left: calc(var(--left) + 22rem); top: 2rem; } }
.tests { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.test { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1rem; padding: .95rem 0; border-bottom: 1px dashed var(--hairline); }
.test:first-child { border-top: 1px dashed var(--hairline); }
.test-q { margin: 0; font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.test-no { color: var(--graphite); font-weight: 400; }
.test-res { grid-column: 1 / -1; margin: 0; font-size: 1.08rem; }
.test-res strong { color: var(--pen); font-weight: 800; font-size: 1.2rem; }
.test-res:focus { outline: none; }
.test-note { display: block; font: 600 1.3rem/1.1 var(--hand); color: var(--pen); margin-top: .2rem; }
.tube { display: none; }
.test.is-running .tube { display: inline-block; }
.test.is-running .btn-run { display: none; }
.tube-svg { width: 1.6rem; height: 2.7rem; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.tube-liquid { fill: var(--pen); stroke: none; opacity: .8; transform-origin: 50% 100%; transform-box: fill-box; }
.bub { fill: var(--paper); stroke: none; }
.test.is-running .tube-liquid { animation: fill .7s ease-out both; }
.test.is-running .bub { animation: bubble .7s ease-in infinite; }
.test.is-running .b2 { animation-delay: .2s; }
.test.is-running .b3 { animation-delay: .4s; }
@keyframes fill { from { transform: scaleY(.2); } }
@keyframes bubble { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-9px); opacity: 0; } }
.evidence { display: grid; gap: 2.8rem; }
.print-d, .print-e { width: 88%; max-width: 20rem; }
.print-e { justify-self: end; }
@media (min-width: 700px) and (max-width: 1119px) { .evidence { grid-template-columns: 1fr 1fr; } .print-d, .print-e { width: 100%; } }
@media (min-width: 1120px) { .evidence { padding-top: 16rem; } }

/* ---------- Reviews: peer review ---------- */
.review-sheet { position: relative; max-width: 32rem; padding: 1.6rem 1.5rem 2.4rem 2.6rem; background: var(--card); border: 1px solid var(--hairline); box-shadow: var(--shadow); rotate: .5deg; }
.review-sheet::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.5rem; border-left: 1px solid var(--rule); }
.review-sheet h3 { font-size: 1rem; font-weight: 600; color: var(--graphite); padding-bottom: .6rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--hairline); }
.reviews { margin: 0 0 1.4rem; }
.reviews div { margin-bottom: 1.1rem; }
.reviews dt { font-weight: 600; font-size: .95rem; color: var(--graphite); }
.reviews dd { margin: .1rem 0 0; font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.decision { font-weight: 800; margin-bottom: .3rem; }
.stamp-accepted { position: absolute; right: -.6rem; bottom: 3.2rem; font-size: clamp(1.4rem, 5vw, 1.9rem); rotate: -12deg; }
.review-note { margin: 1.4rem 0 0; font-size: 1.35rem; rotate: -1.5deg; max-width: 14rem; }

/* ---------- Contact ---------- */
.print-big { width: 100%; max-width: 40rem; margin: .5rem 0 2.6rem; }
.contact-list { display: grid; gap: 1.3rem; margin: 0; }
.contact-list dt { font-weight: 600; font-size: .95rem; color: var(--graphite); }
.contact-list dd { position: relative; margin: .15rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-weight: 600; font-size: clamp(1.1rem, 4.6vw, 1.4rem); overflow-wrap: anywhere; }
/* Phones: the contact links, the in-page link and the logo links get full 44px touch targets. */
@media (max-width: 699px) { .contact-list dd > a, p > a[href^="#"], .logo a { display: inline-flex; align-items: center; min-height: 44px; } }
.copy-wrap { position: relative; display: inline-flex; align-items: center; }
.stamp-copied { position: absolute; left: calc(100% + .6rem); top: 50%; translate: 0 -50%; font-size: 1rem; opacity: 0; }
.stamp-copied.is-on { opacity: .9; }
@media (max-width: 520px) { .stamp-copied { left: auto; right: -.4rem; top: -.6rem; translate: 0 -100%; } }

/* ---------- Footer: Erasmus+ block ---------- */
.site-foot { position: relative; padding: 3.5rem var(--right) 3rem var(--left); border-top: 1px dashed var(--hairline); }
/* White panel in both themes; the EU emblem comes first and stays the most prominent logo (min. 60px). */
.logo-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; width: fit-content; max-width: 100%; padding: 1.6rem 1.8rem; background: #FFFFFF; }
.logo { padding: .5rem; }
.logo a { display: block; padding: 0; background: none; }
.logo img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.logo-eu img { height: 96px; }
.logo-erasmus img { height: 46px; }
.logo-inedivim img { height: 80px; }
.logo-ycycle img { height: 54px; }
.logo-devyou img { height: 44px; }
@media (max-width: 699px) {
  .logo-panel { gap: .8rem 1rem; padding: 1rem; }
  .logo { padding: .25rem; }
  .logo-eu img { height: 80px; }
  .logo-erasmus img { height: 34px; }
  .logo-inedivim img { height: 64px; }
  .logo-ycycle img { height: 40px; }
  .logo-devyou img { height: 36px; }
}
.made { max-width: 56rem; margin: 1.4rem 0 0; font-size: 1rem; line-height: 1.5; }
.made a { font-weight: 600; }
.disclaimer { max-width: 56rem; margin: .8rem 0 0; font-size: .88rem; line-height: 1.5; color: var(--graphite); }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.foot-legal a, .linkish { display: inline-flex; align-items: center; min-height: 44px; font-size: .98rem; font-weight: 600; }
.linkish { padding: 0 0 5px; border: 0; color: inherit; font-family: inherit; cursor: pointer; background: var(--squiggle) repeat-x 0 100% / 24px 6px; }
.linkish:hover, .foot-legal a:hover { color: var(--pen); }
.foot-small { margin: 1rem 0 0; font-size: .92rem; color: var(--graphite); }

/* ---------- Cookie banner (not a modal; Accept and Reject look the same) ---------- */
.consent { position: fixed; z-index: 45; right: 12px; bottom: 12px; width: min(27rem, calc(100vw - 24px)); max-height: calc(100vh - 5rem); overflow: auto;
  padding: 1.1rem 1.2rem 1rem; background: var(--card); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow-lift); }
.consent::before { content: ""; position: absolute; top: -11px; left: 50%; width: 92px; height: 22px; translate: -50% 0; rotate: -2deg; background: var(--tape); }
.consent-title { margin: 0 0 .5rem; font-size: 1.2rem; line-height: 1.2; }
.consent p { margin: 0 0 .8rem; font-size: .95rem; line-height: 1.45; }
.consent-actions { display: flex; gap: .6rem; margin: 0 !important; }
.consent-actions .btn { flex: 1; }

/* ---------- Legal pages ---------- */
.bar-back { display: inline-flex; align-items: center; min-width: 0; background: var(--tile); color: var(--ink); line-height: 1.1; }
@media (max-width: 420px) { .bar-back { font-size: .9rem; } }
.bar-back::before { content: "\2190"; margin-right: .45rem; }
.legal-page { padding-top: clamp(3rem, 8vw, 4.5rem); }
.legal-title { font-size: clamp(1.95rem, 7.4vw, 3.4rem); letter-spacing: -.015em; hyphens: auto; overflow-wrap: break-word; }
.legal-updated { margin: .6rem 0 2rem; color: var(--graphite); }
.legal-page h2 { margin: 2.2rem 0 .7rem; font-size: 1.45rem; letter-spacing: 0; line-height: 1.2; }
.legal-page ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-page li { margin-bottom: .7rem; }
.legal-page a { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.4rem; }
.table-wrap table { border-collapse: collapse; min-width: 34rem; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: .55rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.table-wrap thead th { border-bottom: 2px solid var(--ink); }
.table-wrap code { font: 600 .92rem/1.3 var(--text); }
/* Phones: each row becomes a small card, so nothing is cut off. */
@media (max-width: 699px) {
  .table-wrap { overflow: visible; }
  .table-wrap table { min-width: 0; width: 100%; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap tr { padding: .6rem 0 .8rem; border-bottom: 2px solid var(--hairline); }
  .table-wrap th, .table-wrap td { padding: .2rem 0; border: 0; }
  .table-wrap td::before { content: attr(data-label) ": "; font-weight: 700; }
}

/* ---------- Night note ---------- */
.night-note { position: fixed; z-index: 40; left: 12px; bottom: 12px; max-width: 19rem; padding: 1.1rem 1.1rem .9rem; background: var(--sticky); color: var(--ink); box-shadow: var(--shadow-lift); rotate: -1.5deg; }
.night-note p { margin: 0 0 .7rem; font-weight: 600; }
.night-note-actions { display: flex; gap: .5rem; margin: 0 !important; }

/* ---------- Easter egg overlay ---------- */
.egg-layer { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.egg-ball { position: absolute; left: 0; top: 0; width: 46px; height: 46px; }
.egg-goal { position: absolute; width: 132px; height: 190px; }
.egg-goal .post { fill: none; stroke: #C0282D; stroke-width: 7; stroke-dasharray: 12 10; stroke-linecap: butt; }
.egg-goal .post-base { fill: none; stroke: #F4F4EF; stroke-width: 7; }
.egg-goal .net { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .45; }
.egg-stamp { position: absolute; font-size: clamp(1.8rem, 7vw, 3rem); }

/* ---------- 404 ---------- */
.nf-page { min-height: 80vh; border-top: 0; }
.nf-page h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin: 2rem 0 2rem; }
.nf-tile { display: grid; grid-template-rows: auto 1fr; width: 10rem; aspect-ratio: 1 / 1.1; padding: .6rem .8rem; border: 3px solid var(--ink); background: var(--tile); rotate: -3deg; box-shadow: var(--shadow); }
.nf-tile .pb-sym { font-size: 6rem; }
.nf-tile { margin-bottom: 2.6rem; }
.nf-block { margin-bottom: 1.8rem; }
.nf-text { font-size: 1.3rem; font-weight: 600; }

/* ---------- Load animation: initial states (only when the intro plays) ---------- */
/* The tile itself is painted straight away (it's the LCP element) and only settles into place. */
.intro .pb-tile { transform: translateY(-14px) rotate(-2.5deg) scale(1.04); }
.intro .pb-stamp { opacity: 0; }
.intro .pb-fix-ink { clip-path: inset(0 100% 0 0); }
.intro .pb-name .strike path { stroke-dashoffset: 1; }
/* Failsafe: if the script never runs, show everything after 3 s. */
.intro .pb-tile { animation: failsafe-settle 0s 3s forwards; }
.intro .pb-stamp { animation: failsafe 0s 3s forwards; }
@keyframes failsafe-settle { to { transform: none; } }
.intro .pb-fix-ink { animation: failsafe-clip 0s 3s forwards; }
@keyframes failsafe { to { opacity: 1; } }
@keyframes failsafe-clip { to { clip-path: none; } }

/* ---------- Theme switch ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-fade, .theme-fade * { transition: background-color .3s, color .3s, border-color .3s !important; }

/* ---------- Reduced motion: final states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .draw:not(.is-drawn) path { stroke-dashoffset: 0; }
  .js .mission:not(.is-visible) .waterline { height: 58%; }
  .print:hover { translate: none; }
}

/* ---------- Print (someone printing the page itself) ---------- */
@media print {
  .bar, .toc, .night-note, .consent, .egg-layer, .skip, .js-only { display: none !important; }
  body { background: #fff; }
  .page { break-inside: avoid-page; }
}
