/* ==========================================================================
   Cookie Creations by Tiffany — boutique stylesheet
   Palette drawn from the logo: Tiffany blue, little-black-dress ink, pearl.
   ========================================================================== */

:root {
  --tiffany: #81d8d0;
  --tiffany-soft: #c9eeea;
  --tiffany-mist: #e9f8f6;
  --tiffany-deep: #0b7d78;   /* AA-contrast teal for text on light */
  --ink: #141414;
  --ink-soft: #2b2b2b;
  --pearl: #fbf8f3;
  --pearl-2: #f3eee6;
  --line: rgba(20, 20, 20, .12);
  --muted: #6b6b6b;
  --white: #fff;
  --danger: #b4233c;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", cursive;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 40px -12px rgba(15, 60, 58, .25);
  --shadow-lg: 0 30px 80px -20px rgba(15, 60, 58, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tiffany-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; }
.script { font-family: var(--script); font-weight: 400; }
.muted { color: var(--muted); font-weight: 400; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow--deep { color: var(--tiffany-deep); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); }
.btn--ghost-ink { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost-ink:hover { --bd: var(--ink); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%;
}
.icon-btn:hover { background: rgba(0,0,0,.05); }
.icon-btn svg, .bag-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.link-arrow {
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: " →"; transition: margin .25s var(--ease); }
.link-arrow:hover::after { margin-left: 6px; }

/* ---------- Sparkle (echoes the logo's bokeh) ---------- */
.sparkle {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(255,255,255,.95) 0 3px, transparent 4px),
    radial-gradient(circle at 18% 32%, rgba(255,255,255,.6) 0 7px, transparent 8px),
    radial-gradient(circle at 27% 8%, rgba(255,255,255,.8) 0 4px, transparent 5px),
    radial-gradient(circle at 36% 22%, rgba(255,255,255,.35) 0 14px, transparent 15px),
    radial-gradient(circle at 44% 6%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 53% 18%, rgba(255,255,255,.5) 0 6px, transparent 7px),
    radial-gradient(circle at 62% 4%, rgba(255,255,255,.3) 0 18px, transparent 19px),
    radial-gradient(circle at 71% 26%, rgba(255,255,255,.85) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 12%, rgba(255,255,255,.45) 0 9px, transparent 10px),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 96% 8%, rgba(255,255,255,.4) 0 12px, transparent 13px),
    radial-gradient(circle at 5% 46%, rgba(255,255,255,.3) 0 10px, transparent 11px),
    radial-gradient(circle at 14% 60%, rgba(255,255,255,.7) 0 2px, transparent 3px),
    radial-gradient(circle at 48% 40%, rgba(255,255,255,.25) 0 22px, transparent 23px),
    radial-gradient(circle at 86% 52%, rgba(255,255,255,.6) 0 4px, transparent 5px),
    radial-gradient(circle at 93% 70%, rgba(255,255,255,.3) 0 8px, transparent 9px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,.5) 0 3px, transparent 4px),
    radial-gradient(circle at 66% 88%, rgba(255,255,255,.35) 0 6px, transparent 7px),
    radial-gradient(ellipse at 50% -10%, rgba(255,255,255,.55), transparent 55%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
.sparkle--soft { opacity: .55; }
@keyframes twinkle { from { opacity: .75; transform: translateY(0); } to { opacity: 1; transform: translateY(-6px); } }

/* ---------- Ambient light (WebGL, js/ambient.js) ---------- */
[data-ambient] { position: relative; isolation: isolate; }
.ambient { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; display: block; }
/* Light sections are width-capped; let the light bleed edge to edge and fade at the seams */
.ambient--bleed {
  left: calc(50% - 50vw); right: auto; width: 100vw;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
}
.is-ambient > .sparkle { display: none; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink); color: var(--pearl);
  text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.announce em { font-family: var(--serif); font-size: 15px; letter-spacing: .02em; text-transform: none; color: var(--tiffany); }
.announce__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tiffany); box-shadow: 0 0 0 4px rgba(129,216,208,.25); flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 243, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px -20px rgba(0,0,0,.3); }
.header__inner {
  max-width: var(--max); margin: 0 auto; height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.header__menu { display: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 52px; height: 52px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .01em; }
.brand__by { font-family: var(--script); font-size: 20px; color: var(--tiffany-deep); margin-top: -2px; padding-left: 2px; }

.nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.bag-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 8px 0 16px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.bag-btn:hover { background: var(--ink); color: var(--white); }
.bag-btn__count {
  min-width: 28px; height: 28px; border-radius: 999px; padding: 0 8px;
  display: inline-grid; place-items: center;
  background: var(--tiffany); color: var(--ink); font-size: 12px; letter-spacing: 0;
}
.bag-btn.bump .bag-btn__count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.mobile-nav {
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line);
}
.mobile-nav a {
  font-family: var(--serif); font-size: 28px; text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #8adcd4 0%, var(--tiffany) 45%, #a6e3dd 100%);
}
.hero__inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero__title {
  font-size: clamp(50px, 7.4vw, 104px);
  font-weight: 500; line-height: .95; letter-spacing: -.02em;
}
.hero__title em { font-weight: 400; }
.hero__lede { font-size: clamp(16px, 1.4vw, 18px); max-width: 33em; margin: 26px 0 34px; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__notes {
  list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 13px; letter-spacing: .06em;
}
.hero__notes span { font-family: var(--serif); font-style: italic; font-size: 20px; margin-right: 4px; }

.hero__art { position: relative; justify-self: center; width: min(100%, 460px); }
.arch {
  aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-lg) var(--r-lg);
  overflow: hidden; background: var(--pearl);
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255,255,255,.8); outline-offset: 10px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translateY(-2%); } }
.hero__seal {
  position: absolute; left: -14%; bottom: 8%; width: 38%; height: auto;
  background: var(--tiffany); border-radius: 50%; padding: 5%;
  box-shadow: 0 0 0 6px rgba(255,255,255,.55), 0 14px 30px -10px rgba(0,0,0,.35);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__tag {
  position: absolute; right: -6%; top: 14%;
  background: var(--ink); color: var(--white);
  padding: 14px 20px 14px 18px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: var(--shadow);
}
.hero__tag .script { font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--tiffany); line-height: .6; }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--ink); color: var(--pearl); overflow: hidden; padding: 18px 0; border-block: 1px solid #000; }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap; }
.ribbon i { font-style: normal; color: var(--tiffany); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--gutter); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__title { font-size: clamp(40px, 5.4vw, 68px); }
.section__title em { color: var(--tiffany-deep); font-weight: 400; }
.section__lede { color: var(--muted); margin: 16px 0 0; }

