/* ============================================================
   KARIBU JETSKI — Kigamboni, Dar es Salaam
   Design system + page styles (light beach theme)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: oklch(0.975 0.008 95);            /* warm sand */
  --bg-mist: oklch(0.955 0.018 205);      /* sea mist */
  --surface: oklch(0.995 0.003 95);       /* near white */
  --surface-2: oklch(0.965 0.015 200);

  --text: oklch(0.30 0.05 245);           /* deep navy */
  --text-muted: oklch(0.48 0.035 240);
  --text-faint: oklch(0.60 0.03 240);

  --aqua: oklch(0.62 0.11 205);           /* teal accent (text/icons) */
  --aqua-deep: oklch(0.48 0.09 215);
  --aqua-bright: oklch(0.82 0.13 192);    /* bright aqua fills */
  --sun: oklch(0.70 0.16 55);
  --sun-soft: oklch(0.80 0.155 62);
  --navy: oklch(0.22 0.04 245);
  --danger: oklch(0.58 0.19 30);

  /* light-mode shadow recipes */
  --shadow-border:
    0px 0px 0px 1px oklch(0 0 0 / 0.06),
    0px 1px 2px -1px oklch(0 0 0 / 0.06),
    0px 2px 4px 0px oklch(0 0 0 / 0.04);
  --shadow-border-hover:
    0px 0px 0px 1px oklch(0 0 0 / 0.09),
    0px 1px 2px -1px oklch(0 0 0 / 0.08),
    0px 10px 28px -10px oklch(0.48 0.09 215 / 0.28);
  --shadow-lift:
    0px 0px 0px 1px oklch(0 0 0 / 0.05),
    0px 24px 56px -16px oklch(0.30 0.05 245 / 0.28);

  --image-outline: oklch(0 0 0 / 0.1);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 150ms;
  --dur-med: 300ms;

  --nav-h: 88px;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; }
img.content-image {
  outline: 1px solid var(--image-outline);
  outline-offset: -1px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
  font: inherit;
  color: var(--text);
}

::selection {
  background: oklch(0.82 0.13 192 / 0.5);
}

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

