/* An illustrated descent. Decorative motion is opt-in through ocean.js. */
:root { --ocean-ease: cubic-bezier(.2,.75,.2,1); }
body { position: relative; }
.ambient-ocean { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .38; }
.ambient-ocean::before { content: ""; position: absolute; inset: -25%; background: radial-gradient(ellipse at 88% 25%, #087f9619, transparent 45%), radial-gradient(ellipse at 12% 90%, #71338412, transparent 50%); }
main, .site-footer { position: relative; z-index: 1; }
.site-header { background: #060b14cc; backdrop-filter: blur(20px); }
.site-header nav a { text-transform: uppercase; letter-spacing: .04em; }
.ocean-home .site-header { border-bottom-color: #74bfc51f; }
.ocean-hero.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex;
  min-height: min(880px, calc(100svh - 82px)); padding: 0;
  background: radial-gradient(ellipse at 75% 35%, #113f52 0, #0b2033 28%, #050b15 69%);
}
.ocean-scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ocean-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050b15d9, #050b1555 48%, transparent 76%), linear-gradient(0deg, #050b15, transparent 34%); }
.ocean-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .65; }
.ocean-rays { position: absolute; inset: -35% -15%; opacity: .27; transform: rotate(-24deg); background: repeating-linear-gradient(100deg, transparent 0 13%, #8cffe60b 15%, #8cffe61a 16%, transparent 19% 30%); transform-origin: 75% 0; }
.ocean-glow { position: absolute; width: 75%; aspect-ratio: 1; right: -7%; top: -35%; border-radius: 50%; background: radial-gradient(ellipse, #66e5d413, transparent 65%); }
.whale-depth { position: absolute; top: 6%; right: -5%; width: min(1120px, 98vw); will-change: transform; transform: translate3d(var(--look-x,0px),calc(var(--dive,0) * 90px + var(--look-y,0px)),0); }
.whale-approach { opacity: .94; transform: translate3d(0,0,0) scale(1); transform-origin: 75% 35%; }
.whale-svg { display: block; overflow: visible; width: 100%; height: auto; }
.whale-cruise { transform-origin: 60% 45%; }
.whale-tail { transform-origin: 190px 235px; }
.whale-flipper { transform-origin: 720px 256px; }
.sonar-rings { position: absolute; width: 640px; height: 640px; top: 5%; right: 0; opacity: .2; }
.sonar-rings i { position: absolute; inset: 0; border: 1px solid #69f9e63b; border-radius: 50%; opacity: 0; }
.hero-inner { padding-top: clamp(82px,9vw,145px); padding-bottom: 40px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.ocean-hero .hero-copy { position: relative; z-index: 3; max-width: 850px; padding-bottom: 72px; }
.ocean-hero .hero-copy .eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 30px; }
.ocean-hero h1 { font-size: clamp(62px,7.8vw,112px); line-height: 1.03; letter-spacing: -.055em; font-weight: 650; text-wrap: initial; }
.hero-line { display: block; }
.ocean-hero h1 em { color: #91ffea; text-shadow: 0 0 60px #6affd426; }
.hero-last { font-size: .76em; color: #bed5e7; font-weight: 350; margin-top: .12em; }
.ocean-hero .hero-intro { color: #a8bfd4; max-width: 440px; margin-top: 30px; font-size: 16px; }
.ocean-hero .hero-actions { margin-top: 28px; }
.ocean-hero .button { padding: 14px 19px; }
.ocean-hero .button-outline { background: #06101f5c; border-color: #9ad1df4a; }
.ocean-hero .hero-note { color: #7594ac; font: 10px/1.6 var(--mono); letter-spacing: .02em; }
.ocean-hero-footer { display: flex; justify-content: space-between; align-items: end; gap: 30px; border-top: 1px solid #8ce9ea24; padding-top: 22px; }
.scroll-cue { display: flex; align-items: center; gap: 16px; color: var(--cyan); font: 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.scroll-cue span { position: relative; width: 1px; height: 40px; background: #47f5e633; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; top: 0; width: 1px; height: 20px; background: var(--cyan); }
.scene-caption { text-align: right; max-width: 270px; font: 10px/1.7 var(--mono); color: #7fa4b8; }
.scene-caption strong { display: block; color: #b3d4e2; font-weight: 500; letter-spacing: .13em; font-size: 9px; margin-bottom: 5px; }
.journey-nav { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 32px; gap: 28px; }
.journey-nav a { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding-block: 10px; }
.journey-nav .journey-number { font: 10px/1.5 var(--mono); color: #66869d; }
.journey-nav strong { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.journey-nav .journey-label { display: block; font: 9px/1.7 var(--mono); color: #8fa8bc; letter-spacing: .05em; text-transform: uppercase; margin-top: 3px; }
.journey-nav .journey-arrow { color: var(--cyan); transition: transform .3s; }
.journey-nav a + a { border-left: 1px solid var(--line-dark); padding-left: 28px; }
.journey-nav a:hover .journey-arrow { transform: translate(3px,3px); }
.ocean-home .project { position: relative; padding-top: 100px; background: #09121f; }
.ocean-home .section-heading h2 { font-size: clamp(38px,4.8vw,68px); max-width: 960px; font-weight: 550; letter-spacing: -.045em; }
.project-overview { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 72px; margin: 50px 0 64px; }
.project-overview .large-copy { margin-bottom: 24px; }
.project-overview .hero-model { max-width: none; }
.project-overview .vehicle-window { aspect-ratio: 1.6; }
.project-overview .model-topline { font-size: 9px; }
.work-phases { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; padding: 32px 0 40px; border-top: 1px solid var(--line-dark); }
.work-phase { position: relative; }
.work-phase .eyebrow { color: var(--magenta); font-size: 9px; margin-bottom: 16px; }
.work-phase h3 { font-size: 24px; font-weight: 500; }
.work-phase > p:last-child { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.ocean-home .design-detail { margin-top: 20px; }
.ocean-home .journal-section { background: #050c16; position: relative; }
.ocean-home .journal-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 22px; }
.ocean-home .journal-entry { grid-column: span 5; padding: 28px; min-height: 330px; background: #0c1829; border-color: #27445b; }
.ocean-home .journal-entry:nth-child(1), .ocean-home .journal-entry:nth-child(4) { grid-column: span 7; }
.ocean-home .journal-entry::after { width: 54px; }
.ocean-home .entry-feature { background: radial-gradient(ellipse at 100% 0, #13757f24, transparent 70%), #0c1829; }
.ocean-home .entry-feature h3 { font-size: clamp(34px,3.7vw,52px); font-weight: 550; max-width: 440px; }
.ocean-home .entry-feature > p { max-width: 430px; }
.entry-count { display: flex; gap: 14px; align-items: end; margin: 14px 0 30px; }
.entry-count strong { font: 58px/.9 var(--sans); color: #47f5e65e; font-weight: 300; }
.entry-count span { font: 9px/1.7 var(--mono); color: var(--muted); letter-spacing: .09em; }
.ocean-home .journal-entry .entry-image { margin: -28px -28px 24px; border-radius: 0; aspect-ratio: 2.1; }
.ocean-home .journal-entry:nth-child(4) .entry-image { max-height: 235px; }
.ocean-home .journal-entry:nth-child(3) { background: radial-gradient(ellipse at 100% 0, #ad408418, transparent 70%), #0c1829; }
.ocean-home .journal-entry:nth-child(3)::after { background: var(--magenta); }
.ocean-home .journal-entry:nth-child(3) .entry-top { color: var(--magenta); }
.ocean-home .mission-section { background: radial-gradient(ellipse at 10% 100%, #21798912, transparent 60%), #0b1424; }
.mission-title { position: relative; }
.mission-title::before { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid #47f5e60e; border-radius: 50%; left: -110px; top: 25px; pointer-events: none; }
.download-group-title { font: 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin: 38px 0 16px; }
.download-group-title + .download-list { margin-top: 0; }
.ocean-home .download-row { border-width: 0 0 1px; background: transparent; padding-inline: 12px; }
.ocean-home .download-row:hover { background: #47f5e605; }
.ocean-home .file-copy strong { font-size: 18px; }
.ocean-home .file-type { background: #47f5e608; }
.motion-toggle { position: fixed; z-index: 45; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 8px 12px; background: #06101ee8; color: #b5d2e0; border: 1px solid #69cbdc40; border-radius: 2px; cursor: pointer; font: 10px/1.5 var(--mono); backdrop-filter: blur(12px); }
.motion-toggle:hover { color: var(--cyan); border-color: var(--cyan); }
.motion-toggle:disabled { color: #88a1b4; cursor: default; }
.motion-icon { color: var(--cyan); width: 11px; text-align: center; }
.site-footer { padding-bottom: 35px; }
.reader-page, .resource-page { background: #080f1b; }
.reader-hero, .resource-hero { background-image: radial-gradient(ellipse at 100% 0, #1355681c, transparent 70%); }
html.motion-on .ambient-ocean::before { animation: ambient-drift 26s ease-in-out infinite alternate; }
html.motion-on .whale-approach { animation: whale-arrival 7.5s var(--ocean-ease) both; }
html.motion-on .whale-cruise { animation: whale-swim 12s ease-in-out infinite; }
html.motion-on .whale-tail { animation: whale-tail 5.8s ease-in-out infinite; }
html.motion-on .whale-flipper { animation: whale-fin 7s ease-in-out infinite; }
html.motion-on .ocean-rays { animation: ocean-rays 18s ease-in-out infinite alternate; }
html.motion-on .sonar-rings i { animation: sonar-bloom 9s linear infinite; }
html.motion-on .sonar-rings i:nth-child(2) { animation-delay: 3s; }
html.motion-on .sonar-rings i:nth-child(3) { animation-delay: 6s; }
html.motion-on .scroll-cue span::after { animation: dive-cue 2.4s ease-in-out infinite; }
html.motion-on .hero-copy .eyebrow { animation: ocean-reveal 1.1s var(--ocean-ease) both; }
html.motion-on .ocean-hero h1 { animation: ocean-reveal 1.3s .12s var(--ocean-ease) both; }
html.motion-on .ocean-hero .hero-intro, html.motion-on .ocean-hero .hero-actions { animation: ocean-reveal 1.4s .3s var(--ocean-ease) both; }
html.motion-paused { scroll-behavior: auto; }
html.motion-paused .whale-depth { transform: none; }
html.scene-offscreen .ocean-scene *, html.page-hidden *, html.page-hidden *::before, html.page-hidden *::after { animation-play-state: paused !important; }
@keyframes whale-arrival {
  0% { opacity: 0; transform: translate3d(200px,-100px,0) scale(.44); }
  20% { opacity: .28; }
  65% { opacity: .76; }
  100% { opacity: .94; transform: translate3d(0,0,0) scale(1); }
}
@keyframes whale-swim { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(18px) rotate(.8deg); } }
@keyframes whale-tail { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(7deg); } }
@keyframes whale-fin { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(6deg); } }
@keyframes ocean-rays { from { transform: rotate(-24deg) translateX(-2%); opacity: .18; } to { transform: rotate(-16deg) translateX(3%); opacity: .33; } }
@keyframes ambient-drift { from { transform: translate3d(-3%,0,0); } to { transform: translate3d(4%,-4%,0); } }
@keyframes sonar-bloom { 0% { transform: scale(.5); opacity: 0; } 18% { opacity: .55; } 100% { transform: scale(1.65); opacity: 0; } }
@keyframes dive-cue { 0% { transform: translateY(-20px); } 70%,100% { transform: translateY(45px); } }
@keyframes ocean-reveal { from { opacity: .15; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .ocean-hero h1 { font-size: 7.6vw; }
  .project-overview { gap: 36px; }
  .whale-depth { width: 1040px; right: -155px; top: 3%; }
  .ocean-hero .hero-copy { padding-bottom: 62px; }
  .journey-nav strong { font-size: 16px; }
}
@media (max-width: 760px) {
  .ocean-hero.hero { min-height: 745px; }
  .hero-inner { padding-top: 196px; padding-bottom: 28px; }
  .whale-depth { width: 740px; right: -110px; top: -16px; opacity: .8; }
  .ocean-scene::after { background: linear-gradient(0deg, #050b15 0%, #050b1599 54%, #050b1522 90%); }
  .ocean-rays { inset: -10% -50%; }
  .sonar-rings { width: 430px; height: 430px; right: -90px; top: -50px; }
  .ocean-hero .hero-copy { padding-bottom: 40px; }
  .ocean-hero h1 { font-size: clamp(40px,10.6vw,70px); }
  .ocean-hero .hero-copy .eyebrow { font-size: 8px; letter-spacing: .07em; margin-bottom: 23px; }
  .ocean-hero .hero-intro { font-size: 15px; margin-top: 25px; line-height: 1.85; }
  .ocean-hero .hero-actions { gap: 10px; }
  .ocean-hero .button { padding: 12px 14px; font-size: 10px; gap: 13px; }
  .ocean-hero-footer { gap: 20px; padding-top: 20px; }
  .scroll-cue { font-size: 8px; letter-spacing: .05em; }
  .scene-caption { font-size: 8px; max-width: 175px; }
  .scene-caption strong { font-size: 8px; }
  .journey-nav { grid-template-columns: 1fr; gap: 0; padding-block: 16px; }
  .journey-nav a { padding: 16px 0; gap: 20px; }
  .journey-nav a + a { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .journey-nav strong { font-size: 18px; }
  .journey-nav .journey-label { font-size: 9px; }
  .ocean-home .project { padding-top: 62px; }
  .ocean-home .section-heading h2 { font-size: clamp(35px,8.5vw,50px); }
  .project-overview { grid-template-columns: 1fr; gap: 30px; margin: 32px 0 40px; }
  .work-phases { grid-template-columns: 1fr; gap: 25px; padding-bottom: 25px; }
  .work-phase { padding-left: 34px; }
  .work-phase::before { content: "+"; position: absolute; left: 0; top: 0; font: 17px var(--mono); color: #47f5e66b; }
  .work-phase .eyebrow { margin-bottom: 9px; }
  .work-phase h3 { font-size: 23px; }
  .ocean-home .journal-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
  .ocean-home .journal-entry, .ocean-home .journal-entry:nth-child(1), .ocean-home .journal-entry:nth-child(4) { grid-column: auto; padding: 22px; min-height: 0; }
  .ocean-home .journal-entry .entry-image { margin: -22px -22px 22px; }
  .ocean-home .entry-feature h3 { font-size: 36px; }
  .entry-count { margin-block: 12px 26px; }
  .entry-count strong { font-size: 48px; }
  .motion-toggle { right: 12px; bottom: 12px; font-size: 9px; padding: 7px 10px; }
  .mission-title::before { width: 240px; height: 240px; left: -50px; }
  .ocean-home .file-copy strong { font-size: 16px; }
  .download-group-title { margin-top: 28px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .whale-depth { transform: none !important; }
}
@media print {
  .ambient-ocean, .ocean-scene, .motion-toggle, .journey-nav, .ocean-hero-footer { display: none !important; }
  .ocean-hero.hero { min-height: 0; background: #fff; }
  .hero-inner { padding-block: 20px; }
  .ocean-hero .hero-copy { padding-bottom: 20px; }
  .ocean-hero h1 { font-size: 44px; color: #102c35; }
  .hero-last, .ocean-hero h1 em, .ocean-hero .hero-intro { color: #102c35; text-shadow: none; }
  .project-overview { gap: 30px; }
  .ocean-home .project, .ocean-home .journal-section, .ocean-home .journal-entry, .ocean-home .mission-section { background: white; }
  .ocean-home .journal-grid { grid-template-columns: 1fr 1fr; }
  .ocean-home .journal-entry { grid-column: auto !important; }
}
