/* Flowfl — site styles. "Soft fluid": rounded pools, layered photos, liquid motion. */

@property --fill { syntax: "<number>"; inherits: true; initial-value: 30; }
@property --tilt { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--tint); color: var(--ink); }

:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 10px; }
.pool--ink :focus-visible, .footer :focus-visible { outline-color: var(--aqua-lite); }

.skip {
  position: absolute; left: 50%; top: 10px; z-index: 100;
  transform: translate(-50%, -160%);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none; transition: transform .4s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }
.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; }

.ico { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.5; }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .wordmark, .serif {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}
.display {
  font-size: var(--fs-display);
  line-height: 0.93;
  letter-spacing: -0.03em;
  font-weight: 330;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.h1 {
  font-size: var(--fs-h1);
  line-height: 0.96;
  letter-spacing: -0.028em;
  font-weight: 340;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.0;
  letter-spacing: -0.022em;
  font-weight: 350;
  font-variation-settings: "SOFT" 90, "opsz" 120;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 420;
  font-variation-settings: "SOFT" 70, "opsz" 40;
}
.display em, .h1 em, .h2 em, .h3 em, .serif em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  color: var(--aqua-ink);
}
.pool--ink .h2 em, .pool--ink .h3 em, .footer em { color: var(--aqua-lite); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink); max-width: 36em; }
.muted { color: var(--muted); }
.pool--tint .muted, .pool--tint .flow p { color: #46565D; } /* keeps AA on the aqua tint */
.small { font-size: var(--fs-small); }

.tag {
  width: fit-content; max-width: 100%; justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  background: rgba(207, 224, 224, 0.7);
  color: var(--ink);
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: var(--s-5);
}
.tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9fd0d3, var(--aqua) 70%);
  box-shadow: 0 0 0 4px rgba(61, 127, 134, 0.14);
}
.pool--tint .tag { background: rgba(245, 247, 246, 0.75); }
.pool--ink .tag { background: rgba(232, 236, 235, 0.08); color: var(--on-ink); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--wide { width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.pool {
  position: relative;
  margin-inline: var(--inset);
  border-radius: var(--r-xl);
  padding-block: var(--pool-pad);
}
.pool--card { background: var(--card); }
.pool--tint { background: var(--tint); }
.pool--ink { background: var(--ink); color: var(--on-ink); }
.pool--ink .muted { color: var(--on-ink-muted); }
.pool--rise { margin-top: calc(-1 * var(--r-xl)); }
.pool:has(+ .pool--rise), .pool:has(+ .footer) { padding-bottom: calc(var(--pool-pad) + var(--r-xl)); }
.pool--ink { box-shadow: 0 -30px 60px -40px rgba(19, 34, 43, .35); }
.pool--rise.pool--card, .pool--rise.pool--tint { box-shadow: 0 -24px 50px -36px rgba(19, 34, 43, .28); }

.section { padding-block: var(--pool-pad); }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }

.head { display: grid; gap: var(--s-5); margin-bottom: clamp(40px, 6vw, 84px); max-width: 52rem; }
.head .lede { margin: 0; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: clamp(24px, 5vw, 80px); }
.head--split .lede { justify-self: start; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: center;
}
.split--text-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split--flip > :first-child { order: 2; }

/* ---------- Floating capsule nav ---------- */
.nav {
  position: fixed; z-index: 60;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 24px);
  border-radius: 34px;
  background: rgba(245, 247, 246, 0.68);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 34px -16px rgba(19, 34, 43, 0.32), 0 2px 6px rgba(19, 34, 43, 0.05);
  transition: box-shadow .6s var(--ease), background .6s var(--ease), border-radius .6s var(--ease), top .6s var(--ease);
}
.nav.is-scrolled { background: rgba(245, 247, 246, 0.8); top: 10px; }
.nav-bar { display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 22px; min-height: 58px; }
.wordmark {
  font-size: 1.62rem; line-height: 1; text-decoration: none;
  font-weight: 450; letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "opsz" 60;
  margin-right: 14px; padding: 4px 0;
  display: inline-flex; align-items: baseline;
}
.wordmark i { font-style: italic; font-weight: 340; color: var(--aqua-ink); margin-left: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 10px 15px; border-radius: var(--r-pill);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink);
  transition: background .45s var(--ease), color .45s var(--ease);
}
.nav-links a:hover { background: rgba(61, 127, 134, 0.1); }
.nav-links a[aria-current="page"] { background: var(--tint); color: var(--aqua-ink); }
.nav-quote { margin-left: 8px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  margin-left: auto;
  border: 0; background: var(--ink); color: #fff;
  padding: 11px 16px 11px 14px; border-radius: var(--r-pill);
  font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  transition: background .4s var(--ease);
}
.nav-toggle:hover { background: var(--aqua); }
.nav-toggle .ico-close { display: none; }
.nav.is-open .nav-toggle .ico-open { display: none; }
.nav.is-open .nav-toggle .ico-close { display: block; }
.nav-sheet { display: none; }

