/* Totes of Love site styles. Tokens live in tokens.css; load it first.

   Direction: a studio worktable by a window. Linen, kraft paper, cream tissue.
   Chrome stays quiet; photographs carry the colour.
   Rules (Ethan, 2026-11-06): one type family (Manrope) for all UI text, nothing
   laid over photographs, and as few words as the page can carry. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--olive); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--espresso); color: var(--cream); }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: var(--w-head);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.042em; line-height: 0.98; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.022em; line-height: 1.18; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.012em; line-height: 1.3; }

/* No italic or second typeface for emphasis in headings */
h1 em, h2 em, h3 em { font-style: normal; }

.eyebrow {
  display: block;
  margin: 0 0 var(--s-3);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--olive-ink);
}
.eyebrow--on-dark { color: var(--on-dark-soft); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: var(--measure); }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-sm); }
.kicker { font-weight: 500; font-size: 1.125rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--espresso); margin: 0 0 0.5rem; }
.section-title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(52rem + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.bg-white { background: var(--white); }
.bg-stone { background: var(--stone); }
.bg-linen { background: var(--linen); }
.bg-sage { background: var(--sage); }

.section-head { display: grid; gap: var(--s-3); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 46rem; }
.section-head h2 { margin: 0; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-8); }
}
.section-head .eyebrow { margin-bottom: 0; }

.stack > * + * { margin-top: var(--s-3); }
.stack-sm > * + * { margin-top: var(--s-2); }

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: var(--espresso);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 1px solid var(--btn-bg);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(53, 42, 37, 0.6); background: var(--espresso-deep); border-color: var(--espresso-deep); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--espresso); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--espresso); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--espresso); }
.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--espresso);
  padding-block: 0.35rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow--light { color: var(--on-dark); }
.arrow { display: inline-block; width: 16px; height: 16px; flex: none; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header.is-stuck {
  background: rgba(247, 244, 238, 0.9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 168px; height: auto; }
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); list-style: none; }
.nav a { white-space: nowrap; }
.nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--espresso);
  padding-block: 0.5rem;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.2rem;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px; padding: 0 0.25rem 0 1rem;
  border: 0; background: none; cursor: pointer;
  font-size: 0.9375rem; font-weight: 500;
}
.menu-toggle__icon { position: relative; width: 22px; height: 10px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--cream);
  padding: var(--s-4) var(--gutter) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; border-top: 1px solid var(--line); }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0;
  font-size: 1.5rem; font-weight: 500; letter-spacing: -0.025em;
  text-decoration: none;
}
.mobile-menu a[aria-current="page"] { color: var(--olive-ink); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: var(--s-2); }
.mobile-menu__foot p { color: var(--ink-soft); font-size: var(--fs-sm); text-align: center; }
body.menu-open { overflow: hidden; }

@media (min-width: 1200px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
  .brand img { width: 190px; }
}

/* ---------- Photographs ---------- */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-img);
  background: var(--stone);
  aspect-ratio: var(--ar, 4 / 5);
  margin: 0;
  isolation: isolate;
}
.photo > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1.4s var(--ease);
}
a:hover .photo > img { transform: scale(1.035); }
.ar-45 { --ar: 4 / 5; }
.ar-34 { --ar: 3 / 4; }
.ar-32 { --ar: 3 / 2; }
.ar-23 { --ar: 2 / 3; }
.ar-11 { --ar: 1 / 1; }
.ar-169 { --ar: 16 / 9; }
.ar-54 { --ar: 5 / 4; }
.ar-43 { --ar: 4 / 3; }

figcaption.caption {
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* "Limited release" and similar: plain text with a small clay dot, never on a photo */
.tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

/* ---------- Home hero: words only, centred ---------- */
.hero { padding-block: clamp(3.5rem, 9vw, 8rem) clamp(4rem, 9vw, 8rem); text-align: center; }
.hero__copy { max-width: 56rem; }
.hero h1 { margin: 0 auto var(--s-3); font-weight: 450; }
.hero .lead { margin: 0 auto var(--s-5); max-width: 34rem; text-wrap: balance; }
.hero .actions { flex-direction: column; justify-content: center; gap: var(--s-3); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: clamp(2rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.page-hero__grid { display: grid; gap: var(--s-6); align-items: end; }
.page-hero h1 { font-size: clamp(2.625rem, 4.4vw + 1rem, 5.25rem); }
.page-hero .lead { margin-top: var(--s-4); }
.page-hero .actions { margin-top: var(--s-5); }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s-12); }
  .page-hero__aside { padding-bottom: 0.5rem; }
}
.page-hero__aside { color: var(--ink-soft); }

