:root {
  --brand: #0b6e4f;
  --brand-deep: #084c37;
  --accent: #ff6b3d;
  --sky: #dff3f0;
  --paper: #f7faf8;
  --ink: #14231c;
  --muted: #5a6b62;
  --line: #d5e3dc;
  --panel: #ffffff;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font: "Figtree", "Segoe UI", sans-serif;
  --max: 70rem;
  --header-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 92% -8%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    radial-gradient(1100px 520px at -8% 8%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--brand-deep);
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, #000);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  color: var(--brand);
}

.hero {
  padding: 2.75rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
  }
}

.hero-copy {
  animation: rise-in 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--brand);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  max-width: 18ch;
}

.lede {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.circle-play {
  --orbit-r: 38cqmin;
  --shot-size: clamp(5.5rem, 18cqmin, 7.75rem);
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: size;
  animation: rise-in 750ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.circle-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin-slow 48s linear infinite;
}

.orbit-dot {
  transform-origin: 260px 260px;
}

.circle-core {
  position: absolute;
  inset: 50%;
  width: clamp(7.5rem, 28cqmin, 9.5rem);
  height: clamp(7.5rem, 28cqmin, 9.5rem);
  transform: translate(-50%, -50%);
  z-index: 3;
  filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--brand-deep) 28%, transparent));
}

.core-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.orbit-shot {
  --angle: calc(var(--i) * 90deg - 18deg);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: var(--shot-size);
  height: var(--shot-size);
  margin: 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  background: var(--panel);
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent),
    0 12px 28px color-mix(in srgb, var(--brand-deep) 18%, transparent);
  transform:
    translate(-50%, -50%)
    translate(
      calc(cos(var(--angle)) * var(--orbit-r)),
      calc(sin(var(--angle)) * var(--orbit-r))
    );
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.orbit-shot:hover,
.orbit-shot:focus-visible {
  z-index: 4;
  outline: none;
  transform:
    translate(-50%, -50%)
    translate(
      calc(cos(var(--angle)) * var(--orbit-r)),
      calc(sin(var(--angle)) * var(--orbit-r))
    )
    scale(1.08);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent),
    0 16px 32px color-mix(in srgb, var(--brand-deep) 22%, transparent);
}

.orbit-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.section {
  padding: 3.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-tint {
  background: color-mix(in srgb, var(--sky) 65%, var(--paper));
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2,
.feature h3,
.reason-grid h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--brand-deep);
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem 1.75rem;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--brand-deep);
}

.feature p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.shot-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .shot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

.shot {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
  appearance: none;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.shot:hover,
.shot:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-deep) 12%, transparent);
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top left;
  background: #f3f6f5;
  pointer-events: none;
}

.shot:nth-child(1) img {
  aspect-ratio: 1211 / 971;
}

.shot:nth-child(2) img {
  aspect-ratio: 1248 / 883;
}

.shot:nth-child(3) img {
  aspect-ratio: 1181 / 696;
}

.shot-caption {
  display: block;
  margin: 0;
  padding: 0.7rem 0.95rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.gallery {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
}

.gallery::backdrop {
  background: color-mix(in srgb, #04150f 78%, transparent);
  backdrop-filter: blur(6px);
}

.gallery-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 3.5rem 3.25rem 2.5rem;
  box-sizing: border-box;
}

.gallery-frame {
  margin: 0;
  width: min(100%, 68rem);
  max-height: calc(100dvh - 6rem);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.75rem;
}

.gallery-frame img {
  width: 100%;
  max-height: calc(100dvh - 8rem);
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #0d1f18;
  box-shadow: 0 20px 50px color-mix(in srgb, #000 35%, transparent);
}

.gallery-frame figcaption {
  text-align: center;
  color: #f4faf7;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.gallery-close,
.gallery-nav {
  appearance: none;
  border: 1px solid color-mix(in srgb, #fff 28%, transparent);
  background: color-mix(in srgb, #0b6e4f 70%, #000);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-prev {
  left: 0.75rem;
}

.gallery-next {
  right: 0.75rem;
}

.gallery-close:hover,
.gallery-nav:hover,
.gallery-close:focus-visible,
.gallery-nav:focus-visible {
  outline: none;
  background: var(--accent);
  border-color: transparent;
}

@media (max-width: 640px) {
  .gallery-shell {
    padding: 3.25rem 0.75rem 1.5rem;
  }

  .gallery-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .gallery-prev {
    left: calc(50% - 4.5rem);
  }

  .gallery-next {
    right: calc(50% - 4.5rem);
  }
}

.reason-grid {
  display: grid;
  gap: 1.5rem 1.75rem;
}

@media (min-width: 700px) {
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.reason-grid h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--brand-deep);
}

.reason-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--brand);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .btn:hover {
    transform: none;
  }

  .hero-copy,
  .circle-play,
  .circle-rings {
    animation: none;
  }
}