@media (max-width: 960px) {
  .nav { width: calc(100% - 24px); border-radius: 30px; }
  .nav .nav-links, .nav .nav-quote { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { padding: 6px 6px 6px 20px; min-height: 56px; }
  .nav-sheet {
    display: grid; grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .7s var(--ease), visibility 0s linear .7s;
  }
  .nav.is-open { border-radius: 30px; background: rgba(245, 247, 246, 0.94); }
  .nav.is-open .nav-sheet { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .7s var(--ease), visibility 0s; }
  .nav-sheet-inner { overflow: hidden; min-height: 0; }
  .nav-sheet-list { list-style: none; padding: 10px 20px 4px; display: grid; }
  .nav-sheet-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 4px; border-top: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; font-weight: 360;
    font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -0.02em;
    text-decoration: none;
  }
  .nav-sheet-list a .ico { width: 22px; height: 22px; color: var(--aqua-ink); }
  .nav-sheet-list a[aria-current="page"] { color: var(--aqua-ink); }
  .nav-sheet-foot { padding: 12px 20px 22px; display: grid; gap: 14px; }
  .nav-sheet-foot .btn { justify-content: center; }
  .nav-sheet-foot p { margin: 0; font-size: var(--fs-small); color: var(--muted); text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px 15px 26px;
  border-radius: var(--r-pill);
  font-size: 0.975rem; font-weight: 600; line-height: 1.1; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .6s var(--ease), color .45s var(--ease), box-shadow .6s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(140px circle at var(--mx) var(--my), rgba(207, 240, 240, 0.55), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.btn:hover::before { opacity: 1; }
.btn .btn-ico {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; margin: -6px -8px -6px 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: transform .6s var(--ease), background .5s var(--ease);
}
.btn .btn-ico .ico { width: 16px; height: 16px; }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--aqua); box-shadow: var(--shadow-glow); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line .btn-ico { background: rgba(19, 34, 43, 0.07); }
.btn--line::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(61, 127, 134, 0.22), transparent 70%); }
.btn--line:hover { border-color: var(--aqua); color: var(--aqua-ink); }
.btn--light { background: var(--card); color: var(--ink); }
.btn--light .btn-ico { background: rgba(19, 34, 43, 0.07); }
.btn--light::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(61, 127, 134, 0.28), transparent 70%); }
.btn--light:hover { background: #fff; box-shadow: 0 10px 34px -10px rgba(143, 195, 198, 0.6); }
.btn--ghost-light { border-color: rgba(232, 236, 235, 0.5); color: var(--on-ink); }
.btn--ghost-light .btn-ico { background: rgba(232, 236, 235, 0.1); }
.btn--ghost-light:hover { border-color: var(--aqua-lite); color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--aqua-ink);
  border-bottom: 1.5px solid rgba(61, 127, 134, 0.35); padding-bottom: 3px;
  transition: border-color .4s var(--ease), gap .5s var(--ease);
}
.link-arrow:hover { border-color: var(--aqua); gap: 12px; }
.link-arrow .ico { width: 18px; height: 18px; }
.pool--ink .link-arrow { color: var(--aqua-lite); border-color: rgba(143, 195, 198, 0.4); }

/* ---------- Pointer glow (cards & buttons) ---------- */
.glow { --mx: 50%; --my: 50%; position: relative; isolation: isolate; }
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(61, 127, 134, 0.13), transparent 60%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.glow:hover::after { opacity: 1; }
.pool--ink .glow::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(143, 195, 198, 0.14), transparent 60%); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  min-height: min(100svh, 1000px);
  padding-top: clamp(118px, 13vh, 150px);
  padding-bottom: clamp(56px, 8vh, 110px);
}
.hero-copy { position: relative; z-index: 2; }
.hero .lede { margin-top: clamp(22px, 2.6vw, 36px); margin-bottom: clamp(26px, 3vw, 40px); max-width: 33em; }

