/* =========================================================
   Invest Stocks Tips | "The Lighthouse" cinematic theme
   Storm blue-black, beacon amber, buoy red, sea foam, harbor fog
   Fonts: Fjalla One (display), Arimo (text), Inconsolata (labels), EB Garamond italic (accents)
   ========================================================= */
@property --r { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

:root {
  --abyss: #070b12;
  --deep: #0c131e;
  --hull: #131c2a;
  --swell: #1c2838;
  --rope: #2a3a4f;
  --amber: #ffc24b;
  --amber-d: #d99418;
  --lamp: #fff4d6;
  --buoy: #ff5a4e;
  --buoy-d: #c73a32;
  --foam: #7fe0cf;
  --foam-d: #2f9e8c;
  --fog: #eef1f4;
  --fog2: #dde3e9;
  --fog3: #b9c3cc;
  --mist: #8d9aa8;
  --ink: #0c131e;
  --display: "Fjalla One", "Arial Narrow", sans-serif;
  --text: "Arimo", Arial, sans-serif;
  --label: "Inconsolata", ui-monospace, monospace;
  --accent: "EB Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fog);
  background: var(--abyss);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; transition: color .25s; }
a:hover { color: var(--lamp); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1.1em; }
em.ac, .ac { font-family: var(--accent); font-style: italic; font-weight: 500; color: var(--amber); letter-spacing: 0; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }
.container { position: relative; }

.eyebrow {
  font-family: var(--label); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--foam); display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--amber), transparent); }
