/* Upwind Mauritius, concept 2: altina.co flow and proportions, Upwind brand on white.
   Sizes in px follow design-ref/ref-altina-spec.md (desktop 1440 x 900, mobile 390). */

:root {
  --ink: #08182F;
  --ink-soft: rgba(8, 24, 47, 0.66);
  --ink-faint: rgba(8, 24, 47, 0.38);
  --label: #6B7380;
  --copper: #CB7949;
  --page: #F6F2EB;     /* page background, same as the fleet portal demo's --bg */
  --white: #FFFDF9;    /* boxes behind the bottles (demo --surface) */
  --surface: #EFE9DF;  /* cards (demo --bg-2) */
  --line: rgba(8, 24, 47, 0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Open Sans', system-ui, sans-serif;
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Cormorant defaults to old-style figures ('1' reads as 'I'); the font shorthand resets this, hence !important. */
* { font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em { font-style: italic; color: var(--copper); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 40px; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- Display type ---------- */
.d-110, .d-82, .d-64, .d-54, .d-52, .d-32 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.04em; }
.d-110 { font-size: 110px; line-height: 1.1; }
.d-82 { font-size: 82px; line-height: 1.1; }
.d-64 { font-size: 64px; line-height: 1.1; }
.d-54 { font-size: 54px; line-height: 1.1; }
.d-52 { font-size: 52px; line-height: 1.1; }
.d-32 { font-size: 32px; line-height: 1.1; }
.body-20 { font: 400 20px/26px var(--sans); letter-spacing: 0.01em; color: var(--ink-soft); margin: 0; }
.body-18 { font: 400 18px/23.4px var(--sans); letter-spacing: 0.01em; color: var(--ink-soft); margin: 0; }
.label { font: 500 11px/1.4 var(--sans); letter-spacing: 0.01em; text-transform: uppercase; color: var(--label); margin: 0; }

/* ---------- Header (spec 4) ---------- */
.hdr-logo {
  position: fixed; top: 16px; left: 50%; z-index: 40;
  display: flex; align-items: center; gap: 10px; height: 48px;
  text-decoration: none; color: var(--ink);
  transform: translate(-50%, 0);
  transition: transform 0.38s var(--expo);
}
.hdr-logo img { height: 44px; width: auto; }
.hdr-word { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.hdr-word b { font: 600 21px/1 var(--serif); letter-spacing: 0.2em; }
.hdr-word small { font: 500 8.5px/1 var(--sans); letter-spacing: 0.46em; margin-top: 5px; }
.hdr-pill {
  position: fixed; top: 24px; right: 24px; z-index: 40;
  height: 44px; padding: 0 16px; border-radius: 22px;
  display: inline-flex; align-items: center;
  background: rgba(8, 24, 47, 0.5); color: #fff; text-decoration: none;
  font: 500 22px/1 var(--serif); letter-spacing: -0.01em;
  transition: transform 0.38s var(--expo), background-color 0.25s ease;
}
.hdr-pill:hover { background: rgba(8, 24, 47, 0.85); }
.hdr-hidden .hdr-logo { transform: translate(-50%, -64px); }
.hdr-hidden .hdr-pill { transform: translateY(-70px); }

/* ---------- Hero (spec 2.1) ---------- */
.hero { position: relative; height: 900px; overflow: hidden; background: var(--page); }
.hero-text { position: absolute; top: 223px; left: 0; right: 0; text-align: center; z-index: 2; padding: 0 24px; }
.hero h1 { white-space: nowrap; color: var(--ink); }
.hero-copy { width: 560px; max-width: 100%; margin: 16px auto 0; }
.hero-copy p + p { margin-top: 26px; }
.hero-shots {
  position: absolute; left: 50%; top: 522px; z-index: 1;
  display: flex; align-items: flex-end; gap: 14px; width: max-content;
  height: 470px; transform: translateX(-50%);
}
.hero-shots img { width: auto; transform: translateY(40px); opacity: 0; transition: transform 1.1s var(--expo), opacity 0.6s ease; }
.is-loaded .hero-shots img { transform: none; opacity: 1; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; background: linear-gradient(180deg, rgba(246, 242, 235, 0) 0%, rgba(246, 242, 235, 0.7) 55%, var(--page) 100%); pointer-events: none; }

/* ---------- Full-bleed block (spec 2.2) ---------- */
.partner { position: relative; height: 900px; overflow: hidden; background: var(--ink); color: #fff; text-align: center; }
.partner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.partner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 15, 30, 0) 50%, rgba(5, 15, 30, 0.62) 100%); }
.partner-top { position: absolute; top: 86px; left: 0; right: 0; z-index: 1; }
.partner-kicker { font: 500 28px/30.8px var(--serif); letter-spacing: -0.04em; margin: 0; color: #fff; }
.partner-mark { display: inline-flex; align-items: center; height: 50px; margin-top: 20px; font: 600 19px/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase; color: #fff; padding-left: 0.34em; }
.partner-mark sup { font-size: 0.5em; letter-spacing: 0; margin-left: 2px; }
.partner-text { position: absolute; left: 50%; bottom: 97px; z-index: 1; width: 615px; max-width: calc(100% - 36px); transform: translateX(-50%); margin: 0; font: 400 24px/31.2px var(--sans); letter-spacing: 0.01em; color: #fff; }

/* ---------- Growing photo stage (spec 2.3, motion 3 to 6) ---------- */
.hear { position: relative; height: calc(100vh + 1080px); background: var(--page); }
.hear-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hear-title { position: absolute; top: calc(50vh - 292px); left: 50%; width: 640px; margin-left: -320px; text-align: center; color: var(--ink); z-index: 1; will-change: transform, opacity; }
.hear-photo { position: absolute; left: 50%; top: 50%; width: 100%; height: 100vh; z-index: 2; overflow: hidden; transform: translate(-50%, -50%) scale(0.3); will-change: transform; background: var(--surface); }
.hear-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hear-scrim { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(5, 15, 30, 0.22) 0%, rgba(5, 15, 30, 0.34) 40%, rgba(5, 15, 30, 0.74) 100%); }
.hear-statement { position: absolute; left: 50%; bottom: 96px; width: 880px; margin: 0 0 0 -440px; text-align: center; color: #fff; font: 500 52px/57.2px var(--serif); letter-spacing: -0.04em; }
.hear-statement .w { opacity: 0; }

/* ---------- Pinned three-step stage (spec 2.4, motion 7) ---------- */
.steps { position: relative; height: calc(100vh + 2070px); background: var(--page); }
.steps-stage { position: sticky; top: 0; height: 100vh; text-align: center; overflow: hidden; }
.steps-stage > * { position: absolute; left: 0; right: 0; margin-left: auto; margin-right: auto; }
.steps-stage h2 { bottom: calc(50vh + 214px); width: 680px; max-width: calc(100% - 32px); color: var(--ink); }
.steps-cards { top: calc(50vh - 185px); width: 621px; height: 373px; }
.step-card { position: absolute; inset: 0; background: var(--surface); opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; text-align: left; }
.step-card.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s; }
.step-card-name { position: absolute; left: 20px; top: 18px; margin: 0; font: 500 24px/1.1 var(--serif); letter-spacing: -0.02em; }
.step-card-count { position: absolute; left: 20px; top: 48px; }
.step-card .outline-pill { position: absolute; right: 16px; top: 16px; height: 40px; padding: 0 16px; font-size: 13px; }
.step-shots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: flex-end; gap: 18px; }
.step-shot { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.step-shot img { height: 250px; width: auto; }
.step-shot img.low { max-height: min(250px, var(--native)); }
.step-shot span { font: 500 11px/1 var(--sans); letter-spacing: 0.02em; color: var(--label); }
.steps-captions { top: calc(50vh + 210px); width: 640px; max-width: calc(100% - 32px); height: 78px; }
.step-cap { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; transition: opacity 0.45s ease; }
.step-cap.is-on { opacity: 1; }
.steps-dots { top: calc(50vh + 306px); display: flex; align-items: center; justify-content: center; gap: 12px; }
.dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.25); display: grid; place-items: center; font: 500 16px/1 var(--serif); color: var(--ink); transition: background-color 0.2s ease; }
.dot-a { background: var(--ink); border-color: var(--ink); color: #fff; }
.dot-b:hover { background: rgba(0, 0, 0, 0.06); }
.track { position: relative; width: 266px; height: 1px; background: rgba(8, 24, 47, 0.16); overflow: hidden; }
.track i { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--ink); transform-origin: 0 0; transform: scaleX(0); }
.steps-after { text-align: center; padding: 8px 24px 96px; }

/* ---------- Buttons and links ---------- */
.outline-pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 22px; border-radius: 52px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); text-decoration: none; overflow: hidden; isolation: isolate;
  font: 500 14px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  transition: color 0.35s var(--expo);
}
.outline-pill::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--expo); }
.outline-pill:hover, .outline-pill.added { color: #fff; }
.outline-pill:hover::before, .outline-pill.added::before { transform: scaleX(1); }
.outline-pill.sm { height: 40px; padding: 0 16px; font-size: 13px; }
.text-link { font: 500 20px/1.2 var(--serif); letter-spacing: -0.01em; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(8, 24, 47, 0.3); transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.text-link:hover { color: var(--copper); text-decoration-color: var(--copper); }
.circle-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(8, 24, 47, 0.25); display: inline-grid; place-items: center; flex: none; transition: background-color 0.2s ease; }
.circle-arrow svg { width: 14px; height: 14px; }

/* ---------- Adviser ---------- */
.adviser { min-height: 900px; padding: 150px 24px 130px; text-align: center; background: var(--page); }
.adviser h2 { max-width: 700px; margin: 0 auto; }
.adviser-form { display: flex; align-items: center; gap: 16px; width: 700px; max-width: 100%; margin: 44px auto 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.big-field { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0; height: 56px; font: 500 32px/35.2px var(--serif); letter-spacing: -0.04em; color: var(--ink); border-radius: 4px; }
.big-field::placeholder { color: var(--ink-faint); }
.big-field:focus { outline: none; }
.big-field:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.option-rows { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 820px; max-width: 100%; margin: 28px auto 0; }
.option-row { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px; border: 0; border-radius: 38px; background: rgba(8, 24, 47, 0.045); color: var(--ink); font: 500 18px/1 var(--serif); letter-spacing: -0.01em; transition: background-color 0.2s ease; }
.option-row::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(8, 24, 47, 0.55); flex: none; }
.option-row:hover { background: rgba(8, 24, 47, 0.08); }
.option-row[aria-pressed='true'] { background: rgba(8, 24, 47, 0.1); }
.option-row[aria-pressed='true']::before { background: var(--ink); border-color: var(--ink); }
.result-card { width: 700px; max-width: 100%; margin: 36px auto 0; padding: 24px; background: var(--surface); border-radius: 12px; text-align: left; }
.result-card h3 { margin: 10px 0 18px; }
.result-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.result-step { display: grid; grid-template-columns: 30px 48px 1fr; gap: 14px; align-items: center; padding: 10px 12px; background: var(--white); border-radius: 12px; }
.result-step .dot { background: transparent; }
.result-step-img { height: 84px; display: grid; place-items: center; }
.result-step-img img { max-height: 84px; width: auto; }
.result-step-img img.low { max-height: min(84px, var(--native)); }
.result-step-name { margin: 0; font: 500 22px/1.15 var(--serif); letter-spacing: -0.02em; }
.result-step-name a { text-decoration: none; }
.result-step-name a:hover { color: var(--copper); }
.result-step-name .num { font: 500 11px/1 var(--sans); letter-spacing: 0.04em; color: var(--label); margin-right: 8px; vertical-align: 3px; }
.result-step-why { margin: 4px 0 0; font: 400 14px/1.45 var(--sans); color: var(--ink-soft); }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.demo-note { margin: 22px 0 0; font: 400 12px/1.4 var(--sans); color: var(--label); }

/* ---------- Range (about-card language) ---------- */
.range { padding: 140px 24px 150px; background: var(--page); text-align: center; }
.range h2 { max-width: 760px; margin: 0 auto; }
.range-sub { margin-top: 16px !important; }
.range-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1392px; margin: 56px auto 0; text-align: left; }
.cat-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--surface); border-radius: 12px; text-decoration: none; color: var(--ink); }
.chip { align-self: flex-start; padding: 3px 6px; border: 1px solid rgba(8, 24, 47, 0.2); border-radius: 4px; font: 500 10.5px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--label); }
.cat-card-title { margin: 0; font: 500 26px/1.1 var(--serif); letter-spacing: -0.03em; min-height: 57px; }
.cat-shots { height: 200px; background: var(--white); border-radius: 8px; display: flex; align-items: flex-end; justify-content: center; padding: 18px 10px 14px; overflow: hidden; }
.cat-shots img { height: 168px; width: auto; margin: 0 -8px; }
.cat-shots img.low { max-height: min(168px, var(--native)); }
.cat-shots img:nth-child(2) { height: 150px; }
.cat-shots img:nth-child(3) { height: 138px; }
.cat-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font: 500 18px/1 var(--serif); }
.cat-card:hover .circle-arrow { background: rgba(0, 0, 0, 0.06); }
.range-all { margin-top: 40px; }

