:root {
  --mud: #140e09;
  --mud-2: #22180f;
  --mud-3: #34251a;
  --plank: #5a3b22;
  --cream: #f2e4c4;
  --paper: #eadbb6;
  --tan: #c8a468;
  --tan-dark: #8f6f3a;
  --olive: #5f5e26;
  --olive-dark: #3b3a17;
  --red: #ff3d2e;
  --green: #5dff4a;
  --eye: #d9e64b;
  --ink: #0b0806;

  --display: 'UnifrakturCook', 'Old English Text MT', serif;
  --stencil: 'Big Shoulders Stencil Display', 'Impact', sans-serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'Martian Mono', ui-monospace, monospace;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font: 400 17px/1.5 var(--body);
  background-color: var(--mud);
  /* red sky on the left of the page, green on the right, mud planks underneath */
  background-image:
    radial-gradient(60vw 90vh at -10% 20%, rgba(255, 61, 46, .16), transparent 70%),
    radial-gradient(60vw 90vh at 110% 60%, rgba(93, 255, 74, .12), transparent 70%),
    linear-gradient(rgba(20, 14, 9, .86), rgba(20, 14, 9, .86)),
    url('/img/planks.webp');
  background-size: auto, auto, auto, 384px;
  background-attachment: fixed, fixed, scroll, scroll;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, [role=button], summary, label { cursor: pointer; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--eye); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared bits ---------- */
.h2 {
  margin: 0 0 12px;
  font: 900 clamp(40px, 6.4vw, 78px)/.92 var(--stencil);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--cream);
}
.tag {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  background: var(--tan);
  color: var(--ink);
  font: 900 20px/1 var(--stencil);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--tan-dark), 0 10px 18px rgba(0, 0, 0, .45);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
/* stitched canvas edge, like the helmet strap */
.tag::before {
  content: ''; position: absolute; inset: 5px;
  border: 2px dashed rgba(11, 8, 6, .45);
  pointer-events: none;
}
.tag:hover { transform: translateY(-2px); background: #d6b47a; box-shadow: 0 7px 0 var(--tan-dark), 0 14px 22px rgba(0, 0, 0, .5); }
.tag:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--tan-dark), 0 4px 10px rgba(0, 0, 0, .4); }
.tag--small { min-height: 42px; padding: 8px 16px; font-size: 17px; }
.tag--olive { background: var(--olive); color: var(--cream); box-shadow: 0 5px 0 var(--olive-dark), 0 10px 18px rgba(0, 0, 0, .45); }
.tag--olive::before { border-color: rgba(242, 228, 196, .35); }
.tag--olive:hover { background: #6f6d2e; box-shadow: 0 7px 0 var(--olive-dark), 0 14px 22px rgba(0, 0, 0, .5); }

.round {
  display: inline-grid; place-items: center;
  min-width: 48px; min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--tan);
  border-radius: 999px;
  background: var(--mud-2);
  color: var(--tan);
  font: 900 20px/1 var(--stencil);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s;
}
.round:hover { background: var(--tan); color: var(--ink); }
.round:active { transform: scale(.96); }
.round--wide { padding: 0 20px; font-size: 18px; }

.stencil-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 700 19px/1 var(--stencil);
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--eye);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color .15s;
}
.stencil-link:hover { color: var(--green); }

.pip { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--eye); box-shadow: 0 0 8px var(--eye); }
.pip--gone { background: var(--mud-3); box-shadow: none; }