.light .eyebrow { color: var(--foam-d); }
.lead { font-size: 1.14rem; color: var(--fog2); }
.light .lead { color: #3c4a5a; }
.muted { color: var(--mist); }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.sec-tight { padding: clamp(60px, 7vw, 90px) 0; }
.light { background: var(--fog); color: var(--ink); }
.light h2, .light h3 { color: var(--ink); }
.light a:not(.btn) { color: #a86f00; }
.deep { background: var(--deep); }
.hull { background: var(--hull); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head .eyebrow::after { content: ""; width: 34px; height: 2px; background: linear-gradient(270deg, var(--amber), transparent); }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head.left .eyebrow::after { display: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--label); font-weight: 600; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 194, 75, .7); }
.btn-amber:hover { color: var(--ink); background: #ffd06e; box-shadow: 0 16px 40px -12px rgba(255, 194, 75, .9); }
.btn-line { border-color: rgba(238, 241, 244, .4); color: var(--fog); background: rgba(12, 19, 30, .3); }
.btn-line:hover { border-color: var(--foam); color: var(--foam); }
.light .btn-line { border-color: rgba(12, 19, 30, .3); color: var(--ink); background: transparent; }
.light .btn-line:hover { border-color: var(--foam-d); color: var(--foam-d); }
.btn-buoy { background: var(--buoy); color: #fff; }
.btn-buoy:hover { background: var(--buoy-d); color: #fff; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- iris page transition ---------- */
.iris {
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background: radial-gradient(circle at 80% 20%, #1a2332 0%, var(--abyss) 60%);
  -webkit-mask-image: radial-gradient(circle at 80% 22%, transparent var(--r), #000 calc(var(--r) + 6%));
  mask-image: radial-gradient(circle at 80% 22%, transparent var(--r), #000 calc(var(--r) + 6%));
  --r: 0%;
  transition: --r 1.05s var(--ease), opacity .4s 1s;
}
.iris.open { --r: 160%; opacity: 0; }
.iris.closing { --r: 0%; opacity: 1; transition: --r .6s cubic-bezier(.6, 0, .8, .4), opacity 0s; pointer-events: all; }
.iris-lamp {
  position: absolute; left: 80%; top: 22%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%;
  background: radial-gradient(circle, var(--lamp) 0%, var(--amber) 30%, rgba(255, 194, 75, 0) 70%);
  animation: lampPulse 1.2s ease-in-out infinite;
}
.iris-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .9; }
.iris-mark img { width: 80px; height: 80px; }
.iris.open .iris-mark, .iris.open .iris-lamp { opacity: 0; transition: opacity .3s; }
@keyframes lampPulse { 50% { transform: scale(1.25); opacity: .7; } }

/* ---------- tide gauge scroll meter ---------- */
.tide {
  position: fixed; left: 14px; bottom: 24px; z-index: 90; width: 12px; height: 160px; border-radius: 12px;
  border: 1.5px solid rgba(127, 224, 207, .45); background: rgba(7, 11, 18, .6); overflow: visible;
}
.tide-fill {
  position: absolute; left: 1px; right: 1px; bottom: 1px; height: 0; border-radius: 10px;
  background: linear-gradient(0deg, var(--foam-d), var(--foam));
}
.tide-buoy {
  position: absolute; left: 50%; bottom: 0; width: 16px; height: 16px; margin-left: -8px; border-radius: 50% 50% 40% 40%;
  background: var(--buoy); box-shadow: 0 0 0 2px var(--abyss), 0 0 12px rgba(255, 90, 78, .7);
  animation: bob 2.4s ease-in-out infinite;
}
.tide-buoy::before { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 3px; background: #fff; border-radius: 2px; }
.tide-ticks { position: absolute; left: 16px; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(0deg, rgba(238, 241, 244, .35) 0 1px, transparent 1px 16px); }
@keyframes bob { 50% { transform: translateY(-4px) rotate(6deg); } }
@media (max-width: 767px) { .tide { display: none; } }

/* ---------- top bar & header ---------- */
.topbar { background: var(--abyss); border-bottom: 1px solid rgba(238, 241, 244, .08); font-family: var(--label); font-size: .84rem; letter-spacing: .04em; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: flex-end; padding: 9px 0; }
.topbar a { color: var(--fog3); }
.topbar a:hover { color: var(--amber); }
.tb-lamp { margin-right: auto; color: var(--foam); display: inline-flex; align-items: center; gap: 8px; }
.tb-lamp i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: blink 3.2s infinite; }
@keyframes blink { 0%, 60%, 100% { opacity: 1; } 70%, 85% { opacity: .15; } }
@media (max-width: 991px) { .topbar-in { justify-content: center; } .tb-lamp { margin-right: 0; } .topbar .tb-addr { display: none; } }

.hdr { position: sticky; top: 0; z-index: 120; background: rgba(7, 11, 18, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(238, 241, 244, .06); transition: background .3s, box-shadow .3s; }
.hdr.scrolled { background: rgba(7, 11, 18, .95); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .8); }
.hdr::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--beamw, 0%); background: linear-gradient(90deg, transparent, var(--amber)); transition: width .15s linear; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav ul a { position: relative; display: block; padding: 8px 14px; color: var(--fog2); font-family: var(--label); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.nav ul a::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--amber); opacity: 0; transform: translateY(-18px); transition: .35s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--amber); }
.nav ul a[aria-current="page"]::before, .nav ul a:hover::before { opacity: 1; transform: translateY(-20px); box-shadow: 0 0 10px var(--amber); }
.nav-cta { padding: 12px 22px; font-size: .85rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(238, 241, 244, .25); background: transparent; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--fog); transition: .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .brand img { height: 36px; }
  .nav { position: fixed; left: 0; right: 0; top: 0; height: 100vh; flex-direction: column; justify-content: center; gap: 30px; background: radial-gradient(circle at 80% 10%, #1c2838, var(--abyss) 70%); transform: translateY(-100%); transition: transform .55s var(--ease); z-index: -1; }
  .nav-open .nav { transform: none; }
  .nav ul { flex-direction: column; align-items: center; gap: 10px; }
  .nav ul a { font-size: 1.4rem; }
}

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .1s; } .js .rv-d2 { transition-delay: .2s; } .js .rv-d3 { transition-delay: .3s; }
.js .rv-l { opacity: 0; transform: translateX(-50px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv-r { opacity: 0; transform: translateX(50px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv-l.in, .js .rv-r.in { opacity: 1; transform: none; }
/* headline words lit by the beam */
.glint .w { display: inline-block; opacity: .12; filter: blur(4px); transition: opacity .7s var(--ease), filter .7s var(--ease), text-shadow 1.2s; }
.glint.lit .w { opacity: 1; filter: none; }
.glint.lit .w.flash { text-shadow: 0 0 22px rgba(255, 194, 75, .85); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: calc(100vh - 116px); display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #05080e 0%, #0c1522 55%, #142033 100%); padding: 70px 0 120px; }
.sea { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fog { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(7, 11, 18, .65)); pointer-events: none; }
.hero-in { position: relative; z-index: 2; width: 100%; }
.hero-eye .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: blink 3.2s infinite; }
.hero-eye::before { display: none; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .ac { font-size: 1.04em; }
.hero-lead { max-width: 560px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 34px 0 0; font-family: var(--label); font-size: .9rem; color: var(--fog3); letter-spacing: .06em; }
.hero-notes li { display: inline-flex; align-items: center; gap: 9px; }
.hero-notes li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--foam); box-shadow: inset 0 0 0 3px var(--abyss), inset 0 0 0 7px var(--foam); }

/* Fresnel lens */
.lens { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin: 0 auto; }
.lens-rings {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 244, 214, .0) 0 9px, rgba(255, 244, 214, .16) 10px 11px, rgba(255, 194, 75, .05) 12px 18px);
  box-shadow: 0 0 0 2px rgba(255, 194, 75, .5), 0 0 80px -10px rgba(255, 194, 75, .45), inset 0 0 60px rgba(255, 194, 75, .2);
  animation: spin 60s linear infinite;
}
.lens-ring-text { position: absolute; inset: -3%; animation: spin 40s linear infinite reverse; }
.lens-ring-text text { font-family: var(--label); font-size: 14.5px; letter-spacing: 6px; fill: var(--amber); text-transform: uppercase; }
.lens-photo { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--deep), 0 0 0 8px var(--amber-d), 0 30px 70px -20px #000; background: var(--hull); }
.lens-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 1.2s var(--ease), transform 6s linear; }
.lens-photo img.on { opacity: 1; transform: scale(1); }
.lens-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 214, .45) 50%, transparent 65%); transform: translateX(-120%); animation: flare 5.5s var(--ease) infinite; mix-blend-mode: soft-light; }
.lens-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%; box-shadow: inset 0 0 60px rgba(7, 11, 18, .75); pointer-events: none; }
@keyframes flare { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes spin { to { transform: rotate(360deg); } }
.lens-tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); background: var(--deep); border: 1.5px solid var(--amber-d); border-radius: 999px; padding: 9px 20px; text-align: center; white-space: nowrap; box-shadow: 0 10px 30px -10px #000; }
.lens-tag span { display: block; font-family: var(--label); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--foam); line-height: 1.3; }
.lens-tag b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--lamp); letter-spacing: .04em; line-height: 1.2; }
.lens-dots { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.lens-dots button { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--amber); background: transparent; cursor: pointer; padding: 0; transition: .3s; }
.lens-dots button.on { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.lens-flag { position: absolute; left: 3%; top: 8%; width: 70px; animation: sway 4s ease-in-out infinite; transform-origin: 6px 4px; }
@keyframes sway { 50% { transform: rotate(-7deg); } }
@media (max-width: 991px) { .lens { width: min(420px, 92%); margin-top: 40px; } }

/* ---------- signal flags marquee ---------- */
.flags { position: relative; background: var(--hull); border-top: 1px solid rgba(238, 241, 244, .07); border-bottom: 1px solid rgba(238, 241, 244, .07); overflow: hidden; padding: 26px 0 20px; }
.flags::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--fog3) 0 6px, transparent 6px 9px); opacity: .5; }
.flags-track { display: flex; width: max-content; animation: drift 46s linear infinite; }
.flags:hover .flags-track { animation-play-state: paused; }
.flags-set { display: flex; align-items: flex-start; }
.flag-item { display: flex; align-items: flex-start; gap: 14px; padding-right: 46px; white-space: nowrap; }
.flag-item svg { width: 34px; height: 40px; flex: none; transform-origin: top center; animation: flutter 2.6s ease-in-out infinite; }
.flag-item:nth-child(2n) svg { animation-delay: -1.1s; }
.flag-item span { font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em; color: var(--fog); padding-top: 6px; }
.flag-item span b { color: var(--amber); font-weight: 400; }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes flutter { 50% { transform: skewY(-6deg) scaleX(.94); } }

