/* The Ace Card Company
   NUUK is the base: big light sentence-case type, soft corners, pale hairlines, room to breathe.
   Colours follow the Arth Jewels palette: cream page, maroon as the signature (header, buttons,
   accents, footer), butter yellow in the ticker and on buttons that sit on maroon, warm beige
   for photo and panel fields, muted gold for small text on maroon, dusty wine for headline accents.
   Radius 4 tags, 8 buttons and fields, 12 cards and photos, 20 big panels. */

:root {
  --paper: #F8F7F3;
  --ink: #121212;
  --ink-deep: #2B050C;
  --maroon: #4B0815;
  --butter: #FBF9BD;
  --wine: #6F343E;
  --gold: #A8856E;
  --graphite: #585858;
  --beige: #DCD3C3;
  --hair: #E8E4DB;
  --line: 1px solid var(--hair);
  --line-ink: 1px solid var(--ink);
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 20px;
  --sans: "Archivo", system-ui, sans-serif;
  --gutter: 80px;
  --section: 80px;
  --header: 64px;
}
@media (max-width: 1100px) { :root { --gutter: 40px; --section: 64px; } }
@media (max-width: 760px) { :root { --gutter: 16px; --section: 48px; --header: 56px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--sans); font-stretch: 112%;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.accent { color: var(--wine); font-weight: 700; }
.kicker { color: var(--graphite); margin-bottom: 14px; }
.link { font-weight: 700; font-size: 15px; letter-spacing: .01em; color: var(--maroon); display: inline-block; padding: 10px 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 8px; z-index: 20; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.header :focus-visible, .footer :focus-visible, .statement :focus-visible { outline-color: var(--butter); }

/* Ticker */
.ticker { background: var(--butter); color: var(--maroon); height: 35px; overflow: hidden; display: flex; align-items: center; border-bottom: var(--line); }
.ticker__track { display: flex; gap: 32px; white-space: nowrap; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; animation: tick 34s linear infinite; padding-left: 32px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
@media (max-width: 760px) { .ticker { height: 30px; } .ticker__track { font-size: 11px; gap: 24px; } }

/* Header */
.header { height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: sticky; top: 0; background: var(--maroon); color: var(--paper); z-index: 10; }
.header nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.header nav a { text-decoration: none; }
.header nav a:hover { color: var(--butter); }
.header__right { justify-self: end; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo img { width: 30px; height: 30px; flex: none; }
.logo span { font-weight: 700; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; }
.menu { display: none; }
@media (max-width: 760px) {
  .header { grid-template-columns: 1fr auto; }
  .header__left, .header__right { display: none !important; }
  .logo img { width: 26px; height: 26px; }
  .logo span { font-size: 11px; letter-spacing: 1.4px; }
  .menu { display: block; }
  .menu summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding-left: 12px; font-weight: 600; font-size: 14px; cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu__icon, .menu__icon::before, .menu__icon::after { display: block; width: 20px; height: 2px; background: var(--paper); position: relative; transition: transform .2s; }
  .menu__icon::before, .menu__icon::after { content: ""; position: absolute; left: 0; }
  .menu__icon::before { top: -6px; } .menu__icon::after { top: 6px; }
  .menu[open] .menu__icon { background: transparent; }
  .menu[open] .menu__icon::before { transform: translateY(6px) rotate(45deg); }
  .menu[open] .menu__icon::after { transform: translateY(-6px) rotate(-45deg); }
  .menu__panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--header)); height: calc(100dvh - var(--header)); background: var(--paper); color: var(--ink); overflow-y: auto; display: flex; flex-direction: column; padding: 8px var(--gutter) 32px; }
  .menu__panel a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: var(--line); text-decoration: none; font-size: 26px; font-weight: 300; letter-spacing: -.01em; }
  .menu__panel a .mono { color: var(--graphite); }
}

/* Type */
.display { font-weight: 300; line-height: .95; letter-spacing: -.02em; font-size: clamp(44px, 8vw, 104px); overflow-wrap: break-word; }
.display .accent { font-weight: 600; }
.h1 { font-weight: 400; line-height: 1; letter-spacing: -.02em; font-size: clamp(36px, 5.6vw, 72px); overflow-wrap: break-word; }
.h2 { font-weight: 400; line-height: 1.1; letter-spacing: -.01em; font-size: clamp(28px, 3.4vw, 44px); }
.h3 { font-weight: 600; font-size: 20px; letter-spacing: -.01em; margin: 40px 0 16px; }
.lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--graphite); max-width: 56ch; }