.fill-text {
  --fill: 30;
  --tilt: 0deg;
  color: var(--ink);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fill-text {
    color: transparent;
    background-image: linear-gradient(
      var(--tilt),
      var(--ink) 0%,
      var(--ink-2) calc(var(--fill) * 1% - 1.4%),
      var(--aqua-lite) calc(var(--fill) * 1% - 0.2%),
      #B9DCDD calc(var(--fill) * 1% + 0.25%),
      var(--aqua) calc(var(--fill) * 1% + 1.6%),
      var(--aqua) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: slice;
    transition: --fill 1.1s var(--ease);
    animation: slosh 7s ease-in-out infinite;
  }
  .fill-text em { color: transparent; }
}
@keyframes slosh {
  0%, 100% { --tilt: -1.6deg; }
  50% { --tilt: 1.6deg; }
}
.waterline {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; font-size: var(--fs-micro); color: var(--muted); font-weight: 500; letter-spacing: 0.02em;
}
.waterline-bar { position: relative; width: 120px; height: 6px; border-radius: 6px; background: rgba(19, 34, 43, 0.1); overflow: hidden; }
.waterline-bar span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(calc(var(--fill, 30) / 100)); background: linear-gradient(90deg, var(--ink), var(--aqua)); border-radius: inherit; transition: transform 1.1s var(--ease); }

.hero-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: clamp(30px, 4vw, 48px); color: var(--muted); font-size: var(--fs-small); }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes .ico { color: var(--aqua-ink); width: 18px; height: 18px; }

