:root {
  color-scheme: dark;
  --abyss-teal: #0A2E38;
  --deep-ocean: #113845;
  --peacock-teal: #2F8C8B;
  --mist-seafoam: #CFE6E2;
  --pearl-cream: #F3EEE4;
  --coral-terracotta: #D58A74;
  --champagne-gold: #C9AE74;
  --ice-white: #E8F7F5;
  --ink: #061b22;
  --muted: rgba(232, 247, 245, 0.68);
  --line: rgba(243, 238, 228, 0.18);
  --glass: rgba(207, 230, 226, 0.09);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--abyss-teal);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  color: var(--pearl-cream);
  background:
    linear-gradient(90deg, rgba(4, 24, 30, 0.72), rgba(10, 46, 56, 0.1) 40%, rgba(4,24,30,0.18)),
    image-set(url("../hero/ocean-background.png") 1x),
    radial-gradient(circle at 56% 0%, rgba(243, 238, 228, 0.38), transparent 21rem),
    radial-gradient(circle at 78% 28%, rgba(47, 140, 139, 0.28), transparent 31rem),
    radial-gradient(circle at 18% 78%, rgba(10, 46, 56, 0.82), transparent 30rem),
    linear-gradient(160deg, #123f49 0%, #0a2e38 47%, #041c22 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(108deg, transparent 0 38%, rgba(232, 247, 245, 0.14) 39%, transparent 43%),
    linear-gradient(96deg, transparent 0 50%, rgba(201, 174, 116, 0.1) 51%, transparent 54%),
    radial-gradient(circle at 72% 0%, rgba(232, 247, 245, 0.24), transparent 18rem);
  opacity: 0.82;
  mask-image: linear-gradient(to bottom, black 0%, black 58%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(232,247,245,0.18) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(201,174,116,0.12) 0 1px, transparent 1.5px);
  background-position: 0 0, 28px 38px;
  background-size: 96px 96px, 142px 142px;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ice-white);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 80;
  padding: 10px 14px;
  transform: translateY(-170%);
  border-radius: 999px;
  color: var(--abyss-teal);
  background: var(--pearl-cream);
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 22px clamp(20px, 4.5vw, 62px);
  background: linear-gradient(to bottom, rgba(10, 46, 56, 0.38), rgba(10, 46, 56, 0));
  transition: background 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

body.has-scrolled .site-header {
  background: rgba(10, 46, 56, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(243, 238, 228, 0.1);
}

.wordmark {
  display: grid;
  gap: 2px;
  min-width: 180px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.52rem);
  line-height: 0.92;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(232,247,245,0.2);
}

.wordmark span:nth-child(2) {
  font-size: 0.52em;
  letter-spacing: 0.42em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 36px);
}

.site-nav a {
  position: relative;
  color: rgba(243, 238, 228, 0.78);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  content: "";
  background: var(--champagne-gold);
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ice-white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.language-control select,
.header-cta {
  border: 1px solid rgba(243, 238, 228, 0.28);
  color: var(--pearl-cream);
  background: rgba(232, 247, 245, 0.07);
  backdrop-filter: blur(10px);
}

.language-control select {
  border-radius: 999px;
  padding: 8px 11px;
}

.header-cta {
  min-width: 118px;
  padding: 11px 18px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243,238,228,0.25);
  border-radius: 999px;
  background: rgba(232,247,245,0.08);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--pearl-cream);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(600px, 1.2fr);
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
  overflow: visible;
  padding: 96px clamp(22px, 4.8vw, 72px) 178px;
  isolation: isolate;
}

.ocean-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 44%, rgba(232,247,245,0.16), transparent 21rem),
    radial-gradient(circle at 8% 72%, rgba(0, 24, 30, 0.84), transparent 26rem),
    linear-gradient(90deg, rgba(4,25,32,0.78), rgba(10,46,56,0.15) 48%, rgba(4,25,32,0.12));
}

.ocean-atmosphere::before,
.ocean-atmosphere::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.ocean-atmosphere::before {
  inset: -20% 20% 35% 42%;
  background: repeating-linear-gradient(95deg, rgba(243,238,228,0.18) 0 1px, transparent 1px 64px);
  filter: blur(8px);
  opacity: 0.54;
  transform: rotate(-8deg);
}

