/* ==========================================================================
   Rawson Downey Coaching — Design System
   Native nested vanilla CSS.
   1. Tokens   2. Base   3. Utilities   4. Components   5. Blocks
   Colours, fonts and type scale follow the brand design guidelines.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — brand guideline palette */
  --navy:   #0B2F69;  /* deep navy   */
  --blue:   #1E4D94;  /* primary blue */
  --teal:   #1AA8B4;
  --aqua:   #EAF6F8;  /* soft aqua   */
  --page:   #F6FBFC;
  --card:   #FFFFFF;
  --border: #CDEBED;

  --text:      #143467;
  --text-soft: #4A6591;

  /* Type — two fonts only */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Guideline scale: hero 46-88px, section 34-56px, body 17-19px, buttons 16-17px */
  --fs-900: clamp(2.875rem, 1.55rem + 4.6vw, 5.5rem);
  --fs-700: clamp(2.125rem, 1.6rem + 1.9vw, 3.5rem);
  --fs-600: clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
  --fs-500: clamp(1.125rem, 1.07rem + 0.3vw, 1.3125rem);
  --fs-400: clamp(1.0625rem, 1.04rem + 0.18vw, 1.1875rem);
  --fs-300: 0.9375rem;
  --fs-btn: clamp(1rem, 0.99rem + 0.1vw, 1.0625rem);

  /* Space */
  --space-2xs: 0.375rem;
  --space-xs:  0.625rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: clamp(4rem, 3rem + 5vw, 7rem);  /* section rhythm */

  /* Shape & elevation */
  --radius-sm:  0.5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-full: 999px;
  --shadow-soft: 0 6px 24px -8px rgb(11 47 105 / 0.14);
  --shadow-lift: 0 18px 44px -14px rgb(11 47 105 / 0.28);

  /* Motion */
  --ease-water: cubic-bezier(0.33, 1, 0.68, 1);
  --speed-fast: 200ms;
  --speed-slow: 600ms;

  --container: 74rem;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin-block: 0 var(--space-sm);
  text-wrap: balance;
}

h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }

p { margin-block: 0 var(--space-sm); }

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--speed-fast) var(--ease-water);

  &:hover { color: var(--teal); }
}

img { max-width: 100%; height: auto; display: block; }

ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }

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

::selection { background: var(--teal); color: var(--card); }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  font-size: var(--fs-300);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;

  &.eyebrow--light { color: var(--border); }
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-lg);

  & h2 { margin-bottom: 0; }
}

/* Scroll-reveal: JS adds .is-visible via IntersectionObserver */
.reveal {
  opacity: 0;
  translate: 0 1.75rem;
  transition:
    opacity var(--speed-slow) var(--ease-water),
    translate var(--speed-slow) var(--ease-water);
  transition-delay: var(--reveal-delay, 0ms);

  &.is-visible {
    opacity: 1;
    translate: 0 0;
  }
}

/* --------------------------------------------------------------------------
   4. Components
   -------------------------------------------------------------------------- */

/* Button — calm colour/shadow transitions; JS spawns water rings
   (.btn__ripple / .btn__ring) at the click point. */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 1.8em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font: 600 var(--fs-btn) var(--font-body);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--speed-fast) var(--ease-water),
    color var(--speed-fast) var(--ease-water),
    border-color var(--speed-fast) var(--ease-water),
    box-shadow var(--speed-fast) var(--ease-water),
    translate var(--speed-fast) var(--ease-water);

  & svg {
    width: 1.25em;
    height: 1.25em;
    flex: none;
  }

  &:hover { translate: 0 -2px; }
  &:active { translate: 0 0; }

  &.btn--primary {
    background: var(--navy);
    color: var(--card);
    box-shadow: var(--shadow-soft);

    &:hover {
      background: var(--blue);
      color: var(--card);
      box-shadow: var(--shadow-lift);
    }
  }

  &.btn--ghost {
    background: rgb(255 255 255 / 0.75);
    border-color: var(--border);
    color: var(--navy);

    &:hover {
      background: var(--card);
      border-color: var(--teal);
      color: var(--navy);
    }
  }

  &.btn--outline {
    background: transparent;
    border-color: var(--blue);
    color: var(--blue);

    &:hover {
      background: var(--aqua);
      border-color: var(--teal);
      color: var(--navy);
    }
  }

  &.btn--light {
    background: var(--card);
    color: var(--navy);
    box-shadow: var(--shadow-soft);

    &:hover {
      color: var(--blue);
      box-shadow: var(--shadow-lift);
    }
  }

  &.btn--ghost-light {
    background: rgb(255 255 255 / 0.08);
    border-color: rgb(255 255 255 / 0.6);
    color: var(--card);
    backdrop-filter: blur(4px);

    &:hover {
      background: rgb(255 255 255 / 0.18);
      border-color: var(--card);
      color: var(--card);
    }
  }

  &.btn--sm {
    padding: 0.65em 1.4em;
    font-size: var(--fs-300);
  }
}