/* ---------- Split (spec 2.5) ---------- */
.split { display: grid; grid-template-columns: 50% 50%; background: var(--page); }
.split-panel { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.split-inner { width: 469px; max-width: calc(100% - 48px); }
.split-lead { margin-top: 26px !important; color: var(--ink) !important; line-height: 26px !important; }
.split-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.split-list li { font: 400 20px/29px var(--sans); letter-spacing: 0.01em; color: var(--ink-soft); }
.split-right figure { margin: 0; }
.split-right img { width: 100%; height: 28.125vw; object-fit: cover; }

/* ---------- Footer (spec 2.5b) ---------- */
.site-footer { background: var(--surface); color: var(--ink); }
.ft-main { display: grid; grid-template-columns: 50% 50%; min-height: 560px; border-top: 1px solid var(--line); }
.ft-left { position: relative; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.ft-logo { display: inline-flex; align-items: center; gap: 9px; margin: 32px 0 0 24px; align-self: flex-start; text-decoration: none; color: var(--ink); }
.ft-logo img { height: 40px; width: auto; }
.ft-caption { margin: 0 0 26px 24px; width: 220px; font: 400 12px/15.6px var(--sans); letter-spacing: 0.01em; color: var(--ink-soft); }
.ft-form { display: flex; align-items: center; gap: 16px; padding: 24px 32px 24px 24px; border-top: 1px solid var(--line); position: relative; }
.ft-form .outline-pill { flex: none; }
.nl-msg { position: absolute; left: 24px; bottom: 4px; margin: 0; font: 400 12px/1.3 var(--sans); color: var(--ink-soft); }
.ft-right { display: flex; flex-direction: column; }
.ft-top { position: relative; display: flex; gap: 0; padding: 38px 32px 40px; min-height: 310px; border-bottom: 1px solid var(--line); }
.ft-col { width: 217px; display: flex; flex-direction: column; }
.ft-col .label { margin-bottom: 18px; }
.ft-col a, .ft-big, .ft-mid { font-family: var(--serif); font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -0.04em; transition: color 0.2s ease; }
.ft-col a { font-size: 32px; line-height: 37px; }
.ft-col a:hover, .ft-big:hover { color: var(--copper); }
.ft-up { position: absolute; top: 32px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(8, 24, 47, 0.25); background: transparent; display: grid; place-items: center; transition: background-color 0.2s ease; }
.ft-up:hover { background: rgba(0, 0, 0, 0.06); }
.ft-up svg { width: 16px; height: 16px; }
.ft-bottom { padding: 36px 24px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.ft-big { display: inline-block; align-self: flex-start; margin-top: 22px; padding: 0; border: 0; background: none; font-size: 56px; line-height: 61.6px; text-align: left; }
.ft-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 28px; }
.ft-mid { display: block; font-size: 24px; line-height: 26.4px; margin-top: 12px; }
.ft-legal { margin: 0; text-align: right; font: 400 12px/1.6 var(--sans); color: var(--ink-soft); }
.ft-legal span { display: block; }
.ft-strip { position: relative; height: 340px; overflow: hidden; border-top: 1px solid var(--line); }
.ft-strip-row { position: absolute; left: 50%; top: 44px; width: max-content; display: flex; align-items: flex-start; gap: 26px; transform: translateX(-50%); }
.ft-strip-row img { height: 500px; width: auto; }
.ft-strip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--surface) 0%, rgba(239, 233, 223, 0.55) 34%, rgba(239, 233, 223, 0) 70%); pointer-events: none; }