/* ---------- header: the parapet plank ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  height: 64px;
  padding: 0 var(--gut);
  background: linear-gradient(rgba(20, 14, 9, .35), rgba(20, 14, 9, .55)), url('/img/planks.webp') 0 -6px / 256px;
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}
.top__home { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.top__home img { width: 44px; height: auto; filter: drop-shadow(0 2px 0 var(--ink)); }
.top__lives { display: flex; gap: 4px; padding: 6px 9px; background: rgba(11, 8, 6, .7); border-radius: 999px; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a {
  font: 900 19px/1 var(--stencil); text-transform: uppercase; letter-spacing: .06em;
  color: var(--cream); text-decoration: none; padding: 10px 0;
  text-shadow: 0 2px 0 var(--ink);
  transition: color .15s;
}
.top__nav a:hover { color: var(--eye); }
.top .tag { flex: none; }

/* ---------- hero ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gut) 0; }
.hero__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 10px solid var(--plank);
  outline: 3px solid var(--ink);
  box-shadow: inset 0 0 0 3px var(--ink), 0 30px 60px rgba(0, 0, 0, .55);
  background: var(--mud-2);
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.name {
  position: absolute; left: 0; right: 0; top: 3.5%;
  margin: 0;
  text-align: center;
  font-family: var(--display); font-weight: 700;
  line-height: .82;
  color: var(--cream);
  paint-order: stroke fill;
  -webkit-text-stroke: .09em var(--ink);
  text-shadow: 0 .07em 0 var(--ink), 0 .12em .2em rgba(0, 0, 0, .6);
  z-index: 2;
}
.name span { display: block; }
.name__small { font-size: clamp(30px, 5vw, 66px); letter-spacing: .02em; }
.name__big { font-size: clamp(66px, 13.4vw, 176px); }
/* ticker sewn on like a canvas strap tag under the name */
.name .name__ticker {
  display: table;
  margin: .5em auto 0;
  padding: .32em .7em .26em;
  font: 900 clamp(18px, 2.4vw, 30px)/1 var(--stencil);
  letter-spacing: .12em;
  color: var(--ink);
  background: var(--tan);
  -webkit-text-stroke: 0;
  text-shadow: none;
  outline: 2px dashed rgba(11, 8, 6, .45);
  outline-offset: -6px;
  box-shadow: 0 4px 0 var(--tan-dark), 0 8px 16px rgba(0, 0, 0, .5);
  transform: rotate(-2deg);
}
.hero__cat {
  position: absolute; z-index: 3;
  left: 50%; bottom: -12%;
  width: 37%;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55));
  pointer-events: none;
}
.hero__under {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px 48px; align-items: end;
  padding: clamp(70px, 9vw, 110px) 0 10px;
}
.hero__line { grid-column: 1; margin: 0; font: 900 clamp(34px, 4.6vw, 58px)/.95 var(--stencil); text-transform: uppercase; }
.hero__line em { font-style: normal; color: var(--eye); text-shadow: 0 0 18px rgba(217, 230, 75, .45); }
.hero__sub { grid-column: 2; margin: 0; max-width: 440px; color: #d9c9a6; }
.hero__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 18px; }

