/* PH For Sale — base styles. Sizes are derived from the 1920px PSD artboards and scale with the viewport. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(12px, 0.9vw, 17px);
  line-height: 1.45;
  letter-spacing: 0;
  padding-bottom: var(--disclaimer-h, 96px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.4em 0; opacity: .5; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.rte p { margin: 0 0 1.1em; }
.rte p:last-child { margin-bottom: 0; }

/* ---------- Type ---------- */
/* Display type: Ft Fablo, red with a solid ink extrusion (stacked shadows, so it survives the per-letter animations). */
:root { --extrude: 0.0055em 0.0075em 0 var(--extrude-color, var(--ink)), 0.0110em 0.0150em 0 var(--extrude-color, var(--ink)), 0.0165em 0.0225em 0 var(--extrude-color, var(--ink)), 0.0220em 0.0300em 0 var(--extrude-color, var(--ink)), 0.0275em 0.0375em 0 var(--extrude-color, var(--ink)), 0.0330em 0.0450em 0 var(--extrude-color, var(--ink)), 0.0385em 0.0525em 0 var(--extrude-color, var(--ink)), 0.0440em 0.0600em 0 var(--extrude-color, var(--ink)); }
.headline {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(30px, 5.5vw, 108px);
  line-height: 1.02;
  letter-spacing: var(--head-track);
  text-transform: uppercase;
  text-align: center;
  color: var(--red);
  text-shadow: var(--extrude);
  margin: 0;
}
/* SplitText masks each line: leave room for the extrusion so it isn't clipped */
.headline [class*="mask"], .headline .line { padding: 0 .08em .1em 0; margin-bottom: -.1em; }
.subline {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(11px, 1vw, 19px);
  letter-spacing: .02em;
  margin: .9em 0 0;
  text-transform: uppercase;
}
/* "Everything must go!" sticker */
.sticker {
  display: grid; place-items: center; width: fit-content; margin: clamp(16px, 2vw, 36px) auto 0;
  padding: 1.1em 1.9em; border: 2px solid var(--ink); border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-head); font-size: clamp(14px, 1.45vw, 28px); line-height: 1; text-transform: uppercase; text-align: center;
  transform: rotate(-9deg);
}
.sticker span { display: block; max-width: 9ch; }
.subline--stack p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: clamp(42px, 2.7vw, 52px);
  padding: 0 clamp(20px, 1.7vw, 32px);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(12px, .9vw, 17px);
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover:not([disabled]) { background: var(--ink); color: var(--yellow); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: transparent; }
.btn--ghost:hover:not([disabled]) { background: var(--ink); color: var(--bg); }
.round-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--panel); cursor: pointer; line-height: 1; font-weight: 700;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: clamp(16px, 2vw, 38px) clamp(16px, 5.4vw, 105px);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header--no-logo .site-logo { visibility: hidden; }
.site-logo { text-decoration: none; }
/* Placeholder wordmark until the final logo is uploaded (Header section → Logo) */
.wordmark {
  display: block; font-family: var(--font-head); color: var(--red); text-transform: uppercase;
  font-size: clamp(14px, 1.15vw, 22px); line-height: .92; letter-spacing: .01em; text-shadow: var(--extrude);
}
.cart-link { display: inline-flex; align-items: center; text-decoration: none; font-family: var(--font-head); font-size: clamp(12px, .95vw, 18px); text-transform: uppercase; }
.cart-link [data-cart-count] { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: .8em; margin-left: .4em; }

/* ---------- Disclaimer (always visible) ---------- */
.disclaimer {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  padding: 10px 16px 14px;
  text-align: center;
  font-size: clamp(10px, .78vw, 15px);
  line-height: 1.1;
}
.disclaimer p { margin: 0; }

