/* VALDE — shared brand layer.
   Colours and type are taken only from the VALDE Brand Guidelines (Edition 01, 2026):
   Valde Orange #F94B05 (accent only), Charcoal #231F20, Deep Black #050505,
   Mist #E7E8E7, Spring White #FCFDFC, and the guideline's own text greys #4A4647 / #7A7576.
   One typeface: Inter (Regular, Medium, SemiBold, Bold). */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --orange: #F94B05;
  --charcoal: #231F20;
  --black: #050505;
  --mist: #E7E8E7;
  --white: #FCFDFC;
  --grey-dark: #4A4647;
  --grey: #7A7576;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Guideline type scale: Display 88/92 −3% · Heading 36/44 · Body 18/30 · Label 12 +16% caps */
  --t-display: clamp(52px, 6.4vw, 104px);
  --t-heading: clamp(30px, 2.6vw, 40px);
  --t-lead: clamp(20px, 1.7vw, 24px);
  --t-body: 18px;
  --t-small: 15px;
  --t-label: 13px;

  --margin: clamp(20px, 3.4vw, 48px);
  --gap-section: clamp(120px, 14vw, 220px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.66;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
html { scroll-padding-top: 96px; touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--orange); color: var(--black); }

.sr-only {
  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 {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px;
  background: var(--white); color: var(--black); transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip:focus { transform: none; }

/* Display and heading roles from the guideline */
.display { font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.heading { font-size: var(--t-heading); line-height: 1.18; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.lead { font-size: var(--t-lead); line-height: 1.45; letter-spacing: -0.01em; }
.small { font-size: var(--t-small); line-height: 1.55; }
/* The guideline's own Label style (Inter Medium, caps, +16%) — used only where the brand uses it: format and size lines. */
.label { font-size: var(--t-label); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4; }
.num { font-variant-numeric: tabular-nums; }

/* The wordmark. Paths are the exact vectors from the guideline; colour roles are set per page. */
.wm { display: block; height: auto; }
.wm use { --wm-ink: currentColor; }

/* Buttons: one shape, square corners, decided once for every page. */
.btn {
  --btn-bg: var(--orange); --btn-ink: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 0;
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: 16px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none;
  transition: transform .25s var(--ease-out), background-color .25s var(--ease-out), color .25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--ink { --btn-bg: var(--charcoal); --btn-ink: var(--white); }
.btn--white { --btn-bg: var(--white); --btn-ink: var(--charcoal); }
.btn--white:hover, .btn--ink:hover { --btn-bg: var(--orange); --btn-ink: var(--black); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 0.25em; transition: color .2s;
}
.link:hover { color: var(--orange); }

/* Cart button in each page's bar */
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; background: none; border: 0; padding: 0 4px; font-size: 15px; font-weight: 500; }
.cart-btn .count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  background: var(--orange); color: var(--black); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: transform .35s var(--ease-out);
}
.cart-btn .count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Order drawer — shared by all three options */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(5 5 5 / .55); opacity: 0; transition: opacity .4s var(--ease-out); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 100%);
  background: var(--white); color: var(--charcoal); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .55s var(--ease-out);
  box-shadow: -30px 0 60px rgb(5 5 5 / .25);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; }
.drawer__head h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.drawer__close { background: none; border: 0; min-width: 44px; min-height: 44px; font-size: 15px; font-weight: 500; }
.drawer__close:hover { color: var(--orange); }
.drawer__list { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0 28px; }
.drawer__empty { color: var(--grey-dark); padding: 24px 0; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; }
.line + .line { box-shadow: inset 0 1px 0 var(--mist); }
.line img { width: 76px; height: 76px; object-fit: cover; background: var(--mist); }
.line__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.line__meta { font-size: 14px; color: var(--grey-dark); }
.qty { display: inline-flex; align-items: center; margin-top: 6px; background: var(--mist); }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; }
.qty button:hover { color: var(--orange); }
.qty output { min-width: 28px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.line__price { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.drawer__foot { padding: 22px 28px 28px; background: var(--mist); }
.drawer__total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.drawer__note { font-size: 14px; color: var(--grey-dark); margin-bottom: 16px; }
.drawer__foot .btn { width: 100%; }

/* Toast after adding to the order */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 140%);
  background: var(--charcoal); color: var(--white); padding: 14px 20px; font-size: 15px;
  display: flex; gap: 14px; align-items: center; transition: transform .5s var(--ease-out);
  box-shadow: 0 12px 40px rgb(5 5 5 / .3);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast button { background: none; border: 0; color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; min-height: 32px; }

/* Entrances: content is visible without script; only pages that run the script hide-then-reveal. */
.js [data-reveal] > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal].is-in > *:nth-child(5) { transition-delay: .32s; }
.js [data-reveal].is-in > *:nth-child(6) { transition-delay: .40s; }

/* Line-by-line headline reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.split.is-in .w > span { transform: none; }

/* Option switcher shown on every concept page (for the client presentation) */
.switcher {
  position: fixed; left: 50%; bottom: 18px; z-index: 80; transform: translateX(-50%);
  display: flex; gap: 2px; background: var(--black); padding: 4px; font-size: 13px;
}
.switcher { transition: transform .45s var(--ease-out); }
.switcher.is-hidden { transform: translate(-50%, calc(100% + 24px)); }
.switcher:focus-within { transform: translateX(-50%); }
.switcher a { color: var(--mist); text-decoration: none; padding: 8px 12px; min-height: 36px; display: inline-flex; align-items: center; }
.switcher a[aria-current="page"] { background: var(--orange); color: var(--black); font-weight: 600; }
.switcher a:hover:not([aria-current]) { color: var(--white); }
@media (max-width: 760px) {
  .switcher { bottom: 10px; font-size: 12px; white-space: nowrap; }
  .switcher a { padding: 6px 8px; min-height: 32px; }
  .switcher a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] > * { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}
