/* Double Fired: studio site. Palette and type follow the game's "Brass & Driftwood" style guide. */
:root {
  --ink: #1e2b4f;
  --ink2: #2c3d6b;
  --ink-deep: #131d3a;
  --brass: #f2b632;
  --brass-l: #ffd866;
  --brass-d: #b9781e;
  --teal: #1fa39a;
  --teal-l: #4fd1c5;
  --teal-d: #137a73;
  --coral: #e8664a;
  --coral-l: #ff8c6e;
  --coral-d: #b8432c;
  --sail: #fbf1da;
  --parch: #f4e3be;
  --parch-d: #e2c995;
  --page: #f7efdc;
  --sea: #19b7d6;
  --sea-d: #0f7fa8;
  --muted: #5b6585;
  --white: #fff;
  --display: "Fredoka", "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(32px, 5vw, 54px); }
h3 { font-size: clamp(21px, 2.4vw, 26px); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--teal-d); }

a, button { touch-action: manipulation; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); font: 700 17px var(--display); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink2); max-width: 58ch; }

/* Outlined cartoon lettering, as in the game's titles */
.outlined {
  color: var(--white);
  text-shadow:
    0 5px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink),
    2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink),
    0 9px 14px rgba(19, 29, 58, 0.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 20px/1 var(--display);
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--brass-l), var(--brass));
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 15px 26px 17px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn.teal { background: linear-gradient(var(--teal), var(--teal-d)); color: var(--white); }
.btn.sail { background: var(--sail); }
.btn.small { font-size: 17px; padding: 10px 18px 12px; border-radius: 14px; box-shadow: 0 4px 0 var(--ink); }

/* Store buttons: our own, until the real badges are allowed */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 190px;
  padding: 10px 20px 12px;
  background: var(--ink-deep);
  color: var(--white);
  border: 3px solid var(--ink-deep);
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: -6px;
  border-radius: 16px;
  box-shadow: 0 6px 0 rgba(19, 29, 58, 0.55);
  font-family: var(--display);
  line-height: 1.15;
}
.store small { font: 500 13px/1.2 var(--body); opacity: 0.8; letter-spacing: 0.04em; text-transform: uppercase; }
.store b { font-size: 21px; font-weight: 700; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  z-index: 50;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 24px, 980px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px 7px 14px;
  background: rgba(251, 241, 218, 0.94);
  backdrop-filter: blur(8px);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--ink);
}
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 21px/1 var(--display); white-space: nowrap; }
.nav .brand img { width: 62px; height: auto; margin-block: -6px; }
.nav ul { display: flex; align-items: center; gap: clamp(4px, 2vw, 22px); list-style: none; margin: 0; padding: 0; }
.nav li a:not(.btn) { font: 600 17px/1 var(--display); color: var(--ink); text-decoration: none; padding: 8px 6px; }
.nav li a:not(.btn):hover { color: var(--coral-d); }
@media (max-width: 640px) {
  .nav .hide-s { display: none; }
  .nav .brand span { font-size: 18px; }
  .nav .brand img { width: 50px; }
}

