/* Sharkey Builds
   Atkinson Hyperlegible © 2020 Braille Institute of America.
   Newsreader © 2020 The Newsreader Project Authors.
   Both are used under the SIL Open Font License.
   See fonts/OFL-Atkinson.txt and fonts/OFL-Newsreader.txt. */

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-400.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-700.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader.woff2") format("woff2");
}

/* Metric-matched fallback so the swap to Newsreader doesn't shift the hero (CLS). */
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia");
  size-adjust: 96%;
  ascent-override: 92%;
  descent-override: 26%;
}

:root {
  --ink: #e9f3f6;
  --ink-2: #b6ccd5;
  --ink-3: #8aa6b3;
  --aqua: #7fd6f0;
  --aqua-soft: rgba(127, 214, 240, 0.16);
  --focus: #a8ecff;
  --line: rgba(170, 215, 232, 0.14);
  --line-2: rgba(170, 215, 232, 0.24);
  --abyss: #01070c;
  --serif: "Newsreader", "Newsreader Fallback", "Iowan Old Style", Georgia, serif;
  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --surface-band: clamp(44px, 7.5vh, 80px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  color-scheme: dark;
}

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

html {
  background: var(--abyss);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: #24414f var(--abyss);
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

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

svg {
  display: block;
}

h1,
h2,
h3,
.price {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 380;
  letter-spacing: -0.025em;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  text-wrap: balance;
}

::selection {
  background: rgba(127, 214, 240, 0.85);
  color: #021018;
}

:focus {
  outline: none;
}

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

[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
  outline: none;
}

.skip {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 50;
  transform: translateY(-180%);
  background: var(--ink);
  color: #021018;
  padding: 0.65rem 0.95rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out);
}

.skip:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ───────────────────────── The ocean ───────────────────────── */

.ocean {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: max(100%, 100lvh);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.ocean-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 30% -8%, rgba(95, 190, 215, 0.35), transparent 60%),
    linear-gradient(180deg, #0c4257 0%, #083246 9%, #06283a 22%, #041a28 48%, #020d16 75%, #01070c 100%);
  transition: filter 0.6s linear;
}

.fb-surface {
  opacity: calc(1 - var(--depth, 0) * 6);
  position: absolute;
  inset: 0 0 auto;
  height: var(--surface-band);
  background:
    linear-gradient(180deg, rgba(150, 220, 236, 0.5), rgba(70, 160, 190, 0.25) 70%, rgba(170, 235, 250, 0.55) 96%, transparent 100%);
}

.fb-rays,
.fb-snow {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.no-webgl .fb-rays {
  opacity: 1;
  inset: -20% -40% 0;
  background:
    repeating-conic-gradient(from 168deg at 32% -12%, rgba(140, 215, 235, 0.07) 0deg 2.2deg, transparent 2.2deg 5.5deg, rgba(140, 215, 235, 0.04) 5.5deg 6.4deg, transparent 6.4deg 11deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 70%);
  animation: fb-sway 14s ease-in-out infinite alternate;
  transform-origin: 32% 0;
}

.no-webgl .fb-snow {
  opacity: 0.55;
  inset: -50% 0 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(190, 230, 240, 0.7), transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(190, 230, 240, 0.6), transparent),
    radial-gradient(2px 2px at 60px 150px, rgba(190, 230, 240, 0.45), transparent),
    radial-gradient(1px 1px at 170px 190px, rgba(190, 230, 240, 0.6), transparent);
  background-size: 200px 220px;
  animation: fb-snow 40s linear infinite;
}

@keyframes fb-sway {
  to { transform: rotate(4deg); }
}

@keyframes fb-snow {
  to { transform: translateY(220px); }
}

.ocean-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.gl-ready .ocean-gl {
  opacity: 1;
}

.ocean-life {
  position: absolute;
  inset: 0;
}

/* Rare distant shark. Positioned & animated by js/life.js */
.ghost-shark {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w, 220px);
  height: auto;
  color: #010509;
  filter: blur(var(--blur, 3px));
  opacity: 0;
  will-change: transform, opacity;
}