/* ---------- porthole photo ---------- */
.porthole { position: relative; aspect-ratio: 1; border-radius: 50%; padding: 4.5%; background: conic-gradient(from 20deg, #6b4c12, var(--amber), #8d6416, var(--amber-d), #5c400d, var(--amber), #6b4c12); box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .8); }
.porthole::before { content: ""; position: absolute; inset: 1.6%; border-radius: 50%; background: radial-gradient(circle, transparent 66%, transparent 0) ; border: 2px dashed rgba(12, 19, 30, .45); pointer-events: none; z-index: 2; }
.porthole-in { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--hull); box-shadow: inset 0 0 0 5px var(--deep); }
.porthole-in img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.in .porthole-in img, .porthole.in .porthole-in img { transform: scale(1); }
.porthole-in::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -100%; height: 100%; background: linear-gradient(180deg, rgba(127, 224, 207, .55), rgba(47, 158, 140, .2)); border-radius: 40% 45% 0 0; transition: bottom 1.4s var(--ease); }
.js .porthole:not(.in) .porthole-in::after { bottom: 0; }
.porthole-in::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 40%); pointer-events: none; }
.bolt { position: absolute; width: 4.2%; height: 4.2%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe9b0, #8d6416 70%); z-index: 3; }
.ph-cap { position: absolute; right: 2%; bottom: 8%; z-index: 4; background: var(--buoy); color: #fff; font-family: var(--label); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6); }

/* ---------- intro (lamp room) ---------- */
.bearings { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.bearings li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.bearings b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.2rem; letter-spacing: .02em; }
.bearings span { color: #4a5868; font-size: .98rem; }
.brg { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--amber); font-family: var(--label); font-size: .82rem; letter-spacing: .06em; position: relative; }
.brg::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px dashed rgba(12, 19, 30, .3); animation: spin 18s linear infinite; }
.intro-photos { position: relative; padding: 0 0 60px; }
.intro-photos .porthole.p1 { width: 82%; }
.intro-photos .porthole.p2 { width: 46%; position: absolute; right: 0; bottom: 0; }

/* ---------- services: the course chart ---------- */
.chart-sec { background: radial-gradient(ellipse at 50% 0%, #1a2a3e 0%, var(--deep) 60%); overflow: hidden; }
.seachart { position: relative; border-radius: 28px; background: linear-gradient(180deg, #102033, #0b1624); border: 1.5px solid rgba(127, 224, 207, .22); overflow: hidden; box-shadow: inset 0 0 120px rgba(0, 0, 0, .55); }
.seachart-svg { display: block; width: 100%; height: auto; }
.seachart .contour { fill: none; stroke: rgba(127, 224, 207, .16); stroke-width: 1.5; }
.seachart .grid-l { stroke: rgba(238, 241, 244, .05); stroke-width: 1; }
.seachart .land { fill: #1d2c3f; stroke: rgba(255, 194, 75, .35); stroke-width: 1.5; }
.seachart .route { fill: none; stroke: rgba(255, 244, 214, .45); stroke-width: 2.5; stroke-dasharray: 3 9; stroke-linecap: round; }
.seachart .route-done { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 194, 75, .6)); }
.seachart .rose { transform-origin: 120px 110px; animation: spin 90s linear infinite; }
.seachart .rose path { fill: none; stroke: rgba(255, 194, 75, .5); stroke-width: 1.3; }
.seachart .rose text { font-family: var(--label); font-size: 13px; fill: var(--amber); }
.seachart .depth { font-family: var(--label); font-size: 12px; fill: rgba(238, 241, 244, .28); font-style: italic; }
.seachart .mini-light { fill: var(--amber); }
.mini-beam { fill: rgba(255, 194, 75, .12); transform-origin: 905px 86px; animation: miniBeam 6s linear infinite; }
@keyframes miniBeam { to { transform: rotate(360deg); } }
.buoy-btn { position: absolute; transform: translate(-50%, -40px); z-index: 2; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; color: var(--fog); }
.buoy-btn .bb { width: 30px; height: 40px; transition: transform .4s var(--ease); animation: bob 3s ease-in-out infinite; }
.buoy-btn:nth-of-type(2n) .bb { animation-delay: -1.4s; }
.buoy-btn .bl { margin-top: 4px; font-family: var(--label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(7, 11, 18, .75); border: 1px solid rgba(238, 241, 244, .15); padding: 4px 10px; border-radius: 999px; white-space: nowrap; transition: .3s; }
.buoy-btn:hover .bl, .buoy-btn[aria-selected="true"] .bl { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.buoy-btn[aria-selected="true"] .bb { transform: scale(1.25); }
.buoy-btn .halo { position: absolute; left: 50%; top: 22px; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 2px solid var(--amber); opacity: 0; }
.buoy-btn[aria-selected="true"] .halo { animation: halo 1.8s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.boat { position: absolute; left: 0; top: 0; width: 46px; height: 40px; margin: -34px 0 0 -23px; pointer-events: none; z-index: 3; transition: none; }
.boat svg { width: 100%; height: 100%; animation: rock 2.2s ease-in-out infinite; transform-origin: 50% 85%; }
@keyframes rock { 50% { transform: rotate(-6deg); } }
.wake { position: absolute; width: 70px; height: 10px; margin: -6px 0 0 -70px; border-radius: 50%; background: radial-gradient(ellipse, rgba(238, 241, 244, .35), transparent 70%); pointer-events: none; }
.chart-ctrl { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 10px; z-index: 4; }
.chart-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(238, 241, 244, .3); background: rgba(7, 11, 18, .7); color: var(--fog); cursor: pointer; font-size: 1.1rem; transition: .3s; }
.chart-ctrl button:hover { border-color: var(--amber); color: var(--amber); }
.chart-ctrl .auto[aria-pressed="true"] { border-color: var(--foam); color: var(--foam); }
.chart-legend { position: absolute; left: 22px; bottom: 18px; font-family: var(--label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); z-index: 4; }
.log-panel { position: relative; margin-top: 34px; background: linear-gradient(135deg, #f6f1e3, #ebe3cd); color: var(--ink); border-radius: 26px; padding: clamp(24px, 3.5vw, 44px); overflow: hidden; box-shadow: 0 40px 80px -40px #000; }
.log-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(12, 19, 30, .07) 31px 32px); pointer-events: none; }
.log-panel::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(180deg, var(--buoy), var(--amber)); }
.log-body { position: relative; }
.log-body.swap { animation: logIn .7s var(--ease); }
@keyframes logIn { from { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.log-no { font-family: var(--label); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--buoy-d); }
.log-panel h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: .2em 0 .4em; }
.log-panel p { color: #3c4a5a; }
.log-panel .porthole { width: min(300px, 100%); margin: 0 auto; }
.aboard { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.aboard li { position: relative; padding-left: 26px; font-size: .97rem; color: #26323f; }
.aboard li::before { content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 13px; border-radius: 50%; border: 3px solid var(--foam-d); }
@media (max-width: 767px) {
  .buoy-btn .bl { display: none; }
  .buoy-btn .bb { width: 22px; height: 30px; }
  .buoy-btn { transform: translate(-50%, -30px); }
  .aboard { grid-template-columns: 1fr; }
  .chart-legend { display: none; }
}
.chart-tabs { display: none; }
@media (max-width: 767px) { .chart-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 16px 2px 4px; scrollbar-width: none; } }
.chip { flex: none; border: 1.5px solid rgba(238, 241, 244, .25); background: transparent; color: var(--fog2); font-family: var(--label); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: .3s; }
.chip:hover, .chip[aria-selected="true"], .chip.on { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* ---------- light sequence (pinned) ---------- */
.seq { position: relative; height: 320vh; background: var(--abyss); }
.seq-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.seq-bg { position: absolute; inset: 0; opacity: .14; }
.seq-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.seq-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--abyss) 20%, transparent 60%, var(--abyss)); }
.tower { position: relative; width: min(440px, 100%); aspect-ratio: 4 / 5; margin: 0 auto; }
.tower svg { width: 100%; height: 100%; overflow: visible; }
.tower .beam-g { transform-origin: 220px 128px; }
.tower .win { fill: #2a3a4f; transition: fill .5s; }
.tower .win.on { fill: var(--amber); }
.seq-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.seq-steps li { position: relative; padding: 18px 22px 18px 76px; border-radius: 18px; border: 1px solid rgba(238, 241, 244, .08); background: rgba(19, 28, 42, .5); opacity: .4; transform: translateX(14px); transition: .6s var(--ease); }
.seq-steps li.on { opacity: 1; transform: none; border-color: rgba(255, 194, 75, .45); background: rgba(28, 40, 56, .85); box-shadow: 0 20px 40px -24px rgba(255, 194, 75, .35); }
.seq-steps li b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .03em; color: #fff; }
.seq-steps li span { color: var(--fog3); font-size: .98rem; }
.seq-steps li i { position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--label); font-size: .8rem; background: var(--swell); color: var(--amber); }
.seq-steps li.on i { background: var(--amber); color: var(--ink); box-shadow: 0 0 20px rgba(255, 194, 75, .7); }
@media (max-width: 991px) {
  .seq { height: auto; }
  .seq-stick { position: relative; height: auto; padding: 90px 0; }
  .tower { width: min(280px, 70%); }
  .seq-steps li { opacity: 1; transform: none; }
}

/* ---------- tide planner ---------- */
.planner { background: var(--hull); border-radius: 30px; border: 1px solid rgba(238, 241, 244, .08); padding: clamp(22px, 3.5vw, 46px); box-shadow: 0 50px 100px -50px #000; }
.field { margin-bottom: 22px; }
.field label, .lbl { display: flex; justify-content: space-between; gap: 10px; font-family: var(--label); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog3); margin-bottom: 8px; }
.field output { color: var(--amber); font-weight: 600; letter-spacing: .04em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--foam) var(--p, 50%), var(--rope) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); border: 4px solid var(--abyss); box-shadow: 0 0 0 2px var(--amber); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); border: 4px solid var(--abyss); box-shadow: 0 0 0 2px var(--amber); cursor: pointer; }
.goal-in { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--rope); background: var(--deep); color: var(--fog); font: inherit; }
.goal-in:focus { border-color: var(--amber); outline: none; }
.tide-chart { position: relative; background: linear-gradient(180deg, #0b1522, #0e1b2b); border-radius: 22px; border: 1px solid rgba(127, 224, 207, .15); overflow: hidden; }
.tide-chart svg { display: block; width: 100%; height: auto; }
.tc-in { fill: rgba(238, 241, 244, .2); stroke: var(--fog3); stroke-width: 1.5; }
.tc-grow { fill: url(#tcGrad); stroke: var(--foam); stroke-width: 2.5; }
.tc-goal { stroke: var(--amber); stroke-width: 2; stroke-dasharray: 8 6; }
.tc-goal-t { fill: var(--amber); font-family: var(--label); font-size: 13px; }
.tc-axis { fill: var(--mist); font-family: var(--label); font-size: 12px; }
.tc-boat { transition: transform .8s var(--ease); }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.readout div { background: var(--deep); border-radius: 16px; padding: 14px 16px; border: 1px solid rgba(238, 241, 244, .06); }
.readout span { display: block; font-family: var(--label); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.readout b { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--lamp); letter-spacing: .02em; }
.readout .g b { color: var(--foam); }
.plan-note { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 194, 75, .08); border: 1px dashed rgba(255, 194, 75, .45); font-size: .98rem; color: var(--fog2); }
.plan-note a { font-weight: 700; }
.legend-row { display: flex; gap: 18px; font-family: var(--label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fog3); padding: 12px 16px 0; }
.legend-row i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 575px) { .readout { grid-template-columns: 1fr; } }

/* ---------- keeper's tips (light list) ---------- */
.lightlist { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(12, 19, 30, .12); counter-reset: none; }
.lightlist li { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 26px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(12, 19, 30, .12); position: relative; overflow: hidden; }
.lightlist li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 194, 75, .28), transparent 60%); transform: translateX(-101%); transition: transform 1.1s var(--ease); }
.lightlist li.in::before { animation: sweepRow 1.6s var(--ease) forwards; }
@keyframes sweepRow { 0% { transform: translateX(-101%); } 60% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(40%); opacity: 0; } }
.ll-lamp { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--deep); display: grid; place-items: center; }
.ll-lamp::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--rope); transition: .5s; }
.in .ll-lamp::before { background: var(--amber); box-shadow: 0 0 0 6px rgba(255, 194, 75, .25), 0 0 30px var(--amber); animation: lampChar 4s infinite; }
.lightlist li:nth-child(2) .ll-lamp::before { animation-delay: -.7s; } .lightlist li:nth-child(3) .ll-lamp::before { animation-delay: -1.4s; }
.lightlist li:nth-child(4) .ll-lamp::before { animation-delay: -2.1s; } .lightlist li:nth-child(5) .ll-lamp::before { animation-delay: -2.8s; } .lightlist li:nth-child(6) .ll-lamp::before { animation-delay: -3.4s; }
@keyframes lampChar { 0%, 30%, 100% { opacity: 1; } 35%, 45% { opacity: .2; } 50%, 60% { opacity: 1; } 65%, 72% { opacity: .2; } }
.ll-lamp small { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-family: var(--label); font-size: .72rem; letter-spacing: .16em; color: var(--foam-d); white-space: nowrap; }
.lightlist h3 { margin: 0; font-size: clamp(1.4rem, 2.3vw, 1.9rem); position: relative; }
.lightlist p { margin: 0; color: #3c4a5a; position: relative; }
@media (max-width: 767px) { .lightlist li { grid-template-columns: 70px 1fr; gap: 14px 18px; } .lightlist p { grid-column: 1 / -1; } }

/* ---------- message in a bottle testimonials ---------- */
.bottles-sec { background: linear-gradient(180deg, var(--deep), #0f1b2b 70%, #132235); overflow: hidden; }
.shore { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 40px); flex-wrap: wrap; margin-bottom: 36px; }
.bottle { background: none; border: 0; padding: 0; cursor: pointer; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--fog3); font-family: var(--label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.bottle svg { width: 58px; height: 130px; transition: transform .7s var(--ease); animation: float 4s ease-in-out infinite; transform-origin: 50% 80%; }
.bottle:nth-child(2) svg { animation-delay: -1s; } .bottle:nth-child(3) svg { animation-delay: -2s; } .bottle:nth-child(4) svg { animation-delay: -3s; } .bottle:nth-child(5) svg { animation-delay: -1.5s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(4deg); } }
.bottle .cork { transition: transform .6s var(--ease); transform-origin: 29px 12px; }
.bottle[aria-selected="true"] svg { animation: none; transform: rotate(-24deg) translateY(-12px); }
.bottle[aria-selected="true"] .cork { transform: translate(14px, -26px) rotate(40deg); }
.bottle[aria-selected="true"] span { color: var(--amber); }
.bottle:hover svg { transform: translateY(-10px); }
.scroll-note { position: relative; max-width: 780px; margin: 0 auto; padding: 46px clamp(24px, 5vw, 64px); background: linear-gradient(180deg, #f8f2df, #efe4c6); color: #2a2418; border-radius: 6px; box-shadow: 0 40px 80px -40px #000; }
.scroll-note::before, .scroll-note::after { content: ""; position: absolute; left: -14px; right: -14px; height: 26px; border-radius: 14px; background: linear-gradient(180deg, #e2d2a6, #c8b480 60%, #a8925a); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .5); }
.scroll-note::before { top: -13px; } .scroll-note::after { bottom: -13px; }
.note-body { transform-origin: top; }
.note-body.unroll { animation: unroll .9s var(--ease); }
@keyframes unroll { from { clip-path: inset(0 0 100% 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.note-body blockquote { margin: 0 0 18px; font-family: var(--accent); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; }
.note-body cite { font-family: var(--label); font-style: normal; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--buoy-d); }
.note-body cite::before { content: "~ "; }

/* ---------- newsletter (night watch) ---------- */
.watch { position: relative; overflow: hidden; background: radial-gradient(ellipse at 20% 0%, #23324a, var(--abyss) 65%); }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.4px 1.4px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #fff, transparent), radial-gradient(1.2px 1.2px at 200px 20px, #fff, transparent), radial-gradient(1px 1px at 60px 140px, #fff, transparent), radial-gradient(1.6px 1.6px at 260px 120px, #ffe7b0, transparent); background-size: 300px 170px; opacity: .45; animation: twinkle 6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
.watch-card { position: relative; background: rgba(19, 28, 42, .72); border: 1px solid rgba(255, 194, 75, .3); border-radius: 30px; padding: clamp(26px, 4vw, 54px); backdrop-filter: blur(6px); }
.moon { position: absolute; right: 8%; top: 40px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff9e6, #f1dfa8 60%, #c9b071); box-shadow: 0 0 60px rgba(255, 244, 214, .45); }
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset -18px -8px 0 rgba(7, 11, 18, .55); }

/* ---------- forms ---------- */
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input { flex: 1 1 220px; }
.inp, .form-row input, select.inp, textarea.inp {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--rope); background: var(--deep); color: var(--fog); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.inp:focus, .form-row input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 194, 75, .15); }
.light .inp { background: #fff; color: var(--ink); border-color: #cdd5dd; }
textarea.inp { min-height: 150px; resize: vertical; }
.fl { display: block; font-family: var(--label); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 7px; color: var(--fog3); }
.light .fl { color: #4a5868; }
.err { display: none; color: var(--buoy); font-size: .88rem; margin-top: 6px; }
.invalid .err { display: block; }
.invalid .inp, .invalid input { border-color: var(--buoy) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--amber); flex: none; }
.form-ok { display: none; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(127, 224, 207, .12); border: 1px solid var(--foam-d); color: var(--foam); }
.light .form-ok { color: #13685b; background: rgba(47, 158, 140, .1); }
.form-ok.show { display: block; animation: logIn .6s var(--ease); }
.svc-hint { display: none; margin-top: 8px; font-size: .9rem; color: var(--foam-d); }
.svc-hint.show { display: block; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0; text-align: center; background: var(--abyss); }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; transform: scale(1.1); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(7, 11, 18, .35), var(--abyss) 80%); }
.cta-beam { position: absolute; z-index: 1; left: 50%; top: -40%; width: 160%; height: 180%; margin-left: -80%; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255, 194, 75, .22) 12deg, transparent 26deg, transparent 180deg, rgba(255, 194, 75, .15) 192deg, transparent 206deg); animation: spin 14s linear infinite; pointer-events: none; }
.cta .container { z-index: 2; }
.cta h2 { font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; }
.cta p { max-width: 640px; margin: 0 auto 30px; color: var(--fog2); }
.cta .btns { justify-content: center; }

/* ---------- page banner ---------- */
.banner { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 170px) 0 clamp(90px, 10vw, 130px); background: var(--abyss); }
.banner-img { position: absolute; inset: 0; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; opacity: .35; animation: kb 22s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, -1%); } }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 11, 18, .95) 0%, rgba(7, 11, 18, .6) 60%, rgba(7, 11, 18, .85)); }
.banner-sweep { position: absolute; z-index: 1; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 194, 75, .18), transparent); animation: bannerSweep 7s var(--ease) infinite; pointer-events: none; }
@keyframes bannerSweep { 0% { left: -40%; } 60%, 100% { left: 120%; } }
.banner .container { z-index: 2; }
.banner h1 { color: #fff; max-width: 900px; }
.banner p.lead { max-width: 660px; }
.crumbs { font-family: var(--label); font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog3); margin-bottom: 18px; }
.crumbs a { color: var(--amber); }
.crumbs span { margin: 0 8px; color: var(--mist); }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: 70px; pointer-events: none; overflow: hidden; }
.waves svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.waves .w1 { animation: waveMove 16s linear infinite; }
.waves .w2 { animation: waveMove 10s linear infinite reverse; opacity: .6; }
@keyframes waveMove { to { transform: translateX(-50%); } }

