/* Bororea Halo: a screen-printed gig poster.
   Two inks (press black and fluoro pink) on grey newsprint. The pink plate is printed slightly
   off, so big type has a pink ghost; dots are halftone; notes are written on in marker. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Permanent Marker";
  src: url("fonts/permanent-marker.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #d6d3c9;      /* newsprint */
  --ink: #1c1a19;        /* press black */
  --pink: #ff3b8d;       /* fluoro pink */
  --wrap: 74rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --rule: 3px;
  --hand: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;
  color-scheme: light;
}

/* Three printings. Each band sets the same roles, so components work on any of them. */
.on-paper { --bg: var(--paper); --fg: var(--ink);   --soft: #3b3835; --accent: var(--pink); --btn: var(--ink);  --on-btn: var(--paper); --ghost: var(--pink);  --line: rgb(28 26 25 / 0.4); }
.on-ink   { --bg: var(--ink);   --fg: var(--paper); --soft: #bdb9af; --accent: var(--pink); --btn: var(--pink); --on-btn: var(--ink);   --ghost: var(--pink);  --line: rgb(214 211 201 / 0.35); }
.on-pink  { --bg: var(--pink);  --fg: var(--ink);   --soft: var(--ink); --accent: var(--ink); --btn: var(--ink); --on-btn: var(--pink); --ghost: var(--paper); --line: rgb(28 26 25 / 0.45); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 430;
  background: var(--ink);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 4px; }
:focus-visible { outline: 3px solid var(--fg, var(--ink)); outline-offset: 3px; }
p { margin: 0 0 1rem; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; font-weight: 750; }
.skip:focus { top: 1rem; }

.band { position: relative; background: var(--bg); color: var(--fg); overflow-x: clip; }
.sleeve { width: 100%; max-width: var(--wrap); margin-inline: auto; padding: clamp(3.75rem, 8vw, 7rem) var(--pad); }

/* Torn paper between bands: each band rips up into the one above. */
section.band::before {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: -15px; height: 16px;
  background: var(--bg);
  -webkit-mask: url("img/torn.svg") 0 0 / 400px 16px repeat-x;
  mask: url("img/torn.svg") 0 0 / 400px 16px repeat-x;
}
section.band:nth-of-type(3n)::before { -webkit-mask-position: 137px 0; mask-position: 137px 0; }
section.band:nth-of-type(3n+1)::before { -webkit-mask-position: 271px 0; mask-position: 271px 0; }

/* ---- Type ---------------------------------------------------------------------------------- */
/* Condensed, heavy, printed: the pink plate sits a little off the black, and the ink bleeds. */
h1, h2, h3 { margin: 0; font-weight: 900; font-stretch: 62%; line-height: 0.88; letter-spacing: -0.01em; }
h1, h2 { text-shadow: 0.045em 0.035em 0 var(--ghost); filter: url("#rough"); }
h1 { font-size: clamp(3.6rem, 13vw, 12rem); line-height: 0.8; text-transform: uppercase; }
h2 { font-size: clamp(2.75rem, 7vw, 5.75rem); max-width: 15ch; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 850; font-stretch: 68%; line-height: 1; }
.lede { font-size: 1.25rem; line-height: 1.5; max-width: 38ch; margin: 0; }
.intro { max-width: 56ch; color: var(--soft); margin-bottom: 2.75rem; }
.small { font-size: 0.9375rem; color: var(--soft); margin-top: 0.9rem; }

/* Things written on the poster by hand. */
.hand {
  margin: 0; font-family: var(--hand); font-weight: 400; line-height: 1.15;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--fg);
}

/* ---- Buttons -------------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem 0.85rem;
  background: var(--btn); color: var(--on-btn);
  font-weight: 850; font-stretch: 80%; font-size: 1.1875rem; line-height: 1.1;
  text-decoration: none;
  box-shadow: 0.3rem 0.3rem 0 var(--ghost);
  border-radius: 2px 5px 3px 6px / 6px 3px 5px 2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 0.45rem 0.45rem 0 var(--ghost); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0.1rem 0.1rem 0 var(--ghost); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---- Top bar ------------------------------------------------------------------------------- */
.topbar-inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding: 1rem var(--pad);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 900; font-stretch: 62%; font-size: 1.6rem; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 22%; }
.topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.topbar nav a { font-weight: 700; font-size: 1rem; text-decoration: none; padding: 0.35rem 0; }
.topbar nav a:hover { text-decoration: underline; text-decoration-color: var(--pink); }
.topbar .nav-download { background: var(--pink); color: var(--ink); padding: 0.35rem 0.85rem; transform: rotate(-2deg); }
.topbar .nav-download:hover { text-decoration: none; background: var(--paper); }