/* ---------- Waves ---------- */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(60px, 9vw, 120px); pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.waves .w1 { animation: drift 16s linear infinite; opacity: 0.55; }
.waves .w2 { animation: drift 11s linear infinite reverse; opacity: 0.8; }
.waves .w3 { animation: drift 7s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { margin-top: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.dark { background: var(--ink); color: var(--sail); }
.dark .lead { color: #c9d2ee; }
.sea { background: linear-gradient(var(--teal-d), #0d5a55); color: var(--white); }
.sea .lead { color: #e2fbf7; }

/* ---------- Studio home ---------- */
.studio-hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: clamp(110px, 14vw, 180px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #fffaf0 0, var(--page) 55%, var(--parch) 100%);
}
.rays {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 180vmax;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(242, 182, 50, 0.16) 0 9deg, transparent 9deg 18deg);
  mask-image: radial-gradient(circle, #000 0, transparent 62%);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 62%);
  animation: spin 90s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.studio-hero .inner { position: relative; z-index: 2; }
.studio-logo { width: min(86vw, 720px); margin-inline: auto; animation: pop 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both, bob 5s ease-in-out 1s infinite; filter: drop-shadow(0 14px 0 rgba(30, 43, 79, 0.1)); }
@keyframes pop { from { opacity: 0; transform: scale(0.6) rotate(-6deg); } }
@keyframes bob { 50% { translate: 0 -10px; } }
.studio-hero h1 { font-size: clamp(30px, 5.2vw, 58px); margin-top: 18px; animation: rise 0.7s 0.35s ease both; }
.studio-hero h1 em { font-style: normal; color: var(--coral-d); }
.studio-hero .lead { margin: 16px auto 28px; animation: rise 0.7s 0.5s ease both; }
.studio-hero .btn { animation: rise 0.7s 0.65s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* Falling pink slips */
.slips { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.slip {
  position: absolute;
  top: -90px;
  left: var(--x);
  width: 46px;
  height: 60px;
  background: #ffc9d2;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(30, 43, 79, 0.25);
  opacity: 0.85;
  animation: fall var(--d) linear var(--delay) infinite;
}
.slip::before { content: ""; position: absolute; inset: 9px 7px auto; height: 5px; border-radius: 3px; background: var(--coral-d); box-shadow: 0 11px 0 rgba(30, 43, 79, 0.35), 0 20px 0 rgba(30, 43, 79, 0.35), 0 29px 0 rgba(30, 43, 79, 0.2); }
@keyframes fall {
  0% { transform: translateY(0) rotate(-12deg) translateX(0); }
  25% { transform: translateY(30vh) rotate(18deg) translateX(30px); }
  50% { transform: translateY(60vh) rotate(-16deg) translateX(-20px); }
  75% { transform: translateY(90vh) rotate(14deg) translateX(24px); }
  100% { transform: translateY(125vh) rotate(-10deg) translateX(0); }
}

/* Featured game */
.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--sail);
  color: var(--ink);
  border: 4px solid var(--ink-deep);
  border-radius: 30px;
  box-shadow: 0 10px 0 var(--ink-deep);
  overflow: hidden;
}
.feature-card .shot { position: relative; min-height: 340px; overflow: hidden; background: var(--sea); }
.feature-card .shot > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.feature-card:hover .shot > img.bg { transform: scale(1.06); }
.feature-card .shot .glogo { position: absolute; left: 50%; top: 9%; width: min(62%, 380px); transform: translateX(-50%); filter: drop-shadow(0 8px 0 rgba(19, 29, 58, 0.35)); animation: bob 5s ease-in-out infinite; }
.feature-card .text { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; }
.tag { display: inline-block; font: 700 14px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; background: var(--coral-d); color: var(--white); border: 3px solid var(--ink); border-radius: 999px; padding: 6px 12px 7px; }
.tag.teal { background: var(--teal-d); }
@media (max-width: 820px) { .feature-card { grid-template-columns: 1fr; } .feature-card .shot { min-height: 0; aspect-ratio: 16 / 10; } }

/* Story steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--sail); border: 3px solid var(--ink); border-radius: 24px; padding: 30px 24px 26px; box-shadow: 0 6px 0 var(--ink); counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: -22px; left: 20px; width: 46px; height: 46px; display: grid; place-items: center; font: 700 24px/1 var(--display); color: var(--white); background: var(--coral); border: 3px solid var(--ink); border-radius: 50%; box-shadow: 0 4px 0 var(--ink); }
.step:nth-child(2)::before { background: var(--ink2); }
.step:nth-child(3)::before { background: var(--teal); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* Contact */
.contact-card { background: var(--brass-l); border: 4px solid var(--ink); border-radius: 30px; box-shadow: 0 10px 0 var(--ink); padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; gap: 18px; justify-items: center; }

/* ---------- Footer ---------- */
footer { background: var(--ink-deep); color: #b9c3e3; padding: 46px 0 40px; font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
footer img { width: 190px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--sail); text-decoration: none; font-family: var(--display); font-weight: 600; }
footer a:hover { color: var(--brass-l); }
footer .fine { width: 100%; font-size: 14px; opacity: 0.75; }

/* ---------- Game page ---------- */
.game-hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0 clamp(120px, 16vw, 200px);
  overflow: hidden;
  background: var(--sea);
  color: var(--white);
}
.game-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.game-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(14, 67, 122, 0.55), rgba(14, 67, 122, 0) 32%, rgba(14, 67, 122, 0) 55%, rgba(15, 96, 122, 0.55)); }
.game-hero .inner { position: relative; z-index: 2; }
.game-logo { width: min(84vw, 600px); margin-inline: auto; animation: drop 1s cubic-bezier(0.2, 1.3, 0.4, 1) both, bob 5s ease-in-out 1s infinite; filter: drop-shadow(0 12px 0 rgba(19, 29, 58, 0.3)); }
@keyframes drop { from { opacity: 0; transform: translateY(-80px) scale(0.8) rotate(-5deg); } }
.game-hero h1 { font-size: clamp(26px, 4.4vw, 46px); margin: 10px auto 22px; max-width: 18ch; animation: rise 0.7s 0.4s ease both; }
.game-hero .stores { justify-content: center; animation: rise 0.7s 0.55s ease both; }
.game-hero .soon { margin-top: 16px; font: 600 17px var(--display); text-shadow: 0 2px 0 rgba(19, 29, 58, 0.6); animation: rise 0.7s 0.7s ease both; }

/* Feature rows */
.rows { display: grid; gap: clamp(48px, 8vw, 96px); }
.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.row:nth-child(even) .device { order: 2; }
.row h3 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.row p { color: var(--ink2); max-width: 46ch; }
.row ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.row li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.row li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--brass); border: 3px solid var(--ink); }
@media (max-width: 820px) { .row { grid-template-columns: 1fr; } .row:nth-child(even) .device { order: 0; } }

.device { position: relative; border: 9px solid var(--ink-deep); border-radius: 30px; box-shadow: 0 10px 0 rgba(19, 29, 58, 0.28), 0 30px 50px -20px rgba(19, 29, 58, 0.5); overflow: hidden; background: var(--ink-deep); rotate: -2deg; transition: rotate 0.4s ease, transform 0.4s ease; aspect-ratio: 16 / 9; }
.row:nth-child(even) .device { rotate: 2deg; }
.device:hover { rotate: 0deg; transform: scale(1.02); }
.device img, .device video { display: block; width: 100%; height: 100%; object-fit: cover; }
.device.wide { max-width: 920px; margin: 0 auto clamp(28px, 4vw, 44px); rotate: 0deg; }

/* Crew */
.crew { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.mate { background: var(--sail); color: var(--ink); border: 3px solid var(--ink-deep); border-radius: 22px; box-shadow: 0 6px 0 var(--ink-deep); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.mate:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 14px 0 var(--ink-deep); }
.mate:nth-child(even):hover { transform: translateY(-8px) rotate(1.5deg); }
.mate .art { position: relative; background: radial-gradient(circle at 50% 35%, var(--tint-l), var(--tint)); border-bottom: 3px solid var(--ink-deep); }
.mate .art img.bust { width: 100%; aspect-ratio: 1; object-fit: contain; object-position: bottom; transition: transform 0.25s ease; transform-origin: 50% 100%; }
.mate:hover .art img.bust { transform: scale(1.06); }
.mate .token { position: absolute; top: 8px; right: 8px; width: 38px; filter: drop-shadow(0 3px 0 rgba(19, 29, 58, 0.35)); }
.mate .info { padding: 12px 14px 15px; }
.mate h3 { font-size: 20px; }
.mate .kind { font-size: 14px; color: var(--muted); }
.mate .ability { margin-top: 8px; font: 600 15px/1.25 var(--display); color: var(--coral-d); }
.n-storm { --tint: #5a5fc0; --tint-l: #9ea4ff; }
.n-tide { --tint: #1790c6; --tint-l: #74d6f5; }
.n-venom { --tint: #7a46b8; --tint-l: #c79bf2; }
.n-shell { --tint: #d07a2c; --tint-l: #ffc57e; }
.n-ice { --tint: #4fa9d6; --tint-l: #c9f1ff; }
@media (max-width: 1000px) {
  .crew { grid-auto-flow: column; grid-auto-columns: min(62vw, 220px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 22px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .crew::-webkit-scrollbar { display: none; }
  .mate { scroll-snap-align: center; }
}

/* Order of nature */
.nature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.ring { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring svg path { stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; fill: none; }
.ring svg path.head { fill: var(--ink); stroke: none; }
.ring .n { position: absolute; left: var(--x); top: var(--y); width: 18%; transform: translate(-50%, -50%); animation: bob 4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.ring .n img { width: 100%; filter: drop-shadow(0 5px 0 rgba(30, 43, 79, 0.25)); }
.ring .n span { position: absolute; left: 50%; top: 100%; translate: -50% 5px; font: 700 clamp(13px, 1.5vw, 16px)/1 var(--display); color: var(--ink); white-space: nowrap; }
.ring .mid { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30%; text-align: center; font: 700 clamp(13px, 1.5vw, 17px)/1.2 var(--display); color: var(--ink2); }
@media (max-width: 820px) { .nature-grid { grid-template-columns: 1fr; } }

/* Cards and helpers */
.cards { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) {
  .cards { grid-auto-flow: column; grid-auto-columns: min(46vw, 170px); grid-template-columns: none; grid-template-rows: repeat(2, auto); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 20px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; }
}
.card { background: var(--sail); color: var(--ink); border: 3px solid var(--ink-deep); border-radius: 20px; box-shadow: 0 6px 0 #0b1226; padding: 9px 9px 13px; text-align: center; }
.card .pic { border-radius: 12px; border: 3px solid var(--ink-deep); background: linear-gradient(#bfe9f5, #7fc6e0); overflow: hidden; margin-bottom: 12px; }
.card .pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card .pic { margin-bottom: 9px; }
.card h3 { font-size: 17px; }
.card p { font-size: 14px; color: var(--ink2); line-height: 1.4; margin-top: 4px; }
.card .tag { margin-bottom: 8px; font-size: 12px; padding: 4px 9px 5px; border-width: 2px; }

/* Arenas */
.arena { position: relative; border: 5px solid var(--ink); border-radius: 30px; box-shadow: 0 10px 0 var(--ink); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.arena img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.8s ease, transform 6s ease; }
.arena img.on { opacity: 1; transform: scale(1); }
.arena .name { position: absolute; left: 18px; bottom: 16px; font-size: clamp(24px, 4vw, 44px); font-family: var(--display); font-weight: 700; }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.tabs button { font: 700 18px/1 var(--display); color: var(--ink); background: var(--sail); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 18px 12px; box-shadow: 0 4px 0 var(--ink); cursor: pointer; transition: transform 0.12s ease, background 0.2s ease; }
.tabs button:hover { transform: translateY(-2px); }
.tabs button[aria-selected="true"] { background: var(--brass); transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* Final call */
.final { text-align: center; overflow: hidden; background: linear-gradient(#1479ab, #0c5b85); color: var(--white); padding-bottom: clamp(120px, 15vw, 190px); }
.final h2 { font-size: clamp(36px, 6vw, 68px); }
.final .lead { color: #eafaff; margin: 16px auto 28px; }
.final .chest { width: clamp(120px, 16vw, 190px); margin: 0 auto 10px; animation: hop 2.6s ease-in-out infinite; filter: drop-shadow(0 10px 0 rgba(19, 29, 58, 0.25)); }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-16px) rotate(-5deg); } 80% { transform: translateY(0) rotate(4deg); } 90% { transform: translateY(-6px) rotate(-2deg); } }

/* ---------- Legal pages ---------- */
.legal { padding-top: 140px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--ink2); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal h3 { font-size: 20px; margin: 24px 0 8px; }
.summary { background: var(--sail); border: 3px solid var(--ink); border-radius: 18px; padding: 16px 20px 6px; margin: 22px 0 8px; box-shadow: 0 4px 0 var(--ink); }
.summary p { margin-bottom: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 16px; background: var(--sail); border: 3px solid var(--ink); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1.5px solid var(--parch-d); color: var(--ink2); }
.legal th { font-family: var(--display); color: var(--ink); background: var(--parch); }
@media (max-width: 640px) { .legal table { font-size: 14px; } .legal th, .legal td { padding: 8px; } }
.note { background: var(--brass-l); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; font-weight: 500; margin: 20px 0 8px; box-shadow: 0 4px 0 var(--ink); }
.faq details { background: var(--sail); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; margin-bottom: 14px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { font: 700 19px var(--display); cursor: pointer; }
.faq details p { margin: 10px 0 0; }

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