/* Discover Ocean series page. Builds on book.css (tokens, header, buttons). */
.ocean {
  --surf: #0d4a5f; --sea: #0a2f40; --deep: #061a25; --abyss: #02080c;
  --aqua: #6fd3e6; --coral: #ff7a6b;
  background: var(--abyss);
}
.ocean main { background: linear-gradient(180deg, #0b3b4d 0%, #0a2f40 18%, #082636 38%, #061a25 60%, #040f16 80%, #02080c 100%); }
.ocean .eyebrow { color: var(--aqua); }
.ocean h2 i { font-style: normal; color: var(--red); }
.nav a[aria-current="page"] { color: var(--white); }

/* Hero */
.oc-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(100svh, 980px); display: flex; align-items: center; }
.oc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -3; transform: scale(1.06); animation: ocdrift 30s ease-in-out infinite alternate; }
@keyframes ocdrift { to { transform: scale(1.14) translate3d(-1.5%, 1%, 0); } }
.oc-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(4,20,28,.55) 0%, rgba(4,20,28,.1) 32%, rgba(6,30,42,.35) 70%, #0b3b4d 100%), linear-gradient(90deg, rgba(4,20,28,.75) 0%, rgba(4,20,28,0) 62%); }
.caustics { position: absolute; inset: -20% -10% 30%; z-index: -1; opacity: .22; mix-blend-mode: screen; pointer-events: none;
  background: repeating-linear-gradient(105deg, transparent 0 60px, rgba(180,240,255,.55) 62px, transparent 110px), repeating-linear-gradient(80deg, transparent 0 90px, rgba(180,240,255,.35) 92px, transparent 150px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent);
  animation: caust 14s linear infinite; }
@keyframes caust { to { transform: translateX(-150px); } }
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubbles i { position: absolute; bottom: -20px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(200,245,255,.55); background: rgba(200,245,255,.12); animation: rise linear infinite; opacity: 0; }
.bubbles i:nth-child(1) { left: 62%; animation-duration: 11s; } .bubbles i:nth-child(2) { left: 70%; width: 5px; height: 5px; animation-duration: 9s; animation-delay: 2s; }
.bubbles i:nth-child(3) { left: 76%; width: 12px; height: 12px; animation-duration: 14s; animation-delay: 4s; } .bubbles i:nth-child(4) { left: 82%; animation-duration: 10s; animation-delay: 1s; }
.bubbles i:nth-child(5) { left: 88%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: 6s; } .bubbles i:nth-child(6) { left: 66%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 7s; }
.bubbles i:nth-child(7) { left: 92%; animation-duration: 13s; animation-delay: 3s; } .bubbles i:nth-child(8) { left: 58%; width: 5px; height: 5px; animation-duration: 15s; animation-delay: 9s; }
.bubbles i:nth-child(9) { left: 74%; width: 3px; height: 3px; animation-duration: 7s; animation-delay: 5s; } .bubbles i:nth-child(10) { left: 85%; width: 9px; height: 9px; animation-duration: 16s; animation-delay: 8s; }
.bubbles i:nth-child(11) { left: 79%; width: 4px; height: 4px; animation-duration: 9s; animation-delay: 10s; } .bubbles i:nth-child(12) { left: 95%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 11s; }
.bubbles i:nth-child(13) { left: 68%; width: 3px; height: 3px; animation-duration: 8s; animation-delay: 12s; } .bubbles i:nth-child(14) { left: 90%; width: 7px; height: 7px; animation-duration: 14s; animation-delay: 13s; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(14px, -50vh); } 100% { transform: translate(-8px, -105vh); opacity: 0; } }
.oc-hero-text { padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.oc-wm { font-family: var(--sans); font-weight: 200; font-size: clamp(3.2rem, 11vw, 9.5rem); letter-spacing: -.055em; line-height: .88; color: var(--white); margin: 0; text-shadow: 0 10px 50px rgba(0,20,30,.45); }
.oc-wm b { display: block; font-weight: 800; }
.oc-wm i { font-style: normal; font-weight: 800; color: var(--red); }
.oc-hero-sub { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--white); margin: 22px 0 0; }
.oc-hero-lead { color: rgba(255,255,255,.86); max-width: 54ch; }
.oc-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.oc-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.oc-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(12px); opacity: .2; } }