/* Click ripple: a filled drop plus an expanding ring */
.btn__ripple,
.btn__ring {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.btn__ripple {
  background: radial-gradient(circle, color-mix(in srgb, currentColor 28%, transparent) 25%, transparent 70%);
  scale: 0;
  animation: btn-ripple 600ms var(--ease-water) forwards;
}

.btn__ring {
  border: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  scale: 0;
  animation: btn-ring 750ms 80ms ease-out forwards;
}

@keyframes btn-ripple {
  to { scale: 3.4; opacity: 0; }
}

@keyframes btn-ring {
  0% { scale: 0; opacity: 0; }
  30% { opacity: 0.9; }
  100% { scale: 3; opacity: 0; }
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
}

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);

  &::after {
    content: "\2192";
    color: var(--teal);
    transition: translate var(--speed-fast) var(--ease-water);
  }

  &:hover::after { translate: 0.35em 0; }
}

/* WaterRipple canvas (js/water-ripple.js) — overlays the host's photo.
   pointer-events: none so content stays interactive; the host element
   listens for the pointer instead. */
.water-ripple__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Blocks
   -------------------------------------------------------------------------- */

/* Block: Site Header ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(246 251 252 / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);

  /* brand accent line across the very top */
  &::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--blue) 55%, var(--navy));
  }

  & .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-block: var(--space-sm);
  }

  /* JS adds .is-scrolled past the top of the page — shadow only,
     never a height change (that jiggles the page) */
  &.is-scrolled {
    box-shadow: var(--shadow-soft);
  }

  & .site-header__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--navy);
  }

  & .site-header__name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.03em;

    & em {
      font-style: normal;
      color: var(--teal);
    }

    & small {
      display: block;
      font-family: var(--font-body);
      font-size: 0.67rem;
      font-weight: 600;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--text-soft);
      margin-top: 0.2em;

      @media (width <= 28rem) { display: none; }
    }
  }

  & .site-header__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;

    /* A small teal wave draws itself under the link on hover/current */
    & a:not(.btn) {
      position: relative;
      display: inline-block;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      color: var(--navy);
      padding-block: 0.5em;
      transition: color var(--speed-fast) var(--ease-water);

      &::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 6px;
        background: var(--teal);
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 6'%3E%3Cpath d='M0 3 Q3 0.6 6 3 T12 3' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50% / 0.75rem 100%;
        scale: 0 1;
        transform-origin: left;
        transition: scale 350ms var(--ease-water);
        animation: nav-wave 2.5s linear infinite;
      }

      &:hover { color: var(--blue); }

      &:hover::after,
      &[aria-current="page"]::after { scale: 1 1; }
    }
  }

  /* Mobile nav toggle */
  & .site-header__toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: none;
    cursor: pointer;
    position: relative;

    & .site-header__toggle-bar,
    & .site-header__toggle-bar::before,
    & .site-header__toggle-bar::after {
      content: "";
      position: absolute;
      left: 50%;
      width: 1.5rem;
      height: 2px;
      translate: -50% 0;
      background: var(--navy);
      border-radius: 2px;
      transition: all var(--speed-fast) var(--ease-water);
    }

    & .site-header__toggle-bar { top: 50%; }
    & .site-header__toggle-bar::before { top: -7px; }
    & .site-header__toggle-bar::after { top: 7px; }

    &[aria-expanded="true"] .site-header__toggle-bar {
      background: transparent;

      &::before { top: 0; rotate: 45deg; }
      &::after { top: 0; rotate: -45deg; }
    }
  }

  @media (width <= 56rem) {
    & .site-header__toggle { display: block; }

    & .site-header__menu {
      position: absolute;
      inset: 100% 0 auto 0;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: var(--space-sm) var(--space-md) var(--space-md);
      background: var(--page);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow-soft);
      display: none;

      & li { padding-block: var(--space-2xs); }
    }

    & .site-header__nav.is-open .site-header__menu { display: flex; }
  }
}

@keyframes nav-wave {
  to { mask-position: 0.75rem 50%; }
}

