@font-face{font-family:'Alegreya';font-style:italic;font-weight:400 900;font-display:swap;src:url(/fonts/alegreya-italic-400-900-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Alegreya';font-style:italic;font-weight:400 900;font-display:swap;src:url(/fonts/alegreya-italic-400-900-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Alegreya';font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/alegreya-normal-400-900-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Alegreya';font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/alegreya-normal-400-900-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Alegreya Sans';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/alegreya-sans-italic-400-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Alegreya Sans';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/alegreya-sans-italic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Alegreya Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/alegreya-sans-normal-400-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Alegreya Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/alegreya-sans-normal-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Alegreya Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/alegreya-sans-normal-500-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Alegreya Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/alegreya-sans-normal-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Alegreya Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/alegreya-sans-normal-700-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Alegreya Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/alegreya-sans-normal-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bad Script';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/bad-script-normal-400-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Bad Script';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/bad-script-normal-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* 100ex.men · school notebook: squared paper, blue ballpoint, red felt-tip. */
:root {
  --paper: oklch(0.968 0.014 86);
  --paper-shade: oklch(0.94 0.02 84);
  --grid: oklch(0.72 0.06 245 / 0.22);
  --margin: oklch(0.64 0.17 24 / 0.5);
  --ink: oklch(0.31 0.08 264);
  --ink-2: oklch(0.43 0.055 264);
  --ink-3: oklch(0.56 0.035 264);
  --red: oklch(0.56 0.2 27);
  --red-ink: oklch(0.49 0.19 27);
  --red-wash: oklch(0.6 0.2 27 / 0.12);
  --cover: oklch(0.34 0.09 262);
  --cover-ink: oklch(0.95 0.018 86);
  --cover-dim: oklch(0.84 0.035 262);
  --cover-line: oklch(0.95 0.018 86 / 0.22);
  --cover-red: oklch(0.74 0.15 28);

  --serif: 'Alegreya', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --hand: 'Bad Script', 'Segoe Print', 'Bradley Hand', cursive;

  --cell: 24px;
  --mx: clamp(16px, 5vw, 76px);
  --gx: calc(var(--mx) + clamp(16px, 3.4vw, 46px));
  --gr: clamp(18px, 5vw, 72px);
  --markw: clamp(232px, 42vw, 500px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent calc(var(--mx) - 1px), var(--margin) calc(var(--mx) - 1px), var(--margin) calc(var(--mx) + 1px), transparent calc(var(--mx) + 1px)),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, var(--cell) var(--cell), var(--cell) var(--cell);
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
::selection { background: oklch(0.85 0.1 27); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gx); top: -4rem; z-index: 10; padding: .6rem 1rem; background: var(--ink); color: var(--paper); font-weight: 700; border-radius: 6px; }
.skip:focus { top: .75rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.hand { font-family: var(--hand); font-weight: 400; color: var(--red); }

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--gr) 0 var(--gx);
}
.logo { font: 400 1.35rem/1 var(--hand); color: var(--ink); text-decoration: none; }
.logo span { color: var(--red); }
.top-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 1.8rem); }
.lang, .top-cta { font: 700 1rem/1 var(--sans); text-decoration: none; padding: .55rem .15rem; }
.lang { color: var(--ink-2); letter-spacing: .08em; }
.lang:hover { color: var(--ink); }
.top-cta { color: var(--red-ink); background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.top-cta:hover { background-size: 100% 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.2rem, 7vh, 5rem) var(--gr) clamp(4rem, 11vh, 7.5rem) var(--gx); }
.hero h1 { font-weight: 400; }
.mark { display: block; width: var(--markw); margin: 0 0 clamp(.2rem, 1vw, .8rem) -1%; }
.mark-svg { width: 100%; height: auto; overflow: visible; }
.mark-svg .one, .mark-svg .ring, .mark-svg .lid, .mark-svg .lash { fill: none; stroke: var(--ink); stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.mark-svg .iris { fill: var(--ink); }
.mark-svg .glint { fill: var(--paper); }
.blink { transform-box: fill-box; transform-origin: 50% 50%; }
.t1, .t2 {
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: clamp(2.65rem, 12.4vw, 8.6rem); line-height: .92; letter-spacing: -0.015em;
}
.t2 { position: relative; width: fit-content; margin: .06em 0 0 .5em; }
.t2-word { position: relative; z-index: 1; }
.title-loop { position: absolute; left: -11%; top: -14%; width: 122%; height: 134%; overflow: visible; pointer-events: none; }
@media (min-width: 1100px) {
  .hero { display: grid; grid-template-columns: auto minmax(17rem, 27rem); column-gap: clamp(3rem, 6vw, 7rem); align-items: end; }
  .t1, .t2 { font-size: clamp(5rem, 7.3vw, 8rem); }
  .hero-side { padding-bottom: .6rem; }
  .hero-side .author { margin-top: 0; }
}
.title-loop .loop { fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.author { margin: clamp(1.6rem, 3.4vw, 2.4rem) 0 0; font: 700 .95rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.lede { max-width: 35ch; margin: .9rem 0 0; font: 400 clamp(1.2rem, 1.9vw, 1.45rem)/1.5 var(--serif); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
.hero-note {
  position: absolute; margin: 0;
  top: clamp(2.6rem, 8vh, 5.6rem);
  left: calc(var(--gx) + var(--markw) * 0.9);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem); line-height: 1; white-space: nowrap;
  transform: rotate(-8deg); transform-origin: left center;
}
.hero-note .arr { width: clamp(42px, 5vw, 70px); height: auto; margin: .2rem 0 0 -1.6rem; }
.arr path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95em 1.55em 1em;
  background: var(--red); color: var(--paper);
  font: 700 1.08rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  border: 0; cursor: pointer;
  border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  box-shadow: 0 2px 0 var(--red-ink);
  transition: transform .3s var(--ease), background-color .2s;
}
.btn:hover { background: var(--red-ink); transform: translateY(-2px) rotate(-1.2deg); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.link { font: 500 1.08rem/1.3 var(--sans); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .32em; }
.link:hover { color: var(--red-ink); }

/* ---------- sections ---------- */
.sec { padding: clamp(4.5rem, 11vw, 9rem) var(--gr) clamp(4.5rem, 11vw, 9rem) var(--gx); }
.sec h2 { max-width: 17ch; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); font: 700 clamp(2.05rem, 4.6vw, 3.7rem)/1.02 var(--serif); letter-spacing: -0.012em; }

/* lexicon: dictionary entries under a rule, headword in red so it never reads as part of the section title */
.words h2 { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.lex { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(3rem, 7vw, 6rem); max-width: 70rem; margin: 0; }
.entry { padding-top: 1.3rem; border-top: 2px solid var(--ink); }
.entry dt { margin: 0 0 .9rem; }
.entry dfn { font: italic 700 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--serif); color: var(--red); }
.pron { display: block; margin-top: .55rem; font: 500 1rem/1.2 var(--sans); letter-spacing: .05em; color: var(--ink-3); }
.entry dd { margin: 0; max-width: 44ch; font: 400 1.2rem/1.58 var(--serif); }
.entry .note { display: flex; align-items: flex-end; gap: .4rem; margin-top: 1.1rem; font-family: var(--hand); font-size: 1.4rem; line-height: 1.1; transform: rotate(-3deg); transform-origin: left; }
.entry .note .arr { width: 44px; height: auto; flex: none; transform: translateY(-.25rem); }

/* the hundred */
.hundred { display: grid; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
@media (min-width: 960px) { .hundred { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.hundred-text p { max-width: 42ch; font: 400 1.2rem/1.6 var(--serif); }
.tagline.hand { display: inline-block; margin-top: .8rem; font: 400 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 var(--hand); color: var(--red); transform: rotate(-4deg); transform-origin: left; }
.field-wrap { margin: 0; }
.field { display: grid; grid-template-columns: repeat(10, 1fr); max-width: 38rem; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
@media (max-width: 520px) { .field { grid-template-columns: repeat(8, 1fr); } }
.c { position: relative; display: grid; place-items: center; aspect-ratio: 1; cursor: default; }
.c svg { position: absolute; inset: -14%; width: 128%; height: 128%; overflow: visible; pointer-events: none; }
.c .ring { fill: transparent; stroke: var(--ink-3); stroke-width: 1.25; transition: fill .4s, stroke .4s; }
.c .loop { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .9s var(--ease), opacity .25s; }
.c b { position: relative; font: 400 clamp(.74rem, 1.8vw, 1rem)/1 var(--hand); color: var(--ink-2); transition: color .3s, transform .45s var(--ease); }
.c.was .loop { stroke-dashoffset: 0; opacity: .22; transition: opacity 1.4s; }
.c.on .ring { fill: var(--red-wash); stroke: var(--red); }
.c.on .loop { stroke-dashoffset: 0; opacity: 1; }
.c.on b { color: var(--red); transform: scale(1.3) rotate(-7deg); }
.hint.hand { margin-top: 1.1rem; font-size: 1.15rem; color: var(--ink-3); }

/* popular science */
.science-in { max-width: 58rem; }
.science .lead { max-width: 46ch; font: 400 clamp(1.2rem, 1.9vw, 1.4rem)/1.55 var(--serif); }
.facts { margin: clamp(1.8rem, 4vw, 2.6rem) 0 0; }
.fact { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: .2rem 1.4rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid oklch(0.31 0.08 264 / .28); }
.fact:first-child { border-top: 1px solid oklch(0.31 0.08 264 / .28); }
.fact dt { font-size: 1.25rem; line-height: 1.2; }
.fact dd { margin: 0; font: 400 1.2rem/1.45 var(--serif); }
@media (max-width: 520px) { .fact { grid-template-columns: 1fr; } }
.check { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; margin-top: clamp(2rem, 4vw, 2.8rem); }
.check-mark { display: inline-flex; align-items: flex-end; gap: .2rem; margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.5rem); line-height: 1; transform: rotate(-7deg); }
.tick { width: 2.1rem; height: auto; overflow: visible; }
.tick path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.check-text { flex: 1 1 22rem; max-width: 40ch; margin: 0; font: 700 clamp(1.15rem, 1.8vw, 1.32rem)/1.45 var(--serif); }
.notes { position: relative; list-style: none; margin: clamp(2.2rem, 4vw, 3rem) 0 0; padding: .9rem 0 0; max-width: 44rem; }
.notes::before { content: ''; position: absolute; top: 0; left: 0; width: 9rem; border-top: 1px solid var(--ink-3); }
.notes li { margin: 0 0 .35rem; font: 400 .95rem/1.45 var(--sans); color: var(--ink-2); }
.notes sup { color: var(--red); font-weight: 700; }

/* who it's for */
.whom-list { list-style: none; counter-reset: w; margin: 0; padding: 0; display: grid; gap: clamp(1.8rem, 3.6vw, 2.8rem); }
.whom-list li { counter-increment: w; position: relative; max-width: 27ch; padding-left: 2.6em; font: 400 clamp(1.35rem, 2.7vw, 2rem)/1.28 var(--serif); }
.whom-list li::before { content: counter(w) '.'; position: absolute; left: 0; top: -.12em; font: 400 1.5em/1 var(--hand); color: var(--red); }
@media (min-width: 760px) {
  .whom-list li:nth-child(2) { margin-left: clamp(2rem, 9vw, 10rem); }
  .whom-list li:nth-child(3) { margin-left: clamp(4rem, 18vw, 20rem); }
}

/* reserve: the notebook's back cover */
.cover { background: var(--cover); color: var(--cover-ink); outline: none; }
.cover-in { max-width: 50rem; }
.cover h2 { font-style: italic; color: var(--cover-ink); }
.cover .lead { max-width: 44ch; font: 400 1.25rem/1.55 var(--serif); }
.formats { width: 100%; margin: 2.2rem 0 .8rem; border-collapse: collapse; font: 400 1.05rem/1.3 var(--sans); }
.formats th, .formats td { padding: .85rem 1rem; text-align: left; vertical-align: top; border: 1px solid var(--cover-line); }
.formats th { font: 700 1.12rem/1.2 var(--serif); }
.formats .st { font: 400 1.1rem/1.2 var(--hand); color: var(--cover-red); white-space: nowrap; }
@media (max-width: 520px) { .formats th, .formats td { padding: .65rem .55rem; font-size: .98rem; } .formats .st { white-space: normal; } }
.small { font-size: .98rem; color: var(--cover-dim); }

.form { position: relative; display: grid; gap: 1.4rem; margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.row { display: grid; gap: 1rem 1.2rem; }
@media (min-width: 640px) {
  .row.two { grid-template-columns: 1fr 1fr; }
  .row.three { grid-template-columns: 1fr 1fr 7.5rem; }
}
@media (min-width: 760px) { .row.contacts { grid-template-columns: 1fr 1.25fr 1fr; } }
.fl { display: grid; gap: .45rem; }
.fl > span, legend { font: 700 1rem/1.2 var(--sans); letter-spacing: .01em; }
.fl .opt { font-weight: 400; font-style: normal; color: var(--cover-dim); }
.form input[type=text], .form input[type=email], .form input[type=number], .form textarea {
  width: 100%; padding: .8rem .95rem;
  font: 400 1.1rem/1.35 var(--sans); color: var(--ink);
  background: var(--paper); border: 2px solid transparent;
  border-radius: 7px 11px 8px 12px / 11px 7px 12px 8px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 3.2rem; }
.form input::placeholder, .form textarea::placeholder { color: var(--ink-3); }
.form input:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--cover-red); box-shadow: 0 0 0 3px oklch(0.74 0.15 28 / .35); }
.form [aria-invalid="true"] { border-color: var(--cover-red); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: .65rem; }
.choice { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.choice legend { width: 100%; }
.choice label { position: relative; display: inline-flex; align-items: center; padding: .3rem 0; font: 500 1.12rem/1.2 var(--sans); cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span::before {
  content: ''; display: inline-block; width: 1.45em; height: 1.45em; margin-right: .55rem; vertical-align: -.38em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 28 28'%3E%3Cpath d='M12 3.2C17 3 20.8 6.6 20.7 11.8C20.6 17 16.9 20.8 11.9 20.8C7 20.8 3.3 17.1 3.3 12.1C3.4 7.3 6.8 3.6 11.4 3.4' fill='none' stroke='%23f3eee4' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.choice input:checked + span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2 -2 28 28'%3E%3Cpath d='M12 3.2C17 3 20.8 6.6 20.7 11.8C20.6 17 16.9 20.8 11.9 20.8C7 20.8 3.3 17.1 3.3 12.1C3.4 7.3 6.8 3.6 11.4 3.4' fill='none' stroke='%23f3eee4' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='4.4' fill='%23f3eee4'/%3E%3Cpath d='M4 6.5C7.5 1.8 16.8 1.2 21 6.4C24.6 11 22.6 19.4 15.8 21.8C9.4 24 2.4 20.6 1.6 14.2C1 9.6 3.8 5.4 8.8 4.2' fill='none' stroke='%23f07a66' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 2px solid var(--cover-red); outline-offset: 5px; border-radius: 4px; }
.delivery[hidden] { display: none; }
.consent { display: flex; align-items: flex-start; gap: .75rem; font: 400 1.02rem/1.45 var(--sans); cursor: pointer; }
.consent input { flex: none; width: 1.2rem; height: 1.2rem; margin: .18rem 0 0; accent-color: var(--red); }
.form-error { margin: 0; padding: .8rem 1rem; background: oklch(0.6 0.2 27 / .25); border-radius: 8px; font: 500 1.02rem/1.4 var(--sans); }
.btn-submit { justify-self: start; min-width: 12rem; box-shadow: 0 2px 0 oklch(0.4 0.16 27); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { padding-top: 1rem; outline: none; }
.done-num { position: relative; display: inline-block; margin: 0 0 1.4rem; padding: .05em .45em .12em; font: italic 800 clamp(3.6rem, 11vw, 7.5rem)/1 var(--serif); }
.done-loop { position: absolute; left: -10%; top: -22%; width: 120%; height: 150%; overflow: visible; pointer-events: none; }
.done-loop .loop { fill: none; stroke: var(--cover-red); stroke-width: 3.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.done.show .done-loop .loop { animation: draw 1.2s var(--ease) .15s forwards; }
.done h3 { margin-bottom: .6rem; font: 700 clamp(1.7rem, 3.2vw, 2.4rem)/1.1 var(--serif); }
.done p { max-width: 44ch; }
.link-btn { padding: 0; background: none; border: 0; color: inherit; font: 500 1.05rem/1.3 var(--sans); text-decoration: underline; text-underline-offset: .28em; cursor: pointer; }

/* author */
.author-s { display: grid; gap: 1.8rem; }
@media (min-width: 960px) { .author-s { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.author-s p { max-width: 46ch; margin: 0; font: 400 1.2rem/1.6 var(--serif); }
.author-s .kicker { margin: 0 0 .2rem; font: 400 1.5rem/1 var(--hand); transform: rotate(-4deg); transform-origin: left; }
.author-s h2 { margin-bottom: 1.2rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.1rem 2rem; }
.social a { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font: 700 1.1rem/1 var(--sans); }
.social svg { width: 54px; height: 54px; overflow: visible; }
.social .ring, .social .ico { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social .dot { fill: var(--ink); }
.social .loop { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease); }
.social a:hover .loop, .social a:focus-visible .loop { stroke-dashoffset: 0; }
.social a:hover span { color: var(--red-ink); }

/* footer */
.foot { display: grid; gap: 1.4rem; padding: clamp(3rem, 8vw, 6rem) var(--gr) 2.6rem var(--gx); }
.sleep { width: clamp(120px, 16vw, 170px); opacity: .85; }
.sleep .one, .sleep .lid { stroke: var(--ink-2); }
.sleep .lash { stroke: var(--ink-2); stroke-width: 5; }
details summary { width: fit-content; cursor: pointer; font: 700 1.02rem/1.3 var(--sans); }
details p { max-width: 62ch; margin: .8rem 0 0; font: 400 1.02rem/1.55 var(--sans); color: var(--ink-2); }
.copy { margin: 0; font: 400 .98rem/1.4 var(--sans); color: var(--ink-3); }

/* 404 */
.nf { display: grid; gap: 2.5rem; min-height: 100vh; align-content: center; }
.nf h1 { font: italic 700 clamp(2.2rem, 6vw, 4rem)/1 var(--serif); margin-bottom: .6rem; }
.nf p { font: 400 1.2rem/1.5 var(--serif); }

/* language hint */
.suggest {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 20;
  display: flex; align-items: center; gap: .25rem; padding: .35rem .35rem .35rem 1.05rem;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  font: 700 1rem/1 var(--sans); box-shadow: 0 10px 30px oklch(0.25 0.06 264 / .28);
  animation: rise .6s var(--ease) both;
}
.suggest a { color: inherit; text-decoration: none; padding: .45rem 0; }
.suggest button { width: 2.1rem; height: 2.1rem; border: 0; border-radius: 50%; background: transparent; color: inherit; font: 400 1.3rem/1 var(--sans); cursor: pointer; }
.suggest button:hover { background: oklch(1 0 0 / .12); }

/* ---------- motion ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.js .hero .mark-svg .one, .js .hero .mark-svg .ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) forwards; }
.js .hero .eye:nth-of-type(1) .ring { animation-delay: .22s; }
.js .hero .eye:nth-of-type(2) .ring { animation-delay: .38s; }
.js .hero .pupil { opacity: 0; animation: fade .45s .85s forwards; }
.js .title-loop .loop { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.15s var(--ease) 1.05s forwards; }
.js .hero .t1 { animation: rise .9s var(--ease) .25s both; }
.js .hero .t2 { animation: rise .9s var(--ease) .38s both; }
.js .hero .author, .js .hero .lede { animation: rise .9s var(--ease) .55s both; }
.js .hero .actions { animation: rise .9s var(--ease) .7s both; }
.js .hero-note { animation: fade .6s 1.5s both; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .whom-list li.reveal:nth-child(2) { transition-delay: .12s; }
.js .whom-list li.reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .hero-note { left: auto; right: var(--gr); top: 1.4rem; }
  .hero-note .arr { display: none; }
}
