/* ==========================================================================
   Dnish — Danish butter cookies, est. 2025
   Design system + page styles. No frameworks, no build step.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* Royal blue — the tin */
  --blue-950: #04122b;
  --blue-900: #061a3a;
  --blue-850: #082047;
  --blue-800: #0a2550;
  --blue-700: #0e3169;
  --blue-600: #164285;
  --blue-500: #2158a8;

  /* Gold foil — the emboss */
  --gold-700: #7d6013;
  --gold-600: #a8850f;
  --gold-500: #c9a227;
  --gold-400: #e0bd58;
  --gold-300: #f0d98a;
  --gold-200: #f8ecc4;

  /* Paper + butter */
  --cream: #f6efe1;
  --paper: #fbf7ee;
  --butter: #f2dca6;
  --crust: #d9b169;
  --ink: #1a1408;
  --ink-soft: #4a3f2c;

  --foil: linear-gradient(100deg,
      var(--gold-700) 0%, var(--gold-400) 22%, #fff6d8 38%,
      var(--gold-400) 54%, var(--gold-600) 72%, var(--gold-300) 88%, var(--gold-700) 100%);

  /* Type */
  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-roman: "Cinzel", "Optima", "Trajan Pro", Georgia, serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --t-hero: clamp(3.4rem, 13vw, 12rem);
  --t-xxl: clamp(2.6rem, 6.6vw, 6rem);
  --t-xl: clamp(2rem, 4.4vw, 3.9rem);
  --t-lg: clamp(1.45rem, 2.4vw, 2.1rem);
  --t-md: clamp(1.05rem, 1.35vw, 1.2rem);
  --t-sm: 0.94rem;
  --t-xs: 0.75rem;

  /* Space + shell */
  --gut: clamp(1.25rem, 4vw, 4.5rem);
  --shell: 1380px;
  --section-y: clamp(5rem, 12vw, 11rem);
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 26px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--blue-900);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; }

::selection { background: var(--gold-500); color: var(--blue-950); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -110%);
  z-index: 200; background: var(--gold-400); color: var(--blue-950);
  padding: .7rem 1.4rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600; transition: transform .2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- utilities -- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.shell--narrow { max-width: 940px; }

.eyebrow {
  font-family: var(--f-roman);
  font-size: var(--t-xs);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before {
  content: ""; width: clamp(20px, 4vw, 54px); height: 1px;
  background: currentColor; opacity: .55; flex: none;
}
.eyebrow--center { justify-content: center; text-indent: .21em; }
.eyebrow--center::after {
  content: ""; width: clamp(20px, 4vw, 54px); height: 1px;
  background: currentColor; opacity: .55; flex: none;
}
@media (max-width: 560px) {
  .eyebrow { font-size: .68rem; letter-spacing: .26em; gap: .6rem; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
}

.display { font-family: var(--f-display); font-variation-settings: "SOFT" 20, "WONK" 1; }
.serif-caps { font-family: var(--f-roman); text-transform: uppercase; letter-spacing: .18em; }

.foil {
  background: var(--foil);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil-drift 9s linear infinite;
}
@keyframes foil-drift {
  to { background-position: 260% 0; }
}

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.6;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  max-width: 60ch;
}

.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: .4;
}

/* Paper-textured light sections */
.band { position: relative; padding-block: var(--section-y); }
.band--paper {
  background: var(--cream);
  color: var(--ink);
}
.band--paper .lede { color: var(--ink-soft); }
.band--paper .eyebrow { color: var(--gold-600); }
.band--deep { background: var(--blue-950); }
.band--mid { background: var(--blue-800); }

/* Grain overlay, applied over any band */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  --btn-bg: var(--gold-400);
  --btn-fg: var(--blue-950);
  position: relative;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 100px;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -12px rgba(201, 162, 39, .8); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: color-mix(in srgb, var(--gold-400) 55%, transparent);
}
.btn--ghost:hover { --btn-bg: var(--gold-400); --btn-fg: var(--blue-950); box-shadow: none; }
.band--paper .btn--ghost { --btn-fg: var(--ink); border-color: color-mix(in srgb, var(--gold-600) 55%, transparent); }