.ocean-atmosphere::after {
  right: 5vw;
  top: 12vh;
  width: 300px;
  height: 450px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(232,247,245,0.14), transparent 22%),
    radial-gradient(ellipse at 50% 34%, rgba(232,247,245,0.08), transparent 36%);
  opacity: 0.38;
  filter: blur(1px);
  animation: jellyDrift 16s ease-in-out infinite;
}

.hero-shell {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 500px;
  transform: translate3d(calc(var(--depth-x, 0) * 12px), calc(var(--depth-y, 0) * 8px), 0);
  transition: transform 160ms ease-out;
}

.hero-kicker,
.section-kicker,
.project-category {
  margin: 0 0 18px;
  color: rgba(201, 174, 116, 0.96);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--pearl-cream);
}

.hero h1 {
  font-size: clamp(3rem, 5.35vw, 5.25rem);
  line-height: 0.92;
  letter-spacing: 0.025em;
  text-shadow: 0 18px 70px rgba(0,0,0,0.35);
}

.hero-titleline {
  margin: 24px 0 0;
  color: rgba(232, 247, 245, 0.82);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.2em;
}

.hero-description,
.text-lede,
.project-description,
.service-grid p,
.split-panel p {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.22vw, 1.1rem);
  line-height: 1.74;
}