/* ---------- Landing: view toggle ---------- */
.landing { position: relative; }
/* Switch: the knob sits left in the experience view and right in the grid view; the label names the current view. */
.view-toggle {
  --k: clamp(24px, 1.75vw, 34px); --pad: 5px;
  position: fixed; z-index: 35; left: 50%; top: clamp(16px, 2.6vw, 50px); transform: translateX(-50%);
  display: flex; align-items: center;
  height: calc(var(--k) + var(--pad) * 2 + 4px); min-width: clamp(140px, 9.6vw, 186px);
  padding: 0 calc(var(--k) + var(--pad) * 2) 0 calc(var(--pad) * 2);
  border: 2px solid var(--ink); border-radius: 999px; background: var(--panel); color: var(--ink); cursor: pointer;
  transition: padding .55s cubic-bezier(.65,0,.35,1);
}
.view-toggle[data-state="experience"] { padding: 0 calc(var(--pad) * 2) 0 calc(var(--k) + var(--pad) * 2); }
.view-toggle__label { flex: 1; text-align: center; font-family: var(--font-head); font-size: clamp(11px, .85vw, 16px); text-transform: uppercase; letter-spacing: .03em; }
.view-toggle__knob {
  position: absolute; top: 50%; left: calc(100% - var(--k) - var(--pad));
  width: var(--k); height: var(--k); border-radius: 50%; background: var(--ink);
  transform: translateY(-50%); transition: left .55s cubic-bezier(.65,0,.35,1), transform .3s;
}
.view-toggle[data-state="experience"] .view-toggle__knob { left: var(--pad); }
.view-toggle:hover .view-toggle__knob { transform: translateY(-50%) scale(.82); }
.round-btn[disabled] { opacity: .3; cursor: default; }

/* Hover roll: two stacked copies of a label inside a one-line mask */
.roll { display: inline-grid; overflow: hidden; line-height: 1.25; vertical-align: middle; }
.roll__line { grid-area: 1 / 1; white-space: nowrap; }
.roll__line + .roll__line { transform: translateY(100%); }
.roll .char, .roll__line > div { display: inline-block; }

/* ---------- Landing: grid view ---------- */
.landing__grid { padding: clamp(96px, 15vw, 187px) clamp(16px, 10vw, 193px) 48px; }
.landing__head { margin-bottom: clamp(28px, 3vw, 57px); }
.product-grid {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 50px) clamp(16px, 2.6vw, 50px);
  max-width: 1440px;
}
.card__frame {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; border: 2px solid var(--line); border-radius: clamp(16px, 1.6vw, 30px); text-decoration: none; overflow: hidden;
  transition: background .3s;
}
.card__frame:hover { background: var(--panel); }
.card__img { width: 44%; max-height: 62%; object-fit: contain; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card__frame:hover .card__img { transform: scale(1.07) rotate(-2deg); }
.card__price { position: absolute; top: 1.1em; right: 1.3em; font-family: var(--font-price); font-weight: 400; font-size: clamp(12px, 1.1vw, 21px); }
.card__title { display: block; margin-top: .8em; padding: 0 .3em; text-decoration: none; text-transform: uppercase; font-family: var(--font-head); font-size: clamp(12px, 1.05vw, 20px); line-height: 1.1; max-width: 26ch; }
.card__title:hover { text-decoration: underline; }

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .card__img { width: 52%; }
}

/* ---------- Landing: experience view ---------- */
body.is-experience { overflow: hidden; }
.landing__experience { position: fixed; inset: 0; z-index: 10; }
.exp-stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: none; outline: none; }
.exp-stage.is-dragging { cursor: grabbing; }
.exp-zoom { position: absolute; inset: 0; transform-origin: 50% 50%; }
.exp-canvas { position: absolute; left: 0; top: 0; will-change: transform; }
.exp-item { position: absolute; display: block; }
.exp-media { display: block; text-decoration: none; will-change: transform; }
.exp-media img { width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 10px 14px rgba(0,0,0,.08)); }
.exp-item:hover, .exp-item:focus-within { z-index: 2; }
.exp-pill {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px);
  white-space: nowrap; display: flex; align-items: center; gap: .6em;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(10px, .72vw, 14px); padding: .7em 1.2em; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.exp-item:hover .exp-pill, .exp-item:focus-within .exp-pill, .exp-item.is-touched .exp-pill { opacity: 1; pointer-events: auto; transform: translate(-50%, 12px); }