/* Underline link */
.ulink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .05em;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .4s var(--ease), color .3s;
}
.ulink:hover { background-size: 0% 1px; background-position: 100% 100%; color: var(--gold-400); }

/* --------------------------------------------------------------- header -- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .5s var(--ease), backdrop-filter .5s, border-color .5s, padding .5s var(--ease);
  border-bottom: 1px solid transparent;
  padding-block: clamp(.9rem, 2vw, 1.5rem);
}
.hdr.is-stuck {
  background: color-mix(in srgb, var(--blue-950) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(201, 162, 39, .22);
  padding-block: .75rem;
}
.hdr__in { display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .8rem; margin-right: auto; }
.brand img { width: 38px; height: 38px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
/* Tracking adds a trailing space after the last glyph. Left-aligned that is
   invisible, so no indent — otherwise the name sits right of "Est. 2025". */
.brand__name {
  font-family: var(--f-roman); font-size: 1.42rem; font-weight: 700;
  letter-spacing: .3em; text-indent: 0; margin-right: -.3em;
}
.brand__est {
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: color-mix(in srgb, var(--gold-300) 70%, transparent); margin-top: .3rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a {
  font-size: .82rem; letter-spacing: .14em; margin-right: -.14em;
  text-transform: uppercase; font-weight: 500;
  color: color-mix(in srgb, var(--cream) 76%, transparent);
  position: relative; padding-block: .3rem;
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold-400); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.hdr .btn { padding: .7rem 1.3rem; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .25s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: color-mix(in srgb, var(--blue-950) 97%, transparent);
    backdrop-filter: blur(16px);
    clip-path: circle(0% at calc(100% - 3rem) 2.6rem);
    transition: clip-path .7s var(--ease);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.6rem); }
  .nav a { font-size: 1.3rem; letter-spacing: .2em; }
  .hdr__in > .btn { display: none; }
}

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  padding-block: clamp(7rem, 16vh, 11rem) clamp(3rem, 8vh, 6rem);
  overflow: clip;
  background:
    radial-gradient(120% 90% at 50% 10%, var(--blue-600) 0%, transparent 55%),
    radial-gradient(80% 70% at 12% 88%, var(--blue-700) 0%, transparent 60%),
    var(--blue-950);
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  position: relative; z-index: 3;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow { justify-content: center; text-indent: .21em; }
  .hero .eyebrow::after { content: ""; width: clamp(20px, 4vw, 54px); height: 1px; background: currentColor; opacity: .55; flex: none; }
  .hero__cta { justify-content: center; }
  .hero .lede { margin-inline: auto; }
  /* Centred: the trailing track pulls the line half a step left.
     Scoped to .hero so it outranks the base rules defined further down. */
  .hero .hero__title { text-indent: .02em; }
  .hero .hero__sub { text-indent: .16em; }
}

.hero__title {
  font-family: var(--f-roman);
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: .84;
  letter-spacing: .04em;
  margin-block: 1.4rem 1.6rem;
  text-indent: 0;
}
.hero__sub {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(.95rem, 1.9vw, 1.6rem);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 62%, transparent);
  margin-top: clamp(.8rem, 2vw, 1.4rem);
  text-indent: 0;
  font-style: italic;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__stage { position: relative; display: grid; place-items: center; }
.hero__tin {
  width: min(100%, 540px);
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, .55));
  animation: tin-float 11s ease-in-out infinite;
  will-change: transform;
}
@keyframes tin-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2.4deg); }
}
.hero__halo {
  position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 189, 88, .22), transparent 62%);
  filter: blur(20px); pointer-events: none;
}

/* floating cookies in the hero */
.crumbs { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: clip; }
.crumb {
  position: absolute; width: var(--s, 70px); opacity: .9;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5));
  animation: crumb-bob var(--dur, 14s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
  will-change: transform;
}
@keyframes crumb-bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50% { transform: translate3d(var(--dx, 10px), var(--dy, -26px), 0) rotate(calc(var(--rot, 0deg) + 18deg)); }
}
/* On narrow screens the copy fills the width — keep only a few, as texture. */
@media (max-width: 700px) {
  .crumb { opacity: .45; width: calc(var(--s, 70px) * .72); }
  .crumb:nth-child(n+4) { display: none; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 4; display: grid; justify-items: center; gap: .7rem;
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 50%, transparent);
}
.scroll-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--gold-400), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-200);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (max-width: 980px) { .scroll-cue { display: none; } }

