/* styles.css — RoasterLab design system (SPEC §1) and every component's styles.
   Tokens from the packaging (navy/cream), Montserrat display + Jost body, 0 radius,
   120px section rhythm, Coffee-Collective pacing: 100vh heroes, 4-up rails, 50/50 teasers,
   sticky header that goes transparent-over-hero → solid cream. Mobile-first, no overflow. */

/* ---------- tokens ---------- */
:root {
  --navy: #2c345e;
  --navy-ink: #1c1f36;
  --cream: #ded8c9;
  --cream-50: #f3f0e8;
  --cream-100: #ebe6da;
  --blue: #1c4792;
  --blue-50: #e8eef6;
  --ink: #1c110a;
  --line: rgba(44, 52, 94, 0.18);
  --line-cream: rgba(222, 216, 201, 0.25);

  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Jost', 'Futura', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;

  --pad: 20px;
  --max: 1440px;
  --section: 72px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  --fg: var(--navy);
  --bg: var(--cream-50);
  color-scheme: light;
}
@media (min-width: 900px) {
  :root { --pad: 40px; --section: 120px; --header-h: 72px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; border-radius: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- typography ---------- */
.h1, .hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.teaser__title, .cta-band__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.55; max-width: 40em; }
.small { font-size: 14px; }
.label, .eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.4; }
.eyebrow { margin-bottom: 16px; opacity: 0.85; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.prose { max-width: 720px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; margin: 1.6em 0 0.6em; }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 1.4em 0 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose blockquote { border-left: 2px solid var(--navy); margin: 1.5em 0; padding-left: 1em; font-size: 18px; }
.prose img { margin: 2em 0; }
.prose--2col { max-width: none; }
@media (min-width: 900px) { .prose--2col { columns: 2; column-gap: 48px; } .prose--2col p { break-inside: avoid; } }
.measure { max-width: 720px; }
.measure--wide { max-width: 1100px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section--tight { padding-block: 0 var(--section); }
.section--alt { background: var(--cream-100); }
.section--navy, .section--dark { background: var(--navy); color: var(--cream); --fg: var(--cream); --line: var(--line-cream); }
.section--blue { background: var(--blue); color: var(--cream-50); --fg: var(--cream-50); --line: var(--line-cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-head--stack { display: block; }
.section-head--stack .lead { margin-top: 16px; }
.section + .section:not(.section--alt):not(.section--navy):not(.section--blue) { padding-top: 0; }
.grid { display: grid; gap: 32px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { gap: 48px 24px; } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main > .section:first-child, main > .rail:first-child { padding-top: calc(var(--section) + var(--header-h)); }
body:not(.has-hero) main > :first-child:not(.section) { padding-top: var(--header-h); }
main:focus { outline: none; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 24px; border: 1px solid var(--navy); border-radius: 0;
  background: var(--navy); color: var(--cream-50);
  font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--navy); }
.btn--outline-cream { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn--outline-cream:hover { background: var(--cream); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream-50); }
.btn--blue { background: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: transparent; color: var(--blue); }
.btn--sm { min-height: 38px; padding: 0 18px; }
.btn--wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid transparent; transition: border-color 0.2s, gap 0.2s; }
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.link-arrow .icon { width: 18px; height: 18px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--navy); color: var(--cream-50); }
.icon-btn:disabled { opacity: 0.35; pointer-events: none; }

/* ---------- forms ---------- */
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--blue-50); color: var(--navy); appearance: none; -webkit-appearance: none; }
.input:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.input::placeholder { color: rgba(44, 52, 94, 0.55); }
.input--sm { min-height: 40px; padding: 6px 10px; font-size: 14px; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c345e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea.input { resize: vertical; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.form__actions--split .btn { flex: 1 1 200px; }
.form__note { font-size: 13px; opacity: 0.7; }

/* ---------- header ---------- */
.skip-link { position: absolute; top: -100px; left: var(--pad); z-index: 200; padding: 10px 16px; background: var(--navy); color: var(--cream-50); }
.skip-link:focus { top: 12px; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--navy); background: var(--cream-50);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.site-header--over-hero { color: var(--cream); background: transparent; }
.site-header--over-hero.is-solid, .site-header.is-solid, .site-header.is-open { color: var(--navy); background: var(--cream-50); border-bottom-color: var(--line); }
.site-header__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.site-header__burger { justify-self: start; border-color: transparent; }
.site-header__burger:hover { background: transparent; color: inherit; }
.site-nav { display: none; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.site-header__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1; }
.site-header__link .icon { width: 20px; height: 20px; }
.site-header__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header__actions .site-header__link:not(.site-header__cart):not(.js-lang) { display: none; }
.site-header__link.js-lang span { display: none; }
.site-header__cart span:not(.cart-count) { display: none; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
.site-header--over-hero:not(.is-solid):not(.is-open) .cart-count { background: var(--cream); color: var(--navy); }
@media (min-width: 1024px) {
  .site-header__burger { display: none; }
  .site-nav { display: block; justify-self: start; }
  .site-header__actions .site-header__link, .site-header__link.js-lang span, .site-header__cart span:not(.cart-count) { display: inline-flex; }
}
.wordmark { justify-self: center; display: inline-flex; color: inherit; }
.wordmark__text { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark__word { font-size: 26px; letter-spacing: -0.01em; }
.wordmark__word b { font-family: var(--font-display); font-weight: 800; }
.wordmark__word i { font-family: var(--font-body); font-style: normal; font-weight: 400; }
.wordmark__tag { margin-top: 3px; font-family: var(--font-body); font-size: 9px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.22em; white-space: nowrap; }
.wordmark__svg svg { height: 34px; width: auto; fill: currentColor; }
.wordmark--sm .wordmark__svg svg { height: 28px; }
.wordmark--cream .wordmark__svg svg { height: 44px; }
.wordmark--sm .wordmark__word { font-size: 22px; }
.wordmark--cream { color: var(--cream); }
.wordmark--cream .wordmark__word { font-size: 32px; }

/* mega menu */
.site-nav__list { display: flex; gap: 4px; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link { display: inline-flex; align-items: center; height: var(--header-h); padding: 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 2px solid transparent; }
.site-nav__item:hover > .site-nav__link, .site-nav__item.is-open > .site-nav__link { border-bottom-color: currentColor; }
.site-nav__toggle { display: inline-flex; width: 24px; height: 24px; margin-left: -8px; align-items: center; justify-content: center; }
.site-nav__toggle .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.site-nav__item.is-open .site-nav__toggle .icon { transform: rotate(180deg); }
.mega { position: fixed; left: 0; right: 0; top: var(--header-h); background: var(--cream-50); color: var(--navy); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(28, 31, 54, 0.35); }
.mega__inner { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding-block: 40px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.mega__col .label { margin-bottom: 14px; opacity: 0.7; }
.mega__col li + li { margin-top: 8px; }
.mega__col a { font-size: 17px; }
.mega__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega__feature { display: flex; flex-direction: column; gap: 12px; }
.mega__feature img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--cream); }
.mega__feature-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.mega__feature-text { font-size: 14px; opacity: 0.8; }
.mega__feature:hover .mega__feature-title { text-decoration: underline; text-underline-offset: 4px; }

/* mobile drawer, cart drawer, scrim */
.scrim { position: fixed; inset: 0; z-index: 110; background: rgba(28, 31, 54, 0.45); }
.drawer, .cart-drawer { position: fixed; top: 0; bottom: 0; z-index: 120; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--cream-50); color: var(--navy); overflow-y: auto; transition: transform 0.35s var(--ease); }
.drawer { left: 0; transform: translateX(-100%); }
.cart-drawer { right: 0; transform: translateX(100%); }
.drawer.is-open, .cart-drawer.is-open { transform: none; }
.drawer__head, .cart-drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--pad); border-bottom: 1px solid var(--line); flex: none; }
.drawer__nav { padding: 12px var(--pad); flex: 1; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--line); }
.drawer__group[open] .drawer__link .icon { transform: rotate(180deg); }
.drawer__link .icon { transition: transform 0.2s; }
.drawer__sub { padding: 8px 0 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__sub a { display: block; padding: 8px 0; font-size: 16px; }
.drawer__foot { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--pad); border-top: 1px solid var(--line); }
.drawer__lang { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.cart-drawer__body { flex: 1; padding: 20px var(--pad); }
.cart-drawer__foot { padding: 20px var(--pad); border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: start; }
.cart-drawer__foot .btn--wide { justify-self: stretch; }

/* cart lines (shared: drawer, cart page, order summary) */
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { width: 72px; aspect-ratio: 1; background: var(--cream); object-fit: contain; padding: 6px; }
.cart-line__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.25; }
.cart-line__meta { font-size: 13px; opacity: 0.75; margin-top: 2px; }
.cart-line__price { font-family: var(--font-display); font-weight: 600; font-size: 14px; text-align: right; }
.cart-line__actions { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-line__remove { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid currentColor; opacity: 0.7; }
.cart-line__remove:hover { opacity: 1; }
.cart-lines--compact .cart-line { grid-template-columns: 56px 1fr auto; }
.cart-lines--compact .cart-line__img { width: 56px; }
.cart-lines--compact .cart-line__actions { display: none; }
.cart-empty { padding: 24px 0; }
.cart-empty p { margin-bottom: 16px; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty__btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.qty__btn:hover { background: var(--navy); color: var(--cream-50); }
.qty__input { width: 48px; height: 40px; text-align: center; border: 0; border-inline: 1px solid var(--line); background: transparent; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn, .qty--sm .qty__input { height: 32px; }
.qty--sm .qty__btn { width: 32px; }
.qty--sm .qty__input { width: 40px; }
.cart-summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 18px; }
.cart-page__grid, .order-page__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .cart-page__grid { grid-template-columns: 1fr 360px; } .order-page__grid { grid-template-columns: 1fr 400px; } }
.cart-summary { display: grid; gap: 16px; align-content: start; justify-items: start; padding: 28px; background: var(--cream-100); }
.cart-summary .btn--wide, .cart-summary .cart-summary__row, .cart-summary .cart-lines { justify-self: stretch; width: 100%; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px); padding: 12px 20px; background: var(--navy); color: var(--cream-50); font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
body.is-locked { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end; color: var(--cream); background: var(--navy-ink); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 31, 54, 0.35) 0%, rgba(28, 31, 54, 0.05) 35%, rgba(28, 31, 54, 0.65) 100%); }
.hero--light { color: var(--navy); background: var(--cream); }
.hero--light::before { background: linear-gradient(180deg, rgba(243, 240, 232, 0.2), rgba(243, 240, 232, 0.65)); }
.hero__cutout { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 24px) var(--pad) 220px; pointer-events: none; }
.hero__cutout a { pointer-events: auto; display: block; height: 100%; max-height: 100%; }
.hero__cutout-img { height: 100%; width: auto; max-height: 58vh; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(28, 31, 54, 0.45)); }
.hero__inner { position: relative; width: 100%; max-width: var(--max); margin-inline: auto; padding: 0 var(--pad) 40px; display: flex; flex-direction: column; gap: 24px; }
.hero__copy { max-width: 620px; }
.hero__text { margin-top: 16px; font-size: 18px; max-width: 34em; }
.hero__cta { display: flex; }
.hero--center .hero__inner { align-items: center; text-align: center; }
@media (min-width: 900px) {
  .hero__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-bottom: 48px; }
  .hero__cutout { padding-bottom: 120px; }
  .hero__cutout-img { max-height: 62vh; }
}
/* hero-simple */
.hero-simple { position: relative; min-height: 60vh; display: flex; align-items: flex-end; padding-top: var(--header-h); background: var(--cream-100); color: var(--navy); overflow: hidden; }
.hero-simple--image { color: var(--cream); background: var(--navy-ink); }
.hero-simple--tall { min-height: 80vh; }
.hero-simple__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-simple--image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 31, 54, 0.3), rgba(28, 31, 54, 0.7)); }
.hero-simple__inner { position: relative; width: 100%; max-width: var(--max); margin-inline: auto; padding: 48px var(--pad); }
.hero-simple__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.015em; max-width: 14em; }
.hero-simple__text { margin-top: 20px; font-size: 18px; max-width: 36em; }
.hero-simple__meta { margin-top: 16px; font-size: 14px; opacity: 0.8; }
.hero-simple__icon .icon { width: 48px; height: 48px; margin-bottom: 20px; }
@media (min-width: 900px) { .hero-simple__inner { padding-block: 64px; } }

