/* Story motion (see story.js): the listing fix, the enquiries landing, and the lock-on at contact.
   Without JS or with reduced motion, everything shows in its finished state. */

/* ================= What we fix ================= */
.fix { border-bottom: 1px solid var(--border); }
.fix-pin { padding: 72px 0; }
/* While animated, the pinned frame is exactly the screen below the header, content centred (story.js sets --pin-h) */
.js-story .fix-pin {
  min-height: var(--pin-h, 100svh); display: flex; align-items: center;
}
/* story.js makes the section taller; the frame sticks below the header while that extra height scrolls by */
.fix-run .fix-pin { position: sticky; top: var(--pin-top, 0px); }
.fix-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 48px; align-items: center; }
.fix-head { display: flex; flex-direction: column; gap: 14px; }
.fix-head h2 { margin: 0; }

.fix-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: fx; }
.fix-steps li { display: flex; align-items: center; gap: 12px; color: var(--heading); font-size: 1rem; }
/* --on: 0 = empty ring, 1 = filled gold with a tick (story.js animates it) */
.fix-steps li { --on: 1; opacity: calc(0.45 + var(--on) * 0.55); }
.fix-steps i { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--blip); }
.fix-steps i::before { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; background: var(--blip); transform: scale(var(--on)); }
.fix-steps i::after { /* tick */
  content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; opacity: var(--on);
  border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.fix-stage { position: relative; display: flex; gap: 32px; align-items: center; justify-content: flex-end; }

/* The listing card */
.fix-card {
  position: relative; margin: 0; width: min(100%, 440px); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
}
.fix-card::after { /* gold edge once it's all fixed */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--blip), 0 0 0 0 transparent; opacity: var(--done, 1);
}
.fc-photos { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 190px; background: var(--surface-strong); }
.fc-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-photos img:first-of-type { grid-row: 1 / 3; }
.fc-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; opacity: 0; }
.fc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.fc-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fc-title strong { color: var(--heading); font-size: 1.2rem; font-weight: 500; }
.fc-title small { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.fc-rating { position: relative; display: flex; align-items: center; gap: 8px; min-height: 22px; }
.fc-score { color: var(--heading); font-weight: 500; }
.fc-stars, .fc-stars-fill { display: inline-block; height: 14px; width: 82px; -webkit-mask: var(--star-mask); mask: var(--star-mask); }
.fc-stars {
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 82 14'%3E%3Cg%3E%3Cpath id='s' d='M7 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L7 10.8 2.8 13l.8-4.7L.2 5l4.7-.7z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") left / 82px 14px no-repeat;
  position: relative; background: var(--surface-strong);
}
.fc-stars-fill { position: absolute; left: 0; top: 0; background: var(--blip); -webkit-mask: none; mask: none; width: 96%; }
.fc-count { color: var(--muted); }
.fc-none { position: absolute; left: 0; color: var(--muted); opacity: 0; }
.fc-cat { color: var(--text); font-size: 0.92rem; }
.fc-row { display: grid; font-size: 0.92rem; }
.fc-row > * { grid-area: 1 / 1; }
.fc-before { color: var(--muted); opacity: 0; }
.fc-after em { font-style: normal; font-weight: 500; color: var(--open); }
.fc-link { color: var(--hint); }
.fc-actions { display: flex; gap: 8px; margin-top: 6px; font-size: 0.9rem; }
.fc-actions span { flex: 1; text-align: center; border: 1px solid var(--border); border-radius: 999px; padding: 9px 0; color: var(--heading); }
.fc-actions .sl-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }

/* The phone */
.fix-phone {
  position: relative; flex-shrink: 0; width: 240px; height: 470px; padding: 9px; border-radius: 40px;
  background: var(--surface-strong); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.fp-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 32px; padding: 34px 12px 12px; text-align: center;
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--blip) 16%, transparent), transparent 60%), var(--bg);
}
.fp-time { display: block; color: var(--heading); font-size: 3rem; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.fp-date { display: block; margin-top: 4px; color: var(--muted); font-size: 0.82rem; }
.fp-quiet { position: absolute; left: 0; right: 0; top: 52%; color: var(--muted); font-size: 0.8rem; opacity: 0; }
.fp-stack { display: grid; gap: 8px; margin-top: 26px; text-align: left; }
.fp-note {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 16px; font-size: 0.74rem; line-height: 1.3; color: var(--text);
  background: var(--glass-strong); border: 1px solid color-mix(in srgb, var(--blip) 40%, var(--border));
}
.fp-note .signal-dot { margin-top: 4px; }
.fp-note small { display: block; font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.fp-note b { display: block; color: var(--heading); font-weight: 500; font-size: 0.82rem; }

/* Narrower screens: head on top, the phone rises over the card when the enquiries start */
@media (max-width: 1099px) {
  .fix-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fix-steps { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
  .fix-steps li { font-size: 0.88rem; gap: 8px; }
  .fix-steps i { width: 18px; height: 18px; }
  .fix-steps i::after { left: 5px; top: 1.5px; width: 4px; height: 8px; }
  .fix-stage { flex-direction: column; justify-content: center; } /* no script: card, then phone */
  .js-story .fix-stage { min-height: 470px; }
  .js-story .fix-phone { position: absolute; left: 50%; top: 0; margin-left: -120px; } /* story.js raises it over the card */
}
@media (max-width: 600px) {
  .fix-pin { padding: 40px 0; }
  .fix-head h2 { font-size: 1.9rem; }
  .fc-photos { height: 150px; }
  .js-story .fix-stage { min-height: 440px; }
  .fix-phone { width: 220px; height: 410px; }
  .fp-screen { padding-top: 26px; }
  .fp-time { font-size: 2.5rem; }
  .fp-stack { margin-top: 18px; gap: 7px; }
  .fp-note { padding: 9px 11px; }
  .fp-note:nth-child(4) { display: none; } /* three fit a small phone */
  .js-story .fix-phone { margin-left: -110px; }
}

/* ================= Lock-on at contact ================= */
.closing-panel { position: relative; isolation: isolate; overflow: hidden; }
.lock { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: none; }
.js-story .lock { display: block; }
.lock-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.lock-rings circle { fill: none; stroke: color-mix(in srgb, var(--blip) 22%, var(--radar-ring)); stroke-width: 1; }
.lock-rings .lock-core { fill: var(--blip); stroke: none; }
.lock-beam {
  position: absolute; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; border-radius: 50%; opacity: 0;
  background: conic-gradient(from 0deg, transparent 0deg 290deg, color-mix(in srgb, var(--blip) 20%, transparent) 360deg);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 10%, rgba(0,0,0,.5) 60%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 10%, rgba(0,0,0,.5) 60%, transparent 100%);
}
.lock-beam::after {
  content: ""; position: absolute; left: calc(50% - 0.5px); top: 0; width: 1px; height: 50%;
  background: linear-gradient(to top, var(--blip), transparent 95%);
}
.lock-box { position: absolute; opacity: 0; }
.lock-box i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--blip); }
.lock-box i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.lock-box i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.lock-box i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.lock-box i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.lock-ping { position: absolute; border-radius: 999px; border: 1.5px solid var(--blip); opacity: 0; }
.lock-target { position: relative; transition: box-shadow .6s ease, background-color .2s, color .2s, border-color .2s; }
.lock-target.is-locked { box-shadow: 0 0 0 1px var(--blip), 0 10px 40px -6px color-mix(in srgb, var(--blip) 55%, transparent); }