/* --------------------------------------------------------------- ribbon -- */
.ribbon {
  background: var(--gold-500);
  color: var(--blue-950);
  padding-block: .85rem;
  overflow: hidden;
  border-block: 1px solid var(--gold-700);
  position: relative;
}
.ribbon__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon ul { display: flex; align-items: center; }
.ribbon li {
  font-family: var(--f-roman); font-weight: 700;
  font-size: clamp(.72rem, 1.1vw, .9rem);
  letter-spacing: .3em; text-transform: uppercase;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
  white-space: nowrap;
}
/* -.3em absorbs the word's trailing track so the star sits an even gap away. */
.ribbon li::after { content: "✦"; font-size: .7em; opacity: .65; letter-spacing: 0; margin-left: -.3em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ manifesto -- */
.manifesto__head { max-width: 22ch; }
.manifesto__grid {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: start; margin-top: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 820px) { .manifesto__grid { grid-template-columns: 1fr; } }
.manifesto h2 {
  font-family: var(--f-display); font-size: var(--t-xxl); line-height: .98;
}
.manifesto h2 em { font-style: italic; color: var(--gold-600); }
.dropcap::first-letter {
  font-family: var(--f-display); float: left;
  font-size: 4.1em; line-height: .78; padding: .06em .12em 0 0;
  color: var(--gold-600);
}

.sig {
  margin-top: 2.2rem; display: flex; align-items: center; gap: 1rem;
  font-size: var(--t-sm); color: var(--ink-soft);
}
.sig strong { font-family: var(--f-roman); letter-spacing: .1em; color: var(--ink); font-weight: 700; }

/* ------------------------------------------------------------ assortment -- */
.rail__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.4rem);
}
.rail__head h2 { font-family: var(--f-display); font-size: var(--t-xl); max-width: 16ch; }
.rail__nav { display: flex; gap: .6rem; }
.rail__btn {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid rgba(224, 189, 88, .38);
  color: var(--gold-300); display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s, transform .3s var(--ease), border-color .3s;
}
.rail__btn:hover:not(:disabled) { background: var(--gold-400); color: var(--blue-950); border-color: var(--gold-400); transform: scale(1.06); }
.rail__btn:disabled { opacity: .28; cursor: not-allowed; }

.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 30vw, 340px);
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.5rem;
  margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 189, 88, .45) transparent;
  cursor: grab;
}
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, .07); border-radius: 99px; }
.rail::-webkit-scrollbar-thumb { background: rgba(224, 189, 88, .5); border-radius: 99px; }

.card {
  scroll-snap-align: center;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  border: 1px solid rgba(224, 189, 88, .2);
  transition: transform .5s var(--ease), border-color .5s, background .5s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(224, 189, 88, .22), transparent 70%);
  transition: opacity .5s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: rgba(224, 189, 88, .55); }
.card:hover::before { opacity: 1; }
.card__art {
  aspect-ratio: 1; display: grid; place-items: center;
  margin-bottom: 1.4rem; position: relative;
}
.card__art::after {
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 189, 88, .18), transparent 65%);
  z-index: -1;
}
.card__art svg { width: 68%; transition: transform .7s var(--ease); }
.card:hover .card__art svg { transform: rotate(24deg) scale(1.07); }
.card__no {
  font-family: var(--f-roman); font-size: .7rem; letter-spacing: .28em;
  color: var(--gold-400); margin-bottom: .6rem;
}
.card h3 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: .6rem; }
.card p { font-size: .92rem; color: color-mix(in srgb, var(--cream) 68%, transparent); }
/* margin-top:auto keeps the meta row on the card floor, so the rules line up
   across cards whose copy runs to different lengths. */
.card__meta {
  margin-top: auto; padding-top: 1.2rem; display: flex; gap: 1.2rem;
  font-size: .68rem; letter-spacing: .17em; text-transform: uppercase;
  color: color-mix(in srgb, var(--gold-300) 78%, transparent);
  border-top: 1px solid rgba(224, 189, 88, .18);
}