.exp-pill[disabled] { opacity: .6; }
.exp-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(96vw, 1500px); pointer-events: none; z-index: 3;
}
.exp-center .headline { font-size: clamp(34px, 6.4vw, 124px); }
.exp-center .subline { text-shadow: 0 0 12px var(--bg), 0 0 6px var(--bg); }
.exp-controls {
  position: absolute; right: clamp(16px, 2vw, 40px); bottom: calc(var(--disclaimer-h, 80px) + 12px);
  display: flex; align-items: center; gap: 8px; z-index: 4; font-size: 12px;
}
.exp-hint { margin-right: 8px; opacity: .7; }
@media (hover: none) { .exp-hint { display: none; } }

/* ---------- Product page ---------- */
.pdp { padding: clamp(96px, 9.3vw, 179px) clamp(16px, 5.3vw, 101px) 48px; }
.pdp__title { max-width: 34ch; margin: 0 auto clamp(28px, 3.5vw, 67px); color: var(--ink); text-shadow: none; font-size: clamp(22px, 2.4vw, 46px); }
.pdp__body {
  display: grid;
  grid-template-columns: clamp(64px, 6.7vw, 128px) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 60px);
  align-items: start;
}
.pdp__thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 120px; }
.thumb {
  display: grid; place-items: center; width: 100%; aspect-ratio: 128 / 143;
  border: 1px solid transparent; border-radius: 8px; background: transparent; padding: 14%; cursor: pointer; opacity: .6;
  transition: opacity .2s, border-color .2s;
}
.thumb img { max-height: 100%; object-fit: contain; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border: 3px solid var(--line); border-radius: 10px; opacity: 1; }
.pdp__gallery {
  --gallery-h: min(56vh, 520px);
  height: var(--gallery-h); overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; outline: none;
  overscroll-behavior: contain;
}
.pdp__gallery::-webkit-scrollbar { display: none; }
.pdp__slide { height: 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: start; }
.pdp__slide img { max-height: calc(var(--gallery-h) * .9); max-width: 100%; width: auto; object-fit: contain; }
.pdp__info { max-width: 720px; }
.pdp__desc { font-size: clamp(13px, 1.05vw, 20px); }
.pdp__fine { margin-top: 1.4em; font-size: clamp(10px, .62vw, 12px); line-height: 1.35; }
.pdp__price { font-family: var(--font-price); font-weight: 400; font-size: clamp(26px, 2.3vw, 44px); margin: .9em 0 .2em; letter-spacing: .01em; }
.pdp__stock { margin: 0 0 1em; font-size: .85em; opacity: .75; }
.pdp__form { margin-top: clamp(20px, 3vw, 60px); display: flex; gap: 12px; flex-wrap: wrap; }
.pdp__variant { font: inherit; border: 1px solid var(--line); background: transparent; padding: 0 12px; }

@media (max-width: 800px) {
  .pdp__body { grid-template-columns: 1fr; }
  .pdp__thumbs { order: 2; flex-direction: row; position: static; overflow-x: auto; }
  .pdp__thumbs li { flex: 0 0 72px; }
  .pdp__gallery { order: 1; --gallery-h: 52vh; scroll-snap-type: x mandatory; overflow-x: auto; overflow-y: hidden; display: flex; }
  .pdp__slide { flex: 0 0 100%; }
  .pdp__info { order: 3; }
}