.stack { position: relative; height: clamp(520px, 74vh, 800px); }
.ph {
  position: absolute; overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  transform: translate3d(0, calc(var(--py, 0) * 1px), 0);
  will-change: transform;
  background: var(--tint);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--a { right: 0; top: 0; width: 64%; height: 86%; border-radius: 52px; }
.ph--b { left: 2%; bottom: 0; width: 38%; height: 60%; z-index: 2; border-radius: 40px; box-shadow: 0 0 0 10px var(--paper), var(--shadow-float); }
.ph--c { left: 14%; top: 5%; width: 27%; aspect-ratio: 3 / 4; z-index: 3; border-radius: 32px; box-shadow: 0 0 0 8px var(--paper), var(--shadow-float); }
.ph--a img { object-position: 60% 40%; }
.chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: var(--r-pill);
  background: rgba(245, 247, 246, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px -18px rgba(19, 34, 43, 0.45);
  font-size: var(--fs-small); font-weight: 500; line-height: 1.3;
  transform: translate3d(0, calc(var(--py, 0) * 1px), 0);
}
.chip .chip-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; flex: none; }
.chip .chip-ico .ico { width: 18px; height: 18px; }
.chip-txt { display: grid; gap: 1px; }
.chip-txt b { display: block; font-weight: 600; color: var(--ink); font-size: var(--fs-small); }
.chip-txt small { display: block; color: #46565D; font-size: var(--fs-micro); line-height: 1.35; }
.stack .chip { right: 6%; bottom: 7%; max-width: 290px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding-top: clamp(128px, 15vh, 170px); padding-bottom: clamp(56px, 7vw, 110px); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.phero .lede { margin-top: clamp(20px, 2.4vw, 32px); margin-bottom: 0; }
.phero-media { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.crumbs a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px; border-radius: var(--r-pill);
  background: var(--card); text-decoration: none; font-size: var(--fs-small); font-weight: 500;
  box-shadow: 0 6px 18px -12px rgba(19, 34, 43, 0.35);
  transition: background .4s var(--ease), color .4s var(--ease), transform .6s var(--ease);
}
.crumbs a .ico { width: 18px; height: 18px; color: var(--aqua-ink); }
.crumbs a:hover { background: var(--tint); transform: translateY(-2px); }

/* layered media: photo with offset tint pool behind */
.layer { position: relative; isolation: isolate; }
.layer::before {
  content: ""; position: absolute; z-index: -1;
  inset: 9% -5% -6% 12%;
  border-radius: var(--r-xl);
  background: var(--tint);
  transform: translate3d(0, calc(var(--py, 0) * -0.35px), 0);
}
.layer--left::before { inset: 10% 14% -6% -5%; }
.pool--tint .layer::before { background: var(--card); }
.pool--ink .layer::before { background: var(--ink-2); }
.pool--card .layer::before { background: var(--tint-2); }
.layer .frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  transform: translate3d(0, calc(var(--py, 0) * 1px), 0);
}
.layer .frame img { width: 100%; height: 100%; object-fit: cover; }
.layer .chip { left: -6%; bottom: 9%; transform: translate3d(0, calc(var(--py, 0) * 1.6px), 0); }
.layer--left .chip { left: auto; right: -5%; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--portrait { aspect-ratio: 3 / 4; }
.frame--land { aspect-ratio: 4 / 3; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--top img { object-position: 50% 14%; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: flex; flex-direction: column;
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.card:hover { box-shadow: var(--shadow-float); }
.card-media { overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 3; background: var(--tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 26px) clamp(18px, 2vw, 24px); display: grid; gap: 14px; flex: 1; align-content: start; }
.card-body p { margin: 0; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 6px; }
.pool--card .card { background: #fff; }
.pool--ink .card { background: var(--ink-2); box-shadow: none; color: var(--on-ink); }
.pool--ink .card p { color: var(--on-ink-muted); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--paper); font-size: var(--fs-micro); font-weight: 500; color: var(--ink);
}
.pool--tint .chips li { background: var(--card); }
.pool--card .chips li { background: var(--paper); }
.pool--ink .chips li { background: rgba(232, 236, 235, 0.08); color: var(--on-ink); }

.icard {
  background: var(--card); border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 36px);
  box-shadow: var(--shadow-soft);
  display: grid; gap: 14px; align-content: start;
}
.icard p { margin: 0; color: var(--muted); }
.icard .h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); }
.pool--card .icard { background: #fff; }
.pool--tint .icard { background: var(--card); box-shadow: 0 20px 50px -34px rgba(19, 34, 43, .35); }
.pool--ink .icard { background: var(--ink-2); box-shadow: none; }
.pool--ink .icard p { color: var(--on-ink-muted); }
.bubble {
  width: 52px; height: 52px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--aqua-ink);
}
.bubble .ico { width: 24px; height: 24px; }
.pool--tint .bubble { background: var(--paper); }
.pool--ink .bubble { background: rgba(143, 195, 198, 0.12); color: var(--aqua-lite); }

/* Home: two halves */
.halves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); align-items: start; }
.halves .card:nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.halves .card-media { aspect-ratio: 5 / 4; }
.halves .card-media--tall { aspect-ratio: 5 / 4; }

