/* JoyQuay — "the quay": deep sky blue, sand, five beach-hut colours. Archivo: wide for display, normal width for text. */
:root {
  --sky: #1d4a80;
  --sky-hi: #2a62a8;
  --deep: #0f2747;
  --sand: #f1e2c2;
  --sand-lo: #e4cfa4;
  --paper: #fbf6eb;
  --ink: #12203a;
  --ink-2: #44506a;
  --sun: #ffcc2e;
  --foam: #ffffff;
  --line: rgba(18, 32, 58, .16);
  --line-light: rgba(255, 255, 255, .28);
  --gut: 24px;
  --max: 1240px;
  --r: 22px;
  --wide: 'Archivo', 'Arial Black', system-ui, sans-serif;
  color-scheme: light;
}
@media (max-width: 760px) { :root { --gut: 16px; --r: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--wide); font-stretch: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 99px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* type */
h1, h2, h3 { font-family: var(--wide); font-stretch: 125%; font-weight: 850; line-height: .95; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(40px, 7.4vw, 104px); }
h2 { font-size: clamp(30px, 4.4vw, 58px); }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.02; }
p { margin: 0 0 1em; }
.meta, .kicker { font-stretch: 112%; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.kicker::before { content: ""; width: 26px; height: 10px; border-radius: 99px; background: var(--sun); }
.deck { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; max-width: 40em; }
.textlink { font-stretch: 112%; font-weight: 750; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--sun); padding-bottom: 2px; }
.textlink:hover { border-color: currentColor; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 99px; border: 2px solid currentColor; background: transparent; color: inherit; font: 750 15px/1 var(--wide); font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.pill--sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.pill--ink { background: var(--ink); border-color: var(--ink); color: var(--foam); }
.pill:hover { transform: translateY(-1px); }
.pill--sun:hover { background: #ffd95a; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* header */
.mast { background: var(--sky); color: var(--foam); position: sticky; top: 0; z-index: 20; }
.mast .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-stretch: 125%; font-weight: 900; font-size: 24px; letter-spacing: -.01em; text-transform: uppercase; }
.logo svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-stretch: 112%; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; padding: 10px 14px; border-radius: 99px; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a[aria-current="page"] { background: var(--sun); color: var(--ink); }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 2px solid var(--foam); background: none; color: var(--foam); font: 750 14px/1 var(--wide); font-stretch: 112%; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sky); flex-direction: column; padding: 8px var(--gut) 20px; gap: 2px; border-top: 1px solid var(--line-light); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 16px; }
}