/* ================= Promise strip: two gold edges (top and bottom); a light reflection slides along them, lighting each heading =================
   Each edge is a thin bevelled gold strip (lit lip, shaded underside, uneven brushed banding), so it reads as metal, not a flat line.
   The reflection is a white-hot specular core, a wider gold glare, a tiny vertical glint and a soft spill into the band. */
.promise-band { position: relative; overflow: hidden;
  --g-lo: #5e461a; --g-mid: #b8913f; --g-hi: #f1dc9e; --g-spec: #fff8e6; }
:root[data-theme="light"] .promise-band { --g-lo: #5a4317; --g-mid: #8f6d2b; --g-hi: #d9b768; --g-spec: #fff4d6; }
.ps-edge { position: absolute; left: 0; right: 0; height: 2px; pointer-events: none; display: none; z-index: 1; }
.js-story .ps-edge { display: block; }
.ps-edge.is-top { top: 0; }
.ps-edge.is-bot { bottom: 0; transform: scaleY(-1); } /* mirrored: its lit lip faces the band too */
.ps-trail { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--g-hi) 70%, transparent) 0 50%, rgba(0,0,0,.35) 50% 100%),
    linear-gradient(90deg, var(--g-lo) 0%, var(--g-mid) 9%, var(--g-hi) 14%, var(--g-mid) 20%, var(--g-lo) 31%, var(--g-mid) 43%,
      var(--g-hi) 47%, var(--g-mid) 55%, var(--g-lo) 66%, var(--g-mid) 77%, var(--g-hi) 83%, var(--g-mid) 90%, var(--g-lo) 100%);
  background-size: 100% 100%, 900px 100%; background-position: 0 0, var(--sh, 0px) 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.45); }
.ps-head { position: absolute; left: 0; top: 1px; width: 0; height: 0; opacity: 0; }
.ps-head i { position: absolute; display: block; border-radius: 50%; }
.ps-head .ps-glare { /* wide gold glare on the metal and the light it spills into the band */
  left: -220px; top: -26px; width: 440px; height: 52px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g-hi) 20%, transparent), color-mix(in srgb, var(--g-mid) 6%, transparent) 60%, transparent);
  mix-blend-mode: screen; }
.ps-head .ps-spec { /* the specular core sitting on the strip */
  left: -150px; top: -2px; width: 300px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--g-hi) 80%, transparent) 30%, var(--g-spec) 48%, var(--g-spec) 52%, color-mix(in srgb, var(--g-hi) 80%, transparent) 70%, transparent);
  filter: blur(.6px); }
.ps-head .ps-glint { /* a brief vertical flare where the light hits */
  left: -1px; top: -14px; width: 2px; height: 28px;
  background: linear-gradient(180deg, transparent, var(--g-spec) 50%, transparent); opacity: .8; }
:root[data-theme="light"] .ps-head .ps-glare { mix-blend-mode: normal; }
.promise b { text-shadow: 0 0 18px color-mix(in srgb, var(--blip) calc(var(--g, 0) * 80%), transparent), 0 0 6px color-mix(in srgb, var(--blip) calc(var(--g, 0) * 50%), transparent); }

/* GSAP measures the page by jumping the scroll; CSS smooth scrolling turns those jumps into animations and breaks it.
   While the story motion runs, story.js smooth-scrolls in-page links itself. */
html.js-story { scroll-behavior: auto; }

/* Contact zoom: extra room after the card inside its section, and the card sticks while it scrolls by (story.js) */
.zoom-run::after { content: ""; display: block; height: var(--zoom-run, 0px); }
.zoom-run .closing-panel { position: sticky; }