/* Steps / flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); counter-reset: step; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 44px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(61, 127, 134, 0.45) 12%, rgba(61, 127, 134, 0.45) 88%, transparent);
  border-radius: 2px;
}
.flow li { position: relative; display: grid; gap: 14px; align-content: start; }
.flow .flow-dot {
  position: relative; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); color: var(--aqua-ink);
  box-shadow: 0 18px 40px -22px rgba(19, 34, 43, 0.5), inset 0 -10px 22px -12px rgba(61, 127, 134, 0.35);
}
.flow .flow-dot .ico { width: 30px; height: 30px; }
.flow .flow-n { font-size: var(--fs-micro); font-weight: 600; color: var(--aqua-ink); letter-spacing: 0.06em; }
.flow h3 { font-size: 1.32rem; }
.flow p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.pool--card .flow .flow-dot { background: var(--paper); }
.pool--ink .flow .flow-dot { background: var(--ink-2); color: var(--aqua-lite); box-shadow: none; }
.pool--ink .flow p { color: var(--on-ink-muted); }
.pool--ink .flow .flow-n { color: var(--aqua-lite); }

/* Finishes — pebble swatches */
.finish-grad-chrome { background: linear-gradient(135deg, #fbfcfc 0%, #b7c0c5 18%, #f4f7f8 34%, #7f8b91 52%, #dfe5e8 68%, #9aa5ab 84%, #eef2f3 100%); }
.finish-grad-nickel {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.10) 0 1px, rgba(0, 0, 0, 0.035) 1px 3px),
    linear-gradient(125deg, #d8d4cc 0%, #b4afa5 30%, #dcd9d2 52%, #a29d93 78%, #c9c5bd 100%);
}
.finish-grad-black { background: radial-gradient(120% 95% at 28% 18%, #45494c 0%, #26292b 45%, #161819 100%); }
.finish-grad-brass {
  background:
    repeating-linear-gradient(90deg, rgba(255, 246, 220, 0.08) 0 1px, rgba(60, 40, 0, 0.04) 1px 3px),
    linear-gradient(128deg, #f1dca6 0%, #c79d52 26%, #f3dfa9 46%, #a77d3a 70%, #d6b06a 100%);
}
.finish-grad-bronze {
  background:
    repeating-linear-gradient(90deg, rgba(255, 230, 200, 0.06) 0 1px, rgba(0, 0, 0, 0.06) 1px 3px),
    linear-gradient(130deg, #8d6a50 0%, #5a4030 32%, #94735a 52%, #43301f 80%, #6b4f3b 100%);
}

.pebbles { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(14px, 1.6vw, 24px); align-items: flex-end; justify-content: flex-end; }
.pebble { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pebble-swatch {
  width: clamp(84px, 7.2vw, 124px); aspect-ratio: 1;
  border-radius: 42% 58% 52% 48% / 48% 44% 56% 52%;
  box-shadow: inset 0 -12px 22px -10px rgba(0, 0, 0, 0.35), inset 0 10px 18px -10px rgba(255, 255, 255, 0.7), 0 22px 40px -22px rgba(19, 34, 43, 0.55);
}
.pebble:nth-child(2n) .pebble-swatch { border-radius: 55% 45% 48% 52% / 46% 56% 44% 54%; transform: translateY(-14px); }
.pebble:nth-child(3n) .pebble-swatch { border-radius: 48% 52% 60% 40% / 52% 46% 54% 48%; }
.pebble-name { font-size: var(--fs-small); font-weight: 600; line-height: 1.25; }

/* Finish studio (fixtures page) */
.studio { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.studio-tabs { list-style: none; display: grid; gap: 10px; align-content: start; }
.studio-tab {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 10px 18px 10px 10px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; background: var(--card); cursor: pointer;
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
}
.studio-tab:hover { transform: translateX(4px); }
.studio-tab[aria-selected="true"] { border-color: var(--ink); background: #fff; }
.studio-tab .dot { width: 46px; height: 46px; border-radius: 50%; flex: none; box-shadow: inset 0 -6px 12px -6px rgba(0,0,0,.35), inset 0 6px 10px -6px rgba(255,255,255,.7); }
.studio-tab b { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); }
.studio-tab span { display: block; color: var(--muted); font-size: var(--fs-micro); }
.studio-tab .ico { margin-left: auto; width: 18px; height: 18px; color: var(--aqua-ink); opacity: 0; transition: opacity .4s var(--ease); }
.studio-tab[aria-selected="true"] .ico { opacity: 1; }
.studio-panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  min-height: 460px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-float);
}
.studio-surface {
  position: absolute; inset: 0;
  transition: opacity .9s var(--ease), transform 1.2s var(--ease);
}
.studio-surface::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 70% 10%, rgba(255,255,255,.35), transparent 60%);
  mix-blend-mode: soft-light;
}
.studio-surface[hidden] { display: block; opacity: 0; transform: scale(1.04); pointer-events: none; }
.studio-copy {
  position: relative; z-index: 2; margin: clamp(14px, 1.6vw, 22px);
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: rgba(245, 247, 246, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  width: calc(100% - 2 * clamp(14px, 1.6vw, 22px));
}
.studio-copy .h3 { margin-bottom: 8px; }
.studio-copy dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 14px 0 0; font-size: var(--fs-small); }
.studio-copy dt { font-weight: 600; }
.studio-copy dd { margin: 0; color: #44545B; }

/* Feature rows (filtration / fixtures detail) */
.feature { padding-block: clamp(56px, 7vw, 110px); }
.feature + .feature { border-top: 1px solid var(--line); }
.pool--ink .feature + .feature { border-color: rgba(232, 236, 235, 0.12); }
.feature-copy { display: grid; gap: 18px; align-content: start; }
.feature-copy .lede { margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--aqua-ink); font-weight: 600; font-size: var(--fs-small); }
.kicker .ico { width: 20px; height: 20px; }
.pool--ink .kicker { color: var(--aqua-lite); }
.specs { display: grid; gap: 0; margin: 8px 0 0; border-radius: var(--r-md); overflow: hidden; background: var(--card); box-shadow: 0 18px 40px -30px rgba(19,34,43,.4); }
.pool--card .specs { background: #fff; }
.specs > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); }
.specs > div:first-child { border-top: 0; }
.specs dt { font-weight: 600; font-size: var(--fs-small); }
.specs dd { margin: 0; color: var(--muted); font-size: var(--fs-small); }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.ticks .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--aqua-ink); }
.pool--ink .ticks .ico { color: var(--aqua-lite); }