/* ---------- Floating order pill + card (spec 5.10, 6, 7) ---------- */
.order-dock { position: fixed; left: 50%; bottom: 24px; z-index: 60; width: 220px; height: 46px; transform: translateX(-50%); }
.order-pill {
  position: absolute; right: 0; bottom: 0; width: 220px; height: 46px; padding: 0; border: 0; border-radius: 39px;
  background: var(--ink); color: #fff; overflow: hidden;
  transition: width 0.42s var(--expo), right 0.42s var(--expo);
}
.op-label { position: absolute; left: 18px; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap; transition: color 0.3s ease, opacity 0.2s ease; }
.op-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, 0.14); font: 600 12px/1 var(--sans); }
.op-count.bump { animation: bump 0.36s var(--expo); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.op-disc { position: absolute; right: 4px; top: 4px; z-index: 1; width: 38px; height: 38px; border-radius: 19px; background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: flex-end; padding-right: 11px; transition: width 0.42s var(--expo), opacity 0.3s ease; }
.op-disc svg { width: 16px; height: 16px; flex: none; }
.op-x { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 0.2s ease; }
.op-x svg { width: 18px; height: 18px; }
.order-pill:hover .op-disc, .order-pill:focus-visible .op-disc { width: calc(100% - 8px); }
.order-pill:hover .op-label, .order-pill:focus-visible .op-label { color: var(--ink); }
.order-pill:hover .op-count, .order-pill:focus-visible .op-count { background: rgba(8, 24, 47, 0.08); }
.is-open .order-pill { width: 46px; right: 87px; }
.is-open .op-label, .is-open .op-disc { opacity: 0; }
.is-open .op-x { opacity: 1; }
.order-card {
  position: absolute; left: 50%; bottom: 52px; width: 320px; margin-left: -160px;
  max-height: calc(100vh - 120px); overflow: auto; overscroll-behavior: contain;
  background: var(--ink); color: #fff; border-radius: 26px; padding: 22px 10px 10px;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.96); transform-origin: 50% 100%;
  transition: opacity 0.18s ease, transform 0.24s var(--expo), visibility 0s linear 0.24s;
}
.is-open .order-card { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.24s var(--expo), visibility 0s; }
.order-title { margin: 0 6px; text-align: center; font: 500 22px/25.3px var(--serif); letter-spacing: -0.02em; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.order-line { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 12px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); }
.order-line-img { height: 70px; display: grid; place-items: center; }
.order-line-img img { max-height: 70px; width: auto; }
.order-line-img img.low { max-height: min(70px, var(--native)); }
.order-line-num { margin: 0; font: 500 10.5px/1 var(--sans); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55); }
.order-line-name { margin: 4px 0 6px; font: 500 18px/1.1 var(--serif); letter-spacing: -0.01em; }
.order-line-name a { text-decoration: none; }
.order-line-size { margin: 0 0 6px; font: 400 12px/1.3 var(--sans); color: rgba(255, 255, 255, 0.7); }
.order-select { width: 100%; height: 34px; margin-bottom: 8px; padding: 0 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.06); color: #fff; font: 400 12.5px/1 var(--sans); }
.order-select option { color: var(--ink); }
.order-line-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qty { display: inline-flex; align-items: center; height: 34px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.15); }
.qty button { width: 34px; height: 32px; border: 0; background: none; color: inherit; font: 400 16px/1 var(--sans); border-radius: 50%; }
.qty input { width: 30px; height: 32px; border: 0; background: none; color: inherit; text-align: center; font: 500 13px/1 var(--sans); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.order-remove { border: 0; background: none; padding: 6px 2px; color: rgba(255, 255, 255, 0.7); font: 400 12px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.order-remove:hover { color: #fff; }
.order-empty { margin: 0 8px; text-align: center; font: 400 14px/1.5 var(--sans); color: rgba(255, 255, 255, 0.75); }
.order-empty a { color: #fff; }
.order-note { margin: 0 8px; text-align: center; font: 400 12px/16.8px var(--sans); color: rgba(255, 255, 255, 0.7); }
.light-pill { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 100px; background: var(--white); color: var(--ink); text-decoration: none; font: 500 15px/1 var(--sans); }
.light-pill svg { width: 16px; height: 16px; }
.light-pill[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }
.order-clear { align-self: center; border: 0; background: none; color: rgba(255, 255, 255, 0.6); font: 400 12px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; padding: 4px 8px 8px; }
.order-card :focus-visible { outline-color: #fff; }

/* ---------- Mobile (390) ---------- */
@media (max-width: 760px) {
  .d-110 { font-size: 64px; line-height: 57.6px; letter-spacing: -0.04em; }
  .d-82 { font-size: 56px; line-height: 1.02; }
  .d-64 { font-size: 44px; line-height: 48.4px; }
  .d-54, .d-52 { font-size: 32px; line-height: 35.2px; }
  .body-20 { font-size: 18px; line-height: 23.4px; }
  .hdr-logo { height: 36px; }
  .hdr-logo img { height: 34px; }
  .hdr-word b { font-size: 16px; }
  .hdr-word small { font-size: 7px; letter-spacing: 0.4em; margin-top: 4px; }
  .hdr-pill { top: 16px; right: 16px; font-size: 18px; height: 36px; padding: 0 13px; }
  .hero { height: 900px; }
  .hero-text { top: 196px; padding: 0 16px; }
  .hero h1 { white-space: normal; }
  .hero-copy { margin-top: 18px; }
  .hero-copy p + p { margin-top: 16px; font-size: 15px; line-height: 19.5px; }
  .hero-shots { top: 470px; height: 470px; gap: 8px; }
  .hero-fade { height: 110px; }
  .partner { height: 600px; }
  .partner > img { object-position: 92% 50%; }
  .partner-top { top: 64px; }
  .partner-kicker { font-size: 20px; line-height: 22px; }
  .partner-mark { font-size: 15px; height: 40px; margin-top: 12px; }
  .partner-text { bottom: 48px; width: 355px; font-size: 18px; line-height: 23.4px; }
  .hear { height: calc(100vh + 860px); }
  .hear-title { width: 350px; margin-left: -175px; top: calc(50vh - 300px); }
  .hear-photo { width: max(100vw, 56.25vh); height: max(100vh, 177.78vw); transform: translate(-50%, -50%) scale(0.4); }
  .hear-statement { width: 350px; margin-left: -175px; top: calc(50% - 50vh + 52px); bottom: auto; font-size: 28px; line-height: 30.8px; }
  .steps-stage h2 { width: 340px; bottom: calc(50vh + 150px); }
  .steps-cards { width: 100vw; height: 60vw; top: calc(50vh - 130px); }
  .step-card-name { font-size: 20px; left: 14px; top: 12px; }
  .step-card-count { left: 14px; top: 36px; }
  .step-card .outline-pill { right: 10px; top: 10px; height: 34px; padding: 0 12px; font-size: 12px; }
  .step-card .pill-long { display: none; }
  .step-card-name { right: 80px; }
  .step-shots { bottom: 12px; gap: 10px; }
  .step-shot img { height: 128px; }
  .step-shot img.low { max-height: min(128px, var(--native)); }
  .steps-captions { width: 350px; height: 104px; top: calc(50vh + 118px); }
  .steps-dots { top: calc(50vh + 232px); }
  .adviser { min-height: 0; padding: 110px 16px 96px; }
  .adviser-form { flex-direction: column; align-items: stretch; border-bottom: 0; margin-top: 32px; gap: 14px; }
  .adviser-form .big-field { font-size: 26px; border-bottom: 1px solid var(--line); height: 52px; }
  .option-row { height: 44px; font-size: 17px; padding: 0 14px; }
  .result-card { padding: 16px; }
  .result-step { grid-template-columns: 30px 40px 1fr; gap: 10px; padding: 10px; }
  .range { padding: 104px 16px 110px; }
  .range-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .cat-card { padding: 12px; gap: 10px; }
  .cat-card-title { font-size: 20px; min-height: 44px; }
  .cat-shots { height: 140px; padding: 12px 6px 10px; }
  .cat-shots img { height: 116px; }
  .cat-shots img.low { max-height: min(116px, var(--native)); }
  .cat-shots img:nth-child(2) { height: 104px; }
  .cat-shots img:nth-child(3) { height: 96px; }
  .cat-card-foot { font-size: 15px; padding-top: 10px; }
  .circle-arrow { width: 26px; height: 26px; }
  .split { display: block; padding: 96px 0 72px; }
  .split-panel { position: static; height: auto; }
  .split-inner { width: 100%; max-width: none; padding: 0 20px; }
  .split-lead, .split-list li { font-size: 18px !important; line-height: 23.4px !important; }
  .split-right { display: flex; gap: 10px; margin-top: 40px; width: max-content; will-change: transform; transform: translateX(-9px); }
  .split-right figure { width: 356px; flex: none; }
  .split-right img { height: 200px; }
  .split-clip { overflow: hidden; }
  .ft-main { display: block; min-height: 0; }
  .ft-left { border-right: 0; }
  .ft-caption { margin-top: 48px; }
  .ft-form { flex-direction: column; align-items: stretch; padding: 18px 16px 30px; }
  .ft-form .big-field { font-size: 26px; }
  .ft-top { padding: 32px 16px; min-height: 0; border-top: 1px solid var(--line); }
  .ft-col { width: 50%; }
  .ft-col a { font-size: 24px; line-height: 30px; }
  .ft-up { top: 24px; right: 16px; }
  .ft-bottom { padding: 28px 16px 24px; }
  .ft-big { font-size: 42px; line-height: 46px; }
  .ft-row { flex-direction: column; align-items: flex-start; }
  .ft-legal { text-align: left; }
  .ft-strip { height: 140px; }
  .ft-strip-row { top: 24px; gap: 10px; }
  .ft-strip-row img { height: 250px; }
}

/* ---------- Reduced motion: no scrubbing, every stage at its end state ---------- */
.rm .hero-shots img { transform: none; opacity: 1; transition: none; }
.rm .hear { height: auto; }
.rm .hear-stage { position: relative; height: auto; overflow: visible; padding-top: 120px; }
.rm .hear-title { position: relative; top: auto; left: auto; margin: 0 auto 56px; }
.rm .hear-photo { position: relative; left: auto; top: auto; transform: none; width: 100%; height: 100vh; }
.rm .hear-scrim, .rm .hear-statement .w { opacity: 1; }
.rm .steps { height: auto; }
.rm .steps-stage { position: relative; height: auto; padding: 120px 0 24px; display: grid; justify-items: center; gap: 28px; }
.rm .steps-stage > * { position: relative; top: auto; bottom: auto; }
.rm .steps-cards, .rm .steps-captions { height: auto; display: grid; gap: 16px; }
.rm .step-card, .rm .step-cap { position: relative; opacity: 1; visibility: visible; }
.rm .step-card { aspect-ratio: 5 / 3; }
.rm .steps-dots { display: none; }
.rm .split-right { transform: none; }
.rm * { transition-duration: 0s !important; animation: none !important; }

/* =========================================================
   Inner pages (white, serif display, pills, cards radius 12, no shadows)
   ========================================================= */
.page-head { padding: 190px 24px 56px; text-align: center; }
.page-head h1 { max-width: 900px; margin: 0 auto; }
.page-head .body-18 { width: 560px; max-width: 100%; margin: 18px auto 0; }
.page-foot-gap { height: 140px; }

/* Products: search + filter pills */
.filters { max-width: 1100px; margin: 0 auto; padding: 0 24px; text-align: center; }
.search-form { display: flex; align-items: center; gap: 12px; width: 620px; max-width: 100%; margin: 0 auto; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.search-form svg { width: 22px; height: 22px; color: var(--ink-faint); flex: none; }
.filter-group { margin-top: 26px; }
.filter-group .label { margin-bottom: 12px; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pill-row .option-row { height: 42px; font-size: 17px; padding: 0 16px; }
.pill-row .option-row small { font: 500 11px/1 var(--sans); color: var(--label); }
.more-surfaces { height: 42px; padding: 0 14px; border-radius: 38px; border: 0; background: rgba(8, 24, 47, 0.045); font: 500 17px/1 var(--serif); color: var(--ink); }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1392px; margin: 40px auto 0; padding: 0 24px 14px; border-bottom: 1px solid var(--line); }
.result-bar p { margin: 0; font: 400 14px/1.4 var(--sans); color: var(--ink-soft); }
.result-bar strong { color: var(--ink); font-weight: 600; }
.reset-btn { border: 0; background: none; padding: 6px 0; font: 500 18px/1 var(--serif); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(8, 24, 47, 0.3); }
.reset-btn:hover { color: var(--copper); }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1392px; margin: 24px auto 0; padding: 0 24px; }
.p-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border-radius: 12px; }
.p-card[hidden] { display: none; }
.p-card-media { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 8px; padding: 22px; }
.p-card-media img { max-height: 256px; width: auto; }
.p-card-media img.low { max-height: min(256px, var(--native)); }
.p-card-media .chip { position: absolute; left: 12px; top: 12px; background: var(--white); }
.p-card .label { margin-top: 6px; }
.p-card-name { margin: 0; font: 500 26px/1.1 var(--serif); letter-spacing: -0.03em; }
.p-card-name a { text-decoration: none; }
.p-card-name a:hover { color: var(--copper); }
.p-card-sizes { margin: 0; font: 400 13px/1.4 var(--sans); color: var(--ink-soft); }
.p-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price-note { font: 400 12px/1.3 var(--sans); color: var(--label); }
.empty-state { max-width: 560px; margin: 48px auto 0; text-align: center; }

/* Product page */
.pdp { display: grid; grid-template-columns: 50% 50%; padding-top: 120px; }
.pdp-media { position: relative; height: calc(100vh - 160px); min-height: 560px; max-height: 760px; margin: 0 0 0 24px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 12px; }
.pdp-media img { max-height: 88%; width: auto; }
.pdp-media img.low { max-height: min(88%, var(--native)); }
.pdp-media .pdp-num-big { position: absolute; left: 24px; top: 16px; font: 500 64px/1 var(--serif); letter-spacing: -0.04em; color: var(--copper); font-style: italic; }
.pdp-info { padding: 30px 24px 40px 64px; max-width: 640px; }
.pdp-info h1 { margin-top: 14px; }
.pdp-verbs { margin: 14px 0 0; font: italic 500 26px/1.2 var(--serif); color: var(--copper); letter-spacing: -0.02em; }
.pdp-headline { margin: 22px 0 0; font: 500 32px/1.15 var(--serif); letter-spacing: -0.03em; }
.pdp-desc { margin: 14px 0 0; font: 400 17px/1.6 var(--sans); color: var(--ink-soft); }
.pdp-block { margin-top: 28px; }
.pdp-block .label { margin-bottom: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag-row a, .tag-row span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 38px; background: rgba(8, 24, 47, 0.045); font: 500 17px/1 var(--serif); color: var(--ink); text-decoration: none; }
.tag-row a:hover { background: rgba(8, 24, 47, 0.08); }
.size-pills { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; }
.size-pills legend { padding: 0; margin-bottom: 10px; }
.size-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-pill span { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 38px; background: rgba(8, 24, 47, 0.045); font: 500 18px/1 var(--serif); cursor: pointer; }
.size-pill span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(8, 24, 47, 0.55); }
.size-pill input:checked + span { background: rgba(8, 24, 47, 0.1); }
.size-pill input:checked + span::before { background: var(--ink); border-color: var(--ink); }
.size-pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.qty.light { border-color: rgba(8, 24, 47, 0.25); height: 56px; }
.qty.light button { height: 54px; width: 46px; }
.qty.light input { height: 54px; width: 36px; font-size: 15px; }
.buy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; }
.sheet-link { display: inline-flex; align-items: center; gap: 8px; font: 500 19px/1.2 var(--serif); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(8, 24, 47, 0.3); }
.sheet-link svg { width: 16px; height: 16px; }
.sheet-link:hover { color: var(--copper); }

.pdp-steps { position: relative; height: calc(100vh + 1000px); }
.pdp-steps-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; text-align: center; }
.pdp-steps.static { height: auto; padding: 140px 0 40px; }
.pdp-steps.static .pdp-steps-stage { position: static; height: auto; }
.step-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; max-width: 1200px; margin: 44px auto 0; padding: 0; list-style: none; text-align: left; }
.step-item { padding: 22px; background: var(--surface); border-radius: 12px; opacity: 0.35; transition: opacity 0.4s ease; }
.step-item.is-on, .static .step-item { opacity: 1; }
.step-item .dot { margin-bottom: 16px; }
.step-item.is-on .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-item p { margin: 0; font: 400 16px/1.5 var(--sans); color: var(--ink); }
.step-item strong { display: block; font: 500 22px/1.15 var(--serif); letter-spacing: -0.02em; margin-bottom: 6px; }
.pdp-note { max-width: 760px; margin: 24px auto 0; font: 400 14px/1.5 var(--sans); color: var(--ink-soft); }
.pdp-steps .steps-dots { margin-top: 34px; }

