/* =====================================================================
   OC Direct Auto Glass: "Dressed Harbor" WOW LAYER (homepage, 2026-11-24)
   Hoist intro · cloth-rippling flags with pointer wind · sunrise sky + Pacific swell · tilting glass photo with
   glare + seal · scroll-speed signal ticker · rope progress on the mast · departures-board price flaps ·
   bobbing buoys on a nautical chart · lighthouse beam on the night band. All off under prefers-reduced-motion.
   ===================================================================== */

/* ---------- film grain: sailcloth texture over everything ---------- */
body::before { content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E"); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =====================================================================
   INTRO: the hoist (first visit per session; pure CSS timing, can never strand the page)
   ===================================================================== */
.curtain { display: none; }
.hoisting .curtain { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); animation: curtainUp .9s cubic-bezier(.7, 0, .18, 1) 1.55s forwards; }
.cu-hoist { display: flex; gap: clamp(6px, 1.4vw, 16px); position: relative; padding-top: 14px; }
.cu-hoist::before { content: ""; position: absolute; left: -30px; right: -30px; top: 0; border-top: 2px dashed rgba(255, 255, 255, .5);
  transform-origin: 0 50%; animation: drawX .7s var(--ease) both; }
.cu-f { display: flex; flex-direction: column; align-items: center; gap: 8px; animation: hoistIn .7s var(--ease) both; animation-delay: calc(.25s + var(--i) * 70ms); }
.cu-flag { width: clamp(30px, 6vw, 64px); height: auto; transform-origin: 50% 0; animation: sway 1.4s ease-in-out infinite alternate; }
.cu-f b { font: 700 12px/1 var(--display); letter-spacing: .1em; color: var(--yellow-2); }
.cu-word { margin: 0; font: 700 clamp(18px, 2.6vw, 26px)/1 var(--display); color: #fff; letter-spacing: .02em; animation: riseIn .7s var(--ease) .8s both; }
@keyframes curtainUp { to { transform: translateY(-101%); visibility: hidden; } }
@keyframes drawX { from { transform: scaleX(0); } to { transform: none; } }
/* hero entrances wait for the curtain */
.hoisting .h1 .ln > span { animation-delay: calc(1.75s + var(--i) * .1s); }
.hoisting .rise { animation-delay: calc(var(--d, 0s) + 1.6s); }
.hoisting .hp-frame { animation-delay: 1.7s; }
.hoisting .hf .flag { animation-delay: calc(1.6s + var(--i) * 90ms), calc(2.6s + var(--i) * -.55s); }

/* =====================================================================
   HERO: sunrise sky, sun, gulls, swell
   ===================================================================== */
.hero { background: linear-gradient(180deg, #fcf0db 0%, var(--sail) 30%, #eef1f2 72%, #d6e2ec 100%); padding-bottom: clamp(96px, 9vw, 132px); isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sun { position: absolute; right: 8%; top: 70px; width: clamp(160px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 14, .7) 0%, rgba(255, 170, 40, .26) 36%, rgba(255, 194, 14, 0) 70%);
  animation: sunPulse 7s ease-in-out infinite alternate; transform: translateY(calc(var(--sy, 0) * 1px)); }
@keyframes sunPulse { from { opacity: .75; scale: .96; } to { opacity: 1; scale: 1.05; } }
.gull { position: absolute; width: 26px; height: 10px; top: 120px; left: -40px; opacity: .55;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 8 Q7 1 13 7 Q19 1 25 8' fill='none' stroke='%230e1116' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  animation: glide 34s linear infinite; }
.gull.g2 { top: 175px; width: 18px; animation-duration: 46s; animation-delay: -18s; opacity: .4; }
@keyframes glide { from { transform: translateX(0) translateY(0); } 50% { transform: translateX(55vw) translateY(-26px); } to { transform: translateX(110vw) translateY(6px); } }

/* flags ripple like cloth; the pointer's wind leans them (--wind from home-wow.js) */
.hf .flag { filter: url(#cloth) drop-shadow(0 6px 6px rgba(14, 17, 22, .16)); }
.hf { transform: translateX(-50%) rotate(calc(var(--wind, 0) * 1deg)); transform-origin: 50% 0; transition: transform .9s var(--ease); }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 9vw, 130px); z-index: 0; pointer-events: none; overflow: hidden; }
.waves path { animation: swell 14s linear infinite; }
.waves .w1 { fill: rgba(29, 62, 143, .2); }
.waves .w2 { fill: rgba(29, 62, 143, .34); animation-duration: 10s; animation-direction: reverse; }
.waves .w3 { fill: var(--sail-2); animation-duration: 18s; }
@keyframes swell { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
.hero-grid { z-index: 1; }

/* photo: glass card that tilts toward the pointer, with glare and a periodic sheen across the glass */
.hero-photo { perspective: 1100px; }
.hp-frame { transform-style: preserve-3d; transition: box-shadow .5s var(--ease);
  transform: rotateX(calc(var(--my, 0) * -5deg)) rotateY(calc(var(--mx, 0) * 7deg)); }
.glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(circle at calc(50% + var(--mx, 0) * 40%) calc(50% + var(--my, 0) * 40%), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 55%); }
.hp-frame:hover .glare { opacity: 1; }
.sheen { position: absolute; inset: -20% auto -20% -60%; width: 40%; pointer-events: none; transform: skewX(-18deg) translateX(0);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0)); animation: sheen 7s var(--ease) 2.4s infinite; }
@keyframes sheen { 0% { transform: skewX(-18deg) translateX(0); } 22%, 100% { transform: skewX(-18deg) translateX(420%); } }

/* rotating seal breaking the photo corner */
.seal { position: absolute; left: -46px; bottom: 34px; width: 132px; height: 132px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(14, 17, 22, .6); z-index: 2; animation: riseIn 1s var(--ease) both; animation-delay: 1s; }
.hoisting .seal { animation-delay: 2.3s; }
.seal > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font: 700 13.4px/1 var(--display); letter-spacing: .19em; fill: #fff; }
.seal-flag { width: 46px; height: auto; position: relative; transform-origin: 50% 0; animation: sway 3s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .seal { left: auto; right: -6px; bottom: 60px; width: 104px; height: 104px; } .seal text { font-size: 12.6px; } .seal-flag { width: 36px; } }
@media (max-width: 420px) { .seal { width: 88px; height: 88px; bottom: 54px; } .seal-flag { width: 30px; } }

/* highlighter under "in Newport Beach" draws in */
.h1 .l-place { background-size: 0% 100%; background-repeat: no-repeat; animation: lineUp 1s var(--ease) both, mark .9s var(--ease) forwards; animation-delay: .5s, 1.05s; }
.hoisting .h1 .l-place { animation-delay: 2.05s, 2.6s; }
@keyframes mark { to { background-size: 100% 100%; } }

/* =====================================================================
   magnetic buttons + lacquer sheen
   ===================================================================== */
[data-mag] { transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform .5s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
@media (hover: hover) { [data-mag]:hover { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px)); } }
.btn-sig::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg); z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); animation: btnSheen 5.5s var(--ease) 3s infinite; }
@keyframes btnSheen { 0% { left: -40%; } 18%, 100% { left: 130%; } }