/* home hero: blue band with photo pills, then the five huts photo fading out of the same sky */
.hero { background: var(--sky); color: var(--foam); }
.hero-top { padding-top: 56px; padding-bottom: 8px; }
.hero-h { font-size: clamp(42px, 7vw, 108px); line-height: .92; }
.ph-pill { display: inline-block; vertical-align: middle; width: 1.9em; height: .8em; border-radius: 99px; overflow: hidden; margin: -.1em .08em 0; background: var(--sky-hi); }
.ph-pill img { width: 100%; height: 100%; object-fit: cover; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: 36px; }
.hero-row .deck { margin: 0; color: rgba(255, 255, 255, .9); }
.badge { width: 148px; height: 148px; flex: none; color: var(--ink); overflow: hidden; border-radius: 50%; }
.badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.huts { position: relative; margin: 40px 0 0; }
.huts > img { width: 100%; aspect-ratio: 2000 / 1100; object-fit: cover; object-position: 50% 70%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
.hut-tags { list-style: none; margin: 0; padding: 0; }
.hut-tags li { position: absolute; top: var(--y); left: var(--x); transform: translate(-50%, -50%); }
.hut-tags a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.hut-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--foam); font-stretch: 125%; font-weight: 900; font-size: 22px; box-shadow: 0 0 0 4px var(--c), 0 10px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.hut-name { background: var(--foam); border-radius: 99px; padding: 8px 14px; font-stretch: 112%; font-weight: 800; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.hut-tags a:hover .hut-n, .hut-tags a:focus-visible .hut-n { transform: scale(1.1); }
.huts figcaption { position: absolute; right: var(--gut); bottom: 12px; font-size: 12px; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.huts figcaption a { color: inherit; }
@media (max-width: 760px) {
  .hero-top { padding-top: 36px; }
  .hero-row { grid-template-columns: 1fr; }
  .badge { width: 112px; height: 112px; justify-self: end; margin-top: -8px; }
  .huts { margin-top: 20px; }
  .huts > img { aspect-ratio: 3 / 2; }
  .hut-tags li { top: var(--ym); }
  .hut-n { width: 38px; height: 38px; font-size: 16px; box-shadow: 0 0 0 3px var(--c), 0 6px 14px rgba(0, 0, 0, .25); }
  .hut-name { display: none; }
  .huts figcaption { position: static; padding: 8px var(--gut) 0; text-shadow: none; }
}

/* ticker */
.ticker { background: var(--sun); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker-track span { padding: 16px 28px; font-stretch: 125%; font-weight: 850; font-size: 18px; text-transform: uppercase; white-space: nowrap; }
.ticker-track span::after { content: "✶"; margin-left: 56px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
.block { padding-block: clamp(56px, 8vw, 104px); }
.sand { background: var(--sand); }
.blue { background: var(--sky); color: var(--foam); }
.deep { background: var(--deep); color: var(--foam); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 44px; }
.sec-side { margin: 0; color: var(--ink-2); font-size: 18px; }
.sec-head > .textlink { justify-self: start; }
.sec-head--solo { grid-template-columns: 1fr; }
.split .sec-head h2 { font-size: clamp(28px, 3.2vw, 44px); }
.blue .sec-side, .deep .sec-side { color: rgba(255, 255, 255, .82); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; } }

/* wave edges */
.wave { display: block; width: 100%; height: 34px; }
.wave--sand { color: var(--sand); background: var(--paper); }

/* hut cards */
.hut-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 1080px) { .hut-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hut-row { grid-template-columns: 1fr; } }
.hut { --plank: color-mix(in srgb, var(--c) 82%, #000); display: flex; flex-direction: column; }
.hut-photo, .hut-body { background: var(--paper); }
.hut-body { border-radius: 0 0 var(--r) var(--r); box-shadow: 0 1px 0 var(--line); }
.hut-face { position: relative; color: var(--foam); padding: 54px 18px 18px; clip-path: polygon(50% 0, 100% 34px, 100% 100%, 0 100%, 0 34px); background: repeating-linear-gradient(90deg, var(--c) 0 21px, var(--plank) 21px 23px); min-height: 172px; display: flex; flex-direction: column; justify-content: flex-end; }
.hut--stripes .hut-face { background: repeating-linear-gradient(90deg, var(--c) 0 22px, #fff 22px 44px); }
.hut--stripes .hut-face h3 a, .hut--stripes .hut-face .hut-no { background: var(--c); }
.hut--light .hut-face { color: var(--ink); }
.hut-no { position: absolute; top: 46px; left: 18px; font-stretch: 125%; font-weight: 900; font-size: 15px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .18); }
.hut--light .hut-no { background: rgba(255, 255, 255, .5); }
.hut-face h3 { font-size: 23px; }
.hut-face h3 a { text-decoration: none; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hut-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.hut-photo img { width: 100%; height: 100%; object-fit: cover; }
.hut-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.hut-body p { margin: 0; font-size: 16px; }
.hut-facts { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.hut-facts div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.hut-facts dt { font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); padding-top: 2px; }
.hut-facts dd { margin: 0; font-weight: 600; }
.hut-body .textlink { margin-top: auto; align-self: flex-start; }

/* PEGI chips */
.age { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 7px; border-radius: 6px; font-stretch: 112%; font-weight: 850; font-size: 13px; color: #fff; background: #2e7d32; vertical-align: 1px; }
.age--12, .age--16 { background: #e8730c; }
.age--18 { background: #c62828; }

/* match-length chart */
.chart-wrap { margin: 0; }
.chart { width: 100%; height: auto; font-family: var(--wide); }
.ch-water { fill: color-mix(in srgb, var(--sky) 8%, transparent); }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-grid--key { stroke: var(--ink); stroke-dasharray: 3 5; }
.ch-tick, .ch-key { font-size: 13px; font-weight: 700; font-stretch: 112%; fill: var(--ink-2); letter-spacing: .06em; }
.ch-name { font-size: 21px; font-weight: 850; font-stretch: 125%; fill: var(--ink); text-transform: uppercase; }
.ch-sub { font-size: 12px; font-weight: 700; font-stretch: 112%; fill: var(--ink-2); letter-spacing: .06em; }
.ch-band { fill: var(--c); rx: 15; }
.ch-short { fill: var(--paper); stroke: var(--c); stroke-width: 3; rx: 9; }
.ch-label { font-size: 12px; font-weight: 800; font-stretch: 112%; fill: var(--ink); letter-spacing: .05em; }
.ch-label--on { fill: #fff; }
.chart-wrap figcaption { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 52em; }
.chart-list { display: none; }
@media (max-width: 760px) {
  .chart { display: none; }
  .chart-list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
  .chart-list li { border-left: 8px solid var(--c); padding: 4px 0 4px 14px; }
  .chart-list strong { display: block; font-stretch: 125%; font-weight: 850; text-transform: uppercase; }
  .chart-list span { font-size: 16px; color: var(--ink-2); }
}

/* crew sizes */
.crews { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--line-light); }
.crew { padding: 28px 28px 8px 0; border-right: 2px solid var(--line-light); }
.crew + .crew { padding-left: 28px; }
.crew:last-child { border-right: 0; }
.crew-n { display: block; font-stretch: 125%; font-weight: 900; font-size: clamp(64px, 8vw, 112px); line-height: .9; color: var(--sun); }
.crew-n small { font-size: 18px; color: var(--foam); letter-spacing: .04em; margin-left: 8px; }
.seats { display: flex; gap: 6px; margin: 16px 0; }
.seats i { width: 22px; height: 22px; border-radius: 50%; background: var(--foam); }
.crew p { color: rgba(255, 255, 255, .85); font-size: 17px; }
.crew ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crew li a { display: inline-block; text-decoration: none; padding: 7px 14px; border-radius: 99px; background: var(--c); color: #fff; font-weight: 750; font-stretch: 112%; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.crew li.on-light a { color: var(--ink); }
@media (max-width: 860px) {
  .crews { grid-template-columns: 1fr; }
  .crew, .crew + .crew { padding: 24px 0; border-right: 0; border-bottom: 2px solid var(--line-light); }
}

/* split blocks with a photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.photo { margin: 0; position: relative; }
.photo img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo figcaption, .credit { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.photo figcaption a, .credit a { color: inherit; }
.blue .photo figcaption, .deep .photo figcaption { color: rgba(255, 255, 255, .75); }
.prose p { font-size: 19px; }
.age-row { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.age-row li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 2px solid var(--line); }
.age-row strong { font-stretch: 112%; text-transform: uppercase; font-weight: 800; }
.age-row span.why { display: block; font-size: 15px; color: var(--ink-2); }

/* planner */
.planner { display: grid; gap: 22px; margin-bottom: 36px; }
.planner fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner legend { margin-bottom: 10px; color: var(--sun); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 99px; border: 2px solid var(--line-light); font-weight: 700; font-stretch: 112%; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.chips input:checked + span { background: var(--foam); color: var(--ink); border-color: var(--foam); }
.chips input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }
.plan-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: plan; }
.plan-out li { counter-increment: plan; display: grid; grid-template-columns: 56px minmax(0, 220px) minmax(0, 1fr); gap: 18px; align-items: start; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 18px 22px; border-left: 12px solid var(--c); }
.plan-out li::before { content: counter(plan); font-stretch: 125%; font-weight: 900; font-size: 34px; line-height: 1; }
.po-name a { font-stretch: 125%; font-weight: 850; font-size: 20px; text-transform: uppercase; text-decoration: none; line-height: 1; display: block; }
.po-mode { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.po-why { margin: 0; font-size: 16px; }
.po-warn { color: #a3261b; font-weight: 600; }
.plan-noscript { color: var(--foam); }
@media (max-width: 760px) { .plan-out li { grid-template-columns: 40px minmax(0, 1fr); } .po-why { grid-column: 2; } }

/* compare pairs */
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .pairs { grid-template-columns: 1fr; } }
.pair { background: var(--foam); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.pair-head { display: grid; grid-template-columns: 1fr auto 1fr; text-decoration: none; }
.pair-head span { padding: 22px 16px; font-stretch: 125%; font-weight: 850; font-size: 18px; text-transform: uppercase; line-height: 1; display: flex; align-items: center; }
.pair-side { background: var(--c); color: #fff; }
.pair-side.on-light { color: var(--ink); }
.pair-side--r { justify-content: flex-end; text-align: right; }
.pair-vs { background: var(--ink); color: var(--sun); }
.pair p { padding: 18px 20px 4px; font-size: 16px; }
.pair .textlink { margin: 0 20px 20px; align-self: flex-start; }

/* logbook + standards */
.log-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.log-list a { display: flex; flex-direction: column; gap: 10px; height: 100%; text-decoration: none; padding: 24px; border-radius: var(--r); background: var(--foam); box-shadow: 0 1px 0 var(--line); }
.log-list strong { font-stretch: 112%; font-weight: 800; font-size: 20px; line-height: 1.2; }
.log-list a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 860px) { .log-list { grid-template-columns: 1fr; } }
.standards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.standards a { padding: 24px 24px 24px 0; text-decoration: none; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.standards a + a { padding-left: 24px; }
.standards a:last-child { border-right: 0; }
.standards strong { font-stretch: 125%; font-weight: 850; font-size: 24px; text-transform: uppercase; }
.standards span:last-child { font-size: 16px; color: var(--ink-2); }
@media (max-width: 860px) { .standards { grid-template-columns: 1fr 1fr; } .standards a, .standards a + a { padding: 20px 16px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* inner hero */
.inner-hero { background: var(--sky); color: var(--foam); }
.inner-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.inner-hero h1 { font-size: clamp(38px, 6vw, 84px); }
.inner-hero .deck { margin: 24px 0 0; color: rgba(255, 255, 255, .9); }
.inner-hero .photo img { aspect-ratio: 4 / 3; }
.inner-hero--plain .wrap { grid-template-columns: 1fr; }
@media (max-width: 860px) { .inner-hero .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* games page */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; }
.filters .chip { min-height: 44px; padding: 10px 18px; border-radius: 99px; border: 2px solid var(--ink); background: none; color: var(--ink); font: 700 14px/1 var(--wide); font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.filters .chip[aria-pressed="true"] { background: var(--ink); color: var(--foam); }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--sky); }
.empty { font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--foam); box-shadow: 0 1px 0 var(--line); }
.facts { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 15px; }
.facts th, .facts td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.facts thead th { border-top: 8px solid var(--c, transparent); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 14px; }
.facts tbody th { font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.facts a { text-decoration: none; }

/* game page */
.game-hero { background: var(--sky); color: var(--foam); }
.game-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; padding-top: 40px; padding-bottom: 56px; }
.gh-face { --plank: color-mix(in srgb, var(--c) 82%, #000); border-radius: 0 0 var(--r) var(--r); padding: 96px clamp(22px, 3vw, 40px) 36px; clip-path: polygon(50% 0, 100% 64px, 100% 100%, 0 100%, 0 64px); background: repeating-linear-gradient(90deg, var(--c) 0 34px, var(--plank) 34px 37px); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.gh-face--stripes { background: repeating-linear-gradient(90deg, var(--c) 0 36px, #fff 36px 72px); }
.gh-face--stripes .gh-card { background: var(--c); }
.gh-face--light { color: var(--ink); }
.gh-card { background: rgba(0, 0, 0, .2); border-radius: 14px; padding: 20px 22px; }
.gh-face--light .gh-card { background: rgba(255, 255, 255, .55); }
.gh-card h1 { font-size: clamp(34px, 4.3vw, 62px); margin: 8px 0 14px; }
.gh-card .deck { font-size: 19px; margin: 0; }
.gh-photo { margin: 0; display: flex; flex-direction: column; }
.gh-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); }
.gh-photo figcaption { font-size: 13px; color: rgba(255, 255, 255, .75); margin-top: 10px; }
.gh-photo figcaption a { color: inherit; }
.game-hero .actions { margin-top: 28px; }
@media (max-width: 860px) { .game-hero .wrap { grid-template-columns: 1fr; padding-top: 24px; } .gh-face { padding-top: 76px; clip-path: polygon(50% 0, 100% 44px, 100% 100%, 0 100%, 0 44px); } }
.profile { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.profile li { display: grid; grid-template-columns: minmax(0, 150px) auto; gap: 6px 16px; align-items: center; padding: 14px 0; border-top: 2px solid var(--line); }
.pl-label { font-stretch: 112%; font-weight: 800; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.pl-why { grid-column: 1 / -1; font-size: 16px; color: var(--ink-2); }
.bar { display: inline-flex; gap: 5px; }
.bar i { width: 26px; height: 14px; border-radius: 99px; background: var(--line); }
.bar i.on { background: var(--c, var(--ink)); }
.factsheet { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.factsheet div { padding: 14px 0; border-top: 2px solid var(--line); }
.factsheet dt { font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.factsheet dd { margin: 0; font-weight: 600; font-size: 16px; }
@media (max-width: 560px) { .factsheet { grid-template-columns: 1fr; } }
.article { max-width: 820px; }
.article h2 { margin-bottom: 24px; }
.article h3 { margin: 32px 0 12px; font-size: 22px; }
.article p, .article li { font-size: 19px; }
.article ul { padding-left: 1.2em; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit { border-radius: var(--r); padding: 26px; }
.fit--yes { background: var(--sun); }
.fit--hard { background: var(--sand-lo); }
.fit p:last-child { margin: 0; font-size: 18px; }
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }
.night { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.night li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 2px solid var(--line); font-size: 17px; }
.night li span { font-stretch: 125%; font-weight: 850; font-size: 18px; color: var(--c, var(--sky)); }
.blue .night li { border-color: var(--line-light); }
.blue .night li span { color: var(--sun); }
.comp-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.comp-links a { display: inline-block; text-decoration: none; padding: 12px 20px; border-radius: 99px; border: 2px solid var(--c); font-weight: 700; font-size: 15px; }
.comp-links a:hover { background: var(--c); color: #fff; }
.next-hut { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none; background: var(--c); color: #fff; padding: 36px var(--gut); }
.next-hut.on-light { color: var(--ink); }
.next-hut span:last-child { font-stretch: 125%; font-weight: 900; font-size: clamp(28px, 4vw, 52px); text-transform: uppercase; line-height: 1; }

/* compare */
.compare-pick { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: end; margin-bottom: 32px; }
.compare-pick label { display: grid; gap: 8px; }
.compare-pick select { min-height: 54px; border-radius: 99px; border: 2px solid var(--foam); background: var(--foam); color: var(--ink); padding: 0 20px; font: 750 17px/1 var(--wide); font-stretch: 112%; text-transform: uppercase; }
.vs-mid { font-stretch: 125%; font-weight: 900; font-size: 26px; color: var(--sun); padding-bottom: 12px; }
@media (max-width: 640px) { .compare-pick { grid-template-columns: 1fr; } .vs-mid { padding: 0; } }
.cmp { background: var(--paper); color: var(--ink); border-radius: var(--r); overflow: hidden; }
.cmp-head { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-head span { padding: 18px 22px; background: var(--c); color: #fff; font-stretch: 125%; font-weight: 850; font-size: 20px; text-transform: uppercase; }
.cmp-head span.on-light { color: var(--ink); }
.cmp-head span:last-child { text-align: right; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); align-items: center; font-size: 16px; }
.cmp-row > span:last-child { text-align: right; justify-self: end; }
.cmp-label { text-align: center; font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.cmp-row.diff { background: color-mix(in srgb, var(--sun) 35%, var(--paper)); }
.cmp-warn { padding: 14px 22px; margin: 0; color: #a3261b; font-weight: 600; }
@media (max-width: 640px) { .cmp-row { grid-template-columns: 1fr 1fr; } .cmp-label { grid-column: 1 / -1; grid-row: 1; text-align: left; } .bar i { width: 18px; } }
.notes-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.notes-3 h2 { font-size: 24px; margin: 8px 0 12px; }
@media (max-width: 860px) { .notes-3 { grid-template-columns: 1fr; } }

/* first-night page */
.nights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .nights { grid-template-columns: 1fr; } }
.night-card { background: var(--foam); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--line); border-top: 14px solid var(--c); }
.night-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px 24px 4px; }
.night-card h2 { font-size: 28px; }
.night-card .night { padding: 0 24px 16px; }
.night-card .night li { grid-template-columns: 84px minmax(0, 1fr); font-size: 16px; }

/* logbook page */
.notes { display: grid; gap: 0; max-width: 900px; }
.note { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding: 36px 0; border-top: 3px solid var(--ink); }
.note-n { font-stretch: 125%; font-weight: 900; font-size: 44px; line-height: 1; color: var(--sky); }
.note h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 16px; }
.note p { font-size: 18px; }
@media (max-width: 640px) { .note { grid-template-columns: 1fr; gap: 8px; } }

/* credits */
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.credits img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; width: 100%; }
.credits p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.credits strong { color: var(--ink); }

/* strip */
.strip { background: var(--sun); color: var(--ink); }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 22px; }
.strip p { margin: 0; font-size: 17px; }
.strip .textlink { border-color: var(--ink); }

.big-mail { font-stretch: 125%; font-weight: 900; font-size: clamp(24px, 4vw, 44px); text-transform: lowercase; overflow-wrap: anywhere; }

/* footer */
.foot { background: linear-gradient(var(--paper) 0 17px, var(--deep) 17px); color: var(--foam); position: relative; }
.foot .wave { color: var(--deep); margin-bottom: -1px; }
.foot .wrap { padding-top: 48px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.foot-grid p { color: rgba(255, 255, 255, .82); font-size: 16px; }
.foot-grid a { color: var(--foam); }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.foot-nav a { text-decoration: none; font-weight: 600; padding: 6px 0; }
.foot-nav a:hover { color: var(--sun); }
.foot-mark { font-stretch: 125%; font-weight: 900; font-size: min(13.2vw, 194px); line-height: .8; letter-spacing: -.02em; text-transform: uppercase; color: var(--sun); margin: 40px 0 24px; white-space: nowrap; }
.fine { font-size: 13px; color: rgba(255, 255, 255, .62); margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* cookie bar */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 760px; margin: 0 auto; background: var(--foam); color: var(--ink); border-radius: var(--r); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--sun); padding: 18px 20px; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; transform: translateY(140%); transition: transform .35s ease; }
.cookie.show { transform: none; }
.cookie p { margin: 0; font-size: 15px; flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 10px; }
body.cookie-open { padding-bottom: var(--cookie-h, 0); }

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); font: 900 22px/1 var(--wide); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
body.cookie-open .to-top { bottom: calc(var(--cookie-h, 0px) + 8px); }