/* ---- Hero ---------------------------------------------------------------------------------- */
.hero .sleeve { display: grid; gap: 2.5rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 > span { display: block; }
.hero h1 > span + span { margin-left: clamp(0rem, 6vw, 6rem); }
.hero-side { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.75rem 4rem; }
.hero-side .lede { flex: 1 1 20rem; }
.hero-cta { flex: 0 1 22rem; transform: rotate(-1.5deg); transform-origin: left center; }
.hero-cta .small { margin-bottom: 0; }

/* ---- The 3D MacBook (mac3d.js). Without JS or WebGL, a still of the screen shows instead. ---- */
.mac-stage { position: relative; margin: 0; display: grid; justify-items: center; gap: 0.75rem; }
/* A halftone sun printed behind the laptop. */
.mac-stage::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 46%;
  width: min(44rem, 100%); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-8deg);
  background: url("img/halftone.svg") center / contain no-repeat;
}
/* Above the grain overlay (body::after, z-index 50), so the screen stays clean. */
.mac-view { position: relative; z-index: 51; width: 100%; max-width: 60rem; }
.mac-canvas { display: none; }
.mac-fallback {
  display: block; width: 100%; max-width: 44rem; height: auto; margin-inline: auto;
  border: 0.6rem solid var(--ink); border-radius: 0.9rem; box-shadow: 0.7rem 0.7rem 0 var(--ink);
}
html.js .mac-stage:not(.no-3d) .mac-view { aspect-ratio: 1.45; }
html.js .mac-stage:not(.no-3d) .mac-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; position: relative; z-index: 1; }
html.js .mac-stage:not(.no-3d) .mac-canvas.is-dragging { cursor: grabbing; }
html.js .mac-stage:not(.no-3d) .mac-fallback { display: none; }
.mac-stage.is-loading .mac-view::after {
  content: "Loading the Mac…"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--hand); font-size: 1.4rem; color: var(--ink);
}
html:not(.js) .mac-controls, .mac-stage.no-3d .mac-controls, .mac-stage.no-3d .hand-mac, html:not(.js) .hand-mac { display: none; }

.hand-mac {
  position: absolute; z-index: 52; left: 2%; top: 6%;
  transform: rotate(-6deg); font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}
.arrow { display: block; width: 5.5rem; height: 4rem; margin: 0.2rem 0 0 2.5rem; color: var(--pink); }
.hand-mac .arrow { color: var(--ink); }