.hero-description {
  max-width: 470px;
  margin: 22px 0 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.project-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border: 1px solid rgba(243,238,228,0.26);
  color: var(--pearl-cream);
  background: rgba(232, 247, 245, 0.07);
  backdrop-filter: blur(12px);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.button:hover,
.project-action:hover {
  transform: translateY(-2px);
  border-color: rgba(201,174,116,0.7);
  background: rgba(232, 247, 245, 0.12);
}

.button-primary {
  border-color: rgba(213, 138, 116, 0.58);
  color: #fff7ee;
  background: linear-gradient(135deg, rgba(213,138,116,0.84), rgba(201,174,116,0.38));
}

.ocean-scene {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  min-height: min(70vh, 660px);
  align-self: stretch;
  overflow: visible;
  cursor: grab;
  transform: none;
  contain: layout style;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.ocean-scene.is-dragging {
  cursor: grabbing;
}

.hero-layer {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.hero-layer-background {
  display: none;
}

.hero-layer-jellyfish {
  inset: -7% -11% -8% -12%;
  width: 123%;
  height: 114%;
  object-fit: cover;
  opacity: 0.62;
  mix-blend-mode: screen;
  filter: blur(0.1px) saturate(0.95);
  animation: jellyfishLayerFloat 13.5s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.ambient-jellyfish {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.ambient-jellyfish span {
  position: absolute;
  width: clamp(42px, 6vw, 84px);
  aspect-ratio: 1 / 1.28;
  border-radius: 52% 52% 46% 46%;
  background:
    radial-gradient(ellipse at 48% 24%, rgba(243,238,228,0.24), rgba(207,230,226,0.08) 44%, transparent 70%),
    linear-gradient(180deg, rgba(232,247,245,0.16), transparent 56%);
  filter: blur(0.5px);
  mix-blend-mode: screen;
  opacity: 0.22;
  animation: distantJellyFloat 12s ease-in-out infinite;
  will-change: transform, opacity;
}

.ambient-jellyfish span::after {
  position: absolute;
  content: "";
  left: 18%;
  right: 18%;
  top: 58%;
  height: 64%;
  background:
    repeating-linear-gradient(90deg, rgba(232,247,245,0.18) 0 1px, transparent 1px 13px);
  mask-image: linear-gradient(180deg, #000, transparent);
  opacity: 0.58;
  transform-origin: 50% 0;
  animation: jellyTendrilSway 7.8s ease-in-out infinite;
}

.ambient-jellyfish span:nth-child(1) {
  left: 6%;
  top: 15%;
  animation-duration: 12.5s;
  animation-delay: -2.5s;
}

.ambient-jellyfish span:nth-child(2) {
  right: 8%;
  top: 10%;
  width: clamp(52px, 7vw, 96px);
  opacity: 0.18;
  animation-duration: 14s;
  animation-delay: -6s;
}

.ambient-jellyfish span:nth-child(3) {
  left: 16%;
  bottom: 20%;
  width: clamp(34px, 4.5vw, 66px);
  opacity: 0.16;
  animation-duration: 10.5s;
  animation-delay: -4s;
}

.hero-layer-tree {
  left: 24%;
  top: -2%;
  width: min(34vw, 500px);
  max-width: none;
  height: auto;
  z-index: 3;
  opacity: 0.98;
  filter: drop-shadow(0 28px 55px rgba(4,24,30,0.35)) drop-shadow(0 0 20px rgba(207,230,226,0.22));
  transform: translate3d(calc(var(--scene-shift-x, 0px) * -0.16), calc(var(--scene-shift-y, 0px) * -0.12), 0);
  transform-origin: 50% 57%;
  overflow: visible;
}

.hero-tree-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  filter: saturate(1.03) contrast(1.02);
  transform-origin: 50% 58%;
  animation: treeBreath 14.8s ease-in-out infinite;
  will-change: transform, filter;
}

.hero-tree-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-tree-animated-image {
  position: relative;
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: screen;
  filter: saturate(1.01) brightness(1.04) contrast(0.96);
}

.hero-tree-shimmer,
.hero-tree-veil {
  position: absolute;
  inset: -4% -5%;
  pointer-events: none;
  mix-blend-mode: screen;
  mask-image: url("../hero/ocean-spirit-tree.png");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("../hero/ocean-spirit-tree.png");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.hero-tree-shimmer {
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 22%, rgba(243,238,228,0.03) 34%, rgba(232,247,245,0.28) 47%, rgba(201,174,116,0.1) 54%, transparent 68%);
  opacity: 0.46;
  transform: translate3d(-18%, -8%, 0);
  animation: treeShimmer 15.5s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-tree-veil {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(207,230,226,0.18), transparent 42%),
    linear-gradient(90deg, rgba(47,140,139,0.05), rgba(243,238,228,0.1), rgba(201,174,116,0.05));
  opacity: 0.34;
  transform-origin: 50% 18%;
  animation: branchVeilSway 12.6s ease-in-out infinite;
}

.hero-layer-orbit {
  left: -1%;
  top: 7%;
  width: 104%;
  height: 78%;
  object-fit: contain;
  opacity: 0.82;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(201,174,116,0.13));
  transform: translate3d(calc(var(--scene-shift-x, 0px) * -0.12), calc(var(--scene-shift-y, 0px) * -0.08), 0) rotate(var(--orbit-tilt, 0deg));
}

.hero-layer-orbit-back {
  z-index: 2;
  opacity: 0.62;
  clip-path: inset(0 0 42% 0);
}

.hero-layer-orbit-front {
  z-index: 5;
  opacity: 0.98;
  clip-path: inset(42% 0 0 0);
}

.hero-light-points span {
  position: absolute;
  z-index: 6;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(243,238,228,0.9);
  box-shadow: 0 0 14px rgba(243,238,228,0.7);
  animation: particleRise 9s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-light-points span:nth-child(1) { left: 24%; top: 47%; animation-delay: -1s; }
.hero-light-points span:nth-child(2) { left: 44%; top: 23%; animation-duration: 11s; animation-delay: -5s; }
.hero-light-points span:nth-child(3) { left: 72%; top: 25%; animation-duration: 10s; animation-delay: -3s; }
.hero-light-points span:nth-child(4) { left: 87%; top: 56%; animation-duration: 12s; animation-delay: -7s; }
.hero-light-points span:nth-child(5) { left: 67%; top: 70%; animation-duration: 9.5s; animation-delay: -2s; }

.hero-light-points {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbital-dom-nav {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.orbital-dom-nav a {
  --node-x: 50%;
  --node-y: 50%;
  --node-scale: 1;
  --node-opacity: 0.72;
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  width: clamp(82px, 8.5vw, 124px);
  height: clamp(82px, 8.5vw, 124px);
  display: grid;
  place-items: center;
  padding: 0;
  transform: translate(-50%, -50%) scale(var(--node-scale));
  border-radius: 50%;
  color: rgba(243, 238, 228, 0.92);
  background: transparent;
  box-shadow: 0 18px 50px rgba(0,0,0,0.24);
  pointer-events: auto;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  opacity: calc(var(--node-opacity) + 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.58rem, 0.75vw, 0.78rem);
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
}

.orbital-dom-nav a[data-node-index="0"] {
  --node-x: 55%;
  --node-y: 47%;
  --node-scale: 1.08;
  --node-opacity: 0.92;
}

.orbital-dom-nav a[data-node-index="1"] {
  --node-x: 78%;
  --node-y: 27%;
  --node-scale: 0.9;
  --node-opacity: 0.74;
}

.orbital-dom-nav a[data-node-index="2"] {
  --node-x: 26%;
  --node-y: 39%;
  --node-scale: 0.84;
  --node-opacity: 0.7;
}

.orbital-dom-nav a[data-node-index="3"] {
  --node-x: 87%;
  --node-y: 55%;
  --node-scale: 0.86;
  --node-opacity: 0.68;
}

.orbital-dom-nav a[data-node-index="4"] {
  --node-x: 29%;
  --node-y: 64%;
  --node-scale: 0.88;
  --node-opacity: 0.72;
}

.orbital-dom-nav a[data-node-index="5"] {
  --node-x: 72%;
  --node-y: 68%;
  --node-scale: 0.9;
  --node-opacity: 0.76;
}

.orbital-dom-nav a::before {
  position: absolute;
  inset: 9%;
  z-index: 0;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,0.66), rgba(207,230,226,0.22) 45%, rgba(10,46,56,0.12) 72%);
  box-shadow: inset 0 0 24px rgba(255,255,255,0.18), 0 10px 30px rgba(4,24,30,0.22);
}

.orbital-dom-nav a img {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  opacity: 0.96;
  filter: drop-shadow(0 10px 22px rgba(4,24,30,0.38)) saturate(1.08) contrast(1.05);
}

.orbital-dom-nav a span {
  position: relative;
  z-index: 1;
  max-width: 78%;
  text-shadow: 0 1px 8px rgba(4,24,30,0.62);
}

.orbital-dom-nav a.is-current {
  color: var(--pearl-cream);
  box-shadow: 0 22px 70px rgba(213,138,116,0.32);
}

.orbital-dom-nav a.is-current::before {
  inset: 4%;
  background:
    radial-gradient(circle at 35% 22%, rgba(255,238,222,0.86), rgba(213,138,116,0.58) 45%, rgba(92,45,36,0.28) 72%);
  box-shadow: inset 0 0 26px rgba(255,255,255,0.24), 0 16px 44px rgba(213,138,116,0.28);
}

.orbital-dom-nav a.is-current img {
  opacity: 1;
  filter: drop-shadow(0 16px 34px rgba(213,138,116,0.42)) brightness(1.16) saturate(1.12);
}

.orbital-dom-nav a.is-current span {
  color: #fff8ee;
  text-shadow: 0 1px 10px rgba(76,30,24,0.72), 0 0 18px rgba(255,240,220,0.28);
}

.orbital-dom-nav a:hover {
  filter: brightness(1.12);
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  bottom: 30px;
  z-index: 4;
  margin: 0;
  color: rgba(243,238,228,0.58);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 130px) clamp(20px, 4.8vw, 72px);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  line-height: 0.96;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.work-section .section-heading {
  align-items: center;
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(243,238,228,0.13);
  border-bottom: 0;
  background: rgba(4, 31, 38, 0.42);
  backdrop-filter: blur(18px);
}

.work-section .section-heading .section-kicker {
  margin: 0;
}

.work-section .section-heading h2 {
  max-width: 470px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-align: right;
  text-transform: uppercase;
  color: rgba(243,238,228,0.62);
}

.work-section {
  margin-top: -246px;
  padding-top: 0;
  z-index: 6;
}

.project-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(243,238,228,0.13);
  background: rgba(4, 31, 38, 0.44);
  backdrop-filter: blur(18px);
  margin-bottom: 60px;
}

.project-world {
  --project-accent: var(--peacock-teal);
  position: relative;
  min-height: clamp(132px, 14vw, 162px);
  overflow: hidden;
  border: 1px solid rgba(243,238,228,0.18);
  border-radius: 8px;
  background: rgba(232,247,245,0.07);
  transition: transform 260ms ease, border-color 260ms ease;
}

.project-world:hover {
  transform: translateY(-4px);
  border-color: rgba(201,174,116,0.52);
}

.project-aura,
.project-signal,
.hidden-animal {
  display: none;
}

.project-media {
  position: absolute;
  inset: 0;
}

.project-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  background: rgba(0,0,0,0.35);
}

.project-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 18px;
  background: linear-gradient(to top, rgba(4,24,30,0.9), rgba(4,24,30,0.45), transparent);
}

.project-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-category,
.project-description {
  margin-bottom: 6px;
}

.project-description {
  display: none;
}

.project-action {
  min-height: 32px;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.56rem;
}

.unseen-immersive {
  --unseen-x: 50%;
  --unseen-y: 50%;
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  overflow: hidden;
  margin-bottom: 56px;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgba(243,238,228,0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--unseen-x) var(--unseen-y), rgba(207,230,226,0.22), transparent 18rem),
    conic-gradient(from calc(var(--unseen-angle, 0deg) + 20deg), rgba(47,140,139,0.18), rgba(201,174,116,0.14), rgba(213,138,116,0.12), rgba(47,140,139,0.18)),
    linear-gradient(135deg, rgba(4,30,36,0.92), rgba(10,46,56,0.74));
  box-shadow: 0 30px 120px rgba(0,0,0,0.28);
}

.unseen-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(243,238,228,0.18);
  border-radius: 8px;
}