/* ------------------------------------------------------------- the tin -- */
.tinsec { position: relative; }
.tinsec__grid {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 900px) { .tinsec__grid { grid-template-columns: 1fr; } }
.tinsec__sticky {
  position: sticky; top: clamp(6rem, 16vh, 9rem);
  display: grid; place-items: center;
}
@media (max-width: 900px) { .tinsec__sticky { position: static; } }
.tinsec__sticky img { width: min(100%, 460px); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); }

.specs { display: grid; gap: 0; margin-top: 2.5rem; }
.spec {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1.2rem; align-items: baseline;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(224, 189, 88, .2);
}
.spec:last-child { border-bottom: 1px solid rgba(224, 189, 88, .2); }
.spec__no { font-family: var(--f-roman); font-size: .72rem; letter-spacing: .2em; color: var(--gold-500); }
.spec__k { font-family: var(--f-display); font-size: 1.3rem; }
/* Right-aligned, so the trailing track has to come back off the edge. */
.spec__v {
  font-size: .82rem; letter-spacing: .12em; margin-right: -.12em;
  text-transform: uppercase; color: color-mix(in srgb, var(--cream) 62%, transparent);
  text-align: right;
}
/* Two-column variant for lists with no numbering */
.specs--plain .spec { grid-template-columns: 1fr auto; }
@media (max-width: 560px) {
  .spec { grid-template-columns: 2.4rem 1fr; }
  .spec__v { grid-column: 2; text-align: left; }
}
/* Same list on a cream band */
.band--paper .spec { border-color: rgba(201, 162, 39, .38); }
.band--paper .spec__no { color: var(--gold-600); }
.band--paper .spec__v { color: var(--ink-soft); }
.band--paper .fig__l { color: var(--ink-soft); }
.band--paper .tl__body p { color: var(--ink-soft); }

/* ---------------------------------------------------------------- craft -- */
.steps { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid rgba(201, 162, 39, .38);
  box-shadow: 0 14px 34px -26px rgba(26, 20, 8, .55);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(26, 20, 8, .6); }
/* Same card on a dark band */
.band--deep .step, .band--mid .step {
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02));
  border-color: rgba(224, 189, 88, .22);
  box-shadow: none;
}
.band--deep .step p, .band--mid .step p { color: color-mix(in srgb, var(--cream) 68%, transparent); }
.band--deep .step__no, .band--mid .step__no { color: var(--gold-400); opacity: .5; }
.step__no {
  font-family: var(--f-display); font-size: 3.6rem; line-height: 1;
  color: var(--crust); opacity: .45; margin-bottom: .6rem;
}
.step h3 { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: .6rem; }
.step p { font-size: .93rem; color: var(--ink-soft); }

/* --------------------------------------------------------------- figures -- */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr; } }
.fig { text-align: center; padding-block: 1rem; }
.fig__n {
  font-family: var(--f-display); font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1;
  display: block;
}
.fig__l {
  display: block; margin-top: .8rem;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  text-indent: .12em;
  color: color-mix(in srgb, var(--cream) 62%, transparent);
}
.fig + .fig { border-left: 1px solid rgba(224, 189, 88, .2); }
@media (max-width: 760px) { .fig + .fig { border-left: 0; border-top: 1px solid rgba(224, 189, 88, .2); } }

/* --------------------------------------------------------------- timeline -- */
.tl { display: grid; gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); }
.tl__item {
  display: grid; grid-template-columns: minmax(90px, 130px) 1fr; gap: clamp(1.2rem, 4vw, 3rem);
  align-items: baseline;
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-top: 1px solid rgba(201, 162, 39, .3);
  position: relative;
}
.tl__item:last-child { border-bottom: 1px solid rgba(201, 162, 39, .3); }
.tl__yr { font-family: var(--f-roman); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--gold-600); letter-spacing: .06em; }
.tl__body h3 { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: .5rem; }
.tl__body p { color: var(--ink-soft); max-width: 62ch; font-size: .96rem; }

