/* ==========================================================================
   Purity Sweet Water — design system
   --------------------------------------------------------------------------
   Light editorial layout.
     · white / pale-ice page, hero in a soft daylight-blue wash
     · light-weight serif display headings, wide-tracked uppercase sans labels
     · thin ring motifs with a small brand-blue dot
     · pill buttons, soft lifted shadows, hairline borders
     · two deliberately deep bands — the media carousel and the footer — set
       the rhythm. They re-declare the ink and line tokens locally, so every
       shared component (.btn, .display, .ring, .eyebrow) inverts by itself.

   One stylesheet serves English (LTR) and Arabic (RTL). Everything directional
   uses logical properties, so the layout mirrors itself from <html dir> alone.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
    /* Surfaces, lightest first */
    --surface-0: #ffffff;
    --surface-1: #f5f9fe;
    --surface-2: #eaf2fb;
    --surface-3: #dfeaf7;

    /* Ocean blues — the brand line */
    --sea-900: #062b5e;
    --sea-800: #073a80;
    --sea-700: #0a4c9e;
    --sea-600: #0f63c4;
    --sea-500: #1279dc;
    --sea-400: #3e9be9;
    --sea-100: #dbe9fb;
    --sea-50: #f1f7fe;

    /* Accents. --accent carries text and is contrast-checked on white;
       --aqua is decorative only: dots, gradients, icon fills. */
    --accent: #0f63c4;
    --accent-deep: #0a4c9e;
    --aqua: #0bb3cc;
    --aqua-deep: #0891a8;

    /* Deep water, for the surfaces the bottles stand on. These were sand
       tones; against bottled water the brown read as dirty. The blues also
       carry white card type far better — the old lightest stop managed only
       2.07:1, this one is 5.31:1. */
    --deep-300: #2e6fa8;
    --deep-500: #1a4d7d;
    --deep-700: #0e3358;

    /* Type */
    --ink: #0b1b33;
    --body: #4a5a72;
    --muted: #6b7c96;

    --line: rgba(11, 27, 51, 0.14);
    --line-soft: rgba(11, 27, 51, 0.07);

    /* Elevation. Cool-tinted, wide and low in opacity — never a hard drop. */
    --shadow-sm: 0 1px 2px rgba(9, 45, 95, 0.05), 0 10px 24px -16px rgba(9, 45, 95, 0.28);
    --shadow-md: 0 2px 4px rgba(9, 45, 95, 0.04), 0 20px 44px -24px rgba(9, 45, 95, 0.35);
    --shadow-lg: 0 30px 70px -34px rgba(9, 45, 95, 0.45);

    /* Faces. [dir="rtl"] swaps these wholesale. */
    --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
    --font-ui: "Jost", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

    /* Uppercase tracking for labels — zeroed out in Arabic. */
    --track: 0.22em;
    --track-wide: 0.4em;
    --caps: uppercase;

    --container: 1120px;
    --gutter: clamp(20px, 4.5vw, 60px);

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Arabic: a naskh display face, and no tracking or uppercase — letter-spacing
   pulls apart the joined letterforms, and uppercase is meaningless. */
[dir="rtl"] {
    --font-display: "Amiri", "Playfair Display", Georgia, serif;
    --font-ui: "Tajawal", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
    --track: 0;
    --track-wide: 0.04em;
    --caps: none;
}

/* The inverse scope. Anything painted on a deep blue field opts in by
   re-declaring the same tokens, so shared components need no dark variants. */
.on-dark {
    --ink: #ffffff;
    --body: rgba(233, 241, 252, 0.78);
    --muted: rgba(233, 241, 252, 0.6);
    --accent: #7ec8f2;
    --line: rgba(255, 255, 255, 0.26);
    --line-soft: rgba(255, 255, 255, 0.12);
    color: var(--body);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-block-start: 110px;
}

body {
    background: var(--surface-0);
    color: var(--body);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

[dir="rtl"] body {
    line-height: 1.95;
    letter-spacing: 0;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: rgba(18, 121, 220, 0.18);
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0.005em;
    color: var(--ink);
}

[dir="rtl"] .display {
    line-height: 1.4;
    letter-spacing: 0;
}

.display--xl {
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
}
.display--lg {
    font-size: clamp(2.15rem, 4.6vw, 3.4rem);
}
.display--md {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}
.display--sm {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

/* The wide-tracked uppercase micro-label used above headings and inside tiles. */
.eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--accent);
    line-height: 1.6;
}

.eyebrow--muted {
    color: var(--muted);
}

[dir="rtl"] .eyebrow {
    font-size: 0.85rem;
}

.lede {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--body);
    max-width: 46ch;
}

.prose p + p {
    margin-block-start: 1.1em;
}

.text-center {
    text-align: center;
}

.measure {
    max-width: 62ch;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 940px;
}

