@font-face {
  font-family: Soft;
  src: url('/assets/display.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #352044;
  --cream: #fff8ec;
  --lilac: #c9b7f0;
  --lilac-soft: #eee5f7;
  --apricot: #ff966f;
  --peach: #ffdbcb;
  --plum: #9455ac;
  --raspberry: #e64c79;
  --line: #35204426;
  --display: Soft, 'Bookman Old Style', Georgia, serif;
  --header-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }
ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; top: -80px; left: 8px; z-index: 100; background: #fff; padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }

.announcement { background: var(--ink); color: var(--cream); text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 10px 16px; }
.announcement span { color: var(--apricot); padding: 0 14px; }

/* Header stays reachable so the box is always one tap away. */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); padding: 0 5%; background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand img { width: 172px; }
.site-header nav { display: flex; gap: 32px; font-size: 15px; font-weight: 700; }
.site-header nav a { border-bottom: 2px solid transparent; padding: 6px 0; }
.site-header nav a:hover { border-bottom-color: currentColor; }
.bag { display: flex; align-items: center; gap: 10px; background: none; font-size: 15px; font-weight: 700; padding: 10px 4px; }
.bag-count { background: var(--lilac); border-radius: 50%; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: 13px; transition: transform .2s; }
.bag-count.bump { transform: scale(1.25); }
.bag svg, .mobile-menu svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mobile-menu { display: none; background: none; padding: 10px; }

.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }

.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--ink); color: var(--cream); border: 1.5px solid var(--ink); border-radius: 40px; padding: 17px 26px; font-size: 15px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); background: #563569; }
.button span { font-size: 20px; line-height: 1; }
.button.light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.button.light:hover { background: var(--lilac); }
.button[disabled] { opacity: .6; transform: none; cursor: progress; }
.text-link { font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--lilac); padding-bottom: 2px; }
.text-link:hover { border-color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.hero-copy { padding: 64px 6vw 56px 5vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
h1 { font-size: clamp(54px, 6.4vw, 104px); line-height: 1.04; margin: 22px 0; letter-spacing: -.035em; }
h1 span { color: var(--plum); }
.intro { font-size: 18px; line-height: 1.65; max-width: 400px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.hero-photo { position: relative; overflow: hidden; background: var(--lilac); }
.hero-photo picture, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.hero-sticker { position: absolute; right: 26px; top: 26px; width: 132px; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--cream); border: 1px solid var(--ink); border-radius: 50%; transform: rotate(12deg); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.hero-sticker strong { font-family: var(--display); font-size: 23px; letter-spacing: -.04em; text-transform: none; margin-top: 2px; }

.ribbon { background: var(--apricot); padding: 18px 0; display: flex; align-items: center; justify-content: space-around; gap: 24px; white-space: nowrap; overflow: hidden; font-size: 20px; }
.ribbon span { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 88px 5vw; }
h2 { font-size: clamp(34px, 3.8vw, 60px); line-height: 1.08; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-head h2 { margin-top: 14px; }
.section-head > p { font-size: 16px; line-height: 1.7; max-width: 340px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-photo { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--lilac-soft); transition: transform .25s; }
.product-photo:hover { transform: translateY(-4px); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-label { position: absolute; left: 14px; top: 14px; border-radius: 20px; background: #fff8ecdd; font-size: 12px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; padding: 8px 12px; }
.circle-arrow { position: absolute; right: 14px; bottom: 14px; background: var(--cream); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }
.product-info { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; gap: 12px; }
h3 { font-size: 26px; letter-spacing: -.025em; }
.product-info p { font-size: 15px; margin-top: 6px; }
.add { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 24px; background: none; font-size: 15px; font-weight: 700; flex-shrink: 0; transition: background .2s; }
.add span { font-size: 20px; line-height: 1; }
.add:hover { background: var(--lilac); }

/* Moments */
.moments { background: var(--lilac-soft); text-align: center; }
.moments h2 { margin-top: 14px; }
.moment-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.moment-grid article { padding: 0 36px; border-right: 1px solid var(--line); }
.moment-grid article:last-child { border: 0; }
.moment-icon { width: 54px; height: 54px; margin: 0 auto 18px; fill: none; stroke: var(--plum); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.moment-grid h3 { font-size: 34px; margin-bottom: 10px; }
.moment-grid p { font-size: 16px; line-height: 1.7; max-width: 290px; margin: auto; }

/* Gifting */
.gift { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--peach); }
.gift-visual { background: #c6b4e8; display: flex; align-items: center; }
.gift-visual picture, .gift-visual img { width: 100%; }
.gift-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 64px 6vw; }
.gift h2 { margin: 18px 0; }
.gift-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; max-width: 400px; }
.gift .button { margin-top: 28px; }
.gift-doodle { font-family: var(--display); align-self: flex-end; transform: rotate(-10deg); font-size: 26px; margin-top: 24px; color: #a24770; }

/* How it works */
.how { text-align: center; }
.how h2 { margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 52px 0 44px; text-align: left; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--apricot); font-family: var(--display); font-size: 20px; margin-bottom: 18px; }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { font-size: 16px; line-height: 1.65; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; background: var(--lilac-soft); }
.faq h2 { margin-top: 14px; }
.questions details { border-bottom: 1px solid #35204433; }
.questions details:first-child { border-top: 1px solid #35204433; }
.questions summary { padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary span { font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s; }
.questions details[open] summary span { transform: rotate(45deg); }
.questions p { font-size: 16px; line-height: 1.75; padding-bottom: 22px; max-width: 600px; }
.questions a { text-decoration: underline; }

.closing { background: var(--ink); color: var(--cream); text-align: center; padding: 72px 20px 80px; }
.closing > span { display: block; font-size: 44px; color: var(--apricot); margin-bottom: 16px; }
.closing > p { font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.closing h2 { font-size: clamp(40px, 5vw, 76px); margin: 16px 0 28px; }

footer { padding: 56px 5vw 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 44px; }
.footer-brand { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.footer-brand span { font-family: Arial, sans-serif; font-size: 12px; display: block; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; }
.footer-top > div { font-size: 15px; line-height: 1.7; display: flex; flex-direction: column; gap: 10px; }
.footer-top > div a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-top: 20px; font-size: 13px; gap: 16px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); padding: 15px 24px; border-radius: 40px; box-shadow: 0 5px 25px #35204433; opacity: 0; pointer-events: none; transition: .2s; z-index: 40; font-size: 15px; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Dialogs */
dialog { padding: 0; border: 0; border-radius: 16px; background: var(--cream); color: var(--ink); max-width: 800px; width: 92vw; max-height: 92vh; box-shadow: 0 20px 100px #0004; }
dialog::backdrop { background: #35204488; backdrop-filter: blur(4px); }
#detail-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.close { position: absolute; right: 14px; top: 14px; background: var(--cream); width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; z-index: 2; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.dialog-copy { padding: 56px 32px 36px; }
.dialog-copy h2 { font-size: 38px; margin: 14px 0; }
.dialog-copy > p { font-size: 16px; line-height: 1.75; }
.detail-pairs { margin-top: 14px; font-weight: 700; }
.dialog-copy .button { margin-top: 26px; }

#cart-dialog { max-width: 560px; }
.cart-content { padding: 52px 36px 32px; }
.cart-content h2 { margin-top: 12px; font-size: 40px; }
#cart-items { margin-top: 18px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.qty { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.qty button { border: 1px solid #35204466; border-radius: 50%; width: 36px; height: 36px; background: none; font-size: 18px; }
.qty button:hover { background: var(--lilac); }
.empty { font-size: 16px; line-height: 1.7; margin-top: 6px; }
.quick-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.quick-add button { border: 1px solid #35204455; border-radius: 24px; padding: 10px 16px; background: none; font-size: 14px; font-weight: 700; }
.quick-add button:hover { background: var(--lilac); }
#reserve-form { margin-top: 22px; display: grid; gap: 14px; }
.field span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input { width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid #35204466; border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus { outline: 3px solid var(--lilac); border-color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.check a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#reserve-form .button { justify-self: start; margin-top: 4px; }
.form-note { font-size: 13px; opacity: .8; }
#reserve-status { font-size: 15px; line-height: 1.6; font-weight: 700; }
#reserve-status.error { color: #a1173f; }
.reserved { margin-top: 18px; }
.reserved h3 { font-size: 28px; margin-bottom: 10px; }
.reserved .button { margin-top: 22px; }
.reserved p { font-size: 16px; line-height: 1.7; }

@media (min-width: 1600px) {
  body { max-width: 1800px; margin: auto; }
  .hero { min-height: 720px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 80px; }
  .site-header { gap: 18px; padding: 0 4%; }
  .site-header nav { gap: 20px; font-size: 14px; }
  .brand img { width: 150px; }
  .hero-copy { padding: 48px 5vw; }
  .hero { min-height: 560px; }
  .section { padding: 68px 5vw; }
  .gift-copy { padding: 52px 5vw; }
  .moment-grid article { padding: 0 20px; }
  .steps { gap: 18px; }
  .steps li { padding: 24px 20px; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .announcement { font-size: 12px; letter-spacing: .02em; padding: 9px 12px; }
  .announcement span { padding: 0 6px; }
  .brand img { width: 122px; }
  .site-header nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--cream); padding: 8px 6% 18px; flex-direction: column; gap: 0; border-bottom: 1px solid #35204433; font-size: 18px; }
  .site-header nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header nav.open { display: flex; }
  .bag { margin-left: auto; }
  .bag-label { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px 6vw 36px; }
  h1 { font-size: clamp(52px, 14vw, 84px); margin: 18px 0; }
  .intro { font-size: 17px; }
  .hero-actions { gap: 22px; margin-top: 26px; }
  .hero-photo { min-height: 400px; }
  .hero-photo img { object-position: center 52%; }
  .hero-sticker { width: 112px; height: 112px; right: 16px; top: 16px; }
  .hero-sticker strong { font-size: 20px; }
  .ribbon { padding: 14px 0; justify-content: flex-start; }
  .ribbon span { font-size: 12px; }
  .section { padding: 56px 6vw; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head > p { margin-top: 16px; }
  .products { grid-template-columns: 1fr; gap: 36px; }
  .product-info h3 { font-size: 28px; }
  .moment-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; text-align: left; }
  .moment-grid article { display: flex; align-items: center; gap: 22px; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .moment-icon { margin: 0; flex-shrink: 0; }
  .moment-grid h3 { font-size: 30px; margin-bottom: 6px; }
  .moment-grid p { max-width: none; margin: 0; }
  .gift { grid-template-columns: 1fr; }
  .gift-copy { padding: 44px 6vw; }
  .steps { grid-template-columns: 1fr; margin: 32px 0; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .closing { padding: 56px 20px 64px; }
  .footer-top { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-wrap: wrap; }
  #detail-dialog[open] { display: block; }
  .detail-image img { height: 260px; }
  .dialog-copy { padding: 26px 24px 30px; }
  .dialog-copy h2 { font-size: 32px; }
  .cart-content { padding: 52px 22px 26px; }
  .cart-content h2 { font-size: 34px; }
}

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

/* Privacy page */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin: 14px 0 8px; }
.legal .updated { font-size: 14px; opacity: .75; margin-bottom: 36px; }
.legal h2 { font-size: 28px; margin: 34px 0 10px; }
.legal p { font-size: 17px; line-height: 1.75; }
.legal a { text-decoration: underline; }