/* Water explainer pieces */
.toc { position: sticky; top: 92px; z-index: 5; display: flex; justify-content: center; margin-block: 0 clamp(24px, 3vw, 40px); pointer-events: none; }
.toc-inner {
  pointer-events: auto;
  display: flex; gap: 4px; padding: 6px; border-radius: var(--r-pill);
  background: rgba(245, 247, 246, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 12px 30px -18px rgba(19,34,43,.4);
  overflow-x: auto; max-width: 100%; scrollbar-width: none;
}
.toc-inner::-webkit-scrollbar { display: none; }
.toc a { white-space: nowrap; padding: 9px 15px; border-radius: var(--r-pill); text-decoration: none; font-size: var(--fs-small); font-weight: 500; transition: background .4s var(--ease), color .4s var(--ease); }
.toc a:hover { background: rgba(61,127,134,.1); }
.toc a.is-active { background: var(--ink); color: #fff; }

.meter { border-radius: var(--r-xl); background: var(--card); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-soft); }
.meter-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.meter-read { font-family: var(--font-display); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 340; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.meter-read small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.meter-class { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--tint); color: var(--aqua-ink); font-weight: 600; }
.meter-scale { position: relative; margin-top: 28px; height: 18px; border-radius: 18px; background: linear-gradient(90deg, #d5ecec 0%, #9ccbcd 27%, #5f9ea4 54%, #2f6870 80%, #13222b 100%); }
.meter-marks { display: grid; grid-template-columns: 60fr 60fr 60fr 100fr; margin-top: 10px; font-size: var(--fs-micro); color: var(--muted); }
.meter-marks span { border-left: 1px solid var(--line-strong); padding-left: 8px; }
.meter input[type="range"] { width: 100%; margin: 0; position: absolute; inset: -8px 0 auto; height: 34px; opacity: 0; cursor: pointer; }
.meter-knob {
  position: absolute; top: 50%; left: calc(var(--k, 0.3) * 100%);
  width: 34px; height: 34px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--card); border: 3px solid var(--ink);
  box-shadow: 0 8px 18px -8px rgba(19,34,43,.6);
  pointer-events: none;
  transition: left .25s var(--ease);
}
.meter input[type="range"]:focus-visible + .meter-knob { outline: 2px solid var(--aqua); outline-offset: 3px; }
.meter-note { margin: 18px 0 0; font-size: var(--fs-small); color: var(--muted); }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.compare .icard dl { margin: 6px 0 0; display: grid; gap: 12px; }
.compare .icard dt { font-weight: 600; font-size: var(--fs-small); }
.compare .icard dd { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-small); }

.decoder { display: grid; gap: 10px; }
.decoder details {
  background: var(--card); border-radius: var(--r-md);
  box-shadow: 0 16px 36px -28px rgba(19,34,43,.45);
  transition: background .5s var(--ease);
}
.pool--card .decoder details { background: #fff; }
.decoder summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px 20px 18px 26px; border-radius: var(--r-md);
}
.decoder summary::-webkit-details-marker { display: none; }
.decoder summary b { font-family: var(--font-display); font-weight: 420; font-size: 1.3rem; font-variation-settings: "SOFT" 80, "opsz" 36; }
.decoder summary span { color: var(--muted); font-size: var(--fs-small); }
.decoder .plus { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform .6s var(--ease), background .4s var(--ease); }
.decoder .plus .ico { width: 18px; height: 18px; }
.decoder details[open] .plus { transform: rotate(45deg); background: var(--tint); }
.decoder .dbody { padding: 0 26px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
.decoder .dbody h4 { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.04em; color: var(--aqua-ink); margin-bottom: 4px; }
.decoder .dbody p { margin: 0; font-size: var(--fs-small); color: var(--ink); }

.note {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 20px 24px; border-radius: var(--r-md);
  background: rgba(207, 224, 224, 0.55); font-size: var(--fs-small);
}
.note .ico { width: 22px; height: 22px; color: var(--aqua-ink); margin-top: 2px; }
.note p { margin: 0; }
.pool--tint .note { background: rgba(245, 247, 246, 0.7); }

/* Sediment sieve */
.sieve { gap: 14px; }
.sieve-dot { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; flex: none; }
.sieve-dot::after { content: ""; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9fd0d3, var(--aqua) 75%); }

/* Quote band */
.band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: clamp(24px, 4vw, 64px); align-items: end; }