/* The caption under the laptop. The laptop is drawn over it. */
.mac-note, .mac-note-hit { position: absolute; left: 17%; bottom: 13%; margin: 0; white-space: nowrap; transform: rotate(-6deg); font-size: clamp(0.86rem, 1.58vw, 1.25rem); }
.mac-note { z-index: 0; color: var(--ink); pointer-events: none; }
.mac-note a { color: inherit; text-decoration: none; pointer-events: none; }
/* Invisible twin sitting above the canvas, so "These songs" can be clicked even when the laptop is drawn over it. */
.mac-note-hit { z-index: 2; color: transparent; pointer-events: none; }
.mac-note-hit a { color: transparent; text-decoration: none; cursor: pointer; pointer-events: auto; }
.mac-view:has(.mac-note-hit a:hover) .mac-note a, .mac-note a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
.mac-note a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.songlist { padding-left: 1.5rem; }
.songlist li { margin: 0.6rem 0; }
/* The button under the laptop is hidden until it gets keyboard focus (clicking the laptop works too). */
.mac-controls { position: relative; z-index: 52; margin: 0; }
.mac-controls:not(:focus-within) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mac-controls button {
  font: inherit; font-size: 1.0625rem; font-weight: 850; font-stretch: 80%; cursor: pointer;
  color: var(--ink); background: var(--pink); border: 0; border-radius: 2px;
  padding: 0.45rem 1.2rem; box-shadow: 0.25rem 0.25rem 0 var(--ink);
}
.mac-controls button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* Masking tape. */
.demo::before, .demo::after, .notes::before {
  content: ""; position: absolute; z-index: 3; width: 7rem; height: 1.75rem;
  background: rgb(232 226 205 / 0.78);
  clip-path: polygon(3% 0, 97% 6%, 100% 30%, 96% 52%, 100% 80%, 97% 100%, 4% 95%, 0 72%, 4% 48%, 0 22%);
}

/* ---- Credits (features) -------------------------------------------------------------------- */
.credits { margin: 2.5rem 0 0; display: grid; gap: 2.5rem; max-width: 58rem; }
.credits dt {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem;
  font-weight: 900; font-stretch: 62%; font-size: clamp(2rem, 4vw, 3rem); line-height: 1;
}
.credits .leader { flex: 1 1 2rem; border-bottom: 4px dotted var(--pink); transform: translateY(-0.2em); }
.credits .role { font-family: var(--hand); font-weight: 400; font-stretch: 100%; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--pink); }
.credits dd { margin: 0.7rem 0 0; max-width: 60ch; color: var(--soft); }
@media (min-width: 761px) { .credits > div:nth-child(even) { margin-left: 3rem; } }

/* Icon tint: the same widgets through five songs, pinned up as a strip. */
.tints { position: relative; margin: 4.5rem 0 0; }
.tint-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.1rem; }
.tint-strip img { width: 100%; height: auto; border-radius: 0.5rem; box-shadow: 0.35rem 0.35rem 0 var(--pink); }
.tint-strip img:nth-child(odd) { transform: rotate(-1.4deg); }
.tint-strip img:nth-child(even) { transform: rotate(1.2deg) translateY(0.4rem); }
.hand-tints { color: var(--pink); margin: 0 0 1rem; transform: rotate(-2deg); transform-origin: left; }
.tints figcaption { margin-top: 1.4rem; font-size: 0.9375rem; color: var(--soft); max-width: 60ch; }

/* ---- Live translation ---------------------------------------------------------------------- */
.translate { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .translate { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4.5rem; } }
.points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; max-width: 40rem; }
.points li { position: relative; padding-left: 2rem; line-height: 1.5; }
.points li::before {
  content: "*"; position: absolute; left: 0.1rem; top: -0.2em;
  font-family: var(--hand); font-size: 1.6rem; color: var(--ink);
  text-shadow: 0.08em 0.06em 0 var(--pink);
}

