/* ==========================================================================
   portableshower.it.com — main stylesheet
   Theme: Bright Marine (header) · Cornflower Ocean (footer)
   Plain CSS3, no frameworks. Media sizing uses aspect-ratio + object-fit so
   replacement photos/videos never distort.
   ========================================================================== */

:root {
  /* Bright Marine */
  --marine: #0a74da;
  --marine-bright: #1a8cff;
  --marine-deep: #05478f;
  --marine-ink: #042a57;
  /* Cornflower Ocean */
  --cornflower: #6c93ec;
  --cornflower-mid: #4a6fd6;
  --cornflower-deep: #2b43a3;
  --cornflower-night: #1c2c72;
  /* Neutrals / water */
  --foam: #f5f9ff;
  --mist: #e8f1fc;
  --spray: #d4e6fb;
  --aqua: #36c9dc;
  --ink: #0d2138;
  --ink-soft: #3d5169;
  --line: #d3e0ef;
  --white: #ffffff;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 32px;
  --shadow-soft: 0 18px 40px -22px rgba(5, 71, 143, .45);
  --shadow-lift: 0 30px 60px -30px rgba(4, 42, 87, .55);
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--foam);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--marine); text-underline-offset: 3px; }
a:hover { color: var(--marine-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; color: var(--marine-ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--marine); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.btn {
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--marine { background: var(--marine); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--marine:hover { background: var(--marine-deep); color: var(--white); }
.btn--ghost { border-color: var(--marine); color: var(--marine); background: transparent; }
.btn--ghost:hover { background: var(--marine); color: var(--white); }
.btn--white { background: var(--white); color: var(--marine-deep); }
.btn--white:hover { background: var(--mist); color: var(--marine-ink); }
.arrow { transition: transform .2s ease; }
a:hover .arrow { transform: translateX(4px); }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 1rem 3rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-soft); }

.media-frame { position: relative; overflow: hidden; background: var(--mist); }
.media-frame > img, .media-frame > video { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   HEADER — "Helm": tide-line strip + Bright Marine bar with capsule deck
   ========================================================================== */
.masthead { position: sticky; top: 0; z-index: 100; }
.tideline { background: var(--marine-ink); color: #bcd7f7; font-size: .8rem; letter-spacing: .04em; }
.tideline__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; }
.tideline p { margin: 0; }
.tideline a { color: var(--white); text-decoration: none; font-weight: 600; }
.tideline a:hover { color: var(--aqua); }
.helm {
  background: linear-gradient(100deg, var(--marine-deep) 0%, var(--marine) 45%, var(--marine-bright) 100%);
  box-shadow: 0 10px 30px -18px rgba(4, 42, 87, .9);
  transition: box-shadow .3s ease;
}
.helm__in { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; transition: min-height .3s ease; }
.masthead.is-compact .helm__in { min-height: 64px; }
.masthead.is-compact .tideline { display: none; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand__drop {
  width: 44px; height: 44px; border-radius: 50% 50% 50% 12px; display: grid; place-items: center;
  background: var(--white); color: var(--marine); transform: rotate(-45deg);
  box-shadow: inset 0 -6px 0 var(--spray);
}
.brand__drop svg { width: 22px; height: 22px; transform: rotate(45deg); }
.brand__word { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -.01em; line-height: 1; }
.brand__word b { font-weight: 700; color: #bfe9ff; }
.brand__word small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: #a9cff5; margin-top: 5px; }

.deck { margin-left: auto; }
.deck__list {
  list-style: none; margin: 0; padding: 5px; display: flex; gap: 2px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; backdrop-filter: blur(6px);
}
.deck__list a {
  display: flex; align-items: baseline; gap: .35em; white-space: nowrap;
  padding: .55em 1em; border-radius: 999px; color: var(--white); text-decoration: none;
  font-size: .9rem; font-weight: 600; transition: background .2s ease, color .2s ease;
}
.deck__list a i { font-style: normal; font-size: .66rem; letter-spacing: .08em; opacity: .7; }
.deck__list a:hover { background: rgba(255, 255, 255, .18); color: var(--white); }
.deck__list a[aria-current="page"] { background: var(--white); color: var(--marine-deep); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.deck__list a[aria-current="page"] i { opacity: 1; color: var(--marine); }
.deck__mail { display: none; }

.helm__toggle {
  display: none; margin-left: auto; align-items: center; gap: .6rem;
  background: var(--white); color: var(--marine-deep); border: 0; border-radius: 999px;
  padding: .6rem 1rem .6rem .8rem; font: 700 .85rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.helm__toggle[aria-expanded="true"] .bars { background: transparent; }
.helm__toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.helm__toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1260px) {
  .deck__list a i { display: none; }
  .deck__list a { padding: .55em .8em; }
}
@media (max-width: 1060px) {
  .helm__toggle { display: inline-flex; }
  .deck {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--marine-ink); margin: 0;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s ease, visibility .35s;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5);
  }
  .deck.is-open { max-height: calc(100vh - 64px); overflow-y: auto; visibility: visible; }
  .deck__list {
    flex-direction: column; background: none; border: 0; border-radius: 0; padding: 12px var(--gutter) 8px; gap: 0;
    max-width: var(--wrap); margin-inline: auto;
  }
  .deck__list li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .deck__list a { padding: 1rem .2rem; border-radius: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; gap: .8em; }
  .deck__list a i { display: inline; font-family: var(--font-body); color: var(--aqua); opacity: 1; }
  .deck__list a[aria-current="page"] { background: none; color: var(--aqua); box-shadow: none; }
  .deck__mail { display: block; padding: 14px var(--gutter) 26px; max-width: var(--wrap); margin-inline: auto; }
  .deck__mail a { color: #cfe4fb; font-weight: 600; overflow-wrap: anywhere; }
  .helm__in { position: static; }
  .helm { position: relative; }
}
@media (max-width: 640px) {
  .tideline p { display: none; }
  .tideline__in { justify-content: center; }
  .brand__word small { display: none; }
  .helm__toggle-label { display: none; }
  .helm__toggle { padding: .75rem; }
}

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(60px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(26, 140, 255, .14) 0%, rgba(26, 140, 255, 0) 65%); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--marine); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 10px; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.hero__notes li { font-size: .85rem; font-weight: 600; color: var(--marine-deep); background: var(--white); border: 1px solid var(--line); padding: .45em .95em; border-radius: 999px; }

.hero__stage { position: relative; padding: 0 0 60px 40px; }
.arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-l) var(--radius-l);
  box-shadow: var(--shadow-lift); border: 8px solid var(--white);
}
.arch video, .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.video-toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .9); color: var(--marine-deep); display: grid; place-items: center; cursor: pointer;
}
.video-toggle svg { width: 18px; height: 18px; }
.float-card {
  position: absolute; left: 0; bottom: 0; width: min(250px, 55%);
  background: var(--white); border-radius: var(--radius-m); padding: 14px; box-shadow: var(--shadow-lift);
  text-decoration: none; color: var(--ink); transition: transform .25s ease;
}
.float-card:hover { transform: translateY(-4px); color: var(--ink); }
.float-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 12px; background: var(--white); }
.float-card span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marine); margin-top: 8px; }
.float-card strong { font-family: var(--font-display); font-size: 1.05rem; }
.ripple { position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%; border: 2px solid var(--spray); z-index: -1; }
.ripple::before, .ripple::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 2px solid var(--spray); }
.ripple::after { inset: 46px; background: var(--mist); }