/* ---------- Filter chips ---------- */
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip {
  border: 1px solid var(--line); background: var(--white);
  border-radius: 999px; padding: 10px 20px; min-height: 42px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Product grid ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product.is-hidden { display: none; }
.product__media {
  position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--pearl-2);
  border: 0; padding: 0; display: block; width: 100%;
}
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.product__media .alt { opacity: 0; }
.product:hover .product__media img { transform: scale(1.05); }
.product.has-alt:hover .product__media .alt,
.product.has-alt.show-alt .product__media .alt { opacity: 1; }
.product__peek {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.product__badge {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  background: var(--ink); color: var(--white);
  font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.product__badge--blue { background: var(--tiffany); color: var(--ink); }
.product__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product__name { font-size: 28px; }
.price { font-family: var(--serif); font-size: 24px; font-weight: 500; white-space: nowrap; }
.product__desc { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.product__buy { display: flex; gap: 10px; align-items: center; margin-top: 8px; }

.qty {
  display: inline-flex; align-items: center; height: 42px;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none;
}
.qty button { width: 38px; height: 100%; border: 0; background: transparent; font-size: 18px; line-height: 1; }
.qty button:hover { background: var(--pearl-2); }
.qty output { min-width: 26px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.product__buy .btn { flex: 1; }

/* ---------- Gift boxes ---------- */
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 48px); }
.giftbox {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center;
  background: var(--tiffany-mist); border-radius: var(--r-lg); padding: 28px;
}
.giftbox h3 { font-size: 32px; margin-bottom: 8px; }
.giftbox p:not(.eyebrow) { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 18px; }
.giftbox .eyebrow { margin-bottom: 8px; }
.giftbox__buy { display: flex; align-items: center; gap: 18px; }
.giftbox__art {
  position: relative; aspect-ratio: 1; border-radius: 16px;
  background: var(--tiffany);
  box-shadow: inset 0 -14px 0 rgba(0,0,0,.06), 0 18px 30px -16px rgba(0,0,0,.4);
}
.giftbox__art--ink { background: var(--ink); }
.giftbox__art::before, .giftbox__art::after { content: ""; position: absolute; background: var(--white); }
.giftbox__art::before { left: 50%; top: 0; bottom: 0; width: 14px; transform: translateX(-50%); }
.giftbox__art::after { top: 50%; left: 0; right: 0; height: 14px; transform: translateY(-50%); }
.giftbox__art--ink::before, .giftbox__art--ink::after { background: var(--tiffany); }
.giftbox__bow { position: absolute; left: 50%; top: 50%; width: 70px; height: 34px; transform: translate(-50%, -50%); z-index: 1; }
.giftbox__bow::before, .giftbox__bow::after {
  content: ""; position: absolute; top: 0; width: 34px; height: 34px;
  border: 7px solid var(--white); border-radius: 50% 50% 50% 0;
}
.giftbox__art--ink .giftbox__bow::before, .giftbox__art--ink .giftbox__bow::after { border-color: var(--tiffany); }
.giftbox__bow::before { left: 0; transform: rotate(-45deg); }
.giftbox__bow::after { right: 0; transform: rotate(135deg) scaleY(-1); }

/* ---------- Inside feature ---------- */
.inside {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 640px;
  background: var(--white);
}
.inside__media { position: relative; overflow: hidden; }
.inside__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inside__copy { padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); align-self: center; max-width: 620px; }
.inside__copy p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: "✦"; color: var(--tiffany-deep); font-size: 12px; }

