/* THE OCEAN's own stylesheet — transplanted from studio-site/ocean.html
 * (the demo page the piece arrived in), alongside js/ocean.js. It carries
 * its own sea colours as hexes, on purpose: the piece is self-contained and
 * is not derived from the product's palette — which is why it lives here
 * rather than in site.css ("no hex in this file"). Only the page's own
 * chrome from the demo (its text colour, font, content column) stayed
 * behind. */

:root {
  --sea-surface: #2fa2ee;   /* fallback gradient, used only if WebGL is unavailable */
  --sea-mid: #0a76da;
  --sea-deep: #053c9c;
}

/* The fallback, ocean.html's <body> rule: if WebGL is unavailable (or the
 * shaders fail to build — the script hides the canvas), the landing page's
 * body shows this gradient instead. The landing page only; interior pages
 * keep the light theme. */
body.landing {
  background: linear-gradient(var(--sea-surface), var(--sea-mid) 45%, var(--sea-deep)) fixed var(--sea-mid);
}

/* The canvas itself — ocean.html's #sea rule, as it is. */
#sea {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
}