.ghost-shark .gs-tail {
  transform-box: fill-box;
  transform-origin: 100% 50%;
  animation: gs-tail 1.6s ease-in-out infinite alternate;
}

.ghost-shark .gs-body {
  transform-box: fill-box;
  transform-origin: 40% 50%;
  animation: gs-body 1.6s ease-in-out infinite alternate;
}

@keyframes gs-tail {
  from { transform: rotate(-9deg); }
  to { transform: rotate(9deg); }
}

@keyframes gs-body {
  from { transform: rotate(-1.2deg); }
  to { transform: rotate(1.2deg); }
}

/* ───────────────────────── Header ───────────────────────── */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-top: calc(var(--surface-band) + 6px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(170, 225, 245, 0.14), 0 8px 18px -8px rgba(0, 0, 0, 0.8);
  transition: transform 0.6s var(--ease-spring), filter 0.4s;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-4deg);
  filter: brightness(1.18) contrast(1.05);
}

.brand-name {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 20, 30, 0.6);
}

.brand-name i {
  font-style: normal;
  color: var(--aqua);
}

.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header nav a,
.text-link,
.surface-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 20, 30, 0.55);
  transition: color 0.3s;
}

/* Wave underline that "flows" in from the left on hover */
.site-header nav a::after,
.text-link::after,
.surface-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='5' viewBox='0 0 20 5'%3E%3Cpath d='M0 2.5c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5 2 5 2 2.5-2 5-2' fill='none' stroke='%237fd6f0' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x 0 50% / 20px 5px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.45s var(--ease-out);
}

.site-header nav a:hover::after,
.text-link:hover::after,
.surface-link:hover::after,
.site-header nav a:focus-visible::after,
.text-link:focus-visible::after,
.surface-link:focus-visible::after {
  clip-path: inset(0 0 0 0);
  animation: wave-flow 1.2s linear infinite;
}

@keyframes wave-flow {
  to { background-position: -20px 50%; }
}

.site-header nav a:active,
.text-link:active,
.surface-link:active {
  color: var(--aqua);
}

/* ───────────────────────── Hero ───────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--surface-band) + 110px) 0 120px;
  overflow: clip;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-fish {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua));
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 7.2vw + 0.4rem, 6.6rem);
  font-weight: 330;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.h1-line {
  display: block;
}

.h1-line:first-child {
  color: var(--ink-2);
  font-weight: 280;
}

.h1-line + .h1-line {
  margin-top: 0.06em;
  background: linear-gradient(180deg, #ffffff 20%, #bfe6f2 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.js .h1-line {
  animation: rise-in 1.4s var(--ease-out) both;
}

.js .h1-line + .h1-line {
  animation-delay: 0.08s;
}

@keyframes rise-in {
  from { transform: translateY(0.35em); }
}

.lede {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  color: var(--ink-2);
  font-size: clamp(1.06rem, 0.4vw + 1rem, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: 2.25rem;
}

.dive-cue {
  position: absolute;
  left: 50%;
  bottom: calc(26px + var(--safe-b));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transform: translateX(-50%);
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding-left: 0.3em;
}

.dive-cue i {
  position: relative;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(138, 166, 179, 0.6), transparent);
  overflow: hidden;
}

.dive-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--aqua);
  animation: dive 2.6s var(--ease-out) infinite;
}

@keyframes dive {
  to { top: 110%; }
}

/* ───────────────────────── Gunmetal buttons ─────────────────────────
   Horizontally brushed metal. Brushed metal reflects anisotropically, so
   the specular is a tall, narrow streak (perpendicular to the grain)
   that slides with the cursor or the phone's tilt via --hx / --hy. */