/* Photo hero for inner pages: copy left, photograph bleeding off the right edge */
.page-hero--media { padding-top: 0; padding-bottom: var(--section-y); }
.page-hero--media .page-hero__copy { padding-top: clamp(2rem, 5vw, 4rem); }
.page-hero--media .page-hero__media { margin-top: var(--s-6); }
.page-hero--media .page-hero__media .photo { border-radius: 0; --ar: 5 / 4; }
@media (min-width: 960px) {
  .page-hero--media { position: relative; min-height: clamp(560px, 78svh, 820px); display: flex; align-items: center; padding-block: var(--s-8); }
  .page-hero--media > .container { width: 100%; }
  .page-hero--media .page-hero__copy { width: 46%; padding: 0 var(--s-6) 0 0; }
  .page-hero--media h1 { font-size: clamp(3rem, 3.1vw + 1.25rem, 4.75rem); }
  .page-hero--media .page-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; margin: 0; }
  .page-hero--media .page-hero__media .photo { height: 100%; aspect-ratio: auto; margin: 0; border-radius: var(--r-img) 0 0 var(--r-img); }
}

/* ---------- Short copy blocks ---------- */
.text-block > * + * { margin-top: var(--s-3); }
.text-block p { color: var(--ink-soft); max-width: var(--measure); margin-bottom: 0; }
.text-block .kicker, .text-block .lead { color: var(--espresso); }
.text-block .actions { margin-top: var(--s-5); }

/* ---------- Recent gifts page: real gift photos on a cream backdrop ---------- */
.gifts { display: grid; gap: var(--s-6); }
.gift { margin: 0; }
.gift figcaption { margin-top: var(--s-2); font-weight: 500; font-size: 1.0625rem; }
@media (min-width: 600px) { .gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 900px) { .gifts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Gallery: small tiles so more gifts fit as they're added */
.gifts--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.gifts--gallery .gift figcaption { font-size: 0.9375rem; }
@media (min-width: 600px) { .gifts--gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .gifts--gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 64rem; gap: var(--s-5) var(--s-3); } }

/* ---------- Home: two ways to gift ---------- */
.ways { display: grid; gap: var(--s-8); }
.way { display: grid; gap: 0.5rem; text-decoration: none; align-content: start; }
.way .photo { margin-bottom: var(--s-2); }
.way h3 { font-size: var(--fs-h3); }
.way p { color: var(--ink-soft); max-width: 30rem; }
.way p.kicker { color: var(--espresso); }
.way .link-arrow { justify-self: start; margin-top: var(--s-1); }
@media (min-width: 760px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); } }

/* ---------- Home: what every gift gets ---------- */
.features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
.features li { display: grid; gap: 0.35rem; align-content: start; }
.features__icon { width: 24px; height: 24px; color: var(--olive-ink); margin-bottom: var(--s-1); }
.features h3 { font-size: var(--fs-h4); letter-spacing: -0.012em; }
.features p { color: var(--ink-soft); font-size: 0.9875rem; text-wrap: pretty; }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Home: how it works (dark) ---------- */
.howto { display: grid; gap: var(--s-5); }
.howto__list { list-style: none; border-top: 1px solid rgba(247, 244, 238, 0.2); }
.howto__list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.25rem var(--s-2);
  padding-block: var(--s-4);
  border-bottom: 1px solid rgba(247, 244, 238, 0.2);
}
.howto__n { grid-row: span 2; font-size: var(--fs-h3); font-weight: 450; line-height: 1.18; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.howto__list h3 { font-size: clamp(1.625rem, 2vw + 1rem, 2.625rem); font-weight: 450; letter-spacing: -0.03em; line-height: 1.1; }
.howto__list p { color: var(--on-dark-soft); }
@media (min-width: 900px) {
  .howto { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s-8); align-items: start; }
  .howto__list li { grid-template-columns: 4rem minmax(0, 1fr); }
}

/* ---------- Steps (inner pages) ---------- */
.steps {
  display: grid;
  gap: var(--s-5);
  list-style: none;
}
.step { position: relative; padding-top: var(--s-3); border-top: 1px solid var(--line-strong); }
.step__n {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-soft);
  margin-bottom: var(--s-2);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--fs-h4); letter-spacing: -0.012em; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.9875rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); } }
.dark .step { border-top-color: rgba(247, 244, 238, 0.22); }
.dark .step__n { color: var(--on-dark-soft); }
@media (min-width: 1080px) {
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Dark band (one per page at most) ---------- */
.dark { background: var(--espresso); color: var(--on-dark); }
.dark h2, .dark h3 { color: var(--on-dark); }
.dark .lead, .dark p { color: var(--on-dark-soft); }
.dark .eyebrow { color: var(--on-dark-soft); }
.dark a:not(.btn) { color: var(--on-dark); }
.dark :focus-visible { outline-color: var(--cream); }

/* ---------- Home: gifts by occasion ---------- */
.occasions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-2); }
.occasion { display: grid; gap: var(--s-2); text-decoration: none; align-content: start; }
.occasion > span { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 1.0625rem; }
.occasion .arrow { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.occasion:hover .arrow { transform: translateX(4px); }
@media (min-width: 900px) { .occasions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); } }