/* ---------- about page ---------- */
.prisms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 26px; overflow: hidden; border: 1px solid rgba(12, 19, 30, .1); }
.prism { position: relative; padding: 34px 30px; background: #fff; border-right: 1px solid rgba(12, 19, 30, .08); border-bottom: 1px solid rgba(12, 19, 30, .08); overflow: hidden; transition: background .4s; }
.prism::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; background: conic-gradient(from 200deg, transparent, rgba(255, 194, 75, .35), transparent 30%); border-radius: 50%; transition: transform .8s var(--ease); }
.prism:hover { background: #fffaf0; }
.prism:hover::before { transform: rotate(140deg) scale(1.3); }
.prism .pn { font-family: var(--label); font-size: .8rem; letter-spacing: .2em; color: var(--buoy-d); }
.prism h3 { margin: 10px 0 10px; }
.prism p { color: #4a5868; margin: 0; font-size: .98rem; }
@media (max-width: 991px) { .prisms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .prisms { grid-template-columns: 1fr; } }
.logbook { position: relative; list-style: none; padding: 0; margin: 0; }
.logbook::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, var(--amber) 0 8px, transparent 8px 14px); }
.logbook li { position: relative; padding: 0 0 34px 82px; }
.logbook li:last-child { padding-bottom: 0; }
.logbook .lb-mark { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--hull); border: 2px solid var(--amber); font-family: var(--label); color: var(--amber); }
.logbook h3 { color: #fff; margin-bottom: 6px; }
.logbook p { color: var(--fog3); margin: 0; }
.compass-photo { position: relative; }
.compass-photo .porthole { width: 88%; margin: 0 auto; }

/* ---------- services page: moorings ---------- */
.moorings { position: relative; }
.rope-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.rope-base { fill: none; stroke: rgba(255, 194, 75, .15); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; }
.rope-line { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 194, 75, .5)); }
.rope-buoy { fill: var(--buoy); stroke: var(--abyss); stroke-width: 3; }
.mooring { position: relative; z-index: 1; padding: 50px 0; }
.mooring .porthole { width: min(400px, 90%); margin: 0 auto; }
.moor-no { font-family: var(--label); font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; color: var(--foam); display: flex; align-items: center; gap: 12px; }
.moor-no::after { content: ""; flex: 0 0 80px; height: 1px; background: linear-gradient(90deg, var(--foam), transparent); }
.mooring h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: #fff; margin: 12px 0 14px; }
.mooring .aboard li { color: var(--fog2); }
.mooring .aboard li::before { border-color: var(--amber); }
.fitbox { margin: 0 0 26px; padding: 16px 20px; border-left: 3px solid var(--buoy); background: rgba(255, 90, 78, .07); border-radius: 0 14px 14px 0; color: var(--fog2); font-size: .98rem; }
.fitbox b { font-family: var(--label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--buoy); display: block; margin-bottom: 2px; }
.finder { background: var(--hull); border-radius: 26px; padding: clamp(24px, 4vw, 46px); border: 1px solid rgba(238, 241, 244, .08); }
.finder-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.finder-out { min-height: 64px; padding: 18px 20px; border-radius: 16px; background: var(--deep); border: 1px dashed rgba(255, 194, 75, .4); color: var(--fog2); }
.faq details { border-bottom: 1px solid rgba(12, 19, 30, .12); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative; font-family: var(--display); font-size: 1.3rem; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid var(--foam-d); transition: .3s; }
.faq details[open] summary::after { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 14px var(--amber); }
.faq details p { color: #3c4a5a; padding-bottom: 20px; margin: 0; }

/* ---------- blog ---------- */
.entry { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 26px; overflow: hidden; background: var(--hull); border: 1px solid rgba(238, 241, 244, .07); margin-bottom: 34px; transition: transform .5s var(--ease), box-shadow .5s; }
.entry:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px #000; }
.entry-img { position: relative; overflow: hidden; min-height: 300px; }
.entry-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.entry:hover .entry-img img { transform: scale(1.06); }
.entry-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 244, 214, .3) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1.1s var(--ease); }
.entry:hover .entry-img::after { transform: translateX(100%); }
.entry-txt { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.entry-tag { font-family: var(--label); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--foam); margin-bottom: 10px; }
.entry h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.entry h2 a { color: #fff; }
.entry h2 a:hover { color: var(--amber); }
.entry p { color: var(--fog3); }
.entry:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
.entry:nth-child(even) .entry-img { order: 2; }
@media (max-width: 767px) { .entry, .entry:nth-child(even) { grid-template-columns: 1fr; } .entry:nth-child(even) .entry-img { order: 0; } .entry-img { min-height: 220px; } }
.side-box { background: var(--hull); border-radius: 22px; padding: 28px; border: 1px solid rgba(238, 241, 244, .07); margin-bottom: 26px; }
.side-box h3 { font-size: 1.4rem; color: #fff; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li + li { border-top: 1px solid rgba(238, 241, 244, .08); }
.side-box li a { display: block; padding: 12px 0; color: var(--fog2); line-height: 1.45; }
.side-box li a:hover { color: var(--amber); }
.side-box .inp { margin-bottom: 10px; }
.article { font-size: 1.08rem; }
.article .art-img { border-radius: 24px; overflow: hidden; margin-bottom: 34px; aspect-ratio: 16 / 9; }
.article .art-img img { width: 100%; height: 100%; object-fit: cover; }
.article p { color: var(--fog2); }
.article h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; margin-top: 1.4em; }
.article > p:first-of-type::first-letter { float: left; font-family: var(--display); font-size: 4.2rem; line-height: .85; padding: 8px 12px 0 0; color: var(--amber); }
.article .tipbox { margin: 30px 0; padding: 22px 24px; border-radius: 18px; background: rgba(255, 194, 75, .08); border: 1px solid rgba(255, 194, 75, .35); }
.article .tipbox b { font-family: var(--label); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--amber); display: block; margin-bottom: 4px; }
.article .tipbox p { margin: 0; }
.read-prog { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--foam), var(--amber)); z-index: 200; }