/* ================= Dawn: one drone flight behind the page (story.js scrubs it, hero.js's beam reveals it) =================
   The layer is fixed behind everything. The hero and the sunrise finale are see-through windows onto it; every other
   section is solid, so it's hidden there. No JS / reduced motion: the hero shows the first frame, the finale the last. */
.dawn {
  position: fixed; left: 0; top: 0; width: 100%; height: 100lvh; z-index: -1; pointer-events: none;
  background: #1a1d22; overflow: hidden;
}
.dawn img, .dawn video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dawn video { opacity: 0; }
.dawn.is-live video { opacity: 1; }
.dawn.is-off { visibility: hidden; } /* covered by solid sections: skip painting it */

/* body's own colour, kept as a value the hero can use after it swaps in dark tokens */
.has-dawn { --page-bg: var(--bg); }
/* Solid sections between and after the windows */
.has-dawn main > section:not(.sunrise):not(.has-loop),
.has-dawn .site-footer { position: relative; background-color: var(--bg); }

/* ================= Cloud loops: a short seamless loop of drone cloud behind the divider strips and the listing scene ====
   story.js plays each only while it's on screen (and loads it when it comes near). Reduced motion / no JS: the still. */
.has-loop, .fix-pin { position: relative; isolation: isolate; overflow: hidden; }
.has-dawn .has-loop { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cloud-loop { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #1a1d22; }
.cloud-loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; display: block; }
.cloud-loop.loop-alt video { object-position: 50% 58%; } /* the second strip shows a different band of the cloud */
.cloud-loop::after { /* tint, so the words read and it stays a texture rather than a picture */
  content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 58%, transparent);
}
.promise-band .cloud-loop::after { background: color-mix(in srgb, var(--bg) 64%, transparent); }
/* What we fix: cloud down both sides, the listing keeps its dark middle */
.fix-loop video { object-position: 50% 45%; }
.fix-loop::after {
  /* eased steps so the cloud melts into the dark middle instead of stopping at a line */
  background: linear-gradient(to right,
    color-mix(in srgb, var(--bg) 35%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 6%,
    color-mix(in srgb, var(--bg) 78%, transparent) 11%, color-mix(in srgb, var(--bg) 93%, transparent) 15%, var(--bg) 19%,
    var(--bg) 81%, color-mix(in srgb, var(--bg) 93%, transparent) 85%, color-mix(in srgb, var(--bg) 78%, transparent) 89%,
    color-mix(in srgb, var(--bg) 55%, transparent) 94%, color-mix(in srgb, var(--bg) 35%, transparent) 100%);
}
@media (max-width: 860px) { .fix-loop { display: none; } } /* no room for side bands on phones */

/* Finale: a window where the sun finishes rising; the line arrives with it. Edges melt into the page. */
.sunrise {
  position: relative;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%),
    radial-gradient(ellipse 70% 60% at 18% 62%, rgba(10, 12, 14, 0.5), transparent 70%),
    url("images/dawn-out-1080.jpg") center / cover no-repeat; /* the still, for no JS / reduced motion */
}
@media (orientation: portrait) {
  .sunrise { background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 14%, transparent 84%, var(--bg) 100%),
    linear-gradient(to top, rgba(10, 12, 14, 0.6) 10%, transparent 55%),
    url("images/dawn-out-720p.jpg") center / cover no-repeat; }
}
.sunrise-pin { min-height: min(90svh, 860px); display: flex; align-items: center; }
.sunrise-copy { display: flex; flex-direction: column; gap: 14px; margin-top: 14vh; }
.sunrise-copy > * { max-width: 460px; }
.sunrise-copy h2 { margin: 0; color: #F2F4F6; }
.sunrise-copy p { margin: 0; color: rgba(242, 244, 246, 0.84); }
.sunrise-copy .label { color: #C3D7EC; }
@media (max-width: 860px) {
  .sunrise-pin { align-items: flex-end; }
  .sunrise-copy { margin: 0 0 14vh; }
}
/* Animated: the real video shows through (no still); the words hold below the header while the room scrolls by */
.js-story .sunrise { background-image:
    linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%),
    radial-gradient(ellipse 70% 60% at 18% 62%, rgba(10, 12, 14, 0.5), transparent 70%); }
@media (orientation: portrait) {
  .js-story .sunrise { background-image:
    linear-gradient(to bottom, var(--bg) 0%, transparent 10%, transparent 88%, var(--bg) 100%),
    linear-gradient(to top, rgba(10, 12, 14, 0.6) 10%, transparent 55%); }
}
.sunrise-run .sunrise-pin { position: sticky; top: var(--pin-top, 0px); height: var(--sun-pin, 100svh); min-height: 0; }

/* ================= About: the search is typed, Dan's listing comes up, a pointer clicks it (story.js) ================= */
.about-listing { position: relative; }
.ss-caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--heading);
  animation: ss-blink 1s steps(1) infinite; }