/* Depth gauge */
.gauge { position: fixed; z-index: 40; right: clamp(14px, 2vw, 28px); top: 50%; transform: translateY(-50%); height: min(62vh, 520px); width: 132px; display: none; opacity: 0; transition: opacity .4s; }
.gauge.on { opacity: 1; }
.gauge-line { position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: rgba(244,247,249,.16); border-radius: 2px; }
.gauge-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--aqua), var(--red)); border-radius: 2px; }
.gauge-now { position: absolute; right: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--white); transform: translateY(-50%); white-space: nowrap; }
.gauge-now b { font-size: 1.05rem; letter-spacing: -.02em; }
.gauge-now::after { content: ""; position: absolute; right: -16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(217,72,59,.25); }
.gauge a { position: absolute; right: -4px; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mist); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.gauge a::after { content: ""; width: 10px; height: 2px; background: rgba(244,247,249,.45); }
.gauge a em { font-style: normal; display: none; }
.gauge a span { opacity: 0; transition: opacity .2s; }
.gauge:hover a span, .gauge a.near span { opacity: 1; }
.gauge a:hover em, .gauge a:focus-visible em { display: inline; color: var(--white); }
.gauge a.soon::after { background: var(--red); }
@media (min-width: 1100px) { .gauge { display: block; } }

/* Intro */
.oc-intro { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.oc-intro-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.oc-intro-photo { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.oc-intro-photo img { display: block; width: 100%; height: auto; }
.oc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 30px; }
.oc-stats b { display: block; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 200; letter-spacing: -.05em; line-height: 1; color: var(--white); }
.oc-stats span { display: block; margin-top: 8px; font-size: .86rem; color: var(--mist); max-width: 24ch; }

/* Dives */
.dive { position: relative; padding: clamp(60px, 9vw, 120px) 0; }
.dive-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.dive-r .dive-photo { order: 2; }
.dive-photo { position: relative; margin: 0 0 60px; }
.dive-photo > img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 50px 100px rgba(0,0,0,.5); }
.depth-tag { position: absolute; top: 22px; left: 22px; display: flex; align-items: baseline; gap: 12px; color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.depth-tag b { font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 200; letter-spacing: -.06em; line-height: .8; }
.depth-tag b small { font-size: .38em; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.depth-tag span { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.dive-cover { position: absolute; right: -28px; bottom: -56px; width: clamp(120px, 34%, 210px); perspective: 900px; }
.dive-l .dive-cover { right: auto; left: auto; right: -40px; }
.dive-r .dive-cover { right: auto; left: -40px; }
.dive-cover img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: -18px 26px 50px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.4); transform: rotateY(-10deg) rotateZ(2deg); transition: transform .5s; }
.dive-r .dive-cover img { transform: rotateY(10deg) rotateZ(-2deg); }
.dive-cover:hover img { transform: none; }
.dive-text h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; margin-bottom: 10px; }
.dive-sub { font-family: var(--serif); font-weight: 300; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--frost); margin: 0 0 18px; max-width: 40ch; }
.dive-lede { color: var(--mist); max-width: 54ch; margin: 0; }
.dive-inside { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dive-inside li { display: grid; grid-template-columns: 22px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dive-inside li::before { content: ""; grid-row: 1 / 3; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; border: 2px solid var(--aqua); }
.dive-inside b { color: var(--white); font-size: .95rem; } .dive-inside span { grid-column: 2; font-size: .88rem; color: var(--mist); }
.dive-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dive-facts div { padding: 9px 14px; border-radius: 10px; background: rgba(111,211,230,.07); border: 1px solid rgba(111,211,230,.18); }
.dive-facts small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.dive-facts span { font-size: .86rem; color: var(--white); }
.dive-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 30px; }
.oc-link { color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: 3px; }
.oc-link span { display: inline-block; transition: transform .2s; } .oc-link:hover span { transform: translateX(4px); }
.oc-soon { display: inline-flex; align-items: center; height: 54px; padding: 0 22px; border-radius: 10px; border: 1px dashed rgba(244,247,249,.35); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }

/* Gallery */
.oc-life { padding: clamp(70px, 9vw, 120px) 0; }
.oc-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px)); align-items: start; }
.oc-gallery figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.oc-gallery figure:nth-child(even) { margin-top: 60px; }
.oc-gallery img { display: block; width: 100%; height: auto; transition: transform .8s; }
.oc-gallery figure:hover img { transform: scale(1.05); }
.oc-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; font-size: .74rem; color: #fff; background: linear-gradient(transparent, rgba(2,8,12,.8)); }