.section {
    position: relative;
    padding-block: clamp(72px, 11vw, 148px);
}

/* Three page grounds, alternated to give the scroll its rhythm. */
.section--paper {
    background: var(--surface-0);
}
.section--tint {
    background: var(--surface-1);
}
.section--wash {
    background: var(--surface-2);
}

/* A hairline keeps the seam visible where two tinted grounds meet. */
.section--tint + .section--tint {
    border-block-start: 1px solid var(--line-soft);
}

.section--tight {
    padding-block: clamp(56px, 8vw, 104px);
}

.section__head {
    text-align: center;
    margin-block-end: clamp(48px, 7vw, 88px);
}

.section__head .eyebrow {
    display: block;
    margin-block-end: 18px;
}

.section__head .lede {
    margin-inline: auto;
    margin-block-start: 22px;
}

.stack > * + * {
    margin-block-start: var(--stack-gap, 24px);
}

/* --------------------------------------------------------------------------
   5. Ring motif — thin circle, small brand dot riding the edge
   -------------------------------------------------------------------------- */

.ring {
    position: relative;
    display: inline-grid;
    place-items: center;
    inline-size: var(--ring-size, 72px);
    block-size: var(--ring-size, 72px);
    border: 1px solid var(--line);
    border-radius: 50%;
    flex: none;
}

.ring::before {
    content: "";
    position: absolute;
    inset: 22%;
    border: 1px solid var(--line-soft);
    border-radius: 50%;
}

/* On white a glow reads as a smudge, so the dot takes a crisp halo instead. */
.ring__dot,
.ring::after {
    content: "";
    position: absolute;
    inline-size: 6px;
    block-size: 6px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 0 4px rgba(11, 179, 204, 0.14);
}

.ring::after {
    inset-block-start: -3px;
    inset-inline-start: calc(50% - 3px);
}

.ring__dot {
    inset-block-end: 12%;
    inset-inline-end: -3px;
    inline-size: 4px;
    block-size: 4px;
    opacity: 0.75;
}

/* Oversized decorative rings floating behind content. */
.ring--ghost {
    position: absolute;
    --ring-size: clamp(150px, 20vw, 260px);
    border-color: var(--line-soft);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.ring--ghost::before {
    inset: 30%;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-block: 14px;
    padding-inline: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface-0);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    line-height: 1;
    cursor: pointer;
    transition:
        border-color 0.4s var(--ease),
        background-color 0.4s var(--ease),
        box-shadow 0.4s var(--ease),
        color 0.4s var(--ease),
        transform 0.4s var(--ease);
}

[dir="rtl"] .btn {
    font-size: 0.85rem;
}

.btn:hover {
    border-color: rgba(15, 99, 196, 0.45);
    background: var(--sea-50);
    color: var(--accent-deep);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.on-dark .btn {
    background: transparent;
    color: #fff;
}

.on-dark .btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
}

.btn__dot {
    inline-size: 7px;
    block-size: 7px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 0 4px rgba(11, 179, 204, 0.16);
    flex: none;
}

.on-dark .btn__dot {
    background: #7ee4f2;
    box-shadow: 0 0 10px 1px rgba(126, 228, 242, 0.6);
}

/* The primary call to action: a filled brand-blue pill. */
.btn--solid {
    border-color: transparent;
    background: linear-gradient(135deg, var(--sea-500), var(--sea-700));
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(10, 76, 158, 0.7);
}

.btn--solid:hover {
    border-color: transparent;
    background: linear-gradient(135deg, var(--sea-600), var(--sea-800));
    color: #fff;
    box-shadow: 0 16px 30px -14px rgba(10, 76, 158, 0.75);
}

.btn--solid .btn__dot {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.btn--sm {
    padding-block: 11px;
    padding-inline: 24px;
    font-size: 0.66rem;
}

/* Plain text link with the tracked-label treatment. */
.link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--accent);
    border-block-end: 1px solid var(--line);
    padding-block-end: 6px;
    transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.link:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
}

.link svg {
    transition: transform 0.35s var(--ease);
}

.link:hover svg {
    transform: translateX(3px);
}

[dir="rtl"] .link:hover svg {
    transform: translateX(-3px);
}

/* --------------------------------------------------------------------------

/* --------------------------------------------------------------------------
   6b. The shell — a full-bleed wrapper. It carries the page ground and the
   `shell--scene` hook that turns the header white over the hero, and it is
   the positioning context the header hangs from.
   -------------------------------------------------------------------------- */

.shell {
    position: relative;
    inline-size: 100%;
    background: var(--surface-0);
}

/* --------------------------------------------------------------------------
   7. Header — utility row, then the menu split either side of the logo
   -------------------------------------------------------------------------- */

.header {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 60;
    padding-block: 14px 10px;
}

.header__utility {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2vw, 28px);
}

.utility-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--body);
    transition: color 0.3s var(--ease);
}