/* ---------------------------------------------------------------- notes -- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; } }
.note {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(224, 189, 88, .22);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), transparent);
  display: flex; flex-direction: column; gap: 1rem;
}
.note__q { font-family: var(--f-display); font-size: 1.22rem; line-height: 1.45; font-style: italic; }
.note__m { margin-top: auto; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.note__dots { display: flex; gap: .3rem; color: var(--gold-400); }

/* ----------------------------------------------------------------- cta -- */
.cta {
  position: relative; text-align: center;
  background:
    radial-gradient(100% 100% at 50% 0%, var(--blue-600), transparent 60%),
    var(--blue-950);
  overflow: clip;
}
.cta h2 { font-family: var(--f-display); font-size: var(--t-xxl); max-width: 16ch; margin-inline: auto; }
.cta .lede { margin: 1.4rem auto 2.4rem; text-align: center; }

.form {
  display: flex; gap: .6rem; max-width: 520px; margin-inline: auto;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(224, 189, 88, .3);
  border-radius: 100px; padding: .45rem .45rem .45rem 1.4rem;
  transition: border-color .3s, background .3s;
}
.form:focus-within { border-color: var(--gold-400); background: rgba(255, 255, 255, .1); }
.form input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  font-size: .95rem; color: var(--cream);
}
.form input::placeholder { color: color-mix(in srgb, var(--cream) 45%, transparent); }
.form__msg { margin-top: 1rem; font-size: .84rem; color: var(--gold-300); min-height: 1.4em; }
@media (max-width: 480px) {
  .form { flex-direction: column; border-radius: var(--r-md); padding: 1rem; }
  .form .btn { justify-content: center; }
}

/* --------------------------------------------------------------- footer -- */
.ftr { background: var(--blue-950); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; border-top: 1px solid rgba(224, 189, 88, .18); }
.ftr__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 {
  font-family: var(--f-roman); font-size: .72rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.2rem;
}
.ftr li + li { margin-top: .7rem; }
.ftr li a, .ftr address {
  font-size: .9rem; font-style: normal;
  color: color-mix(in srgb, var(--cream) 66%, transparent);
  transition: color .3s;
}
.ftr li a:hover { color: var(--gold-300); }
.ftr__brand p { font-size: .9rem; color: color-mix(in srgb, var(--cream) 60%, transparent); max-width: 34ch; margin-top: 1.2rem; }
.ftr__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: .76rem; letter-spacing: .08em;
  color: color-mix(in srgb, var(--cream) 45%, transparent);
}

/* ------------------------------------------------------------- sub-pages -- */
.phero {
  padding-block: clamp(9rem, 20vh, 14rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(110% 80% at 50% -10%, var(--blue-600), transparent 60%),
    var(--blue-950);
  position: relative; overflow: clip;
}
.phero h1 { font-family: var(--f-display); font-size: var(--t-xxl); margin-block: 1.2rem 1.4rem; max-width: 16ch; }
.phero .lede { max-width: 56ch; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }

.split {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-family: var(--f-display); font-size: var(--t-xl); margin-block: 1.2rem 1.2rem; }
.split__art { display: grid; place-items: center; }
.split__art svg, .split__art img { width: min(100%, 420px); }

/* ------------------------------------------------------------- reveals -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.split-lines > span { display: block; overflow: hidden; }
.split-lines > span > span {
  display: block; transform: translateY(105%);
  transition: transform 1.1s var(--ease); transition-delay: var(--d, 0ms);
}
.split-lines.is-in > span > span { transform: none; }

/* ---------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .split-lines > span > span { transform: none; }
  .crumb, .hero__tin { animation: none; }
}

/* ==========================================================================
   Centred section system
   ========================================================================== */
.sec-head {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head .eyebrow { justify-content: center; text-indent: .21em; }
.sec-head .eyebrow::after {
  content: ""; width: clamp(20px, 4vw, 54px); height: 1px;
  background: currentColor; opacity: .55; flex: none;
}
.sec-head h2 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  margin-top: 1.1rem;
  margin-inline: auto;
}
.sec-head .lede {
  margin: 1.2rem auto 0;
  text-align: center;
}
.sec-head--wide { max-width: 56rem; }

/* Centred prose column */
.prose-center { max-width: 62ch; margin-inline: auto; text-align: center; }
.prose-center > * + * { margin-top: 1.3rem; }

/* Centred hero stack */
.hero__stack {
  position: relative; z-index: 3;
  display: grid; justify-items: center; text-align: center;
  gap: 0;
}
.hero__stack .eyebrow { justify-content: center; text-indent: .21em; }
.hero__stack .eyebrow::after {
  content: ""; width: clamp(20px, 4vw, 54px); height: 1px;
  background: currentColor; opacity: .55; flex: none;
}
.hero__stack .hero__title { text-indent: .02em; }
.hero__stack .hero__sub { text-indent: .16em; }
.hero__stack .lede { margin-inline: auto; }
.hero__stack .hero__cta { justify-content: center; }
.hero__medal {
  position: relative;
  width: min(100%, clamp(240px, 34vw, 400px));
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__medal .hero__tin { width: 100%; }

/* ==========================================================================
   Cart: header button, drawer, lines, toast
   ========================================================================== */
.cartbtn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold-400) 42%, transparent);
  background: transparent; color: var(--cream);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
}
.cartbtn:hover { background: var(--gold-400); color: var(--blue-950); border-color: var(--gold-400); transform: scale(1.05); }
.cartbtn__n {
  position: absolute; top: -3px; right: -3px;
  min-width: 20px; height: 20px; padding-inline: 5px;
  display: grid; place-items: center;
  border-radius: 99px;
  background: var(--gold-400); color: var(--blue-950);
  font-size: .68rem; font-weight: 700; line-height: 1;
  border: 2px solid var(--blue-950);
}
.band--paper .cartbtn { color: var(--ink); border-color: color-mix(in srgb, var(--gold-600) 45%, transparent); }