.button {
  --hx: 50%;
  --hy: 35%;
  --spec: 0.26;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.45rem 0.8rem 1.6rem;
  border-radius: 999px;
  color: #eef4f7;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  background:
    radial-gradient(16% 150% at var(--hx) var(--hy), rgba(255, 255, 255, var(--spec)), rgba(255, 255, 255, 0) 100%),
    radial-gradient(55% 120% at var(--hx) 0%, rgba(210, 232, 240, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 44%, rgba(0, 0, 0, 0.16) 56%, rgba(0, 0, 0, 0.3) 100%),
    url("images/brushed.webp") center / cover,
    linear-gradient(180deg, #626d75 0%, #47515a 46%, #343c43 54%, #3d464d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 1px 1px rgba(0, 0, 0, 0.4),
    0 14px 28px -14px rgba(0, 0, 0, 0.85);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    filter 0.35s var(--ease-out);
}

/* Fine metallic grain: a second, offset stripe set at a different pitch so the
   brushing never looks like a regular pattern. */
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: repeating-linear-gradient(178.6deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px, rgba(0, 0, 0, 0.04) 5px 6px, transparent 6px 11px);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Soft halo, only on hover/focus */
.button::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(127, 214, 240, 0), 0 0 28px -4px rgba(127, 214, 240, 0);
  transition: box-shadow 0.45s var(--ease-out);
  pointer-events: none;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: 0.85;
  transition: transform 0.45s var(--ease-spring);
}

.button:hover {
  --spec: 0.36;
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.button:hover::after,
.button:focus-visible::after {
  box-shadow: 0 0 0 1px rgba(127, 214, 240, 0.18), 0 0 30px -6px rgba(127, 214, 240, 0.35);
}

.button:hover .button-icon {
  transform: translateX(3px);
}

.hero .button:hover .button-icon {
  transform: translateY(3px);
}

.button:active {
  --spec: 0.16;
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.94);
  transition-duration: 0.08s;
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 6px 14px -10px rgba(0, 0, 0, 0.9);
}

.button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 999px;
}

.text-link {
  font-size: 1rem;
  color: var(--ink-2);
}

.text-link:hover {
  color: var(--ink);
}

/* ───────────────────────── Sections ───────────────────────── */

.section {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0;
  scroll-margin-top: 0.5rem;
}

.depth-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.depth-tag::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 3.6vw + 1rem, 3.9rem);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--ink-2);
  font-size: 1.08rem;
}

/* Scroll reveal (only when JS runs, never on the hero, so LCP is untouched) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}

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

/* ───────────────────────── Offers ───────────────────────── */

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.offer {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem 1.45rem 1.5rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(20, 62, 80, 0.5) 0%, rgba(6, 24, 35, 0.62) 55%, rgba(3, 13, 21, 0.72) 100%);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(190, 235, 250, 0.07),
    0 40px 70px -40px rgba(0, 0, 0, 0.75);
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}

/* caustic spotlight that follows the pointer */
.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(127, 214, 240, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

/* rim light on the border near the pointer */
.offer::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(170, 235, 252, 0.55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.offer:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow:
    inset 0 1px 0 rgba(190, 235, 250, 0.1),
    0 50px 80px -40px rgba(0, 0, 0, 0.85);
}

.offer:hover::before,
.offer:hover::after,
.offer:focus-within::after {
  opacity: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--aqua);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px 1px rgba(127, 214, 240, 0.55);
}

