/* Expert RO Water. One motif: the rolled membrane's cross-section, a disc. */
:root {
  --bg: #f6f8fb;
  --surface: #e6edf6;
  --surface-2: #d6e1ef;
  --ink: #0f3a6b;
  --ink-soft: #2a5187;
  --paper: #f6f8fb;
  --rust: #b0581a;
  --pale: #b9cbe2;
  --mid: #6f8fb8;

  --display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);
  --step-hero: clamp(3.1rem, 0.9rem + 6.6vw, 7.5rem);

  --r: 36px;
  --gut: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.55;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.035em; line-height: 0.95; }
h2 { font-size: var(--step-head); text-wrap: balance; }
h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; max-width: 62ch; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }

/* buttons: one shape, the disc stretched into a pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--ink-soft); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--soft { background: var(--surface-2); color: var(--ink); }
.btn--soft:hover { background: var(--pale); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--surface); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

/* top bar */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gut);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; }
.brand__disc { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); position: relative; }
.brand__disc::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.top__nav { display: flex; gap: 28px; font-family: var(--display); font-weight: 600; font-size: 0.9375rem; }
.top__nav a { text-decoration: none; position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--rust); transform: scale(.4); opacity: 0; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.top__nav a:hover::after, .top__nav a:focus-visible::after { transform: scale(1); opacity: 1; }

/* HERO */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: calc(100svh - 76px); position: relative; overflow: hidden;
  padding: 0 0 0 var(--gut);
}
.hero__card {
  position: relative; z-index: 2; align-self: center;
  background: var(--surface); border-radius: var(--r);
  padding: 0 clamp(24px, 3.6vw, 56px) clamp(32px, 3.6vw, 52px);
  margin: 12px 0 32px;
}
.hero__band { display: flex; gap: 8px; padding: 22px 0 clamp(36px, 5vw, 64px); }
.hero__band i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.hero__band i:nth-child(even) { background: var(--pale); }
.hero__band i:nth-child(5) { background: var(--rust); }
.hero__title { font-size: var(--step-hero); line-height: 0.92; max-width: 9.5em; }
.hero__lead { font-size: var(--step-lead); line-height: 1.4; margin-top: 28px; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hero__facts li { position: relative; padding-left: 22px; font-size: 1rem; line-height: 1.4; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: .35em; width: .7em; height: .7em; border-radius: 50%; background: var(--ink); }
.hero__facts b { font-family: var(--display); font-weight: 700; display: block; }

.hero__disc { position: relative; }
.hero__ring {
  position: absolute; top: 50%; left: -14%;
  width: min(120svh, 1100px); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; background: var(--ink); padding: 5.5%;
}
.fade { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--ink-soft); }
.fade__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease, transform 7s linear; transform: scale(1.08); }
.fade__img.is-on { opacity: 1; transform: scale(1); }
.fade__img:first-child { object-position: 50% 62%; }

/* WHAT WE FIX */
.fix {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px);
  padding: clamp(80px, 10vw, 160px) var(--gut); align-items: center;
}
.fix__photo { margin: 0 0 0 calc(var(--gut) * -1 - 12%); }
.fix__photo img { width: 100%; height: min(78svh, 760px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; object-position: 30% 50%; }
.fix__intro { font-size: var(--step-lead); line-height: 1.4; margin-top: 24px; max-width: 40ch; }
.points { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.points h3 { font-size: 1.125rem; position: relative; padding-left: 1.1em; line-height: 1.2; }
.points h3::before { content: ""; position: absolute; left: 0; top: .2em; width: .7em; height: .7em; border-radius: 50%; background: var(--ink); }
.points li:nth-child(3n+2) h3::before { background: var(--rust); }
.points li:nth-child(3n) h3::before { background: var(--mid); }
.points p { font-size: 1rem; margin-top: 8px; padding-left: 1.2em; }

/* HOW RO WORKS */
.flow { background: var(--surface); padding: clamp(72px, 9vw, 140px) var(--gut); }
.flow__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 40px; align-items: center; }
.flow__head p { margin-top: 24px; font-size: var(--step-lead); line-height: 1.4; max-width: 36ch; }
.flow__clip { margin: 0; justify-self: end; width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink); }
.flow__clip video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
.flow__diagram { margin-top: clamp(48px, 6vw, 88px); }
.flow__svg--tall { display: none; }
.dot { transition: fill .5s var(--ease), opacity .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.dot--d { fill: var(--rust); }
.dot--p { fill: var(--pale); }
.dot--m { fill: var(--mid); }
.dot--c { fill: var(--ink); }
.zone--catch .dot { animation: drift 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.6s); }
@keyframes drift { from { transform: translate(-3px, -4px); } to { transform: translate(4px, 3px); } }
.zone--press .dot { animation: squeeze 2.4s ease-in-out infinite; }
.zone--press .dot:nth-child(3n+1) { animation-delay: -.8s; }
.zone--press .dot:nth-child(3n+2) { animation-delay: -1.6s; }
@keyframes squeeze { 50% { transform: translateX(6px) scale(.8); } }
[data-hit] .zone .dot { opacity: .22; }
[data-hit="catch"] .zone--catch .dot, [data-hit="press"] .zone--press .dot, [data-hit="pour"] .zone--pour .dot { opacity: 1; fill: var(--rust); }
.stages { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.stage h3 { font-size: var(--step-lead); }
.stage p { margin-top: 8px; max-width: 30ch; }
.stage { transition: opacity .4s var(--ease); }
[data-hit] .stage { opacity: .45; }
[data-hit="catch"] .stage[data-stage="catch"], [data-hit="press"] .stage[data-stage="press"], [data-hit="pour"] .stage[data-stage="pour"] { opacity: 1; }
[data-hit="catch"] .stage[data-stage="catch"] h3, [data-hit="press"] .stage[data-stage="press"] h3, [data-hit="pour"] .stage[data-stage="pour"] h3 { color: var(--rust); }

.check { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: start; }
.check__title { grid-column: 1 / -1; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); letter-spacing: -0.03em; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--paper); font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chips label:hover span { transform: translateY(-2px); background: var(--surface-2); }
.chips input:checked + span { background: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 3px; }
.answer { background: var(--paper); border-radius: var(--r); padding: 32px; display: grid; gap: 14px; justify-items: start; }
.answer__likely { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }

/* PRICE: two fields meeting at a hard edge */
.price { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.field { min-height: 90svh; padding: clamp(32px, 4vw, 56px) var(--gut); display: flex; flex-direction: column; gap: 22px; }
.field--main { background: var(--ink); color: var(--paper); }
.field--side { background: var(--pale); color: var(--ink); }
.field__name { font-size: clamp(2.5rem, 1rem + 5vw, 5.5rem); }
.field__who { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.3; max-width: 26ch; }
.field__incl { max-width: 44ch; }
.field__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.field__price { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: -0.05em; line-height: .85; }
.field__price span { font-size: clamp(5rem, 1rem + 10vw, 11rem); }
.field--side .field__price span { font-size: clamp(5rem, 1rem + 8vw, 9rem); }
.field__price small { font-size: 1.125rem; letter-spacing: 0; font-weight: 600; }

/* QUESTIONS */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 72px); padding: clamp(80px, 10vw, 150px) var(--gut); align-items: start; }
.faq__side { position: sticky; top: 40px; }
.faq__photo { margin: 40px 0 0; }
.faq__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.faq__list { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: 28px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 76px; padding: 20px 76px 20px 28px; position: relative;
  display: flex; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25;
  transition: transform .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 30px; top: 50%; width: 18px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq summary:hover { transform: translateX(3px); }
.faq details[open] { background: var(--ink); color: var(--paper); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 28px 28px; max-width: 56ch; }

/* BOOK: the coupon */
.book { padding: clamp(40px, 6vw, 110px) var(--gut) clamp(80px, 10vw, 150px); }
.coupon {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  background: var(--ink); color: var(--paper); border-radius: var(--r);
}
.coupon::before, .coupon::after { content: ""; position: absolute; left: 46%; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: var(--bg); }
.coupon::before { top: -18px; }
.coupon::after { bottom: -18px; }
.coupon__left { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; border-right: 6px dotted var(--bg); }
.coupon__left h2 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem); }
.coupon__left p { max-width: 34ch; }
.coupon__form { padding: clamp(32px, 4vw, 56px); display: grid; gap: 10px; }
.coupon__form input, .coupon__form select, .coupon__form textarea {
  width: 100%; min-height: 54px; padding: 14px 20px; border: 0; border-radius: 18px;
  background: var(--ink-soft); color: var(--paper); font: inherit; font-size: 1rem;
}
.coupon__form textarea { resize: vertical; min-height: 80px; }
.coupon__form select { appearance: none; }
.coupon__form ::placeholder { color: #d5e0ef; opacity: 1; }
.coupon__form select:invalid { color: #d5e0ef; }
.coupon__form option { color: var(--ink); background: var(--paper); }
.submit {
  min-height: 58px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; margin-top: 6px;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.submit:hover { transform: translateY(-2px); background: var(--surface-2); }
.submit:active { transform: scale(.98); }

/* FOOTER */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 100px) var(--gut) 32px; }
.mark__svg { width: 100%; }
.mark__svg circle { fill: var(--paper); }
.mark__svg circle:nth-of-type(3n+2) { fill: var(--pale); }
.mark__svg circle:nth-of-type(4) { fill: var(--rust); }
.mark__svg text { font-family: var(--display); font-weight: 700; fill: var(--ink); text-anchor: middle; letter-spacing: -0.02em; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.foot h3 { font-size: 1.125rem; margin-bottom: 14px; }
.foot__grid a { display: block; text-decoration: none; padding: 5px 0; font-size: 1rem; overflow-wrap: anywhere; transition: transform .2s var(--ease); }
.foot__grid a:hover { transform: translateX(4px); text-decoration: underline; }
.foot__grid p { font-size: 1rem; }
.foot__note { margin-top: 48px; font-size: 1rem; max-width: 72ch; }
.foot__credits { margin-top: 20px; font-size: var(--step-small); max-width: 110ch; color: #d5e0ef; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; font-size: 1rem; }

/* entrances */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* inner pages */
.page { padding: clamp(40px, 6vw, 96px) var(--gut) clamp(80px, 10vw, 140px); }
.page__sheet { max-width: 760px; margin: 0 auto; }
.page__sheet h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); margin-bottom: 32px; }
.page__sheet h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); margin: 48px 0 14px; }
.page__sheet p, .page__sheet li { margin-bottom: 14px; }
.page__disc { width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin: 0 0 40px; }