@keyframes ss-blink { 50% { visibility: hidden; } }
.me-listing .sl-result { position: relative; }
.ss-skel { position: absolute; inset: 0; display: flex; align-items: center; gap: 22px; padding: 20px 22px; pointer-events: none; }
.ss-skel .ss-dot { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; }
.ss-skel div { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ss-skel div i { display: block; height: 12px; border-radius: 6px; width: 46%; }
.ss-skel div i:nth-child(2) { width: 72%; } .ss-skel div i:nth-child(3) { width: 38%; }
.ss-skel i { background: linear-gradient(90deg, var(--surface-strong) 0%, color-mix(in srgb, var(--surface-strong) 40%, var(--heading) 12%) 50%, var(--surface-strong) 100%);
  background-size: 200% 100%; animation: ss-shimmer 1s linear infinite; }
@keyframes ss-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (max-width: 600px) { .ss-skel .ss-dot { width: 72px; height: 72px; } }
.me-listing { transition: border-color .3s ease, box-shadow .4s ease; }
.me-listing .sl-info strong { text-decoration: underline transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s ease; }
.me-listing.ss-hover .sl-info strong { text-decoration-color: currentColor; }
.me-listing.ss-picked { border-color: color-mix(in srgb, var(--blip) 70%, var(--border)); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--blip) 25%, transparent), 0 20px 60px -30px color-mix(in srgb, var(--blip) 45%, transparent); }
.ss-ptr { position: absolute; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; z-index: 3; opacity: 0; }
.ss-ptr svg { position: absolute; left: -3px; top: -2px; width: 22px; height: 22px; fill: #F2F4F6; stroke: #0A0C0E; stroke-width: 1.4; stroke-linejoin: round;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.ss-ptr.is-tap { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: color-mix(in srgb, var(--heading) 30%, transparent); border: 1.5px solid color-mix(in srgb, var(--heading) 70%, transparent); }
.ss-ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--blip); }
.ss-ptr.is-tap .ss-ring { left: -2px; top: -2px; }
/* The hold: the About section keeps the search on screen while it plays (story.js sets top and the extra room) */
.ss-run { position: relative; }
.ss-run .about-listing { position: sticky; }
.ss-run::after { content: ""; display: block; height: var(--ss-run, 0px); }

/* ================= Recent work: lights on (story.js) ================= */
.js-story .recent-grid { position: relative; }
.js-story .recent-card { position: relative; }
.rw-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; border-radius: 14px; }
.rw-beam { position: absolute; top: 0; bottom: 0; left: 0; width: 300px; pointer-events: none; z-index: 2; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--g-hi, #f1dc9e) 7%, transparent) 35%, color-mix(in srgb, #fff 16%, transparent) 50%, color-mix(in srgb, var(--g-hi, #f1dc9e) 7%, transparent) 65%, transparent);
  mix-blend-mode: screen; transform-origin: 50% 50%; }
:root[data-theme="light"] .rw-beam { mix-blend-mode: soft-light; }
.rw-blip { position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; z-index: 3; opacity: 0; pointer-events: none;
  background: var(--blip); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blip) 22%, transparent), 0 0 12px color-mix(in srgb, var(--blip) 70%, transparent); }
.rw-blip i { position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--blip); }
.recent-card.rw-flash { border-color: var(--blip); }
.js-story .recent-card { transition: border-color .5s ease, transform .2s ease; }

/* ================= Packages: The Full Picture gathers its parts (story.js) ================= */
.js-story #packages .wrap { position: relative; }
.js-story #packages .card { transition: border-color .3s ease, box-shadow .3s ease; }
.fp-layer { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 5; pointer-events: none; }
.fp-chip { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 5px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 500;
  color: var(--heading); background: var(--surface-strong); border: 1px solid var(--blip);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blip) 12%, transparent), 0 10px 26px -10px color-mix(in srgb, var(--blip) 60%, transparent); opacity: 0; }
.js-story .fp-part { transition: color .5s ease, text-shadow .9s ease; color: color-mix(in srgb, var(--text) 55%, transparent); }
.js-story .fp-part.is-in { color: var(--heading); }
.js-story .fp-part.is-hit { text-shadow: 0 0 14px color-mix(in srgb, var(--blip) 55%, transparent); }
.fp-save { color: var(--blip); }
#packages .card.fp-from { border-color: var(--blip); box-shadow: 0 0 0 1px color-mix(in srgb, var(--blip) 25%, transparent); }
.js-story #packages .feature { transition: box-shadow .8s ease; }
#packages .feature.fp-glow { box-shadow: 0 0 0 1px color-mix(in srgb, var(--blip) 40%, transparent), 0 0 50px -6px color-mix(in srgb, var(--blip) 45%, transparent), 0 24px 70px -28px color-mix(in srgb, var(--blip) 40%, transparent); }

/* ================= Phones (story.js adds .story-phone under 760px) ================= */
/* The drone flight moves up behind "How we work": the four lines arrive one by one while it plays. The finale is dropped. */
.story-phone .sunrise { display: none; }
.trust.tf-run { overflow: visible; border: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 9%, transparent 91%, var(--bg) 100%); }
.trust.tf-run .cloud-loop { display: none; }
.trust.tf-run .trust-row {
  position: sticky; top: var(--pin-top, 0px); height: var(--sun-pin, 100svh); height: calc(100dvh - var(--pin-top, 0px)); box-sizing: border-box;
  flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: center; text-align: center; gap: 14px;
  padding-top: 0; color: #F2F4F6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 22px rgba(0, 0, 0, 0.55);
  /* a soft pool of shade behind the words that fades out on every side: no edge, no band */
  background: radial-gradient(ellipse 85% 34% at 50% 54%, rgba(10, 12, 14, 0.42), rgba(10, 12, 14, 0.16) 55%, transparent 78%);
}
.trust.tf-run .trust-row::before { /* the section name, a gold hairline under it */
  content: "How we work"; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: #C3D7EC;
  padding-bottom: 14px; margin-bottom: 4px; text-shadow: none;
  background: linear-gradient(90deg, transparent, var(--blip), transparent) 50% 100% / 56px 1px no-repeat;
}
.trust.tf-run .trust-row span { display: block; }
.trust.tf-run .trust-row span::before { display: none; }
/* A thin film-title serif for the lines (Dan picked it over spaced capitals and a display face) */
.trust.tf-run .trust-row span { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; font-size: 1.8rem; line-height: 1.12; letter-spacing: 0.005em; }