/* Buttons: soft corners, bold sentence-case labels, 52px */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; font: 700 15px/1.1 var(--sans); font-stretch: 112%; letter-spacing: .01em; text-decoration: none; border: 1px solid var(--maroon); border-radius: var(--r-sm); background: var(--maroon); color: var(--paper); cursor: pointer; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn--ink { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn--ink:hover { background: var(--maroon); border-color: var(--maroon); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--butter); color: var(--maroon); border-color: var(--butter); }
.btn--paper:hover { background: var(--paper); color: var(--maroon); border-color: var(--paper); }
.btn[aria-disabled="true"] { background: var(--beige); color: var(--graphite); border-color: var(--beige); cursor: default; }
.btn small { font-size: 12px; font-weight: 400; opacity: .85; letter-spacing: 0; }
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy .btn { flex-direction: column; gap: 4px; padding: 10px 12px; }
.buy--one { grid-template-columns: 1fr; }
@media (max-width: 420px) { .buy .btn { font-size: 14px; padding: 10px 8px; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; }
.hero__copy { padding-top: var(--section); padding-bottom: var(--section); display: flex; flex-direction: column; justify-content: center; }
.hero .lead { margin: 24px 0 32px; }
.hero__media { aspect-ratio: 4 / 3; margin: 24px var(--gutter) 24px 0; border-radius: var(--r-md); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { margin: 0 var(--gutter); aspect-ratio: 4 / 3; }
  .hero__copy { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 560px) { .hero__ctas .btn { flex: 1 1 100%; } .hero .lead { margin: 18px 0 24px; } }

/* Stores strip */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px var(--gutter) 0; }
.stores > div { padding: 22px 24px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border: var(--line); border-radius: var(--r-md); }
.stores__name { font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: -.01em; }
.stores p:not(.stores__name) { color: var(--graphite); font-size: 14px; }
@media (max-width: 640px) {
  .stores { grid-template-columns: 1fr; }
  .stores { gap: 10px; padding-top: 16px; }
  .stores > div { padding: 16px; gap: 4px 12px; }
  .stores__name { font-size: 20px; }
}

/* Sections */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 48px; flex-wrap: wrap; }
@media (max-width: 760px) { .section__head { margin-bottom: 24px; } .section__head .btn { min-height: 44px; padding: 0 18px; font-size: 14px; } }

/* Featured deck */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature__media { aspect-ratio: 1; border-radius: var(--r-md); }
.feature__copy { display: flex; flex-direction: column; gap: 16px; }
.feature__copy .kicker { margin: 0; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature__media { aspect-ratio: 4 / 3; } }