/* Facts list (about / contact) */
.facts { display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-soft); }
.facts > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 18px 26px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { font-weight: 600; font-size: var(--fs-small); }
.facts dd { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.facts a { color: var(--aqua-ink); font-weight: 600; }

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; }
.form-card { background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 3.6vw, 52px); box-shadow: var(--shadow-soft); }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field legend { font-weight: 600; font-size: var(--fs-small); padding: 0; }
.field .req { color: var(--aqua-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 20px;
  border-radius: 22px; border: 1.5px solid var(--line-strong);
  background: #fff; font-size: 1rem;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 26px) 52%, calc(100% - 20px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 48px; }
.field textarea { min-height: 150px; resize: vertical; border-radius: 26px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(61, 127, 134, 0.18); }
.field .hint { font-size: var(--fs-micro); color: var(--muted); }
.field .err { display: none; font-size: var(--fs-micro); color: #9B2F2F; font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #B44444; }
.field.is-invalid .err { display: block; }
.field.is-valid input, .field.is-valid textarea { border-color: rgba(61, 127, 134, 0.6); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pills span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong); background: #fff;
  font-weight: 500; font-size: var(--fs-small);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 3px; }
.form-status { display: none; padding: 16px 20px; border-radius: 22px; font-size: var(--fs-small); }
.form-status.is-shown { display: block; }
.form-status.is-error { background: #F6E3E1; color: #7A2424; }
.form-status.is-ok { background: var(--tint); color: var(--ink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-foot p { margin: 0; font-size: var(--fs-micro); color: var(--muted); max-width: 34em; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; font-weight: 400; font-variation-settings: "SOFT" 80, "opsz" 48; margin: 2.2em 0 0.6em; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #24353e; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--aqua-ink); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin: calc(-1 * var(--r-xl)) var(--inset) var(--inset);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(56px, 7vw, 110px) 0 clamp(24px, 3vw, 36px);
  overflow: hidden;
  box-shadow: 0 -30px 60px -40px rgba(19, 34, 43, .4);
}
.footer::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  right: -18vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 127, 134, 0.28), transparent 62%);
  pointer-events: none;
}
.footer.is-first { margin-top: var(--s-7); }
.footer-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); }
.footer-tag { font-family: var(--font-display); font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.9rem); line-height: 1.02; font-weight: 330; letter-spacing: -0.022em; font-variation-settings: "SOFT" 100, "opsz" 144; margin: 0 0 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer h2 { font-size: var(--fs-micro); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; color: var(--on-ink-muted); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--on-ink); transition: color .3s var(--ease); }
.footer a:hover { color: var(--aqua-lite); }
.footer .btn--light, .footer .btn--light:hover { color: var(--ink); }
.footer-contact { display: grid; gap: 10px; margin-top: 6px; font-size: var(--fs-small); color: var(--on-ink-muted); }
.footer-contact div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.footer-contact .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--aqua-lite); }
.footer-contact a { color: var(--on-ink); font-weight: 500; }
.footer-word {
  position: relative; font-family: var(--font-display); font-size: clamp(5rem, 2rem + 17vw, 19rem); line-height: 0.86; letter-spacing: -0.05em; font-weight: 300;
  font-variation-settings: "SOFT" 100, "opsz" 144; color: transparent; -webkit-text-stroke: 1px rgba(232, 236, 235, 0.2);
  background-image: linear-gradient(to top, rgba(143, 195, 198, 0.22) 0%, rgba(143, 195, 198, 0.22) 44%, rgba(185, 220, 221, 0.6) 44%, rgba(185, 220, 221, 0.6) 44.8%, transparent 44.8%);
  -webkit-background-clip: text; background-clip: text;
  margin: clamp(40px, 6vw, 90px) 0 0; padding-bottom: 0.04em; user-select: none; white-space: nowrap;
}
.footer-word i { font-style: italic; }
.footer-legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(20px, 3vw, 34px); padding-top: 22px; border-top: 1px solid rgba(232, 236, 235, 0.12); font-size: var(--fs-micro); color: var(--on-ink-muted); }
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; gap: 18px; }

