/* Blue Current — IMMERSIVE tier ($4,000)
   Live WebGL scene behind the whole page: caustic shader, drifting
   particles, a 3D turtle, scroll-driven camera. Content floats over it. */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --void: #02090e;
  --deep: #062430;
  --aqua: #46e0d2;
  --glow: #7ef0e6;
  --coral: #ff7a63;
  --text: #e8f6f8;
  --muted: #8fb3bd;
  --line: rgba(120, 220, 220, 0.16);
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--aqua) var(--void); }

body {
  background: var(--void); color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.75; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Outfit", system-ui, sans-serif; font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--aqua); }

/* ---------- the 3D layer ---------- */
#scene {
  position: fixed; top: 0; left: 0; z-index: 0;
  /* lvh: sized to the toolbar-collapsed viewport, so iOS toolbar
     show/hide never changes the canvas (each change forced a WebGL
     buffer rebuild mid-scroll = the mobile stutter) */
  width: 100vw; height: 100vh; height: 100lvh; display: block;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(2,9,14,.72) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.noscene {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #04141c, #062430 50%, #0a3f4e);
}

main, .site-header, .site-footer { position: relative; z-index: 3; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--void); transition: opacity .9s ease, visibility .9s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-bar { width: 190px; height: 2px; background: rgba(255,255,255,.12); margin: 18px auto 0; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--aqua); transition: width .4s ease; }
.loader p { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .4s ease; }
.site-header.solid { background: rgba(2,9,14,.6); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.logo-badge {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(140deg, var(--aqua), var(--deep));
  display: grid; place-items: center;
}
.logo-badge svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-family: "Outfit", sans-serif; font-size: 16.5px; }
.logo-text span { font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--aqua); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font-size: 14.5px; font-weight: 600; cursor: pointer; border: 0; font-family: inherit;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .2s ease;
}
.btn-aqua { background: var(--aqua); color: #032027; box-shadow: 0 0 26px rgba(70,224,210,.4); }
.btn-aqua:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(70,224,210,.6); }
.btn-line { border: 1.5px solid var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--aqua); background: rgba(70,224,210,.1); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; position: relative; }
/* The school enters on the left, behind the copy. Just enough scrim to
   hold the headline legible without hiding the fish. */
/* fixed to the viewport and faded out by scroll (JS sets --scrim), so the
   darkening dissolves in place instead of sliding away with the hero */
.hero::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(2,9,14,.60) 0%, rgba(2,9,14,.32) 40%, transparent 66%);
  opacity: var(--scrim, 1);
}
/* longhand only: shorthand padding would wipe .wrap's side padding */
.hero-inner { padding-top: 120px; padding-bottom: 90px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 9vw, 118px); max-width: 12ch; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--aqua); text-shadow: 0 0 40px rgba(70,224,210,.45); }
.hero .lead { font-size: clamp(16px, 1.9vw, 20px); color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  text-align: center; z-index: 5;
}
.hint i { display: block; width: 1px; height: 42px; margin: 0 auto 9px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.hint i::after { content: ""; position: absolute; inset: 0; background: var(--aqua); animation: drop 2.2s ease-in-out infinite; }
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- panels float over the 3D ---------- */
section.pad { padding: clamp(80px, 12vw, 150px) 0; }
.panel {
  background: rgba(4, 20, 27, .62);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.section-head { max-width: 60ch; margin-bottom: clamp(30px, 4vw, 46px); }
.section-head h2 { font-size: clamp(30px, 5vw, 58px); margin: 14px 0 14px; }
.section-head h2 em { font-style: normal; color: var(--aqua); }
.section-head p { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.tile { border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; background: rgba(70,224,210,.04); transition: border-color .3s ease, transform .3s ease, background .3s ease; }
.tile:hover { border-color: var(--aqua); transform: translateY(-4px); background: rgba(70,224,210,.09); }
.tile h3 { font-size: 19px; margin-bottom: 8px; }
.tile p { font-size: 14.5px; color: var(--muted); }
.tile .price { display: block; margin-top: 14px; font-weight: 700; color: var(--coral); }

.depths { display: grid; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.depth { background: rgba(4,20,27,.8); padding: 22px clamp(18px,3vw,30px); display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; transition: background .3s ease; }
.depth:hover { background: rgba(70,224,210,.09); }
.depth b { font-family: "Outfit", sans-serif; font-size: clamp(22px,3vw,32px); color: var(--aqua); letter-spacing: -0.02em; }
.depth h3 { font-size: 17px; margin-bottom: 3px; }
.depth p { font-size: 14px; color: var(--muted); }
.depth span { font-size: 13.5px; color: var(--coral); font-weight: 600; white-space: nowrap; }

/* ---------- rates ---------- */
.rates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(22px, 3vw, 34px); border-top: 1px solid var(--line); }
.rates h3 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aqua); margin-bottom: 13px; }
.rates ul { list-style: none; }
.rates li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; font-size: 14.5px; }
.rates li span { order: 1; }
.rates li em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.rates li::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.rates li b { order: 3; font-weight: 700; color: var(--coral); white-space: nowrap; }
@media (max-width: 720px) { .rates { grid-template-columns: 1fr; } }

/* ---------- crew ---------- */
.crew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.crew-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; background: rgba(70,224,210,.04); transition: border-color .3s ease, transform .3s ease, background .3s ease; }
.crew-card:hover { border-color: var(--aqua); transform: translateY(-4px); background: rgba(70,224,210,.09); }
.crew-avatar {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--glow), var(--deep) 75%);
  box-shadow: 0 0 18px rgba(70,224,210,.35);
  color: #04222a; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 17px;
  margin-bottom: 14px;
}
.crew-card h3 { font-size: 17px; }
.crew-role { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin: 4px 0 8px; }
.crew-card p:not(.crew-role) { font-size: 13.5px; color: var(--muted); }

/* ---------- quotes ---------- */
.quotes-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 24px; }
.quotes-stack blockquote { border-left: 2px solid var(--aqua); padding-left: 20px; }
.quotes-stack p { font-family: "Outfit", sans-serif; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.45; font-weight: 500; }
.quotes-stack cite { display: block; margin-top: 12px; font-style: normal; font-size: 13.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: clamp(15.5px, 1.8vw, 18px);
  padding: 19px 40px 19px 0; color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 23px; font-weight: 300; color: var(--aqua); transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 19px; color: var(--muted); font-size: 14.5px; max-width: 68ch; }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(32px, 6vw, 72px); margin-bottom: 18px; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 0 auto 30px; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-footer a { color: var(--aqua); }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .3s; }

@media (max-width: 860px) {
  /* live blur over a WebGL canvas is too expensive on phone GPUs */
  .panel { backdrop-filter: none; background: rgba(3, 16, 22, .92); }
  .depth { grid-template-columns: 64px 1fr; }
  .depth span { grid-column: 2; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(2,9,14,.96); padding: 8px 22px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .stagger > * { opacity: 1; transform: none; transition: none; }
  .hint i::after { animation: none; }
}