/* ---------- Custom order ---------- */
.custom { max-width: none; background: var(--tiffany); overflow: hidden; }
.custom__grid {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start;
}
.custom__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.custom__intro > p { color: var(--ink-soft); font-size: 17px; }
.custom .section__title em { color: var(--ink); }
.steps { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid rgba(0,0,0,.14); }
.steps__n { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; }
.steps strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.steps p { margin: 2px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.custom__note { font-size: 14px; background: rgba(255,255,255,.45); padding: 12px 18px; border-radius: 12px; display: inline-block; }

.card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ---------- Forms ---------- */
.form { padding: clamp(24px, 4vw, 44px); }
.form__title { font-size: 34px; margin-bottom: 24px; }
.form__fine { text-align: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field__label { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 0; }
.field input:not([type=radio]):not([type=checkbox]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--pearl);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--tiffany-deep); background: var(--white);
  box-shadow: 0 0 0 4px rgba(129, 216, 208, .35);
}
.field__err { display: none; font-size: 13px; color: var(--danger); }
.field.is-invalid input:not([type=radio]):not([type=checkbox]), .field.is-invalid select { border-color: var(--danger); background: #fdf3f4; }
.field.is-invalid .field__err { display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer;
  transition: all .2s var(--ease); background: var(--pearl);
}
.pill span:hover { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--tiffany-deep); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 4px 0 24px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin-top: 2px; }