/* tablet */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 0 var(--gut) 48px; min-height: 0; }
  .hero__disc { order: -1; height: min(56svh, 520px); margin: 0 calc(var(--gut) * -1); }
  .hero__ring { left: auto; right: -18%; width: min(118vw, 760px); top: 50%; }
  .hero__card { margin: -40px 0 0; }
  .fix { grid-template-columns: 1fr; }
  .fix__photo { margin-left: calc(var(--gut) * -1 - 10vw); width: 82vw; }
  .fix__photo img { height: auto; max-height: 60svh; }
  .flow__head { grid-template-columns: 1fr 34vw; }
  .check { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .field { min-height: 70svh; }
  .faq { grid-template-columns: 1fr; }
  .faq__side { position: static; display: grid; grid-template-columns: 1fr 30vw; align-items: center; gap: 24px; }
  .faq__photo { margin: 0; }
  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { top: 46%; left: auto; margin: -18px 0 0; }
  .coupon::before { left: -18px; }
  .coupon::after { right: -18px; bottom: auto; }
  .coupon__left { border-right: 0; border-bottom: 6px dotted var(--bg); }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phone */
@media (max-width: 600px) {
  .top { padding: 12px var(--gut); }
  .brand { font-size: 1rem; }
  .hero__disc { height: 48svh; }
  .hero__ring { width: 128vw; right: -30vw; }
  .hero__card { padding: 0 20px 28px; }
  .hero__band { gap: 6px; padding: 16px 0 28px; }
  .hero__band i { width: 16px; height: 16px; }
  .hero__band i:nth-child(n+11) { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .points { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .flow__head { grid-template-columns: 1fr; }
  .flow__clip { justify-self: start; width: 62vw; }
  .flow__diagram { display: grid; grid-template-columns: 52vw minmax(0, 1fr); gap: 16px; }
  .flow__svg--wide { display: none; }
  .flow__svg--tall { display: block; width: 100%; }
  .stages { margin: 0; grid-template-columns: 1fr; gap: 0; align-content: space-between; }
  .stage p { font-size: 1rem; }
  .chips span { min-height: 48px; padding: 0 18px; }
  .answer { padding: 24px; }
  .answer .btn { width: 100%; }
  .field__foot .btn { width: 100%; }
  .faq__side { grid-template-columns: 1fr 34vw; }
  .faq summary { font-size: 1.125rem; min-height: 64px; padding: 16px 64px 16px 22px; }
  .faq details p { padding: 0 22px 22px; font-size: 1rem; }
  .coupon__left, .coupon__form { padding: 28px 22px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__addr { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .fade__img { transform: none; }
}

/* fixes after inspection */
.coupon__form input.sr { width: 1px; min-height: 0; padding: 0; }
@media (max-width: 960px) { .field__foot .btn { width: 100%; } }
@media (max-width: 960px) {
  .coupon::before, .coupon::after { display: none; }
  .coupon__left { position: relative; }
  .coupon__left::before, .coupon__left::after { content: ""; position: absolute; bottom: -21px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); }
  .coupon__left::before { left: -18px; }
  .coupon__left::after { right: -18px; }
}
@media (max-width: 600px) {
  .flow__diagram { grid-template-columns: 40vw minmax(0, 1fr); }
  .stages { gap: 20px; align-content: start; }
  .field { min-height: 0; padding-top: 48px; padding-bottom: 32px; }
  .field__foot { margin-top: 40px; }
  .foot__grid > div:nth-child(2) { grid-column: 1 / -1; }
}
.mark__svg circle:nth-of-type(4) + text { fill: var(--paper); }