.unseen-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.05) hue-rotate(calc(var(--depth-x, 0) * 18deg));
}

.showreel-panel,
.split-panel,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(243,238,228,0.14);
  border-radius: 8px;
  background: rgba(232,247,245,0.07);
  backdrop-filter: blur(16px);
}

.showreel-portal {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(243,238,228,0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(243,238,228,0.28), transparent 11rem),
    linear-gradient(135deg, rgba(47,140,139,0.28), rgba(201,174,116,0.14), rgba(213,138,116,0.12));
}

.showreel-portal span {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(243,238,228,0.16);
  border-radius: 50%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(243,238,228,0.14);
  border-radius: 8px;
  background: rgba(232,247,245,0.07);
  backdrop-filter: blur(12px);
}

.service-grid h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel {
  display: block;
}

.subtle-link {
  display: inline-flex;
  margin-top: 18px;
  color: rgba(243,238,228,0.84);
  border-bottom: 1px solid rgba(201,174,116,0.62);
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 4.8vw, 72px) 28px;
  border-top: 1px solid rgba(243,238,228,0.12);
  color: rgba(243,238,228,0.56);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes jellyDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-18px, 28px, 0); }
}

@keyframes treeBreath {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-0.35deg) scale(1);
    filter: saturate(1.02) brightness(1);
  }
  35% {
    transform: translate3d(-4px, -10px, 0) rotate(0.42deg) scale(1.008);
    filter: saturate(1.06) brightness(1.025);
  }
  68% {
    transform: translate3d(3px, 5px, 0) rotate(-0.18deg) scale(0.997);
    filter: saturate(1.01) brightness(0.995);
  }
}