[dir="rtl"] .utility-link {
    font-size: 0.82rem;
    letter-spacing: 0;
}

.utility-link:hover {
    color: var(--accent);
}

.utility-link svg {
    inline-size: 14px;
    block-size: 14px;
    opacity: 0.8;
}

/* Logo leads; the menu is centred on the row. The empty third column is what
   keeps it centred on the container rather than on the space left over. */
.header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 3vw, 48px);
}

.header__inner .nav {
    justify-content: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.brand__mark {
    inline-size: auto;
    block-size: 64px;
    flex: none;
}

.brand__logo {
    inline-size: auto;
    block-size: 68px;
    flex: none;
}

.brand__logo--lg {
    block-size: 132px;
}

.brand__text {
    display: grid;
    line-height: 1.1;
}

.brand__name {
    font-size: 1.06rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track-wide);
    color: var(--ink);
}

.brand__sub {
    font-size: 0.66rem;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--muted);
}

[dir="rtl"] .brand__name {
    font-size: 1.05rem;
    font-family: var(--font-display);
}

[dir="rtl"] .brand__sub {
    font-size: 0.72rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 46px);
}

.nav__link {
    position: relative;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--body);
    padding-block-end: 5px;
    white-space: nowrap;
    transition: color 0.35s var(--ease);
}

[dir="rtl"] .nav__link {
    font-size: 0.92rem;
}

.nav__link::after {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    inline-size: 0;
    block-size: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: inline-size 0.4s var(--ease);
}

.nav__link:hover {
    color: var(--ink);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    inline-size: 100%;
}

.nav__link.is-active {
    color: var(--accent);
}

/* Over the hero scene the whole header goes white. */
.shell--scene .nav__link,
.shell--scene .utility-link {
    color: rgba(255, 255, 255, 0.82);
}

.shell--scene .nav__link:hover,
.shell--scene .nav__link.is-active,
.shell--scene .utility-link:hover {
    color: #fff;
}

.shell--scene .brand__mark {
    filter: drop-shadow(0 4px 14px rgba(3, 26, 52, 0.45));
}

.shell--scene .brand__name {
    color: #fff;
}

.shell--scene .brand__sub {
    color: rgba(255, 255, 255, 0.75);
}

.shell--scene .burger {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.shell--scene .burger span {
    background: #fff;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    inline-size: 42px;
    block-size: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-0);
    cursor: pointer;
    align-items: center;
}

.burger span {
    display: block;
    inline-size: 16px;
    block-size: 1.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.burger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
    opacity: 0;
}
.burger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Open, the burger sits on the near-white overlay, where the scene header's
   white-on-translucent treatment would vanish. The X goes gray instead. */
.burger.is-open,
.shell--scene .burger.is-open {
    border-color: rgba(107, 124, 150, 0.35);
    background: transparent;
}

.burger.is-open span,
.shell--scene .burger.is-open span {
    background: var(--muted);
}

/* --------------------------------------------------------------------------
   8. Hero — sky over dunes over water, three bottles standing in the pool
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-block-size: clamp(540px, 50vw, 720px);
    padding-block: clamp(150px, 15vw, 190px) clamp(90px, 11vw, 150px);
    overflow: hidden;
}

.hero__scene {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

/* The copy side is shaded, the way a photographic hero would be graded, so
   white type holds over the sky whatever the scene behind it. */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(6, 40, 74, 0.38) 0%,
        rgba(6, 40, 74, 0.1) 44%,
        rgba(6, 40, 74, 0) 64%
    );
}

[dir="rtl"] .hero::before {
    background: linear-gradient(
        to left,
        rgba(6, 40, 74, 0.38) 0%,
        rgba(6, 40, 74, 0.1) 44%,
        rgba(6, 40, 74, 0) 64%
    );
}

.hero__photo {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

/* Drawn stand-in for the desert scene, used until a photograph is supplied. */
.hero__sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #2c7cb6 0%, #4f9ed3 26%, #8cc5e8 52%, #c8e4f6 72%, #e6f3fb 100%);
}

/* Two dune ridges drawn as one shape, so the horizon rolls instead of
   ruling a straight line across the hero. */
.hero__dunes {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 61%;
    inline-size: 100%;
    block-size: 28%;
}