/* ---------- contact ---------- */
.contact-card { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -50px rgba(12, 19, 30, .6); }
.info-stack { display: grid; gap: 16px; }
.info-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--deep); color: var(--fog); }
.info-item i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--swell); color: var(--amber); font-style: normal; }
.info-item i svg { width: 24px; height: 24px; }
.info-item span { display: block; font-family: var(--label); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }
.info-item a, .info-item b { color: var(--fog); font-weight: 600; }
.info-item a:hover { color: var(--amber); }
.map { border-radius: 24px; overflow: hidden; border: 4px solid var(--deep); aspect-ratio: 16 / 7; min-height: 300px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- legal ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.7rem; margin-top: 1.6em; }
.legal p, .legal li { color: #3c4a5a; }

/* ---------- subscribe pages ---------- */
.sub-card { background: var(--hull); border-radius: 30px; overflow: hidden; border: 1px solid rgba(238, 241, 244, .08); }
.sub-img { position: relative; min-height: 340px; height: 100%; }
.sub-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sub-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--hull)); }
.sub-body { padding: clamp(26px, 4vw, 54px); }
.perks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.perks li { padding-left: 28px; position: relative; color: var(--fog2); }
.perks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(255, 194, 75, .7); }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--deep); padding: 110px 0 0; color: var(--fog3); overflow: hidden; }
.ftr .waves { top: -1px; bottom: auto; height: 60px; transform: scaleY(-1); }
.ftr h4 { font-family: var(--display); font-weight: 400; color: #fff; font-size: 1.3rem; letter-spacing: .04em; margin-bottom: 18px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 9px; }
.ftr a { color: var(--fog3); }
.ftr a:hover { color: var(--amber); }
.ftr .brand img { height: 46px; margin-bottom: 20px; }
.ftr-about { max-width: 360px; font-size: .98rem; }
.ftr-contact li { display: flex; gap: 10px; font-size: .97rem; }
.ftr-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--amber); }
.ftr-sub .form-row input { padding: 12px 14px; font-size: .95rem; }
.ftr-sub .btn { padding: 12px 18px; }
.ftr-bottom { margin-top: 70px; padding: 22px 0; border-top: 1px solid rgba(238, 241, 244, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; font-family: var(--label); letter-spacing: .05em; }
.ftr-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr-light { position: absolute; right: 4%; bottom: 60px; width: 150px; opacity: .14; pointer-events: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-l, .js .rv-r { opacity: 1; transform: none; }
  .glint .w { opacity: 1; filter: none; }
  .iris { display: none; }
}
.boat .flip { display: block; width: 100%; height: 100%; transition: transform .3s; }
.ll-lamp { margin-left: 12px; }
.ftr .container { z-index: 1; }
.log-panel .btn-line { border-color: rgba(12, 19, 30, .3); color: var(--ink); background: transparent; }
.log-panel .btn-line:hover { border-color: var(--foam-d); color: #13685b; }
.planner-bg { position: absolute; inset: 0; opacity: .12; }
.planner-bg img { width: 100%; height: 100%; object-fit: cover; }
.planner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--deep), transparent 30%, transparent 70%, var(--deep)); }
main, .ftr { overflow-x: clip; }
[id] { scroll-margin-top: 100px; }
@media (max-width: 991px) { .g-5 { --bs-gutter-x: 1.5rem; } }
@media (max-width: 767px) { .lightlist li { row-gap: 30px; } }
@media (max-width: 991px) {
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 11, 18, .96); }
  .nav { visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
  .nav-open .nav { visibility: visible; transition: transform .55s var(--ease); }
  .nav-toggle { position: relative; z-index: 2; }
}
@media (max-width: 575px) { .tb-lamp { display: none; } }
