/* DotR Expanded: the team's public site. A printed poster where English rose heraldry meets Japanese prints of the Victorian age:
   paper, heavy ink, the red rose and the white, Prussian blue and gold; shields, ribbons and bunting beside wave and hemp-leaf
   patterns, cartouches, seals and crests. Everything is the team's own drawing (CSS and inline SVG from server/art.mjs); the fonts
   are vendored open fonts (assets/fonts/OFL.txt). One system for every page: header, ribbons, rose-line dividers, bunting on every
   card, stamps, buttons, footer. */
/* The patterns below are printed by: node server/art.mjs --write (waves, hemp leaf, the line of roses). */
:root {
  --waves-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Ccircle cx='20' cy='0' r='20' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='15' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='10' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='5' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='20' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='15' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='10' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='5' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='20' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='15' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='10' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='5' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='20' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='15' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='10' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='20' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='15' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='10' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='5' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='20' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='15' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='10' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='5' fill='%2316130f' stroke='%23262f5e' stroke-width='1.1'/%3E%3C/svg%3E");
  --waves-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Ccircle cx='20' cy='0' r='20' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='15' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='10' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='5' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='20' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='15' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='10' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='5' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='20' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='15' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='10' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='5' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='20' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='15' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='10' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='20' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='15' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='10' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='5' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='20' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='15' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='10' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='5' fill='%231b3a8f' stroke='%23f3ead650' stroke-width='1.1'/%3E%3C/svg%3E");
  --waves-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20' viewBox='0 0 40 20'%3E%3Ccircle cx='20' cy='0' r='20' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='15' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='10' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='0' r='5' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='20' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='15' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='10' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='10' r='5' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='20' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='15' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='10' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='10' r='5' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='20' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='15' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='10' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='20' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='15' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='10' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='0' cy='30' r='5' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='20' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='15' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='10' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3Ccircle cx='40' cy='30' r='5' fill='%23fbf6e9' stroke='%231b3a8f30' stroke-width='1.1'/%3E%3C/svg%3E");
  --hemp-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69.28' viewBox='0 0 40 69.28'%3E%3Cpath d='M0,0L40,0L20,34.64ZM20.00 11.55L0,0M20.00 11.55L40,0M20.00 11.55L20,34.64M0,0L20,34.64L-20,34.64ZM0.00 23.09L0,0M0.00 23.09L20,34.64M0.00 23.09L-20,34.64M40,0L60,34.64L20,34.64ZM40.00 23.09L40,0M40.00 23.09L60,34.64M40.00 23.09L20,34.64M0,69.28L40,69.28L20,34.64ZM20.00 57.73L0,69.28M20.00 57.73L40,69.28M20.00 57.73L20,34.64M0,69.28L20,34.64L-20,34.64ZM0.00 46.19L0,69.28M0.00 46.19L20,34.64M0.00 46.19L-20,34.64M40,69.28L60,34.64L20,34.64ZM40.00 46.19L40,69.28M40.00 46.19L60,34.64M40.00 46.19L20,34.64' fill='none' stroke='%2316130f1c' stroke-width='1.2'/%3E%3C/svg%3E");
  --hemp-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69.28' viewBox='0 0 40 69.28'%3E%3Cpath d='M0,0L40,0L20,34.64ZM20.00 11.55L0,0M20.00 11.55L40,0M20.00 11.55L20,34.64M0,0L20,34.64L-20,34.64ZM0.00 23.09L0,0M0.00 23.09L20,34.64M0.00 23.09L-20,34.64M40,0L60,34.64L20,34.64ZM40.00 23.09L40,0M40.00 23.09L60,34.64M40.00 23.09L20,34.64M0,69.28L40,69.28L20,34.64ZM20.00 57.73L0,69.28M20.00 57.73L40,69.28M20.00 57.73L20,34.64M0,69.28L20,34.64L-20,34.64ZM0.00 46.19L0,69.28M0.00 46.19L20,34.64M0.00 46.19L-20,34.64M40,69.28L60,34.64L20,34.64ZM40.00 46.19L40,69.28M40.00 46.19L60,34.64M40.00 46.19L20,34.64' fill='none' stroke='%23f3ead61f' stroke-width='1.2'/%3E%3C/svg%3E");
  --rose-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='32' viewBox='0 0 96 32'%3E%3Cpath d='M0 16H96' stroke='%2316130f' stroke-width='3'/%3E%3Cpath d='M40 16l8-5 8 5-8 5zM-8 16l8-5 8 5-8 5zM88 16l8-5 8 5-8 5z' fill='%230f6b52' stroke='%2316130f' stroke-width='1.6'/%3E%3Cg transform='translate(24 16)' stroke='%2316130f' stroke-width='1.6'%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(0)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(72)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(144)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(216)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(288)'/%3E%3Ccircle r='3' fill='%23e9aa1e'/%3E%3C/g%3E%3Cg transform='translate(72 16)' stroke='%2316130f' stroke-width='1.6'%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(0)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(72)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(144)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(216)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(288)'/%3E%3Ccircle r='3' fill='%23e9aa1e'/%3E%3C/g%3E%3C/svg%3E");
  --rose-line-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='32' viewBox='0 0 96 32'%3E%3Cpath d='M0 16H96' stroke='%23f3ead6' stroke-width='3'/%3E%3Cpath d='M40 16l8-5 8 5-8 5zM-8 16l8-5 8 5-8 5zM88 16l8-5 8 5-8 5z' fill='%230f6b52' stroke='%2316130f' stroke-width='1.6'/%3E%3Cg transform='translate(24 16)' stroke='%2316130f' stroke-width='1.6'%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(0)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(72)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(144)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(216)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23d42a2a' transform='rotate(288)'/%3E%3Ccircle r='3' fill='%23e9aa1e'/%3E%3C/g%3E%3Cg transform='translate(72 16)' stroke='%2316130f' stroke-width='1.6'%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(0)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(72)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(144)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(216)'/%3E%3Ccircle r='4.6' cy='-6' fill='%23fffaf0' transform='rotate(288)'/%3E%3Ccircle r='3' fill='%23e9aa1e'/%3E%3C/g%3E%3C/svg%3E");
}
@font-face { font-family: "Unbounded"; font-weight: 400 900; font-display: swap; src: url(fonts/unbounded-var.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400 700; font-display: swap; src: url(fonts/space-grotesk-var.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 400; font-display: swap; src: url(fonts/space-mono-400.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-display: swap; src: url(fonts/space-mono-700.woff2) format("woff2"); }

:root {
  --paper: #f3ead6; --paper-2: #e8dcc0; --card: #fbf6e9; --white: #fffaf0; --ink: #16130f; --ink-2: #4a4338;
  --hot: #d42a2a; --hot-text: #a51c1c; --blue: #1b3a8f; --sun: #e9aa1e; --jade: #0f6b52; --jade-bright: #2aa884;
  --display: "Unbounded", "Arial Black", Impact, system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, "Courier New", monospace;
  --edge: 3px solid var(--ink); --drop: 6px 6px 0 var(--ink); --r: 14px;
  --dots: radial-gradient(circle at 2px 2px, currentColor 1.2px, transparent 1.6px);
  --bunting: repeating-linear-gradient(90deg, var(--hot) 0 16px, var(--white) 16px 32px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .07 0 0 0 0 .05 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .92 0 0 0 0 .84 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper) var(--grain); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--hot-text); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.band.ink :focus-visible, .top :focus-visible, .foot :focus-visible, .hero :focus-visible, .head :focus-visible { outline-color: var(--sun); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.5rem); font-weight: 800; text-shadow: 2.5px 2.5px 0 rgba(212, 42, 42, .36); }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; border: var(--edge); }
.skip:focus { left: 8px; }
.small { font-size: .9rem; color: var(--ink-2); }
.mono { font-family: var(--mono); }
.lede { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 60ch; }

/* a ribbon: every section's small heading */
.eyebrow { display: inline-block; font: 700 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.1em; background: var(--hot); color: var(--white);
  padding: 7px 26px 6px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%); filter: drop-shadow(3px 3px 0 var(--ink)); }
