/* Mooring page, the harbor: the quay and its water, the hero berth, the storage types, the pinned
   mooring scene, the sea band and the closing berth. The palette and the app's mocks are in
   mooring.css. The 3D art in img/ (hero-moor, quay-*) is rendered from the app icon's own Blender
   scene, so it shares the bollard's material and light. */

/* --glide: how far the boat has come (0 off screen, 1 at its berth). --wind: how much of the rope is
   out (0 none, 1 fast on the bollard). --slack: how loose the line hangs (1 as paid out, 0 hauled
   taut). --drop: how far the cast-off line has fallen from the bollard (0 held up, 1 down). Registered
   as numbers so they can ease between scroll positions; their initial value is the moored still that
   a reader without the script gets. */
@property --glide { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --wind { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --slack { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --drop { syntax: "<number>"; inherits: true; initial-value: 0; }

/* ---------- Harbor ground: the quay's top catches the light up to its lip, the water lies below it.
   --sea is the water's height under the lip, --deck how far up the quay's top shows. ---------- */
.hero-sea, .scene-stage, .hue-moor .final-cta { --sea: clamp(48px, 6vw, 80px); --deck: 0px; position: relative; overflow: hidden; background: linear-gradient(0deg, var(--quay), transparent) left 0 bottom var(--sea) / 100% var(--deck) no-repeat, linear-gradient(180deg, var(--harbor-top), var(--harbor-bottom)); color: var(--on-harbor-soft); }
.hero-sea, .hue-moor .final-cta { --deck: clamp(56px, 7vw, 96px); }
.hero-sea :focus-visible, .moor :focus-visible, .deep :focus-visible, .hue-moor .final-cta :focus-visible { outline-color: var(--on-harbor); }
/* The lip is a bright line and a bevel under it; below, the quay's face shades the water. */
.water { position: relative; height: var(--sea); border-top: 1.5px solid var(--quay-lip); background: linear-gradient(var(--quay), var(--quay)) 0 0 / 100% 2.5px no-repeat, linear-gradient(180deg, rgba(2, 10, 36, 0.5), rgba(2, 10, 36, 0)) 0 2.5px / 100% 18px no-repeat, linear-gradient(180deg, var(--sea-near), var(--sea-deep)); overflow: hidden; }
/* Glints: two rows of short light strokes that drift along the quay. */
.water::before, .water::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1.5px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0 64px, transparent 64px 290px); }
.water::after { top: 40%; background: repeating-linear-gradient(90deg, transparent 0 150px, rgba(255, 255, 255, 0.16) 150px 240px, transparent 240px 410px); }
/* What stands on the quay throws a soft shadow on it: the bollard of the hero, the scene and the finale. */
.berth-frame::before, .hb-frame::before, .finale::before { content: ""; position: absolute; background: radial-gradient(closest-side, rgba(2, 10, 36, 0.5), rgba(2, 10, 36, 0)); }

/* ---------- Hero: the sentence is the headline; a Finder window over the berth ---------- */
.hue-moor .hero { position: relative; z-index: 1; min-height: 0; padding-top: clamp(32px, 4.5vw, 60px); padding-bottom: 0; }
.hue-moor .hero h1 { color: var(--on-harbor); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); line-height: 1.03; letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance; }
/* Side by side, the art stands on the quay's edge and the copy keeps clear of the water. */
@media (min-width: 900px) {
  .hue-moor .hero-copy { padding-bottom: clamp(36px, 4.5vw, 60px); }
  .hue-moor .hero-art { align-self: end; }
}
.hero-sea .eyebrow { color: var(--harbor-mark); }
.hero-sea .lead, .hero-sea .meta { color: var(--on-harbor-soft); }
/* Two pills of one width and one build, a mark and a label: the store status on white, the way to
   the scene outlined, with the app's Mount glyph. */