.facts { max-width: 1200px; margin: 0 auto; padding: 120px 24px 0; }
.facts h2 { text-align: center; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.fact-card { padding: 24px; background: var(--surface); border-radius: 12px; }
.fact-card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.fact-card li { padding: 12px 0; border-top: 1px solid var(--line); font: 500 22px/1.25 var(--serif); letter-spacing: -0.02em; }
.fact-card li:first-child { border-top: 0; }
.fact-card p.ideal { margin: 14px 0 0; font: 500 22px/1.3 var(--serif); letter-spacing: -0.02em; }
.life-row { display: flex; justify-content: center; gap: 16px; max-width: 1456px; margin: 16px auto 0; padding: 0 24px; }
.life-row img { width: 720px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.related { max-width: 1392px; margin: 0 auto; padding: 140px 24px 0; }
.related-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.related .p-grid { padding: 0; margin-top: 32px; }
.faq { max-width: 860px; margin: 0 auto; padding: 140px 24px 0; }
.faq h2 { text-align: center; }
.faq .demo-note { text-align: center; }
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; font: 500 26px/1.2 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
.faq-q:hover { color: var(--copper); }
.faq-q .circle-arrow { transition: transform 0.3s var(--expo); }
.faq-q[aria-expanded='true'] .circle-arrow { transform: rotate(90deg); }
.faq-a { padding: 0 0 22px; font: 400 16px/1.6 var(--sans); color: var(--ink-soft); }
.faq-a p, .faq-a ol { margin: 0; }
.faq-a ol { padding-left: 20px; }

/* Packs page */
.pack-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 900px; margin: 28px auto 0; }
.pack-nav a { text-decoration: none; }
.pack { max-width: 1392px; margin: 0 auto; padding: 120px 24px 0; scroll-margin-top: 20px; }
.pack-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.pack-head .dot { margin-bottom: 18px; }
.pack-head .body-18 { max-width: 640px; margin-top: 14px; }
.pack-head-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pack-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.pack-step { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border-radius: 12px; }
.pack-step-media { position: relative; height: 260px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 8px; padding: 20px; text-decoration: none; }
.pack-step-media img { max-height: 220px; width: auto; }
.pack-step-media img.low { max-height: min(220px, var(--native)); }
.pack-step-media .dot { position: absolute; left: 12px; top: 12px; background: var(--white); }
.pack-step-name { margin: 4px 0 0; font: 500 24px/1.1 var(--serif); letter-spacing: -0.03em; }
.pack-step-name a { text-decoration: none; }
.pack-step-name a:hover { color: var(--copper); }
.pack-step-line { margin: 0; font: 400 15px/1.5 var(--sans); color: var(--ink-soft); }

@media (max-width: 1100px) {
  .p-grid, .pack-steps { grid-template-columns: repeat(3, 1fr); }
  .range-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .page-head { padding: 130px 16px 36px; }
  .filters { padding: 0; }
  .search-form { width: auto; margin: 0 16px; }
  .search-form .big-field { font-size: 26px; }
  .pill-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 16px 6px; scrollbar-width: none; }
  .pill-row::-webkit-scrollbar { display: none; }
  .pill-row > * { flex: none; }
  .result-bar { margin-top: 26px; padding: 0 16px 12px; }
  .p-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
  .p-card { padding: 10px; gap: 8px; }
  .p-card-media { height: 200px; padding: 14px; }
  .p-card-media img { max-height: 170px; }
  .p-card-media img.low { max-height: min(170px, var(--native)); }
  .p-card-name { font-size: 20px; }
  .p-card-foot { flex-direction: column; align-items: stretch; }
  .p-card-foot .outline-pill { width: 100%; height: 44px; }
  .pdp { display: block; padding-top: 96px; }
  .pdp-media { height: 440px; min-height: 0; margin: 0 16px; }
  .pdp-media .pdp-num-big { font-size: 44px; left: 16px; }
  .pdp-info { padding: 28px 16px 0; }
  .pdp-headline { font-size: 26px; }
  .pdp-steps { height: calc(100vh + 800px); }
  .step-row { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .step-item { padding: 14px 16px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
  .step-item .dot { margin: 0; }
  .step-item p { font-size: 14px; }
  .step-item strong { font-size: 19px; }
  .pdp-steps .steps-dots { display: none; }
  .facts { padding-top: 96px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact-card li, .fact-card p.ideal { font-size: 19px; }
  .life-row { padding: 0 16px; }
  .related, .faq { padding-top: 96px; }
  .related, .faq, .pack { padding-left: 16px; padding-right: 16px; }
  .faq-q { font-size: 21px; }
  .pack { padding-top: 88px; }
  .pack-head { grid-template-columns: 1fr; }
  .pack-head-actions { align-items: flex-start; }
  .pack-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pack-step { padding: 10px; }
  .pack-step-media { height: 190px; padding: 14px; }
  .pack-step-media img { max-height: 160px; }
  .pack-step-media img.low { max-height: min(160px, var(--native)); }
  .pack-step-name { font-size: 19px; }
  .pack-step-line { font-size: 13px; }
}
.rm .pdp-steps { height: auto; padding: 120px 0 0; }
.rm .pdp-steps-stage { position: static; height: auto; }
.rm .step-item { opacity: 1; }
.rm .pdp-steps .steps-dots { display: none; }


/* 3D bottles (bottle-3d.js). The <img> stays in the markup and hides only once the canvas has drawn. */
.pdp-media .pdp-num-big { z-index: 1; pointer-events: none; }
.pdp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: inherit; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 0.5s ease; }
.pdp-canvas.is-grabbing { cursor: grabbing; }
.pdp-media.is-3d .pdp-canvas { opacity: 1; }
.pdp-media img { transition: opacity 0.4s ease; }
.pdp-media.is-3d img { opacity: 0; }

/* Turning bottles stage (duten's "edstal"): one pinned 3D canvas over the sea photo, three products take
   turns, a giant catalogue verb behind each spreads its letters apart. 100vh + 3 x 700 px of scroll. */
.turn { position: relative; height: calc(100vh + 2100px); }
.turn-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #9fb6c4 url('../media/brand/care-lifestyle.webp') 18% 50% / cover no-repeat; }
.turn-word { position: absolute; left: 50%; top: 50%; display: flex; transform: translate(-50%, -54%); pointer-events: none; opacity: 0; }
.turn-word:first-child { opacity: 1; }
.turn-word span { display: block; font: 500 clamp(120px, 24vw, 380px)/1 var(--serif); letter-spacing: -0.04em; color: #fff; opacity: 0.92; will-change: transform, opacity; }
.turn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.turn-shots img { position: absolute; left: 50%; top: 50%; height: 64vh; width: auto; transform: translate(-50%, -52%); opacity: 0; transition: opacity 0.4s ease; }
.turn-shots img.is-on { opacity: 1; }
.turn.is-3d .turn-shots { visibility: hidden; }
.turn-tags { position: absolute; left: 0; right: 0; bottom: 124px; height: 56px; }
.turn-tag { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; margin: 0; padding: 8px 8px 8px 20px; border-radius: 100px; background: rgba(255, 255, 255, 0.86); font: 500 20px/1 var(--serif); white-space: nowrap; color: var(--ink); opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0s linear 0.35s; }
.turn-tag.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease, visibility 0s; }
.turn-tag b { color: var(--copper); font-style: italic; font-weight: 500; }
.turn-tag a { font: 600 13px/1 var(--sans); color: #fff; background: var(--ink); text-decoration: none; padding: 12px 16px; border-radius: 100px; }
@media (max-width: 760px) {
  .turn-tags { bottom: 112px; }
  .turn-tag { width: max-content; max-width: calc(100vw - 24px); white-space: normal; font-size: 17px; line-height: 1.15; gap: 10px; padding-left: 16px; }
  .turn-tag a { white-space: nowrap; }
}
.rm .turn { height: auto; }
.rm .turn-stage { position: relative; }
.rm .turn-words { display: none; }
.rm .turn-shots { position: absolute; inset: 0 0 18vh; display: flex; align-items: center; justify-content: center; gap: 4vw; }
.rm .turn-shots img { position: static; transform: none; opacity: 1; height: 46vh; }
.rm .turn-tags { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 16px; }
.rm .turn-tag { position: static; transform: none; opacity: 1; visibility: visible; }

/* Care-systems cards in 3D: one canvas per card behind the labels, its bottles drawn over their <img>s */
.step-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.step-shot img { transition: opacity 0.3s ease; }
.step-card.is-3d .step-shot.has-3d img { opacity: 0; }

/* Hero row in 3D (initHero3D): the canvas sits over the photo row, under the bottom fade. */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; }
.hero.is-3d .hero-canvas { opacity: 1; }
.hero.is-3d .hero-shots img.has-3d { opacity: 0; transition: opacity 0.4s ease; }

/* ---------- Owner 30 Nov: wider care systems (bottles box + square photo) and a sideways range row ---------- */
.step-card { background: var(--white); border-radius: 12px; }
.step-card .outline-pill { gap: 0; }
.steps-photos { display: none; }
.step-photo { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 12px; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.step-photo.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1101px) {
  .steps-stage h2 { bottom: calc(50vh + 232px); }
  .steps-cards { left: calc(50% - 540px); right: auto; margin: 0; top: calc(50vh - 200px); width: 640px; height: 420px; }
  .steps-photos { display: block; left: calc(50% + 120px); right: auto; margin: 0; top: calc(50vh - 200px); width: 420px; height: 420px; }
  .steps-captions { top: calc(50vh + 240px); }
  .steps-dots { top: calc(50vh + 330px); }
  .step-shot img { height: 290px; }
  .step-shot img.low { max-height: min(290px, var(--native)); }
}
.rm .steps-photos { display: none !important; }

.range { padding-left: 0; padding-right: 0; }
.range > .label, .range > h2, .range > .range-sub { padding-left: 24px; padding-right: 24px; }
.range-nav { display: flex; justify-content: flex-end; gap: 10px; margin: 40px 0 0; padding: 0 24px; }
.circle-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease; }
.circle-btn svg { width: 20px; height: 20px; }
.circle-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.circle-btn:disabled { opacity: 0.3; cursor: default; }
.range-grid {
  --edge: 24px;
  display: flex; gap: 16px; max-width: none; margin: 18px 0 0;
  padding: 0 0 6px var(--edge); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.range-grid::-webkit-scrollbar { display: none; }
.range-grid::after { content: ''; flex: 0 0 8px; }
.range-grid .cat-card { flex: 0 0 calc((100vw - 24px - 64px) / 4.5); scroll-snap-align: start; padding: 20px; }
.range-grid .cat-card-title { font-size: 30px; min-height: 66px; }
.range-grid .cat-shots { height: 270px; }
.range-grid .cat-shots img { height: 226px; }
.range-grid .cat-shots img.low { max-height: min(226px, var(--native)); }
.range-grid .cat-shots img:nth-child(2) { height: 204px; }
.range-grid .cat-shots img:nth-child(3) { height: 188px; }
@media (max-width: 760px) {
  .range-nav { margin-top: 28px; padding: 0 16px; }
  .range-grid { --edge: 16px; }
  .range-grid .cat-card { flex-basis: calc((100vw - 32px) / 1.5); padding: 16px; }
  .range-grid .cat-card-title { font-size: 24px; min-height: 54px; }
  .range-grid .cat-shots { height: 190px; }
  .range-grid .cat-shots img { height: 160px; }
  .range-grid .cat-shots img:nth-child(2) { height: 146px; }
  .range-grid .cat-shots img:nth-child(3) { height: 134px; }
}