/* Product grid and cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { display: flex; flex-direction: column; text-decoration: none; border: var(--line); border-radius: var(--r-md); overflow: hidden; min-width: 0; background: var(--paper); }
.card__img { aspect-ratio: 1; }
.card__body { padding: 16px; flex: 1; border-top: var(--line); }
.card__pack { color: var(--graphite); margin-bottom: 6px; }
.card__name { font-size: 20px; font-weight: 700; text-transform: uppercase; line-height: 1.1; overflow-wrap: break-word; }
.card__tag { margin-top: 6px; color: var(--graphite); font-size: 13px; }
.card__bar { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 12px 12px; border-radius: var(--r-sm); background: var(--maroon); color: var(--paper); font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.card:hover .card__bar { background: var(--ink-deep); }
.card__bar--soon { background: var(--beige); color: var(--graphite); }
.card:hover .card__bar--soon { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) {
  .card__body { padding: 12px 10px; }
  .card__name { font-size: 15px; }
  .card__tag { font-size: 12px; }
  .card__bar { font-size: 13px; min-height: 40px; margin: 0 8px 8px; }
  .card__pack { font-size: 10px; }
}

/* Range tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 280px; padding: 32px; border-radius: var(--r-lg); text-decoration: none; background: var(--beige); }
.tile--ink { background: var(--ink-deep); color: var(--paper); }
.tile__count { color: inherit; opacity: .7; }
.tile__name { font-size: clamp(32px, 4.5vw, 56px); font-weight: 300; letter-spacing: -.02em; line-height: 1; margin-top: auto; }
.tile__text { max-width: 34ch; opacity: .8; }
.tile__go { position: absolute; top: 22px; right: 24px; font-size: 28px; color: var(--maroon); }
.tile--ink .tile__go { color: var(--paper); }
.tile:hover .tile__name { color: var(--maroon); }
.tile--ink:hover .tile__name { color: var(--paper); text-decoration: underline; }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; gap: 10px; } .tile { min-height: 170px; padding: 22px; } }

/* Why tiles and feature items */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why > div { padding: 28px 24px; border: var(--line); border-radius: var(--r-md); }
.why h3, .features h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin: 10px 0 8px; }
.why p:not(.why__n), .features p:not(.why__n) { color: var(--graphite); font-size: 15px; }
.why__n { color: var(--maroon); }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why { gap: 10px; } .why > div { padding: 20px 16px; } .why h3, .features h3 { font-size: 17px; } }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.features__media { aspect-ratio: 4 / 3; border-radius: var(--r-md); margin-bottom: 18px; }
@media (max-width: 900px) {
  .features { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .features::-webkit-scrollbar { display: none; }
  .features__item { scroll-snap-align: start; }
}

/* Photos fill their frame */
.hero__media img, .feature__media img, .teaser__media img, .card__img img, .gallery__slide img, .features__media img, .gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hero__media, .feature__media, .teaser__media, .card__img, .features__media { overflow: hidden; background: var(--beige); }
.feature--flip .feature__media { order: 2; }
@media (max-width: 900px) { .feature--flip .feature__media { order: 0; } }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { border: var(--line); border-radius: var(--r-xs); padding: 8px 12px; font-size: 14px; font-weight: 600; }
.ticks li::before { content: "✓ "; color: var(--maroon); }
.feature__copy .btn { align-self: flex-start; }

/* Placeholder photo panel */
.ph { background: var(--beige); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; color: var(--ink); text-align: center; padding: 12px; }
.ph svg { width: 30%; max-width: 140px; }
.ph span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.ph .ph__sub { color: var(--maroon); }

/* Statement */
.statement { background: var(--ink-deep); color: var(--paper); margin: 0 var(--gutter); border-radius: var(--r-lg); padding-left: clamp(24px, 5vw, 64px); padding-right: clamp(24px, 5vw, 64px); }
.statement .display { max-width: 16ch; }
.statement__y { color: var(--butter); }

/* Story teaser */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.teaser__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.teaser__copy .kicker { margin: 0; }
.teaser__media { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr; gap: 24px; } .teaser__media { order: -1; } }