@keyframes treeShimmer {
  0%, 100% {
    opacity: 0.18;
    transform: translate3d(-24%, -10%, 0) rotate(-1deg);
  }
  48% {
    opacity: 0.5;
    transform: translate3d(18%, 7%, 0) rotate(1.2deg);
  }
  72% {
    opacity: 0.28;
    transform: translate3d(10%, 13%, 0) rotate(0.3deg);
  }
}

@keyframes branchVeilSway {
  0%, 100% {
    opacity: 0.25;
    transform: translate3d(-3px, 0, 0) rotate(-0.5deg) scaleX(0.996);
  }
  50% {
    opacity: 0.4;
    transform: translate3d(4px, -4px, 0) rotate(0.55deg) scaleX(1.006);
  }
}

@keyframes jellyfishLayerFloat {
  0%, 100% {
    opacity: 0.58;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0.1px) saturate(0.95);
  }
  42% {
    opacity: 0.68;
    transform: translate3d(-16px, -18px, 0) scale(1.012);
    filter: blur(0.2px) saturate(1);
  }
  72% {
    opacity: 0.54;
    transform: translate3d(10px, 12px, 0) scale(0.997);
  }
}

@keyframes distantJellyFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
    opacity: 0.16;
  }
  45% {
    transform: translate3d(12px, -24px, 0) rotate(1.2deg) scale(1.035);
    opacity: 0.28;
  }
  75% {
    transform: translate3d(-7px, -10px, 0) rotate(0.4deg) scale(0.99);
    opacity: 0.2;
  }
}

@keyframes jellyTendrilSway {
  0%, 100% { transform: translate3d(0, 0, 0) skewX(-3deg); }
  50% { transform: translate3d(2px, 3px, 0) skewX(4deg); }
}