/* ---------- Reveal ---------- */
.js [data-rise] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rise].is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.lost { min-height: 78vh; display: grid; align-items: center; padding-top: 140px; padding-bottom: 80px; }
.lost-pool { position: relative; width: clamp(140px, 22vw, 260px); aspect-ratio: 1; border-radius: 48% 52% 56% 44% / 52% 44% 56% 48%; background: radial-gradient(circle at 35% 30%, #d7ecec, var(--tint) 40%, #8fc3c6 80%); box-shadow: inset 0 -20px 40px -20px rgba(19, 34, 43, .35), var(--shadow-float); animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%, 100% { border-radius: 48% 52% 56% 44% / 52% 44% 56% 48%; } 50% { border-radius: 56% 44% 46% 54% / 44% 56% 46% 54%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .flow::before { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .pebbles { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .stack { height: clamp(460px, 70vw, 640px); max-width: 720px; width: 100%; margin-inline: auto; }
  .phero-grid { grid-template-columns: 1fr; align-items: start; }
  .split, .split--text-wide { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .head--split { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; align-items: start; }
  .decoder .dbody { grid-template-columns: 1fr; }
  .layer .chip { left: 4%; }
  .layer--left .chip { right: 4%; }
}
@media (max-width: 760px) {
  :root { --r-xl: 34px; --r-lg: 28px; }
  .halves { grid-template-columns: 1fr; }
  .halves .card:nth-child(2) { margin-top: 0; }
  .grid-2, .grid-3, .grid-4, .compare { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; row-gap: 26px; }
  .flow li { grid-template-columns: 72px 1fr; column-gap: 18px; align-items: start; }
  .flow li > :not(.flow-dot) { grid-column: 2; }
  .flow .flow-dot { width: 64px; height: 64px; grid-row: 1 / span 3; }
  .flow .flow-dot .ico { width: 24px; height: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .specs > div, .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .decoder summary { grid-template-columns: 1fr auto; padding: 16px 16px 16px 22px; }
  .decoder summary span { grid-column: 1; grid-row: 2; }
  .decoder summary .plus { grid-column: 2; grid-row: 1 / span 2; }
  .decoder .dbody { padding: 0 22px 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stack { height: 470px; }
  .ph--a { width: 70%; height: 84%; border-radius: 36px; }
  .ph--b { width: 42%; height: 56%; border-radius: 30px; box-shadow: 0 0 0 7px var(--paper), var(--shadow-float); }
  .ph--c { left: 6%; width: 32%; border-radius: 24px; box-shadow: 0 0 0 6px var(--paper), var(--shadow-float); }
  .stack .chip { right: 0; bottom: 3%; max-width: 250px; padding: 10px 14px 10px 10px; }
  .studio-panel { min-height: 0; padding-top: 170px; }
  .studio-copy dl { grid-template-columns: 1fr; gap: 2px; }
  .studio-copy dd { margin-bottom: 8px; }
  .chip { font-size: var(--fs-micro); }
  .layer::before { inset: 8% -3% -4% 10%; }
  .layer--left::before { inset: 8% 10% -4% -3%; }
  .layer .chip { left: 3%; bottom: 5%; max-width: 86%; }
  .layer--left .chip { right: 3%; left: auto; }
  .pebble:nth-child(2n) .pebble-swatch { transform: translateY(-8px); }
  .toc { top: 80px; justify-content: flex-start; padding-inline: 12px; }
  .toc a { padding: 8px 13px; font-size: var(--fs-micro); }
}
@media (max-width: 420px) {
  .pebbles { gap: 14px 10px; justify-content: center; }
  .pebble-swatch { width: 92px; }
  .pebble { width: calc(33.33% - 8px); }
  .footer-cols { grid-template-columns: 1fr; }
  .meter-marks { font-size: 0.72rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .ph, .chip, .layer .frame, .layer::before { transform: none !important; }
  .fill-text { --fill: 52; animation: none; }
}