/* Reviews */
.empty { padding: 40px; display: grid; gap: 10px; background: var(--beige); border-radius: var(--r-md); }
.empty__big { font-size: clamp(24px, 3vw, 34px); font-weight: 300; letter-spacing: -.01em; line-height: 1.1; }
.empty p:not(.empty__big) { color: var(--graphite); max-width: 60ch; }
@media (max-width: 560px) { .empty { padding: 22px 18px; } }
.revsum { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.revsum__big { font-size: 48px; font-weight: 600; }
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev { border: var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 12px; }
.rev__stars { color: var(--maroon); letter-spacing: 2px; }
.rev blockquote { font-size: 16px; }
.rev figcaption { color: var(--graphite); }
@media (max-width: 900px) { .revs { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: var(--line); }
.faq details:last-child { border-bottom: var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--maroon); font-weight: 400; font-size: 28px; line-height: .8; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; max-width: 60ch; color: var(--graphite); }
@media (max-width: 760px) { .faq summary { font-size: 17px; padding: 18px 0; min-height: 56px; } }

/* Shop */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: var(--line-ink); border-radius: var(--r-sm); text-decoration: none; font-size: 14px; font-weight: 600; }
.chip:hover { background: var(--ink); color: var(--paper); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 24px var(--gutter) 0; }
.gallery { position: relative; min-width: 0; }
.gallery__track { display: flex; border-radius: var(--r-md); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; }
.gallery__count { position: absolute; top: 14px; right: 14px; background: var(--paper); border-radius: var(--r-xs); padding: 4px 8px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 12px; margin-top: 12px; }
.gallery__thumbs button { aspect-ratio: 1; background: var(--beige); display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; border-radius: var(--r-sm); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
.gallery__thumbs button:has(img) { padding: 0; }
.gallery__thumbs button[aria-current] { outline: 3px solid var(--maroon); outline-offset: -3px; color: var(--ink); }
.gallery__thumbs button[aria-current] img { opacity: .85; }
.pdp__box { padding: 32px 0 48px 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pdp__box .lead { margin: 0; }
.pdp__sub { color: var(--graphite); font-size: 15px; margin-top: -8px; }
.pdp__rating { color: var(--graphite); text-decoration: none; align-self: flex-start; }
.pdp__rating:hover { color: var(--maroon); }
.pdp__tag { color: var(--ink); }
.crumbs { font-size: 13px; color: var(--graphite); }
.crumbs a { text-decoration: none; display: inline-block; padding: 6px 0; }
.opt { display: grid; gap: 8px; }
.opt__row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 96px; padding: 0 16px; border: var(--line-ink); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 14px; }
.opt__btn[aria-current] { background: var(--ink); color: var(--paper); }
.opt__btn:not([aria-current]):hover { border-color: var(--maroon); color: var(--maroon); }
.avail { display: flex; align-items: center; gap: 8px; }
.avail__dot { width: 8px; height: 8px; border-radius: 50%; background: #0A7A2F; }
.avail__dot--soon { background: var(--graphite); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick > div { padding: 14px; border: var(--line); border-radius: var(--r-sm); }
.quick .mono { color: var(--graphite); margin-bottom: 4px; }
.tbc { color: var(--graphite); font-style: italic; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp { gap: 0; padding-top: 12px; }
  .pdp__box { padding: 22px 0 36px; gap: 14px; }
  .gallery__thumbs { display: none; }
}

/* Details and compare */
.details { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.note { color: var(--graphite); margin-top: 16px; max-width: 40ch; }
.specs { width: 100%; border-collapse: collapse; border-top: var(--line); }
.specs th, .specs td { text-align: left; padding: 14px 0; border-bottom: var(--line); vertical-align: top; }
.specs th { font-weight: 600; font-size: 15px; width: 45%; padding-right: 16px; }
.box { list-style: none; border-top: var(--line); }
.box li { padding: 14px 0 14px 28px; border-bottom: var(--line); position: relative; }
.box li::before { content: "✓"; position: absolute; left: 0; color: var(--maroon); font-weight: 700; }
@media (max-width: 900px) { .details { grid-template-columns: 1fr; gap: 16px; } }
.cmp { overflow-x: auto; border: var(--line); border-radius: var(--r-md); }
.cmp table { width: 100%; min-width: 520px; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-bottom: var(--line); font-size: 14px; white-space: nowrap; }
.cmp thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--beige); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th a { font-weight: 600; text-transform: uppercase; text-decoration: none; }
.cmp tbody th a:hover { color: var(--maroon); }
.cmp .is-current { background: var(--butter); }
.cmp th:first-child { position: sticky; left: 0; background: inherit; }
.cmp tbody th { background: var(--paper); }
.cmp .is-current th { background: var(--butter); }

/* Phone buy bar on product pages */
.buybar { display: none; }
@media (max-width: 900px) {
  .buybar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--paper); border-top: var(--line); padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .2s, visibility .2s; }
  .buybar.is-on { transform: none; visibility: visible; }
  .buybar__name { display: grid; min-width: 0; }
  .buybar__name strong { text-transform: uppercase; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__name .mono { color: var(--graphite); font-size: 10px; }
  .buybar .buy { display: flex; gap: 6px; }
  .buybar .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
  body.has-sticky { padding-bottom: 64px; }
}

/* Story */
.story p { max-width: 62ch; font-size: 18px; color: var(--graphite); margin-top: 18px; }
.story .hero__ctas { margin-top: 32px; }

/* Footer: the one big maroon field */
.footer { background: var(--maroon); color: var(--paper); padding: 56px var(--gutter) 28px; }
.footer__cta { display: grid; gap: 12px; justify-items: start; padding-bottom: 48px; margin-bottom: 40px; border-bottom: 1px solid rgba(248,247,243,.3); }
.footer__big { font-size: clamp(32px, 5vw, 64px); font-weight: 300; letter-spacing: -.02em; line-height: 1; max-width: 18ch; }
.footer__cta p:not(.footer__big) { opacity: .85; }
.footer__cta .btn { margin-top: 8px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__cols .mono { color: var(--gold); margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; display: grid; font-size: 16px; }
.footer li { padding: 7px 0; }
.footer li a { display: inline-block; padding: 4px 0; margin: -4px 0; }
/* Sized so the whole wordmark fits the footer's width at any screen size */
.footer__mark { margin-top: 56px; font-weight: 800; text-transform: uppercase; line-height: .85; letter-spacing: -.02em; font-size: min(calc((100vw - 2 * var(--gutter)) / 10.8), 170px); white-space: nowrap; }
.footer__legal { color: var(--gold); margin-top: 24px; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .footer { padding-top: 40px; }
  .footer__cta { padding-bottom: 32px; margin-bottom: 28px; }
  .footer__cta .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .footer ul { font-size: 15px; }
  .footer li { padding: 6px 0; }
  .footer li a { padding: 8px 0; margin: -8px 0; }
  .footer__mark { margin-top: 36px; }
  /* Room under the footer so the phone buy bar never covers it */
  body:has(.buybar) .footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* Email forms (Brevo) */
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup fieldset, .regform > fieldset { border: 0; min-width: 0; }
.signup__row { display: flex; gap: 8px; max-width: 560px; }
.signup input[type="email"], .regform input:not([type="radio"]):not([type="checkbox"]), .regform select {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; font: 400 16px var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid #B9B4AA; border-radius: var(--r-sm); appearance: none; }
.signup .btn { flex: none; }
.signup__note { margin-top: 10px; font-size: 14px; color: var(--graphite); }
.signup--paper .signup__row input { border-color: var(--paper); }
.signup--paper .signup__note { color: inherit; opacity: .85; }
fieldset[disabled] input, fieldset[disabled] select { opacity: .6; }
fieldset[disabled] .btn { background: var(--beige); color: var(--graphite); border-color: var(--beige); cursor: default; }
.form__msg { margin-top: 10px; font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg.is-bad { color: #B00020; }
.signup--paper .form__msg.is-bad { color: var(--butter); }
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; }
.join .lead { margin-top: 16px; }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .signup__row { flex-direction: column; } }
.footer__join { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(248,247,243,.3); }
.footer__join .mono { color: var(--gold); margin-bottom: 12px; }

.reg { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: start; }
.reg .lead { margin-top: 20px; }
@media (max-width: 900px) { .reg { grid-template-columns: 1fr; } }
.regform > fieldset { display: grid; gap: 18px; }
.regform__soon { padding: 14px 16px; background: var(--beige); border-radius: var(--r-sm); font-weight: 600; }
.field { display: grid; gap: 8px; border: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.regform select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121212' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.choice__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice__row label { position: relative; }
.choice__row input, fieldset[disabled] .choice__row input { position: absolute; opacity: 0; inset: 0; }
.choice__row span { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid #B9B4AA; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; cursor: pointer; }
.choice__row input:checked + span { background: var(--maroon); border-color: var(--maroon); color: var(--paper); position: relative; }
.choice__row input:focus-visible + span { outline: 2px solid var(--maroon); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--graphite); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--maroon); flex: none; }
.regform__go { width: 100%; }
.regform.is-done > fieldset { display: none; }
.regform.is-done .form__msg { font-size: 20px; padding: 24px; border: var(--line); border-radius: var(--r-md); }

/* House of Spades credit under "Buy on" */
.footer__also { margin-top: 28px; }
.footer__hos { display: inline-block; padding: 6px 0; }
/* The real logo used as a mask over a gold-foil gradient; the shine slides across on hover */
.footer__hos-logo { display: block; width: 116px; height: 30px;
  background: linear-gradient(110deg, #c9a14a 0%, #f0d796 28%, #d3ad58 45%, #fff4cf 55%, #d3ad58 65%, #e6c578 85%, #c9a14a 100%) 100% 0 / 250% 100%;
  -webkit-mask: url(assets/hos-logo.svg) center / contain no-repeat; mask: url(assets/hos-logo.svg) center / contain no-repeat;
  transition: background-position 1.1s ease; }
.footer__hos:hover .footer__hos-logo, .footer__hos:focus-visible .footer__hos-logo { background-position: 0 0; }
@media (prefers-reduced-motion: reduce) { .footer__hos-logo { transition: none; } }