.offer h3 {
  margin: 0.85rem 0 0;
  font-size: 1.62rem;
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.price {
  margin: 1.1rem 0 0.6rem;
  font-size: clamp(3rem, 3.4vw + 1.4rem, 3.9rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums tabular-nums;
}

.price .cur {
  display: inline-block;
  margin-right: 0.04em;
  font-size: 0.5em;
  vertical-align: 0.62em;
  color: var(--ink-3);
  letter-spacing: 0;
}

.offer-body {
  margin: 0 0 1.6rem;
  color: var(--ink-2);
}

.offer .button {
  width: 100%;
  margin-top: auto;
}

.fine-print {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.fine-print svg {
  width: 15px;
  height: 15px;
}

/* ───────────────────────── Work ───────────────────────── */

.work-feature {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: center;
}

.work-feature figure {
  margin: 0;
}

.shot-link {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: #161318;
  box-shadow:
    0 0 0 1px var(--line),
    0 50px 90px -40px rgba(0, 0, 0, 0.9);
  transform: translateZ(0);
  transition: transform 0.7s var(--ease-out), box-shadow 0.5s;
}

.shot-link img {
  width: 100%;
  transition: transform 1.2s var(--ease-out), filter 0.8s;
  filter: saturate(0.92) brightness(0.92);
}

/* caustic light dancing across the screenshot on hover */
.shot-caustics {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 18% at 30% 30%, rgba(160, 230, 250, 0.12), transparent 70%),
    radial-gradient(30% 14% at 70% 60%, rgba(160, 230, 250, 0.1), transparent 70%),
    radial-gradient(35% 12% at 45% 85%, rgba(160, 230, 250, 0.08), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}

.shot-link:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px var(--line-2),
    0 60px 100px -40px rgba(0, 0, 0, 0.95);
}

.shot-link:hover img {
  transform: scale(1.025);
  filter: saturate(1) brightness(1);
}

.shot-link:hover .shot-caustics {
  opacity: 1;
  animation: caustic-drift 6s ease-in-out infinite alternate;
}

@keyframes caustic-drift {
  to { transform: translate(6%, -4%) rotate(4deg) scale(1.06); }
}

.shot-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  border-radius: 22px;
}

.work-copy h3,
.work-panel h3 {
  margin: 0;
  font-size: clamp(1.8rem, 1.4vw + 1.3rem, 2.4rem);
  font-weight: 380;
  line-height: 1.1;
}

.work-copy p,
.work-panel p {
  margin: 0.8rem 0 0;
  color: var(--ink-2);
  max-width: 34rem;
}

.work-copy a,
.work-panel a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: rgba(127, 214, 240, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.3s, color 0.3s;
}

.work-copy a:hover,
.work-panel a:hover {
  color: var(--aqua);
  text-decoration-color: var(--aqua);
}

.work-panel {
  position: relative;
  margin-top: 1.25rem;
  padding: 1.6rem 1.45rem 1.7rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(14, 44, 58, 0.55), rgba(3, 12, 19, 0.7));
  border: 1px solid var(--line);
  overflow: hidden;
}

/* a slow scanning line: "the pipeline is running" */
.work-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(127, 214, 240, 0.05), transparent);
  animation: scan 7s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  to { left: 130%; }
}

/* ───────────────────────── How it works ───────────────────────── */

.how-lede {
  margin-top: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-2);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  display: block;
  margin-bottom: 0.55rem;
  color: var(--aqua);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* a bead of light runs along each step's rule when it scrolls in */
.steps li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
  opacity: 0;
}

.steps li.in::after {
  animation: bead 2.2s var(--ease-out) var(--d, 0s) both;
}

@keyframes bead {
  0% { opacity: 0; transform: translateX(0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateX(min(300px, 70vw)); }
}

.steps h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

/* ───────────────────────── Footer ───────────────────────── */

.site-footer {
  position: relative;
  z-index: 2;
  padding: 3rem 0 calc(5.5rem + var(--safe-b));
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.92rem;
}

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

.site-footer p {
  margin: 0;
}

.surface-link {
  gap: 0.45rem;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.surface-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.45s var(--ease-spring);
}

.surface-link:hover svg {
  transform: translateY(-3px);
}

.signature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  overflow: hidden;
}

.signature svg {
  width: 22px;
  height: 11px;
  color: var(--aqua);
  opacity: 0.8;
  transition: transform 1.6s var(--ease-out);
}

.signature:hover svg {
  transform: translateX(-4px);
  animation: fin-cruise 1.6s var(--ease-out);
}