@keyframes particleRise {
  0%, 100% {
    opacity: 0.46;
    transform: translate3d(0, 8px, 0) scale(0.8);
  }
  48% {
    opacity: 0.95;
    transform: translate3d(8px, -18px, 0) scale(1.08);
  }
  78% {
    opacity: 0.58;
    transform: translate3d(-4px, -28px, 0) scale(0.92);
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(243,238,228,0.16);
    background: rgba(10,46,56,0.86);
    backdrop-filter: blur(18px);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .ambient-jellyfish span:nth-child(3) {
    display: none;
  }
}

@media (min-width: 601px) and (max-width: 1060px) {
  .hero {
    grid-template-columns: minmax(230px, 0.72fr) minmax(330px, 1.28fr);
    gap: clamp(8px, 1.8vw, 18px);
    padding: 92px clamp(14px, 3vw, 28px) 168px;
  }

  .hero-shell {
    grid-column: 1;
    grid-row: 1;
    max-width: 320px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.1rem);
  }

  .hero-description {
    max-width: 300px;
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .hero-kicker,
  .hero-titleline {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .cta-row {
    gap: 9px;
  }

  .button,
  .project-action {
    min-height: 38px;
    padding: 10px 12px;
    font-size: 0.6rem;
  }

  .ocean-scene {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: min(64vh, 520px);
    order: initial;
  }

  .hero-layer-tree {
    left: 24%;
    top: 0;
    width: min(36vw, 340px);
  }

  .hero-tree-image {
    animation-duration: 16s;
  }

  .hero-layer-orbit {
    left: -4%;
    top: 8%;
    width: 108%;
    height: 78%;
  }

  .orbital-dom-nav a {
    width: clamp(68px, 8vw, 86px);
    height: clamp(68px, 8vw, 86px);
    font-size: 0.56rem;
  }

  .work-section {
    margin-top: -220px;
  }

  .project-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .project-world {
    min-height: 128px;
  }

  .project-copy {
    padding: 12px;
  }

  .project-copy h3 {
    font-size: 0.86rem;
  }

  .project-action {
    display: none;
  }
}

@media (max-width: 600px), (hover: none) and (pointer: coarse) and (max-width: 900px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 14px 16px;
  }

  .wordmark {
    min-width: 0;
    font-size: 0.96rem;
  }

  .header-cta {
    display: none;
  }

  .language-control select {
    max-width: 96px;
    padding: 7px 9px;
    font-size: 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
    padding: 112px 16px 42px;
  }

  .hero-shell {
    grid-column: 1;
    grid-row: 1;
    max-width: min(100%, 420px);
    transform: none;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.6rem);
  }

  .ocean-scene {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-height: 390px;
    order: 2;
    overflow: visible;
  }

  .hero-layer-tree {
    left: 24%;
    top: 2%;
    width: 68vw;
  }

  .hero-tree-image {
    animation-name: treeBreathMobile;
    animation-duration: 17s;
  }

  .hero-tree-shimmer {
    opacity: 0.26;
  }

  .hero-tree-veil,
  .ambient-jellyfish span:nth-child(2) {
    display: none;
  }

  .hero-layer-orbit {
    left: -18%;
    top: 9%;
    width: 132%;
    height: 74%;
  }

  .orbital-dom-nav a {
    width: 66px;
    height: 66px;
    font-size: 0.58rem;
  }

  .button {
    width: 100%;
  }

  .work-section {
    margin-top: 0;
    padding-top: 68px;
  }

  .project-stack {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }

  .project-world {
    min-height: 320px;
  }

  .project-copy {
    padding: 20px;
  }

  .project-copy h3 {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .project-action {
    display: inline-flex;
  }

  .section {
    padding: 68px 16px;
  }

  .section-heading,
  .unseen-immersive,
  .showreel-panel,
  .split-panel {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-heading {
    align-items: start;
  }

  .unseen-media,
  .unseen-media img {
    min-height: 260px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@keyframes treeBreathMobile {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-0.18deg) scale(1);
    filter: saturate(1.01) brightness(1);
  }
  50% {
    transform: translate3d(0, -6px, 0) rotate(0.18deg) scale(1.004);
    filter: saturate(1.03) brightness(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-layer-jellyfish,
  .ambient-jellyfish span,
  .ambient-jellyfish span::after,
  .hero-tree-image,
  .hero-tree-shimmer,
  .hero-tree-veil,
  .hero-light-points span,
  .ocean-atmosphere::after {
    animation: none !important;
  }

  .hero-tree-image,
  .hero-layer-jellyfish,
  .hero-tree-shimmer,
  .hero-tree-veil {
    transform: none !important;
  }

  .hero-tree-animated-image {
    display: none;
  }

  .hero-tree-fallback {
    position: relative;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
