[hidden] { display: none !important; }
/* Your Star Above. Palette is the sky shortly after sunset: blue-hour ink, starlight, dusk rose. */
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --ink: #0f1630;
  --dusk: #27325c;
  --dusk-2: #3a4678;
  --starlight: #eef0f8;
  --mist: #e3e6ef;
  --rose: #e8a49c;
  --rose-deep: #b8665e;
  --haze: #9aa3c2;
  --text: #1d2340;
  --text-soft: #4b5274;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
  --radius-sm: 6px;
  --radius-lg: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--starlight); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.08; font-weight: 500; }
h1, h2 { font-family: var(--display); font-optical-sizing: auto; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font: 600 1.2rem/1.3 var(--body); }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 44rem); margin: 0 auto; padding: 2.5rem 0 4rem; }
.small { font-size: 0.875rem; color: var(--text-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem max(1rem, calc((100% - var(--wrap)) / 2)); background: rgba(15, 22, 48, 0.86); color: var(--starlight);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wordmark { font: 600 1.35rem/1 var(--display); text-decoration: none; letter-spacing: 0.005em; }
.bar nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.95rem; }
.bar nav a { text-decoration: none; opacity: 0.85; }
.bar nav a:hover { opacity: 1; text-decoration: underline; }
.basket-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 1px solid rgba(238, 240, 248, 0.35);
  color: inherit; border-radius: 999px; padding: 0.4rem 0.9rem; font: 500 0.95rem var(--body); cursor: pointer; }
.basket-btn:hover { border-color: var(--rose); }
.basket-count { min-width: 1.4rem; height: 1.4rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--rose); color: var(--ink); font-size: 0.8rem; font-weight: 600; }
.basket-count[data-n="0"] { background: transparent; color: var(--haze); }
@media (max-width: 640px) { .bar nav .hide-sm { display: none; } }

/* ---------- buttons & forms ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px;
  background: var(--rose); color: var(--ink); font: 600 1rem/1 var(--body); text-decoration: none; border: 0; cursor: pointer; }
.button:hover { background: #f0b6af; }
.button[disabled] { opacity: 0.55; cursor: progress; }
.button.quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.button.quiet:hover { background: rgba(232, 164, 156, 0.12); }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.hint { display: block; font-weight: 400; font-size: 0.85rem; color: var(--text-soft); margin-top: 0.15rem; }
input[type=text], input[type=email], input[type=date], input[type=datetime-local], input[type=number], input[type=search], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--text); background: #fff; border: 1px solid #c9cddc; border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem; }
textarea { min-height: 5.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--dusk-2); outline-offset: 0; border-color: transparent; }
.field { margin-bottom: 1.25rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { margin-top: 0.3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--dusk); }
.check strong { font-weight: 600; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-row label { font-weight: 500; margin: 0; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: inline-block; padding: 0.5rem 0.95rem; border: 1px solid #c9cddc; border-radius: 999px; cursor: pointer; background: #fff; }
.choice-row input:checked + span { background: var(--ink); color: var(--starlight); border-color: var(--ink); }
.choice-row input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.error { color: var(--rose-deep); font-weight: 500; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 52rem); background: radial-gradient(120% 90% at 70% 110%, #2a3566 0%, var(--ink) 60%);
  color: var(--starlight); overflow: hidden; display: flex; align-items: flex-end; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 2; padding: 6rem 0 4.5rem; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); max-width: 12ch; margin-bottom: 0.3em; }
.hero h1 .name-line { display: block; }
.hero input.name-input { font: inherit; color: var(--rose); background: transparent; border: 0; border-radius: 0; border-bottom: 2px solid rgba(232, 164, 156, 0.6);
  padding: 0 0.05em; width: 7.5ch; max-width: 100%; letter-spacing: inherit; line-height: 1.05; }
.hero input.name-input::placeholder { color: rgba(232, 164, 156, 0.55); }
.hero input.name-input:focus { outline: none; border-bottom-color: var(--rose); }
.hero p.lede { font-size: 1.15rem; color: #c9cee3; max-width: 34rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero .caption { margin-top: 2.2rem; font-size: 0.8rem; color: var(--haze); max-width: 30rem; }


/* ---------- gifts list ---------- */
.gifts { padding: 5.5rem 0 3rem; }
.gifts-intro { max-width: 40rem; margin-bottom: 3.5rem; }
.gifts-intro p { color: var(--text-soft); font-size: 1.1rem; }
.gift { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; padding: 2.75rem 0; }
.gift:nth-child(even) .gift-media { order: 2; }
.gift-media { position: relative; background: var(--mist); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 3rem); display: grid; place-items: center; aspect-ratio: 5 / 4; }
.gift-media img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 18px 30px -18px rgba(15, 22, 48, 0.55); border-radius: 2px; }
.gift-media.dark { background: var(--ink); }
.gift-media.dark img, .gift-media.flat img { box-shadow: none; }
.gift h3 { font: 500 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--display); margin-bottom: 0.35rem; }
.gift .price { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.8rem; color: var(--dusk); }
.gift p { color: var(--text-soft); }
.gift ul { padding-left: 1.1rem; margin: 0 0 1.4rem; color: var(--text-soft); }
.gift ul li { margin-bottom: 0.2rem; }
.gift .button.quiet { color: var(--ink); }
@media (max-width: 760px) { .gift { grid-template-columns: 1fr; padding: 2rem 0; } .gift:nth-child(even) .gift-media { order: 0; } }