.hero__pool {
    position: absolute;
    inset-block-start: 80%;
    inset-inline: 0;
    inset-block-end: 0;
    background:
        radial-gradient(70% 42% at 50% 0%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, #a9d3ec 0%, #cbe6f6 34%, #e7f4fc 100%);
}

.hero__pool::after {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
}

.hero__wave {
    position: absolute;
    inset-block-end: -1px;
    inset-inline: 0;
    inline-size: 100%;
    block-size: clamp(60px, 8vw, 118px);
    z-index: 1;
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}

.hero__kicker {
    display: block;
    margin-block-end: 10px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
}

.hero .display {
    color: #fff;
    text-shadow: 0 2px 24px rgba(3, 26, 52, 0.28);
    margin-block-end: 22px;
}

.hero .display__alt {
    color: rgba(255, 255, 255, 0.92);
}

.hero__copy .lede {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    margin-block-end: 32px;
    text-shadow: 0 1px 12px rgba(3, 26, 52, 0.35);
}

/* Four bottles on one baseline, tallest at the back.

   Height drives everything: each figure is sized in block-size and takes its
   width from the image, so the volume proportions below stay true. That makes
   the group about 1.5x as wide as it is tall, which is wider than the half
   column it sits in — so the height is tied to the viewport and the stage is
   allowed to bleed into the margin beside the container. Nothing shrinks to
   fit; the group is sized to fit already. */
.hero__stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Dropped to the waterline, so the group stands in the pool. */
    align-self: end;
    /* The bottles stand well clear of each other rather than nesting. Standing
       them off costs width, so the height comes down to pay for it — the group
       still has slack between the copy column and the page edge to grow into. */
    gap: clamp(20px, 3.2vw, 52px);
    block-size: clamp(178px, 19.5vw, 292px);
    /* Reclaim the empty page beside the container, up to a limit, so the
       group has room to stand at full height on a wide screen. Capped short
       of the full margin so the five-gallon never runs to the viewport edge. */
    margin-inline-end: calc(-1 * clamp(0px, (100vw - var(--container)) / 2, 150px));
}

.hero__bottle {
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Never shrink — shrinking would rescale each bottle by its own width and
       break the size relationship between the lines. */
    flex: 0 0 auto;
    animation: bob 7s ease-in-out infinite alternate;
}

.hero__bottle img {
    inline-size: auto;
    block-size: 100%;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(6, 42, 78, 0.34));
}

/* The view emits the group already in left-to-right order and hands each
   bottle its height as --s, a fraction of the tallest line. Nothing is
   reordered or sized here, so changing the grouping is a view edit alone.

   They stand clear of each other, so the z-index below only orders the drop
   shadows rather than deciding which bottle stays visible. */
.hero__bottle {
    block-size: calc(var(--s, 1) * 100%);
}

.hero__bottle:nth-child(1) {
    z-index: 4;
    animation-delay: -5.1s;
}

.hero__bottle:nth-child(2) {
    z-index: 3;
    animation-delay: -3.4s;
}

.hero__bottle:nth-child(3) {
    z-index: 2;
    animation-delay: -1.7s;
}

.hero__bottle:nth-child(4) {
    z-index: 1;
}

@keyframes bob {
    from {
        transform: translateY(-6px);
    }
    to {
        transform: translateY(6px);
    }
}

/* Rising bubbles */
.hero__bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.hero__bubbles span {
    position: absolute;
    inset-block-end: -10%;
    inline-size: var(--b);
    block-size: var(--b);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    animation: rise var(--dur) linear infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    12% {
        opacity: 0.7;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-90vh) translateX(26px);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   9. Product cards — deep-water plates, the bottle standing clear above
   and the order button straddling the bottom edge
   -------------------------------------------------------------------------- */

.products-band {
    position: relative;
    padding-block-end: 0;
    overflow: hidden;
}

.section__note {
    max-width: 66ch;
    margin-inline: auto;
    margin-block-start: 20px;
    font-size: 0.9rem;
    color: var(--body);
}

.pcards {
    position: relative;
    z-index: 2;
    display: grid;
    /* One column per line in the catalogue, so the row stays full however many
       lines are on sale. */
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 38px);
    margin-block-start: clamp(120px, 14vw, 180px);
}