.drop {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 84px; padding: 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed rgba(11, 125, 120, .5); border-radius: 14px; background: var(--tiffany-mist);
  font-size: 14px; color: var(--ink-soft); transition: background .2s, border-color .2s;
}
.drop:hover, .drop.is-over { background: var(--tiffany-soft); border-color: var(--tiffany-deep); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 24px; height: 24px; fill: none; stroke: var(--tiffany-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:not(:empty) { margin-top: 10px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }

.form__success { text-align: center; padding: 48px 8px; }
.form__success img { margin: 0 auto 18px; width: 96px; }
.form__success h3 { font-size: 40px; margin-bottom: 12px; }
.form__success p { color: var(--ink-soft); margin: 0 auto 26px; max-width: 30em; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry button {
  display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none;
  break-inside: avoid; border-radius: var(--r); overflow: hidden; position: relative;
}
.masonry img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; }
.masonry button::after {
  content: "View"; position: absolute; inset: auto 12px 12px auto;
  background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: all .3s var(--ease);
}
.masonry button:hover img { transform: scale(1.04); }
.masonry button:hover::after { opacity: 1; transform: none; }
.gallery__follow { text-align: center; margin: 32px 0 0; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; }
.gallery__follow .link-arrow { color: var(--ink); }

/* ---------- About ---------- */
.about { background: var(--ink); color: var(--pearl); }
.about__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--gutter);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 100px); align-items: center;
}
.about__mark img {
  width: 100%; max-width: 480px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto;
  box-shadow: 0 0 0 10px var(--ink), 0 0 0 11px rgba(129,216,208,.6), 0 40px 90px -20px rgba(129,216,208,.35);
}
.about .section__title em { color: var(--tiffany); }
.about__copy p { color: rgba(251,248,243,.8); max-width: 34em; }
.about__script { font-size: 30px; color: var(--tiffany) !important; margin: 10px 0 20px; }
.signature { font-size: 44px; color: var(--pearl) !important; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 28px; color: var(--tiffany-deep);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-soft); max-width: 44em; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--tiffany); overflow: hidden; }
.footer__inner {
  position: relative; max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 40px;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.footer__brand img { width: 140px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 16px; }
.footer a, .footer p { display: block; margin: 0 0 8px; font-size: 15px; text-decoration: none; word-break: break-word; }
.footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink);
  display: grid; place-items: center; margin: 0; transition: background .2s, color .2s;
}
.socials a:hover { background: var(--ink); color: var(--tiffany); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.socials .fill { fill: currentColor; stroke: none; }
.footer__legal {
  position: relative; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); margin: 0; border-top: 1px solid rgba(0,0,0,.12);
}

/* ---------- Mobile bag bar ---------- */
.bagbar {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px;
  min-height: 60px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--white); box-shadow: 0 18px 40px -12px rgba(0,0,0,.5);
  font-size: 14px; text-align: left;
  animation: rise .4s var(--ease);
}
.bagbar > span:first-child { flex: 1; }
.bagbar__total { font-family: var(--serif); font-size: 22px; }
.bagbar__cta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tiffany); }
@keyframes rise { from { transform: translateY(120%); } }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(10, 30, 29, .45); backdrop-filter: blur(2px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; z-index: 61; top: 0; right: 0; bottom: 0;
  width: min(480px, 100%); background: var(--pearl);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: -30px 0 60px -20px rgba(0,0,0,.3);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px 28px; }
.drawer__head h2 { font-size: 34px; }
.drawer__steps { display: flex; gap: 6px; padding: 6px 28px 18px; border-bottom: 1px solid var(--line); }
.drawer__steps span {
  flex: 1; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  padding-top: 10px; border-top: 2px solid var(--line); transition: all .3s;
}
.drawer__steps span.is-on { color: var(--ink); border-color: var(--tiffany-deep); }
.drawer__panel { flex: 1; overflow-y: auto; padding: 24px 28px; overscroll-behavior: contain; }
.drawer__empty { text-align: center; padding: 48px 0; color: var(--muted); }
.drawer__empty img { width: 120px; margin: 0 auto 12px; opacity: .9; }

.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line__img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--tiffany); }
.line__img--box { display: grid; place-items: center; }
.line__name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.1; }
.line__unit { font-size: 13px; color: var(--muted); }
.line .qty { height: 36px; margin-top: 8px; }
.line .qty button { width: 32px; }
.line__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line__price { font-family: var(--serif); font-size: 20px; }
.line__remove { border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: underline; padding: 4px 0; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg input { position: absolute; opacity: 0; }
.seg span {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 500;
  transition: all .2s;
}
.seg small { font-weight: 400; color: var(--muted); font-size: 13px; }
.seg input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--tiffany-mist); }
.seg input:focus-visible + span { outline: 2px solid var(--tiffany-deep); outline-offset: 2px; }