/* ---------- steps ---------- */
.steps { background: var(--mist); padding: 4.5rem 0; }
.steps ol { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: 500 3rem/1 var(--display); color: var(--dusk-2); margin-bottom: 0.6rem; }
.steps p { color: var(--text-soft); }
@media (max-width: 760px) { .steps ol { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- honesty band ---------- */
.honest { background: var(--ink); color: var(--starlight); padding: 5rem 0; }
.honest .cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3rem; }
.honest dl { margin: 0; }
.honest dt { font: 600 1.1rem/1.3 var(--body); margin-top: 1.4rem; }
.honest dt:first-child { margin-top: 0; }
.honest dd { margin: 0.35rem 0 0; color: #c3c8de; max-width: 60ch; }
.honest a { color: var(--rose); }
@media (max-width: 760px) { .honest .cols { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- footer ---------- */
.foot { background: #0a0f22; color: var(--haze); padding: 3rem 0 2.5rem; font-size: 0.9rem; }
.foot .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.foot a { color: var(--starlight); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.foot .wordmark { color: var(--starlight); display: inline-block; margin-bottom: 0.6rem; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4rem); padding: 2.5rem 0 5rem; }
.product-media { position: sticky; top: 5rem; align-self: start; }
.product-media .gift-media { aspect-ratio: auto; min-height: 26rem; }
.crumbs { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1rem; }
.product h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); }
.product .price { font-size: 1.35rem; font-weight: 600; color: var(--dusk); margin-bottom: 1rem; }
.product .includes { padding-left: 1.1rem; color: var(--text-soft); margin-bottom: 2rem; }
.product form { border-top: 1px solid #d3d6e2; padding-top: 1.75rem; }
.total-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #d3d6e2; }
.total-row strong { font-size: 1.35rem; }
.place-results { list-style: none; margin: 0.25rem 0 0; padding: 0; border: 1px solid #c9cddc; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.place-results:empty { display: none; }
.place-results button { display: block; width: 100%; text-align: left; padding: 0.6rem 0.8rem; background: none; border: 0; font: inherit; cursor: pointer; }
.place-results button:hover, .place-results button:focus { background: var(--mist); }
.place-chosen { margin-top: 0.4rem; font-size: 0.9rem; color: var(--dusk); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-media { position: static; } }

/* ---------- basket drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(10, 15, 34, 0.55); }
.drawer .panel { position: absolute; top: 0; right: 0; height: 100%; width: min(100%, 27rem); background: var(--starlight); display: flex; flex-direction: column;
  box-shadow: -20px 0 40px -20px rgba(0, 0, 0, 0.4); animation: slide 0.22s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid #d3d6e2; }
.drawer header h2 { font-size: 1.7rem; margin: 0; }
.icon-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--text); padding: 0.25rem 0.5rem; }
.drawer .lines { flex: 1; overflow-y: auto; padding: 0.5rem 1.4rem; }
.line { display: grid; grid-template-columns: 4rem 1fr auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid #e0e2ea; }
.line img { width: 4rem; height: 4rem; object-fit: contain; background: var(--mist); border-radius: var(--radius-sm); padding: 0.25rem; }
.line .t { font-weight: 600; }
.line .d { font-size: 0.85rem; color: var(--text-soft); }
.line .remove { background: none; border: 0; padding: 0; color: var(--rose-deep); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.85rem; }
.drawer footer { padding: 1.2rem 1.4rem 1.5rem; border-top: 1px solid #d3d6e2; background: #fff; }
.drawer .sum { display: flex; justify-content: space-between; margin: 0.2rem 0; }
.drawer .sum.total { font-weight: 600; font-size: 1.2rem; margin-top: 0.6rem; }
.drawer .empty { padding: 2rem 0; color: var(--text-soft); }

/* ---------- assistant ---------- */
.assist-launch { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--ink); color: var(--starlight); border: 1px solid rgba(238, 240, 248, 0.2); border-radius: 999px; padding: 0.7rem 1.1rem;
  font: 500 0.95rem var(--body); cursor: pointer; box-shadow: 0 10px 25px -12px rgba(15, 22, 48, 0.7); }
.assist-launch svg { width: 1.1rem; height: 1.1rem; }
.assist { position: fixed; right: 1rem; bottom: 1rem; z-index: 45; width: min(calc(100% - 2rem), 23rem); height: min(34rem, calc(100% - 6rem));
  background: #fff; border-radius: var(--radius-lg); box-shadow: 0 25px 60px -20px rgba(15, 22, 48, 0.6); display: none; flex-direction: column; overflow: hidden; }
.assist.open { display: flex; }
.assist header { background: var(--ink); color: var(--starlight); padding: 0.9rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.assist header strong { font: 600 1.1rem var(--display); }
.assist header .icon-btn { color: var(--starlight); }
.assist .msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--starlight); }
.msg { max-width: 85%; padding: 0.6rem 0.85rem; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { background: #fff; border: 1px solid #dfe2ec; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--dusk); color: var(--starlight); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { color: var(--text-soft); font-style: italic; }
.assist form { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid #e0e2ea; }
.assist form input { flex: 1; }
.assist form button { padding: 0.6rem 1rem; }
.assist .note { font-size: 0.75rem; color: var(--text-soft); padding: 0 0.9rem 0.6rem; }

/* ---------- consent ---------- */
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; width: min(calc(100% - 2rem), 26rem); background: #fff; color: var(--text);
  border-radius: var(--radius-lg); box-shadow: 0 20px 50px -20px rgba(15, 22, 48, 0.55); padding: 1.1rem 1.2rem; font-size: 0.92rem; }
.consent p { margin: 0 0 0.8rem; }
.consent .row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.consent .button { padding: 0.6rem 1rem; font-size: 0.9rem; }

/* ---------- content pages ---------- */
.page-head { background: var(--ink); color: var(--starlight); padding: 3.5rem 0 3rem; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.faq-list details { border-bottom: 1px solid #d3d6e2; padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style-position: outside; }
.faq-list details p { margin: 0.6rem 0 0; color: var(--text-soft); }

/* ---------- star page ---------- */
.star-page { background: var(--ink); color: var(--starlight); }
.star-page .narrow h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); color: var(--rose); }
.star-page .kicker { color: var(--haze); margin-bottom: 0.3rem; }
.star-page .lead { font-size: 1.2rem; }
.star-page blockquote { margin: 1.5rem 0; font: italic 500 1.4rem/1.4 var(--display); color: #dfe3f2; }
.star-page .chart { margin: 2rem 0; border-radius: var(--radius-sm); }
.star-page dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.star-page dt { color: var(--haze); font-size: 0.85rem; }
.star-page dd { margin: 0; font-weight: 600; }
.star-page .small { color: var(--haze); }

/* ---------- order page ---------- */
.order-status { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.order-status ul { padding-left: 1.1rem; }

.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; }
.wordmark .mark { height: 1.45em; width: auto; flex: none; }
.brand .mark { height: 1.4em; width: auto; vertical-align: -0.35em; margin-right: 0.5rem; color: var(--starlight); }

/* ---------- ranges: name a star / the night we met / special events ---------- */
.range { padding: 5rem 0 1.5rem; }
.range.alt { background: var(--mist, #e3e6ef); padding-bottom: 4rem; margin-top: 3rem; }
.range-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.2rem; }
.range-head h2 { margin: 0; }
.range-head h2 a { color: inherit; text-decoration: none; }
.range-head h2 a::after { content: " \2192"; font-size: .6em; color: var(--rose-deep, #b8665e); }
.range-head p { margin: 0; color: var(--text-soft); font-size: 1.05rem; }
.shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; }
.shelf.two { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.range.alt .tile-link .gift-media:not(.dark) { background: #f7f8fb; }
.shelf.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile-link .gift-media { aspect-ratio: 4 / 5; padding: 1rem; display: grid; place-items: center; overflow: hidden; margin-bottom: .8rem; }
.tile-link .gift-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.tile-link:hover .gift-media img { transform: scale(1.03); }
.tile-name { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.15rem; line-height: 1.2; }
.tile-link:hover .tile-name { text-decoration: underline; text-underline-offset: 3px; }
.tile-price { color: var(--text-soft); font-size: .9rem; margin-top: .2rem; }
.page-head .crumbs a { color: var(--haze); }
@media (max-width: 960px) {
  .shelf, .shelf.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-head { grid-template-columns: 1fr; }
}