/* ---------- Cart (mirrors the checkout/thank-you design) ---------- */
.cart { padding: clamp(96px, 7vw, 140px) clamp(16px, 10.6vw, 204px) 48px; }
.cart__layout { display: grid; grid-template-columns: minmax(0, 664px) minmax(0, 542px); justify-content: space-between; gap: clamp(24px, 4vw, 80px); align-items: start; }
.panel { background: var(--panel); border-radius: clamp(16px, 1.3vw, 24px); padding: clamp(20px, 2vw, 40px); margin-bottom: 10px; font-size: clamp(12px, .95vw, 18px); }
.ngo-logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 1.2vw, 22px); margin: 1.4em 0 0; padding: 0; }
.ngo-logos img { height: clamp(32px, 2.4vw, 46px); width: auto; }
.statement__from { display: flex; align-items: center; gap: .4em; }
.es-logo { height: 2.2em; width: auto; }
.cart__summary { position: sticky; top: 100px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.line { display: grid; grid-template-columns: clamp(64px, 6.7vw, 128px) 1fr auto; gap: clamp(14px, 1.5vw, 28px); align-items: start; }
.line__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 128 / 143; border: 2px solid var(--line); border-radius: 10px; padding: 14%; background: var(--panel); }
.line__thumb img { max-height: 100%; width: auto; object-fit: contain; }
.line__qty-badge { position: absolute; top: -14px; left: -14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 13px; }
.line__title { text-decoration: none; font-size: clamp(13px, 1.05vw, 20px); }
.line__meta { margin: .3em 0 0; opacity: .7; }
.line__controls { display: flex; gap: 12px; align-items: center; margin-top: .6em; font-size: .85em; }
.qty { width: 4em; font: inherit; border: 1px solid var(--line); background: transparent; padding: 4px 6px; }
.totals { display: grid; grid-template-columns: 1fr auto; margin: 0; row-gap: .25em; font-size: clamp(12px, .95vw, 18px); }
.totals dd { margin: 0; text-align: right; font-family: var(--font-price); }
.totals--grand { display: flex; justify-content: space-between; align-items: baseline; }
.totals__big { font-family: var(--font-price); font-size: clamp(18px, 1.5vw, 28px); }
.line__price { font-family: var(--font-price); }
.cart__actions { margin-top: 28px; display: flex; justify-content: flex-end; gap: 12px; }
.cart__empty { text-align: center; padding-top: 10vh; display: grid; gap: 20px; justify-items: center; }
@media (max-width: 900px) {
  .cart__layout { grid-template-columns: 1fr; }
  .cart__summary { position: static; order: -1; }
}

/* ---------- Simple pages ---------- */
.simple { padding: clamp(96px, 9vw, 179px) clamp(16px, 10vw, 193px) 48px; }
.simple__body { max-width: 70ch; margin: 2em auto 0; }
.simple--center { text-align: center; display: grid; gap: 20px; justify-items: center; }
.search-form { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.search-form input { font: inherit; border: 1px solid var(--line); background: transparent; padding: 0 12px; min-width: min(60vw, 360px); }
.pager { text-align: center; margin-top: 40px; }

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

/* ---------- Typography wrapping ---------- */
h1, h2, h3, .headline, .card__title, .focus__title, .line__title { text-wrap: balance; }
p, li, dd, .rte, .subline, .disclaimer, .pdp__desc, .focus__desc { text-wrap: pretty; }
.landing.is-focus .exp-pill { display: none; }

/* ---------- Focus panel (in-place product view from the experience canvas) ---------- */
.exp-stage { will-change: transform; }
.focus {
  --panel-line: 0;
  position: fixed; inset: 0 auto 0 0; z-index: 20;
  width: clamp(380px, 42vw, 820px);
  display: grid; grid-template-rows: auto auto 1fr; gap: clamp(12px, 1.6vw, 28px);
  padding: clamp(84px, 7vw, 128px) clamp(16px, 3vw, 56px) calc(var(--disclaimer-h, 80px) + 20px);
  box-shadow: inset -1px 0 0 color-mix(in srgb, var(--line) calc(var(--panel-line) * 100%), transparent);
  pointer-events: none;
}
.focus.is-open > * { pointer-events: auto; }
.focus__title {
  margin: 0; padding-right: 56px; color: var(--ink);
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase;
  font-size: clamp(22px, 2.5vw, 46px); line-height: 1.1; letter-spacing: var(--head-track);
}
.focus__close {
  position: absolute; top: clamp(80px, 6.8vw, 124px); right: clamp(16px, 2vw, 40px);
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--panel);
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.focus__close:hover { background: var(--ink); color: var(--bg); }
.focus__body { display: grid; grid-template-columns: clamp(44px, 3.4vw, 64px) 1fr; gap: clamp(10px, 1.4vw, 24px); height: 38vh; min-height: 220px; }
.focus__markee { list-style: none; margin: 0; padding: 2px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; align-self: center; max-height: 100%; }
.focus__markee::-webkit-scrollbar { display: none; }
.focus__thumb {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 12%;
  border: 1px solid transparent; border-radius: 6px; background: transparent; cursor: pointer; opacity: .45;
  transition: opacity .3s, border-color .3s;
}
.focus__thumb img { max-height: 100%; width: auto; object-fit: contain; }
.focus__thumb:hover { opacity: .8; }
.focus__thumb[aria-current="true"] { opacity: 1; border: 3px solid var(--line); border-radius: 10px; }
.focus__window { position: relative; overflow: hidden; height: 100%; cursor: grab; touch-action: none; }
.focus__window:active { cursor: grabbing; }
.focus__carousel { position: absolute; inset: 0 0 auto 0; will-change: transform; }
.focus__slide { height: 38vh; min-height: 220px; display: grid; place-items: center; }
.focus__slide img { width: auto; height: auto; max-width: 78%; max-height: calc(max(38vh, 220px) * .86); object-fit: contain; pointer-events: none; user-select: none; }
@media (max-width: 800px) { .focus__slide img { max-height: calc(max(36vh, 220px) * .86); } }
.focus__info { align-self: stretch; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1em; min-height: 0; }
.focus__buy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.focus__desc { max-height: none !important; height: 100%; padding-right: 8px; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.focus__price { margin: 0; font-family: var(--font-price); font-weight: 400; font-size: clamp(22px, 2vw, 40px); letter-spacing: .01em; }
.focus__desc { max-height: 20vh; overflow-y: auto; font-size: clamp(12px, .9vw, 17px); scrollbar-width: thin; }
.focus__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .focus { width: 100vw; }
  .focus__body, .focus__slide { height: 36vh; }
}

/* ---------- Page-to-page morph (cross-document View Transitions; ignored where unsupported) ---------- */
@view-transition { navigation: auto; }
/* The product picture glides (smooth in-out); the pages never dip: the old page stays fully opaque underneath
   while the new one fades in over it, so the background can't flash through mid-transition. */
::view-transition-group(*) { animation-duration: .75s; animation-timing-function: cubic-bezier(.65, 0, .25, 1); }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: .45s cubic-bezier(.33, 1, .68, 1) both vt-fade-in; }
@keyframes vt-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
/* Experience: items under the headline wait until the visitor moves, then pop in */
.exp-item.is-held { visibility: hidden; }