/* ---------- Collection ribbon ---------- */
.ribbon { background: var(--white); border-block: 1px solid var(--line); }
.ribbon__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.pod {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 30px; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); transition: background .25s ease;
}
.pod:last-child { border-right: 0; }
.pod:hover { background: var(--foam); color: var(--ink); }
.pod__num { font-family: var(--font-display); font-size: .95rem; color: var(--marine); }
.pod__img { width: 100%; aspect-ratio: 1 / 1; margin: 12px 0 16px; background: var(--white); border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.pod__img img { width: 80%; height: 80%; object-fit: contain; transition: transform .35s ease; }
.pod:hover .pod__img img { transform: scale(1.06) rotate(-2deg); }
.pod h3 { font-size: 1.15rem; margin-bottom: .2em; }
.pod p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 1rem; }
.pod__go { margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--marine); }

/* ---------- Bento: two families ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(120px, auto); gap: 18px; }
.tile { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.tile--intro { grid-column: span 5; grid-row: span 2; padding: clamp(24px, 3vw, 40px); background: var(--marine-ink); color: #d6e7fb; border: 0; display: flex; flex-direction: column; }
.tile--intro h2 { color: var(--white); }
.tile--intro p { color: #bcd4ef; }
.tile--intro .btn { margin-top: auto; align-self: flex-start; }
.tile--photo { grid-column: span 4; grid-row: span 2; min-height: 320px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); border-radius: 12px;
  padding: 10px 14px; font-size: .88rem; font-weight: 600; color: var(--marine-ink);
}
.tile--tall { grid-column: span 3; grid-row: span 2; }
.tile--wide { grid-column: span 7; padding: 26px 28px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; align-items: center; }
.tile--wide img { width: 140px; aspect-ratio: 1; object-fit: contain; border-radius: 14px; background: var(--white); }
.tile--wide h3 { margin-bottom: .25em; }
.tile--wide p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.tile--accent { grid-column: span 5; padding: 26px 28px; background: linear-gradient(135deg, var(--marine) 0%, var(--marine-bright) 100%); color: var(--white); border: 0; }
.tile--accent h3 { color: var(--white); }
.tile--accent p { margin: 0; color: #e0efff; font-size: .95rem; }

/* ---------- Anatomy ---------- */
.anatomy { background: linear-gradient(180deg, var(--foam) 0%, var(--mist) 100%); }
.anatomy__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.anatomy__visual { position: relative; }
.anatomy__visual .disc { aspect-ratio: 1; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.anatomy__visual .disc img { width: 76%; height: 76%; object-fit: contain; }
.anatomy__tag { position: absolute; right: 4%; top: 6%; background: var(--marine); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .5em 1em; border-radius: 999px; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: step; display: grid; gap: 4px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 1.7rem; color: var(--marine); line-height: 1; }
.steps h3 { font-size: 1.12rem; margin-bottom: .2em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Where it fits: horizontal track ---------- */
.track-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 32px; }
.track-head h2 { margin: 0; }
.track-btns { display: flex; gap: 8px; }
.track-btns button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--marine); background: transparent; color: var(--marine); font-size: 1.2rem; cursor: pointer; transition: background .2s, color .2s; }
.track-btns button:hover { background: var(--marine); color: var(--white); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--marine) var(--mist); }
.scene { scroll-snap-align: start; margin: 0; }
.scene .media-frame { aspect-ratio: 3 / 4; border-radius: var(--radius-m); }
.scene figcaption { padding: 14px 4px 0; }
.scene h3 { font-size: 1.15rem; margin-bottom: .2em; }
.scene p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------- Care / FAQ ---------- */
.care__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.care__aside { position: sticky; top: 130px; }
.care__aside .media-frame { aspect-ratio: 4 / 5; border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 4px; margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--marine-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--marine); font-family: var(--font-body); font-size: 1.3rem; transition: transform .25s ease, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--marine); color: var(--white); }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Closing band ---------- */
.band { position: relative; margin: 0 var(--gutter) clamp(64px, 8vw, 110px); border-radius: var(--radius-l); overflow: hidden; min-height: 420px; display: grid; align-items: end; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 42, 87, .88) 0%, rgba(5, 71, 143, .55) 50%, rgba(5, 71, 143, 0) 85%); }
.band__body { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 620px; color: #dcebfc; }
.band__body h2 { color: var(--white); }
.band__body a.mail-link { color: var(--white); font-weight: 700; overflow-wrap: anywhere; }

/* ==========================================================================
   SHOWERS PAGE
   ========================================================================== */
.catalog-hero { padding-block: clamp(40px, 6vw, 80px) 0; }
.catalog-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.catalog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.strip .media-frame { border-radius: 999px 999px 16px 16px; }
.strip .media-frame:nth-child(1) { aspect-ratio: 2 / 3.2; }
.strip .media-frame:nth-child(2) { aspect-ratio: 2 / 3.8; }
.strip .media-frame:nth-child(3) { aspect-ratio: 2 / 2.8; }

.filterbar { position: sticky; top: 64px; z-index: 20; background: rgba(245, 249, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.filterbar__in { display: flex; align-items: center; gap: 10px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.filterbar__in::-webkit-scrollbar { display: none; }
.filterbar__label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; margin-right: 6px; }
.chip { flex-shrink: 0; border: 1.5px solid var(--line); background: var(--white); color: var(--marine-ink); font: 600 .9rem var(--font-body); padding: .55em 1.1em; border-radius: 999px; cursor: pointer; transition: all .2s ease; }
.chip:hover { border-color: var(--marine); }
.chip[aria-pressed="true"] { background: var(--marine); color: var(--white); border-color: var(--marine); }

.spec-list { display: grid; gap: clamp(28px, 4vw, 44px); }
.spec {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); background: var(--white);
  border-radius: var(--radius-l); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 150px;
}
.spec:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.spec:nth-child(even) .spec__visual { order: 2; }
.spec__visual { position: relative; background: radial-gradient(circle at 50% 45%, var(--white) 0%, var(--white) 55%, var(--mist) 100%); display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); min-height: 360px; }
.spec__visual img { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: contain; }
.spec__index { position: absolute; top: 20px; left: 22px; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--spray); }
.spec__body { padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; }
.spec__tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marine-deep); background: var(--mist); padding: .45em .9em; border-radius: 999px; margin-bottom: 1rem; }
.spec__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .4em; }
.spec__body > p { color: var(--ink-soft); }
.spec__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: .5rem 0 1.6rem; }
.spec__cols h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marine); margin-bottom: .8em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50% 50% 50% 3px; background: var(--marine); transform: rotate(-45deg); }
.spec__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.spec__foot small { color: var(--ink-soft); font-size: .86rem; }
.is-hidden { display: none !important; }