.hero-sea .actions { flex-direction: column; align-items: stretch; width: fit-content; max-width: 100%; }
.hero-sea .btn.store:disabled, .final-cta .btn.store:disabled { border: 1px solid transparent; background: var(--on-harbor); color: var(--harbor-ink); }
.hero-sea .btn.store:disabled::before, .final-cta .btn.store:disabled::before { background: var(--rope); }
.hero-sea .btn.ghost { gap: 10px; min-height: 52px; border-color: var(--on-harbor-edge); color: var(--on-harbor); font-size: 1.02rem; }
.hero-sea .btn.ghost::before { content: ""; flex: none; width: 17px; height: 17px; background: currentColor; -webkit-mask: url(img/sf/externaldrive.connected.to.line.below.png) center / contain no-repeat; mask: url(img/sf/externaldrive.connected.to.line.below.png) center / contain no-repeat; }
.hero-sea .btn.ghost:hover { border-color: var(--on-harbor); background: var(--on-harbor-fill); color: var(--on-harbor); }
@media (max-width: 480px) { .hero-sea .actions { width: 100%; } }
/* The art is laid out on a 600-point column (380 on a phone) and scales with it. Its bottom edge is
   the quay's edge: the drive and the bollard stand on it, the line between them hangs over it. */
.hero-art { position: relative; container-type: inline-size; }
.hero-art > * { --q: calc(100cqw / 600); --b: var(--q); }
.hue-moor .hero-art .screen { min-height: 0; border-color: var(--glass-edge); background: var(--glass); box-shadow: 0 30px 60px -30px rgba(3, 14, 44, 0.6); }
.desk { padding: calc(16 * var(--q)) calc(18 * var(--q)) calc(20 * var(--q)); min-width: 0; }
/* The berth frame is the render's own frame (578 x 264 points): the bollard's axis is 467 from its
   left, the line's cut end 34 from its left and 132 from its top, behind the drive's icon. */
.berth { position: relative; z-index: 1; height: calc(204 * var(--b)); }
.berth-frame { position: absolute; right: calc(-10 * var(--b)); bottom: 0; width: calc(578 * var(--b)); aspect-ratio: 1360 / 620; }
.berth-frame::before { z-index: -1; left: 66.8%; top: 71%; width: 28%; height: 17%; }
.berth-moor { display: block; width: 100%; height: 100%; max-width: none; }
.berth-disk { position: absolute; left: calc(-11 * var(--b)); top: calc(96 * var(--b)); width: calc(132 * var(--b)); }
.berth-disk img { display: block; width: 100%; filter: drop-shadow(0 calc(8 * var(--b)) calc(10 * var(--b)) rgba(2, 10, 36, 0.4)); }
.berth-disk b { position: absolute; left: 50%; top: calc(118 * var(--b)); translate: -50% 0; color: var(--on-harbor); font: 600 max(11px, calc(12.5 * var(--b)))/1.2 var(--body); white-space: nowrap; text-shadow: 0 1px 3px rgba(2, 10, 36, 0.6); }
@media (max-width: 560px) {
  .hero-art > * { --q: calc(100cqw / 380); --b: calc(100cqw / 578); }
  .berth-frame { right: calc(-6 * var(--b)); }
}