@keyframes fin-cruise {
  0% { transform: translateX(0); }
  45% { transform: translateX(160px); opacity: 0; }
  46% { transform: translateX(-60px); opacity: 0; }
  100% { transform: translateX(0); opacity: 0.8; }
}

/* ───────────────────────── HUD: depth gauge + sound ───────────────────────── */

.hud {
  display: none;
  position: fixed;
  left: calc(14px + var(--safe-l));
  bottom: calc(18px + var(--safe-b));
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s;
}

.scrolled .hud {
  opacity: 1;
}

.depth-meter {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.dm-track {
  position: relative;
  width: 2px;
  height: 40px;
  border-radius: 2px;
  background: rgba(170, 215, 232, 0.14);
  overflow: hidden;
}

.dm-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--aqua), rgba(127, 214, 240, 0.2));
  transform-origin: top;
  transform: scaleY(var(--depth, 0));
}

.dm-val {
  min-width: 2.2em;
  text-align: right;
  color: var(--ink-2);
}

.sound-toggle {
  position: fixed;
  right: calc(14px + var(--safe-r));
  bottom: calc(14px + var(--safe-b));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink-2);
  cursor: pointer;
  touch-action: manipulation;
  background:
    radial-gradient(70% 70% at 35% 25%, rgba(255, 255, 255, 0.12), transparent 70%),
    rgba(6, 22, 32, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(170, 215, 232, 0.16),
    0 10px 24px -10px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease-out), color 0.3s, box-shadow 0.35s;
}

.sound-toggle svg {
  width: 26px;
  height: 16px;
  overflow: visible;
}

.st-wave {
  transition: d 0.6s var(--ease-out);
}

.sound-toggle[aria-pressed="true"] {
  color: var(--aqua);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(127, 214, 240, 0.35),
    0 0 22px -6px rgba(127, 214, 240, 0.5),
    0 10px 24px -10px rgba(0, 0, 0, 0.8);
}

.sound-toggle:hover {
  transform: translateY(-2px);
  color: var(--ink);
}

.sound-toggle:active {
  transform: scale(0.94);
  transition-duration: 0.08s;
}

.sound-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 50%;
}

.sound-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background: rgba(6, 22, 32, 0.85);
  box-shadow: 0 0 0 1px rgba(170, 215, 232, 0.14);
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(6px, -50%);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
  pointer-events: none;
}

.sound-toggle:hover .sound-tip,
.sound-toggle:focus-visible .sound-tip,
.sound-toggle.flash .sound-tip {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ───────────────────────── Shark stage (js/shark.js) ───────────────────────── */

.shark-stage {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}

.shark-stage > * {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.shark-vignette {
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--bx, 50%) var(--by, 50%), rgba(0, 6, 10, 0) 0, rgba(0, 6, 10, 0.12) 16%, rgba(0, 5, 9, 0.7) 75%);
  opacity: 0;
}

.shark-svg {
  overflow: visible;
  will-change: transform, opacity;
}

.shark-blur {
  filter: blur(var(--sb, 9px)) brightness(0.7);
}

.shark-sharp {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.2) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.2) 100%);
}

.bite-clone {
  margin: 0;
  transition: none !important;
  animation: none !important;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform, clip-path;
}

.bite-clone.button:hover {
  transform: none;
}

.shark-bubbles {
  inset: 0;
  width: 100%;
  height: 100%;
}

.shark-ring {
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  border: 1px solid rgba(170, 230, 250, 0.55);
  box-shadow: 0 0 18px rgba(127, 214, 240, 0.25), inset 0 0 12px rgba(127, 214, 240, 0.2);
  opacity: 0;
}

.shark-fade {
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--bx, 50%) var(--by, 50%), #020c14, #000306 70%);
  opacity: 0;
}

.shark-status {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.6s;
}

.shark-status.show {
  opacity: 1;
}

.shark-status::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin: 0.8rem auto 0;
  background: var(--aqua);
  animation: status-pulse 1.4s ease-in-out infinite;
}

@keyframes status-pulse {
  50% { transform: scaleX(2.4); opacity: 0.4; }
}

