/* Hud — all other styles. Colours and fonts live in theme.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.06rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 34rem; }
.kicker { color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--dark); color: var(--dark-ink); padding: .7rem 1rem; z-index: 20; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.top { display: flex; align-items: center; gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 1.1rem 1.5rem; }
.brand { font-family: var(--display); font-size: 1.9rem; color: var(--ink); text-decoration: none; line-height: 1; }
.brand i { font-style: normal; color: var(--accent); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.top nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.top nav a:hover { color: var(--accent); }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font: inherit; color: var(--ink); cursor: pointer; }
.lang { background: none; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.lang:hover { border-color: var(--accent); color: var(--accent); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid var(--accent); cursor: pointer; font-size: 1rem; }
.btn:hover { background: transparent; color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* Hero — full-width headline above a staggered photo collage */
.hero { padding: 3.5rem 0 2rem; }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 5.4rem); max-width: 16ch; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-top: 1.6rem; }
.hero-row .lead { margin: 0; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 1.4rem; color: var(--muted); font-size: .98rem; }
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem; align-items: start; padding-top: 3rem; }
.collage figure { margin: 0; }
.collage img { border-radius: 8px; width: 100%; object-fit: cover; }
.collage .col-a { grid-column: 1 / 5; margin-top: 5rem; }
.collage .col-a img { aspect-ratio: 4 / 3; }
.collage .col-b { grid-column: 4 / 10; }
.collage .col-b img { aspect-ratio: 3 / 2; }
.collage .col-c { grid-column: 9 / 13; margin-top: 9rem; }
.collage .col-c img { aspect-ratio: 4 / 5; }
.collage figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* Trust — numbered points */
.trust ul { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.trust .num { font-family: var(--display); font-size: 2.2rem; color: var(--sage); display: block; margin-bottom: .4rem; }

/* Ritual — pinned scroll sequence (desktop); stacked steps (mobile / reduced motion) */
.ritual-pin { padding: 0; }
@media (min-width: 821px) { .ritual-pin { height: 280vh; } }
.ritual-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; }
.ritual-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; align-items: center; }
.ritual-photo { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.ritual-photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.ritual-steps article { opacity: .35; transition: opacity .4s ease; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.ritual-steps article.active { opacity: 1; }
.ritual-steps article:last-child { border-bottom: 1px solid var(--line); }
.ritual-steps .step-num { font-family: var(--display); color: var(--accent); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; }
.ritual-steps h3 { font-size: 1.9rem; margin: .3rem 0 .4rem; }
.ritual-steps .time { color: var(--muted); font-size: .95rem; }
.ritual-progress { height: 3px; background: var(--line); border-radius: 999px; margin-top: 2rem; overflow: hidden; }
.ritual-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; }
.ritual-count { color: var(--muted); font-size: .95rem; margin-top: .7rem; }

/* Products */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.8rem; }
.filters button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
/* Products page: reserve the list height so the footer starts below the fold
   before the JavaScript renders the cards — avoids layout shift on load. */
.cards-full { min-height: 1400px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card figure { margin: 0; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-meta { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card-meta .size { color: var(--muted); font-size: .92rem; }
.card-meta .price { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.card .tag { align-self: flex-start; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* Ingredients + band */
.band { margin: 0; }
.band img { width: 100%; aspect-ratio: 21 / 7; object-fit: cover; border-radius: 8px; }
.band figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.ingredients dl { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.ingredients div { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.ingredients dt { font-family: var(--display); font-size: 1.4rem; margin-bottom: .3rem; }
.ingredients dd { margin: 0; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; margin-top: 2rem; }
.about-grid figure { margin: 0; }
.about-grid img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.team { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.team li { border-top: 1px solid var(--line); padding-top: 1rem; }
.team h3 { margin-bottom: .2rem; }
.team p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; margin-top: 2rem; align-items: start; }
.contact-grid address { font-style: normal; margin-bottom: 1rem; }
.hours { border-collapse: collapse; width: 100%; }
.hours td { padding: .45rem 0; border-top: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-weight: 700; font-size: .95rem; }
.form label span { display: block; margin-bottom: .35rem; }
.form input, .form textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #a33d2a; }
.form .wide { grid-column: 1 / -1; }
.form .note { background: var(--sage-soft); border-radius: 6px; padding: .9rem 1rem; margin: 0; }

/* Page head */
.page-head { padding: 3.5rem 0 1rem; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }

/* Footer */
.foot { background: var(--dark); color: var(--dark-ink); padding: 2.5rem 0; }
.foot .wrap { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; font-size: .95rem; }
.foot span { opacity: .9; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  section { padding: 3rem 0; }
  .menu { display: inline-block; }
  .top { flex-wrap: wrap; }
  .top nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1rem 0 .4rem; }
  .top nav.open { display: flex; }
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .collage { gap: .8rem; }
  .collage .col-a { grid-column: 1 / 7; margin-top: 2rem; }
  .collage .col-b { grid-column: 1 / 13; order: -1; }
  .collage .col-c { grid-column: 6 / 13; margin-top: 2rem; }
  .trust ul { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .ritual-pin { height: auto; }
  .ritual-sticky { position: static; min-height: 0; padding: 0; }
  .ritual-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .ritual-steps article { opacity: 1; }
  .ritual-progress, .ritual-count { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .ingredients dl { grid-template-columns: minmax(0, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .band img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ritual-steps article { opacity: 1; transition: none; }
}