/* The demo: a copy of Halo's lyrics view, taped onto the poster. */
.demo { position: relative; z-index: 51; margin: 0; width: 100%; max-width: 31rem; justify-self: center; }
.demo-screen {
  --app-ink: #ffffff;
  position: relative; container-type: inline-size;
  aspect-ratio: 864 / 800; overflow: hidden; overflow: clip;
  border: 0.6rem solid var(--ink); border-radius: 0.8rem;
  box-shadow: 0.8rem 0.8rem 0 var(--pink);
  transform: rotate(1.4deg);
  color: var(--app-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(42 30 20 / 0.75), transparent 70%),
    radial-gradient(120% 95% at 12% 45%, #2f7279 0%, #1f565e 42%, #143a41 72%, #0e272c 100%);
}
.demo::before { top: -0.5rem; left: -1.9rem; transform: rotate(-32deg); }
.demo::after { top: -0.2rem; right: -1.9rem; transform: rotate(30deg); }


.demo-lines {
  --shift: 0px;
  position: relative; z-index: 2; list-style: none; margin: 0;
  padding: 1.25rem 7% 0 7%; height: 100%; overflow: hidden;
  border-radius: 0.25rem;
}
.demo-lines li { padding: 0.35em 0; font-size: 6cqi; }
.demo-lines .sung, .demo-lines .meaning { display: block; }
.demo-lines .sung { font-weight: 700; line-height: 1.17; letter-spacing: -0.01em; }
.demo-lines .meaning { font-size: 0.6em; font-weight: 600; opacity: 0.62; margin-top: 0.18em; line-height: 1.25; }
.demo-lines .dots { display: flex; gap: 0.28em; height: 1.1em; align-items: center; }
.demo-lines .dots i { width: 0.3em; height: 0.3em; border-radius: 50%; background: currentColor; opacity: 0.6; }

/* Live (lyrics.js): the same rules as the app's LyricRow. */
.demo.is-live .demo-lines li {
  transform: translateY(var(--shift)) scale(0.95);
  transform-origin: left center;
  opacity: max(0.16, calc(0.42 - var(--d, 1) * 0.05));
  filter: blur(min(calc(var(--d, 1) * 0.8px), 3.5px));
  mix-blend-mode: plus-lighter;
  transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.25, 1) var(--delay, 0ms), opacity 0.45s ease, filter 0.45s ease;
}
.demo.is-live .demo-lines li.is-active { transform: translateY(var(--shift)); opacity: 1; filter: none; mix-blend-mode: normal; }
.demo.is-live .is-active .l { opacity: 0.38; transition: opacity 0.12s linear; }
.demo.is-live .is-active .l.lit { opacity: 1; }
.demo.is-live .is-active .dots i { animation: dot 1.96s ease-in-out infinite; }
.demo.is-live .is-active .dots i:nth-child(2) { animation-delay: 0.28s; }
.demo.is-live .is-active .dots i:nth-child(3) { animation-delay: 0.56s; }
@keyframes dot { 0%, 100% { transform: scale(0.85); opacity: 0.5; } 50% { transform: scale(1.05); opacity: 1; } }
.demo .demo-lines { transition: opacity 0.4s ease; }
.demo.is-restarting .demo-lines { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .demo.is-live .demo-lines li, .demo.is-live .is-active .l, .demo .demo-lines { transition: none; }
  .demo.is-live .is-active .dots i { animation: none; }
  .demo-screen { transform: none; }
}

.demo-button {
  position: absolute; z-index: 4; bottom: 0.75rem; right: 0.75rem;
  font: inherit; font-family: "Archivo", sans-serif; font-size: 0.875rem; font-weight: 800; cursor: pointer;
  color: var(--ink); background: var(--paper); border: 0; border-radius: 2px; padding: 0.3rem 0.8rem;
  box-shadow: 0.18rem 0.18rem 0 var(--pink);
}
.demo-button:hover { background: var(--pink); box-shadow: 0.18rem 0.18rem 0 var(--paper); }
.demo-button:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }

/* A note above the screen, with an arrow down onto the English line. */
.hand-translate {
  position: absolute; z-index: 5; right: -0.5rem; top: -4.3rem; width: 15rem;
  transform: rotate(3deg); text-align: right;
}
.hand-translate .arrow.scribble {
  position: absolute; right: 5.5rem; top: 2.7rem; width: 6rem; height: 15rem; color: var(--pink);
  filter: drop-shadow(0.12rem 0.12rem 0 var(--ink));
}
.demo figcaption { margin-top: 1.6rem; font-size: 0.9375rem; color: var(--soft); max-width: 46ch; }
@media (max-width: 899px) { .hand-translate { display: none; } }