/* reduced-motion transition: a plain fade */
.calm-fade {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #01070c;
  opacity: 0;
  transition: opacity 0.28s linear;
}

.calm-fade.on {
  opacity: 1;
}

.is-swallowed {
  visibility: hidden;
}

.resurface {
  animation: resurface 0.7s var(--ease-out) both;
}

@keyframes resurface {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
}

/* Small fish (js/life.js) */
.fish {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 14px;
  color: #b7d6e0;
  opacity: 0.55;
  will-change: transform;
}

.fish .fish-tail {
  transform-box: fill-box;
  transform-origin: 100% 50%;
}

/* ───────────────────────── The deep: flashlight + creatures ─────────────────────────
   Below ~55 m the water goes dark and the pointer (or your finger) becomes a
   torch. js/main.js feeds --tx/--ty/--tr (screen) and --lx/--ly (per creature). */

.torch {
  position: absolute;
  inset: 0;
  opacity: var(--ti, 0);
  background:
    radial-gradient(circle calc(var(--tr, 200px) * 0.35) at var(--tx, 50%) var(--ty, 50%), rgba(200, 238, 255, 0.10), transparent 100%),
    radial-gradient(circle var(--tr, 200px) at var(--tx, 50%) var(--ty, 50%), rgba(140, 210, 240, 0.09), rgba(120, 200, 235, 0.03) 55%, transparent 100%);
  mix-blend-mode: screen;
}

/* creatures peek in from beyond the edges; never let them widen the page */
.section,
.site-footer {
  overflow-x: clip;
}

.deep-life {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.creature {
  --lx: -9999px;
  --ly: -9999px;
  --lr: 0px;
  position: absolute;
  transition: transform 1.8s var(--ease-out);
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.25) 72%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.25) 72%, transparent 100%);
}

.creature img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: saturate(0.85) contrast(1.05);
}

.c-squid { right: -14%; top: -6%; width: min(620px, 78vw); }
.c-viper { left: -12%; bottom: -4%; width: min(560px, 74vw); }
.c-angler { right: -4%; top: -14%; width: min(480px, 70vw); }
.c-frilled { left: -16%; bottom: -26%; width: min(600px, 80vw); }

/* the anglerfish's lure glows even in the dark: an invitation to look */
.c-angler {
  -webkit-mask-image: none;
  mask-image: none;
}

.c-angler img {
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.25) 72%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.25) 72%, transparent 100%);
}

.lure {
  position: absolute;
  left: 59.2%;
  top: 9.6%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7d6 0%, #ffd27a 35%, rgba(255, 190, 90, 0) 70%);
  box-shadow: 0 0 18px 6px rgba(255, 200, 110, 0.35), 0 0 46px 16px rgba(255, 190, 90, 0.12);
  animation: lure 3.8s ease-in-out infinite;
}

@keyframes lure {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  45% { opacity: 1; transform: scale(1.1); }
  60% { opacity: 0.8; }
}

.seafloor {
  position: relative;
  height: clamp(320px, 52vw, 520px);
  margin-top: 2.5rem;
}

.c-tablet {
  left: 50%;
  top: 0;
  width: min(640px, 112vw);
  transform: translateX(-50%);
}

.c-tablet.found {
  transform: translateX(-50%);
}

.coupon {
  position: absolute;
  left: 55%;
  top: 46%;
  width: 46%;
  height: 26%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: none;
  color: rgba(214, 240, 248, 0.88);
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%) perspective(700px) rotateX(44deg) rotateZ(3deg);
  -webkit-tap-highlight-color: transparent;
}