/* ---------- Storage types: the provider badges of the app's Type list ---------- */
.ports { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.ports-lead { max-width: 62ch; margin: 0 auto; color: var(--muted); font-size: 1.05rem; text-wrap: balance; }
.ports-row { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 8px; }
.ports-row li { display: grid; justify-items: center; align-content: start; gap: 8px; color: var(--ink); font-size: 0.74rem; line-height: 1.25; text-wrap: balance; }
.ports-row img { display: block; width: 100%; max-width: 48px; aspect-ratio: 1; padding: 13%; border-radius: 27%; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
/* Narrow: the badges alone keep one row; the names are in the sentence above and in the FAQ. */
@media (max-width: 899px) {
  .ports-row { gap: 6px; }
  .ports-row span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- The mooring scene: one harbor, four states ---------- */
.moor { padding-top: clamp(56px, 8vw, 104px); background: var(--harbor-top); color: var(--on-harbor-soft); }
.moor h2, .moor h3, .moor .scene-rail { color: var(--on-harbor); }
.moor .section-lead { color: var(--on-harbor-soft); }
.moor .scene-num, .moor .scene-rail b { color: var(--harbor-mark); }
/* The note is a bar across the column, so it ends on the grid's edge whatever its length. */
.ext-note { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 10px 16px; border-radius: 14px; background: var(--on-harbor-fill); color: var(--on-harbor); font-size: var(--t-s); text-wrap: pretty; }
.ext-note .mi { width: 18px; height: 18px; }
/* What the tile and the Finder sidebar show. --idle, --busy, --on and --away are 0 or 1 and pick the
   tile's status line; --vol is 1 while the volume exists. As written (no script, or reduced motion)
   the scene is the moored still. */
.moor .scene { --idle: 0; --busy: 0; --on: 1; --away: 0; --vol: 1; }
.moor .scene-states { gap: 32px 24px; }
@media (min-width: 620px) { .moor .scene-states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .moor .scene-states { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.moor .scene:not(.live) .scene-state { grid-template-columns: minmax(0, 1fr); }
.moor .scene:not(.live) .readout { max-width: 520px; margin: 40px auto 0; }

.readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(12 * var(--q)); }
.readout > * { box-shadow: 0 calc(12 * var(--q)) calc(30 * var(--q)) rgba(3, 14, 44, 0.34); }
.readout .pbw { --rope-out: var(--wind); --rope-cover: var(--m-solid); --rope-track: var(--m-edge); }
/* Alternatives of one slot share a grid cell, so the tile keeps its size whatever it shows. */
.ro-swap { display: grid; }
.ro-swap > * { grid-area: 1 / 1; min-width: 0; }
.ro-swap > .mt-st { display: inline-flex; }
.ro-disc { grid-area: disc; }
.st-idle { opacity: var(--idle); }
.st-busy { opacity: var(--busy); }
.st-on { opacity: var(--on); }
.st-away { opacity: var(--away); }
.when-on { opacity: var(--vol); }
.when-off { opacity: calc(1 - var(--vol)); }
.mt-acts .dim-off { opacity: calc(0.3 + 0.7 * var(--vol)); }
.mt-acts .dim-on { opacity: calc(1 - 0.7 * var(--vol)); }
.ro-finder { display: flex; flex-direction: column; gap: calc(2 * var(--q)); min-width: 0; padding: calc(14 * var(--q)) calc(10 * var(--q)); border-radius: calc(18 * var(--q)); background: var(--f-side); font-size: calc(13 * var(--q)); }
.ro-finder .lights { margin: 0 0 calc(12 * var(--q)) calc(6 * var(--q)); }
.ro-finder .f-row.when-on { translate: calc((1 - var(--vol)) * -8 * var(--q)) 0; }
/* Narrow: the two cards grow with the stage's spare height, as far as the mount path stays whole. */
@media (max-width: 899px) {
  .readout { --q: min(calc(0.86px + var(--spare, 0px) / 1000), calc(100vw / 415)); max-width: 520px; }
  .readout .mt-acts { display: none; }
}

/* The harbor is the render's frame (4 x 2 m, 1600 x 800): the boat spans 6.1 % to 63.9 % of its width,
   the bollard 69.8 % to 87.8 % on the axis at 78.7 %; the quay's edge is at 69 % of its height. --fh is
   the frame's height (at most --fmax), --fb its distance from the stage's bottom edge, --fr from the
   right one; as written the frame's --fc point is on the centre line. */
.harbor { --fmax: 53vw; --fc: 0.51; --fh: min(360px, var(--fmax)); --fw: calc(var(--fh) * 2); --fb: 28px; --fr: calc(50% - var(--fw) * var(--fc)); position: relative; height: calc(var(--fh) + var(--fb)); margin-top: 24px; background: linear-gradient(0deg, var(--quay), transparent) left 0 bottom calc(var(--fb) + var(--fh) * 0.31) / 100% calc(var(--fh) * 0.2) no-repeat; }
.harbor .water { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--fb) + var(--fh) * 0.31); }
.hb-frame { position: absolute; right: var(--fr); bottom: var(--fb); width: var(--fw); height: var(--fh); }
.hb-frame > *, .hb-bob, .hb-bob img, .hb-rope img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hb-frame::before { left: 66.9%; top: 56.5%; width: 25%; height: 13%; }
/* The boat is on stage from the first frame: its bow shows at the left edge, a long way from the berth. */
.hb-boat { translate: calc((1 - var(--glide)) * -56vw) 0; }
.hb-shade, .hb-wake { position: absolute; }
.hb-shade { inset: auto; left: 3%; top: 73%; width: 62%; height: 19%; background: radial-gradient(closest-side, rgba(2, 10, 36, 0.6), rgba(2, 10, 36, 0)); }
/* Where the hull meets the water: one light ripple under it, thinning out towards stern and bow. */
.hb-boat::after { content: ""; position: absolute; left: 5%; top: 64.6%; width: 61%; height: 26%; border-radius: 50%; border-bottom: 2px solid var(--quay-lip); -webkit-mask: linear-gradient(90deg, transparent 8%, #000 30% 70%, transparent 92%); mask: linear-gradient(90deg, transparent 8%, #000 30% 70%, transparent 92%); }
/* The wake: thin lines trailing the stern, gone once the boat has stopped. */
.hb-wake { inset: auto; left: -40%; top: 75%; width: 48%; height: 12%; opacity: clamp(0, (1 - var(--glide)) * 5, 0.9); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34)); -webkit-mask: repeating-linear-gradient(180deg, #000 0 1.5px, transparent 1.5px 10px); mask: repeating-linear-gradient(180deg, #000 0 1.5px, transparent 1.5px 10px); }
/* The line is one render shown in three parts, each with its own way of coming and going. The bitt's
   turn (.hb-bitt) is there whenever a line is out. The lead (.hb-lead) runs from the bitt (57.81 % /
   50.13 % of the frame) up to the bollard at 42.98deg: 17.09 % of the frame's width as the free span,
   cut into 24 slices (i, --i 0 to 23), then 5.6 % more in one piece (b) that ends behind the cap. It
   pays out along its own length with a faded tip, and --drop swings it down off the bitt. The turn
   round the neck (.hb-turn) is swept clockwise about the bollard's axis (78.7 % / 28 %), from where it
   comes out behind the cap on the right to where it tucks under the lead. */
.hb-rope { --lead: clamp(0, var(--wind) / 0.56, 1); --loop: clamp(0, (var(--wind) - 0.6) / 0.4, 1); opacity: clamp(0, var(--wind) * 30, 1); }
.hb-bitt { -webkit-mask: linear-gradient(47.02deg, #000 55.69%, transparent 55.69%); mask: linear-gradient(47.02deg, #000 55.69%, transparent 55.69%); }
.hb-turn { -webkit-mask: conic-gradient(from 36deg at 48.24% 52.63%, #000 calc(var(--loop) * 276deg - 12deg), transparent calc(var(--loop) * 276deg)) 84.94% 22.22% / 17% 19% no-repeat; mask: conic-gradient(from 36deg at 48.24% 52.63%, #000 calc(var(--loop) * 276deg - 12deg), transparent calc(var(--loop) * 276deg)) 84.94% 22.22% / 17% 19% no-repeat; }
.hb-lead { position: absolute; left: 57.8125%; top: calc(50.125% - var(--fw) * 0.06); width: calc(var(--fw) * 0.2269); height: calc(var(--fw) * 0.12); transform-origin: 0 50%; rotate: calc(-42.98deg + var(--drop) * var(--drop) * 64deg); -webkit-mask: linear-gradient(90deg, #000 calc(var(--lead) * 118% - 18%), transparent calc(var(--lead) * 118%)); mask: linear-gradient(90deg, #000 calc(var(--lead) * 118% - 18%), transparent calc(var(--lead) * 118%)); }
/* Each slice is shifted and sheared across the run by the sag at its place, so the span bends as one
   piece. Sag at u along the span: 16u²(1-u)²(1.25 - u/2), level at both ends and deepest a little
   nearer the boat, times 3.2 % of the frame's width at --slack 1; --slack 0 is the render as made. */
.hb-lead i, .hb-lead b { position: absolute; left: calc(var(--fw) * 0.1709 * var(--u)); top: 0; width: calc(var(--fw) * 0.1709 / 24 + 1.5px); height: 100%; overflow: hidden; }
.hb-lead i {
  --u: calc(var(--i) / 24);
  --v: calc((var(--i) + 1) / 24);
  --f: calc(16 * var(--u) * var(--u) * (1 - var(--u)) * (1 - var(--u)) * (1.25 - var(--u) / 2));
  --g: calc(16 * var(--v) * var(--v) * (1 - var(--v)) * (1 - var(--v)) * (1.25 - var(--v) / 2));
  transform-origin: 0 50%; translate: 0 calc(var(--fw) * 0.032 * var(--f) * var(--slack)); transform: matrix(1, calc((var(--g) - var(--f)) * 4.494 * var(--slack)), 0, 1, 0, 0);
}
/* The end piece and the slice before it keep to the lead's own width, clear of the turn's end beside it. */
.hb-lead b { --u: 1; width: calc(var(--fw) * 0.056); }
.hb-lead i:last-of-type, .hb-lead b { -webkit-mask: linear-gradient(180deg, #000 calc(50% + var(--fw) * 0.011), transparent calc(50% + var(--fw) * 0.0135)); mask: linear-gradient(180deg, #000 calc(50% + var(--fw) * 0.011), transparent calc(50% + var(--fw) * 0.0135)); }
.hb-lead i::before, .hb-lead b::before { content: ""; position: absolute; left: calc(var(--fw) * (-0.578125 - 0.1709 * var(--u))); top: calc(var(--fw) * -0.190625); width: var(--fw); height: var(--fh); background: url(img/quay-rope.webp) 0 0 / 100% 100% no-repeat; transform-origin: 57.8125% 50.125%; rotate: 42.98deg; }

/* Pinned: the track is four screens of scroll and a little more. The boat is in by 24 % of it and
   slows as it comes alongside. The rope goes out slack from 27 % to 45 % and is hauled taut by 50 %:
   only then the tile says Mounted. From 75 % the line is eased; from 80 % the turn comes off the neck,
   and from 85 % the freed line drops away, gone by 92 %. The tile says Unmounting… until the last of it
   has gone. --wind, --slack and --drop ease, and the status is read from them, so it follows what the
   rope shows and not the scroll position. */
.moor .scene.live {
  height: 430vh;
  --spare: clamp(0px, 100vh - 700px, 150px);
  --sail: clamp(0, var(--scene-p, 0) / 0.24, 1);
  --glide: calc(1 - (1 - var(--sail)) * (1 - var(--sail)) * (1 - var(--sail)));
  --wind: min(clamp(0, (var(--scene-p, 0) - 0.27) / 0.18, 1), clamp(0, (0.92 - var(--scene-p, 0)) / 0.12, 1));
  --slack: calc(1 - min(clamp(0, (var(--scene-p, 0) - 0.45) / 0.05, 1), clamp(0, (0.79 - var(--scene-p, 0)) / 0.04, 1)));
  --drop: clamp(0, (var(--scene-p, 0) - 0.85) / 0.07, 1);
  --leave: clamp(0, (var(--scene-p, 0) - 0.75) * 1000, 1);
  --made: clamp(0, 1 - var(--slack) * 100, 1);
  --idle: clamp(0, 1 - var(--wind) * 100, 1);
  --busy: calc((1 - var(--idle)) * (1 - var(--made)) * (1 - var(--leave)));
  --on: calc(var(--made) * (1 - var(--leave)));
  --away: calc((1 - var(--idle)) * var(--leave));
  --vol: calc(var(--on) + var(--away));
}
.moor .live .scene-stage { display: block; height: 100vh; min-height: 600px; padding-top: 53px; }
.moor .live .scene-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; height: 100%; padding-top: clamp(16px, 4vh, 48px); }
.moor .live .scene-states { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 0; }
.moor .live .scene-state { grid-area: 1 / 1; display: block; }
.moor .live .scene-copy { min-height: 0; }
.moor .live .scene-copy h3 { font-size: clamp(1.7rem, 1rem + 2.4vw, 2.9rem); }
.moor .live .scene-copy p { max-width: 44ch; }
.moor .live .scene-rail { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.moor .live .scene-rail li { align-items: center; padding-right: 0; text-align: center; }
.moor .live .harbor { --fh: min(clamp(230px, 100vh - 470px, 460px), var(--fmax)); --fb: 84px; --fr: max(-5px, calc(50vw - 600px)); position: absolute; inset: 0; height: auto; margin: 0; }
@media (min-width: 900px) {
  .moor .live .scene-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: 56px; }
}
/* Narrow: the harbor is centred and as wide as the screen takes. A tall screen's spare height goes
   to the copy's top margin, the cards and the water, so no band of empty sky is left over the quay;
   a short one gets a smaller harbor instead. */
@media (max-width: 899px) {
  .moor .live .scene-inner { gap: calc(16px + var(--spare) * 0.15); padding-top: calc(clamp(16px, 4vh, 48px) + var(--spare) * 0.2); }
  .moor .live .harbor { --fh: min(clamp(150px, 100vh - 520px, 460px), var(--fmax)); --fb: calc(84px + var(--spare) * 0.25); --fr: calc(50vw - var(--fw) * var(--fc)); }
}
/* A phone: a smaller frame, centred on the boat and the bollard themselves, so both keep the same room. */
@media (max-width: 480px) { .moor .harbor { --fmax: 50vw; --fc: 0.531; } }
@media (prefers-reduced-motion: no-preference) {
  /* Scroll sets the targets; the boat and the rope ease to them, so a wheel step reads as way on the boat. */
  .moor .scene.live { transition: --glide 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), --wind 0.6s cubic-bezier(0.3, 0.6, 0.3, 1), --slack 0.7s cubic-bezier(0.3, 0.6, 0.3, 1), --drop 0.6s cubic-bezier(0.3, 0.6, 0.3, 1); }
  .ro-swap > *, .mt-acts .mi, .ro-finder .f-row.when-on { transition: opacity 0.3s ease, translate 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
  /* The boat rides the swell; the line steadies it, most of all once it is taut. */
  @keyframes bob { from { transform: translateY(calc(-1.5px * var(--swell))) rotate(calc(-0.5deg * var(--swell))); } to { transform: translateY(calc(2px * var(--swell))) rotate(calc(0.6deg * var(--swell))); } }
  .live .hb-bob { --swell: calc(1 - var(--wind) * (0.8 - 0.3 * var(--slack))); transform-origin: 35% 80%; animation: bob 2.8s ease-in-out infinite alternate; }
  @keyframes glint { to { background-position: 290px 0; } }
  @keyframes glint-far { to { background-position: -410px 0; } }
  .water::before { animation: glint 26s linear infinite; }
  .water::after { animation: glint-far 44s linear infinite; }
}

/* ---------- Trust: the sea band. Two equal columns on one set of rows: sheet, title, copy ---------- */
.deep { margin-top: var(--section); padding: clamp(56px, 8vw, 104px) 0; background: linear-gradient(180deg, var(--sea-near), var(--sea-deep)); box-shadow: inset 0 1px var(--glass-edge), inset 0 -1px var(--glass-edge); color: var(--on-harbor-soft); }
.deep h2, .deep h3 { color: var(--on-harbor); }
.deep h2 { max-width: none; text-wrap: balance; }
.deep-cols { display: grid; gap: 40px; margin-top: clamp(32px, 4vw, 56px); }
.deep-col { min-width: 0; }
.deep-art { display: grid; place-items: center; margin-bottom: 24px; padding: 28px 16px; border-radius: var(--r-l); background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.deep-col h3 { margin: 0 0 6px; }
.deep-col p { margin: 0; max-width: 48ch; text-wrap: pretty; }
@media (min-width: 900px) {
  .deep-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
  .deep-col { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 3; grid-template-rows: subgrid; }
}

/* ---------- Finale: the last berth. The bollard stands on the page's centre line under the store
   pill; the line comes in from the left and fades in along its length. The frame is hero-moor's
   (1360 x 620): the bollard's axis is 80.8 % from its left, the line's cut end 5.9 %. ---------- */
.hue-moor .final-cta { padding-bottom: 0; border-top: 0; }
.hue-moor .final-cta h2 { color: var(--on-harbor); }
.hue-moor .final-links a { color: var(--on-harbor-soft); }
.hue-moor .final-links a:hover { color: var(--on-harbor); }
.finale { --w: clamp(380px, 44vw, 600px); position: relative; height: calc(var(--w) * 0.456); margin-top: 8px; }
.finale::before { left: calc(50% - var(--w) * 0.14); top: 71%; width: calc(var(--w) * 0.28); height: 17%; }
/* The fade starts past the cut end, so the tip is never seen; on a phone the line runs past the
   screen's left edge, and the fade starts at that edge instead. */
.finale img { --edge: calc(var(--w) * 0.808 - 50vw); position: absolute; left: calc(50% - var(--w) * 0.808); bottom: 0; width: var(--w); height: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, transparent max(9%, var(--edge)), #000 max(40%, calc(var(--edge) + 31%))); mask-image: linear-gradient(90deg, transparent max(9%, var(--edge)), #000 max(40%, calc(var(--edge) + 31%))); }