/* ---- Tracklist (how it works) -------------------------------------------------------------- */
.tracklist { list-style: none; counter-reset: track; padding: 0; margin: 2.5rem 0 0; max-width: 58rem; }
.tracklist li {
  counter-increment: track;
  display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; column-gap: 1.25rem;
  padding: 1.5rem 0 1.4rem;
  border-top: var(--rule) solid var(--ink);
}
.tracklist li:last-child { border-bottom: var(--rule) solid var(--ink); }
.tracklist li::before {
  content: counter(track);
  grid-row: 1 / span 2;
  font-weight: 900; font-stretch: 62%; font-size: 4rem; line-height: 0.75;
  color: var(--ink); text-shadow: 0.06em 0.05em 0 var(--paper);
}
.tracklist h3 { grid-column: 2; }
.tracklist .length {
  grid-column: 3; grid-row: 1; align-self: start; margin: 0;
  font-family: var(--hand); font-size: 1.15rem; line-height: 1; padding: 0.3rem 0.6rem;
  background: var(--ink); color: var(--pink);
}
.tracklist li:nth-child(odd) .length { transform: rotate(3deg); }
.tracklist li:nth-child(even) .length { transform: rotate(-2.5deg); }
.tracklist p:last-child { grid-column: 2 / span 2; margin: 0.6rem 0 0; max-width: 60ch; }
.more { margin: 1.75rem 0 0; font-weight: 750; }

/* ---- Pricing ------------------------------------------------------------------------------- */
.terms { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 0.65rem; max-width: 40rem; }
.terms li { position: relative; padding-left: 1.75rem; }
.terms li::before {
  content: "*"; position: absolute; left: 0.1rem; top: -0.2em;
  font-family: var(--hand); font-size: 1.6rem; color: var(--pink);
}
.buttons { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }

/* ---- FAQ ----------------------------------------------------------------------------------- */
.faq { margin-top: 2.25rem; max-width: 52rem; }
.faq details { border-top: var(--rule) solid var(--ink); }
.faq details:last-child { border-bottom: var(--rule) solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 3rem 1.1rem 0;
  font-weight: 850; font-stretch: 75%; font-size: clamp(1.25rem, 2.1vw, 1.55rem); line-height: 1.2;
}
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 4px; text-underline-offset: 0.2em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.3rem; top: 50%;
  font-family: var(--hand); font-size: 2rem; line-height: 1; color: var(--ink);
  text-shadow: 0.06em 0.05em 0 var(--pink);
  transform: translateY(-50%); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details > :not(summary) { max-width: 60ch; }
.faq details > ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.faq details > ul li { margin-bottom: 0.4rem; }
.faq details > :last-child { margin-bottom: 1.4rem; }

