:root {
  --bg: #e8f4ef;
  --bg-deep: #0f3d3a;
  --ink: #12312e;
  --ink-soft: #3d5c57;
  --foam: #f4fbf8;
  --teal: #1a7a6d;
  --teal-bright: #2bb59e;
  --leaf: #6fbf4b;
  --sun: #f0c94d;
  --water: #5eb7c9;
  --line: rgba(18, 49, 46, 0.12);
  --shadow: 0 24px 60px rgba(15, 61, 58, 0.18);
  --radius: 1.25rem;
  --shell: min(1120px, calc(100% - 2.5rem));
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(94, 183, 201, 0.28), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(111, 191, 75, 0.18), transparent 55%),
    linear-gradient(180deg, #d9efe8 0%, var(--bg) 28%, #f2faf6 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
.hero-brand,
.logo,
.footer-brand,
.step-num {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--foam);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 248, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.site-header--over-hero {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  color: var(--foam);
}

.site-header--over-hero .nav {
  color: rgba(244, 251, 248, 0.82);
}

.site-header--over-hero .nav a:hover {
  color: var(--sun);
}

.site-header--over-hero.is-scrolled,
.site-header.is-scrolled {
  position: sticky;
  background: rgba(244, 251, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.site-header--over-hero.is-scrolled .nav {
  color: var(--ink-soft);
}

.site-header--over-hero.is-scrolled .nav a:hover {
  color: var(--teal);
}

.btn-header {
  background: rgba(244, 251, 248, 0.16);
  border: 1px solid rgba(244, 251, 248, 0.35);
  box-shadow: none;
  color: var(--foam);
}

.site-header--over-hero.is-scrolled .btn-header,
.site-header.is-scrolled .btn-header {
  background: linear-gradient(135deg, var(--teal), #14695e);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(26, 122, 109, 0.28);
  color: #f7fffc;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
}

.logo-img {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 1.35rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), #14695e);
  color: #f7fffc;
  font-weight: 700;
  border: 0;
  box-shadow: 0 10px 24px rgba(26, 122, 109, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(26, 122, 109, 0.34);
}

.btn-small {
  min-height: 2.45rem;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: rgba(244, 251, 248, 0.14);
  color: var(--foam);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  box-shadow: none;
  background: rgba(244, 251, 248, 0.24);
}

.btn-sun {
  background: linear-gradient(135deg, #f3d15a, #e3a82a);
  color: #1b2f1f;
  box-shadow: 0 12px 28px rgba(227, 168, 42, 0.35);
}

.btn-sun:hover {
  box-shadow: 0 16px 32px rgba(227, 168, 42, 0.42);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--foam);
  isolation: isolate;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6, 28, 30, 0.88) 0%,
      rgba(6, 28, 30, 0.62) 38%,
      rgba(6, 28, 30, 0.18) 68%,
      rgba(6, 28, 30, 0.45) 100%
    ),
    linear-gradient(180deg, rgba(6, 28, 30, 0.35) 0%, transparent 28%, rgba(6, 28, 30, 0.55) 100%);
}

.hero-glow {
  position: absolute;
  inset: 10% 5% auto 45%;
  height: 55%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(240, 201, 77, 0.28), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(43, 181, 158, 0.22), transparent 50%);
  filter: blur(8px);
  animation: glowDrift 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-mist {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(10, 42, 44, 0.55));
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 6.5rem;
  max-width: 40rem;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.25rem);
  margin-right: auto;
  width: min(40rem, calc(100% - 2.5rem));
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #fff8dc;
  text-shadow:
    0 2px 0 rgba(15, 61, 58, 0.25),
    0 18px 50px rgba(0, 0, 0, 0.45);
  animation: brandIn 0.95s ease both;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  max-width: 16ch;
  color: rgba(244, 251, 248, 0.96);
  animation: riseIn 0.9s 0.08s ease both;
}

.hero-lead {
  margin: 1.15rem 0 0;
  font-size: 1.08rem;
  color: rgba(244, 251, 248, 0.86);
  max-width: 36ch;
  animation: riseIn 0.9s 0.16s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.85rem;
  animation: riseIn 0.9s 0.24s ease both;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 251, 248, 0.72);
  animation: riseIn 1s 0.5s ease both;
}

.hero-scroll span {
  width: 1.35rem;
  height: 2.1rem;
  border: 1.5px solid rgba(244, 251, 248, 0.55);
  border-radius: 999px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--sun);
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.copy h2,
.cta-inner h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
}

.section-head p,
.copy p,
.why-item p,
.faq-list p,
.cta-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.copy p + p {
  margin-top: 1rem;
}

.media-frame {
  margin: 0;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-deep);
}

.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  counter-reset: none;
}

.steps li {
  padding-top: 0.25rem;
  border-top: 2px solid var(--teal-bright);
}

.step-num {
  display: block;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.steps h3,
.why-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 750;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.platform-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.platform-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.platform-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.platform-list span {
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.6s ease;
}

.gallery-item.tall img {
  min-height: 100%;
  aspect-ratio: 9 / 16;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 61, 58, 0.72);
  color: var(--foam);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-item {
  padding: 0.25rem 0 0;
  border-top: 2px solid rgba(26, 122, 109, 0.35);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--teal);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin-top: 0.7rem;
}

.cta-band {
  padding-top: 2rem;
}

.cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 1.75rem 1.75rem 1.25rem;
  border-radius: calc(var(--radius) + 0.4rem);
  background:
    linear-gradient(135deg, rgba(26, 122, 109, 0.12), rgba(94, 183, 201, 0.16)),
    var(--foam);
  border: 1px solid var(--line);
}

.cta-mascot {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 28px;
  animation: frogBob 3.4s ease-in-out infinite;
}

.site-footer {
  padding: 3rem 0 2.5rem;
  color: var(--ink-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-note {
  margin: 0;
  max-width: 38rem;
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.8%, -1.2%, 0);
  }
}

@keyframes glowDrift {
  from {
    opacity: 0.55;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0.95;
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  55% {
    opacity: 0.2;
    transform: translateX(-50%) translateY(0.85rem);
  }
}

@keyframes frogBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .split,
  .split.reverse,
  .steps,
  .why-grid,
  .cta-inner,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.tall {
    grid-row: auto;
  }

  .gallery-item.tall img {
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }

  .hero-panel {
    padding: 6.5rem 0 5.5rem;
  }

  .platform-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .cta-inner {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .header-inner .btn-small {
    display: none;
  }

  .hero-panel {
    padding-top: 6rem;
    padding-bottom: 5.5rem;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

/* Legal / utility pages */
.legal-body {
  min-height: 100vh;
}

.legal-main {
  padding: 5.5rem 0 3rem;
}

.legal-eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.legal-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.legal-main h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.legal-main p,
.legal-main li {
  color: var(--ink-soft);
}

.legal-main a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-updated {
  margin: 0 0 1.5rem !important;
  font-size: 0.95rem !important;
}

.legal-main ul {
  padding-left: 1.2rem;
}

.legal-main li + li {
  margin-top: 0.45rem;
}

.contact-card {
  margin: 1.75rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(244, 251, 248, 0.8);
}

.contact-card h2 {
  margin-top: 0;
}