/* ---------- lives deck ---------- */
.lives {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gut) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 32px 56px; align-items: center;
}
.lives__hint { margin: 0; color: #bfae8b; max-width: 360px; }
.deck { width: 100%; }
.deck__stack { cursor: pointer; position: relative; height: clamp(500px, 62vw, 600px); touch-action: pan-y; user-select: none; }
.life {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .7);
  transform-origin: top center;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1), opacity .7s cubic-bezier(.22, .61, .36, 1);
}
.life.is-falling { transition: transform .42s cubic-bezier(.4, 0, .7, 1), opacity .36s ease-out; }
.life img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; border-bottom: 3px solid var(--ink); }
.life--red { --mark: var(--red); }
.life--green { --mark: #2fbf22; }
.life--last { --mark: var(--olive); background: #d8cc9f; }
.life--last img { object-fit: contain; background: radial-gradient(circle at 50% 70%, #9a9446, var(--olive-dark)); padding-top: 12px; }
.life__body { position: relative; padding: 18px 22px 22px; border-top: 10px solid var(--mark); flex: none; }
.life__n { font: 900 30px/1 var(--stencil); text-transform: uppercase; }
.life__mark {
  float: right;
  padding: 5px 10px 4px;
  background: var(--mark); color: var(--ink);
  font: 700 15px/1 var(--stencil); text-transform: uppercase; letter-spacing: .08em;
}
.life--last .life__mark { color: var(--cream); }
.life p { margin: 10px 0 0; font-size: 19px; line-height: 1.4; font-weight: 600; }
/* text only lives: a big number fills the card instead of art */
.life--note { justify-content: flex-end; background: var(--paper) url('/img/planks.webp') center / 300px; }
.life--note::before {
  content: attr(data-life);
  position: absolute; left: 0; right: 0; top: 6%;
  text-align: center;
  font: 900 min(300px, 60vw)/1 var(--stencil);
  color: var(--mark);
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 10px 0 var(--ink);
}
.life--note .life__body { background: var(--paper); }
.life .w { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity .35s cubic-bezier(.22, .61, .36, 1), transform .35s cubic-bezier(.22, .61, .36, 1); }
.life.is-front .w { opacity: 1; transform: none; }
.deck__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 34px; }
.deck__count { margin: 0; font: 700 20px/1 var(--stencil); text-transform: uppercase; letter-spacing: .08em; color: #bfae8b; }
.lives__tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 420px; margin-top: 28px; }
.claw {
  display: grid; justify-items: start; align-content: space-between; gap: 10px;
  min-height: 92px; padding: 12px 14px;
  border: 3px solid var(--ink);
  background: var(--mud-3);
  color: var(--cream);
  text-align: left;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .2s, background-color .2s, color .2s;
}
.claw b { font: 900 44px/.8 var(--stencil); }
.claw span { font: 700 14px/1 var(--stencil); text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.claw:hover { transform: translateY(-3px); }
.claw[data-mark=red] { background: #7a1d16; }
.claw[data-mark=green] { background: #1d5a17; }
.claw[data-mark=last] { background: var(--olive); }
.claw[aria-current=true] { transform: translateY(-5px); background: var(--eye); color: var(--ink); }

/* ---------- swat game ---------- */
.swat {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 28px 48px; align-items: center;
}
.swat__text p { margin: 0 0 20px; color: #d9c9a6; }
.swat__score { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.swat__score div { padding: 12px 14px; background: rgba(11, 8, 6, .6); border-left: 6px solid var(--tan); }
.swat__score div:nth-child(2) { border-color: var(--red); }
.swat__score div:nth-child(3) { border-color: var(--green); }
.swat__score dt { font: 700 14px/1 var(--stencil); text-transform: uppercase; letter-spacing: .08em; color: #bfae8b; }
.swat__score dd { margin: 6px 0 0; font: 600 26px/1 var(--mono); }
.swat__field {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 10px solid var(--plank);
  outline: 3px solid var(--ink);
  background: linear-gradient(rgba(20, 14, 9, .55), rgba(20, 14, 9, .2)), url('/img/hero.webp') center 70% / cover;
  touch-action: manipulation;
}
.swat__field canvas { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.swat__field.is-on canvas { visibility: visible; }
.swat__cat {
  position: absolute; bottom: -4%; right: 4%;
  width: 30%;
  transform-origin: 50% 90%;
  transition: transform .14s ease-out;
  pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .6));
}
.swat__cat.is-left { transform: scaleX(-1); }
.swat__cat.is-hit { transform: rotate(-8deg) scale(1.04); }
.swat__cat.is-left.is-hit { transform: scaleX(-1) rotate(-8deg) scale(1.04); }
.swat__over {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  padding: 20px; text-align: center;
  background: rgba(11, 8, 6, .62);
  transition: opacity .25s;
}
.swat__over.is-off { opacity: 0; pointer-events: none; }
.swat__msg { margin: 0; max-width: 420px; font: 900 clamp(28px, 4vw, 44px)/1 var(--stencil); text-transform: uppercase; }
.swat__btns { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: center; align-items: center; }

/* ---------- duty: wallet service record ---------- */
.duty {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 24px 56px; align-items: center;
}
.duty__cat { width: auto; max-height: 560px; max-width: 100%; justify-self: center; margin-bottom: -40px; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .6)); }
.duty__p { margin: 0 0 22px; max-width: 560px; color: #d9c9a6; }
.duty__in { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.duty__form { display: flex; flex: 1 1 300px; gap: 8px; min-width: 0; }
.duty__form input {
  flex: 1; min-width: 0; min-height: 48px;
  padding: 0 16px;
  border: 2px solid var(--tan);
  border-radius: 999px;
  background: rgba(11, 8, 6, .7);
  color: var(--cream);
  font: 400 13px/1 var(--mono);
}
.duty__form input::placeholder { color: #8f805f; }
.duty__err { min-height: 24px; margin: 10px 0 0; color: #ff8a7f; font-weight: 600; }
.duty__err.is-ok { color: var(--eye); }

.record {
  position: relative;
  margin-top: 8px;
  padding: 24px clamp(18px, 3vw, 30px);
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--olive-dark);
  animation: record-in .5s cubic-bezier(.22, .61, .36, 1);
}
@keyframes record-in { from { opacity: 0; transform: translateY(16px) rotate(-1deg); } to { opacity: 1; transform: none; } }
.record__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; }
.record__rank { font: 900 clamp(34px, 5vw, 52px)/1 var(--stencil); text-transform: uppercase; }
.record__addr { font: 600 13px/1.4 var(--mono); overflow-wrap: anywhere; }
.record__line { margin: 14px 0; font-size: 19px; font-weight: 600; }
.record__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.record__grid div { padding: 10px 12px; background: rgba(95, 94, 38, .18); border-left: 5px solid var(--olive); }
.record__grid dt { font: 700 14px/1.1 var(--stencil); text-transform: uppercase; letter-spacing: .06em; }
.record__grid dd { margin: 6px 0 0; font: 600 18px/1.2 var(--mono); overflow-wrap: anywhere; }
.record__note { margin: 12px 0 0; font-size: 14px; color: #5c4c33; }
.record__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.record .round { background: var(--ink); }
.record__oath { margin: 12px 0 0; font: 400 12px/1.5 var(--mono); overflow-wrap: anywhere; }

/* ---------- supply drop + CA ---------- */
.supply {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(70px, 9vw, 110px) var(--gut) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 24px 56px; align-items: center;
}
.supply__crate { width: 100%; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .6)); transform: rotate(-3deg); }
.supply__main > p { margin: 0 0 20px; color: #d9c9a6; }
.ca {
  display: grid; gap: 8px;
  width: 100%;
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 3px solid var(--ink);
  background: var(--olive);
  color: var(--cream);
  text-align: left;
  box-shadow: 0 6px 0 var(--olive-dark), 0 14px 24px rgba(0, 0, 0, .5);
  transition: transform .15s, background-color .15s;
}
.ca:hover { transform: translateY(-2px); background: #6c6a2c; }
.ca__label { font: 700 15px/1 var(--stencil); text-transform: uppercase; letter-spacing: .1em; color: var(--tan); }
.ca__addr { font: 600 clamp(11px, 3.1vw, 18px)/1.4 var(--mono); overflow-wrap: anywhere; word-break: break-all; }
.ca__status { font: 900 17px/1 var(--stencil); text-transform: uppercase; letter-spacing: .06em; color: var(--eye); }
.ca.is-copied { background: #2d6a24; }
.supply__links { display: flex; flex-wrap: wrap; gap: 16px; }
.supply__x { margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut); }
.faq details { border-top: 2px solid var(--mud-3); }
.faq details:last-child { border-bottom: 2px solid var(--mud-3); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 12px 0;
  font: 900 clamp(22px, 3vw, 30px)/1.05 var(--stencil); text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 600 26px/1 var(--mono); color: var(--eye); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: #d9c9a6; max-width: 620px; }

/* ---------- footer ---------- */
.end {
  margin-top: 40px;
  padding: 0 var(--gut) 40px;
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6) 40%);
}
.end__cat { width: min(300px, 70vw); margin: 0 auto; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .7)); }
.end__line {
  margin: 10px 0 8px;
  font: 700 clamp(36px, 6vw, 64px)/1 var(--display);
  color: var(--cream);
  paint-order: stroke fill;
  -webkit-text-stroke: .08em var(--ink);
}
.end__small { margin: 4px 0 0; color: #8f805f; font-size: 14px; }

/* ---------- wallet picker (dialog) ---------- */
.wallets {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--olive-dark);
}
.wallets::backdrop { background: rgba(11, 8, 6, .78); }
.wallets__in { position: relative; padding: 24px 22px 20px; }
.wallets__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font: 400 34px/1 var(--body); }
.wallets__h { margin: 0 40px 16px 0; font: 900 34px/1 var(--stencil); text-transform: uppercase; }
.wallets__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wallets__list button {
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 56px; padding: 8px 14px;
  border: 2px solid var(--ink);
  background: #f6ecd2;
  font: 700 18px/1 var(--body);
  text-align: left;
  opacity: 0; transform: translateY(14px);
  animation: wallet-in .35s cubic-bezier(.22, .61, .36, 1) forwards;
  transition: background-color .15s;
}
.wallets__list button:hover { background: var(--tan); }
.wallets__list img { width: 32px; height: 32px; border-radius: 8px; }
.wallets__list .go { margin-left: auto; font-family: var(--mono); opacity: .5; }
@keyframes wallet-in { to { opacity: 1; transform: none; } }
.wallets__none { margin: 0 0 12px; font-weight: 600; }
.wallets__open { display: flex; flex-wrap: wrap; gap: 10px; }
.wallets__open .round { background: var(--ink); }
.wallets__off { margin-top: 14px; min-height: 44px; padding: 0; border: 0; background: none; text-decoration: underline; font-weight: 700; }

/* ---------- intro (added by JS) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(11, 8, 6, .86);
  transition: opacity .4s ease;
}
.intro__card {
  width: min(460px, 100%);
  padding: 28px 26px 24px;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--olive-dark);
  text-align: center;
}
.intro__pips { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.intro__pips .pip { width: 18px; height: 18px; border: 2px solid var(--ink); transition: background-color .25s, box-shadow .25s; }
.intro__line { min-height: 2.1em; margin: 0; font: 900 clamp(30px, 7vw, 42px)/1.05 var(--stencil); text-transform: uppercase; }
.intro__line.is-new { animation: line-in .35s cubic-bezier(.22, .61, .36, 1); }
@keyframes line-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intro__skip { margin: 14px 0 0; font-size: 14px; color: #5c4c33; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .top__nav { display: none; }
  .top .tag { margin-left: auto; }
  .hero__frame { aspect-ratio: 4 / 5; }
  .hero__sky { object-position: 50% 50%; }
  .hero__cat { width: 92%; bottom: -9%; }
  .name { top: 4%; }
  .hero__under { grid-template-columns: 1fr; padding-top: 70px; }
  .hero__sub { grid-column: 1; }
  .lives, .swat, .duty, .supply { grid-template-columns: 1fr; }
  .lives__hint { max-width: none; }
  .swat__field { aspect-ratio: 3 / 4; max-height: 76vh; width: 100%; }
  .duty__cat { max-height: 340px; margin-bottom: 0; grid-row: 2; }
  .duty__main { grid-row: 1; }
  .supply__crate { max-width: 300px; justify-self: center; }
}
@media (max-width: 420px) {
  .top { gap: 10px; }
  .top__lives { display: none; }
  .life p { font-size: 17px; }
  .lives__tally { grid-template-columns: repeat(9, minmax(32px, 1fr)); gap: 0; max-width: none; margin-top: 18px; }
  .claw { min-height: 48px; padding: 0; place-items: center; justify-items: center; box-shadow: none; border-width: 2px; }
  .claw b { font-size: 22px; }
  .claw span { display: none; }
  .claw[aria-current=true] { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