/* Block: Hero --------------------------------------------------------------
   A live water surface (data-water-ripple) under a soft veil —
   the photo shows through more towards the waterline. */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl) calc(var(--space-2xl) + 9rem);
  background: var(--aqua);

  & .hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & .hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(175deg, rgb(246 251 252 / 0.97) 0%, rgb(234 246 248 / 0.84) 45%, rgb(234 246 248 / 0.42) 100%);
    pointer-events: none;
  }

  & .hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;

    @media (width <= 56rem) {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  }

  & .hero__title {
    font-size: var(--fs-900);
    line-height: 1.02;
    margin-bottom: var(--space-md);
  }

  & .hero__lede {
    font-size: var(--fs-500);
    color: var(--text-soft);
    max-width: 34rem;
    margin-bottom: var(--space-md);
  }

  & .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  & .hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    list-style: none;
  }

  /* Stats card */
  & .hero__card {
    position: relative;
    z-index: 3;
  }

  & .hero__portrait {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-md);

    & img {
      width: 11rem;
      border-radius: var(--radius-full);
      border: 5px solid var(--aqua);
      box-shadow: var(--shadow-soft);
    }
  }

  & .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  & .stat {
    & .stat__value {
      font-family: var(--font-display);
      font-size: 2.4rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1.05;

      &.stat__value--text { letter-spacing: 0.02em; }
    }

    & .stat__label {
      font-size: var(--fs-300);
      color: var(--text-soft);
      margin-top: var(--space-2xs);
    }

    &:nth-child(n+3) {
      border-top: 1px solid var(--border);
      padding-top: var(--space-md);
    }
  }

  /* Layered drifting waves along the bottom edge.
     Each SVG holds two periods at width 200%, so a -50% translate
     is exactly one period and the loop is seamless. */
  & .hero__waves {
    position: absolute;
    inset: auto 0 -1px 0;
    z-index: 3;
    height: clamp(3rem, 7vw, 6rem);
    pointer-events: none;
  }

  & .hero__wave {
    position: absolute;
    inset: 0;
    width: 200%;
    height: 100%;
    will-change: translate;

    &.hero__wave--back {
      fill: rgb(26 168 180 / 0.14);
      animation: wave-drift 36s linear infinite;
    }

    &.hero__wave--front {
      fill: var(--page);
      animation: wave-drift 22s linear infinite;
    }
  }
}

@keyframes wave-drift {
  from { translate: 0 0; }
  to { translate: -50% 0; }
}

/* Block: Self-Reflection Steps ----------------------------------------------
   A live water surface over the photo — the cursor disturbs it.
   The panel rises up over the hero waterline. */
.reflection {
  position: relative;
  z-index: 4;
  margin-top: clamp(-7rem, -8vw, -4rem);
  padding-block: 0;

  & .reflection__panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
  }

  & .reflection__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & .reflection__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(100deg, rgb(11 47 105 / 0.85) 25%, rgb(11 47 105 / 0.45) 60%, rgb(11 47 105 / 0.2));
    pointer-events: none;
  }

  & .reflection__content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    align-items: center;
    padding: clamp(var(--space-lg), 5vw, var(--space-xl));
    pointer-events: none; /* let the water feel the cursor */

    @media (width <= 56rem) { grid-template-columns: 1fr; }
  }

  & .reflection__quote p {
    font-family: var(--font-display);
    font-size: var(--fs-700);
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    color: var(--card);
    text-wrap: balance;
    margin: 0;
  }

  & .reflection__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    list-style: none;

    @media (width <= 40rem) { grid-template-columns: 1fr; }
  }

  & .step {
    background: rgb(246 251 252 / 0.12);
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    backdrop-filter: blur(10px);

    & .step__number {
      display: inline-grid;
      place-items: center;
      width: 2.2rem;
      height: 2.2rem;
      border-radius: var(--radius-full);
      background: var(--teal);
      color: var(--card);
      font-weight: 700;
      margin-bottom: var(--space-xs);
    }

    & .step__title {
      color: var(--card);
      font-size: 1.4rem;
      margin-bottom: var(--space-2xs);
    }

    & .step__text {
      font-size: var(--fs-300);
      color: rgb(246 251 252 / 0.85);
      margin: 0;
    }
  }
}

/* Block: Coaching Pillars ----------------------------------------------------
   The two key service cards — photo header, icon features, real CTA. */