/* Cut-out letters. */
.ransom { text-shadow: none; filter: none; max-width: none; }
.cuts { display: inline-flex; flex-wrap: wrap; gap: 0.06em; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1; }
.cuts span { display: inline-block; padding: 0.06em 0.13em 0.1em; }
.cuts span:nth-child(4n+1) { background: var(--ink); color: var(--paper); font-stretch: 62%; transform: rotate(-4deg); }
.cuts span:nth-child(4n+2) { background: var(--pink); color: var(--ink); font-weight: 700; font-stretch: 110%; transform: rotate(3deg) translateY(0.06em); }
.cuts span:nth-child(4n+3) { color: var(--ink); outline: 3px solid var(--ink); outline-offset: -3px; font-stretch: 80%; transform: rotate(-2deg); }
.cuts span:nth-child(4n) { background: #f1eee6; color: var(--ink); font-weight: 800; font-stretch: 125%; transform: rotate(5deg) translateY(-0.05em); box-shadow: 0.1em 0.1em 0 var(--pink); }

/* ---- Closing -------------------------------------------------------------------------------- */
.closing .sleeve { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem 4rem; align-items: end; }
/* A handwritten note stapled to the poster. */
.notes {
  --fg: var(--ink); --soft: #3b3835; --ghost: var(--pink);
  position: relative; color: var(--ink); background: #ece8dd;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  transform: rotate(-1.2deg);
  box-shadow: 0.6rem 0.6rem 0 var(--pink);
}
.notes::before { top: -0.8rem; left: 2rem; transform: rotate(-5deg); }
.notes::after {
  content: ""; position: absolute; top: 0.8rem; right: 1.6rem; width: 1.6rem; height: 0.32rem;
  background: linear-gradient(#8c8a86, #c9c6bf 45%, #6e6c68); border-radius: 1px; transform: rotate(8deg);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.3);
}
.notes p { font-size: 1.1875rem; line-height: 1.6; max-width: 44ch; }
.notes .signed { font-family: var(--hand); font-size: 2rem; line-height: 1; margin: 1.5rem 0 0; }
.last-call .small { max-width: 30ch; }

/* ---- Footer -------------------------------------------------------------------------------- */
.footer-inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: 2.25rem var(--pad) 3rem;
  font-size: 0.875rem; color: var(--soft);
  border-top: 2px dashed var(--line);
}
.footer-links { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 1rem; font-weight: 700; color: var(--fg); }
.footer p { max-width: 80ch; margin-bottom: 0.5rem; }

/* ---- Install guide ------------------------------------------------------------------------- */
.doc h1 { font-size: clamp(3rem, 9vw, 6.5rem); margin-bottom: 1.5rem; }
.doc h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); margin: 3rem 0 0.75rem; max-width: none; }
.doc p, .doc ol, .doc ul { max-width: 62ch; }
.doc li { margin-bottom: 0.6rem; }
.doc code { font-size: 0.9em; background: rgb(28 26 25 / 0.08); padding: 0 0.25em; overflow-wrap: anywhere; }
.doc p.one-line { max-width: none; }
.doc .why { color: var(--soft); }

/* ---- Marker scribbles (draw.js draws them in when they come into view) --------------------- */
.marked { position: relative; display: inline-block; }
.scribble { position: absolute; pointer-events: none; overflow: visible; color: var(--accent); }
.scribble path { fill: none; stroke: currentColor; stroke-width: 5px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.scribble-under { left: -2%; width: 104%; bottom: -0.16em; height: 0.24em; }
.scribble-circle { left: -32%; top: -26%; width: 164%; height: 150%; }
.arrow.scribble { position: static; }
.arrow.scribble path { stroke-width: 3.5px; }
.js-draw .scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js-draw .scribble.is-drawn path { animation: draw 0.7s cubic-bezier(0.55, 0, 0.35, 1) forwards; }
.js-draw .scribble.is-drawn path:nth-child(2) { animation-delay: 0.5s; animation-duration: 0.45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* The ink filter would smear the thin marker lines inside headings. */
h1 .scribble, h2 .scribble { filter: none; }

/* ---- Grain over everything, like ink on cheap paper ----------------------------------------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: url("img/grain.svg") 0 0 / 220px 220px;
  mix-blend-mode: multiply; opacity: 0.32;
}

/* ---- Small screens -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  h1, h2 { filter: url("#rough-sm"); }
  .hero .sleeve { padding-top: 2.25rem; }
  .hero h1 > span + span { margin-left: 0; }
  .hero-cta { transform: rotate(-1deg); }
  .closing .sleeve { grid-template-columns: minmax(0, 1fr); }
  .tracklist li { grid-template-columns: 2.75rem minmax(0, 1fr) auto; column-gap: 0.9rem; }
  .tracklist li::before { font-size: 3rem; }
  .credits .leader { display: none; }
  .credits .role { flex-basis: 100%; }
  .hand-mac { top: 0; left: 0; font-size: 1.15rem; }
  .hand-mac .arrow { width: 3.5rem; height: 2.6rem; margin-left: 1.5rem; }
  .mac-stage::before { width: 120%; }
}

/* Discord link in footer */
.discord-link { display: inline-flex; align-items: center; gap: 0.4rem; }
.discord-link img { border-radius: 50%; flex: none; }