.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer[hidden] { display: none; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(3, 12, 28, .68);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset-block: 0; right: 0;
  width: min(100%, 440px);
  display: flex; flex-direction: column;
  background: var(--blue-900);
  border-left: 1px solid rgba(224, 189, 88, .28);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .9);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem clamp(1.2rem, 3vw, 1.8rem);
  border-bottom: 1px solid rgba(224, 189, 88, .2);
}
.drawer__title { font-family: var(--f-display); font-size: 1.5rem; }
.drawer__x {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--cream);
  cursor: pointer; transition: background .3s, color .3s;
}
.drawer__x:hover { background: rgba(255, 255, 255, .1); color: var(--gold-300); }
.drawer__body { flex: 1; overflow-y: auto; padding: clamp(1rem, 3vw, 1.5rem); }
.drawer__foot {
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border-top: 1px solid rgba(224, 189, 88, .2);
  background: color-mix(in srgb, var(--blue-950) 55%, transparent);
}
.drawer__foot:empty { display: none; }

.drawer__empty { display: grid; justify-items: center; gap: 1.2rem; text-align: center; padding-block: clamp(2.5rem, 8vw, 4rem); }
.drawer__emptyart { width: 84px; opacity: .55; }
.drawer__empty p { color: color-mix(in srgb, var(--cream) 62%, transparent); }

.lines { display: grid; gap: 1rem; }
.line {
  display: grid; grid-template-columns: 62px 1fr auto; gap: .9rem; align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(224, 189, 88, .16);
}
.line:last-child { border-bottom: 0; padding-bottom: 0; }
.line__art {
  width: 62px; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(224, 189, 88, .18);
}
.line__art svg { width: 74%; }
.line__name { font-family: var(--f-display); font-size: 1.02rem; line-height: 1.25; }
.line__unit { font-size: .74rem; letter-spacing: .05em; color: color-mix(in srgb, var(--cream) 55%, transparent); margin-top: .15rem; }
.line__end { text-align: right; display: grid; gap: .4rem; justify-items: end; }
.line__price { font-size: .95rem; font-weight: 600; white-space: nowrap; }
.line__rm {
  border: 0; background: transparent; padding: 0; cursor: pointer;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 45%, transparent);
  transition: color .3s;
}
.line__rm:hover { color: var(--gold-300); }

.qty {
  margin-top: .6rem;
  display: inline-flex; align-items: center;
  border: 1px solid rgba(224, 189, 88, .28); border-radius: 99px;
  overflow: hidden;
}
.qty__btn {
  width: 30px; height: 30px; border: 0; background: transparent; color: var(--cream);
  cursor: pointer; font-size: 1rem; line-height: 1; display: grid; place-items: center;
  transition: background .25s, color .25s;
}
.qty__btn:hover { background: var(--gold-400); color: var(--blue-950); }
.qty__in {
  width: 40px; height: 30px; border: 0; background: transparent; text-align: center;
  font-size: .88rem; font-weight: 600; -moz-appearance: textfield; appearance: textfield;
}
.qty__in::-webkit-outer-spin-button, .qty__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__in:focus-visible { outline-offset: -2px; }