.summary { background: var(--white); border-radius: var(--r); padding: 18px 20px; margin-bottom: 22px; font-size: 14px; }
.summary h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin: 0 0 10px; color: var(--tiffany-deep); }
.summary ul { list-style: none; padding: 0; margin: 0 0 12px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.summary p { margin: 0; color: var(--ink-soft); }

.pay__wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet { min-height: 50px; border-radius: 12px; border: 1px solid var(--ink); font-weight: 600; font-size: 17px; opacity: .55; cursor: not-allowed; }
.wallet--apple { background: #000; color: #fff; }
.wallet--google { background: #fff; color: #000; }
.pay__or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.pay__or::before, .pay__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay__card { display: grid; gap: 10px; opacity: .6; }
.pay__card .grid-2 { gap: 10px; }
.pay__field {
  min-height: 50px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  color: var(--muted); font-size: 15px; display: flex; justify-content: space-between;
}
.pay__notice {
  display: flex; gap: 12px; margin: 18px 0 0; padding: 14px 16px; border-radius: 14px;
  background: var(--tiffany-mist); font-size: 13.5px; color: var(--ink-soft);
}
.pay__notice svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--tiffany-deep); stroke-width: 1.6; }

.drawer__done { text-align: center; padding-top: 48px; }
.drawer__done img { width: 140px; margin: 0 auto 16px; }
.drawer__done h3 { font-size: 40px; margin-bottom: 14px; }
.drawer__done .btn { margin-top: 24px; }

.drawer__foot { border-top: 1px solid var(--line); padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); background: var(--white); }
.drawer__totals > div { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); padding: 2px 0; }
.drawer__total { font-family: var(--serif); font-size: 24px !important; color: var(--ink) !important; padding-top: 6px !important; }
.drawer__actions { display: flex; gap: 10px; margin-top: 14px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(8, 18, 18, .92);
  display: grid; place-items: center; padding: 24px; animation: fade .3s;
}
.lightbox figure { margin: 0; max-width: min(92vw, 900px); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--r); }
.lightbox figcaption { color: var(--pearl); text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; margin-top: 14px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; color: var(--white); }
.lightbox__close:hover { background: rgba(255,255,255,.1); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; top: calc(var(--header-h) + 50px);
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white); padding: 12px 22px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow); transition: all .35s var(--ease); white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--tiffany); font-weight: 500; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .boxes { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .header__menu { display: inline-grid; margin-left: -10px; }
  .nav { display: none; }
  .brand { justify-self: center; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { font-size: 20px; }
  .brand__by { font-size: 17px; }
  .bag-btn { padding: 0 6px 0 10px; border-color: transparent; }
  .bag-btn__label { display: none; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__ctas, .hero__notes { justify-content: center; }
  .hero__art { width: min(78%, 380px); order: -1; }
  .hero__seal { left: -12%; width: 40%; }
  .hero__tag { right: -10%; }

  .inside { grid-template-columns: 1fr; }
  .inside__media { aspect-ratio: 4 / 3.4; }

  .custom__grid { grid-template-columns: 1fr; }
  .custom__intro { position: static; }

  .about__inner { grid-template-columns: 1fr; text-align: center; }
  .about__mark img { max-width: 320px; }
  .about__copy p { margin-inline: auto; }

  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__cols { width: 100%; }
  .socials { justify-content: center; }

  .bagbar:not([hidden]) { display: flex; }
  body.has-bagbar .footer__legal { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .announce { font-size: 10.5px; letter-spacing: .1em; }
  .announce__more { display: none; }
  .announce em { font-size: 13px; }
  .products { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .giftbox { grid-template-columns: 1fr; padding: 20px; text-align: center; }
  .giftbox__art { width: 140px; margin: 0 auto; }
  .giftbox__buy { justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .drawer__panel .grid-2 { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry button { margin-bottom: 10px; border-radius: 14px; }
  .drawer__head, .drawer__panel, .drawer__foot { padding-left: 20px; padding-right: 20px; }
  .drawer__steps { padding-left: 20px; padding-right: 20px; }
  .toast { white-space: normal; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