.pcard {
    position: relative;
    padding: clamp(76px, 8vw, 108px) clamp(14px, 1.6vw, 22px) clamp(40px, 4vw, 52px);
    text-align: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(168deg, var(--deep-300) 0%, var(--deep-500) 55%, var(--deep-700) 100%);
    box-shadow: var(--shadow-md);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.pcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* The bottle stands above the plate and overlaps its top third. */
.pcard__figure {
    position: absolute;
    inset-inline: 0;
    inset-block-end: calc(100% - clamp(44px, 4.6vw, 62px));
    block-size: clamp(132px, 15vw, 194px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

/* Flex, not grid: a percentage height needs a definite box to resolve
   against, and an auto-sized grid row is not one. */
.pcard__figure img {
    inline-size: auto;
    block-size: 100%;
    max-inline-size: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(9, 45, 95, 0.26));
}

/* The lines with no clean cut-out show their studio plate instead, framed
   so the sweep behind the bottle reads as a picture rather than a bad mask. */
.pcard__figure--plate {
    block-size: clamp(140px, 15.5vw, 200px);
}

.pcard__figure--plate img {
    inline-size: auto;
    block-size: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    padding: 5px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.pcard__name {
    font-family: var(--font-display);
    font-size: clamp(0.98rem, 1.4vw, 1.2rem);
    line-height: 1.3;
    margin-block-end: 8px;
}

.pcard__meta {
    font-size: 0.76rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

[dir="rtl"] .pcard__meta {
    font-size: 0.88rem;
}

.pcard__cta {
    position: absolute;
    inset-block-end: -19px;
    /* Centred without a translate: `translate` is physical, so in RTL it
       pushed the pill a half-width further from centre instead of pulling it
       back. Auto margins in an inset-inline box centre either direction. */
    inset-inline: 0;
    margin-inline: auto;
    inline-size: fit-content;
    display: inline-flex;
    align-items: center;
    padding-block: 11px;
    padding-inline: 26px;
    border-radius: var(--radius-pill);
    /* Reversed out. On the old sand plate a blue pill carried itself; on the
       deep-water plate it disappeared into the card. */
    background: #fff;
    color: var(--sea-700);
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    white-space: nowrap;
    box-shadow: 0 10px 22px -10px rgba(6, 43, 94, 0.8);
    transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

[dir="rtl"] .pcard__cta {
    font-size: 0.8rem;
}

.pcard__cta:hover {
    background: var(--sea-50);
    color: var(--sea-900);
    box-shadow: 0 14px 26px -10px rgba(6, 43, 94, 0.9);
}

/* --------------------------------------------------------------------------
   9b. Water band — the splash the cards stand in front of
   -------------------------------------------------------------------------- */

.water-band {
    position: relative;
    margin-block-start: clamp(-110px, -9vw, -50px);
    block-size: clamp(210px, 23vw, 320px);
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 22% 8%, rgba(255, 255, 255, 0.55), transparent 60%),
        radial-gradient(50% 60% at 82% 0%, rgba(255, 255, 255, 0.4), transparent 62%),
        linear-gradient(180deg, #d3e9f8 0%, #96c6e6 38%, #4f97cb 72%, #2c78b4 100%);
}

.water-band img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

.water-band__crest {
    position: absolute;
    inset-block-start: -1px;
    inset-inline: 0;
    inline-size: 100%;
    block-size: clamp(46px, 6vw, 96px);
}

/* The splash meets the next section as a fade, not a ruled edge. */
.water-band::before {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    block-size: 34%;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface-0));
}

/* Crests of foam drifting across the band. */
.water-band::after {
    content: "";
    position: absolute;
    inset-block-end: -12%;
    inset-inline: -10%;
    block-size: 60%;
    border-radius: 50%;
    background: radial-gradient(60% 100% at 50% 100%, rgba(255, 255, 255, 0.42), transparent 68%);
    filter: blur(18px);
}

/* --------------------------------------------------------------------------
   10. Promotional banner
   -------------------------------------------------------------------------- */

.promo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-block-size: clamp(190px, 21vw, 260px);
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(80% 120% at 88% 0%, rgba(126, 200, 242, 0.5), transparent 60%),
        linear-gradient(120deg, var(--sea-800) 0%, var(--sea-600) 62%, #3592d2 100%);
    box-shadow: var(--shadow-md);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.promo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.promo__media {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

/* Only a real photograph earns its own panel and scrim. With nothing in the
   slot the banner stays one clean field rather than showing a seam. */
.promo__media:has(img) {
    background: linear-gradient(160deg, #1c6bb4, #073a80 100%);
}

.promo__media img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

/* Scrim, so the title holds against whatever photograph lands here. */
.promo__media:has(img)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 25, 55, 0.62), rgba(4, 25, 55, 0) 62%);
}

.promo__ring {
    --ring-size: clamp(120px, 16vw, 200px);
    border-color: rgba(255, 255, 255, 0.35);
    opacity: 0.8;
}

.promo__body {
    position: absolute;
    z-index: 2;
    inset-block-end: clamp(20px, 2.6vw, 32px);
    inset-inline-start: clamp(22px, 3vw, 40px);
    display: grid;
    gap: 8px;
    max-inline-size: 32ch;
}

.promo__note {
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: rgba(255, 255, 255, 0.78);
}

[dir="rtl"] .promo__note {
    font-size: 0.82rem;
}

.promo__title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.1vw, 1.7rem);
    line-height: 1.25;
}

.promo__cta {
    position: absolute;
    z-index: 2;
    inset-block-end: clamp(20px, 2.6vw, 32px);
    inset-inline-end: clamp(22px, 3vw, 40px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
}

[dir="rtl"] .promo__cta {
    font-size: 0.85rem;
}

[dir="rtl"] .promo__cta svg {
    transform: scaleX(-1);
}

.promo:hover .promo__cta svg {
    transform: translateX(4px);
}

[dir="rtl"] .promo:hover .promo__cta svg {
    transform: scaleX(-1) translateX(4px);
}

.promo__cta svg {
    transition: transform 0.35s var(--ease);
}

/* --------------------------------------------------------------------------
   11. Business goals
   -------------------------------------------------------------------------- */

.goals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.goals__body .display {
    margin-block-end: clamp(20px, 2.4vw, 30px);
}

.goals__list {
    display: grid;
    gap: 14px;
    max-width: 54ch;
    font-size: 0.88rem;
    line-height: 1.75;
}

.goals__figure {
    position: relative;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(6px, 1vw, 16px);
    min-block-size: clamp(280px, 32vw, 400px);
    padding: clamp(20px, 3vw, 36px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background:
        radial-gradient(70% 40% at 50% 46%, rgba(255, 255, 255, 0.45), transparent 60%),
        linear-gradient(180deg, #3f8dc4 0%, #8cc4e6 34%, #2e78ad 46%, #1c5c8f 74%, #123f66 100%);
}

.goals__photo {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

.goals__bottle {
    position: relative;
    inline-size: auto;
    min-inline-size: 0;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 26px rgba(9, 45, 95, 0.35));
}

/* Catalogue order again, on the same volume-derived proportions as the hero. */
/* Same grouping as the hero, off the same --s the view emits — scaled against
   this panel's own base height rather than the hero's. */
.goals__bottle {
    block-size: calc(var(--s, 1) * clamp(128px, 16vw, 202px));
}

.goals__caption {
    position: absolute;
    inset-block-start: clamp(18px, 2.4vw, 30px);
    inset-inline-start: clamp(20px, 3vw, 34px);
    max-inline-size: 22ch;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 16px rgba(3, 26, 52, 0.5);
}

/* --------------------------------------------------------------------------
   11. Split — image one side, editorial copy the other
   -------------------------------------------------------------------------- */

.split {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
}

.split--reverse .split__figure {
    order: 2;
}

/* The product rows use .product-shot rather than .split__figure, so the
   alternating side needs saying twice. */
.split--reverse .product-shot {
    order: 2;
}

.split__figure {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-3);
}

.split__figure img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

/* A cut-out bottle floating on a lit panel, rather than a photograph. */
.split__figure--product {
    display: grid;
    place-items: center;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
    background:
        radial-gradient(90% 70% at 50% 10%, rgba(18, 121, 220, 0.1), transparent 65%),
        linear-gradient(165deg, var(--surface-0), var(--surface-2));
}

.split__figure--product img {
    inline-size: auto;
    block-size: auto;
    max-inline-size: 100%;
    max-block-size: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 42px rgba(9, 45, 95, 0.24));
}

.split__body .eyebrow {
    display: block;
    margin-block-end: 14px;
}

.split__body .display {
    margin-block-end: 28px;
}

.split__ring {
    position: absolute;
    inset-block-start: -40px;
    inset-inline-start: 32%;
    --ring-size: clamp(90px, 11vw, 140px);
    z-index: 1;
}

/* Q&A blocks inside a split body */
.qa dt {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    margin-block-end: 8px;
}

.qa dd {
    margin: 0 0 26px;
    font-size: 0.9rem;
}

.split--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

/* Inner pages open with a heading block instead of a hero, so they need
   enough top padding to clear the fixed header. */
.page-head {
    padding-block-start: clamp(140px, 16vw, 200px);
    overflow: hidden;
    background:
        radial-gradient(90% 120% at 82% -10%, rgba(62, 155, 233, 0.18), transparent 60%),
        linear-gradient(180deg, #f3f9ff, var(--surface-1));
}

/* --------------------------------------------------------------------------
   11b. Editorial blocks on the quality page — landscape plant photography
   beside a run of copy. The default split runs its figure portrait and gives
   the copy the wider column; these frames are wide, so the columns even out.
   -------------------------------------------------------------------------- */

.split--wide,
.split--wide.split--reverse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split--wide + .split--wide {
    margin-block-start: clamp(52px, 8vw, 104px);
}

.split__figure--wide {
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
}

.split__body .eyebrow.num {
    color: var(--accent);
}

.split__body p + p {
    margin-block-start: 16px;
}

/* The line each block signs off with. Set in the display face so it reads as
   a signature rather than one more paragraph. */
.signline {
    margin-block-start: 28px;
    padding-block-start: 24px;
    border-block-start: 1px solid var(--line-soft);
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.55;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   11c. Plant frames — captioned photographs, two up
   -------------------------------------------------------------------------- */

.plant {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3.5vw, 44px);
}

.plant__item {
    margin: 0;
}

.plant__item img {
    inline-size: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--surface-3);
    box-shadow: var(--shadow-md);
}

.plant__caption {
    margin-block-start: 18px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   12b. Numbered process steps
   -------------------------------------------------------------------------- */

.steps {
    list-style: none;
    padding: 0;
    display: grid;
    gap: clamp(28px, 4vw, 44px);
    counter-reset: step;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 3vw, 34px);
}

.step__ring {
    --ring-size: 60px;
    background: var(--surface-0);
    box-shadow: var(--shadow-sm);
}

.step__ring::before {
    content: none;
}

.step__num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--accent);
}