.pillars {
  padding-block: var(--space-2xl);

  & .pillars__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);

    @media (width <= 56rem) { grid-template-columns: 1fr; }
  }

  & .pillar {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--speed-fast) var(--ease-water), translate var(--speed-fast) var(--ease-water);

    &:hover {
      box-shadow: var(--shadow-lift);
      translate: 0 -4px;

      & .pillar__media img { scale: 1.04; }
    }
  }

  & .pillar__media {
    position: relative;
    aspect-ratio: 16 / 8;
    overflow: hidden;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      scale: 1;
      transition: scale 700ms var(--ease-water);
    }

    /* navy gradient so the title reads over any photo */
    &::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgb(11 47 105 / 0) 35%, rgb(11 47 105 / 0.78));
    }
  }

  & .pillar__title {
    position: absolute;
    z-index: 1;
    inset: auto 0 0 0;
    padding: var(--space-md);
    margin: 0;
    font-size: var(--fs-600);
    color: var(--card);
  }

  & .pillar__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex: 1;
    padding: var(--space-lg);
  }

  & .pillar__intro {
    color: var(--text-soft);
    margin: 0;
  }

  & .pillar__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    list-style: none;

    @media (width <= 26rem) { grid-template-columns: 1fr; }
  }

  /* Soft tile: icon + title share the top row, text runs full width.
     The tile background keeps uneven text lengths looking even. */
  & .feature {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: var(--space-xs);
    row-gap: var(--space-xs);
    align-content: start;
    padding: var(--space-sm);
    background: color-mix(in srgb, var(--aqua) 55%, var(--card));
    border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
    border-radius: var(--radius-md);

    & .feature__icon {
      display: grid;
      place-items: center;
      width: 2.4rem;
      height: 2.4rem;
      border-radius: var(--radius-full);
      background: var(--card);
      border: 1px solid var(--border);
      color: var(--teal);

      & svg { width: 1.3rem; height: 1.3rem; }
    }

    & .feature__title {
      font-family: var(--font-body);
      font-size: 1rem;
      font-weight: 600;
      color: var(--navy);
      margin: 0;
      line-height: 1.25;
    }

    & .feature__text {
      grid-column: 1 / -1;
      font-size: var(--fs-300);
      line-height: 1.55;
      color: var(--text-soft);
      margin: 0;
    }
  }

  & .btn { margin-top: auto; align-self: flex-start; }
}

/* Block: Coaching Options (pricing) ------------------------------------------ */
.pricing {
  padding-block: 0 var(--space-2xl);

  & .pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: var(--space-sm);
    list-style: none;
    align-items: stretch;
  }

  & .price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-md);
    text-align: center;
    transition: box-shadow var(--speed-fast) var(--ease-water), translate var(--speed-fast) var(--ease-water);

    &:hover {
      box-shadow: var(--shadow-lift);
      translate: 0 -4px;
    }

    /* Floats on the card's top edge so content lines up across cards */
    & .price-card__badge {
      position: absolute;
      top: 0;
      left: 50%;
      translate: -50% -50%;
      white-space: nowrap;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--card);
      background: linear-gradient(90deg, var(--teal), var(--blue));
      border-radius: var(--radius-full);
      padding: 0.35em 1.1em;
      margin: 0;
    }

    & .price-card__title {
      font-family: var(--font-body);
      font-size: var(--fs-400);
      font-weight: 600;
      color: var(--navy);
      margin: 0;
    }

    & .price-card__price {
      font-family: var(--font-display);
      font-size: 2.2rem;
      font-weight: 600;
      color: var(--navy);
      margin: 0;

      & small {
        display: block;
        font-family: var(--font-body);
        font-size: var(--fs-300);
        font-weight: 400;
        color: var(--text-soft);
      }

      &.price-card__price--text { font-size: 1.5rem; }
    }

    & .price-card__note {
      font-size: var(--fs-300);
      color: var(--text-soft);
      flex-grow: 1;
      margin: 0;
    }

    & .btn { align-self: center; }

    &.price-card--featured {
      border: 2px solid var(--teal);
      box-shadow: var(--shadow-lift);
    }
  }
}

/* Block: CTA band --------------------------------------------------------------
   Full-bleed water panel with a live surface (data-water-ripple). */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 4rem + 6vw, 9rem);
  text-align: center;

  & .cta-band__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & .cta-band__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      radial-gradient(60rem 30rem at 50% 110%, rgb(26 168 180 / 0.35), transparent 60%),
      linear-gradient(180deg, rgb(11 47 105 / 0.78), rgb(11 47 105 / 0.55));
    pointer-events: none;
  }

  & .cta-band__inner {
    position: relative;
    z-index: 3;
    pointer-events: none; /* let the water feel the cursor… */

    & a { pointer-events: auto; } /* …but keep the buttons clickable */
  }

  & .cta-band__title {
    color: var(--card);
    font-size: var(--fs-700);
    max-width: 22ch;
    margin-inline: auto;
  }

  & .cta-band__lede {
    color: rgb(246 251 252 / 0.85);
    font-size: var(--fs-500);
    max-width: 44ch;
    margin-inline: auto;
    margin-bottom: var(--space-lg);
  }

  & .cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
}

/* Block: Site Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--border);
  padding-block: var(--space-md);
  font-size: var(--fs-300);

  & .site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);

    & p { margin: 0; }
  }

  & .site-footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    list-style: none;
  }

  & a {
    color: var(--border);
    text-decoration: none;

    &:hover { color: var(--teal); }
  }
}

/* --------------------------------------------------------------------------
   Reduced motion — calm by default, still for those who prefer it
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    translate: 0 0;
  }

  .water-ripple__canvas { display: none; }
}