/* The Coral Gardens */
.oc-gardens { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0; }
.glow { position: absolute; z-index: -1; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,122,107,.22), rgba(255,122,107,.06) 55%, transparent); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.gardens-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: center; justify-content: center; }
.gardens-cover { position: relative; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 80px rgba(255,122,107,.18); transform: rotate(-2deg); }
.gc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.78); }
.gardens-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,8,12,.2), rgba(2,8,12,.05) 40%, rgba(2,8,12,.75)); }
.gc-text { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 18px 30px; text-align: center; color: #fff; }
.gc-wm { font-size: .82rem; font-weight: 300; letter-spacing: -.02em; } .gc-wm b { font-weight: 800; } .gc-wm i { font-style: normal; color: var(--red); font-weight: 800; }
.gc-text strong { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.gc-text em { font-style: normal; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .3em; text-transform: uppercase; }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,122,107,.6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,122,107,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,107,0); } }
.oc-gardens .eyebrow { color: var(--coral); }

/* Shelf */
.oc-shelf { padding: clamp(60px, 8vw, 110px) 0 clamp(90px, 11vw, 150px); }
.oc-books { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.oc-book { text-decoration: none; color: inherit; }
.oc-book img, .oc-ph { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: -14px 20px 44px rgba(0,0,0,.55); transition: transform .4s; }
.oc-book:hover img, .oc-book:hover .oc-ph { transform: translateY(-6px); }
.oc-ph { display: grid; place-items: center; border: 1px dashed rgba(255,122,107,.5); background: radial-gradient(circle at 50% 40%, rgba(255,122,107,.18), transparent 70%), #050d12; box-shadow: none; }
.oc-ph b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; line-height: .95; text-align: center; color: #fff; }
.oc-book > span:last-child { display: block; margin-top: 16px; }
.oc-book small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); }
.oc-book.soon small { color: var(--coral); }
.oc-book b { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--white); margin: 4px 0 2px; }
.oc-book em { font-style: normal; font-size: .85rem; color: var(--mist); }

/* Responsive */
@media (max-width: 900px) {
  .oc-intro-wrap, .dive-wrap, .gardens-wrap { grid-template-columns: 1fr; }
  .dive-r .dive-photo { order: 0; }
  .dive-photo { margin-bottom: 70px; }
  .dive-cover, .dive-l .dive-cover { right: 14px; left: auto; bottom: -50px; width: 34%; }
  .dive-r .dive-cover { left: auto; right: 14px; }
  .oc-intro-photo { max-width: 520px; }
  .gardens-cover { max-width: 300px; margin: 0 auto; }
  .oc-gallery { grid-template-columns: repeat(6, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .oc-gallery::-webkit-scrollbar { display: none; }
  .oc-gallery figure { scroll-snap-align: center; }
  .oc-gallery figure:nth-child(even) { margin-top: 30px; }
  .oc-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .oc-stats { gap: 22px; } .oc-stats b { font-size: 2.2rem; } .oc-hero-text { padding-bottom: 90px; } }
@media (prefers-reduced-motion: reduce) {
  .oc-hero-bg, .caustics, .bubbles i, .glow, .pulse, .oc-cue span { animation: none; }
  .bubbles { display: none; }
}
