*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: clip; }

body {
  margin: 0;
  max-width: 100%;
  background:
    radial-gradient(820px 480px at 8% -10%, rgba(124, 58, 237, .42), transparent 62%),
    radial-gradient(680px 380px at 100% 0%, rgba(255, 79, 216, .16), transparent 55%),
    #14081f;
  color: #fff6e8;
  font-family: "Literata", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.7;
}

img, svg { max-width: 100%; height: auto; }

a { color: #ffd84a; }

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  line-height: 1.12;
  font-weight: 700;
  text-wrap: balance;
  margin: 0 0 .45em;
}

p { margin: 0 0 .9rem; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: #ffd84a;
  color: #2a1608;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1100px, calc(100% - 32px));
  margin-inline: auto;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stars,
.wash,
.mist,
.orbs { position: absolute; inset: 0; }

.stars {
  background-image:
    radial-gradient(1.4px 1.4px at 8% 16%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 18% 42%, #fff 60%, transparent 62%),
    radial-gradient(1.6px 1.6px at 28% 12%, #ffe9a8 60%, transparent 62%),
    radial-gradient(1px 1px at 36% 28%, #fff 60%, transparent 62%),
    radial-gradient(1.5px 1.5px at 47% 18%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 58% 36%, #fff 60%, transparent 62%),
    radial-gradient(1.4px 1.4px at 66% 14%, #ffe9a8 60%, transparent 62%),
    radial-gradient(1px 1px at 74% 30%, #fff 60%, transparent 62%),
    radial-gradient(1.6px 1.6px at 82% 10%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 90% 24%, #fff 60%, transparent 62%),
    radial-gradient(1px 1px at 14% 70%, #fff 60%, transparent 62%),
    radial-gradient(1.3px 1.3px at 52% 62%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 78% 68%, #fff 60%, transparent 62%);
  animation: twinkle 5.5s ease-in-out infinite;
}

.wash {
  background:
    radial-gradient(closest-side at 18% 22%, rgba(124, 58, 237, .38), transparent 72%),
    radial-gradient(closest-side at 84% 12%, rgba(255, 79, 216, .22), transparent 70%),
    radial-gradient(closest-side at 60% 70%, rgba(61, 228, 255, .1), transparent 68%);
}

.mist {
  inset: auto 0 8% 0;
  height: 180px;
  background: radial-gradient(closest-side at 50% 50%, rgba(92, 46, 168, .28), transparent 75%);
  animation: drift 22s ease-in-out infinite;
}

.orbs span {
  position: absolute;
  bottom: -48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .9), transparent 18%),
    radial-gradient(circle at 50% 58%, var(--c), rgba(255, 255, 255, .05) 72%);
  box-shadow: inset -6px -8px 12px rgba(0, 0, 0, .18);
  animation: rise linear infinite;
}

.orbs span:nth-child(1) { left: 4%; width: 16px; height: 16px; --c: #ff4fd8; animation-duration: 17s; animation-delay: -3s; }
.orbs span:nth-child(2) { left: 14%; width: 28px; height: 28px; --c: #3de4ff; animation-duration: 22s; animation-delay: -9s; }
.orbs span:nth-child(3) { left: 24%; width: 12px; height: 12px; --c: #c6f54a; animation-duration: 15s; animation-delay: -6s; }
.orbs span:nth-child(4) { left: 36%; width: 22px; height: 22px; --c: #ffd84a; animation-duration: 26s; animation-delay: -14s; }
.orbs span:nth-child(5) { left: 48%; width: 14px; height: 14px; --c: #ff7a59; animation-duration: 19s; animation-delay: -4s; }
.orbs span:nth-child(6) { left: 58%; width: 34px; height: 34px; --c: #b388ff; animation-duration: 28s; animation-delay: -11s; }
.orbs span:nth-child(7) { left: 70%; width: 18px; height: 18px; --c: #3de4ff; animation-duration: 21s; animation-delay: -16s; }
.orbs span:nth-child(8) { left: 80%; width: 12px; height: 12px; --c: #ff4fd8; animation-duration: 16s; animation-delay: -8s; }
.orbs span:nth-child(9) { left: 78%; width: 24px; height: 24px; --c: #c6f54a; animation-duration: 24s; animation-delay: -2s; }
.orbs span:nth-child(10) { left: 90%; width: 10px; height: 10px; --c: #ffd84a; animation-duration: 18s; animation-delay: -12s; }

.topbar,
main,
.site-footer { position: relative; z-index: 1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 6, 20, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 216, 74, .28);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 72px;
  padding: 8px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff6e8;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  animation: bob 6.5s ease-in-out infinite;
}

.brand strong,
.brand small {
  display: block;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  line-height: 1.1;
}

.brand strong { font-size: 1rem; }
.brand small {
  color: #ffd84a;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.nav-toggle { display: none; }

.site-nav {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: 2px 14px;
  padding: 4px 0 10px;
}

.site-nav a {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-weight: 600;
  color: #fff6e8;
  text-decoration: none;
  padding: 10px 4px;
  border-radius: 10px;
}

.site-nav a[aria-current="page"] { color: #ffd84a; }

.hero { padding: 28px 0 10px; }

.hero-grid,
.split,
.pair,
.closing {
  display: grid;
  gap: 22px;
}

.sheet {
  background: linear-gradient(180deg, #fffaf2 0%, #fff1d6 100%);
  color: #2c1444;
  border-radius: 28px;
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
  position: relative;
  min-width: 0;
}

.sheet h1,
.sheet h2,
.sheet h3 { color: #4c1d95; }

.sheet a { color: #6d28d9; }

.sheet ul,
.sheet ol { margin: 0 0 1rem; padding-left: 1.15rem; }

.sheet li { margin: .28rem 0; }

.eyebrow,
.kicker,
time,
.site-nav a,
.btn,
.brand strong,
.brand small,
label,
.cookie-actions button,
.foot-legal a,
.fine-label {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

.eyebrow {
  margin: 0 0 .35rem;
  color: #7a4e00;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.night-title {
  color: #ffd84a;
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
}

.lede { font-size: 1.12rem; }

.measure { max-width: 68ch; }

.ready {
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #6d28d9;
  margin: .4rem 0 .6rem;
}

.fine { color: #5c4a6e; font-size: .95rem; }

.fine-label {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #6d28d9;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 8px;
  min-width: 0;
  overflow: hidden;
}

.halo {
  position: absolute;
  inset: 6% 10%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 216, 74, .5);
  animation: spin 32s linear infinite;
  pointer-events: none;
}

.soap {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 32% 30%, #fff, transparent 20%),
    radial-gradient(circle at 50% 55%, var(--c), transparent 72%);
  animation: bob 5s ease-in-out infinite;
}

.s1 { width: 26px; height: 26px; left: 4%; top: 18%; --c: #ff4fd8; }
.s2 { width: 18px; height: 18px; right: 6%; top: 28%; --c: #c6f54a; animation-delay: -1.4s; }
.s3 { width: 32px; height: 32px; left: 8%; bottom: 12%; --c: #3de4ff; animation-delay: -2.2s; }
.s4 { width: 14px; height: 14px; right: 10%; bottom: 22%; --c: #ffd84a; animation-delay: -.8s; }

.phone {
  position: relative;
  z-index: 1;
  width: min(280px, 100%);
  background: #1a0b2e;
  border: 3px solid #ffd84a;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
  overflow: hidden;
  animation: bob 7s ease-in-out infinite;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.laser {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: 3px;
  height: 38%;
  transform-origin: bottom center;
  background: linear-gradient(transparent, rgba(255, 229, 120, .2), #fff6c2);
  animation: sweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

.store {
  display: inline-block;
  max-width: 100%;
  margin-top: 6px;
  line-height: 0;
}

.store img {
  width: min(280px, 100%);
  height: auto;
  display: block;
}

.block { margin: 36px 0; }

.beads {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 4px;
}

.beads span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
  animation: bob 3.6s ease-in-out infinite;
}

.beads span:nth-child(1) { background: #ff4fd8; }
.beads span:nth-child(2) { background: #ffd84a; animation-delay: -.3s; }
.beads span:nth-child(3) { background: #3de4ff; animation-delay: -.6s; }
.beads span:nth-child(4) { background: #c6f54a; animation-delay: -.9s; }
.beads span:nth-child(5) { background: #ff7a59; animation-delay: -1.2s; }
.beads span:nth-child(6) { background: #b388ff; animation-delay: -1.5s; }
.beads span:nth-child(7) { background: #fff; animation-delay: -1.8s; }

.pair article h2 { font-size: 1.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid #2a1608;
  background: #ffd84a;
  color: #2a1608;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 0 #2a1608;
  cursor: pointer;
}

.btn.quiet {
  background: transparent;
  color: #4c1d95;
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  color: #ffd84a;
  border-color: #ffd84a;
  box-shadow: none;
}

.band {
  padding: 8px 0 12px;
  border-block: 1px solid rgba(255, 216, 74, .22);
  background: rgba(255, 216, 74, .05);
}

.inks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.inks li {
  background: rgba(255, 247, 234, .08);
  border: 1px solid rgba(255, 216, 74, .22);
  border-radius: 22px;
  padding: 16px;
  text-align: center;
  min-width: 0;
}

.inks h3 { color: #fff6e8; margin-bottom: .2rem; }
.inks p { margin: 0; color: #f3e7ff; }

.glass {
  width: 74px;
  height: 74px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 32% 28%, #fff 0 8%, transparent 20%),
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, .35), transparent 46%),
    var(--c);
  box-shadow: inset -8px -10px 14px rgba(0, 0, 0, .18);
  animation: bob 4.8s ease-in-out infinite;
}

.inks li:nth-child(2) .glass { animation-delay: -.6s; }
.inks li:nth-child(3) .glass { animation-delay: -1.2s; }
.inks li:nth-child(4) .glass { animation-delay: -1.8s; }
.inks li:nth-child(5) .glass { animation-delay: -2.4s; }

.pots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 4px;
}

.pot {
  width: 58px;
  height: 34px;
  border-radius: 0 0 18px 18px;
  background: #2a211c;
  position: relative;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .35);
}

.pot::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: -8px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff, var(--p) 45%, rgba(0, 0, 0, .15));
  animation: simmer 2.8s ease-in-out infinite;
}

.pot:nth-child(2)::before { animation-delay: -.4s; }
.pot:nth-child(3)::before { animation-delay: -.8s; }
.pot:nth-child(4)::before { animation-delay: -1.2s; }

.ledger {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ledger li {
  display: grid;
  gap: 6px;
  background: #fff7ea;
  color: #2c1444;
  border-radius: 18px;
  padding: 16px;
  min-width: 0;
}

.ledger time {
  color: #7a4e00;
  font-weight: 700;
  font-size: .86rem;
}

.ledger h3 { font-size: 1.35rem; margin: 0 0 .25rem; }
.ledger h3 a { color: #4c1d95; text-decoration: none; }
.ledger h3 a:hover { text-decoration: underline; }
.ledger p { margin: 0; }

.gallery {
  display: grid;
  gap: 16px;
}

.gallery figure {
  margin: 0;
  min-width: 0;
}

.gallery figcaption {
  margin-top: 8px;
  color: #f3e7ff;
}

.pagehead { padding: 28px 0 8px; }

.stack { display: grid; gap: 16px; }

.prose h2 { margin-top: 1.3rem; font-size: 1.55rem; }

.spec { margin: 0 0 1rem; }
.spec div {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(76, 29, 149, .15);
}
.spec dt { font-weight: 700; }

.form {
  display: grid;
  gap: 12px;
}

label { font-weight: 650; font-size: .92rem; }

input,
textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 1rem;
  color: #2c1444;
  background: #fff;
  border: 2px solid #eadcf8;
  border-radius: 14px;
  padding: 12px 14px;
}

textarea { min-height: 140px; resize: vertical; }

.form-note { min-height: 1.4em; }

.site-footer {
  margin-top: 20px;
  background: #0c0614;
  border-top: 1px solid rgba(255, 216, 74, .28);
  padding: 26px 0;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  align-items: center;
}

.foot-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: #fff6e8;
  text-decoration: none;
}

.foot-brand img { width: 42px; height: 42px; flex: 0 0 auto; }

.foot-brand strong,
.foot-brand p {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  margin: 0;
}

.foot-brand p { color: #d9c8ef; font-size: .92rem; }

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.foot-legal a {
  color: #ffd84a;
  font-weight: 600;
  text-decoration: none;
}

.foot-legal a:hover { text-decoration: underline; }

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: auto;
  max-width: 560px;
  margin-inline: auto;
  background: #fff7ea;
  color: #2c1444;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .38);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner p {
  margin: 0;
  flex: 1 1 200px;
  font-size: .92rem;
  line-height: 1.35;
}

.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }

:focus-visible {
  outline: 3px solid #ffd84a;
  outline-offset: 3px;
}

::selection { background: #ffd84a; color: #2a1248; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .sheet a:hover,
  .ledger h3 a:hover { text-decoration: underline; }
}

@media (min-width: 640px) {
  .inks { grid-template-columns: 1fr 1fr; }
  .ledger li {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .spec div { grid-template-columns: 160px minmax(0, 1fr); gap: 12px; align-items: baseline; }
}

body.has-cookie { padding-bottom: 120px; }

@media (max-width: 859px) {
  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 8px;
    padding-bottom: 8px;
  }
}

@media (min-width: 860px) {
  .bar { flex-wrap: nowrap; }
  .site-nav {
    flex: 0 1 auto;
    justify-content: flex-end;
    padding: 0;
  }

  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
  .hero .stage { position: sticky; top: 88px; align-self: start; }
  .pair { grid-template-columns: 1fr 1fr; align-items: start; }
  .pair article:last-child { margin-top: 36px; }
  .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
  .split.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split.flip .stage { order: -1; }
  .inks { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr 1fr; align-items: start; }
  .gallery figure:last-child { margin-top: 48px; }
  .closing { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; }
}

@media (max-width: 380px) {
  .brand small { display: none; }
  .wrap { width: min(1100px, calc(100% - 24px)); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .85; }
  100% { transform: translateY(-108vh); opacity: 0; }
}

@keyframes twinkle {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@keyframes drift {
  0%, 100% { transform: translateX(-6%); }
  50% { transform: translateX(6%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes sweep {
  0%, 100% { transform: translateX(-50%) rotate(-16deg); }
  50% { transform: translateX(-50%) rotate(16deg); }
}

@keyframes simmer {
  0%, 100% { transform: scaleX(1); opacity: .75; }
  50% { transform: scaleX(1.08); opacity: 1; }
}