.step__title {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--ink);
    margin-block-end: 10px;
}

[dir="rtl"] .step__title {
    font-size: 1rem;
}

.step__body p {
    font-size: 0.9rem;
    max-width: 58ch;
}

/* --------------------------------------------------------------------------
   12c. Check list
   -------------------------------------------------------------------------- */

.check-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.92rem;
}

.check-list .btn__dot {
    margin-block-start: 9px;
}

/* --------------------------------------------------------------------------
   12d. Product detail rows
   -------------------------------------------------------------------------- */

.product-detail + .product-detail {
    margin-block-start: clamp(64px, 9vw, 120px);
    padding-block-start: clamp(64px, 9vw, 120px);
    border-block-start: 1px solid var(--line-soft);
}

.product-shot {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
    background: var(--surface-3);
    box-shadow: var(--shadow-sm);
}

.product-shot img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

.table-duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(28px, 4vw, 48px);
    margin-block: 36px;
}

/* --------------------------------------------------------------------------
   13. Spec / analysis table
   -------------------------------------------------------------------------- */

.spec-table {
    inline-size: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.spec-table caption {
    text-align: start;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--accent);
    padding-block-end: 16px;
}

.spec-table__unit {
    display: block;
    margin-block-start: 6px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.04em;
    color: var(--muted);
    font-size: 0.68rem;
}