/* =====================================================================
   SIGNAL TICKER
   ===================================================================== */
.ticker { position: relative; background: var(--ink); border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); overflow: hidden; padding: 20px 0; }
.tk-track { display: flex; width: max-content; will-change: transform; transform: translateX(var(--tkx, 0px)); }
.tk-set { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.tk-w { font: 700 clamp(22px, 3vw, 38px)/1 var(--display); color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.tk-o { color: transparent; -webkit-text-stroke: 1.3px var(--yellow-2); }
.tk-flag { width: 46px; height: auto; flex: none; transform-origin: 50% 0; animation: sway 2.6s ease-in-out infinite alternate; }

/* =====================================================================
   SERVICES: rope progress on the mast, photo wipe, hover zoom
   ===================================================================== */
.mast { counter-reset: none; }
.mast-rope { position: absolute !important; left: 6px !important; top: -10px; bottom: -10px; width: 3px !important; padding: 0 !important; display: block !important; background: none !important; transform: none !important; }
.mast-rope::before { display: none; }
.mast-rope i { position: absolute; left: 0; top: 0; width: 3px; height: calc(var(--mp, 0) * 100%); background: linear-gradient(var(--red), var(--yellow), var(--blue)); border-radius: 2px; }
.mast li[data-v].on .mast-flag { filter: url(#cloth); }
.svc-photo img { transition: transform .9s var(--ease), clip-path 1.1s var(--ease); clip-path: inset(100% 0 0 0); }
.svc-card.in .svc-photo img, .no-io .svc-photo img { clip-path: inset(0 0 0 0); }
@media (hover: hover) { .svc-card:hover .svc-photo img { transform: scale(1.06); } .svc-card:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); } }
.svc-card { position: relative; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease);
  background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 50%, var(--blue) 50% 75%, var(--ink) 75%); }