/* before it's found: just faint sand you can brush away */
.coupon::before {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(160, 220, 240, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.coupon:hover::before,
.coupon:focus-visible::before {
  opacity: 1;
}

.coupon.carved::before {
  opacity: 0;
}

.coupon-code {
  display: flex;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  padding-left: 0.16em;
  /* carved: dark inner edge, light catch on the lower lip */
  text-shadow: 0 -1px 0 rgba(0, 10, 16, 0.85), 0 1px 0 rgba(220, 250, 255, 0.35), 0 0 22px rgba(127, 214, 240, 0.35);
}

.coupon-code span {
  animation: carve 0.7s var(--ease-out) both;
}

@keyframes carve {
  0% { opacity: 0; transform: translateY(0.25em) scale(1.3); filter: blur(6px); color: #c9f3ff; }
  40% { opacity: 1; filter: blur(0); text-shadow: 0 0 26px rgba(127, 214, 240, 0.95); }
  100% { opacity: 1; transform: none; filter: none; }
}

.coupon-note {
  min-height: 1em;
  white-space: nowrap;
  font-size: clamp(0.56rem, 1.2vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(190, 228, 240, 0.7);
  text-shadow: 0 -1px 0 rgba(0, 10, 16, 0.8);
  animation: carve 0.9s var(--ease-out) 0.8s both;
}

.coupon:not(.carved) .coupon-note {
  animation: none;
}

.coupon:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
}

.seafloor-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  margin: 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--safe-b));
  z-index: 30;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: rgba(6, 22, 32, 0.92);
  box-shadow: 0 0 0 1px rgba(127, 214, 240, 0.3), 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ───────────────────────── Larger screens ───────────────────────── */

@media (min-width: 720px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .hero {
    padding-top: calc(var(--surface-band) + 120px);
  }

  .section {
    padding: 7.5rem 0;
  }

  .work-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 3rem;
  }

  .work-panel {
    padding: 2rem 2.1rem 2.2rem;
  }


  .sound-toggle {
    right: calc(24px + var(--safe-r));
    bottom: calc(24px + var(--safe-b));
  }
}

@media (min-width: 900px) {
  .offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .offer {
    padding: 1.9rem 1.7rem 1.7rem;
  }

  .offer h3 {
    min-height: 2.3em;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* The depth gauge lives in the side margin, so only where there is one. */
@media (min-width: 1240px) {
  .hud {
    display: block;
    left: calc(26px + var(--safe-l));
    bottom: calc(26px + var(--safe-b));
  }
}

@media (max-width: 420px) {
  .site-header nav ul {
    gap: 0 1rem;
  }

  .site-header nav a {
    font-size: 0.9rem;
  }

}

@media (hover: none) {
  .offer:hover,
  .shot-link:hover,
  .button:hover,
  .sound-toggle:hover {
    transform: none;
  }
}

/* ───────────────────────── Preferences ───────────────────────── */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }

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

  .work-panel::before,
  .dive-cue i::after,
  .steps li::after {
    display: none;
  }
}

@media (forced-colors: active) {
  .button,
  .sound-toggle {
    border: 1px solid ButtonText;
    forced-color-adjust: none;
    background: ButtonFace;
    color: ButtonText;
  }

  .offer,
  .work-panel,
  .shot-link {
    border: 1px solid CanvasText;
  }

  .h1-line + .h1-line {
    color: CanvasText;
    background: none;
  }

  .ocean,
  .deep-life,
  .seafloor {
    display: none;
  }
}

@media print {
  .ocean,
  .deep-life,
  .seafloor,
  .toast,
  .hud,
  .sound-toggle,
  .hero-actions,
  .dive-cue,
  .skip,
  .site-header nav {
    display: none;
  }

  body,
  html {
    background: #fff;
    color: #000;
  }

  .site-header {
    position: static;
    padding: 0;
  }

  .h1-line + .h1-line {
    color: #000;
    background: none;
  }

  .hero {
    min-height: 0;
    padding: 1rem 0;
  }

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

  .offer,
  .work-feature,
  .work-panel {
    break-inside: avoid;
    border: 1px solid #000;
    background: #fff;
    color: #000;
  }

  .h1-line:first-child,
  .lede,
  .offer-body,
  .work-copy p,
  .work-panel p,
  .section-intro {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    font-size: 0.85em;
  }
}