/* ---------- Closing CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2.5rem, 5vw + 1rem, 5rem); font-weight: 450; max-width: 14ch; margin: 0 auto var(--s-5); }
.final-cta .lead { margin: 0 auto var(--s-5); }
.final-cta .actions { justify-content: center; }
.final-cta__aside { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--ink-soft); }
.final-cta.band-wrap { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.final-cta.band-wrap h2 { font-size: clamp(2.25rem, 4vw + 1rem, 4.25rem); }
.bg-espresso .lead, .bg-espresso p { color: var(--on-dark-soft); }
.bg-espresso :focus-visible { outline-color: var(--cream); }

/* ---------- Two side-by-side prompts (Seasonal Collections) ---------- */
.duo { display: grid; gap: var(--s-6); }
.duo__item { display: grid; gap: var(--s-3); align-content: start; }
.duo__item h2 { font-size: var(--fs-h3); max-width: 24ch; }
.duo__item p { color: var(--ink-soft); max-width: var(--measure); margin: 0; }
.duo__item .actions { margin-top: var(--s-2); }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 6rem); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--on-dark); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--taupe); }
.footer__top { display: grid; gap: var(--s-6); padding-bottom: var(--s-8); }
.footer__logo { width: 200px; height: auto; margin-bottom: var(--s-2); }
.footer__intro p { color: var(--on-dark-soft); max-width: 22rem; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.footer__col h2 {
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0;
  color: var(--on-dark-soft); margin-bottom: var(--s-2);
}
.footer__col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer__col li, .footer__col p { font-size: 0.9375rem; color: var(--on-dark); }
.footer__col .muted { color: var(--on-dark-soft); }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-12); }
  .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2);
  padding-block: var(--s-4) var(--s-5);
  border-top: 1px solid rgba(247, 244, 238, 0.14);
  font-size: var(--fs-xs); color: var(--on-dark-soft);
}
.footer__legal ul { display: flex; gap: var(--s-3); list-style: none; }
.footer__legal a { color: var(--on-dark-soft); }

/* ---------- Collections ---------- */
.collection-feature { display: grid; gap: var(--s-5); align-items: center; }
.collection-feature h2 { font-size: clamp(2.25rem, 3vw + 1rem, 3.75rem); }
@media (min-width: 960px) {
  .collection-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(3rem, 6vw, 6rem); }
}
.collection-grid { display: grid; gap: var(--s-8) var(--s-5); }
@media (min-width: 760px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid > :nth-child(2) { margin-top: var(--s-10); }
}
.collection-card { display: grid; gap: var(--s-2); text-decoration: none; align-content: start; }
.collection-card .photo { margin-bottom: var(--s-2); }
.collection-card h3, .collection-card h2 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); }
.collection-card h2 { display: inline-flex; align-items: center; gap: 0.6rem; }
.collection-card h2 .arrow { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.collection-card:hover h2 .arrow { transform: translateX(4px); }
.collection-card p { color: var(--ink-soft); }
.collection-card .link-arrow { justify-self: start; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; font-size: var(--fs-sm); color: var(--ink-soft); }
.meta-row > span { display: inline-flex; align-items: center; gap: 0.5rem; }
.meta-row > span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--taupe); margin-right: 0.75rem; }

/* ---------- Collection detail ---------- */
.product { display: grid; gap: var(--s-6); align-items: start; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery .photo:first-child { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(3rem, 6vw, 6rem); }
  .product__panel { position: sticky; top: calc(var(--header-h) + 24px); }
}
.product__panel h1 { font-size: clamp(2.375rem, 3vw + 1rem, 4rem); margin-bottom: var(--s-2); }
.price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: var(--s-3); border-block: 1px solid var(--line); margin-block: var(--s-4); }
.price { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.inside { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.inside li { display: flex; gap: 0.85rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 0.9875rem; }
.inside li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); transform: translateY(-3px); }
.detail-list { display: grid; gap: var(--s-2); margin: var(--s-4) 0 0; }
.detail-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; font-size: var(--fs-sm); }
.detail-list dt { color: var(--ink-soft); font-weight: 500; }
.detail-list dd { margin: 0; }