/* ---------- product cards / rails ---------- */
.card { display: flex; flex-direction: column; gap: 14px; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12%; transition: transform 0.5s var(--ease); }
.card__media:hover img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; background: var(--blue); color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.card__body { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card__notes { font-size: 15px; opacity: 0.8; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price-line .label { opacity: 0.7; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.price--old { opacity: 0.55; }
.card .btn { margin-top: 6px; }
.rail .section-head .link-arrow { flex: none; }
@media (min-width: 1024px) { .card__title { font-size: 22px; } }

/* ---------- large teaser ---------- */
.teaser { display: grid; grid-template-columns: 1fr; min-height: 640px; }
.teaser__media { position: relative; min-height: 320px; background: var(--cream); }
.teaser__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser__body { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 56px var(--pad); }
.teaser__text { font-size: 17px; max-width: 34em; }
.teaser__cta { margin-top: 8px; }
.teaser--cream { background: var(--cream-100); color: var(--navy); }
.teaser--navy { background: var(--navy); color: var(--cream); }
.teaser--blue { background: var(--blue); color: var(--cream-50); }
.bullets { display: grid; gap: 10px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets .icon { width: 20px; height: 20px; margin-top: 3px; }
@media (min-width: 900px) {
  .teaser { grid-template-columns: 1fr 1fr; }
  .teaser__body { padding: 80px clamp(40px, 6vw, 96px); }
  .teaser--reverse .teaser__media { order: 2; }
}

/* ---------- highlight ---------- */
.highlight { position: relative; min-height: 80vh; display: flex; align-items: center; padding-block: var(--section); color: var(--cream); background: var(--navy); overflow: hidden; isolation: isolate; }
.highlight__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.highlight::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(28, 31, 54, 0.6); }
.highlight__inner { display: grid; gap: 40px; align-items: center; }
.highlight__cutout img { max-height: 60vh; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(28, 31, 54, 0.5)); }
.highlight__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 900px) { .highlight__inner { grid-template-columns: 1fr 1fr; } }

/* ---------- gallery / image ---------- */
.gallery__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--cream); }
.gallery__item figcaption { margin-top: 10px; font-size: 13px; opacity: 0.75; }
@media (min-width: 640px) {
  .gallery--2 .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery--3 .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery--masonry .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery--masonry .gallery__item:nth-child(4n+1) { grid-column: span 2; }
  .gallery--masonry .gallery__item:nth-child(4n+1) img { aspect-ratio: 16 / 9; }
}
.full-image img { width: 100%; max-height: 90vh; object-fit: cover; }
.full-image--contained { padding-inline: var(--pad); }
.full-image figcaption { padding-block: 12px; font-size: 13px; opacity: 0.75; }