.drawer__ship { font-size: .78rem; letter-spacing: .06em; color: var(--gold-300); text-align: center; }
.drawer__ship.is-free { color: var(--gold-300); }
.drawer__bar { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin: .6rem 0 1rem; overflow: hidden; }
.drawer__bar i { display: block; height: 100%; background: var(--foil); background-size: 200% 100%; transition: width .5s var(--ease); }

.sums { display: grid; gap: .5rem; margin: 1rem 0 1.2rem; }
.sums > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.sums dt { color: color-mix(in srgb, var(--cream) 62%, transparent); }
.sums dd { font-weight: 600; }
.sums__total {
  border-top: 1px solid rgba(224, 189, 88, .22);
  padding-top: .7rem; margin-top: .3rem;
  font-family: var(--f-display); font-size: 1.15rem !important;
}
.sums__total dt { color: var(--cream) !important; }

.btn--block { width: 100%; justify-content: center; }
.drawer__clear {
  display: block; width: 100%; margin-top: .8rem;
  border: 0; background: transparent; cursor: pointer;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 42%, transparent);
  transition: color .3s;
}
.drawer__clear:hover { color: var(--gold-300); }

.toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: 400;
  transform: translate(-50%, 140%);
  background: var(--gold-400); color: var(--blue-950);
  padding: .85rem 1.5rem; border-radius: 99px;
  font-size: .88rem; font-weight: 600;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease);
  max-width: calc(100vw - 2rem); text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ==========================================================================
   Shop
   ========================================================================== */
/* Fixed tracks rather than auto-fit: six refills should land 3+3, not 4+2. */
.shopgrid {
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shopgrid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .shopgrid, .shopgrid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shopgrid, .shopgrid--pair { grid-template-columns: 1fr; } }
.prod {
  display: flex; flex-direction: column; text-align: center;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022));
  border: 1px solid rgba(224, 189, 88, .2);
  transition: transform .5s var(--ease), border-color .5s;
}
.prod:hover { transform: translateY(-6px); border-color: rgba(224, 189, 88, .5); }
.prod__art { aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.prod__art::after {
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 189, 88, .18), transparent 65%); z-index: -1;
}
.prod__art svg { width: 66%; transition: transform .7s var(--ease); }
.prod:hover .prod__art svg { transform: rotate(18deg) scale(1.06); }
.prod__tag {
  font-family: var(--f-roman); font-size: .64rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold-400); text-indent: .13em;
}
.prod h3 { font-family: var(--f-display); font-size: 1.35rem; margin-top: .5rem; }
.prod__unit { font-size: .8rem; color: color-mix(in srgb, var(--cream) 58%, transparent); margin-top: .3rem; }
.prod__price { font-family: var(--f-display); font-size: 1.5rem; margin-top: .9rem; }
.prod .btn { margin-top: 1.2rem; align-self: stretch; justify-content: center; }
.band--paper .prod {
  background: var(--paper);
  border-color: rgba(201, 162, 39, .38);
  box-shadow: 0 14px 34px -26px rgba(26, 20, 8, .55);
}
.band--paper .prod__unit { color: var(--ink-soft); }
.band--paper .prod__tag { color: var(--gold-600); }

/* Inline buy row used on the tin and assortment pages */
.buy {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.4rem; margin-top: 1.8rem;
}
.buy__price { font-family: var(--f-display); font-size: 1.7rem; }
.buy__unit { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 55%, transparent); }
.band--paper .buy__unit { color: var(--ink-soft); }

/* ==========================================================================
   Checkout
   ========================================================================== */
.cogrid {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
}
@media (max-width: 880px) { .cogrid { grid-template-columns: 1fr; } }

.panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
  border: 1px solid rgba(224, 189, 88, .22);
}
.panel h2 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 1.4rem; }

.notice {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: var(--r-md);
  border: 1px dashed rgba(224, 189, 88, .5);
  background: rgba(224, 189, 88, .08);
  font-size: .86rem; line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  margin-bottom: 1.8rem; text-align: left;
}
.notice strong { color: var(--gold-300); }

