@font-face { font-family: "Sorts Mill Goudy"; src: url(/fonts/sorts-mill-goudy-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Sorts Mill Goudy"; font-style: italic; src: url(/fonts/sorts-mill-goudy-latin-400-italic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; src: url(/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-display: swap; }

:root {
  color-scheme: dark;
  --cloth: #14306b;
  --cloth-deep: #0c1e47;
  --cloth-fold: #081433;
  --cloth-line: #2c4a8c;
  --foil: #cbd2de;
  --foil-bright: #eef1f6;
  --foil-dim: #a3b1cb;
  --pit: #03050b;
  /* Gold is law: coupons only. Nothing else on the site may use it. */
  --gold: #e8b93c;
  --ink: #0c1e47;
  --serif: "Sorts Mill Goudy", "Goudy Old Style", Georgia, serif;
  --gothic: "Barlow Condensed", "Arial Narrow", sans-serif;
  --gap: clamp(12px, 1.6vw, 24px);
  --perf: radial-gradient(circle at 2px 2px, #3f5fa8 1.5px, transparent 2px) 0 0 / 10px 4px repeat-x;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  /* The face lifts out of its hole and grows; going back presses it in. The album itself holds still. */
  ::view-transition-group(*) { animation-duration: 460ms; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cloth-deep); -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; scrollbar-color: var(--cloth-line) var(--cloth-fold); }
body { margin: 0; color: var(--foil); font: 400 1.125rem/1.5 var(--serif); font-variant-numeric: lining-nums; }
.cloth { background: var(--cloth) url(/img/cloth.webp); background-blend-mode: soft-light; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
::selection { background: var(--foil-bright); color: var(--ink); }
:focus-visible { outline: 2px solid var(--foil-bright); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; color: var(--foil-bright); }
p { margin: 0; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 9; padding: 8px 16px; background: var(--foil-bright); color: var(--ink); }
.skip:focus { top: 8px; }

/* The open album: two leaves on one gutter. */
.album { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.album::after {
  content: ""; position: absolute; inset: 0 auto 0 50%; width: 72px; translate: -50% 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(8 20 51 / .85) 46%, var(--cloth-fold) 50%, rgb(8 20 51 / .85) 54%, transparent);
}
.leaf { padding: clamp(24px, 3vw, 44px) clamp(36px, 4.4vw, 72px); min-width: 0; }
.leaf-left { padding-right: clamp(44px, 5vw, 80px); }
.leaf-right { padding-left: clamp(44px, 5vw, 80px); }

.leaf-head { min-height: 148px; display: flex; flex-direction: column; justify-content: center; }
.foil img { width: min(100%, 25rem); height: auto; }
.foil-line img { width: calc(var(--w) * .34px); max-width: 100%; height: auto; }
.free .foil-line img { width: calc(var(--w) * .3px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lede { margin-top: 12px; max-width: 46ch; color: var(--foil); line-height: 1.35; }

.leaf-title {
  display: flex; align-items: center; gap: 14px; margin: 18px 0 16px;
  font: 600 1.05rem/1 var(--gothic); letter-spacing: .14em; text-transform: uppercase; color: var(--foil);
}
.leaf-title::after { content: ""; flex: 1; height: 4px; background: var(--perf); }
.leaf-title-small { margin-top: 28px; font-size: .95rem; letter-spacing: .1em; }

/* Plates. Hole size is denomination. */
.plate { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-auto-flow: dense; }
.plate-garmin { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plate-wear { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate-widgets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate-widgets .hole { width: min(100%, 132px); margin-inline: auto; }
.slot-l { grid-column: span 2; grid-row: span 2; }
.plate-wear .slot-l { grid-column: span 2; }

.slot { scroll-margin-top: 72px; }
.slot a { display: block; text-decoration: none; }
.slot-l a { display: flex; flex-direction: column; height: 100%; justify-content: center; }
.hole {
  position: relative; display: block; aspect-ratio: 1; border-radius: 50%; padding: 4%;
  background: linear-gradient(165deg, #01030a 12%, #081433 52%, #3a5aa6 96%);
  box-shadow: 0 1.5px 0 rgb(176 196 236 / .55), 0 -1.5px 0 rgb(3 8 24 / .85);
}
.hole::after {
  content: ""; position: absolute; inset: 4%; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 7px 9px -3px rgb(0 0 0 / .92), inset 0 0 0 1px rgb(0 0 0 / .8), inset 0 -1px 0 rgb(255 255 255 / .1);
}
.slot-l .hole::after { inset: 3%; box-shadow: inset 0 12px 14px -4px rgb(0 0 0 / .92), inset 0 0 0 1px rgb(0 0 0 / .8), inset 0 -1px 0 rgb(255 255 255 / .1); }
.slot-l .hole { width: min(100%, 300px); margin-inline: auto; padding: 3%; }
.hole img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--pit); transition: scale .35s cubic-bezier(.16, 1, .3, 1); }
.slot a:hover .label-name { text-decoration: underline; text-underline-offset: .2em; }
@media (prefers-reduced-motion: no-preference) { .slot a:hover img { scale: 1.015; } }
.slot a:focus-visible { outline: none; }
.slot a:focus-visible .hole { outline: 2px solid var(--foil-bright); outline-offset: 3px; }

.label { display: block; margin-top: 8px; text-align: center; font-family: var(--gothic); line-height: 1.15; }
.label-name { display: block; font-weight: 600; font-size: 1.02rem; letter-spacing: .03em; color: var(--foil-bright); text-wrap: balance; }
.label-price { display: block; font-weight: 500; font-size: .92rem; letter-spacing: .02em; color: var(--foil-dim); }
.mint { display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; margin-right: .4em; border: 1px solid currentColor; border-radius: 50%; font: 600 .78em/1 var(--gothic); vertical-align: .08em; color: var(--foil); }
.slot-l .label-name { font-size: 1.3rem; }
.plate-widgets .label-name { font-size: .95rem; }

.slot.is-soon .hole img { filter: grayscale(.55) brightness(.5); }
.is-soon .label-price { color: var(--foil-bright); font-style: normal; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.slot.is-soon a:hover .hole img { filter: grayscale(.2) brightness(.8); }

/* Gold: the only free things on the site. */
.hole-coin { flex: none; width: 132px; padding: 7px; }
.hole-coin::after { display: none; }
.hole-coin img { background: none; }
.is-taken .hole-coin img { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .is-claiming .hole-coin img { scale: 1.12; translate: 0 -10%; transition: opacity .5s ease, scale .5s cubic-bezier(.16, 1, .3, 1), translate .5s cubic-bezier(.16, 1, .3, 1); }
}
.is-taken .hole-coin::after { display: block; inset: 7px; }

.promo[hidden] { display: none; }
.promo { display: flex; align-items: center; gap: 18px; min-height: 148px; text-decoration: none; }
.promo-text { max-width: 44ch; line-height: 1.35; }
.promo-text strong { font-weight: 400; color: var(--foil-bright); font-size: 1.3rem; display: block; line-height: 1.2; margin-bottom: 4px; }
.promo-link { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.promo:hover .promo-link { text-decoration-thickness: 2px; }
.promo-small { min-height: 0; margin-top: 18px; }
.promo-small .hole-coin { width: 92px; }

/* The next spread: free codes. */
.free {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(88px, 10vw, 160px); align-items: start;
  padding: clamp(44px, 6vw, 88px) clamp(36px, 4.4vw, 72px); background: var(--perf);
}
.free::after, body:has(.album) .foot::after {
  content: ""; position: absolute; inset: 0 auto 0 50%; width: 72px; translate: -50% 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(8 20 51 / .85) 46%, var(--cloth-fold) 50%, rgb(8 20 51 / .85) 54%, transparent);
}
.free h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; }
.free-intro > p { margin-top: 14px; max-width: 52ch; }
.terms { margin: 18px 0 0; padding: 0; list-style: none; max-width: 52ch; font-size: 1rem; }
.terms li { padding: 9px 0 7px; background: var(--perf); }
.stuck { font-size: 1rem; color: var(--foil-dim); }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(28px, 3vw, 44px); }
.offer { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.offer .hole-coin { width: min(100%, 196px); }
.offer h3 { margin-top: 14px; font-size: 1.45rem; line-height: 1.15; }
.offer h3 a { text-decoration: none; }
.offer h3 a:hover { text-decoration: underline; }
.offer-days { color: var(--foil); }
.offer-left { min-height: 1.5em; font: 500 1rem/1.5 var(--gothic); letter-spacing: .03em; color: var(--foil-dim); font-variant-numeric: tabular-nums; }
.offer-form { margin-top: 10px; }
.offer-code { margin-top: 12px; width: 100%; }
.offer-code-label { font: 600 .9rem/1.2 var(--gothic); letter-spacing: .1em; text-transform: uppercase; color: var(--foil-dim); }
.code { display: block; margin: 6px 0 12px; padding: 12px 14px; background: var(--pit); color: var(--gold); border-radius: 999px; font: 600 clamp(.95rem, 2.4vw, 1.1rem)/1.2 var(--gothic); letter-spacing: .04em; overflow-wrap: anywhere; user-select: all; font-variant-numeric: tabular-nums; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.offer-actions .btn-line, .offer-actions .btn-gold { padding-inline: 16px; }
.offer-error { margin-top: 10px; color: var(--foil-bright); font-size: 1rem; }
.trap { position: absolute; left: -9999px; }

/* Buttons take the compass: fully round ends, flat fills. */
.btn-silver, .btn-gold, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1.1rem/1.1 var(--gothic); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.btn-silver { background: var(--foil-bright); color: var(--ink); }
.btn-silver:hover { background: var(--foil); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f4cf6c; }
.btn-gold:disabled { background: var(--gold); color: var(--ink); cursor: progress; }
.btn-line { background: transparent; color: var(--foil-bright); border-color: var(--foil-dim); }
.btn-line:hover { background: var(--foil-bright); color: var(--ink); }

/* Product sheet: one big hole. */
.sheet { max-width: 1160px; margin-inline: auto; padding: 24px clamp(16px, 4vw, 48px) 64px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 1.05rem/1 var(--gothic); letter-spacing: .04em; text-decoration: none; }
.back:hover { color: var(--foil-bright); text-decoration: underline; }
.sheet-main { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 12px; }
.sheet-hole .hole { padding: 2%; }
.sheet-hole .hole::after { inset: 2%; box-shadow: inset 0 20px 24px -8px rgb(0 0 0 / .92), inset 0 0 0 1px rgb(0 0 0 / .8), inset 0 -1px 0 rgb(255 255 255 / .1); }
.sheet h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.02; margin-top: 8px; }
.sheet-desc { margin-top: 16px; font-size: 1.3rem; line-height: 1.35; max-width: 34ch; }
.sheet-price { margin-top: 16px; font: 600 1.25rem/1.2 var(--gothic); letter-spacing: .03em; color: var(--foil-bright); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.not-yet { color: var(--foil-bright); max-width: 40ch; }
.small { margin-top: 12px; font-size: 1rem; line-height: 1.4; max-width: 46ch; color: var(--foil); }
.sibling { margin-top: 16px; }
.varieties { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); background: var(--perf); }
.varieties li { width: min(100%, 280px); }
.varieties .label { font-weight: 500; color: var(--foil); }
.slit {
  position: relative; display: block; margin-top: clamp(32px, 5vw, 56px); padding: 8px; border-radius: 999px;
  background: linear-gradient(170deg, #01030a 12%, #081433 52%, #3a5aa6 96%);
  box-shadow: 0 1.5px 0 rgb(176 196 236 / .55), 0 -1.5px 0 rgb(3 8 24 / .85);
}
.slit::after { content: ""; position: absolute; inset: 8px; border-radius: 999px; pointer-events: none; box-shadow: inset 0 14px 18px -6px rgb(0 0 0 / .85), inset 0 0 0 1px rgb(0 0 0 / .7); }
.slit img { width: 100%; border-radius: 999px; }
.sheet-prose { max-width: 70ch; }
.sheet-prose h1 { margin-bottom: 20px; }
.sheet-prose p + p { margin-top: 14px; }

.foot { position: relative; padding: 28px clamp(24px, 4.4vw, 72px) 36px; background: var(--perf); color: var(--foil); font-size: 1rem; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; }
.foot nav { display: flex; gap: 20px; }
body:has(.album) .foot-legal { max-width: calc(50% - 60px); }
.foot-legal { grid-column: 1 / -1; color: var(--foil-dim); font-size: .95rem; }

.switch { display: none; }

@media (max-width: 1100px) {
  .plate-garmin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .switch {
    display: flex; position: sticky; top: 0; z-index: 5; background: var(--cloth-fold);
    font: 600 1.05rem/1 var(--gothic); letter-spacing: .05em;
  }
  .switch a { flex: 1; display: grid; place-items: center; min-height: 48px; text-decoration: none; color: var(--foil-bright); }
  .switch .switch-free { color: var(--gold); }
  .album { grid-template-columns: 1fr; }
  .album::after { display: none; }
  .leaf, .leaf-left, .leaf-right { padding: 20px 16px 28px; }
  .leaf-right { background: var(--perf); }
  .leaf-head { min-height: 0; }
  .promo { min-height: 0; }
  .promo .hole-coin { width: 100px; }
  .plate-garmin, .plate-wear { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .slot-l .hole { width: min(100%, 280px); }
  .free { grid-template-columns: 1fr; gap: 36px; padding-inline: 16px; }
  .free::after, body:has(.album) .foot::after { display: none; }
  .sheet-main { grid-template-columns: 1fr; }
  .sheet-hole { max-width: 420px; margin-inline: auto; width: 100%; }
  .foot { grid-template-columns: 1fr; padding-inline: 16px; }
  body:has(.album) .foot-legal { max-width: none; }
}
