/* The gated mod site's pages, in the public site's design (site/assets/site.css): paper, heavy ink, the red rose and the white,
   Prussian blue and gold; a shield, ribbons and bunting beside wave and hemp-leaf patterns, a cartouche and a seal. Everything is
   served by this server: this file, the fonts under /fonts/ (fonts/OFL.txt), drawings inline in the page (art.mjs). The pages allow
   no inline style and no script, so every look is a class here. */
/* 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;
  --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 { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper-2) var(--hemp-ink); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
svg { 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; }
.top :focus-visible, .head :focus-visible, .foot :focus-visible { outline-color: var(--sun); }
p { margin: 0 0 1em; }
.wrap { width: min(760px, 100% - 40px); margin-inline: auto; }

/* 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; }

/* ---------- the bar ---------- */
.top { 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); position: relative; z-index: 5; }
.top-row { width: min(1160px, 100% - 40px); margin-inline: auto; 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; }
.top-link { color: var(--paper); font-weight: 600; font-size: .93rem; text-decoration: none; padding: 8px 4px; border-bottom: 4px solid transparent; }
.top-link:hover { color: var(--sun); border-bottom-color: var(--sun); }

/* ---------- the header art: sun, petals, shield and scroll, cartouche and seal, waves ---------- */
.head { background: var(--ink) var(--grain-light); color: var(--paper); position: relative; overflow: hidden; padding: clamp(36px, 6vw, 60px) 0 clamp(96px, 12vw, 130px); }
.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; }
.head > .wrap { position: relative; z-index: 2; width: min(1160px, 100% - 40px); }
.head-art { position: absolute; inset: 0; pointer-events: none; }
.head-art .disc { position: absolute; border-radius: 50%; background: var(--hot); width: 400px; aspect-ratio: 1; right: max(-60px, calc(50% - 640px)); top: -170px; }
.head-art .disc::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: 22px; width: 120px; display: grid; justify-items: center; pointer-events: auto; }
.arms .shield { width: 120px; 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 .58rem/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: 18px; display: grid; justify-items: center; gap: 8px; }
.cartouche b { writing-mode: vertical-rl; font: 700 .74rem/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); padding: 12px 7px 8px;
  box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3.5px var(--hot); }
.seal { display: inline-grid; place-items: center; font: 700 .9rem/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: 6px 4px; 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); }
@media (max-width: 1100px) { .cartouche { display: none; } .arms { right: 28px; } }
@media (max-width: 700px) { .arms { top: 14px; right: 14px; width: 62px; } .arms .shield { width: 62px; filter: drop-shadow(3px 3px 0 rgba(22, 19, 15, .9)); } .arms .scroll { display: none; } .head-art .disc { width: 230px; right: -70px; top: -120px; } }
.eyebrow { display: inline-block; font: 700 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1em; background: var(--sun); color: var(--ink);
  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(--hot)); }
.wordmark { font: 900 clamp(1.9rem, 5vw, 3.3rem)/1.05 var(--display); text-transform: uppercase; margin: 0; color: var(--paper); filter: drop-shadow(3px 3px 0 var(--hot)) drop-shadow(3px 3px 0 var(--blue)); max-width: calc(100% - 360px); text-wrap: balance; }
.wordmark .rose { display: inline-block; width: .7em; height: .7em; vertical-align: -.06em; margin: 0 .22em 0 0; }
.wordmark span + .rose { margin: 0 0 0 .22em; }
@media (max-width: 1100px) { .wordmark { max-width: calc(100% - 170px); } }
@media (max-width: 700px) { .wordmark { max-width: calc(100% - 70px); } }

.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; }
@keyframes fall { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 8% { opacity: .95; } 50% { transform: translate3d(40px, 220px, 0) rotate(260deg); } 92% { opacity: .9; }
  100% { transform: translate3d(-18px, 460px, 0) rotate(560deg); opacity: 0; } }

/* ---------- the page's one card ---------- */
main { flex: 1; position: relative; z-index: 3; margin-top: clamp(-90px, -9vw, -64px); padding-bottom: 72px; }
.box { position: relative; background: var(--card) var(--grain); color: var(--ink); border: var(--edge); border-radius: var(--r); padding: clamp(34px, 5vw, 44px) clamp(20px, 4vw, 36px) clamp(22px, 4vw, 32px); box-shadow: var(--drop); }
.box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--bunting); border-bottom: 2px solid var(--ink); border-radius: 10px 10px 0 0; }
.box::after { content: ""; position: absolute; right: 18px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--hot); opacity: .16; box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 9px var(--hot); pointer-events: none; }
h1 { font: 800 clamp(1.7rem, 5vw, 2.6rem)/1.08 var(--display); letter-spacing: -.01em; margin: 0 0 .5em; text-shadow: 2.5px 2.5px 0 rgba(212, 42, 42, .36); text-wrap: balance; }
.btn { display: inline-flex; align-items: center; justify-content: center; 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; text-align: center; margin: 0 8px 8px 0; }
.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.primary { background: var(--hot); color: var(--white); }
.btn.primary:hover { color: var(--white); }
form { display: inline-block; margin: 0; }
.small { font-size: .92rem; color: var(--ink-2); }
.note { border-left: 6px solid var(--hot); background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 0 10px 10px 0; font-weight: 600; }
details { border: 2.5px solid var(--ink); border-radius: 12px; background: var(--white); padding: 0 16px; margin: 0 0 1em; }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; color: var(--ink); }
details[open] summary { border-bottom: 2px dashed var(--ink); margin-bottom: 12px; }
.link { width: 100%; font: 13px/1.4 var(--mono); padding: 10px; border: 2.5px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); }
.ways { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.ways li { padding-left: 34px; position: relative; }
.ways li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--hot); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 3px var(--white); }
.ways li:nth-child(even)::before { background: var(--white); box-shadow: inset 0 0 0 3px var(--hot); }

/* ---------- footer ---------- */
.foot { background: var(--ink) var(--waves-ink); color: #e4dbc6; padding: 56px 0 40px; font-size: .93rem; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 32px; background: var(--rose-line-paper) 0 0 / 96px 32px repeat-x; pointer-events: none; }
.foot a { color: var(--sun); }
.disclaimer { position: relative; border: 2.5px solid #e4dbc6; border-radius: var(--r); padding: 30px 22px 18px; background: var(--ink); }
.disclaimer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: var(--bunting); border-bottom: 2px solid #e4dbc6; border-radius: 10px 10px 0 0; }
.disclaimer h2 { font: 800 .95rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--sun); margin: 0 0 .7em; }
.disclaimer p:last-child { margin: 0; }
.disclaimer strong { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .petals i { opacity: .9; top: calc(var(--t) * 4% - 30%); }
}

/* ---------- the developer tools' plain pages (/dev/ refused: no header art) and the link for developers ---------- */
.plain-main { flex: 1; width: min(640px, 100% - 32px); margin: 12vh auto 48px; }
.dev-link { margin-top: 1.4em; padding-top: 1em; border-top: 2px dashed var(--ink); }
.dev-link .small { display: block; margin-top: 4px; }
