@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #0d1f36;
  --night-2: #16304f;
  --night-3: #1e3d63;
  --paper: #f6efe2;
  --paper-2: #efe5d2;
  --ink: #16263d;
  --muted: #5a6273;
  --on-night: #f6efe2;
  --on-night-muted: #b9c4d6;
  --gold: #e8bb57;
  --gold-hover: #f2c867;
  --berry: #b3203a;
  --pine: #1f4d3a;
  --line: rgba(22, 38, 61, .14);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 16ch; }
h3 { font-size: 1.5rem; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "opsz" 36; }

.wrap { width: min(var(--wrap), 100% - 2 * clamp(1.25rem, 5vw, 3rem)); margin-inline: auto; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 5vw, 3rem);
}
.wordmark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--on-night);
  text-decoration: none;
  margin: 0;
}
.wordmark span { font-style: normal; font-size: .8em; opacity: .7; }
.wordmark-dark { color: var(--ink); }
.nav-link {
  color: var(--on-night);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: .6rem 1.1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(246, 239, 226, .3);
  border-radius: 999px;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.nav-link:hover { background: rgba(246, 239, 226, .1); border-color: rgba(246, 239, 226, .6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:focus-visible, .nav-link:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(232, 187, 87, .7);
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn-ghost {
  color: var(--on-night);
  border: 1px solid rgba(246, 239, 226, .4);
}
.btn-ghost:hover { border-color: var(--on-night); background: rgba(246, 239, 226, .08); }
.btn-price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  padding-left: .75rem;
  border-left: 1px solid currentColor;
  opacity: .85;
}
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: .7; transform: none; box-shadow: none; }
@media (max-width: 899px) { .moon { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-night);
  background:
    radial-gradient(ellipse 80% 60% at 75% 35%, rgba(232, 187, 87, .10), transparent 70%),
    linear-gradient(180deg, #081627 0%, var(--night) 40%, var(--night-3) 100%);
  padding: clamp(7rem, 14vh, 9rem) 0 clamp(8rem, 16vw, 13rem);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--wrap), 100% - 2 * clamp(1.25rem, 5vw, 3rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
}
.kicker {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.kicker span { color: var(--on-night-muted); }
.hero h1 { max-width: 12ch; }
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--on-night-muted);
  max-width: 36ch;
  margin-bottom: 2rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.checkout-status { margin: 1rem 0 0; font-size: .9rem; color: var(--on-night-muted); }

.countdown {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 239, 226, .15);
  max-width: 460px;
}
.countdown-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-night-muted);
  margin-bottom: .75rem;
}
.countdown-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.countdown-row div {
  display: flex;
  flex-direction: column;
  padding-right: 1rem;
}
.countdown-row div + div { padding-left: 1rem; border-left: 1px solid rgba(246, 239, 226, .15); }
.countdown-row span {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1;
  color: var(--on-night);
}
.countdown-row small { font-size: .8rem; color: var(--on-night-muted); margin-top: .35rem; }
.countdown.is-today .countdown-row { display: none; }
.countdown.is-today .countdown-title {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -.01em;
  text-transform: none;
  font-weight: 500;
  color: var(--gold);
}

.hero-art { position: relative; justify-self: center; width: min(360px, 80vw); }
.hero-art img { position: relative; width: 100%; animation: bob 7s ease-in-out infinite; }
.glow {
  position: absolute;
  inset: 10% -20% 0;
  background: radial-gradient(circle at 50% 55%, rgba(232, 187, 87, .32), transparent 60%);
  filter: blur(10px);
}
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }

/* Sky */
.sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stars { position: absolute; inset: 0; background-repeat: repeat; }
.stars-a {
  background-image:
    radial-gradient(1.2px 1.2px at 30px 40px, #fff, transparent),
    radial-gradient(1px 1px at 120px 90px, #fff, transparent),
    radial-gradient(1.4px 1.4px at 210px 30px, #fff, transparent),
    radial-gradient(1px 1px at 300px 140px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 380px 70px, #fff, transparent);
  background-size: 420px 220px;
  opacity: .7;
  -webkit-mask-image: linear-gradient(#000 40%, transparent 85%);
  mask-image: linear-gradient(#000 40%, transparent 85%);
}
.stars-b {
  background-image:
    radial-gradient(1.6px 1.6px at 80px 120px, #fff, transparent),
    radial-gradient(1px 1px at 260px 60px, #fff, transparent),
    radial-gradient(1.8px 1.8px at 470px 170px, #fde9b8, transparent);
  background-size: 560px 300px;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 75%);
  mask-image: linear-gradient(#000 30%, transparent 75%);
  animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 50% { opacity: .35; } }
.moon {
  position: absolute;
  top: 12%;
  right: 9%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: inset -14px 6px 0 0 #f7e7bf;
  filter: drop-shadow(0 0 24px rgba(247, 231, 191, .45));
  transform: rotate(-20deg);
}
.flurry {
  position: absolute;
  inset: -220px 0 0;
  background-image:
    radial-gradient(2.5px 2.5px at 40px 60px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(2px 2px at 190px 130px, rgba(255, 255, 255, .6), transparent),
    radial-gradient(3px 3px at 330px 30px, rgba(255, 255, 255, .7), transparent);
  background-size: 400px 220px;
  animation: fall 22s linear infinite;
  opacity: .5;
}
@keyframes fall { to { transform: translate3d(40px, 220px, 0); } }

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: clamp(110px, 15vw, 220px);
}

/* ---------- Tradition ---------- */
.tradition { padding: clamp(4rem, 9vw, 7rem) 0; }
.two-col { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.tradition p { color: var(--muted); max-width: 42ch; }
.rhyme {
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem);
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(22, 38, 61, .25);
  position: relative;
}
.rhyme::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(179, 32, 58, .25);
  border-radius: 2px;
  pointer-events: none;
}
.rhyme blockquote { margin: 0; }
.rhyme blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: none;
  margin: 0;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
}
.rhyme figcaption {
  margin-top: 1.5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--berry);
}

/* ---------- Inside ---------- */
.inside {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.ingredients {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
}
@media (min-width: 600px) { .ingredients { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ingredients { grid-template-columns: repeat(4, 1fr); } }
.ingredients li { padding: 2rem 0; border-top: 1px solid var(--line); }
.ingredients svg {
  width: 64px;
  height: 64px;
  padding: 8px;
  border-radius: 50%;
  background: var(--night);
  margin-bottom: 1.25rem;
}
.ingredients h3 { margin-bottom: .3rem; }
.ingredients p { margin: 0; color: var(--muted); }

.label {
  max-width: 720px;
  padding: 1.75rem 2rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fffaf1;
}
.label-title {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--berry);
  padding-bottom: .9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.label p { color: var(--ink); }
.label-ingredients { margin: 0; font-size: .95rem; color: var(--muted) !important; }

/* ---------- Order ---------- */
.order {
  padding: clamp(4rem, 9vw, 7rem) 0;
  color: var(--on-night);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 187, 87, .12), transparent 70%),
    var(--night);
}
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 760px) { .products { grid-template-columns: 1fr 1fr; } }
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid rgba(246, 239, 226, .12);
  overflow: hidden;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease);
}
.product:hover { transform: translateY(-4px); border-color: rgba(232, 187, 87, .45); }
.product-featured { border-color: rgba(232, 187, 87, .5); }
.tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  margin: 0;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-art {
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 2rem;
  background: radial-gradient(circle at 50% 70%, rgba(232, 187, 87, .22), transparent 60%);
}
.product-art img { width: 170px; }
.product-art-trio img { width: 140px; }
.product-art-trio img:nth-child(1) { transform: translateX(40px) scale(.86); transform-origin: bottom; }
.product-art-trio img:nth-child(2) { position: relative; z-index: 1; }
.product-art-trio img:nth-child(3) { transform: translateX(-40px) scale(.86); transform-origin: bottom; }
.product-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.product h3 { margin-bottom: .25rem; }
.product-desc { color: var(--on-night-muted); }
.price {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
  margin: auto 0 1.5rem;
  padding-top: .5rem;
  color: var(--on-night);
}
.order-note { margin: 2rem 0 0; font-size: .9rem; color: var(--on-night-muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 3rem; text-align: center; color: var(--muted); }
.footer-inner p { margin: 0 0 .4rem; }
.footer .wordmark { font-size: 1.6rem; margin-bottom: .75rem; }
.footer a { color: var(--ink); }
.fine { font-size: .82rem; margin-top: 1.25rem !important; }

/* ---------- Thank-you page ---------- */
.hero-short { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.hero-short .hero-inner { grid-template-columns: 1fr; justify-items: center; }
.hero-short h1, .hero-short .lead { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img, .stars-b, .flurry { animation: none; }
  .btn, .product, .nav-link { transition: none; }
  .btn-gold:hover, .product:hover { transform: none; }
}