/* ---------- slider ---------- */
.slider__nav { display: flex; align-items: center; gap: 8px; }
.slider__nav .link-arrow { margin-right: 12px; }
.slider__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.slider__track.is-dragging a { pointer-events: none; }
.slide { flex: 0 0 78%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.slide__media { aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.slide__media--cutout img { object-fit: contain; padding: 10%; }
.slide:hover .slide__media img { transform: scale(1.03); }
.slide__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.slide__text { font-size: 15px; opacity: 0.8; }
@media (min-width: 640px) { .slide { flex-basis: 45%; } }
@media (min-width: 1024px) { .slide { flex-basis: calc((min(100vw, var(--max)) - 2 * var(--pad) - 40px) / 3); } .slider__track { padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); } }

/* ---------- overview cards ---------- */
.ocard { display: flex; flex-direction: column; gap: 16px; }
.ocard__media { display: block; aspect-ratio: 3 / 2; background: var(--cream); overflow: hidden; }
.ocard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.ocard:hover .ocard__media img { transform: scale(1.03); }
.ocard__body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ocard__icon .icon { width: 32px; height: 32px; }
.ocard__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.ocard__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ocard__text { opacity: 0.85; }

/* ---------- faq ---------- */
.accordion { border-top: 1px solid var(--line); margin-top: 32px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.accordion__chev { transition: transform 0.25s; }
.accordion__item[open] .accordion__chev { transform: rotate(180deg); }
.accordion__a { padding: 0 0 24px; }

/* ---------- newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1fr; min-height: 560px; background: var(--navy); color: var(--cream); }
.newsletter__media { position: relative; min-height: 280px; background: var(--cream); }
.newsletter__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.newsletter__body { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 56px var(--pad); }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; max-width: 520px; }
.nl-form .input { flex: 1 1 220px; background: var(--cream-50); }
.nl-form--compact { max-width: none; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; } .newsletter__body { padding: 80px clamp(40px, 6vw, 96px); } }

/* ---------- form section ---------- */
.form-section__inner { display: grid; gap: 40px; }
.form-section__intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact-block { line-height: 1.7; }
.contact-block a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) { .form-section__inner { grid-template-columns: 5fr 7fr; gap: 80px; } }

/* ---------- guide: measurements & steps ---------- */
.measure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.measure-item { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; background: var(--cream-50); }
.measure-item__icon { width: 28px; height: 28px; }
.measure-item__value { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
@media (min-width: 640px) { .measure-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .measure-grid { grid-template-columns: repeat(6, 1fr); } }
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 900px; }
.step { display: grid; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step__no { display: flex; align-items: center; gap: 16px; }
.step__time { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.step__time .icon { width: 16px; height: 16px; }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
@media (min-width: 640px) { .step { grid-template-columns: 180px 1fr; gap: 32px; } .step__no { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- stats / cta band / wave ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.stat__label { margin-top: 10px; font-size: 15px; opacity: 0.85; }
.stats__note { margin-top: 40px; font-size: 14px; opacity: 0.7; max-width: 60em; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.cta-band { padding-block: 64px; }
.cta-band--navy { background: var(--navy); color: var(--cream); }
.cta-band--blue { background: var(--blue); color: var(--cream-50); }
.cta-band--cream { background: var(--cream); color: var(--navy); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__text { margin-top: 8px; opacity: 0.9; max-width: 40em; }
.wave-divider, .wave-band { position: relative; height: 40px; background: var(--cream-50); }
.wave-divider::after, .wave-band::after {
  content: ''; position: absolute; inset: 0; margin-inline: auto; background-color: var(--navy);
  -webkit-mask: url('/assets/icons/wave.svg') repeat-x center / auto 100%;
  mask: url('/assets/icons/wave.svg') repeat-x center / auto 100%;
}
.wave-divider { margin-block: 0; height: 32px; }
.wave-divider--navy { background: var(--navy); }
.wave-divider--navy::after { background-color: var(--cream); }
.wave-band { height: 48px; background: var(--cream); }
.wave-band::after { top: 8px; bottom: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); --line: var(--line-cream); }
.site-footer__grid { display: grid; gap: 40px; padding-block: 72px 48px; grid-template-columns: 1fr; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.site-footer__tagline { max-width: 26em; }
.site-footer__contact { display: grid; gap: 4px; font-size: 15px; }
.site-footer__contact a:hover, .site-footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); transition: background 0.2s, color 0.2s; }
.site-footer__social a:hover { background: var(--cream); color: var(--navy); }
.site-footer__col .label { margin-bottom: 16px; opacity: 0.7; }
.site-footer__col li + li { margin-top: 10px; }
.site-footer__newsletter .small { margin-bottom: 12px; opacity: 0.85; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 13px; opacity: 0.85; }
.site-footer__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); } .site-footer__brand { grid-column: auto; } .site-footer__newsletter { grid-column: 2 / -1; padding-top: 8px; } .site-footer__newsletter .nl-form { max-width: 520px; } }

/* ---------- collection ---------- */
.collection { padding-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { float: left; margin-right: 8px; padding: 0; opacity: 0.7; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--navy); color: var(--cream-50); border-color: var(--navy); }
.chip--icon .icon { width: 18px; height: 18px; }
.chips--nav { margin-bottom: 32px; }
.toolbar { display: flex; flex-direction: column; gap: 20px; padding: 20px 0; margin-bottom: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar__filters { display: flex; flex-direction: column; gap: 12px; }
.toolbar__sort { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar__count { margin-right: auto; font-size: 14px; opacity: 0.75; }
.toolbar__sort .input { width: auto; }
.empty { padding: 48px 0; text-align: center; opacity: 0.8; }
@media (min-width: 900px) { .toolbar { flex-direction: row; align-items: flex-start; justify-content: space-between; } .toolbar__count { margin-right: 0; } }

/* ---------- product page ---------- */
.product { padding-top: calc(var(--header-h) + 24px); padding-bottom: var(--section); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; opacity: 0.75; margin-bottom: 24px; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product__layout { display: grid; gap: 40px; }
.product__stage { position: relative; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.product__frame { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; }
.product__frame.is-active { opacity: 1; position: relative; }
.product__frame img { width: 100%; height: 100%; object-fit: cover; }
.product__frame--cutout img { object-fit: contain; padding: 10%; }
.product__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.product__thumb { width: 72px; aspect-ratio: 1; background: var(--cream); border: 1px solid transparent; overflow: hidden; }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; padding: 8px; }
.product__thumb.is-active { border-color: var(--navy); }
.product__info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.product__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.015em; }
.product__subtitle { font-size: 20px; }
.product__notes { font-size: 16px; }
.product__notes .label { margin-right: 8px; opacity: 0.7; }
.product__price .price { font-size: 20px; }
.product-form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 480px; padding-top: 8px; border-top: 1px solid var(--line); }
.product-form__group { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.product-form__group legend { padding: 0; margin-bottom: 10px; }
.product-form__row { display: flex; gap: 12px; align-items: stretch; }
.product-form__row .btn { flex: 1; }
.product-form__note { font-size: 13px; opacity: 0.7; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: var(--blue-50); font-family: var(--font-display); font-weight: 600; font-size: 13px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.pill input:checked + span { background: var(--navy); color: var(--cream-50); border-color: var(--navy); }
.pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; width: 100%; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.spec { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; padding: 16px; background: var(--cream-50); }
.spec__icon { grid-row: span 2; width: 22px; height: 22px; }
.spec dt { opacity: 0.7; }
.spec dd { font-weight: 500; }
@media (min-width: 900px) { .product__layout { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; } .product__gallery { position: sticky; top: calc(var(--header-h) + 24px); } .specs { grid-template-columns: repeat(3, 1fr); } }
.product-story__grid { display: grid; gap: 48px; }
.product-story__grid .h3 { margin-bottom: 20px; }
@media (min-width: 900px) { .product-story__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.transparency { display: flex; gap: 20px; padding: 28px; background: var(--blue-50); color: var(--blue); max-width: 900px; }
.transparency__icon { width: 32px; height: 32px; flex: none; }
.transparency__price { margin: 8px 0 12px; }

/* ---------- reveal animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
  .js .grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
  .js .grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .drawer, .cart-drawer, .scrim, .skip-link, .wave-band, .site-footer__newsletter, .nl-form, .btn, .toast, .slider__nav, .toolbar { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0 !important; }
  .hero, .hero-simple, .teaser, .highlight, .newsletter { min-height: 0; color: #000; background: none; }
  .hero__bg, .hero-simple__bg, .highlight__bg { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 12px; }
}

/* specs: cell borders instead of gap background, so partial last rows show no empty tile */
.specs { background: transparent; gap: 0; border-width: 1px 0 0 1px; }
.spec { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.teaser__text p, .lead p, .ocard__text p { margin: 0 0 .8em; }

/* text-only simple heroes: compact instead of 60vh of empty cream */
.hero-simple:not(.hero-simple--image) { min-height: 0; padding-top: calc(var(--header-h, 72px) + 96px); }