.spec-table th,
.spec-table td {
    text-align: start;
    padding-block: 13px;
    padding-inline: 4px;
    border-block-end: 1px solid var(--line-soft);
}

.spec-table th {
    font-weight: 400;
    color: var(--body);
}

.spec-table td {
    color: var(--ink);
    font-weight: 500;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.spec-table tbody tr:hover {
    background: var(--sea-50);
}

/* Figures always read left-to-right, even on an RTL page. Scoped to .num so
   translated prose in the same column keeps its own direction. */
.num {
    direction: ltr;
    unicode-bidi: isolate;
}

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */

.field {
    display: grid;
    gap: 10px;
}

.field__label {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--muted);
}

[dir="rtl"] .field__label {
    font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
    inline-size: 100%;
    padding-block: 14px;
    padding-inline: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--surface-0);
    color: var(--ink);
    font-size: 0.92rem;
    transition:
        border-color 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        background-color 0.35s var(--ease);
}

.field textarea {
    min-block-size: 140px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted);
    opacity: 0.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(15, 99, 196, 0.12);
}

.field__error {
    font-size: 0.78rem;
    color: #c0392b;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.form-grid--full {
    grid-column: 1 / -1;
}

.alert {
    padding: 18px 22px;
    border: 1px solid rgba(15, 99, 196, 0.25);
    border-radius: var(--radius-xs);
    background: var(--sea-50);
    color: var(--ink);
    font-size: 0.9rem;
    margin-block-end: 32px;
}

/* Honeypot — visually gone, still filled in by bots. */
.hp {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Skip link: out of the way until it takes focus. */
.skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 100;
    background: var(--surface-0);
    box-shadow: var(--shadow-md);
    transform: translateY(-160%);
    transition: transform 0.3s var(--ease);
}

.skip-link:focus-visible {
    transform: none;
}

/* --------------------------------------------------------------------------
   16. Contact list
   -------------------------------------------------------------------------- */