.styles-gallery { columns: 3 260px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; background: var(--white); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; height: auto; transition: transform .4s ease; }
.shot button:hover img { transform: scale(1.03); }
.shot figcaption { padding: 14px 16px 16px; }
.shot figcaption strong { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--marine-ink); }
.shot figcaption span { font-size: .88rem; color: var(--ink-soft); }

.motion { background: var(--marine-ink); color: #cfe2f9; }
.motion__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.motion h2 { color: var(--white); }
.motion .media-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-m); background: #000; }
.motion .media-frame video { object-fit: cover; }

.guide-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; font-size: .96rem; }
.guide-table th, .guide-table td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.guide-table thead th { background: var(--mist); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--marine-deep); }
.guide-table tbody th { font-family: var(--font-display); font-size: 1.05rem; color: var(--marine-ink); font-weight: 600; }
.guide-table tr:last-child th, .guide-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 26, 54, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: #dcebfc; margin-top: 12px; text-align: center; font-size: .95rem; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--marine-ink); font-size: 1.5rem; cursor: pointer; }

/* ==========================================================================
   INNER PAGE HEADERS (legal + contact)
   ========================================================================== */
.page-banner { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); overflow: hidden; }
.page-banner::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 40px solid var(--mist); pointer-events: none; }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; position: relative; z-index: 1; }
.page-banner .lede { position: relative; z-index: 1; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 1.4rem; font-size: .88rem; color: var(--ink-soft); position: relative; z-index: 1; }
.meta-row span b { color: var(--marine-ink); }
.crumbs { font-size: .85rem; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.crumbs li + li::before { content: "/"; margin-right: .4em; color: var(--ink-soft); }
.crumbs a { text-decoration: none; font-weight: 600; }

/* Privacy: sidebar index + flowing sections */
.policy { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 8vw, 110px); }
.policy__index { position: sticky; top: 120px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.policy__index h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--marine); margin-bottom: 1em; }
.policy__index ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .93rem; }
.policy__index a { text-decoration: none; color: var(--marine-ink); }
.policy__index a:hover { color: var(--marine); text-decoration: underline; }
.prose { max-width: 74ch; }
.prose section { scroll-margin-top: 130px; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.callout { background: var(--mist); border-left: 4px solid var(--marine); padding: 18px 22px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 1.4rem 0; }
.callout p:last-child { margin: 0; }

/* Terms: numbered clause articles on a two-column grid */
.clauses { counter-reset: clause; display: grid; gap: 0; padding-bottom: clamp(64px, 8vw, 110px); }
.clause { counter-increment: clause; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: clamp(16px, 4vw, 48px); padding: 34px 0; border-top: 2px solid var(--marine-ink); }
.clause:last-child { border-bottom: 2px solid var(--marine-ink); }
.clause__no { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--marine); }
.clause__no::before { content: "§" counter(clause); }
.clause h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.clause ol { padding-left: 1.3em; }
.clause ol li { margin-bottom: .5em; }
.terms-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 40px; }
.terms-intro div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; }
.terms-intro h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--marine); }
.terms-intro p { margin: 0; font-size: .96rem; }