.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; text-align: left; }
.field label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(224, 189, 88, .26);
  border-radius: var(--r-md);
  font-size: .95rem; color: var(--cream);
  transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold-400); background: rgba(255, 255, 255, .1); }
.field input::placeholder { color: color-mix(in srgb, var(--cream) 38%, transparent); }
.field--err input { border-color: #e0796a; }
.field__err { font-size: .76rem; color: #f0a294; min-height: 1em; }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .fieldrow { grid-template-columns: 1fr; } }

.co__empty { text-align: center; display: grid; justify-items: center; gap: 1.4rem; padding-block: clamp(2rem, 6vw, 4rem); }
.co__done { text-align: center; display: grid; justify-items: center; gap: 1.2rem; }
.co__done svg { width: 90px; }
.co__ref {
  font-family: var(--f-roman); letter-spacing: .22em; font-size: 1.05rem;
  color: var(--gold-300); border: 1px dashed rgba(224, 189, 88, .45);
  padding: .7rem 1.4rem; border-radius: var(--r-md);
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .hdr, .drawer, .toast, .crumbs, .scroll-cue, .ribbon, .ftr { display: none !important; }
  body { background: #fff; color: #000; }
  .band, .hero, .phero, .cta { background: #fff !important; color: #000 !important; padding-block: 1rem; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Centred footer
   ========================================================================== */
.ftr { text-align: center; }
.ftr__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
}
.ftr__brand { display: grid; justify-items: center; }
.ftr__brand .brand { justify-content: center; }
.ftr__brand p { margin-inline: auto; }
.ftr address { font-style: normal; }
.ftr__bottom { justify-content: center; text-align: center; }
@media (max-width: 900px) {
  .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

/* Header: cart sits outside the collapsing nav so it is always reachable */
@media (max-width: 900px) {
  .hdr__in { gap: .5rem; }
  .cartbtn { width: 42px; height: 42px; }
}

/* Assortment: each cookie as a centred stack, art always on top */
.cookie-stack {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 760px;
}
.cookie-stack .split__art {
  order: -1; width: min(100%, 250px); margin-bottom: 2rem;
}
.cookie-stack .eyebrow { justify-content: center; text-indent: .21em; }
.cookie-stack .eyebrow::after {
  content: ""; width: clamp(20px, 4vw, 54px); height: 1px;
  background: currentColor; opacity: .55; flex: none;
}
.cookie-stack h2 { font-family: var(--f-display); font-size: var(--t-xl); margin-block: 1.1rem 1.2rem; }
.cookie-stack .lede { text-align: center; margin-inline: auto; }
.cookie-stack .specs { width: 100%; max-width: 520px; text-align: left; }

/* An explicit display would beat the UA rule for [hidden], leaving a "0" badge
   sitting on the cart whenever it is empty. */
.cartbtn__n[hidden] { display: none; }

/* The centred stack is taller than the old two-column hero, so the type and
   the tin come down a step to keep the lede and buttons above the fold. */
.hero__stack .hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  margin-block: .9rem 1rem;
}
.hero__stack .hero__sub { font-size: clamp(.85rem, 1.5vw, 1.25rem); margin-top: .7rem; }
.hero__stack .lede { font-size: clamp(1rem, 1.35vw, 1.2rem); }
.hero__stack .hero__cta { margin-top: 1.6rem; }
.hero__medal { width: min(100%, clamp(180px, 21vw, 290px)); margin-block: 1.2rem; }
.hero:has(.hero__stack) { padding-block: clamp(6.5rem, 13vh, 8.5rem) clamp(3rem, 7vh, 5rem); }

/* Short viewports (13" laptops) need one more step down to keep the CTA up. */
@media (min-width: 981px) and (max-height: 820px) {
  .hero__stack .hero__title { font-size: clamp(2.8rem, 6vw, 5rem); }
  .hero__medal { width: min(100%, clamp(160px, 17vw, 220px)); margin-block: .8rem; }
  .hero:has(.hero__stack) { padding-block: clamp(5.5rem, 11vh, 7rem) clamp(2rem, 5vh, 3.5rem); }
}