.contact-list {
    display: grid;
    gap: 30px;
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-list svg {
    inline-size: 18px;
    block-size: 18px;
    color: var(--aqua-deep);
    flex: none;
    margin-block-start: 4px;
}

.contact-list dt {
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: var(--muted);
    margin-block-end: 4px;
}

.contact-list dd {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
}

.contact-list dd a:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------

/* --------------------------------------------------------------------------
   17. Footer — the site closes underwater, behind a white crest
   -------------------------------------------------------------------------- */

.footer {
    position: relative;
    padding-block: clamp(110px, 13vw, 170px) 28px;
    overflow: hidden;
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(126, 200, 242, 0.35), transparent 62%),
        linear-gradient(180deg, #1d6b9b 0%, #135d8c 22%, #0b3f66 58%, #06263f 100%);
}

.footer__crest {
    position: absolute;
    inset-block-start: -1px;
    inset-inline: 0;
    z-index: 2;
    inline-size: 100%;
    block-size: clamp(48px, 6vw, 96px);
    pointer-events: none;
}

.footer__photo {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.footer__body {
    position: relative;
    z-index: 3;
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.footer__col-title {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: var(--caps);
    letter-spacing: var(--track);
    color: #fff;
    margin-block-end: 20px;
}

[dir="rtl"] .footer__col-title {
    font-size: 0.9rem;
}

.footer__list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    font-size: 0.84rem;
}

.footer__list a {
    transition: color 0.3s var(--ease);
}

.footer__list a:hover {
    color: #fff;
}

/* Quick links carry the small drop bullets of the reference. */
.footer__list--bulleted li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.footer__list--bulleted li::before {
    content: "";
    flex: none;
    inline-size: 5px;
    block-size: 5px;
    border-radius: 50% 50% 50% 0;
    rotate: -45deg;
    background: #7ee4f2;
}

.footer__brand {
    display: grid;
    justify-items: start;
    gap: 16px;
}

/* The mark is printed for light stock, so on the water it sits on a plate. */
.footer .brand {
    padding: 14px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
}

.footer__tagline {
    font-size: 0.84rem;
    color: var(--body);
    max-width: 38ch;
}

[dir="rtl"] .footer__tagline {
    font-size: 0.9rem;
}

.footer__brand .footer__col-title {
    margin-block-end: 0;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    inline-size: 38px;
    block-size: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.socials a:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.socials svg {
    inline-size: 15px;
    block-size: 15px;
}

.footer__bottom {
    margin-block-start: clamp(40px, 5vw, 64px);
    padding-block-start: 24px;
    border-block-start: 1px solid var(--line-soft);
    text-align: center;
    font-size: 0.74rem;
    color: var(--muted);
}
/* A thin divider between major bands. */
.rule {
    block-size: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.9s var(--ease),
        transform 0.9s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] {
    transition-delay: 0.12s;
}
.reveal[data-delay="2"] {
    transition-delay: 0.24s;
}
.reveal[data-delay="3"] {
    transition-delay: 0.36s;
}

/* --------------------------------------------------------------------------

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .pcards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(18px, 3vw, 30px) clamp(14px, 2vw, 24px);
        row-gap: clamp(120px, 15vw, 170px);
    }
}

@media (max-width: 960px) {
    .hero {
        min-block-size: 0;
        text-align: center;
    }

    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__copy .lede {
        margin-inline: auto;
    }

    .hero__stage {
        block-size: clamp(230px, 44vw, 340px);
    }

    .promo {
        grid-template-columns: 1fr;
        min-block-size: 0;
    }

    .promo__media {
        min-block-size: clamp(160px, 30vw, 220px);
    }

    /* Stacked, the copy can no longer sit over the picture. */
    .promo__body,
    .promo__cta {
        position: static;
        padding-inline: clamp(22px, 4vw, 32px);
        max-inline-size: none;
    }

    .promo__body {
        padding-block: clamp(22px, 4vw, 30px) 14px;
    }

    .promo__cta {
        padding-block-end: clamp(24px, 4vw, 32px);
    }

    .goals {
        grid-template-columns: 1fr;
    }

    .goals__figure {
        order: -1;
    }

    .split,
    .split--reverse,
    .split--wide,
    .split--wide.split--reverse {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__figure,
    .split--reverse .product-shot {
        order: 0;
    }

    .split__figure {
        aspect-ratio: 4 / 3;
    }

    .plant {
        grid-template-columns: 1fr;
    }

    .footer__top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    /* The menu leaves the grid for the overlay, so the burger takes the
       column it vacated. */
    .header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .burger {
        display: flex;
        justify-self: end;
        /* The overlay is a sibling inside the header stacking context, so the
           burger has to outrank it to stay visible and clickable as the X. */
        position: relative;
        z-index: 56;
    }

    .brand__logo {
        block-size: 54px;
    }

    /* The menu leaves the row and becomes a full-screen overlay. */
    .nav {
        position: fixed;
        inset: 0;
        z-index: 55;
        flex-direction: column;
        justify-content: center;
        gap: 26px;
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.4s var(--ease),
            visibility 0.4s var(--ease);
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav__link,
    .shell--scene .nav__link {
        font-size: 1rem;
        color: var(--ink);
    }

    [dir="rtl"] .nav__link {
        font-size: 1.2rem;
    }

    .utility-link {
        font-size: 0.62rem;
    }
}

@media (max-width: 620px) {
    .pcards {
        grid-template-columns: minmax(0, 1fr);
        row-gap: clamp(130px, 30vw, 170px);
    }

    .pcard {
        padding-inline: clamp(22px, 6vw, 34px);
    }

    .water-band {
        margin-block-start: -40px;
    }

    /* The group is about 1.8x as wide as it is tall once the bottles stand
       apart, so on the narrowest phones the height has to come down or the
       five-gallon runs off the edge. */
    .hero__stage {
        block-size: clamp(120px, 42vw, 280px);
    }
}
/* --------------------------------------------------------------------------
   20. Motion & print
   -------------------------------------------------------------------------- */

@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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    body {
        background: #fff;
        color: #000;
    }

    .header,
    .footer,
    .band__arrow {
        display: none;
    }
}