/* Cookie: question cards + register table */
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(22px, 3vw, 32px); position: relative; }
.qa::before { content: "?"; position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--spray); }
.qa h2 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); padding-right: 36px; }
.qa p:last-child, .qa ul:last-child { margin-bottom: 0; }
.qa--wide { grid-column: 1 / -1; background: var(--marine-ink); color: #d0e3f9; border: 0; }
.qa--wide h2 { color: var(--white); }
.qa--wide::before { color: rgba(255, 255, 255, .15); }
.qa--wide a { color: #9fd3ff; }
.browser-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.browser-list li { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 14px 16px; font-size: .94rem; }
.browser-list b { display: block; color: var(--white); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 22px; padding-bottom: clamp(40px, 6vw, 72px); }
.mail-card { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); background: linear-gradient(140deg, var(--marine-deep) 0%, var(--marine) 60%, var(--marine-bright) 100%); color: #dcecff; min-height: 360px; display: flex; flex-direction: column; }
.mail-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); }
.mail-card h2 { color: var(--white); }
.mail-card__addr { font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 2.1rem); color: var(--white); text-decoration: none; overflow-wrap: anywhere; line-height: 1.25; margin: .4rem 0 1.4rem; display: inline-block; position: relative; z-index: 1; }
.mail-card__addr:hover { color: #bfe9ff; }
.mail-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; position: relative; z-index: 1; }
.copy-btn { background: transparent; border: 2px solid rgba(255, 255, 255, .7); color: var(--white); }
.copy-btn:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.copy-status { font-size: .9rem; font-weight: 600; color: #bfe9ff; min-height: 1.4em; }

.post-card { position: relative; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; }
.post-card::before { content: ""; position: absolute; inset: 10px; border: 2px dashed var(--spray); border-radius: calc(var(--radius-l) - 8px); pointer-events: none; }
.post-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.post-card address { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.55; color: var(--marine-ink); }
.postmark { align-self: flex-end; margin-top: auto; width: 110px; height: 110px; border-radius: 50%; border: 3px double var(--marine); color: var(--marine); display: grid; place-items: center; text-align: center; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; transform: rotate(-12deg); }

.checklist-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-bottom: clamp(64px, 8vw, 110px); }
.checklist-panel .media-frame { aspect-ratio: 5 / 4; border-radius: var(--radius-l); }
.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 14px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.numbered li::before { content: counter(n); width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--marine-deep); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