/* Recent work: the three cards stack as slim rows (picture left), so all three and the passing light fit on one screen */
@media (max-width: 760px) {
  .js-story .recent-grid { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; gap: 10px; }
  .js-story .recent-card { flex-direction: row; align-items: center; border-radius: 12px; }
  .js-story .recent-card img { width: 42%; flex-shrink: 0; aspect-ratio: 16 / 11; }
  .js-story .recent-meta { padding: 10px 14px; gap: 3px; min-width: 0; }
  .js-story .recent-meta strong { font-size: 0.98rem; }
  .js-story .recent-meta span { font-size: 0.8rem; line-height: 1.35; }
  .js-story .rw-blip { top: 10px; right: 10px; }
  .rw-down .rw-beam { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 300px;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--g-hi, #f1dc9e) 7%, transparent) 35%, color-mix(in srgb, #fff 16%, transparent) 50%, color-mix(in srgb, var(--g-hi, #f1dc9e) 7%, transparent) 65%, transparent); }
}
/* Packages: two cards per screen instead of one, so the cards the bundle's parts come from are in view */
@media (max-width: 480px) {
  .js-story .pkg-row { grid-auto-columns: calc(50% - 4px); gap: 8px; }
  .js-story .pkg-row .card { padding: 13px 12px; gap: 6px; }
  .js-story .pkg-row .card h3 { font-size: 0.9rem; }
  .js-story .pkg-row .card .price { font-size: 1.1rem; }
  .js-story .pkg-row .card .price small { display: block; margin-top: 2px; }
  .js-story .pkg-row .card ul { font-size: 0.76rem; padding-left: 13px; line-height: 1.4; }
}
/* Packages on phones: the bundle's parts light up in place, each drawing a short gold underline */
.story-phone #packages .fp-part { position: relative; }
.story-phone #packages .fp-part::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; border-radius: 1px;
  background: var(--blip); transform: scaleX(0); transform-origin: left center; opacity: 0;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .9s ease; }
.story-phone #packages .fp-part.is-hit::after { transform: scaleX(1); opacity: 1; transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .2s ease; }
.story-phone #packages .fp-part.is-in:not(.is-hit)::after { transform: scaleX(1); opacity: 0; }

/* ================= Finale (computers and tablets): a title card, centred on screen ================= */
/* The thin serif from the phone strip, big, with a soft shade behind it that fades on every side */
.sunrise-pin { justify-content: center; }
.sunrise-copy { align-items: center; text-align: center; margin: 0 auto; gap: 0; }
.sunrise-copy > * { max-width: none; }
.sunrise-copy .label { font-size: 0.74rem; letter-spacing: 0.34em; padding-bottom: 18px; margin-bottom: 18px;
  background: linear-gradient(90deg, transparent, var(--blip), transparent) 50% 100% / 64px 1px no-repeat; }
.sunrise-copy h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; letter-spacing: -0.01em; line-height: 1;
  font-size: clamp(3.4rem, 8.4vw, 7.4rem);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 6px 40px rgba(0, 0, 0, 0.45); }
.sunrise-copy p { max-width: 34ch; margin-top: 22px; font-size: 1.08rem; font-weight: 300; letter-spacing: 0.01em; line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 18px rgba(0, 0, 0, 0.5); }
@media (max-width: 860px) {
  .sunrise-pin { align-items: center; }
  .sunrise-copy { margin: 0 auto; }
}
.js-story .sunrise { background-image:
    linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%),
    radial-gradient(ellipse 48% 34% at 50% 52%, rgba(10, 12, 14, 0.4), rgba(10, 12, 14, 0.14) 60%, transparent 80%); }
@media (orientation: portrait) {
  .js-story .sunrise { background-image:
      linear-gradient(to bottom, var(--bg) 0%, transparent 10%, transparent 88%, var(--bg) 100%),
      radial-gradient(ellipse 80% 34% at 50% 52%, rgba(10, 12, 14, 0.42), rgba(10, 12, 14, 0.14) 60%, transparent 80%); }
}
/* Phones: the strip's label matches the finale's, and its lines take the same serif (set above) */
.trust.tf-run .trust-row::before { font-size: 0.74rem; letter-spacing: 0.34em; padding-bottom: 18px; margin-bottom: 8px; }

/* The drone rows end under the next section (story.js), which brings its own soft top edge as it slides over */
.sunrise-run + section::before, .trust.tf-run + section::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22vh; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 55%, transparent) 55%, var(--bg));
}

/* ================= What we do: each stacked card acts out what it does (story.js svcScene) ================= */
/* Web: the phone scrolls through the client's site (scroll.css .svc-screen) */

/* Search: one sweep of the radar, the pin pings, the WhatsApp button glows */
.svc-sweep { position: absolute; left: 62%; top: 38%; width: 160%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: conic-gradient(from 0deg, transparent 0 300deg, color-mix(in srgb, var(--blip) 6%, transparent) 330deg, color-mix(in srgb, var(--blip) 32%, transparent) 359deg, transparent 360deg); }
.svc-ring { position: absolute; left: 62%; top: 38%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid var(--blip); opacity: 0; pointer-events: none; }
.svc-chips span.on { transition: box-shadow .6s ease; }
.svc-chips span.on.svc-glow { box-shadow: 0 0 0 1px color-mix(in srgb, var(--blip) 50%, transparent), 0 0 22px -2px color-mix(in srgb, var(--blip) 55%, transparent); }