.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--aqua);
}

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  margin: 14px 0 12px;
}
.section-sub {
  color: var(--text-muted);
  max-width: 56ch;
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding-block: 14px;
  padding-inline-start: 26px;
  padding-inline-end: 24px; /* icon side gets 2px less */
  transition-property: scale, background-color, box-shadow, color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
  white-space: nowrap;
}
.btn:not(:disabled):active { scale: 0.96; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn svg { width: 1.15em; height: 1.15em; stroke-width: 2; }

.btn-primary {
  background: var(--navy);
  color: oklch(0.97 0.01 95);
  box-shadow: 0 8px 24px -8px oklch(0.30 0.05 245 / 0.4);
}
.btn-ghost {
  box-shadow: var(--shadow-border);
  color: var(--text);
  background: oklch(1 0 0 / 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (hover: hover) {
  .btn-primary:hover { background: oklch(0.30 0.06 243); }
  .btn-ghost:hover { box-shadow: var(--shadow-border-hover); background: oklch(1 0 0 / 0.9); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: oklch(0.98 0.008 95 / 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid oklch(0 0 0 / 0.08);
  transition-property: background-color, box-shadow;
  transition-duration: var(--dur-med);
  transition-timing-function: ease-out;
}
.nav.scrolled {
  background: oklch(0.98 0.008 95 / 0.94);
  box-shadow: 0 6px 24px -12px oklch(0.30 0.05 245 / 0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
}
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}
.brand span em { font-style: normal; color: var(--aqua-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav-links a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition-property: color, background-color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--text); background: oklch(0 0 0 / 0.05); }
}
.nav-links a.active { color: var(--aqua-deep); }
.nav-links a.nav-cta {
  display: inline-flex; /* overrides .nav-links a { display:block } which pushed the arrow to a second line */
  margin-inline-start: 10px;
  padding-block: 12px;
  padding-inline-start: 24px;
  padding-inline-end: 22px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex: none;
  background: linear-gradient(120deg, var(--aqua-bright), var(--aqua) 45%, var(--aqua-bright));
  background-size: 240% 100%;
  color: var(--navy);
  box-shadow: 0 8px 24px -8px oklch(0.62 0.11 205 / 0.55);
}
.nav-links a.nav-cta svg {
  transition-property: translate;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
@media (hover: hover) {
  .nav-links a.nav-cta:hover { box-shadow: 0 12px 30px -8px oklch(0.62 0.11 205 / 0.7); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nav-links a.nav-cta:hover svg { translate: 3px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .nav-links a.nav-cta { animation: cta-sheen 5s ease-in-out infinite; }
}
@keyframes cta-sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-border);
  border: 1px solid transparent;
  background: oklch(1 0 0 / 0.7);
  color: var(--text);
}
.menu-btn svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  stroke-width: 2;
  opacity: 0;
  transition-property: opacity;
  transition-duration: var(--dur-med);
  transition-timing-function: var(--ease-out);
}
.menu-btn svg.on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .menu-btn svg {
    scale: 0.25;
    filter: blur(4px);
    transition-property: opacity, scale, filter;
  }
  .menu-btn svg.on { scale: 1; filter: blur(0px); }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    inset-inline: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: var(--radius-m);
    background: oklch(0.99 0.005 95 / 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lift);
    overscroll-behavior: contain;
    opacity: 0;
    pointer-events: none;
    transition-property: opacity, translate;
    transition-duration: var(--dur-fast);
    transition-timing-function: ease-out;
    margin-inline-start: 0;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transition-duration: var(--dur-med);
  }
  @media (prefers-reduced-motion: no-preference) {
    .nav-links { translate: 0 -8px; }
    .nav-links.open { translate: 0 0; }
  }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .nav-links a.nav-cta { display: flex; margin: 8px 0 0; width: 100%; box-sizing: border-box; justify-content: center; padding-block: 14px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/jest.jpg") center 55% / cover no-repeat var(--bg-mist);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.12 0.02 245 / 0.60) 0%, oklch(0.12 0.02 245 / 0.28) 40%, transparent 60%),
    linear-gradient(0deg, var(--bg) 0%, transparent 20%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  padding-block: 64px 140px;
}

.hero h1 {
  font-size: clamp(42px, 7.2vw, 90px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
  margin-block: 0 16px;
  color: oklch(0.97 0.01 95);
}
.hero h1 .word { display: block; }
.hero h1 .outline {
  color: var(--aqua-bright);
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: oklch(0.87 0.02 235);
  max-width: 46ch;
}
.hero-sub strong { color: var(--aqua-bright); font-weight: 600; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-meta div { display: grid; gap: 2px; }
.hero-meta b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: oklch(0.97 0.01 95);
}
.hero-meta b i { font-style: normal; color: var(--sun-soft); }
.hero-meta span { font-size: 12.5px; color: oklch(0.78 0.025 235); letter-spacing: 0.08em; text-transform: uppercase; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: oklch(0.75 0.025 235);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-hint .line {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--aqua-bright), transparent);
}

/* ---------- Sections ---------- */
.section { padding-block: 110px; position: relative; }
.section-head { margin-bottom: 54px; display: grid; gap: 0; }
.section-head .row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Services (ride packages) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  border-radius: 29px; /* 20 inner + 8 padding + 1 border */
  border: 1px solid transparent;
  box-shadow: var(--shadow-border);
  background: var(--surface);
  padding: 8px;
  transition-property: box-shadow, translate;
  transition-duration: var(--dur-med);
  transition-timing-function: ease-out;
}
@media (hover: hover) {
  .svc-card:hover { box-shadow: var(--shadow-border-hover); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .svc-card:hover { translate: 0 -4px; }
}
.svc-art {
  position: relative;
  border-radius: var(--radius-m); /* concentric: 29 outer = 20 inner + 8 pad + 1 border */
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.svc-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid var(--image-outline);
  outline-offset: -1px;
}
.svc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: oklch(0.99 0.005 95 / 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--navy);
  box-shadow: var(--shadow-border);
  border: 1px solid transparent;
}
.svc-body { padding: 20px 14px 14px; }
.svc-body h3 { font-size: 19px; font-weight: 700; }
.svc-body .svc-tag { font-size: 13.5px; color: var(--text-muted); margin-top: 5px; }
.svc-specs {
  display: flex;
  gap: 18px;
  margin-block: 18px;
  padding-block: 14px;
  border-block: 1px solid oklch(0 0 0 / 0.08);
}
.svc-specs div { display: grid; gap: 3px; }
.svc-specs b { font-size: 15px; font-weight: 600; font-family: var(--font-display); }
.svc-specs span { font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-price b { font-family: var(--font-display); font-size: 20px; }
.svc-price b i { font-style: normal; color: var(--aqua-deep); }
.svc-price span { font-size: 12.5px; color: var(--text-faint); display: block; }
.svc-foot .btn { padding-block: 11px; padding-inline-start: 20px; padding-inline-end: 18px; font-size: 14px; }

.rate-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.rate-card, .photo-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 22px 22px;
  border-radius: var(--radius-l);
  border: 1px solid transparent;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  transition-property: box-shadow, translate;
  transition-duration: var(--dur-med);
  transition-timing-function: ease-out;
}
.rate-card.featured { box-shadow: 0 0 0 2px var(--aqua), var(--shadow-lift); }
.rate-card .svc-badge { position: absolute; top: -12px; left: 50%; translate: -50% 0; white-space: nowrap; }
.rate-time { font-family: var(--font-display); font-size: 30px; font-weight: 800; }
.rate-price { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 10px 0 14px; }
.rate-price i { font-style: normal; font-size: 13px; color: var(--aqua-deep); }
.rate-price small { font-size: 15px; color: var(--text-faint); font-family: var(--font-body); font-weight: 500; }
.rate-card .btn, .photo-card .btn { justify-self: start; padding-block: 11px; font-size: 14px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-card h3 { font-size: 22px; font-weight: 700; margin-top: 6px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .rate-card:hover, .photo-card:hover { translate: 0 -4px; }
}
@media (max-width: 1100px) { .rate-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .rate-grid, .photo-grid { grid-template-columns: 1fr 1fr; } .photo-grid { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}
.g-tile {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: var(--shadow-border);
  transition-property: box-shadow, scale;
  transition-duration: var(--dur-med);
  transition-timing-function: ease-out;
  text-align: left;
  display: block;
  padding: 0;
}
.g-tile:not(:disabled):active { scale: 0.96; }
.g-tile.tall { grid-row: span 2; }
.g-tile.wide { grid-column: span 2; }
.g-art { position: absolute; inset: 0; transition-property: scale; transition-duration: 400ms; transition-timing-function: ease-out; }
.g-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid var(--image-outline);
  outline-offset: -1px;
}
@media (hover: hover) {
  .g-tile:hover { box-shadow: var(--shadow-border-hover); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .g-tile:hover .g-art { scale: 1.06; }
}
.g-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, oklch(0.18 0.04 245 / 0.72));
  font-size: 13px;
  font-weight: 500;
  color: oklch(0.97 0.01 95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.g-cap svg { width: 15px; height: 15px; stroke-width: 2; opacity: 0.8; flex: none; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-tile.wide, .g-tile.tall { grid-column: auto; grid-row: auto; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: oklch(0.15 0.03 245 / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition-property: opacity;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; transition-duration: var(--dur-med); }
.lb-fig {
  width: fit-content;
  max-width: min(920px, 100%);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid transparent;
  background: var(--surface);
  transition-property: translate, filter;
  transition-duration: var(--dur-fast); /* exit: shorter than enter */
  transition-timing-function: ease-out;
}
.lightbox.open .lb-fig { transition-duration: var(--dur-med); }
@media (prefers-reduced-motion: no-preference) {
  .lb-fig { translate: 0 12px; filter: blur(4px); }
  .lightbox.open .lb-fig { translate: 0 0; filter: blur(0px); }
}
.lb-art img {
  display: block;
  max-width: min(920px, calc(100vw - 48px));
  max-height: 68vh;
  object-fit: contain;
  background: oklch(0.18 0.03 245);
}
.lb-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}
.lb-cap b { font-family: var(--font-display); font-size: 16px; }
.lb-cap span { color: var(--text-muted); font-size: 13.5px; display: block; margin-top: 2px; }
.lb-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-border);
  border: 1px solid transparent;
  flex: none;
  transition-property: scale, background-color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.lb-close:not(:disabled):active { scale: 0.96; }
.lb-close svg { width: 18px; height: 18px; stroke-width: 2; }
@media (hover: hover) { .lb-close:hover { background: oklch(0 0 0 / 0.06); } }

/* ---------- About / locations ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-card {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid transparent;
  box-shadow: var(--shadow-border);
  background: var(--surface);
  padding: 34px;
  overflow: hidden;
}
.about-card.primary {
  background:
    radial-gradient(ellipse 120% 90% at 110% -10%, oklch(0.82 0.13 192 / 0.30), transparent 60%),
    var(--surface);
}
.about-card h3 { font-size: 24px; margin-block: 18px 10px; }
.about-card p { color: var(--text-muted); font-size: 15.5px; max-width: 46ch; }
.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua));
  color: var(--navy);
}
.about-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.about-icon.sun { background: linear-gradient(135deg, var(--sun-soft), var(--sun)); }
.about-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.about-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: var(--text-muted);
}
.about-list li svg { width: 15px; height: 15px; stroke-width: 2; color: var(--aqua-deep); flex: none; translate: 0 2px; }
.about-tag {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.55 0.14 55);
  box-shadow: 0 0 0 1px oklch(0.70 0.16 55 / 0.4);
  border: 1px solid transparent;
  transition-property: box-shadow;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
@media (hover: hover) {
  a.about-tag:hover { box-shadow: 0 0 0 1px oklch(0.70 0.16 55 / 0.7); }
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Waiver / booking ---------- */
.booking {
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, oklch(0.82 0.13 192 / 0.22), transparent 60%),
    var(--bg-mist);
  border-block: 1px solid oklch(0 0 0 / 0.07);
}
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.booking-copy { position: sticky; top: calc(var(--nav-h) + 24px); }
.booking-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.booking-steps li {
  display: flex;
  gap: 16px;
  align-items: start;
  counter-increment: step;
}
.booking-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--aqua-deep);
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  box-shadow: var(--shadow-border);
  border: 1px solid transparent;
  background: var(--surface);
}
.booking-steps b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.booking-steps span { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.form-card {
  border-radius: var(--radius-l);
  border: 1px solid transparent;
  box-shadow: var(--shadow-lift);
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px);
}
.form-card h3 { font-size: 21px; margin-bottom: 26px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: grid; gap: 8px; margin-bottom: 18px; }
.f-field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.f-field label i { font-style: normal; color: var(--sun); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  border: 1px solid oklch(0 0 0 / 0.16);
  background: oklch(0.99 0.005 95);
  transition-property: border-color, box-shadow;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none;
  border-color: var(--aqua-deep);
  box-shadow: 0 0 0 3px oklch(0.62 0.11 205 / 0.22);
}
.f-field input::placeholder { color: var(--text-faint); }
.f-field .err { font-size: 12.5px; color: var(--danger); display: none; }
.f-field.invalid input, .f-field.invalid select { border-color: var(--danger); }
.f-field.invalid .err { display: block; }
select option { background: var(--surface); color: var(--text); }

.waiver-box {
  border-radius: var(--radius-m);
  border: 1px solid oklch(0 0 0 / 0.12);
  background: oklch(0.97 0.01 200);
  padding: 20px 22px;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.waiver-box h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin: 18px 0 6px;
}
.waiver-box h4:first-child { margin-top: 0; }

.sig-wrap { margin-bottom: 20px; }
.sig-pad {
  position: relative;
  border-radius: var(--radius-m);
  border: 1px dashed oklch(0 0 0 / 0.3);
  background: oklch(0.985 0.006 200);
  overflow: hidden;
}
.sig-pad.signed { border-style: solid; border-color: oklch(0.62 0.11 205 / 0.6); }
.sig-pad.invalid { border-color: var(--danger); }
.sig-pad canvas { width: 100%; height: 160px; touch-action: none; cursor: crosshair; }
.sig-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 13px;
  pointer-events: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sig-pad.signed .sig-hint { display: none; }
.sig-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.sig-foot .err { font-size: 12.5px; color: var(--danger); display: none; }
.sig-wrap.invalid .sig-foot .err { display: block; }
.sig-clear {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  transition-property: color, background-color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.sig-clear svg { width: 14px; height: 14px; stroke-width: 2; }
@media (hover: hover) { .sig-clear:hover { color: var(--text); background: oklch(0 0 0 / 0.05); } }

.check-row {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius-m);
  background: oklch(0.97 0.01 200);
  border: 1px solid oklch(0 0 0 / 0.1);
  margin-bottom: 14px;
  cursor: pointer;
  transition-property: border-color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.check-row:has(input:checked) { border-color: oklch(0.62 0.11 205 / 0.6); }
.check-row input { margin-top: 3px; accent-color: var(--aqua-deep); width: 17px; height: 17px; flex: none; }
.check-row span { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.check-row span b { color: var(--text); font-weight: 600; }
.check-row.invalid { border-color: var(--danger); }

.form-actions { display: flex; gap: 14px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--text-faint); }
textarea { resize: vertical; min-height: 130px; }

/* Honeypot — present for bots, invisible to humans */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-err {
  display: none;
  border-radius: var(--radius-m);
  border: 1px solid var(--danger);
  background: oklch(0.95 0.04 30);
  color: oklch(0.42 0.14 30);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 20px;
}
.form-err.show { display: block; }
.sent-banner {
  border-radius: var(--radius-m);
  border: 1px solid oklch(0.62 0.11 205 / 0.5);
  background: oklch(0.90 0.10 195 / 0.5);
  color: var(--navy);
  padding: 16px 20px;
  font-size: 15px;
  margin-bottom: 22px;
}

/* Success state */
.booking-done {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.booking-done.show { display: block; }
.done-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--aqua-bright), var(--aqua));
  color: var(--navy);
}
.done-icon svg { width: 30px; height: 30px; stroke-width: 2.5; }
.booking-done h3 { margin-bottom: 8px; }
.booking-done p { color: var(--text-muted); font-size: 15px; max-width: 44ch; margin-inline: auto; }
.done-ref {
  display: inline-block;
  margin-block: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--aqua-deep);
  box-shadow: var(--shadow-border);
  border: 1px solid transparent;
  background: var(--surface);
}
.done-summary {
  text-align: left;
  border-radius: var(--radius-m);
  border: 1px solid oklch(0 0 0 / 0.1);
  padding: 18px 22px;
  margin-block: 8px 22px;
  font-size: 14px;
  display: grid;
  gap: 8px;
  background: oklch(0.97 0.01 200);
}
.done-summary div { display: flex; justify-content: space-between; gap: 16px; }
.done-summary div span { color: var(--text-faint); }
.done-summary div b { font-weight: 600; text-align: right; }