.svc-card.on::before { transform: none; }

/* =====================================================================
   section headings wipe in; why numbers fill; parallax photos
   ===================================================================== */
.h2.ro { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.h2.ro.in, .no-io .h2.ro { clip-path: inset(-10% -2% -20% 0); }
.why-item.in .why-n { animation: fillN 1.2s var(--ease) .3s forwards; }
@keyframes fillN { to { color: var(--yellow); -webkit-text-stroke-color: var(--ink); } }
.why-photo { overflow: hidden; }
.why-photo img { transform: translateY(calc(var(--py, 0) * 1px)) scale(1.12); }
@media (hover: hover) { .mob-photo img { transition: transform .7s var(--ease), box-shadow .7s var(--ease); } .mob-photo:hover img { transform: translate(-4px, 4px); box-shadow: 18px -18px 0 var(--red); } }

/* booking: pennants are hoisted one after another */
.step .pn { opacity: 0; transform: translateY(26px); }
.step.in .pn { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(.25s + var(--k) * .18s); }
.no-io .step .pn { opacity: 1; transform: none; }
.route-line .rl { stroke-dashoffset: 0; animation: ropeRun 18s linear infinite; }
@keyframes ropeRun { to { stroke-dashoffset: -280; } }

/* =====================================================================
   PRICE BOARD: harbor departures board with split flaps
   ===================================================================== */
.board { background: var(--ink); }
.board tbody th { color: #fff; }
.board th, .board td { border-bottom-color: rgba(255, 255, 255, .1); }
.board tbody .bp { color: var(--yellow-2); }
.board thead .bp { color: var(--ink); }
.board tbody td.bp.long { color: #e8ebef; }
.board .flap { display: inline-block; min-width: .62em; text-align: center; padding: 0 1px; margin: 0 1px; border-radius: 2px;
  background: linear-gradient(#1c222b 0 49%, #11161c 51%); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06); }
.board .flap.flip { animation: flapFlip .12s linear; }
@keyframes flapFlip { 0% { transform: scaleY(1); } 50% { transform: scaleY(.1); } 100% { transform: scaleY(1); } }
@media (hover: hover) { .board tbody tr:hover { background: #1a2028; } }

/* reviews: cards tilt toward the pointer */
.review { transform: perspective(900px) rotateX(calc(var(--cy, 0) * -4deg)) rotateY(calc(var(--cx, 0) * 5deg)); transition: transform .6s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .review:hover { box-shadow: 10px 10px 0 var(--ink); } }

/* =====================================================================
   AREAS: nautical chart, bobbing buoys
   ===================================================================== */
.area { position: relative; overflow: hidden; isolation: isolate; }
.chart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.chart path { fill: none; stroke: rgba(29, 62, 143, .12); stroke-width: 1.2; stroke-dasharray: 2 5; animation: chartDrift 40s linear infinite; }
.chart text { font: 600 13px var(--display); fill: rgba(29, 62, 143, .28); }
@keyframes chartDrift { to { stroke-dashoffset: -140; } }
.mooring { position: relative; background: rgba(247, 246, 241, .92); }
.mooring.in .buoy { animation: bob 3.6s ease-in-out infinite; }
.mooring:nth-child(2n).in .buoy { animation-delay: -1.2s; }
.mooring:nth-child(3n).in .buoy { animation-delay: -2.1s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(4deg); } }
@media (hover: hover) { .mooring { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; } .mooring:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--blue); } }

/* =====================================================================
   CLOSING: night harbor with a lighthouse beam and stars
   ===================================================================== */
.close { background: radial-gradient(ellipse at 15% 110%, #1b2d55 0%, rgba(14, 17, 22, 0) 55%), var(--ink); }
.beam { position: absolute; left: -6%; bottom: -10%; width: 120vmax; height: 120vmax; pointer-events: none; transform-origin: 0 100%; z-index: 0;
  transform: translate(0, 50%); }
.beam i { position: absolute; inset: 0; transform-origin: 0 50%; animation: sweep 9s ease-in-out infinite alternate;
  background: conic-gradient(from 0deg at 0 50%, rgba(255, 215, 92, 0) 0deg, rgba(255, 215, 92, .22) 7deg, rgba(255, 215, 92, .08) 13deg, rgba(255, 215, 92, 0) 20deg, rgba(255, 215, 92, 0) 360deg); }
@keyframes sweep { from { transform: rotate(22deg); } to { transform: rotate(72deg); } }
.stars { position: absolute; inset: 0 0 45% 0; pointer-events: none; opacity: .9; background-size: 520px 300px;
  background-image: radial-gradient(1.8px 1.8px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 32% 8%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 58% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 76% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 88% 30%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 46% 40%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 46%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 94% 6%, #fff 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: .8; } }
.close-grid { z-index: 1; }
/* the lighthouse beam colours ONLY what it is shining on (user 2026-11-27): a greyscale layer (.beam-shade, backdrop
   filter) sits over the map and the weather with a cut-out shaped like the beam's wedge, drawn from the lighthouse's
   position every frame by home-wow.js (--bx/--by = lighthouse relative to the box, --ba = beam angle). Only the strip
   under the light shows colour, and it travels with the sweep. pointer-events: none, so the map stays usable.
   home-wow.js adds .beam-on only while it runs the beam: no JS / reduced motion / no backdrop-filter = full colour. */
.beam-on .map-frame, .beam-on .wx { position: relative; }
.beam-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  -webkit-backdrop-filter: grayscale(1) brightness(.8) contrast(1.05); backdrop-filter: grayscale(1) brightness(.8) contrast(1.05);
  -webkit-mask-image: conic-gradient(from calc(var(--ba, -90) * 1deg) at var(--bx, -9999px) var(--by, 0px), #000 0deg, rgba(0,0,0,.35) 3deg, transparent 6deg, transparent 13deg, rgba(0,0,0,.35) 16deg, #000 19deg, #000 360deg);
          mask-image: conic-gradient(from calc(var(--ba, -90) * 1deg) at var(--bx, -9999px) var(--by, 0px), #000 0deg, rgba(0,0,0,.35) 3deg, transparent 6deg, transparent 13deg, rgba(0,0,0,.35) 16deg, #000 19deg, #000 360deg);
  transition: opacity .45s var(--ease); }
/* warm light where the beam lands (sits under the shade's cut-out, same wedge) */
.beam-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light;
  background: conic-gradient(from calc(var(--ba, -90) * 1deg) at var(--bx, -9999px) var(--by, 0px), transparent 0deg, rgba(255, 215, 92, .55) 9deg, transparent 19deg, transparent 360deg); }
.beam-on .map-frame:hover .beam-shade, .beam-on .wx:hover .beam-shade { opacity: 0; }

/* =====================================================================
   gates
   ===================================================================== */
@media (hover: none), (pointer: coarse) { .hp-frame { transform: none; } .review { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hoisting .curtain, .curtain { display: none !important; }
  .hf .flag, .mast li.on .mast-flag { filter: drop-shadow(0 6px 6px rgba(14, 17, 22, .16)); }
  .svc-photo img { clip-path: none !important; }
  .h2.ro { clip-path: none !important; }
  .step .pn { opacity: 1 !important; transform: none !important; }
  .h1 .l-place { background-size: 100% 100% !important; }
  .why-photo img { transform: none !important; }
  .beam, .sheen, .gull, .btn-sig::after { display: none; }
}

/* =====================================================================
   WOW LAYER 2 (2026-11-25): cursor lens, flag-stripe photo reveals, word-rise headings, hero scroll-out,
   scroll-velocity skew, sea band, spotlights, ripples, compass. JS adds every element / class, so with JS off
   (or under reduced motion) nothing here hides anything.
   ===================================================================== */

/* ---------- cursor: instant dot + lagging lens that inverts what it passes over ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; mix-blend-mode: difference; }
.cur i { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; }
.cur-ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid #fff; }
.cur-ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .45s var(--ease); }
.cur-ring b { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s var(--ease); z-index: 1; }
.cur-ring b svg { width: 34%; height: 34%; fill: none; stroke: #000; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); }
.cur .cur-ring { transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s; }
.cur.is-link .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cur.is-link .cur-ring::after { transform: scale(1); }
.cur.is-link .cur-dot, .cur.is-view .cur-dot { opacity: 0; }
.cur.is-view .cur-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.cur.is-view .cur-ring::after { transform: scale(1); }
.cur.is-view .cur-ring b { opacity: 1; }
.cur.is-text .cur-ring, .cur.is-gone i { opacity: 0; }
.cur.down .cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
/* the system cursor always stays (user 2026-11-26: links must show the hand); the lens only trails it */
.cur-dot { display: none; }
a[href], button, summary, label[for], select, [role="button"], .btn { cursor: pointer; }

/* ---------- photos: four signal-colour bars lift off, the photo settles from a slow zoom ---------- */
.fx-wrap { display: block; position: relative; }
.fx-bars { position: absolute; inset: 0; z-index: 3; display: flex; pointer-events: none; overflow: hidden; border-radius: inherit; }
.fx-bars i { flex: 1; transform-origin: 50% 0; }
.fx-bars i:nth-child(1) { background: var(--red); } .fx-bars i:nth-child(2) { background: var(--yellow); }
.fx-bars i:nth-child(3) { background: var(--blue); } .fx-bars i:nth-child(4) { background: var(--ink); }
.fx-in > .fx-bars i, .fx-in.fx-bars i { animation: barUp 1s cubic-bezier(.7, 0, .18, 1) forwards; animation-delay: calc(var(--fd, 0s) + var(--b) * 95ms); }
.fx-bars i:nth-child(1) { --b: 0; } .fx-bars i:nth-child(2) { --b: 1; } .fx-bars i:nth-child(3) { --b: 2; } .fx-bars i:nth-child(4) { --b: 3; }
@keyframes barUp { to { transform: translateY(-101%); visibility: hidden; } }
.fx-host img { scale: 1.22; transition: scale 1.6s var(--ease) calc(var(--fd, 0s) + .25s), transform .9s var(--ease); }
.fx-host.fx-in img { scale: 1; }
.svc-photo.fx-host img { clip-path: none; }
.hp-frame.fx-host { --fd: .55s; } .hoisting .hp-frame.fx-host { --fd: 2.05s; }
.hp-frame.fx-host { animation: none !important; }

/* ---------- headings rise word by word from behind a mask (textContent unchanged) ---------- */
.h2.split { clip-path: none !important; }
.wd { display: inline-block; vertical-align: top; clip-path: inset(-40% -30% -.16em -30%); }
.h2.in .wd, .no-io .wd { clip-path: none; transition: clip-path 0s 1.2s; }
.wd > span { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: 0 100%; transition: transform .75s var(--ease); transition-delay: calc(var(--w) * 30ms); }
.h2.in .wd > span, .no-io .wd > span { transform: none; }

/* ---------- hero comes apart as it scrolls away (--ho 0..1 from home-wow.js) ---------- */
.h1 .ln { translate: 0 calc(var(--ho, 0) * var(--k, 1) * -46px); }
.h1 .ln:nth-child(2) { --k: 1.7; } .h1 .ln:nth-child(3) { --k: 2.4; } .h1 .ln:nth-child(4) { --k: 3.1; }
.hero-photo { translate: 0 calc(var(--ho, 0) * 70px); scale: calc(1 - var(--ho, 0) * .07); rotate: calc(var(--ho, 0) * -2.5deg); }
.hoist { translate: 0 calc(var(--ho, 0) * -90px); }
.sun { translate: calc(var(--ho, 0) * -60px) 0; }

/* ---------- scroll-velocity skew on photos and bands (--skew from home-wow.js) ---------- */
.svc-photo, .why-photo, .mob-photo .fx-wrap, .review, .seaband .sb-row { transform: skewY(var(--skew, 0deg)); }
.review { transform: perspective(900px) rotateX(calc(var(--cy, 0) * -4deg)) rotateY(calc(var(--cx, 0) * 5deg)) skewY(var(--skew, 0deg)); }

/* ---------- sea band: giant town names drifting both ways ---------- */
.seaband { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0; background: var(--sail-2); border-top: 2px solid var(--ink); display: grid; gap: clamp(8px, 1.4vw, 18px); }
.sb-row { margin: 0; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); width: max-content; white-space: nowrap; will-change: translate; translate: var(--sbx, 0px) 0; }
.sb-w { font: 700 clamp(44px, 8.4vw, 124px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.sb-o { color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.sb-flag { width: clamp(40px, 5vw, 72px); height: auto; flex: none; transform-origin: 50% 0; animation: sway 2.8s ease-in-out infinite alternate; filter: url(#cloth); }
@media (hover: hover) { .seaband:hover .sb-o { -webkit-text-stroke-color: var(--red-ink); } }

/* ---------- spotlight that follows the pointer on the dark surfaces ---------- */
.spot { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .5s var(--ease); mix-blend-mode: screen;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 215, 92, .16), rgba(255, 215, 92, 0) 65%); }
.lit:hover > .spot { opacity: 1; }
.board { position: relative; }
.ticker .spot { z-index: 2; }

/* ---------- click ripple on every button ---------- */
.rip { position: absolute; z-index: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; pointer-events: none;
  background: currentColor; opacity: .3; animation: rip .75s var(--ease) forwards; }
@keyframes rip { to { transform: scale(var(--rs, 30)); opacity: 0; } }

/* ---------- compass: scroll progress + back to top ---------- */
.compass { position: fixed; right: 22px; bottom: 22px; z-index: 65; width: 62px; height: 62px; border-radius: 50%; background: var(--ink); display: grid; place-items: center;
  box-shadow: 0 14px 28px -12px rgba(14, 17, 22, .55); opacity: 0; translate: 0 24px; pointer-events: none; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.compass.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.compass svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.compass .cp-track { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 3; }
.compass .cp-prog { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: calc(176 - var(--cp, 0) * 176); transform: rotate(-90deg); transform-origin: 50% 50%; }
.compass .cp-rose { transform: rotate(calc(var(--cp, 0) * 720deg)); transform-origin: 50% 50%; transition: transform .2s linear; }
.compass:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (hover: hover) { .compass:hover { translate: 0 -3px; } }
@media (max-width: 760px) { .compass { width: 52px; height: 52px; right: 14px; bottom: 14px; } }

@media (prefers-reduced-motion: reduce) {
  .h1 .ln, .hero-photo, .hoist, .sun, .sb-row { translate: none !important; scale: none !important; rotate: none !important; }
  .svc-photo, .why-photo, .mob-photo .fx-wrap, .seaband .sb-row { transform: none !important; }
  .sb-flag { filter: none; }
}
