:root {
  --bg: #1A2332;
  --bg-light: #243044;
  --water: #4FC3F7;
  --warning: #FFD54F;
  --snow: #FFFFFF;
  --mist: #B8C5D6;
  --shallow: #81C784;
  --ankle: #FFB74D;
  --deep: #EF5350;
  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(155deg, var(--bg) 0%, #121A26 55%, #0f1520 100%);
  color: var(--snow);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--water); }

.rain-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(105deg, transparent 40%, rgba(79, 195, 247, 0.04) 50%, transparent 60%),
    repeating-linear-gradient(
      112deg,
      transparent,
      transparent 80px,
      rgba(79, 195, 247, 0.03) 80px,
      rgba(79, 195, 247, 0.03) 81px
    );
  z-index: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(26, 35, 50, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--snow);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  border-radius: 8px;
}

.topbar-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-links a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.topbar-links a:hover { color: var(--water); }

main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.hero-scan {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 48px 0 32px;
  align-items: start;
}

.depth-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
}

.depth-rail-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  margin-bottom: 8px;
}

.depth-step {
  flex: 1;
  min-height: 52px;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1A2332;
}

.depth-step.shallow { background: var(--shallow); }
.depth-step.ankle { background: var(--ankle); }
.depth-step.knee { background: var(--ankle); opacity: 0.85; }
.depth-step.deep { background: var(--deep); color: #fff; }

.hero-kicker {
  color: var(--water);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hero-scan h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-tag {
  font-size: 1.15rem;
  color: var(--mist);
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(26, 35, 50, 0.9));
  font-size: 0.85rem;
  color: var(--mist);
}

.depth-legend-band {
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 48px;
  text-align: center;
  color: var(--mist);
}

.field-reports h2,
.pin-samples h2,
.about-band h2,
.legal-block h2 {
  font-size: 1.6rem;
  margin: 0 0 24px;
}

.report-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 24px;
  margin-bottom: 16px;
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left-width: 5px;
}

.report-row.shallow-border { border-left-color: var(--shallow); }
.report-row.ankle-border { border-left-color: var(--ankle); }
.report-row.deep-border { border-left-color: var(--deep); }

.report-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: 4px;
}

.report-icon.shallow-dot { background: var(--shallow); box-shadow: 0 0 0 6px rgba(129, 199, 132, 0.25); }
.report-icon.ankle-dot { background: var(--ankle); box-shadow: 0 0 0 6px rgba(255, 183, 77, 0.25); }
.report-icon.deep-dot { background: var(--deep); box-shadow: 0 0 0 6px rgba(239, 83, 80, 0.25); }

.report-row h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--water);
}

.report-row p {
  margin: 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.pin-samples {
  margin: 56px 0;
}

.pin-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.pin-scroll figure {
  flex: 0 0 220px;
  margin: 0;
  scroll-snap-align: start;
}

.pin-scroll img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.pin-scroll figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--mist);
  margin-top: 8px;
}

.about-band {
  background: rgba(255, 213, 79, 0.08);
  border: 1px solid rgba(255, 213, 79, 0.2);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.about-band p {
  margin: 0;
  color: var(--mist);
  max-width: 680px;
}

.legal-block {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-block h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
  color: var(--water);
}

.legal-block p {
  color: var(--mist);
  margin: 0 0 12px;
}

.site-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px 48px;
  color: var(--mist);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-foot a { color: var(--water); text-decoration: none; }

@media (max-width: 720px) {
  .hero-scan {
    grid-template-columns: 1fr;
  }

  .depth-rail {
    flex-direction: row;
    order: -1;
  }

  .depth-rail-label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .depth-step {
    min-height: 36px;
    flex: 1;
    border-radius: 6px;
  }

  .depth-step span { font-size: 0.55rem; }

  .topbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