@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-copy { position: static; }
  .f-row { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.c-card {
  border-radius: var(--radius-l);
  border: 1px solid transparent;
  box-shadow: var(--shadow-border);
  background: var(--surface);
  padding: 30px;
  display: grid;
  gap: 6px;
  align-content: start;
  transition-property: box-shadow, translate;
  transition-duration: var(--dur-med);
  transition-timing-function: ease-out;
}
@media (hover: hover) {
  a.c-card:hover { box-shadow: var(--shadow-border-hover); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a.c-card:hover { translate: 0 -4px; }
}
.c-card .about-icon { margin-bottom: 16px; }
.c-card h3 { font-size: 17px; font-family: var(--font-body); font-weight: 700; }
.c-card p { font-size: 14.5px; color: var(--text-muted); }
.c-card .c-link {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--aqua-deep);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}
.c-card .c-link svg { width: 14px; height: 14px; stroke-width: 2; transition-property: translate; transition-duration: var(--dur-fast); transition-timing-function: ease-out; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { a.c-card:hover .c-link svg { translate: 3px 0; } }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid transparent;
  box-shadow: var(--shadow-lift);
  padding: clamp(48px, 8vw, 96px) 32px;
  text-align: center;
  color: oklch(0.96 0.012 235);
  background: url("../assets/sunset-lineup.jpg") center 55% / cover no-repeat var(--navy);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.18 0.04 245 / 0.45), oklch(0.16 0.04 245 / 0.72));
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(28px, 4.4vw, 46px); }
.cta-banner p {
  color: oklch(0.86 0.02 235);
  margin: 14px auto 30px;
  max-width: 48ch;
}
.cta-banner .btn-ghost { background: oklch(1 0 0 / 0.12); color: oklch(0.96 0.012 235); }
.cta-banner .btn-ghost:hover { background: oklch(1 0 0 / 0.2); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Subpage header ---------- */
.page-head { padding-top: calc(var(--nav-h) + 64px); }
.page-head .section-title { margin-top: 16px; }
.page-head .lead { color: var(--text-muted); margin-top: 14px; max-width: 62ch; font-size: 17px; }

/* ---------- Contact page ---------- */
.map-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}
.map-embed {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-border);
  border-radius: var(--radius-l);
  display: block;
}
.map-side {
  border-radius: var(--radius-l);
  border: 1px solid transparent;
  box-shadow: var(--shadow-border);
  background: var(--surface);
  padding: 30px;
  display: grid;
  gap: 22px;
  align-content: start;
}
.map-side h3 { font-size: 15px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aqua-deep); }
.map-side p { color: var(--text-muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 820px) { .map-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  padding-block: 44px;
  background: var(--navy);
  color: oklch(0.90 0.015 235);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .brand span em { color: var(--aqua-bright); }
.footer small { color: oklch(0.75 0.02 235); font-size: 13px; }
.footer small a { color: oklch(0.75 0.02 235); }
.footer .swahili { font-family: var(--font-display); font-size: 13px; color: oklch(0.85 0.02 235); letter-spacing: 0.06em; }
.footer .swahili i { font-style: normal; color: var(--sun-soft); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--aqua-bright);
  color: var(--navy);
  box-shadow: 0 12px 32px -8px oklch(0.62 0.11 205 / 0.45), var(--shadow-border);
  transition-property: scale;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.wa-float:active { scale: 0.96; }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Reveal on scroll ---------- */
/* Opacity fade runs for everyone; movement + blur join under no-preference. */
html.js [data-reveal] {
  opacity: 0;
  transition-property: opacity;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].in { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    translate: 0 12px;
    filter: blur(4px);
    transition-property: opacity, translate, filter;
    transition-duration: var(--dur-med);
  }
  html.js [data-reveal].in {
    translate: 0 0;
    filter: blur(0px);
  }
}

/* ---------- Page entrance (hero) ---------- */
.enter { animation: fade-in 300ms ease-out both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: no-preference) {
  .enter { animation-name: fade-in-up; }
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-in-up {
  from { opacity: 0; translate: 0 12px; filter: blur(4px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { display: none; }
}