/* Paper grain: a still, fine print texture over everything (strength from theme settings; 0 = off).
   Monochrome fractal noise drawn once into a small tile; it never moves and never catches clicks. */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: var(--grain, 0.05);
  transform: translateZ(0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.7 0 0 0 -.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
@media print { html::after { display: none; } }

/* Drag response: products lean with the canvas's speed (values set on the canvas by theme.js) */
.exp-media img { transform: skewX(var(--lean-x, 0deg)) scale(var(--stretch-x, 1), var(--stretch-y, 1)); transform-origin: 50% 50%; }

/* Split headlines: letters stay grouped in their word, so lines only break between words */
.split-word { white-space: nowrap; }

/* ---------- Store mode (pre-launch reservations vs launch checkout) ---------- */
html[data-mode="launch"] .only-prelaunch, html:not([data-mode="launch"]) .only-launch { display: none !important; }
.mode-switch {
  position: fixed; z-index: 45; left: 12px; bottom: calc(var(--disclaimer-h, 80px) + 12px);
  display: flex; align-items: center; gap: 2px; padding: 3px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--panel); font-family: var(--font-head); font-size: 10px; text-transform: uppercase; letter-spacing: .03em;
}
.mode-switch__label { padding: 0 6px 0 8px; opacity: .6; }
.mode-switch button { border: 0; border-radius: 999px; padding: 6px 10px; background: transparent; cursor: pointer; font: inherit; }
.mode-switch button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
@media (max-width: 700px) { .exp-hint { display: none; } }