/* ---------- Pricing placeholder (conversion thread replaces #pricing) ---------- */
.price-card { background: var(--white); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); }
.price-points { list-style: none; display: grid; gap: 0; }
.price-points li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.price-points li:last-child { border-bottom: 0; }
.price-points strong { font-weight: 600; }
.price-points .amt { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Split info blocks ---------- */
.split { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 6rem); } }
@media (min-width: 900px) { .split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
@media (min-width: 900px) { .split--wide-right { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.split--center { align-items: center; }
.info-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.info-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.25rem; }
.info-list strong { font-weight: 600; }
.info-list span { color: var(--ink-soft); font-size: 0.9875rem; }

.card { background: var(--white); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.25rem); }
.cards { display: grid; gap: var(--s-3); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card h3 { font-size: var(--fs-h4); letter-spacing: -0.012em; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.9875rem; }
.card__icon { width: 26px; height: 26px; color: var(--olive-ink); margin-bottom: var(--s-3); }
.bg-white .card { background: var(--cream); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 500; font-size: 1.125rem; letter-spacing: -0.012em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 3rem 1.5rem 0; color: var(--ink-soft); max-width: 44rem; }

/* ---------- Forms ---------- */
.form-shell { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) {
  .form-shell { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .form-shell__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.form-shell__photo { margin-top: var(--s-6); max-width: 22rem; }
@media (max-width: 999px) { .form-shell__photo { display: none; } }
.form-card { background: var(--white); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 1px 2px rgba(53, 42, 37, 0.04); }
.form-grid { display: grid; gap: var(--s-4); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.5rem; }
.field label, .field legend, .fieldset legend {
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; padding: 0;
}
.field .hint, .fieldset .hint { font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 400; margin-top: -0.25rem; }
.optional { font-weight: 400; color: var(--ink-soft); font-size: var(--fs-sm); margin-left: 0.35rem; }
.input, .textarea, .select {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--taupe);
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 128px; resize: vertical; }
.select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23352A25' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.input::placeholder, .textarea::placeholder { color: #8C8079; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--olive); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(53, 42, 37, 0.14); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #9A3B2B; box-shadow: 0 0 0 3px rgba(154, 59, 43, 0.12); }
.field-error { font-size: var(--fs-sm); color: #8A3426; font-weight: 500; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.75rem; min-width: 0; }
.fieldset legend { margin-bottom: 0.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 1.05rem;
  border: 1px solid var(--taupe);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 0.9375rem; font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
  user-select: none;
}
.chip:hover span { border-color: var(--espresso); }
.chip input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.form-error { min-height: 0; margin: 0; color: #8A3426; font-weight: 500; font-size: 0.9375rem; }
.form-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-2); }
.form-foot p { font-size: var(--fs-sm); color: var(--ink-soft); max-width: 22rem; margin: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
[data-group-only][hidden] { display: none !important; }
.group-fields { display: grid; gap: var(--s-4); padding: var(--s-4); border-radius: 12px; background: var(--linen); }
.group-fields__title { font-size: var(--fs-sm); font-weight: 600; color: var(--olive-ink); margin: 0; }

/* ---------- Prose (legal, about story) ---------- */
.prose { max-width: 42rem; }
.prose h2 { font-size: var(--fs-h3); margin: var(--s-6) 0 var(--s-2); }
.prose h3 { font-size: var(--fs-h4); margin: var(--s-4) 0 var(--s-1); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; margin-bottom: 1em; }
.prose a { color: var(--olive-ink); }
.prose .lead { color: var(--espresso); }

.pullquote {
  font-weight: 450;
  font-size: clamp(1.625rem, 2vw + 1rem, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
  margin: 0;
  max-width: 24ch;
}
.pullquote cite { display: block; margin-top: var(--s-3); font-style: normal; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); }

/* ---------- Area map (delivery radius) ---------- */
.radius { position: relative; aspect-ratio: 1 / 1; max-width: 420px; margin-inline: auto; }
.radius svg { width: 100%; height: 100%; }

/* ---------- Inset band container ---------- */
.band-wrap { border-radius: 20px; padding: clamp(1.5rem, 5vw, 4.5rem); }
.band-wrap.bg-stone { background: var(--stone); }
.band-wrap.bg-espresso { background: var(--espresso); color: var(--on-dark); }

/* ---------- Stat strip ---------- */
.stats { display: grid; gap: var(--s-4); list-style: none; border-top: 1px solid var(--line-strong); padding-top: var(--s-4); }
.stat__n { font-weight: 450; font-size: clamp(2.5rem, 3.5vw, 3.75rem); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; display: block; margin-bottom: 0.5rem; }
.stat__l { color: var(--ink-soft); font-size: 0.9875rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: var(--s-4); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--taupe); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--espresso); text-decoration: underline; }


/* Grid children may shrink below their content width */
.product > *, .split > *, .form-shell > *, .page-hero__grid > *, .howto > *, .ways > *, .occasions > *, .collection-feature > *, .features > *, .duo > *, .gifts > * { min-width: 0; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Sticky phone CTA (shown by tol.js after the first screen) ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 244, 238, 0.92);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 1200px) { .mobile-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-menu, .site-footer, .mobile-cta { display: none; }
}