.band.ink .eyebrow, .head .eyebrow, .hero .eyebrow { background: var(--sun); color: var(--ink); filter: drop-shadow(3px 3px 0 var(--hot)); }
.band.sun .eyebrow, .band.hot .eyebrow { background: var(--ink); color: var(--white); filter: drop-shadow(3px 3px 0 var(--white)); }
/* a seal, as pressed on a print */
.seal { display: inline-grid; place-items: center; font: 700 .8rem/1.05 "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Noto Serif JP", serif; font-style: normal; writing-mode: vertical-rl; background: var(--hot); color: var(--white);
  padding: 5px 3px; border-radius: 4px; letter-spacing: .05em; transform: rotate(-3deg); box-shadow: inset 0 0 0 1.5px var(--hot), inset 0 0 0 2.5px rgba(255, 250, 240, .7); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--ink) var(--grain-light); color: var(--paper); border-bottom: 3px solid var(--hot); box-shadow: 0 6px 0 var(--white), 0 8px 0 var(--ink); }
.top-row { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--paper); }
.mark { width: 36px; height: 36px; flex: none; overflow: visible; }
.mk-a { fill: none; stroke: currentColor; stroke-width: 3.5; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); transform-origin: center; }
.mk-b { color: var(--hot); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 20px 20px; overflow: visible; }
.brand:hover .mk-a, .brand:focus-visible .mk-a { transform: scale(1.18); }
.brand:hover .mk-b, .brand:focus-visible .mk-b { transform: rotate(72deg); }
.brand-words { display: grid; line-height: 1.05; }
.brand-words b { font: 800 1.08rem var(--display); letter-spacing: .1em; text-transform: uppercase; }
.brand-words i { font: 400 .68rem var(--mono); font-style: normal; opacity: .8; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav li a { display: block; padding: 8px 10px; color: var(--paper); text-decoration: none; font-weight: 600; font-size: .93rem; border-radius: 8px; position: relative; }
.nav li a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 4px; background: var(--bunting); background-size: 16px 4px; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav li a:hover::after, .nav li a[aria-current]::after { transform: scaleX(1); }
.nav li a[aria-current] { color: var(--sun); }
.menu-btn { display: none; font: 700 .85rem var(--mono); text-transform: uppercase; letter-spacing: .1em; background: transparent; color: var(--paper); border: 2px solid var(--paper); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 3px solid var(--hot); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav li a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid #ffffff22; border-radius: 0; }
  .nav li a::after { display: none; }
}

/* ---------- buttons, stamps ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1.2 var(--body); padding: 13px 22px; border: var(--edge); border-radius: 999px;
  background: var(--card); color: var(--ink); text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .12s; text-align: center; }
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.hot { background: var(--hot); color: var(--white); }
.btn.hot:hover { color: var(--white); }
.btn.sun { background: var(--sun); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { color: #fff; }
.btn.small { padding: 8px 16px; font-size: .9rem; box-shadow: 3px 3px 0 var(--paper); border-color: var(--paper); }
.btn.small:hover { box-shadow: 5px 5px 0 var(--paper); }
.hero .btn, .head .btn, .band.ink .btn { border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.hero .btn:hover, .head .btn:hover, .band.ink .btn:hover { box-shadow: 6px 6px 0 var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.4em 0 1em; }
.stamp { display: inline-block; font: 700 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px 5px; border: 2px solid currentColor; border-radius: 6px; transform: rotate(-3deg); white-space: nowrap; background: var(--card);
  box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 3px currentColor; text-shadow: none; }
.stamp.built { color: var(--jade); }
.stamp.testing { color: var(--blue); }
.stamp.designed { color: #7a4d00; }
.stamp.planned { color: var(--hot-text); border-style: dashed; }
.stamp.idea { color: var(--ink-2); border-style: dotted; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 1em 0 0; font-size: .92rem; }
.legend li { display: flex; gap: 10px; align-items: center; margin: 0; }

/* ---------- bands, and the rose line between every two ---------- */
.band { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.band::before, .foot::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 32px; background: var(--rose-line) 0 0 / 96px 32px repeat-x; z-index: 3; pointer-events: none; }
.band.ink::before, .foot::before { background-image: var(--rose-line-paper); }
.band.ink { background: var(--ink) var(--waves-ink); color: var(--paper); }
.band.ink a { color: var(--sun); }
.band.ink .small { color: #cfc5ae; }
.band.sun { background: var(--sun) var(--hemp-ink); }
.band.hot { background: var(--hot); }
.band.blue { background: var(--blue) var(--waves-blue); color: #fff; }
.band.blue a { color: #fff; }
.band.alt { background: var(--paper-2) var(--hemp-ink); }
.dots { position: absolute; inset: 0; background-image: var(--dots); background-size: 14px 14px; opacity: .12; pointer-events: none;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 55%); mask-image: linear-gradient(120deg, #000, transparent 55%); }
.band > .wrap { position: relative; }
.cols { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.cols.top-align { align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

/* every card on the site: a paper panel under a strip of red and white bunting */
.tiles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 1.6em; padding: 0; list-style: none; }
.tile, .panel, .steps > li, .game, .frame-demo, .route-card, .disclaimer { position: relative; }
.tile::before, .panel::before, .steps > li::after, .game::before, .frame-demo::before, .route-card::before, .disclaimer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  background: var(--bunting); border-bottom: 2px solid var(--ink); border-radius: 10px 10px 0 0; }
.tile { background: var(--card); color: var(--ink); border: var(--edge); border-radius: var(--r); padding: 30px 22px 22px; box-shadow: var(--drop); margin: 0; transition: transform .18s, box-shadow .18s; }
.tile:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 9px 9px 0 var(--ink); }
.band.ink .tile { box-shadow: 6px 6px 0 var(--hot); }
.band.ink .tile:hover { box-shadow: 9px 9px 0 var(--hot); }
.tile a { color: var(--blue); }
.tile .stamp { position: absolute; top: -12px; right: 14px; z-index: 1; }
.tile p:last-child, .tile ul:last-child { margin-bottom: 0; }
.tile .num { font: 800 2.4rem/1 var(--display); color: var(--hot); display: block; margin-bottom: .2em; -webkit-text-stroke: 1.5px var(--ink); }
.glyph { width: 54px; height: 54px; display: block; margin-bottom: 12px; filter: drop-shadow(2.5px 2.5px 0 rgba(27, 58, 143, .4)); transform-origin: 50% 80%; }
.tile:hover .glyph { animation: wiggle .6s ease-in-out; }
@keyframes wiggle { 30% { transform: rotate(-9deg); } 65% { transform: rotate(7deg); } }
.panel { background: var(--card); color: var(--ink); border: var(--edge); border-radius: var(--r); padding: clamp(26px, 3vw, 34px) clamp(18px, 3vw, 30px) clamp(18px, 3vw, 30px); box-shadow: var(--drop); }
.panel a { color: var(--blue); }
.panel h2, .panel h3, .tile h3 { text-shadow: none; }
.note { border-left: 6px solid var(--sun); background: var(--card); color: var(--ink); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 1.2em 0; }
.note.hotline { border-color: var(--hot); }
.note p:last-child { margin: 0; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 34px; position: relative; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border: 2.5px solid currentColor; border-radius: 5px; background: var(--jade-bright)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%2316130f' stroke-width='3'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks.no li::before { background: var(--hot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' fill='none' stroke='%23fffaf0' stroke-width='3'/%3E%3C/svg%3E") center/16px no-repeat; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--ink); vertical-align: top; }
th { font: 700 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; background: var(--ink); color: var(--paper); }
.scroll-x { overflow-x: auto; border: var(--edge); border-radius: var(--r); background: var(--card); color: var(--ink); box-shadow: var(--drop); }
.scroll-x table tr:last-child td { border-bottom: 0; }

/* the drawings' colours: a rose is red unless its class says otherwise */
.sprite { position: absolute; }
.rp { fill: var(--rose, #d42a2a); } .rpi { fill: var(--rose-in, var(--rose, #d42a2a)); }
.r-red { --rose: #d42a2a; } .r-white { --rose: #fffaf0; } .r-both { --rose: #d42a2a; --rose-in: #fffaf0; }
/* roses set beside a heading or a call to action */
.rose { width: 64px; height: 64px; filter: drop-shadow(3px 3px 0 rgba(22, 19, 15, .85)); transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.rose:hover { transform: rotate(72deg) scale(1.08); }
.duo { display: flex; justify-content: center; align-items: center; gap: 18px; margin-bottom: 18px; }
.duo .rose { width: clamp(56px, 9vw, 92px); height: clamp(56px, 9vw, 92px); }
.duo .mon { width: 30px; height: 30px; color: var(--ink); }
.h-rose { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.h-rose .rose { width: 52px; height: 52px; flex: none; }

/* ---------- reveal on scroll (only with script and motion allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(30px) rotate(-1.2deg); transition: opacity .6s, transform .7s cubic-bezier(.2, .9, .2, 1.1); }
.js .reveal:nth-child(even) { transform: translateY(30px) rotate(1.2deg); }
.js .reveal.in { opacity: 1; transform: none; }
.js .tiles .reveal:nth-child(2), .js .steps .reveal:nth-child(2), .js .games .reveal:nth-child(2) { transition-delay: .08s; }
.js .tiles .reveal:nth-child(3), .js .steps .reveal:nth-child(3), .js .games .reveal:nth-child(3) { transition-delay: .16s; }
.js .tiles .reveal:nth-child(4), .js .steps .reveal:nth-child(4), .js .games .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- the art every header shares: sun, petals, shield and scroll, cartouche and seal, waves ---------- */
.hero, .head { background: var(--ink) var(--grain-light); color: var(--paper); position: relative; overflow: hidden; }
.hero::after, .head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: var(--waves-ink) 0 100% / 40px 20px; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 85%); mask-image: linear-gradient(transparent, #000 85%); opacity: .9; }
.hero > .wrap, .head > .wrap { position: relative; z-index: 2; }
.head-art { position: absolute; inset: 0; pointer-events: none; }
.head-art .disc, .hero .sunball { position: absolute; border-radius: 50%; background: var(--hot); }
.head-art .disc { width: 400px; aspect-ratio: 1; right: max(-60px, calc(50% - 640px)); top: -150px; }
.head-art .disc::after, .hero .sunball::after { content: ""; position: absolute; inset: 0; border-radius: 50%; color: var(--ink); background-image: var(--dots); background-size: 11px 11px; opacity: .38;
  -webkit-mask-image: linear-gradient(200deg, transparent 30%, #000); mask-image: linear-gradient(200deg, transparent 30%, #000); }
.arms { position: absolute; right: max(96px, calc(50% - 470px)); top: 50%; translate: 0 -54%; width: 150px; display: grid; justify-items: center; pointer-events: auto; }
.arms .shield { width: 150px; height: auto; display: block; filter: drop-shadow(6px 6px 0 rgba(22, 19, 15, .9)); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); transform-origin: 50% 0; }
.arms:hover .shield { transform: rotate(-4deg) scale(1.04); }
.scroll { margin-top: -6px; font: 700 .6rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); padding: 6px 16px 5px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%, 9px 50%); transform: rotate(-2deg); }
.cartouche { position: absolute; right: max(20px, calc(50% - 580px)); top: 26px; display: grid; justify-items: center; gap: 8px; }
.cartouche b { writing-mode: vertical-rl; font: 700 .78rem/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); padding: 14px 8px 10px;
  box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3.5px var(--hot); }
.cartouche .seal { font-size: 1rem; padding: 7px 4px; }
@media (max-width: 1100px) { .cartouche { display: none; } .arms { right: 28px; width: 110px; } .arms .shield { width: 110px; } .arms .scroll { display: none; } }
@media (max-width: 860px) { .arms { top: 18px; translate: none; right: 14px; width: 62px; opacity: .95; } .arms .shield { width: 62px; filter: drop-shadow(3px 3px 0 rgba(22, 19, 15, .9)); } .head-art .disc { width: 230px; right: -70px; top: -110px; } }

.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.petals i { position: absolute; top: -40px; left: calc(var(--x) * 1%); width: 15px; color: var(--hot); opacity: 0; animation: fall calc(var(--t) * 1s) linear calc(var(--d) * -1s) infinite; }
.petals i:nth-child(even) { color: var(--white); width: 12px; }
.petals i svg { display: block; width: 100%; height: auto; }
.petals i:nth-child(1) { --x: 6; --t: 13; --d: 2; } .petals i:nth-child(2) { --x: 18; --t: 17; --d: 9; } .petals i:nth-child(3) { --x: 31; --t: 12; --d: 5; }
.petals i:nth-child(4) { --x: 44; --t: 19; --d: 12; } .petals i:nth-child(5) { --x: 57; --t: 14; --d: 1; } .petals i:nth-child(6) { --x: 69; --t: 16; --d: 7; }
.petals i:nth-child(7) { --x: 80; --t: 11; --d: 4; } .petals i:nth-child(8) { --x: 91; --t: 18; --d: 14; } .petals i:nth-child(9) { --x: 12; --t: 15; --d: 11; }
.petals i:nth-child(10) { --x: 38; --t: 20; --d: 16; } .petals i:nth-child(11) { --x: 63; --t: 13; --d: 8; } .petals i:nth-child(12) { --x: 86; --t: 16; --d: 3; }
@keyframes fall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 8% { opacity: .95; } 50% { transform: translate3d(46px, 420px, 0) rotate(260deg); } 92% { opacity: .9; }
  100% { transform: translate3d(-18px, 860px, 0) rotate(560deg); opacity: 0; } }

/* standing banners */
.nobori { position: absolute; top: -18px; width: 62px; height: 330px; padding-left: 7px; background: linear-gradient(var(--sun), var(--sun)) 0 0 / 6px 100% no-repeat; filter: drop-shadow(4px 4px 0 rgba(22, 19, 15, .9)); }
.nobori::before { content: ""; position: absolute; left: -4px; top: -10px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 2.5px solid var(--ink); }
.nobori .cloth { display: flex; flex-direction: column; align-items: center; gap: 14px; height: 250px; padding: 12px 6px; border: 3px solid var(--ink); background: var(--white) var(--hemp-ink); transform-origin: 0 0; animation: sway 5s ease-in-out infinite alternate; }
.nobori.red .cloth { background: var(--hot); animation-delay: -2.2s; }
.nobori .cloth svg { width: 40px; height: 40px; }
.nobori .cloth .mon { width: 26px; height: 26px; }
.nobori.white .cloth svg:not(:first-child) { color: var(--hot); width: 26px; height: 26px; }
.nobori.red .cloth svg:not(:first-child) { color: var(--white); width: 26px; height: 26px; }
@keyframes sway { from { transform: skewY(-3deg) scaleX(.97); } to { transform: skewY(3.5deg) scaleX(1.03); } }

/* ---------- hero (home) ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(70px, 8vw, 110px); }
.hero .sunball { width: min(72vw, 760px); aspect-ratio: 1; right: -12%; top: -26%; will-change: transform; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(1.05rem, 2.3vw, 1.6rem); font-weight: 600; letter-spacing: .02em; margin: 0 0 .9em; display: grid; gap: clamp(14px, 2.2vw, 28px); }
.hero h1 .pre { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.hero h1 .pre .rose { width: 34px; height: 34px; flex: none; }
.hero h1 .big { display: block; font-size: 11.6vw; font-weight: 900; line-height: 1; text-transform: uppercase; margin: 0 0 0 -.04em; color: var(--paper);
  filter: drop-shadow(3px 3px 0 var(--hot)) drop-shadow(3px 3px 0 var(--blue)); white-space: nowrap; }
@media (min-width: 901px) { .hero h1 .big { font-size: min(6.2vw, 5.9rem); } }
.hero h1 .big span { display: inline-block; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); transform-origin: 50% 100%; }
.hero a:not(.btn), .head a:not(.btn) { color: var(--sun); }
.hero .lede, .head .lede { color: #efe6d2; }
.hero .small { color: #cfc5ae; }

/* the draw-a-card deck */
.deck { position: relative; width: min(100%, 300px); margin-inline: auto; perspective: 1100px; }
.deck .nobori.white { left: -104px; }
.deck .nobori.red { right: -104px; }
@media (max-width: 1240px) { .deck .nobori { display: none; } }
.deck-stage { position: relative; aspect-ratio: 5 / 7; perspective: 1100px; }
.deck-stage.live { cursor: pointer; transition: transform .15s; }
.deck-stage .under { position: absolute; inset: 0; border: var(--edge); border-radius: 16px; background: var(--blue); }
.deck-stage .under.u1 { transform: translate(14px, 12px) rotate(4deg); background: var(--sun); }
.deck-stage .under.u2 { transform: translate(7px, 6px) rotate(2deg); background: var(--white); }
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.3, .4, 1); will-change: transform; }
.face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border: var(--edge); border-radius: 16px; overflow: hidden; }
.face.back { background: var(--blue) var(--waves-blue); display: grid; place-items: center; }
.face.back .frame { position: absolute; inset: 12px; border: 3px solid var(--white); border-radius: 8px; box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 7px var(--sun); }
.face.back .rose { position: relative; width: 62%; height: auto; filter: drop-shadow(5px 5px 0 var(--ink)); animation: turn 40s linear infinite; }
.face.back .scroll { position: absolute; bottom: 30px; font-size: .62rem; }
@keyframes turn { to { transform: rotate(360deg); } }
.face.front { transform: rotateY(180deg); }
.face.cardface { background: var(--card); color: var(--ink); display: flex; flex-direction: column; padding: 14px; place-items: initial; }
.face.cardface .f-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 700 .68rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.face.cardface .f-art { flex: 1; min-height: 0; margin: 10px 0; border: var(--edge); border-radius: 10px; overflow: hidden; }
.face.cardface .f-art svg { width: 100%; height: 100%; display: block; }
.face.cardface h3 { font-size: 1.02rem; margin: 0 0 4px; }
.face.cardface p { font-size: .84rem; line-height: 1.4; margin: 0; }
.deck-ui { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.deck-count { font: 700 .76rem var(--mono); letter-spacing: .08em; color: var(--sun); }

/* ticker */
.ticker { background: var(--sun) var(--hemp-ink); color: var(--ink); border-block: var(--edge); overflow: hidden; font: 700 .95rem var(--display); text-transform: uppercase; letter-spacing: .04em; position: relative; z-index: 4; }
.ticker ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 12px 0; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover ul, .ticker:focus-within ul { animation-play-state: paused; }
.ticker li { margin: 0; padding: 0 20px; white-space: nowrap; display: flex; align-items: center; gap: 20px; }
.ticker li svg { width: 26px; height: 26px; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker + .band::before { display: none; }

/* the journey strip */
.journey { border: var(--edge); border-radius: var(--r); background: var(--card); box-shadow: var(--drop); padding: 10px; overflow-x: auto; color: var(--ink); }
.journey svg { display: block; min-width: 760px; width: 100%; height: auto; }
.journey .sea { fill: none; stroke: var(--blue); stroke-width: 2; opacity: .35; }
.journey .path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 11; }
.journey .path-ink { fill: none; stroke: var(--hot); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.journey.in .path-ink { animation: ink 4.2s ease-in-out forwards .2s; }
@keyframes ink { to { stroke-dashoffset: 0; } }
.journey text { font: 700 13px var(--mono); fill: var(--ink); }
.journey .cap { font: 800 15px var(--display); }
.journey .stop { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.journey .stop.big { fill: var(--sun); }

/* numbered steps */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps > li { counter-increment: s; background: var(--card); color: var(--ink); border: var(--edge); border-radius: var(--r); padding: 58px 22px 22px; box-shadow: var(--drop); margin: 0; }
.steps > li::before { content: counter(s); position: absolute; top: -18px; left: 18px; width: 56px; height: 56px; display: grid; place-items: center; font: 900 1.5rem var(--display); z-index: 1;
  background: var(--hot); color: var(--white); border: var(--edge); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--hot), inset 0 0 0 5px var(--white); }
.steps > li:nth-child(even)::before { background: var(--white); color: var(--hot-text); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 5px var(--hot); }

/* ---------- page heads ---------- */
.head { padding: clamp(44px, 7vw, 88px) 0 clamp(64px, 8vw, 96px); }
.head h1 { text-shadow: 3px 3px 0 var(--hot), 6px 6px 0 var(--blue); }
.head .lede { margin-bottom: 0; }
@media (min-width: 861px) { .head > .wrap > * { max-width: min(100%, 700px); } .head > .wrap > .toc, .head > .wrap > .legend { max-width: min(100%, 760px); } }
@media (max-width: 860px) { .head h1 { padding-right: 56px; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.6em 0 0; }
.toc li { margin: 0; }
.toc a { display: block; font: 700 .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--paper); border: 2px solid var(--paper); border-radius: 999px; padding: 7px 13px; text-decoration: none; background: var(--ink); }
.toc a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }

/* ---------- tabs / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; border: 2.5px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .12s, transform .12s; }
.chip:hover { transform: translateY(-2px) rotate(-1.5deg); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.band.ink .chip { border-color: var(--paper); }
.band.ink .chip[aria-selected="true"], .band.ink .chip[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }

/* ---------- the route explorer ---------- */
.route { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .route { grid-template-columns: 1fr; } }
.route-map { border: var(--edge); border-radius: var(--r); background: var(--card) var(--waves-paper); box-shadow: var(--drop); overflow: hidden; position: relative; }
.route-map svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
@media (max-width: 700px) { .route-map { overflow-x: auto; } .route-map svg { width: 640px; max-width: none; } }
.route-map .leg { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.route-map .leg.sea { stroke-dasharray: 3 9; }
.route-map .leg.side { stroke: var(--blue); stroke-width: 2.5; }
.route-map .pin { cursor: pointer; }
.route-map .pin circle { fill: var(--white); stroke: var(--ink); stroke-width: 3; transition: r .15s, fill .15s; }
.route-map .pin.shop circle { fill: var(--paper-2); stroke: var(--blue); }
.route-map .pin.final circle { fill: var(--sun); }
.route-map .pin.special circle { stroke: var(--hot); stroke-width: 4.5; }
.route-map .pin:hover circle, .route-map .pin:focus-visible circle { fill: var(--sun); }
.route-map .pin[aria-pressed="true"] circle { fill: var(--hot); stroke: var(--ink); }
.route-map .pin:focus-visible { outline: none; }
.route-map .pin:focus-visible circle { stroke: var(--blue); stroke-width: 5; }
.route-map .pin text { font: 700 12px var(--mono); fill: var(--ink); pointer-events: none; paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; }
.route-map .pin[aria-pressed="true"] text { font-size: 13.5px; }
.route-map .region { font: 900 22px var(--display); fill: var(--blue); opacity: .5; text-transform: uppercase; paint-order: stroke; stroke: var(--card); stroke-width: 5px; }
.route-card { background: var(--ink) var(--waves-ink); color: var(--paper); border: var(--edge); border-radius: var(--r); padding: 32px 24px 24px; box-shadow: 6px 6px 0 var(--hot); display: flex; flex-direction: column; min-height: 320px; }
.route-card .kind { font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.route-card h3 { font-size: 1.7rem; margin: .2em 0 .1em; }
.route-card .who { font-weight: 700; font-size: 1.1rem; margin: 0 0 .7em; color: #fff; }
.route-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 1em; font-size: .95rem; }
.route-card dt { font: 700 .72rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #cfc5ae; }
.route-card dd { margin: 0; }
.route-card dd.pref { display: flex; align-items: center; gap: 10px; }
.route-card .pips { display: inline-flex; gap: 4px; vertical-align: middle; }
.route-card .pips i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--paper); }
.route-card .pips i.on { background: var(--hot); }
.route-card .nav-row { margin-top: auto; display: flex; gap: 10px; }
.route-card .chip { border-color: var(--paper); background: transparent; color: var(--paper); }
.route-card .chip:hover { background: var(--paper); color: var(--ink); }
/* flags */
.flag { width: 60px; height: 40px; flex: none; display: block; filter: drop-shadow(3px 3px 0 rgba(22, 19, 15, .85)); transform-origin: 0 50%; }
.route-card .flag { width: 48px; height: 32px; filter: none; }
.flag-strip { display: flex; flex-wrap: wrap; gap: 16px 22px; list-style: none; padding: 0; margin: 1.2em 0 .6em; }
.flag-strip li { margin: 0; display: grid; justify-items: start; gap: 8px; padding-left: 8px; border-left: 4px solid var(--ink); font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.flag-strip li:hover .flag { animation: wave .9s ease-in-out infinite alternate; }
@keyframes wave { from { transform: skewY(-4deg); } to { transform: skewY(4deg) scaleX(.96); } }

/* ---------- the globe (World Wide) ---------- */
.globe-box { position: relative; max-width: 460px; margin-inline: auto; }
.globe-box canvas { display: block; width: 100%; aspect-ratio: 1; cursor: grab; touch-action: none; border-radius: 50%; }
.globe-box canvas:active { cursor: grabbing; }
.globe-hud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; text-align: center; }
.globe-hud div { border: 2px solid currentColor; border-radius: 10px; padding: 8px 4px; background: var(--ink); }
.globe-hud b { display: block; font: 800 1.35rem var(--display); color: var(--sun); }
.globe-hud span { font: 700 .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.globe-log { min-height: 3.2em; font-weight: 600; margin: 14px 0 0; text-align: center; }
.globe-ctl { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* ---------- picture frame demo ---------- */
.frame-demo { background: var(--card); border: var(--edge); border-radius: var(--r); box-shadow: var(--drop); padding: 28px 18px 18px; color: var(--ink); }
.frame-demo .stage { aspect-ratio: 4 / 3; border: var(--edge); border-radius: 10px; background: linear-gradient(#1b3a8f, #9fb4e6 34%, #f3ead6 62%, #d9c79c 62%, #c9b587); position: relative; overflow: hidden; }
.frame-demo .stage > * { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s, transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.frame-demo .stage > .off { opacity: 0; transform: scale(.82) translateY(10%); pointer-events: none; }
.frame-demo figcaption { font-size: .92rem; margin-top: 12px; min-height: 3em; }
.switch { display: inline-flex; border: var(--edge); border-radius: 999px; overflow: hidden; margin-bottom: 14px; flex-wrap: wrap; }
.switch button { font: 700 .8rem var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 9px 14px; background: var(--card); color: var(--ink); border: 0; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- set crates ---------- */
.crates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 6px; }
.crate { border: var(--edge); border-radius: 10px; aspect-ratio: 3 / 2; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; text-align: center; font: 700 .7rem/1.3 var(--mono); padding: 6px; position: relative; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .3s; }
.crate::before { content: ""; position: absolute; inset: 6px; border: 2px dashed currentColor; border-radius: 6px; opacity: .35; }
.crate b { display: block; font: 800 1.15rem var(--display); }
.crate.open { background: var(--hot); color: var(--white); transform: translateY(-6px) rotate(-2deg); box-shadow: 4px 4px 0 var(--ink); }
.crate.open:nth-child(even) { transform: translateY(-6px) rotate(2deg); background: var(--white); color: var(--hot-text); }
input[type=range] { width: 100%; accent-color: var(--hot); height: 28px; }

/* ---------- other games ---------- */
.games { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; padding: 0; }
.game { border: var(--edge); border-radius: var(--r); background: var(--card); color: var(--ink); padding: 28px 18px 18px; overflow: hidden; margin: 0; box-shadow: var(--drop); }
.game .slot { height: 74px; border: var(--edge); border-radius: 8px; margin-bottom: 14px; position: relative; overflow: hidden; background: var(--ink) var(--waves-ink); }
.game .slot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.game .media { transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); transform-origin: center; }
.game:hover .media { transform: translateX(16px) rotate(18deg); }
.game h3 { margin-bottom: .2em; }
.game .plat { font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--hot-text); margin-bottom: .6em; }
.game p { font-size: .93rem; margin: 0; }

/* ---------- roadmap ---------- */
.lane { margin-top: 48px; }
.lane > h2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lane > h2 .stamp { font-size: .8rem; }
.lane[hidden] { display: none; }
.board-toy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 860px) { .board-toy { grid-template-columns: 1fr; } }
.board { --n: 7; --m: 7; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 2px; background: var(--paper); border: 3px solid var(--paper); border-radius: 10px; aspect-ratio: var(--n) / var(--m); max-width: 460px; width: 100%; margin-inline: auto; transform: perspective(900px) rotateX(24deg); transition: transform .5s; }
.board:hover { transform: perspective(900px) rotateX(12deg); }
.board i { background: #2a251d; border-radius: 2px; position: relative; animation: pop .35s backwards; animation-delay: calc(var(--d, 0) * 6ms); }
.board i.goal { background: var(--sun); }
.board i.a, .board i.b, .board i.c { background: var(--hot); }
.board i.b { background: var(--blue); }
.board i.c { background: var(--white); }
.board i.a::after, .board i.b::after, .board i.c::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.board i.c::after { background: var(--hot); }
@keyframes pop { from { transform: scale(.2); opacity: 0; } }
.toy-read { font: 800 1.5rem var(--display); margin: 0 0 .3em; color: var(--sun); }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; font-size: .9rem; }
.key li { display: flex; align-items: center; gap: 8px; margin: 0; }
.key i { width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--paper); background: var(--hot); }
.key i.b { background: var(--blue); } .key i.c { background: var(--white); } .key i.goal { background: var(--sun); }

/* ---------- community ---------- */
.kinds { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 760px) { .kinds { grid-template-columns: 1fr; } .kinds .chips { flex-direction: row; } }
.kinds .chips { flex-direction: column; align-items: stretch; margin: 0; }
.kinds .chip { text-align: left; border-radius: 12px; padding: 12px 14px; }
.kind-panel { min-height: 300px; }
.kind-panel[hidden] { display: none; }
.kind-panel h3 { font-size: 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { margin: 0 0 10px; }
.ticks label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 14px; border: var(--edge); border-radius: 12px; background: var(--card); color: var(--ink); transition: background .15s; }
.ticks input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--jade); }
.ticks label:has(input:checked) { background: #cdeee4; }
.verdict { font-weight: 700; padding: 14px 18px; border: var(--edge); border-radius: 12px; background: var(--paper-2); color: var(--ink); }
.verdict.ok { background: var(--jade-bright); }

/* ---------- FAQ ---------- */
.search { width: 100%; font: 600 1.05rem var(--body); padding: 14px 18px; border: var(--edge); border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); margin-bottom: 26px; display: block; }
.search::placeholder { color: var(--ink-2); }
.faq-group { margin: 34px 0 12px; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.faq-group::before { content: ""; width: 14px; height: 14px; background: var(--hot); border: 2.5px solid var(--ink); border-radius: 50%; box-shadow: 9px 0 0 -1px var(--white), 9px 0 0 1.5px var(--ink); margin-right: 10px; flex: none; }
.faq-group[hidden] { display: none; }
details.q { border: var(--edge); border-radius: 12px; background: var(--card); margin-bottom: 12px; transition: box-shadow .15s, transform .15s; }
details.q[open] { box-shadow: var(--drop); transform: translate(-2px, -2px); }
details.q summary { cursor: pointer; padding: 15px 52px 15px 18px; font-weight: 700; font-size: 1.04rem; list-style: none; position: relative; border-radius: 10px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; font: 800 1.1rem var(--display); background: var(--white); border: 2.5px solid var(--ink); border-radius: 50%; transition: rotate .2s, background .2s, color .2s; }
details.q[open] summary::after { rotate: 45deg; background: var(--hot); color: var(--white); }
details.q .a { padding: 0 18px 16px; }
details.q .a p:last-child { margin: 0; }
.none { font-weight: 700; }

/* ---------- legal ---------- */
.legal h2 { margin-top: 1.8em; font-size: clamp(1.25rem, 2.6vw, 1.7rem); scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 940px) { .legal-grid { grid-template-columns: 1fr; } .legal-side { position: static !important; } }
.legal-side { position: sticky; top: 92px; }
.big-mail { font: 800 clamp(1rem, 2.4vw, 1.35rem) var(--display); word-break: break-all; }
.builder label { display: block; font: 700 .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 12px 0 4px; }
.builder input[type=text], .builder textarea { width: 100%; font: 400 1rem var(--body); padding: 10px 12px; border: 2.5px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); }
.builder textarea { min-height: 84px; resize: vertical; }
.builder .confirm { display: flex; gap: 10px; align-items: flex-start; text-transform: none; font: 400 .95rem/1.45 var(--body); letter-spacing: 0; }
.builder .confirm input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--jade); }
.builder output { display: block; margin-top: 10px; font-weight: 600; min-height: 1.6em; }

/* ---------- call to action ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 5.4vw, 3.6rem); text-shadow: 3px 3px 0 var(--white); }
.cta .actions { justify-content: center; }

/* ---------- footer ---------- */
.foot { background: var(--ink) var(--waves-ink); color: #e4dbc6; padding: 64px 0 44px; font-size: .93rem; position: relative; }
.foot a { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { font: 800 1.1rem var(--display); color: var(--paper); display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .06em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.disclaimer { border: 2.5px solid #e4dbc6; border-radius: var(--r); padding: 30px 22px 20px; background: var(--ink); }
.disclaimer::before { border-bottom-color: #e4dbc6; }
.disclaimer h2 { font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin-bottom: .7em; text-shadow: none; }
.disclaimer p:last-child { margin: 0; }
.disclaimer strong { color: #fff; }

/* ---------- motion tied to the scroll, where the browser has it ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .band::before, .foot::before { animation: slide linear both; animation-timeline: view(); }
    @keyframes slide { from { background-position-x: 0; } to { background-position-x: 192px; } }
    .head .arms, .head-art .disc { animation: sink linear both; animation-timeline: scroll(root); animation-range: 0 520px; }
    @keyframes sink { to { transform: translateY(70px) rotate(5deg); } }
    .duo .rose:first-child { animation: spin-l linear both; animation-timeline: view(); }
    .duo .rose:last-child { animation: spin-r linear both; animation-timeline: view(); }
    @keyframes spin-l { from { transform: rotate(-90deg); } to { transform: rotate(90deg); } }
    @keyframes spin-r { from { transform: rotate(90deg); } to { transform: rotate(-90deg); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal:nth-child(even) { opacity: 1; transform: none; }
  .journey .path-ink { stroke-dashoffset: 0; }
  .petals i { opacity: .9; top: calc(var(--t) * 4% - 30%); }
}
@media print { .top, .menu-btn, .head-art, .hero .sunball, .deck, .ticker, .petals { display: none; } body { background: #fff; } }