/* ---------- Cart + reservation (2nd pass: white panels on grey, pill fields) ---------- */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .6em; margin: 0 0 clamp(16px, 1.6vw, 28px); padding: 0; font-size: clamp(11px, .75vw, 14px); }
.crumbs li + li::before { content: ">"; margin-right: .6em; opacity: .6; }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs [aria-current] { font-weight: 600; }
.cart .cart__layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
.checkout__title { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; font-size: clamp(16px, 1.3vw, 24px); letter-spacing: .02em; margin: 0 0 1em; }
.checkout__label { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; font-size: clamp(11px, .8vw, 15px); letter-spacing: .03em; margin: 1.8em 0 1em; padding-bottom: .8em; border-bottom: 1px solid color-mix(in srgb, var(--line) 30%, transparent); }
.checkout { padding: clamp(96px, 7vw, 140px) clamp(16px, 6vw, 120px) 48px; }
.checkout__layout { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 520px); justify-content: space-between; gap: clamp(20px, 4vw, 80px); align-items: start; }
.checkout__summary { position: sticky; top: 100px; }
.checkout__summary-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.checkout__summary-head .checkout__label { margin: 0; border: 0; padding: 0; }
.checkout__summary .lines { margin-top: 1.4em; }
.checkout__fine { margin: 1.2em 0 0; font-size: .82em; opacity: .7; }
.checkout__actions { margin-top: 1.6em; }
.reserve-form__intro { opacity: .85; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; font-size: .92em; }
.field--wide { grid-column: 1 / -1; }
.field input {
  font: inherit; color: inherit; width: 100%; min-height: 44px; padding: 0 1.1em;
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent); border-radius: 999px; background: var(--panel);
}
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.check { display: flex; gap: .7em; align-items: flex-start; margin-top: 1.4em; font-size: .9em; }
.check input { width: 18px; height: 18px; margin: .1em 0 0; accent-color: var(--ink); flex: none; }
.form-error { margin: 0 0 1em; padding: .8em 1em; border-radius: 12px; background: #fde2e1; color: #8a1410; }
.badge { display: inline-flex; padding: .35em .9em; border-radius: 999px; background: #dff1e6; color: #1f6b3d; font-size: .85em; font-weight: 600; }
.reserve-done__head { display: grid; grid-template-columns: auto 1fr; gap: .4em 1em; align-items: center; }
.reserve-done__head .rte, .reserve-done__head .btn { grid-column: 1 / -1; justify-self: start; }
.reserve-done__head .rte { margin: 1em 0 .4em; }
.tick { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); font-weight: 700; }
.reserve-done__code, .reserve-done__name { margin: 0; }
.reserve-done__name { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(16px, 1.3vw, 24px); }
.reserve-empty { text-align: center; padding-top: 10vh; display: grid; gap: 20px; justify-items: center; }
.reserve-done .statement { margin-top: 10px; }
@media (max-width: 900px) {
  .checkout__layout { grid-template-columns: 1fr; }
  .checkout__summary { position: static; order: -1; }
  .fields { grid-template-columns: 1fr; }
}

/* First paint on the home page: keep the chrome hidden until the intro brings it in (theme.js removes .is-intro). */
html.is-intro .view-toggle, html.is-intro .exp-center, html.is-intro .exp-controls,
html.is-intro .site-header, html.is-intro .mode-switch, html.is-intro .landing__grid { visibility: hidden; }

/* Morphing product pictures: keep the whole picture visible (letterboxed, never cropped or stretched)
   while the box changes shape between the canvas/grid and the product page. */
::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: contain; }

/* First frame on product and cart pages: parts that animate in start hidden (theme.js removes .pre-anim).
   The main product picture is never hidden: it's the morph target. */
html.pre-anim .pdp__title, html.pre-anim .pdp__thumbs li, html.pre-anim .pdp__info > *,
html.pre-anim .cart .panel, html.pre-anim .cart .line, html.pre-anim .cart .totals, html.pre-anim .cart__actions { visibility: hidden; }

/* ---------- About + FAQ ---------- */
.disclaimer__link { text-decoration: underline; text-underline-offset: .15em; white-space: nowrap; }
.disclaimer__link:hover { text-decoration-thickness: 2px; }
.faq__title { color: var(--ink); text-shadow: none; font-size: clamp(26px, 3vw, 56px); }
.faq__intro { max-width: 60ch; margin: 1.2em auto 0; text-align: center; }
.faq__list { max-width: 820px; margin: clamp(24px, 3vw, 48px) auto 0; }
.faq__item { padding: 0; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(16px, 1.6vw, 26px) clamp(18px, 2vw, 32px); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h2 { margin: 0; font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(14px, 1.1vw, 20px); line-height: 1.2; }
.faq__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; font-weight: 700; transition: transform .3s, background .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--yellow); }
.faq__a { padding: 0 clamp(18px, 2vw, 32px) clamp(16px, 1.6vw, 26px); }
.faq__cta { text-align: center; margin-top: clamp(24px, 3vw, 48px); }