/* Social: likes pop up once the grid has filled */
.svc-likes { position: absolute; right: 14px; top: 12px; display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 500; color: var(--heading); background: var(--surface-strong); border: 1px solid var(--border);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5); opacity: 0; }
.svc-likes span { color: #e8577a; font-size: .9rem; line-height: 1; }

@media (max-width: 700px) {
  .svc-likes { top: auto; bottom: 22px; right: 22px; font-size: .7rem; padding: 5px 9px; }
}

/* ================= What we do on phones: the customer's journey in one phone (story.js journeyScene) ================= */
.svj-on .services-row { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.svj { position: relative; margin: 8px -4px 0; }
.svj-stage { position: relative; height: calc(100svh - var(--sm-hdr, 73px)); height: calc(100dvh - var(--sm-hdr, 73px)); min-height: 470px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }

/* The phone: a dark metal frame with a bright rim, side buttons, the island, glass glare */
.svj-phone { position: relative; width: min(56vw, 230px, calc((100svh - var(--sm-hdr, 73px) - 190px) * 0.462)); aspect-ratio: 390 / 844;
  padding: 8px; border-radius: 40px;
  background: linear-gradient(145deg, #3A4048 0%, #15191D 38%, #0C0E10 62%, #2B3036 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 3px #08090B, 0 0 0 1px #050607,
    0 40px 80px -30px rgba(0,0,0,.8), 0 0 70px -12px rgba(120,165,214,.25); }
.svj-btn-l, .svj-btn-l::after, .svj-btn-r { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #4A5058, #1A1E22); }
.svj-btn-l { left: -3px; top: 21%; height: 7%; }
.svj-btn-l::after { content: ""; left: 0; top: 140%; height: 100%; }
.svj-btn-r { right: -3px; top: 27%; height: 12%; background: linear-gradient(270deg, #4A5058, #1A1E22); }
.svj-sample { position: absolute; top: -10px; right: -16px; z-index: 3; padding: 3px 9px; border-radius: 999px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border); }
.svj-screen { position: relative; height: 100%; overflow: hidden; border-radius: 32px; background: #000; color: #3C4043; font-size: 9px; line-height: 1.35; isolation: isolate; }
.svj-screen::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 28%, transparent 42%); }
.svj-island { position: absolute; z-index: 10; left: 50%; top: calc(7px * var(--svj-k, 1)); width: calc(62px * var(--svj-k, 1)); height: calc(18px * var(--svj-k, 1));
  translate: -50% 0; border-radius: 999px; background: #000; }
.svj-s { position: absolute; inset: 0; overflow: hidden; zoom: var(--svj-k, 1); }
.svj-s img { display: block; }

/* Status bar and home bar (drawn for the 230px phone; zoom scales them) */
.svj-sb { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 32px; padding: 0 20px 0 24px; display: flex; align-items: center; justify-content: space-between;
  font: 600 10px/1 Jost, -apple-system, sans-serif; color: #111; }
.svj-sb.is-dark { color: #fff; }
.svj-sb span { display: flex; align-items: center; gap: 4px; }
.svj-sig { display: flex; align-items: flex-end; gap: 1px; height: 7px; }
.svj-sig u { width: 2px; background: currentColor; border-radius: 1px; }
.svj-sig u:nth-child(1) { height: 30%; } .svj-sig u:nth-child(2) { height: 55%; } .svj-sig u:nth-child(3) { height: 78%; } .svj-sig u:nth-child(4) { height: 100%; }
.svj-wifi { width: 10px; height: 8px; fill: currentColor; }
.svj-bat { position: relative; width: 17px; height: 8px; border: 1px solid currentColor; border-radius: 2.5px; opacity: .95; }
.svj-bat::after { content: ""; position: absolute; right: -3px; top: 2px; width: 1.5px; height: 3px; border-radius: 0 1px 1px 0; background: currentColor; }
.svj-bat u { position: absolute; inset: 1px; right: 4px; border-radius: 1px; background: currentColor; }
.svj-home { position: absolute; z-index: 6; left: 50%; bottom: 6px; width: 74px; height: 3.5px; translate: -50% 0; border-radius: 999px; background: #111; opacity: .85; }
.svj-photo .svj-home, .svj-wa .svj-home { background: #fff; }

/* 1 Maps */
.svj-maps { background: #EEF0EB; }
.svj-mapart { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 62% 40%; }
.svj-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #9AA0A6; border: 1.5px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.svj-pin { position: absolute; left: 60%; top: 34%; width: 22px; height: 22px; margin: -26px 0 0 -11px; }
.svj-pin i { position: absolute; inset: 0; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #E5483B; box-shadow: 0 2px 5px rgba(0,0,0,.3); }
.svj-pin i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #8E1F16; }
.svj-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 4px; margin-left: -5px; border-radius: 50%; background: rgba(0,0,0,.18); }
.svj-search { position: absolute; z-index: 4; top: 36px; left: 10px; right: 10px; height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 6px 0 11px;
  border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.22); color: #202124; font-size: 9.5px; }
.svj-search svg { width: 11px; height: 11px; flex-shrink: 0; fill: none; stroke: #5F6368; stroke-width: 1.8; stroke-linecap: round; }
.svj-search span { flex: 1; white-space: nowrap; overflow: hidden; }
.svj-me { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: url("images/misthaven-thumb.jpg") center / cover; opacity: 0; }
.svj-sheet { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 8px 12px 22px; border-radius: 16px 16px 0 0; background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,.15); display: flex; flex-direction: column; gap: 1px; color: #5F6368; font-size: 8.5px; }
.svj-grab { align-self: center; width: 28px; height: 3px; margin-bottom: 6px; border-radius: 999px; background: #DADCE0; }
.svj-sheet b { color: #202124; font-weight: 500; font-size: 12px; }
.svj-sheet em { font-style: normal; color: #188038; }
.svj-mbtns { display: flex; gap: 5px; margin: 8px 0; }
.svj-mbtns span { padding: 5px 9px; border-radius: 999px; border: 1px solid #DADCE0; color: #1A73E8; font-weight: 500; font-size: 8.5px; white-space: nowrap; }
.svj-mbtns .is-blue { background: #1A73E8; border-color: #1A73E8; color: #fff; }
.svj-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.svj-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

/* 2 Website sample in a browser */
.svj-web { background: #F4F1EC; }
.svj-web .svj-sb { background: rgba(244,241,236,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.svj-page { position: absolute; left: 0; right: 0; top: 32px; background: #F4F1EC; color: #3B3F44; }
.svj-hero { height: 290px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px; background-size: cover; background-position: 50% 60%; position: relative; color: #fff; }
.svj-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.55)); }
.svj-hero > * { position: relative; }
.svj-hero small { font-size: 7.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.svj-hero b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; font-size: 30px; line-height: 1; }
.svj-hero span { align-self: flex-start; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: #fff; color: #1d2a22; font-size: 8.5px; font-weight: 500; }
.svj-copy { padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.svj-copy small { font-size: 7.5px; letter-spacing: .2em; text-transform: uppercase; color: #8A7B62; }
.svj-copy b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; font-size: 19px; line-height: 1.05; color: #1E2226; }
.svj-copy p { margin: 0; font-size: 8.5px; }
.svj-page > img { width: calc(100% - 28px); margin: 0 14px 8px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.svj-btn { align-self: flex-start; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: #1E2226; color: #fff; font-size: 8.5px; }
.svj-foot { margin-top: 10px; padding: 22px 14px 90px; display: flex; flex-direction: column; gap: 2px; background: #1E2226; color: #A9B0B6; font-size: 8px; }
.svj-foot b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; font-size: 18px; color: #F4F1EC; }
.svj-url { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 8px 12px 20px; background: rgba(246,246,246,.94); border-top: 1px solid rgba(0,0,0,.08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.svj-url span { display: flex; align-items: center; justify-content: center; gap: 4px; height: 24px; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); color: #222; font-size: 9px; }
.svj-url svg { width: 7px; height: 9px; fill: #555; stroke: #555; stroke-width: 1.2; }

/* 3 Instagram */
.svj-ig { background: #fff; color: #000; }
.svj-igtop { position: absolute; top: 32px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; height: 24px; }
.svj-igtop b { font-weight: 600; font-size: 11px; }
.svj-igtop span { display: flex; gap: 10px; font-size: 13px; line-height: 1; }
.svj-igtop i { font-style: normal; }
.svj-ighead { position: absolute; top: 60px; left: 11px; right: 11px; display: flex; align-items: center; gap: 14px; }
.svj-ighead > i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: url("images/misthaven-thumb.jpg") center / cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #C9A24A; }
.svj-stats { flex: 1; display: flex; justify-content: flex-start; padding-left: 6px; }
.svj-stats span { display: flex; flex-direction: column; align-items: center; font-size: 7.5px; color: #262626; }
.svj-stats b { font-size: 10.5px; color: #000; font-weight: 600; }
.svj-bio { position: absolute; top: 110px; left: 11px; right: 11px; display: flex; flex-direction: column; gap: 1px; font-size: 8.5px; color: #262626; }
.svj-bio b { color: #000; font-weight: 600; font-size: 9px; }
.svj-igbtns { position: absolute; top: 155px; left: 11px; right: 11px; display: flex; gap: 4px; }
.svj-igbtns span { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; background: #EFEFEF; color: #000; font-size: 8.5px; font-weight: 600; }
.svj-igbtns span:first-child { background: #0095F6; color: #fff; }
.svj-grid { position: absolute; top: 183px; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; }
.svj-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.svj-likes { position: absolute; left: 50%; bottom: 52px; translate: -50% 0; display: flex; gap: 5px; align-items: center; padding: 5px 10px; border-radius: 999px;
  background: #fff; color: #000; font-size: 9.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.svj-likes span { color: #FF3040; }
.svj-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; padding: 7px 18px 0; display: flex; justify-content: space-between; align-items: flex-start; background: #fff; border-top: 1px solid #EFEFEF; }
.svj-tabs i { position: relative; width: 13px; height: 13px; }
.t-home { border: 1.6px solid #000; border-top: 0; border-radius: 0 0 2px 2px; height: 9px !important; margin-top: 4px; }
.t-home::before { content: ""; position: absolute; left: -1px; top: -6px; width: 10px; height: 10px; border-left: 1.6px solid #000; border-top: 1.6px solid #000; rotate: 45deg; transform-origin: 50% 50%; translate: 0 1px; }
.t-search { border: 1.6px solid #000; border-radius: 50%; width: 10px !important; height: 10px !important; }
.t-search::after { content: ""; position: absolute; right: -4px; bottom: -3px; width: 5px; height: 1.6px; background: #000; rotate: 45deg; }
.t-add { border: 1.6px solid #000; border-radius: 3.5px; }
.t-add::before, .t-add::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 1.6px; background: #000; translate: -50% -50%; }
.t-add::after { rotate: 90deg; }
.t-reel { border: 1.6px solid #000; border-radius: 3.5px; }
.t-reel::after { content: ""; position: absolute; left: 4px; top: 3px; border-left: 4px solid #000; border-top: 2.5px solid transparent; border-bottom: 2.5px solid transparent; }
.t-me { border-radius: 50%; background: url("images/misthaven-thumb.jpg") center / cover; box-shadow: 0 0 0 1.4px #000; }

/* 4 Photos */
.svj-photo { background: #000; }
.svj-photo::before { content: ""; position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 52px; background: linear-gradient(rgba(0,0,0,.45), transparent); pointer-events: none; }
.svj-big { position: absolute; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 3 / 2; translate: 0 -60%; object-fit: cover; }
.svj-ptop { position: absolute; z-index: 4; top: 36px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; color: #fff; font-size: 7.5px; }
.svj-ptop b { font-size: 10px; font-weight: 600; }
.svj-ptop span { color: #A0A0A0; }
.svj-filmstrip { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; padding: 6px 10px 18px; display: flex; gap: 2px; justify-content: center; background: #000; }
.svj-filmstrip img { width: 20px; height: 28px; object-fit: cover; opacity: .75; }
.svj-filmstrip img.on { width: 34px; opacity: 1; margin: 0 3px; }

/* 5 WhatsApp */
.svj-wa { background: #0B141A; display: flex; flex-direction: column; }
.svj-wahead { display: flex; align-items: center; gap: 7px; padding: 34px 10px 8px; background: #1F2C33; }
.svj-back { width: 7px; height: 7px; border-left: 1.8px solid #E9EDEF; border-bottom: 1.8px solid #E9EDEF; rotate: 45deg; margin: 0 2px 0 4px; }
.svj-av { width: 26px; height: 26px; border-radius: 50%; background: #6B7C85; position: relative; overflow: hidden; }
.svj-av::before { content: ""; position: absolute; left: 50%; top: 5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #CFD8DC; }
.svj-av::after { content: ""; position: absolute; left: 50%; top: 17px; width: 20px; height: 14px; margin-left: -10px; border-radius: 50%; background: #CFD8DC; }
.svj-wahead div { display: flex; flex-direction: column; }
.svj-wahead b { color: #E9EDEF; font-weight: 500; font-size: 10.5px; }
.svj-wahead span { color: #8696A0; font-size: 8px; }
.svj-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 10px 10px;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.025) 0 1px, transparent 1.5px) 0 0 / 14px 14px, #0B141A; }
.svj-msgs small { align-self: center; margin-bottom: 4px; padding: 3px 8px; border-radius: 6px; background: #182229; color: #8696A0; font-size: 7.5px; }
.svj-msgs p { margin: 0; max-width: 82%; padding: 6px 8px 7px; border-radius: 2px 9px 9px 9px; background: #202C33; color: #E9EDEF; font-size: 10px; line-height: 1.35; transform-origin: 0 0; }
.svj-msgs sub { display: block; margin-top: 1px; text-align: right; font-size: 7px; color: #8696A0; line-height: 1; vertical-align: baseline; }
.svj-typing { display: flex; gap: 3px; width: max-content; padding: 8px 10px !important; }
.svj-typing i { width: 5px; height: 5px; border-radius: 50%; background: #8696A0; animation: svj-dot 1.2s infinite ease-in-out; }
.svj-typing i:nth-child(2) { animation-delay: .15s; }
.svj-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes svj-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.svj-input { display: flex; align-items: center; gap: 6px; padding: 6px 8px 22px; background: #0B141A; }
.svj-input span { flex: 1; padding: 7px 11px; border-radius: 999px; background: #1F2C33; color: #8696A0; font-size: 9.5px; }
.svj-input i { width: 26px; height: 26px; border-radius: 50%; background: #00A884; position: relative; }
.svj-input i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 6px; height: 9px; margin-left: -3px; border-radius: 3px; background: #0B141A; }

/* WhatsApp notification over the photos */
.svj-note { position: absolute; z-index: 8; zoom: var(--svj-k, 1); top: 34px; left: 8px; right: 8px; display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px;
  border-radius: 14px; background: rgba(40,44,48,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; opacity: 0;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.6); }
.svj-note > i { width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; background: #25D366; position: relative; }
.svj-note > i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px solid #fff; border-bottom-left-radius: 2px; }
.svj-note div { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.25; }
.svj-note small { font-size: 7.5px; color: #C9D0D6; }
.svj-note b { font-size: 9.5px; font-weight: 600; }
.svj-note span { font-size: 8.5px; color: #E2E6EA; }

/* Progress line and captions */
.svj-track { position: relative; width: min(64vw, 260px); height: 1px; background: var(--border); }
.svj-fill { position: absolute; inset: 0; background: color-mix(in srgb, var(--heading) 55%, transparent); transform-origin: 0 50%; }
.svj-blip { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #C9A24A; box-shadow: 0 0 10px #C9A24A; }
.svj-caps { position: relative; width: 100%; height: 5.8rem; }
.svj-cap { position: absolute; inset: 0; text-align: center; padding: 0 12px; }
.svj-cap small { display: block; margin-bottom: 6px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #9CBBDB; }
.svj-cap p { margin: 0 auto; max-width: 18em; font-size: 1.32rem; line-height: 1.22; font-weight: 400; letter-spacing: -0.01em; color: var(--heading); text-wrap: balance; }
:root[data-theme="light"] .svj-cap small { color: #33597F; }
:root[data-theme="light"] .svj-blip { background: #8A6A2A; box-shadow: 0 0 10px rgba(138,106,42,.6); }