/* ==========================================================================
   FOOTER — "Shore": Cornflower Ocean with wave crest and circular stamp
   ========================================================================== */
.shore { position: relative; margin-top: 40px; color: #e3ebff; }
.shore__wave { width: 100%; height: 70px; display: block; margin-bottom: -1px; }
.shore__wave path { fill: var(--cornflower-mid); }
.shore__body { background: linear-gradient(180deg, var(--cornflower-mid) 0%, var(--cornflower-deep) 55%, var(--cornflower-night) 100%); padding-block: 20px 28px; }
.shore__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.shore__slogan { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.08; color: var(--white); margin: 0; }
.shore__slogan em { color: #bfe0ff; }
.shore__mail { justify-self: end; display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); padding: 18px 22px; border-radius: var(--radius-m); color: var(--white); max-width: 100%; transition: background .2s; }
.shore__mail:hover { background: rgba(255, 255, 255, .22); color: var(--white); }
.shore__mail small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #c9d8ff; }
.shore__mail span { font-weight: 700; overflow-wrap: anywhere; }
.shore__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 170px; gap: 32px; padding-block: 40px; }
.shore h2 { font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #b9ccff; margin-bottom: 1.1em; }
.shore ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.shore a { color: var(--white); text-decoration: none; }
.shore ul a { display: inline-flex; gap: .5em; align-items: baseline; }
.shore ul a i { font-style: normal; font-size: .7rem; color: #aebfff; }
.shore ul a:hover { color: #bfe0ff; text-decoration: underline; }
.shore address { line-height: 1.7; }
.shore__about { font-size: .95rem; color: #d3ddff; }
.stamp { width: 160px; height: 160px; justify-self: end; color: #d8e4ff; }
.stamp svg { width: 100%; height: 100%; animation: spin 38s linear infinite; }
.stamp text { font: 700 10.5px var(--font-body); letter-spacing: 3px; text-transform: uppercase; fill: currentColor; }
.stamp { position: relative; }
.stamp__core { position: absolute; inset: 50px; border-radius: 50%; background: var(--white); color: var(--cornflower-deep); display: grid; place-items: center; }
.stamp__core svg { width: 26px; height: 26px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.shore__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .88rem; color: #c6d3ff; }
.shore__base p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; padding: .5em 1em; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.to-top:hover { background: rgba(255, 255, 255, .26); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .stamp svg { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .tile--intro { grid-column: span 12; grid-row: auto; }
  .tile--photo { grid-column: span 7; }
  .tile--tall { grid-column: span 5; }
  .tile--wide { grid-column: span 12; }
  .tile--accent { grid-column: span 12; }
  .shore__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stamp { display: none; }
}
@media (max-width: 900px) {
  .hero__grid, .anatomy__grid, .care__grid, .catalog-hero__grid, .motion__grid, .checklist-panel, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { max-width: 520px; margin-inline: auto; width: 100%; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .ribbon__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pod:nth-child(2) { border-right: 0; }
  .pod:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .anatomy__visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .care__aside { position: static; }
  .care__aside .media-frame { aspect-ratio: 16 / 10; }
  .track { grid-auto-columns: minmax(240px, 46%); }
  .spec, .spec:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .spec:nth-child(even) .spec__visual { order: 0; }
  .spec__visual { min-height: 0; }
  .spec__visual img { max-width: 320px; }
  .policy { grid-template-columns: minmax(0, 1fr); }
  .policy__index { position: static; }
  .qa-grid, .terms-intro { grid-template-columns: minmax(0, 1fr); }
  .shore__top { grid-template-columns: minmax(0, 1fr); }
  .shore__mail { justify-self: start; }
  .checklist-panel .media-frame { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero__stage { padding: 0 0 70px 0; }
  .float-card { width: 62%; left: -4px; }
  .ripple { display: none; }
  .ribbon__grid { grid-template-columns: minmax(0, 1fr); }
  .pod { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 20px 4px; }
  .pod:last-child { border-bottom: 0; }
  .pod__num { grid-column: 2; }
  .pod__img { grid-row: 1 / span 4; grid-column: 1; margin: 0; }
  .pod h3, .pod p, .pod__go { grid-column: 2; }
  .pod p { margin-bottom: .4rem; }
  .tile--photo, .tile--tall { grid-column: span 12; min-height: 300px; }
  .tile--wide { grid-template-columns: minmax(0, 1fr); }
  .tile--wide img { width: 120px; }
  .track { grid-auto-columns: 78%; }
  .spec__cols { grid-template-columns: minmax(0, 1fr); }
  .strip { gap: 8px; }
  .filterbar { top: 64px; }
  .clause { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .band { min-height: 460px; }
  .band::after { background: linear-gradient(0deg, rgba(4, 42, 87, .92) 0%, rgba(5, 71, 143, .6) 60%, rgba(5, 71, 143, .15) 100%); }
  .shore__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shore__base { flex-direction: column; align-items: flex-start; }
  .guide-table th, .guide-table td { padding: 12px 14px; }
  .postmark { width: 92px; height: 92px; }
}
