/* Ray Tide Services demo — palette drawn from the logo:
   navy manta ray, teal waves, sand-gold ring, cream field. */
:root {
  --navy:      #16324c;
  --deep:      #0b2545;
  --teal:      #1e8ca3;
  --teal-dark: #12657a;
  --aqua:      #4fc3dd;
  --aqua-soft: #bfe9f2;
  --sand:      #c9b57c;
  --cream:     #f8f5ec;
  --coral:     #ff7059;
  --sunny:     #ffc94d;
  --palm:      #2e9e6b;
  --ink-soft:  #4a6785;
}

@font-face {
  font-family: 'Pacifico';
  src: url('../fonts/pacifico.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--navy);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 max(1.25rem, env(safe-area-inset-left)) 0 max(1.25rem, env(safe-area-inset-right));
}

/* --- Ray sweep page transition ------------------------------------------- */
/* Hidden without JS (body never gets .js); on load it covers the viewport
   and swims off to the right; .cover replays it inbound before navigation. */
.sweep {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  display: none;
}

/* Mirror on the OUTER container, travel animation on the INNER one: the
   left-to-right pass reuses the same (negative) travel keyframes inside a
   flipped coordinate space, so each stroke pattern is defined once. */
.sweep-inner { position: absolute; inset: 0; }

body.sweep-ltr .sweep { transform: scaleX(-1); }

/* The light curtain: covers the viewport at rest, soft bowed right edge
   sitting just past the screen edge. 1 viewBox unit ~ 1vw. */
.sweep-svg {
  position: absolute;
  top: 0;
  left: -55vw;
  width: 170vw;
  height: 100%;
  filter: drop-shadow(10px 0 24px rgba(11, 37, 69, 0.25));
}

/* The whole navy manta, rotated nose-left, centered on the curtain edge —
   half over the wash, half over the revealed page. Its own loop beats the
   wings (scaleX squashes the wingspan pre-rotation) and banks gently. */
.sweep-manta {
  position: absolute;
  top: 50%;
  left: 104vw;
  width: min(82vh, 88vw); /* becomes the vertical wingspan after rotation */
  fill: #0b2545;
  filter: drop-shadow(0 0 22px rgba(11, 37, 69, 0.4));
  animation: mantaBeat 0.95s ease-in-out infinite alternate;
}

/* Rise-and-dive with nose pitch: climbs tilted up, levels through the
   middle of the stroke, then dives tilted down — plus the wingbeat
   squash — so it reads as swimming, not sliding. */
@keyframes mantaBeat {
  0%   { transform: translate(-50%, -63%) rotate(-99deg)  scaleX(1); }
  45%  { transform: translate(-50%, -48%) rotate(-89deg)  scaleX(0.9); }
  100% { transform: translate(-50%, -36%) rotate(-79deg)  scaleX(0.82); }
}

/* The reveal only plays when the page was reached from an internal link
   (body.sweep-on, set from the rts_nav cookie before first paint). Fresh
   visits and bookmarks never see it. The before-paint script also rolls a
   random pre-baked stroke pattern (sweep-v1..v5: 2 to 5 swim strokes with
   different rhythms) so no two transitions look alike. */
body.sweep-on .sweep { display: block; }

body.sweep-on .sweep-inner {
  animation-delay: 0.05s;
  animation-fill-mode: both;
}

/* Total time stays roughly constant regardless of stroke count — more
   pulses just means faster, snappier pulses. */
body.sweep-v1 .sweep-inner { animation-name: sweepV1; animation-duration: 1.1s; }
body.sweep-v2 .sweep-inner { animation-name: sweepV2; animation-duration: 1.25s; }
body.sweep-v3 .sweep-inner { animation-name: sweepV3; animation-duration: 1.3s; }
body.sweep-v4 .sweep-inner { animation-name: sweepV4; animation-duration: 1.3s; }
body.sweep-v5 .sweep-inner { animation-name: sweepV5; animation-duration: 1.35s; }

/* Each segment: thrust then glide. */
@keyframes sweepV1 { /* 2 long strokes */
  0%   { transform: translateX(0);       animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  52%  { transform: translateX(-78vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  100% { transform: translateX(-155vw); }
}

@keyframes sweepV2 { /* 3 even strokes */
  0%   { transform: translateX(0);       animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  34%  { transform: translateX(-55vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  66%  { transform: translateX(-105vw);  animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  100% { transform: translateX(-155vw); }
}

@keyframes sweepV3 { /* big opening lunge, then two short kicks */
  0%   { transform: translateX(0);       animation-timing-function: cubic-bezier(0.45, 0.05, 0.25, 1); }
  45%  { transform: translateX(-90vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  72%  { transform: translateX(-122vw);  animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  100% { transform: translateX(-155vw); }
}

@keyframes sweepV4 { /* 4 steady strokes */
  0%   { transform: translateX(0);       animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  26%  { transform: translateX(-44vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  50%  { transform: translateX(-82vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  74%  { transform: translateX(-119vw);  animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  100% { transform: translateX(-155vw); }
}

@keyframes sweepV5 { /* 5 quick flutter strokes */
  0%   { transform: translateX(0);       animation-timing-function: cubic-bezier(0.5, 0.05, 0.35, 1); }
  20%  { transform: translateX(-34vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.35, 1); }
  39%  { transform: translateX(-66vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.35, 1); }
  58%  { transform: translateX(-95vw);   animation-timing-function: cubic-bezier(0.5, 0.05, 0.35, 1); }
  78%  { transform: translateX(-126vw);  animation-timing-function: cubic-bezier(0.5, 0.05, 0.35, 1); }
  100% { transform: translateX(-155vw); }
}

/* Outbound: no second sweep — just a quick dip under the water, then the
   next page's manta does the reveal. Kills the dead pause between pages.
   Declared last so it overrides an already-finished reveal animation. */
body.js .sweep.cover {
  display: block;
  animation: sweepCoverFade 0.26s ease-out both;
}

/* Reset the inner rig for the fade: the finished reveal left it parked
   off-screen (fill-mode both). Opacity-only keyframes keep the ltr mirror
   (a transform on .sweep) intact. */
body.js .sweep.cover .sweep-inner {
  animation: none;
  transform: translateX(0);
}

@keyframes sweepCoverFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .sweep { display: none !important; }
}

/* --- Scroll hint ---------------------------------------------------------- */
/* Small pulsing chevron, bottom center — shown by footer JS only when the
   page is scrollable and the visitor hasn't scrolled yet. */
.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: max(0.9rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 37, 69, 0.45);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.scroll-hint svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-hint.show {
  opacity: 1;
  visibility: visible;
  animation: hintPulse 1.8s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.7; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint.show { animation: none; }
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(0.5rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right))
           0.5rem max(1.25rem, env(safe-area-inset-left));
  background: var(--deep);
}

.site-header.overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  z-index: 10;
  justify-content: flex-end;
}

/* On the home hero the big logo IS the brand — don't show it twice. */
.site-header.overlay .brand { display: none; }

.site-header.overlay .site-nav {
  background: rgba(11, 37, 69, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  backdrop-filter: blur(4px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cream);
  text-decoration: none;
}

/* Sub-page headers carry the same beachy title face as the home hero. */
.brand span {
  font-family: 'Pacifico', "Segoe Script", cursive;
  font-weight: 400;
  font-size: 1.45rem;
}

.product-hero h1,
.contact-hero h1 {
  font-family: 'Pacifico', "Segoe Script", cursive;
  font-weight: 400;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

/* --- Nav: icon pills on desktop, ocean overlay on mobile ----------------- */
.nav-burger { display: none; }

.site-nav { display: flex; align-items: center; gap: 0.15rem; }

.nav-link {
  --accent: var(--aqua);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link .nav-ico { display: grid; place-items: center; color: var(--accent); }
.nav-link .nav-ico .ico { width: 17px; height: 17px; }
.nav-link .nav-ico .ico .ico-line { stroke: rgba(255, 255, 255, 0.9); }

.nav-link:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.nav-link.active { background: rgba(255, 255, 255, 0.18); color: #fff; }

.accent-sand { --accent: var(--sand); }
/* A shade deeper than --aqua so it still reads as a label on a white card,
   while staying light enough for the nav icons on the navy bar. */
.accent-aqua { --accent: #35a8c6; }

/* Mobile & tablet: hamburger + full-screen ocean menu */
@media (max-width: 899px) {
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: fixed;
    top: max(0.7rem, env(safe-area-inset-top));
    right: max(0.9rem, env(safe-area-inset-right));
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(11, 37, 69, 0.55);
    backdrop-filter: blur(4px);
    align-items: center;
    cursor: pointer;
    z-index: 60;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.3);
  }

  .nav-burger span {
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--cream);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .site-nav,
  .site-header.overlay .site-nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    padding: 2rem;
    border-radius: 0;
    background: linear-gradient(170deg, var(--deep) 0%, var(--teal-dark) 70%, var(--teal) 110%);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-toggle:checked ~ .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .site-nav .nav-link {
    font-size: 1.3rem;
    gap: 0.9rem;
    padding: 0.55rem 1.3rem;
    color: #fff;
  }

  .site-nav .nav-link .nav-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .site-nav .nav-link .nav-ico .ico { width: 22px; height: 22px; }
  .site-nav .nav-link .nav-ico .ico .ico-line { stroke: var(--accent); }
  .site-nav .nav-link.active { background: rgba(255, 255, 255, 0.12); }

  /* Links surf in one after another */
  .nav-toggle:checked ~ .site-nav .nav-link { animation: navIn 0.35s ease both; }
  .nav-toggle:checked ~ .site-nav .nav-link:nth-child(1) { animation-delay: 0.05s; }
  .nav-toggle:checked ~ .site-nav .nav-link:nth-child(2) { animation-delay: 0.11s; }
  .nav-toggle:checked ~ .site-nav .nav-link:nth-child(3) { animation-delay: 0.17s; }
  .nav-toggle:checked ~ .site-nav .nav-link:nth-child(4) { animation-delay: 0.23s; }
  .nav-toggle:checked ~ .site-nav .nav-link:nth-child(5) { animation-delay: 0.29s; }
}

/* Landscape phones: the overlay menu lays its links out in two columns so
   all seven fit on the short screen without scrolling. */
@media (max-width: 899px) and (orientation: landscape) {
  .site-nav,
  .site-header.overlay .site-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 0.55rem;
  }

  .site-nav .nav-link {
    width: 38%;
    max-width: 300px;
    font-size: 1.02rem;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
  }

  .site-nav .nav-link .nav-ico { width: 34px; height: 34px; }
  .site-nav .nav-link .nav-ico .ico { width: 18px; height: 18px; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- Hero: everything on the first screen ------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  padding: calc(3.2rem + 8px) max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
  background-color: var(--teal-dark);
  /* Sunwashed gradient over an aerial shoreline (flipped: sand up top under
     the headline, surf + teal water behind the path cards) */
  background-image:
    linear-gradient(180deg,
      rgba(253, 246, 227, 0.9) 0%,
      rgba(205, 238, 246, 0.72) 30%,
      rgba(142, 216, 232, 0.55) 55%,
      rgba(30, 140, 163, 0.55) 85%,
      rgba(18, 101, 122, 0.72) 100%),
    url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.sun {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe29a 0%, var(--sunny) 45%, rgba(255, 201, 77, 0) 72%);
  animation: sunPulse 7s ease-in-out infinite;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.08); opacity: 1; }
}

/* Manta silhouettes drifting across the hero — a small school.
   Sizes in vw so they stay in proportion on phones; odd ones swim back
   the other way (swimBack flips them to face their travel direction). */
.ray {
  position: absolute;
  left: 0;
  width: clamp(70px, 11vw, 130px);
  fill: rgba(11, 37, 69, 0.16);
  transform: rotate(90deg); /* nose-forward static fallback (reduced motion) */
  animation: swim 26s linear infinite;
  pointer-events: none;
}

.ray-1 { top: 58%; }
.ray-2 { top: 30%; width: clamp(46px, 7vw, 84px);   animation-duration: 38s; animation-delay: -14s; fill: rgba(11, 37, 69, 0.11); }
.ray-3 { top: 76%; width: clamp(88px, 13vw, 150px); animation-name: swimBack; animation-duration: 33s; animation-delay: -9s;  fill: rgba(11, 37, 69, 0.13); }
.ray-4 { top: 14%; width: clamp(38px, 5.5vw, 64px); animation-duration: 46s; animation-delay: -31s; fill: rgba(11, 37, 69, 0.08); }
.ray-5 { top: 44%; width: clamp(54px, 8vw, 92px);   animation-name: swimBack; animation-duration: 52s; animation-delay: -24s; fill: rgba(11, 37, 69, 0.07); }

/* The manta artwork faces up, so horizontal travel needs a ±90deg turn to
   swim nose-forward; the few extra degrees are the pitch wobble. */
@keyframes swim {
  0%   { transform: translateX(-160px) rotate(86deg); }
  50%  { transform: translateX(50vw) translateY(-24px) rotate(96deg); }
  100% { transform: translateX(110vw) rotate(86deg); }
}

@keyframes swimBack {
  0%   { transform: translateX(110vw) rotate(-86deg); }
  50%  { transform: translateX(50vw) translateY(18px) rotate(-96deg); }
  100% { transform: translateX(-160px) rotate(-86deg); }
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.hero-logo {
  width: clamp(72px, 16vw, 150px);
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.25);
}

.hero-kicker {
  margin: 0.4rem 0 0;
  font-size: clamp(0.72rem, 2vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-dark);
  font-weight: 700;
}

/* Title block keeps the same footprint as the old h1; the script font is
   sized slightly smaller since Pacifico runs taller and wider. */
.title-wipe { position: relative; }

.hero h1 {
  margin: 0.1rem 0;
  font-family: 'Pacifico', "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(1.55rem, 5vw, 2.9rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--deep);
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.55);
  animation: titleWipe 2.1s 0.35s both;
}

/* A little ray swims across the title, wiping the letters in behind it.
   Travel (left) pulses in thrust-glide strokes matching the text wipe;
   a second animation handles the wingbeat + nose pitch (transform). */
.title-wipe .ray {
  left: auto;
  /* Vertically center on the title: offset by half the ray's own height
     (height = width/2, transform is owned by the beat animation). */
  top: 50%;
  margin-top: calc(clamp(46px, 8vw, 78px) / -4);
  width: clamp(46px, 8vw, 78px);
  fill: rgba(11, 37, 69, 0.8);
  animation:
    titleRay 2.1s 0.35s both,
    titleRayBeat 0.6s ease-in-out infinite alternate;
}

/* Text edge follows the same stroke rhythm as the ray. */
@keyframes titleWipe {
  0%   { clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  34%  { clip-path: inset(0 66% 0 0);  animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  66%  { clip-path: inset(0 32% 0 0);  animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes titleRay {
  0%   { left: -10%; opacity: 0; animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  18%  { opacity: 1; }
  34%  { left: 28%;  animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  66%  { left: 62%;  animation-timing-function: cubic-bezier(0.5, 0.05, 0.3, 1); }
  88%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}

/* Nose-forward (the base manta faces up), pitching and beating as it goes. */
@keyframes titleRayBeat {
  from { transform: rotate(84deg) scaleX(1); }
  to   { transform: rotate(97deg) scaleX(0.78); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; clip-path: none; }
  .title-wipe .ray { display: none; }
}

.hero-sub {
  margin: 0 auto;
  max-width: 34rem;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  color: #14425c;
}

/* Her key statements — pills fed from the `hero.badges` content doc */
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(18, 101, 122, 0.35);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: clamp(0.68rem, 1.8vw, 0.86rem);
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(11, 37, 69, 0.1);
}

/* --- Product path cards -------------------------------------------------- */
.hero-paths {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1060px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(3.5rem, 9svh, 6rem);
}

.paths-label {
  margin: 0.6rem 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  color: #fff;
  text-shadow: 0 1px 6px rgba(11, 37, 69, 0.4);
}

/* Six product paths in a 3×2 grid — two rows, so each card is shorter than
   the old single row of four but every path still lands on the first screen. */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.45rem, 1.2vw, 0.85rem);
}

.path-card {
  --accent: var(--teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 0.7svh, 0.5rem);
  min-height: clamp(112px, 19svh, 190px);
  padding: clamp(0.6rem, 1.5vw, 1rem) 0.6rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  border-top: 6px solid var(--accent);
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(11, 37, 69, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 16px 32px rgba(11, 37, 69, 0.3);
}

.path-card .ico {
  width: clamp(26px, 4vw, 46px);
  height: clamp(26px, 4vw, 46px);
  color: var(--accent);
}

.path-card .ico .ico-line { stroke: #fff; }

.path-title {
  font-weight: 800;
  font-size: clamp(0.82rem, 1.6vw, 1.08rem);
  line-height: 1.15;
}

.path-hook {
  font-size: clamp(0.68rem, 1.25vw, 0.84rem);
  line-height: 1.25;
  color: var(--ink-soft);
}

.path-go {
  margin-top: 0.1rem;
  font-size: clamp(0.62rem, 1.1vw, 0.76rem);
  font-weight: 700;
  color: var(--accent);
}

.accent-coral  { --accent: var(--coral); }
.accent-sunny  { --accent: #e0a520; }
.accent-teal   { --accent: var(--teal); }
.accent-palm   { --accent: var(--palm); }
.accent-orchid { --accent: #8f5fc0; }

/* Animated shoreline at the bottom of the hero */
.waves {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: clamp(40px, 8svh, 90px);
  z-index: 1;
}

/* Paths overhang 200px past both viewBox edges (see waves_svg()), so these
   bigger drifts never expose a gap at the screen edge — and the two layers
   move in opposite directions, which makes the rolling actually visible. */
.waves .w1 { fill: rgba(248, 245, 236, 0.45); animation: waveDrift 6s ease-in-out infinite alternate; }
.waves .w2 { fill: var(--cream); animation: waveDriftBack 8s ease-in-out infinite alternate; }

@keyframes waveDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(-150px); }
}

@keyframes waveDriftBack {
  from { transform: translateX(-140px); }
  to   { transform: translateX(130px); }
}

/* --- Product sections ----------------------------------------------------- */
.product {
  --accent: var(--teal);
  padding: 3.5rem 0;
  scroll-margin-top: 0.5rem;
}

.product.alt { background: #eef6f4; }

.product-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.product-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.18);
  flex: 0 0 auto;
}

.product-ico .ico { width: 28px; height: 28px; }
.product-ico .ico .ico-line { stroke: var(--accent); }

.product h2 {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--deep);
}

.product h3 {
  color: var(--accent);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  margin: 0 0 0.6rem;
}

.lead { font-size: 1.08rem; line-height: 1.55; color: var(--navy); }

.product p, .contact p { line-height: 1.6; color: #2b4a66; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.45rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.5;
}

.feature-list li::before {
  content: "≋";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.btn {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--accent, var(--teal));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11, 37, 69, 0.28); }

/* Secondary CTA — used where a page has both a "shop it yourself" link and a
   "talk to me first" link, so the two don't compete. */
.btn-ghost {
  background: transparent;
  color: var(--accent, var(--teal));
  border: 2px solid currentColor;
  box-shadow: none;
  margin-left: 0.5rem;
}

.btn-ghost:hover { box-shadow: 0 8px 18px rgba(11, 37, 69, 0.16); }

/* Little arrow marking a link that leaves the site */
.btn-ext { margin-left: 0.4rem; font-size: 0.9em; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .btn-ghost { margin-left: 0; display: block; width: fit-content; }
}

/* --- Product detail pages --------------------------------------------------- */
.wrap-wide { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }

.product-hero {
  --accent: var(--teal);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 4rem 1.25rem 5.6rem;
  background-color: var(--teal-dark);
  /* Accent wash over the product's Unsplash photo (--hero-img set inline) */
  background-image:
    linear-gradient(165deg,
      color-mix(in srgb, var(--accent) 72%, transparent) 0%,
      rgba(18, 101, 122, 0.66) 55%,
      rgba(11, 37, 69, 0.82) 110%),
    var(--hero-img, linear-gradient(165deg, var(--accent), var(--deep)));
  background-size: cover;
  background-position: center 38%;
  text-shadow: 0 2px 14px rgba(11, 37, 69, 0.45);
}

.product-hero .ray { fill: rgba(255, 255, 255, 0.14); }

.product-hero .product-ico {
  width: 78px;
  height: 78px;
  margin: 0 auto 0.9rem;
  background: #fff;
  color: var(--accent);
}

.product-hero .product-ico .ico { width: 42px; height: 42px; }
.product-hero .product-ico .ico .ico-line { stroke: #fff; }

.product-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7.5vw, 4.2rem);
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.product-hero .hook {
  margin: 0.5rem 0 0;
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

.more-paths {
  padding: 3rem 0 3.5rem;
  background: #eef6f4;
  text-align: center;
}

.more-paths h2 { color: var(--deep); margin: 0 0 1.2rem; }

.more-paths .paths { grid-template-columns: repeat(3, 1fr); }

.more-paths .path-card { min-height: 170px; }

@media (max-width: 700px) {
  .more-paths .paths { grid-template-columns: 1fr; }
  .more-paths .path-card { min-height: 120px; }
}

.not-found {
  padding: 6rem 0;
  text-align: center;
}

.not-found h1 { color: var(--deep); }

/* --- FAQ page ---------------------------------------------------------------- */
.faq-page { padding: 2.5rem 0 4rem; }

.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(11, 37, 69, 0.1);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.3rem;
  font-weight: 700;
  color: var(--deep);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "≋";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); color: var(--coral); }

.faq-item[open] summary { border-bottom: 1px solid #e6eef2; }

.faq-item p {
  margin: 0;
  padding: 1rem 1.3rem 1.2rem;
  line-height: 1.6;
  color: #2b4a66;
}

/* --- Blog ---------------------------------------------------------------------- */
.post-list { padding: 2.5rem 0 4rem; }

.post-card {
  display: block;
  background: #fff;
  border-radius: 18px;
  border-left: 6px solid var(--teal);
  box-shadow: 0 8px 22px rgba(11, 37, 69, 0.1);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 37, 69, 0.16); }

.post-date {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
}

.post-card h2 { margin: 0.25rem 0 0.4rem; color: var(--deep); font-size: 1.35rem; }

.post-card p { margin: 0 0 0.5rem; color: #2b4a66; line-height: 1.55; }

.post-more { font-weight: 700; color: var(--teal); }

.post-body { padding: 2.5rem 0 3rem; }

.post-body p { line-height: 1.65; color: #2b4a66; }

.post-body .lead { font-size: 1.15rem; color: var(--navy); }

.back-link { color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* --- Contact form page ------------------------------------------------------ */
.contact-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 3.6rem 1.25rem 5rem;
  background:
    linear-gradient(165deg, rgba(30, 140, 163, 0.82) 0%, rgba(11, 37, 69, 0.88) 110%),
    url('../img/contact.jpg') center 35% / cover no-repeat;
  text-shadow: 0 2px 12px rgba(11, 37, 69, 0.5);
}

.contact-hero .ray { fill: rgba(255, 255, 255, 0.14); }
.contact-hero h1 { margin: 0; font-size: clamp(2.4rem, 7.5vw, 4.2rem); line-height: 1.3; position: relative; z-index: 2; }
.contact-hero .hook { margin: 0.5rem 0 0; font-size: clamp(1.15rem, 3.2vw, 1.5rem); color: rgba(255, 255, 255, 0.9); position: relative; z-index: 2; }

.contact-page { padding: 2.5rem 0 4rem; }

.form-card {
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: 0 14px 40px rgba(11, 37, 69, 0.14);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.sent-card { text-align: center; align-items: center; padding: 3rem 2rem; }
.sent-card h2 { margin: 0; color: var(--deep); }

.form-errors {
  margin: 0;
  padding: 0.8rem 1rem 0.8rem 2.2rem;
  background: #fdeceb;
  border: 1.5px solid var(--coral);
  border-radius: 12px;
  color: #b3402f;
}

.interests { border: 0; margin: 0; padding: 0; }

.interests legend {
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.hint { font-weight: 400; color: var(--ink-soft); font-size: 0.85em; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip { cursor: pointer; }

.chip input { position: absolute; opacity: 0; pointer-events: none; }

.chip-face {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem 0.5rem 0.7rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

/* A real checkbox square inside the pill so multi-select reads as optional
   choices, not on/off buttons. */
.chip-face::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 0.9em;
  line-height: 1;
  font-weight: 800;
}

.chip input:checked + .chip-face::before {
  content: "✓";
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}

.chip-face .ico { width: 17px; height: 17px; }

.chip:hover .chip-face { transform: translateY(-2px); }

.chip input:checked + .chip-face {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px rgba(11, 37, 69, 0.18);
}

.chip input:focus-visible + .chip-face { outline: 3px solid var(--aqua); outline-offset: 2px; }

.form-card label { font-weight: 700; color: var(--deep); display: flex; flex-direction: column; gap: 0.35rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.65rem 0.9rem;
  border: 2px solid #d4e2e8;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy);
  transition: border-color 0.15s ease;
}

.form-card input:focus,
.form-card textarea:focus { outline: none; border-color: var(--teal); background: #fff; }

.form-card .btn-big { align-self: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; }

/* Honeypot: shipped to bots, invisible to people */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- Contact & footer ------------------------------------------------------ */
.contact {
  padding: 4.5rem 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(30, 140, 163, 0.85) 0%, rgba(11, 37, 69, 0.92) 100%),
    url('../img/contact.jpg') center 30% / cover no-repeat;
  color: #fff;
  text-shadow: 0 1px 8px rgba(11, 37, 69, 0.5);
}

.contact h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); margin-top: 0; }
.contact .lead, .contact p { color: var(--aqua-soft); max-width: 40rem; margin-left: auto; margin-right: auto; }

.btn-big { --accent: var(--sunny); background: var(--sunny); color: var(--deep); font-size: 1.05rem; padding: 0.8rem 2rem; }

.site-footer {
  text-align: center;
  padding: 1.6rem;
  background: var(--deep);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer p { margin: 0; }

/* --- "Why call me" band (home) -------------------------------------------- */
.why {
  background: var(--cream);
  padding: clamp(2.2rem, 6vw, 3.4rem) 0;
}

.why h2 {
  margin: 0 0 1.4rem;
  text-align: center;
  font-family: 'Pacifico', "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  color: var(--deep);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(0.7rem, 2vw, 1.1rem);
}

.why-list li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 2.9rem;
  background: #fff;
  border-radius: 16px;
  border-left: 5px solid var(--teal);
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.09);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* A little wave tick instead of a bullet */
.why-list li::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.45rem;
  width: 12px;
  height: 8px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  border-radius: 0 0 0 3px;
  transform: rotate(-45deg);
}

.why-list li:nth-child(4n+2) { border-left-color: var(--coral); }
.why-list li:nth-child(4n+2)::before { border-color: var(--coral); }
.why-list li:nth-child(4n+3) { border-left-color: var(--palm); }
.why-list li:nth-child(4n+3)::before { border-color: var(--palm); }
.why-list li:nth-child(4n+4) { border-left-color: #e0a520; }
.why-list li:nth-child(4n+4)::before { border-color: #e0a520; }

/* --- "Also available" strip (Send Out Cards) ------------------------------- */
.also {
  background: var(--navy);
  color: #fff;
  padding: clamp(1.4rem, 4vw, 2rem) 0;
}

.also .wrap {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.4rem);
  flex-wrap: wrap;
}

.also-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--sand);
}

.also-ico .ico { width: 24px; height: 24px; }
.also-ico .ico .ico-fill { fill: var(--navy); }

.also h2 {
  margin: 0 0 0.15rem;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: #fff;
}

.also p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.4;
}

.also > .wrap > div { flex: 1 1 16rem; }
.also .btn { --accent: var(--sand); margin-top: 0; color: var(--deep); }

/* --- Photos inside block content ------------------------------------------ */
.block-img {
  margin: 1.4rem 0;
  max-width: 340px;
}

.block-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 4px solid #fff;
  box-shadow: 0 10px 26px rgba(11, 37, 69, 0.2);
}

.block-img.is-round img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border-width: 5px;
}

.block-img figcaption {
  margin-top: 0.55rem;
  font-size: 0.83rem;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .block-img { float: right; margin: 0.2rem 0 1.2rem 1.8rem; max-width: 300px; }
}

/* --- Footer --------------------------------------------------------------- */
.footer-grid {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  text-align: left;
}

.site-footer .footer-name {
  margin: 0;
  font-weight: 800;
  font-size: 1.02rem;
  color: #fff;
}

.site-footer .footer-role {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-fb { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-fb .ico { width: 17px; height: 17px; color: var(--aqua); }

.site-footer .footer-legal {
  margin: 1.6rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 620px) {
  .footer-grid { flex-direction: column; text-align: center; align-items: center; }
  .footer-contact, .footer-links { align-items: center; }
}

/* Direct phone/email under the contact band button */
.contact-direct {
  margin: 0.9rem 0 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.contact-direct a { color: var(--teal); font-weight: 700; }

/* --- Responsive: keep all six paths on the first screen -------------------- */

/* Phones and tablets (any orientation): 2×3 grid of paths.
   Width-based so tablet-portrait and awkward mid sizes get roomy cards too.
   The short-landscape query below overrides back to a single row of 6. */
@media (max-width: 899px) {
  .paths { grid-template-columns: repeat(2, 1fr); }
  .path-card { min-height: clamp(88px, 13svh, 150px); }
  .hero { padding-top: 1.6rem; }
  /* Title fills the screen width (Pacifico has no bold — fake the weight
     with a stroke); logo gives back the vertical space the bigger title
     takes. */
  .hero h1 { font-size: 9.5vw; -webkit-text-stroke: 1.2px var(--deep); }
  .hero-logo { width: clamp(88px, 23vw, 140px); }
}

/* Mid-size screens: keep the 3×2 grid but let it breathe */
@media (min-width: 900px) and (max-width: 1120px) {
  .hero-paths { max-width: 92vw; }
  .path-card { min-height: clamp(104px, 17svh, 175px); }
}

/* Nine nav pills don't fit a laptop width at full size — shrink them, and let
   them wrap as a last resort rather than pushing off the edge. */
@media (min-width: 900px) {
  .site-nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 0.2rem; }
}

@media (min-width: 900px) and (max-width: 1320px) {
  .site-nav { gap: 0.05rem; }
  .nav-link { padding: 0.36rem 0.5rem; font-size: 0.8rem; gap: 0.3rem; }
  .nav-link .nav-ico .ico { width: 15px; height: 15px; }
}

/* Wide-but-short DESKTOP windows: don't shrink — go columnar. Logo sits
   beside the words, badges stay, cards keep real size; the horizontal
   spread frees the vertical space instead of miniaturizing everything. */
@media (min-width: 951px) and (max-height: 760px) {
  .hero { padding-top: 3rem; }
  .hero-top { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.2rem; }
  .hero-words { text-align: left; }
  .hero-words .hero-sub { margin: 0; }
  .hero-badges { flex-basis: 100%; justify-content: center; }
  .hero-logo { width: clamp(110px, 20svh, 160px); }
  .hero h1 { font-size: clamp(2rem, 8svh, 3rem); }
  .path-card { min-height: clamp(90px, 16svh, 150px); }
  .hero-paths { padding-bottom: clamp(2.5rem, 7svh, 3.5rem); }
}

/* Short landscape screens (PHONES sideways only): logo beside the words,
   one row of 6 cards. Use the width — keep the badges and subtitle instead of
   shrinking everything into the top-left corner. With six across there's no
   room for the hook or the action label, so those drop. */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 950px) {
  .hero { padding-top: 2.6rem; }
  .hero-top { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 1.2rem; text-align: left; }
  .hero-words { text-align: left; }
  .hero-logo { width: clamp(84px, 27svh, 132px); border-width: 3px; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: clamp(1.5rem, 11svh, 2.3rem); }
  .hero-sub { font-size: 0.85rem; max-width: 34rem; margin: 0; }
  .hero-badges { flex-basis: 100%; justify-content: center; gap: 0.35rem; }
  .hero-badges li { font-size: 0.64rem; padding: 0.22rem 0.62rem; }
  .paths { grid-template-columns: repeat(6, 1fr); gap: 0.35rem; }
  .path-hook, .path-go { display: none; }
  .path-title { font-size: clamp(0.66rem, 1.5vw, 0.82rem); }
  .path-card .ico { width: 24px; height: 24px; }
  .path-card { padding: 0.5rem 0.3rem; border-radius: 14px; min-height: clamp(74px, 28svh, 128px); }
  .paths-label { margin: 0.3rem 0; }
  .hero-paths { padding-bottom: clamp(2rem, 9svh, 3rem); }
  .sun { width: 170px; height: 170px; top: -60px; right: -60px; }
}

/* Very short portrait phones: tighten vertical rhythm */
@media (orientation: portrait) and (max-height: 700px) {
  .hero-logo { width: clamp(74px, 19vw, 104px); }
  .hero-sub { display: none; }
  .path-card { gap: 0.18rem; min-height: clamp(76px, 12svh, 128px); }
  .hero-badges li { font-size: 0.66rem; padding: 0.24rem 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ray, .sun, .waves .w1, .waves .w2 { animation: none; }
  .nav-toggle:checked ~ .site-nav .nav-link { animation: none; }
  html { scroll-behavior: auto; }
}
