/* =========================================================================
   EVOSION — THE O EXPERIENCE
   Rest-state layout lives here (CSS). Motion is applied by JS as inline
   `transform / opacity / filter` on top of these rest positions, so the
   page is fully readable with JS off or prefers-reduced-motion.
   Centering uses the individual `translate` property so it composes with
   the JS-driven `transform`.
   ========================================================================= */

:root {
  --bg: #F7F7F5;
  --ink: #373D42;
  --ink-2: #6A7076;
  --ink-3: #9AA0A5;
  --line: rgba(55, 61, 66, .12);
  --card: #FFFFFF;
  --blue: #1F97B9;
  --orange: #D2622F;
  --green: #37A156;
  --yellow: #F2C230;
  --charcoal: #3C4147;
  --night: #1E2225;
  --gutter: max(28px, 6vw);
  --header-h: 76px;
  --display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-1: 0 1px 2px rgba(30, 34, 37, .05), 0 8px 24px -8px rgba(30, 34, 37, .12);
  --shadow-2: 0 2px 4px rgba(30, 34, 37, .04), 0 24px 60px -18px rgba(30, 34, 37, .22), 0 60px 120px -40px rgba(30, 34, 37, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
:where(.stage, .site-header, .rail, .segbar) :is(img, svg) { display: block; max-width: 100%; }
:where(.stage, .site-header, .rail, .segbar) a { color: inherit; }
:where(.stage, .site-header, .rail, .segbar) button { font: inherit; }
:where(.stage, .site-header, .rail, .segbar) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.stage, .site-header, .rail, .segbar) :is(p, h1, h2) { margin: 0; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 500; transition: top .2s;
}
.skip:focus { top: 14px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand { position: relative; display: block; height: 26px; }
.brand .wm { height: 26px; width: auto; transition: opacity .5s var(--ease); }
.brand .wm-light { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.on-dark .brand .wm-dark { opacity: 0; }
.on-dark .brand .wm-light { opacity: 1; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; letter-spacing: .005em; }
.nav-link { text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; transition: color .4s var(--ease); }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  text-decoration: none; color: #fff; background: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-weight: 500;
  transition: transform .35s var(--ease), background .3s, color .4s;
}
.nav-cta:hover { transform: translateY(-1px); background: #23272B; }
.nav-cta:active { transform: scale(.97); }
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(250, 251, 252, .88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(55, 61, 66, .08); opacity: 0; transition: opacity .35s var(--ease);
}
.is-past .site-header::before { opacity: 1; }
.is-past .rail, .is-past .segbar { opacity: 0 !important; visibility: hidden !important; transition: opacity .3s, visibility 0s .3s; }
.on-dark .nav-link { color: #F2F2EF; }
.on-dark .nav-cta { background: #F7F7F5; color: var(--ink); }

/* ---------------------------------------------------------------- rail */
.rail {
  position: fixed; right: calc(var(--gutter) * .45); top: 50%; translate: 0 -50%; z-index: 30;
  display: none;
}
.motion .rail { display: block; }
.rail ol { display: flex; flex-direction: column; gap: 18px; position: relative; }
.rail-track { position: absolute; right: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.rail-fill { position: absolute; inset: 0 0 auto 0; height: 100%; background: var(--ink); transform-origin: top; transform: scaleY(var(--rail, 0)); opacity: .55; }
.rail a {
  display: flex; align-items: center; flex-direction: row-reverse; gap: 12px;
  text-decoration: none; color: var(--ink-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 0;
}
.rail-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--bg);
  border: 1px solid rgba(55, 61, 66, .35); position: relative; z-index: 1;
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.rail-label { opacity: 0; translate: 6px 0; transition: opacity .35s var(--ease), translate .45s var(--ease); white-space: nowrap; }
.rail-label b { font-weight: 600; color: var(--ink); margin-right: 4px; }
.rail a:hover .rail-label, .rail a:focus-visible .rail-label { opacity: 1; translate: 0 0; }
.rail:hover .rail-label { opacity: .55; translate: 0 0; }
.rail a:hover .rail-label { opacity: 1; }
.rail a.is-active .rail-dot { background: var(--c); border-color: var(--c); transform: scale(1.35); }
.rail a.is-past .rail-dot { background: var(--ink); border-color: var(--ink); }
.on-dark .rail a { color: rgba(255, 255, 255, .7); }
.on-dark .rail-label b { color: #fff; }
.on-dark .rail-track { background: rgba(255, 255, 255, .18); }
.on-dark .rail-fill { background: #fff; }

/* ---------------------------------------------------------------- stage */
.stage { position: relative; }
.motion .stage { position: fixed; inset: 0; overflow: hidden; z-index: 1; contain: layout paint; }
.motion .track { height: 1200vh; }  /* replaced by JS */
.motion .site-footer { position: relative; z-index: 5; }

.ambient {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px; border-radius: 50%;
  pointer-events: none; opacity: 0; z-index: 0;
  background: radial-gradient(closest-side, rgb(var(--amb, 31 151 185) / 1), rgb(var(--amb, 31 151 185) / .55) 30%, rgb(var(--amb, 31 151 185) / .18) 62%, rgb(var(--amb, 31 151 185) / 0));
  will-change: transform, opacity;
}
.o-shadow {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px; border-radius: 50%; z-index: 2;
  background: radial-gradient(closest-side, rgba(30, 34, 37, .5), rgba(30, 34, 37, .2) 40%, rgba(30, 34, 37, .06) 70%, rgba(30, 34, 37, 0));
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.o-wrap {
  position: absolute; left: 0; top: 0; width: 400px; height: 400px; z-index: 3;
  pointer-events: none; transform-origin: 50% 50%;
}
.o-wrap.is-draggable { pointer-events: auto; cursor: grab; }
.o-wrap.is-dragging { cursor: grabbing; }
.o-tilt { position: absolute; inset: 0; transform-style: flat; }
.o-spin { position: absolute; inset: 0; will-change: transform; }
.o-svg { width: 100%; height: 100%; overflow: visible; }
.o-svg .blade { transform: translate(calc(var(--lx) * var(--lift, 0) * 1px), calc(var(--ly) * var(--lift, 0) * 1px)); }
/* lifted blade: a crisp page-coloured cut separates it from the blade it slides over */
.o-svg .blade-edge {
  fill: none; stroke: var(--bg); stroke-width: 3.4; stroke-linejoin: round; opacity: var(--edge, 0); pointer-events: none;
  transform: translate(calc(var(--lx) * var(--lift, 0) * 1px), calc(var(--ly) * var(--lift, 0) * 1px));
}
/* Fixed light source: highlight + soft occlusion that do NOT rotate with the blades. */
.o-light {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: var(--light, .5);
  -webkit-mask: radial-gradient(circle closest-side, transparent 49.2%, #000 49.6%, #000 99.4%, transparent 100%);
          mask: radial-gradient(circle closest-side, transparent 49.2%, #000 49.6%, #000 99.4%, transparent 100%);
  background:
    radial-gradient(120% 120% at 28% 18%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle closest-side, rgba(0, 0, 0, .12) 49%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0) 92%, rgba(0, 0, 0, .07) 100%),
    radial-gradient(130% 130% at 78% 92%, rgba(0, 0, 0, .10), rgba(0, 0, 0, 0) 45%);
}
/* Background-coloured surround with an aperture-shaped hole, used to look *through* the O. */
.o-veil {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at var(--vx, 50%) var(--vy, 50%), rgb(247 247 245 / 0) var(--vr, 0px), var(--bg) calc(var(--vr, 0px) + 1px));
  visibility: hidden;
}

.scene { position: relative; }
.motion .scene { position: absolute; inset: 0; }
.motion .scene.is-off { display: none; }
.motion .scene.is-dormant { visibility: hidden; opacity: 0; pointer-events: none; }
.o-slot { position: absolute; width: var(--d); height: var(--d); left: calc(var(--x) - var(--d) / 2); top: calc(var(--y) - var(--d) / 2); pointer-events: none; }
.viz { position: absolute; z-index: 4; }

/* ---------------------------------------------------------------- copy */
.copy {
  position: absolute; z-index: 6; left: var(--gutter); top: 52%; translate: 0 -50%;
  width: min(36vw, 560px);
}
.copy .eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 26px;
}
.copy .eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.copy .eyebrow span { color: var(--ink); font-weight: 600; }
.headline, .hero-title, .finale-title {
  font-family: var(--display); font-weight: 650; text-transform: uppercase;
  letter-spacing: -.035em; line-height: .9; color: var(--ink);
}
.headline { font-size: clamp(44px, 5.5vw, 104px); }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; will-change: transform; }
.headline em { font-style: normal; color: var(--c); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 480px; }
.chips li {
  font-size: 13px; font-weight: 500; line-height: 1; padding: 8px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 11%, #fff); color: var(--ci, var(--ink));
  border: 1px solid color-mix(in srgb, var(--c) 26%, transparent);
}
.sub { margin-top: 26px; font-size: clamp(18px, 1.45vw, 23px); color: var(--ink-2); letter-spacing: -.005em; }
.cta {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 15.5px; color: var(--ink); text-decoration: none;
  padding: 13px 20px 13px 22px; border-radius: 999px; border: 1px solid rgba(55, 61, 66, .22);
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
}
.cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta:hover svg { transform: translateX(3px); }
.cta:active { transform: scale(.97); }

.scene-seo  { --c: var(--blue);   --ci: #14627A; }
.scene-ads  { --c: var(--orange); --ci: #9E3E1C; }
.scene-web  { --c: var(--green);  --ci: #22703C; }
.scene-tech { --c: var(--yellow); --ci: #7E6006; }
.cta { --ring: color-mix(in srgb, var(--c, var(--ink)) 45%, transparent); }
.cta:hover { background: var(--ink); }

/* ---------------------------------------------------------------- 00 intro */
.scene-intro .o-slot { --x: 50vw; --y: 41svh; --d: min(41svh, 36vw); }
.hero-copy { position: absolute; left: 0; right: 0; top: calc(41svh + min(41svh, 36vw) / 2 + 4.2svh); text-align: center; z-index: 6; padding: 0 20px; }
.hero-title { font-size: clamp(40px, 6.4vw, 112px); }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 1.35vw, 21px); color: var(--ink-2); letter-spacing: .01em; }
.svc-map { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-lines line { stroke: rgba(55, 61, 66, .35); stroke-width: 1; }
.map-tag {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px 9px 11px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(55, 61, 66, .08); box-shadow: var(--shadow-1);
  font: 600 14.5px/1 var(--display); letter-spacing: -.005em; color: var(--ink);
  opacity: 0; visibility: hidden;
}
.map-tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
.map-cap {
  position: absolute; left: 0; right: 0; top: calc(41svh + min(41svh, 36vw) / 2 + 6.5svh); z-index: 6; padding: 0 20px;
  text-align: center; font-size: clamp(18px, 1.7vw, 26px); color: var(--ink-2); opacity: 0; visibility: hidden; letter-spacing: -.01em;
}
.map-cap b { font-family: var(--display); font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: -.02em; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 6; width: 240px; /* fixed: a font swap must not shift it */
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); font-weight: 500;
}
.scroll-cue i { width: 1px; height: 38px; background: rgba(55, 61, 66, .18); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--ink); animation: cue 2.1s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-16px); } 70%, 100% { transform: translateY(40px); } }

/* Load choreography — pure CSS, so first paint (and LCP) never waits for the script. */
@keyframes o-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes o-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes o-fade { from { opacity: 0; } to { opacity: 1; } }
.motion .hero-title .line > span { animation: o-rise 1.1s cubic-bezier(.16, 1, .3, 1) .5s both; }
.motion .hero-sub { animation: o-fade-up .9s var(--ease) .9s both; }
.motion .scroll-cue { display: flex; }
.motion .scroll-cue span, .motion .scroll-cue i { animation: o-fade .7s var(--ease) 1.25s both; }
.motion .site-header { animation: o-fade .9s var(--ease) .35s both; }

/* Before the script has drawn its first frame: only the arrival exists (no jumble of chapters),
   with the O parked at its intro slot by CSS. */
.motion:not(.booted) :is(.scene:not(.scene-intro), .ambient, .o-shadow, .o-veil, .rail, .segbar, .svc-map, .map-cap) { visibility: hidden; }
.motion:not(.booted) .o-wrap { --d0: min(41svh, 36vw); width: var(--d0); height: var(--d0); left: calc(50vw - var(--d0) / 2); top: calc(41svh - var(--d0) / 2);
  animation: o-grow .8s cubic-bezier(.16, 1, .3, 1) .2s both; } /* same timing as CONFIG.intro, so the script picks it up seamlessly */
@keyframes o-grow { from { transform: scale(.94); } to { transform: none; } }

/* ---------------------------------------------------------------- 01 SEO */
.scene-seo .o-slot { --x: 84vw; --y: 33svh; --d: min(40svh, 27vw); }
.seo-card {
  left: 42.5vw; top: 50svh; translate: 0 -50%;
  width: min(470px, 33vw);
  background: var(--card); border-radius: 22px; box-shadow: var(--shadow-2);
  padding: 14px; z-index: 5;
}
.sbar {
  display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px;
  border-radius: 999px; background: #F3F4F3; border: 1px solid rgba(55, 61, 66, .07);
  font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden;
}
.sbar-ic { width: 19px; height: 19px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.q { min-width: 0; }
.caret { width: 1.5px; height: 20px; background: var(--blue); margin-left: -10px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.smap {
  position: relative; height: 104px; margin: 12px 0 6px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #EEF3F2, #E9EEEE);
}
.smap svg { width: 100%; height: 100%; }
.road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.road.thin { stroke-width: 5; }
.pin {
  position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -12px 0 0 -6px;
  border-radius: 50% 50% 50% 0; rotate: -45deg; background: #B9C2C6; box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
}
.pin-you { width: 18px; height: 18px; margin: -18px 0 0 -9px; background: var(--blue); z-index: 1; }
.pin-you i { position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.pin-you::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 151, 185, .32), rgba(31, 151, 185, 0) 70%); transform: scale(var(--ping, 0));
}
.results { display: grid; gap: 4px; }
.res {
  position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 6px; align-items: center;
  padding: 12px; border-radius: 14px; background: #fff; transform-origin: 50% 50%;
}
.fav { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: #EEF0EF; }
.fav-you { display: grid; place-items: center; background: #F3F6F7; }
.fav-you svg { width: 22px; height: 22px; }
.sk { height: 9px; border-radius: 6px; background: #E6E8E7; }
.sk.lt { background: #EFF1F0; height: 7px; }
.w90 { width: 90%; } .w70 { width: 70%; } .w60 { width: 60%; } .w45 { width: 45%; } .w35 { width: 35%; }
.res-you { grid-template-columns: 34px 1fr; }
.res-you::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px var(--blue), 0 18px 40px -14px rgba(31, 151, 185, .45); opacity: var(--focus, 0);
}
.res-name { font-family: var(--display); font-weight: 600; font-size: 16px; color: #1A5F78; line-height: 1.1; }
.res-meta { font-size: 13px; color: var(--ink-2); line-height: 1.1; }

/* --- Google search ad */
.post-g { left: 44vw; top: 9svh; --w: min(262px, 19vw); z-index: 5; }
.g-card { display: grid; gap: .35em; padding: .95em 1em 1em; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #202124; }
.g-spons { font-size: .82em; font-weight: 700; color: #202124; }
.g-site { display: flex; align-items: center; gap: .6em; }
.g-fav { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: #F1F3F4; border: 1px solid #DADCE0; flex: none; }
.g-fav svg { width: 66%; height: 66%; }
.g-src { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.g-src b { font-size: .9em; font-weight: 400; color: #202124; }
.g-src em { font-style: normal; font-size: .78em; color: #4D5156; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-dots { margin-left: auto; display: flex; flex-direction: column; gap: .16em; padding: .2em .3em; }
.g-dots i { width: .26em; height: .26em; border-radius: 50%; background: #5F6368; }
.g-title { font-size: 1.32em; line-height: 1.25; color: #1A0DAB; margin-top: .1em; }
.g-desc { font-size: .88em; line-height: 1.45; color: #4D5156; }
.g-links { display: flex; flex-wrap: wrap; gap: .35em 1em; margin-top: .15em; }
.g-links span { font-size: .88em; color: #1A0DAB; }

/* --- Google Business Profile panel */
.gbp {
  left: calc(42.5vw + min(470px, 33vw) - 4vw); top: 38svh; z-index: 6;
  --w: min(310px, 22vw); width: var(--w); font-size: calc(var(--w) / 25.8);
  background: #fff; border-radius: 1.3em; overflow: hidden; color: #1F1F1F;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 1px 2px rgba(15, 20, 25, .06), 0 1.8em 4em -1.4em rgba(15, 20, 25, .34), 0 0 0 1px rgba(15, 20, 25, .05);
}
.gbp svg { display: block; }
.gbp-photos { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: .2em; height: 7.4em; }
.gbp-photos i { display: block; }
.gbp-photos .ph1 { grid-row: span 2; display: grid; place-items: center; background: linear-gradient(140deg, #E9F3F7, #CFE5EE); }
.gbp-photos .ph1 svg { width: 3.4em; height: 3.4em; }
.gbp-photos .ph2 { background: linear-gradient(140deg, #6EAEC8, #1F97B9 60%, #2E7C81); }
.gbp-photos .ph3 { background: linear-gradient(140deg, #F6EEE6, #EADBCB); }
.gbp-body { display: grid; gap: .45em; padding: 1em 1.15em 1.1em; }
.gbp-name { font-size: 1.45em; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.gbp-rate { display: flex; align-items: center; gap: .5em; font-size: .95em; }
.gbp-stars { color: #FBBC04; letter-spacing: .06em; }
.gbp-cnt { color: #1A0DAB; }
.gbp-cat { font-size: .92em; color: #4D5156; }
.gbp-cat b, .gbp-row b { color: #188038; font-weight: 600; }
.gbp-acts { display: flex; justify-content: space-between; margin: .5em 0 .35em; padding-bottom: .8em; border-bottom: 1px solid #ECEDEF; }
.gbp-acts > span { display: flex; flex-direction: column; align-items: center; gap: .4em; font-size: .82em; color: #1A73E8; font-weight: 500; }
.gbp-acts i { display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: 50%; border: 1px solid #DADCE0; }
.gbp-acts svg { width: 1.35em; height: 1.35em; fill: none; stroke: #1A73E8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gbp-acts .hot i { background: #1A73E8; border-color: #1A73E8; }
.gbp-acts .hot svg { stroke: #fff; }
.gbp-row { display: flex; align-items: center; gap: .65em; font-size: .9em; color: #3C4043; }
.gbp-row svg { width: 1.3em; height: 1.3em; fill: none; stroke: #5F6368; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------------------------------------------------------------- 02 ADS */
.scene-ads .o-slot { --x: 71vw; --y: 52svh; --d: min(60svh, 40vw); }
.ad-links { display: none; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.lk { fill: none; stroke: var(--orange); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
.post { z-index: 5; --w: 262px; width: var(--w); font-size: calc(var(--w) / 21.8); }
.post-ig { left: 44vw; top: calc(9svh + min(262px, 19vw) * .64 + 34px); --w: min(262px, 19vw); z-index: 6; }
.post-fb { left: calc(44vw + min(262px, 19vw) + 1.8vw); top: 12svh; --w: min(300px, 22vw); font-size: calc(var(--w) / 25); }
.post-label {
  position: absolute; left: .2em; bottom: calc(100% + .7em); display: inline-flex; align-items: center; gap: .55em;
  font: 600 max(10px, .8em)/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.post-label i { width: .65em; height: .65em; border-radius: 50%; background: var(--orange); }
.post-card {
  background: #fff; border-radius: .9em; overflow: hidden; color: #0F1419;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 1px 2px rgba(15, 20, 25, .06), 0 1.6em 3.6em -1.4em rgba(15, 20, 25, .32), 0 0 0 1px rgba(15, 20, 25, .05);
}
.post-card svg { display: block; }
/* --- Instagram */
.ig-head { display: flex; align-items: center; gap: .65em; padding: .7em .8em; }
.ig-ring { width: 2.55em; height: 2.55em; border-radius: 50%; padding: .14em; flex: none; background: conic-gradient(from 210deg, #F9CE34, #EE2A7B, #6228D7, #F9CE34); }
.ig-av { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; border: .14em solid #fff; }
.ig-av svg { width: 72%; height: 72%; }
.ig-who { display: flex; flex-direction: column; line-height: 1.2; }
.ig-who b { font-size: 1.04em; font-weight: 600; }
.ig-who em { font-style: normal; font-size: .86em; color: #536471; }
.ig-more, .fb-more { margin-left: auto; display: flex; gap: .22em; padding: .3em; }
.ig-more i, .fb-more i { width: .3em; height: .3em; border-radius: 50%; background: #0F1419; }
.ig-cta { display: flex; align-items: center; justify-content: space-between; padding: .78em .85em; background: #F3F4F6; font-size: .98em; font-weight: 600; border-bottom: 1px solid #ECEEF0; }
.ig-cta svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ig-actions { display: flex; gap: 1em; padding: .7em .85em .35em; }
.ig-actions svg { width: 1.75em; height: 1.75em; fill: none; stroke: #0F1419; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ig-actions .ig-save { margin-left: auto; }
.ig-cap { margin: 0; padding: .2em .85em .9em; font-size: .92em; line-height: 1.35; }
.ig-cap b { font-weight: 600; margin-right: .25em; }
/* --- Facebook */
.fb-head { display: flex; align-items: center; gap: .6em; padding: .8em .85em .5em; }
.fb-av { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: #F4F4F2; flex: none; border: 1px solid #E4E6EB; }
.fb-av svg { width: 70%; height: 70%; }
.fb-who { display: flex; flex-direction: column; line-height: 1.25; }
.fb-who b { font-size: 1em; font-weight: 600; color: #050505; }
.fb-who em { display: inline-flex; align-items: center; gap: .3em; font-style: normal; font-size: .82em; color: #65676B; }
.fb-who em svg { width: .95em; height: .95em; fill: none; stroke: #65676B; stroke-width: 1.8; }
.fb-text { margin: 0; padding: 0 .85em .7em; font-size: .93em; line-height: 1.38; color: #050505; }
.fb-link { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: .7em .85em; background: #F0F2F5; }
.fb-url { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.fb-url em { font-style: normal; font-size: .74em; color: #65676B; letter-spacing: .02em; }
.fb-url b { font-size: .98em; font-weight: 600; color: #050505; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-btn { flex: none; font-size: .9em; font-weight: 600; padding: .55em .95em; border-radius: .45em; background: #E2E5E9; color: #050505; }
.fb-react { display: flex; justify-content: space-around; padding: .55em .5em .65em; border-top: 1px solid #E4E6EB; margin: 0 .6em; }
.fb-react span { display: inline-flex; align-items: center; gap: .4em; font-size: .88em; font-weight: 600; color: #65676B; }
.fb-react svg { width: 1.3em; height: 1.3em; fill: none; stroke: #65676B; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* --- the creatives (designed, no stock imagery) */
.cr { position: relative; overflow: hidden; }
.cr-ig { aspect-ratio: 1; background: #F6EEE6; }
.cr-arc { position: absolute; border-radius: 50%; }
.cr-ig .a1 { width: 96%; height: 96%; right: -34%; bottom: -30%; background: linear-gradient(150deg, #E8823F, #D2622F 55%, #BB262C); }
.cr-ig .a2 { width: 50%; height: 50%; right: 4%; bottom: 8%; border: 1.25em solid rgba(255, 255, 255, .92); }
.cr-dot { position: absolute; width: 15%; height: 15%; left: 62%; top: 22%; border-radius: 50%; background: linear-gradient(150deg, #FAE8A5, #F3C832); }
.cr-logo { position: absolute; right: 7%; top: 6.5%; width: 9%; aspect-ratio: 1; }
.cr-logo svg { width: 100%; height: 100%; }
.cr-h { position: absolute; left: 7.5%; top: 7.5%; font: 700 2.55em/.9 var(--display); letter-spacing: -.035em; color: #22282C; text-transform: uppercase; }
.cr-h em, .cr-h2 em { font-style: normal; color: #D2622F; }
.cr-pill { position: absolute; left: 7.5%; bottom: 8%; font: 600 .9em/1 var(--body); padding: .65em 1.05em; border-radius: 99em; background: #22282C; color: #fff; }
.cr-fb { aspect-ratio: 1.91; background: linear-gradient(135deg, #E8823F, #D2622F 55%, #BB3A2C); }
.cr-fb .a3 { width: 70%; aspect-ratio: 1; height: auto; left: -18%; bottom: -62%; border: 1.6em solid rgba(255, 255, 255, .16); }
.cr-fb .cr-h2 { position: absolute; left: 6%; top: 50%; translate: 0 -50%; font: 700 1.9em/.92 var(--display); letter-spacing: -.03em; color: #fff; text-transform: uppercase; }
.cr-fb .cr-h2 em { color: #FCE3A8; }
.cr-slots { position: absolute; right: 6%; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: .42em; }
.cr-slots span { display: flex; align-items: center; justify-content: space-between; gap: .6em; min-width: 7.2em; font: 600 .82em/1 var(--body); padding: .62em .8em; border-radius: .55em; background: rgba(255, 255, 255, .2); color: #fff; }
.cr-slots span.on { background: #fff; color: #C2502A; box-shadow: 0 .5em 1.2em -.4em rgba(80, 20, 0, .5); }
.cr-slots i { font-style: normal; }
.ad-chips { display: none !important; left: 42.5vw; top: calc(22svh + min(262px, 19vw) * 1.62 + 16px); width: min(300px, 21vw); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; z-index: 2; }
.ad-chips span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ad-chips i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.ad-perf {
  left: calc(44vw + min(262px, 19vw) + 1.8vw); top: calc(12svh + min(300px, 22vw) * 1.1 + 4svh); width: min(280px, 20vw); z-index: 5;
  background: var(--card); border-radius: 18px; padding: 16px 18px 14px; box-shadow: var(--shadow-2);
}
.perf-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 8px; }
.perf-head b { font-weight: 600; }
.demo { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border: 1px dashed rgba(55, 61, 66, .25); padding: 3px 7px; border-radius: 6px; }
.perf-chart { width: 100%; height: 96px; overflow: visible; }
.perf-chart .grid { stroke: rgba(55, 61, 66, .08); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.perf-chart .line { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.perf-chart .line2 { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.perf-chart .area { fill: url(#none); fill: rgba(210, 98, 47, .10); }
.perf-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 11.5px; color: var(--ink-2); }
.perf-legend i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; }
.perf-legend .k1 { background: var(--orange); height: 2.4px; }
.perf-legend .k2 { background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 8px); }

/* ---------------------------------------------------------------- 03 WEB */
.scene-web .o-slot { --x: 68vw; --y: 50svh; --d: min(50vw, 76svh, 820px); }
.device {
  position: absolute; left: 0; top: 0; z-index: 5; width: 300px; height: 300px;
  border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(55, 61, 66, .08), 0 30px 80px -30px rgba(30, 34, 37, .45);
  visibility: hidden;
}
.dev-screen { position: absolute; inset: 0; overflow: hidden; background: #FBFBF9; }
.dev-bar {
  position: absolute; inset: 0 0 auto 0; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px;
  background: rgba(247, 247, 245, .92); border-bottom: 1px solid rgba(55, 61, 66, .08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dev-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DADCDB; }
.dev-bar span { margin: 0 auto; font-size: 11.5px; color: var(--ink-2); background: #fff; padding: 3px 14px; border-radius: 999px; border: 1px solid rgba(55, 61, 66, .07); translate: -14px 0; }
.dev-island { position: absolute; left: 50%; top: 10px; width: 86px; height: 24px; translate: -50% 0; border-radius: 999px; background: #121416; opacity: 0; }
.dev-cursor {
  position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; z-index: 3;
  background: rgba(55, 61, 66, .85); border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); opacity: 0;
}
.dev-cursor::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(55, 61, 66, .5); transform: scale(var(--click, 0)); opacity: calc(1 - var(--click, 0)); }
.dev-caption { left: 0; top: 0; z-index: 6; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.dev-caption b { color: var(--ink); font-weight: 600; }

/* --- the demo site (sized in container units → it really reflows when the frame narrows) */
.mock { position: absolute; left: 0; top: 0; width: 100%; container-type: inline-size; transform-origin: 0 0; color: #22282C; font-family: var(--body); will-change: transform; }
.mock span, .mock b, .mock i, .mock s { display: block; }
.mk-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 3.4cqw; }
.mk-logo { display: flex !important; align-items: center; gap: 1cqw; font: 700 2.1cqw/1 var(--display); letter-spacing: -.02em; }
.mk-logo svg { width: 2.8cqw; height: 2.8cqw; }
.mk-links { display: flex !important; gap: 2.6cqw; font-size: 1.5cqw; color: #6A7076; margin-left: auto; }
.mk-btn { font-size: 1.45cqw; font-weight: 600; padding: 1cqw 1.9cqw; border-radius: 99px; background: #23744A; color: #fff; }
.mk-burger { display: none !important; }
.mk-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.4cqw; padding: 3.6cqw 3.4cqw 4.6cqw; align-items: center; }
.mk-pill { display: inline-block !important; font-size: 1.3cqw; font-weight: 600; padding: .7cqw 1.4cqw; border-radius: 99px; background: #E4F2E7; color: #2F8A4D; }
.mk-h { font: 700 5.4cqw/.98 var(--display); letter-spacing: -.035em; margin: 1.8cqw 0 1.6cqw; }
.mk-p { font-size: 1.65cqw; line-height: 1.45; color: #6A7076; max-width: 36cqw; }
.mk-ctas { display: flex !important; gap: 1.3cqw; margin-top: 2.6cqw; }
.mk-cta, .mk-cta2 { display: inline-block !important; font-size: 1.5cqw; font-weight: 600; padding: 1.25cqw 2.3cqw; border-radius: 99px; background: #22282C; color: #fff; }
.mk-cta2 { background: transparent; color: #22282C; box-shadow: inset 0 0 0 1px rgba(34, 40, 44, .25); }
.mk-art { position: relative; aspect-ratio: 1 / .86; border-radius: 2.4cqw; overflow: hidden; background: linear-gradient(150deg, #EAF4EC, #CFE6D5); }
.mk-art i { position: absolute; border-radius: 50%; }
.mk-art .a1 { width: 78%; height: 90%; left: 30%; top: 22%; background: linear-gradient(150deg, #85BE8B, #36A454 55%, #2F8A4D); }
.mk-art .a2 { width: 46%; height: 53%; left: 8%; top: 10%; border: 2.2cqw solid rgba(255, 255, 255, .9); }
.mk-art .a3 { width: 17%; height: 20%; left: 62%; top: 9%; background: linear-gradient(150deg, #FAE8A5, #F3C832); }
.mk-art .a4 { width: 24%; height: 28%; left: 10%; top: 64%; background: linear-gradient(150deg, #6EAEC8, #1F97B9); }
.mk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 3.4cqw 4cqw; }
.mk-card { background: #fff; border-radius: 1.8cqw; padding: 2.2cqw; box-shadow: 0 .4cqw 2cqw -.6cqw rgba(30, 34, 37, .14); }
.mk-card i { width: 3.4cqw; height: 3.4cqw; border-radius: 1cqw; background: var(--k); margin-bottom: 1.6cqw; }
.mk-card b { font: 600 1.7cqw/1.2 var(--display); margin-bottom: 1.2cqw; }
.mk-card s { height: .8cqw; border-radius: .5cqw; background: #ECEEED; margin-top: .8cqw; text-decoration: none; }
.mk-card s.sh { width: 60%; }
.mk-band { margin: 0 3.4cqw 4cqw; border-radius: 2.4cqw; background: #22282C; color: #fff; padding: 4cqw; display: flex !important; justify-content: space-between; align-items: center; gap: 3cqw; }
.mk-band .mk-cta { background: #F7F7F5; color: #22282C; }
.mk-h2 { font: 700 3cqw/1.05 var(--display); letter-spacing: -.02em; }
.mk-foot { display: flex !important; gap: 3cqw; padding: 0 3.4cqw 5cqw; }
.mk-foot span { height: .9cqw; width: 14cqw; border-radius: .5cqw; background: #E6E8E7; }
@container (max-width: 430px) {
  .mk-nav { padding: 10cqw 5.5cqw 3.5cqw; }
  .mk-logo { font-size: 5.2cqw; gap: 2cqw; } .mk-logo svg { width: 6.6cqw; height: 6.6cqw; }
  .mk-links, .mk-btn { display: none !important; }
  .mk-burger { display: flex !important; flex-direction: column; gap: 1.6cqw; margin-left: auto; }
  .mk-burger i { width: 6.4cqw; height: .9cqw; border-radius: 1cqw; background: #22282C; }
  .mk-hero { grid-template-columns: 1fr; gap: 5cqw; padding: 2cqw 5.5cqw 7cqw; }
  .mk-art { order: -1; aspect-ratio: 1 / .78; border-radius: 5cqw; }
  .mk-art .a2 { border-width: 4cqw; }
  .mk-pill { font-size: 3.2cqw; padding: 1.4cqw 3cqw; }
  .mk-h { font-size: 11.2cqw; margin: 3.5cqw 0 3cqw; }
  .mk-p { font-size: 3.9cqw; max-width: none; }
  .mk-ctas { gap: 2.6cqw; margin-top: 5cqw; }
  .mk-cta, .mk-cta2 { font-size: 3.6cqw; padding: 3cqw 5cqw; }
  .mk-row { grid-template-columns: 1fr; gap: 3.4cqw; padding: 0 5.5cqw 7cqw; }
  .mk-card { border-radius: 4.4cqw; padding: 5cqw; }
  .mk-card i { width: 8cqw; height: 8cqw; border-radius: 2.4cqw; margin-bottom: 3cqw; }
  .mk-card b { font-size: 4.4cqw; margin-bottom: 2.4cqw; }
  .mk-card s { height: 1.8cqw; margin-top: 1.8cqw; }
  .mk-band { flex-direction: column; align-items: flex-start; margin: 0 5.5cqw 7cqw; padding: 7cqw; border-radius: 5cqw; gap: 5cqw; }
  .mk-h2 { font-size: 7cqw; }
  .mk-foot span { height: 2cqw; width: 22cqw; }
}

/* ---------------------------------------------------------------- 04 TECH */
.scene-tech .o-slot { --x: 66vw; --y: 50svh; --d: min(30svh, 22vw); }
.tech-lines { left: 0; top: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.tech-lines path { fill: none; stroke: rgba(55, 61, 66, .32); stroke-width: 1.2; stroke-linecap: round; }
.tech-lines path.flow { stroke: #C99A12; stroke-dasharray: 2 7; stroke-width: 1.6; }
.tech-lines circle { fill: var(--yellow); stroke: #fff; stroke-width: 2; }
.tech-core {
  left: 0; top: 0; width: 64px; height: 64px; translate: -50% -50%; z-index: 4;
  display: grid; place-items: center; border-radius: 50%;
}
.tech-core svg { rotate: var(--spin, 0deg); width: 34px; height: 34px; fill: var(--yellow); filter: drop-shadow(0 0 14px rgba(242, 194, 48, .7)); grid-area: 1 / 1; }
.tech-core span { grid-area: 1 / 1; font-family: var(--display); font-size: 11px; font-weight: 700; color: var(--ink); translate: 0 30px; letter-spacing: .1em; }
.node {
  width: min(232px, 17vw); padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-1);
  display: grid; gap: 6px; font-size: 13px; z-index: 5;
  border: 1px solid rgba(55, 61, 66, .05);
}
.node::before { content: ''; position: absolute; inset: -1px; border-radius: 16px; box-shadow: 0 0 0 1.5px var(--yellow), 0 12px 36px -12px rgba(242, 194, 48, .7); opacity: var(--hot, 0); pointer-events: none; }
.n-k { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); }
.n-ic { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #FBF3D8; color: #9E7A0C; font-size: 12px; }
.n-v { color: var(--ink); line-height: 1.35; }
.n-s { font-size: 11.5px; color: var(--ink-3); }
.n-s.ok { color: var(--green); font-weight: 600; }
.n-row { display: flex; justify-content: space-between; font-size: 12.5px; border-top: 1px solid rgba(55, 61, 66, .06); padding-top: 5px; }
.n-row em { font-style: normal; color: var(--ink-3); }
.n-row b { font-weight: 600; }
.swap { position: relative; display: inline-grid; }
.swap s, .swap u { grid-area: 1 / 1; text-decoration: none; text-align: right; }
.swap s { opacity: calc(1 - var(--swap, 0)); }
.swap u { color: var(--green); opacity: var(--swap, 0); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; }
.bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--yellow), #E7AB30); height: calc(var(--h) * 100% * var(--grow, .25)); }
.node[data-node="enquiry"] { left: 43vw; top: 15svh; }
.node[data-node="crm"]     { right: calc(var(--gutter) + 34px); top: 12svh; }
.node[data-node="booking"] { right: calc(var(--gutter) + 14px); top: 47svh; }
.node[data-node="follow"]  { left: calc(66vw - 1vw); top: 72svh; }
.node[data-node="report"]  { left: 42.5vw; top: 63svh; }
.tech-reply {
  left: 0; top: 0; z-index: 6; translate: -50% 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; box-shadow: var(--shadow-1);
}
.tech-reply i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

/* ---------------------------------------------------------------- 05 TEAM (charcoal blade) */
.scene-team { --c: var(--charcoal); --ci: var(--ink); }
.scene-team .o-slot { --x: 70vw; --y: 52svh; --d: min(66svh, 46vw); }
.team-rail { position: absolute; z-index: 5; left: 41vw; right: 0; top: 0; }
.motion .team-rail { visibility: hidden; }
.team-rail #ev-lanyard { width: calc(100% / var(--s, 1)); transform: scale(var(--s, 1)); transform-origin: 0 0; --color-background: var(--bg); --hp-font-body: var(--body); }
/* let the O show through: drop the component's own backdrop + dot grid */
.scene-team #ev-lanyard [data-slot="team-lanyard-rail"] { background: transparent; }
.scene-team #ev-lanyard [data-slot="team-lanyard-rail"] > .\-z-10 { display: none; }
.scene-team #ev-lanyard [aria-live="polite"] { text-shadow: 0 0 10px var(--bg), 0 0 4px var(--bg), 0 0 2px var(--bg); }

/* ---------------------------------------------------------------- 06 REVEAL */
.scene-reveal .o-slot { --x: 50vw; --y: 50svh; --d: min(44svh, 40vw); }
.inside {
  position: absolute; inset: 0; z-index: 2; background: var(--night); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.4svh;
  padding: calc(var(--header-h) + 1svh) 24px 4svh;
}
.inside-cap { color: rgba(255, 255, 255, .72); font-size: clamp(17px, 1.6vw, 24px); letter-spacing: -.01em; }
.inside-cap b { font-family: var(--display); font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: -.02em; }
.svc-grid { display: grid; grid-template-columns: repeat(2, min(33vw, 50svh)); gap: min(1.5vw, 18px); will-change: transform; }
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  aspect-ratio: 1.6; padding: clamp(18px, 2vw, 30px); border-radius: 22px; overflow: hidden;
  background: var(--g); color: #fff; text-decoration: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc::before {
  content: ''; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -38%; border-radius: 50%;
  border: clamp(14px, 1.8vw, 26px) solid rgba(255, 255, 255, .16);
}
.svc-n { position: absolute; left: clamp(18px, 2vw, 30px); top: clamp(16px, 1.8vw, 26px); font: 600 13px/1 var(--display); letter-spacing: .12em; opacity: .85; }
.svc b { font: 650 clamp(20px, 1.9vw, 31px)/1.04 var(--display); letter-spacing: -.025em; max-width: 88%; }
.svc-l { font-size: clamp(13.5px, 1.05vw, 16px); opacity: .92; }
.svc-x { font-size: 12px; letter-spacing: .04em; opacity: .78; }
.svc-ar {
  position: absolute; right: clamp(16px, 1.8vw, 24px); top: clamp(14px, 1.6vw, 22px); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; background: rgba(255, 255, 255, .2); transition: transform .45s var(--ease), background .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.svc:hover .svc-ar { transform: translateX(3px); background: rgba(255, 255, 255, .32); }
.svc-light { color: #3A3115; }
.svc-light .svc-ar { background: rgba(58, 49, 21, .1); }
.svc-light::before { border-color: rgba(255, 255, 255, .35); }
.finale {
  position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--header-h) 24px 40px; background: var(--bg);
  clip-path: circle(var(--wipe, 150%) at var(--wx, 50%) var(--wy, 50%));
}
.finale-wm { width: min(460px, 62vw); height: auto; margin-bottom: 5.5svh; }
.finale-title { font-size: clamp(44px, 7.4vw, 132px); }
.finale-sub { margin-top: 22px; font-size: clamp(17px, 1.5vw, 22px); color: var(--ink-2); }
.finale-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: .08em; font-size: 14px;
  text-transform: uppercase; padding: 17px 28px; border-radius: 999px;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 18px 40px -18px rgba(30, 34, 37, .55); }
.btn-primary:hover { background: #23272B; transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { color: var(--ink); border: 1px solid rgba(55, 61, 66, .25); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.finale-alt { margin-top: 26px; font-size: 14.5px; color: var(--ink-2); }
.finale-alt a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.finale-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4.5svh; max-width: 640px; }
.finale-nav a {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none;
  background: #fff; border: 1px solid rgba(55, 61, 66, .1); box-shadow: 0 1px 2px rgba(30, 34, 37, .04), 0 8px 20px -12px rgba(30, 34, 37, .25);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.finale-nav a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); transition: transform .35s var(--ease); }
.finale-nav a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 14px 28px -14px rgba(30, 34, 37, .35); }
.finale-nav a:hover i { transform: scale(1.3); }
.finale-nav a:active { transform: scale(.97); }
.finale-legal { position: absolute; left: 0; right: 0; bottom: max(14px, 2.2svh); font-size: 12px; color: var(--ink-3); }
.finale-legal a { color: var(--ink-2); text-decoration: none; }
.finale-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- phone service bar */
.segbar { display: none; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.foot-inner { padding: 44px var(--gutter) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.foot-inner img { height: 22px; width: auto; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-inner a { text-decoration: none; color: var(--ink); }
.foot-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   STATIC / REDUCED-MOTION MODE (html without .motion)
   ========================================================================= */
html:not(.motion) .o-wrap, html:not(.motion) .o-shadow, html:not(.motion) .ambient, html:not(.motion) .track,
html:not(.motion) .svc-map, html:not(.motion) .map-cap, html:not(.motion) .o-veil { display: none; }
html:not(.motion) .scene { min-height: max(760px, 100svh); overflow: hidden; border-bottom: 1px solid var(--line); }
html:not(.motion) .o-slot { background: url(../o-mark.svg) center / contain no-repeat; }
html:not(.motion) .scene-intro { min-height: 100svh; }
html:not(.motion) .scene-web .o-slot { opacity: .22; }
html:not(.motion) .scene-reveal { min-height: auto; display: grid; }
html:not(.motion) .scene-reveal .o-slot { display: none; }
html:not(.motion) .inside { position: relative; padding: 90px 24px 80px; }
html:not(.motion) .finale { position: relative; min-height: 90svh; clip-path: none; }
html:not(.motion) .device { visibility: visible; border-radius: 14px; }
html:not(.motion) .tech-lines, html:not(.motion) .tech-core { display: none; }

/* =========================================================================
   PHONE + PORTRAIT TABLET (stacked composition)
   ========================================================================= */
@media (max-width: 759px) {
  :root { --gutter: 22px; --header-h: 64px; }
  body { font-size: 16px; }
  .brand, .brand .wm { height: 22px; }
  .nav { gap: 0; }
  .nav-link { display: none; }
  .nav-cta { padding: 9px 15px; font-size: 13.5px; }
}
/* keep in sync with CONFIG.stackedQuery */
@media (max-width: 759px), (orientation: portrait) and (max-width: 1100px) {
  :root { --gutter: max(22px, 5vw); --vz: calc(var(--header-h) + 34px); }
  .motion .rail { display: none; }

  /* service bar: one segment per blade colour, tappable */
  .motion .segbar {
    display: flex; position: fixed; z-index: 39; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) - 2px);
    gap: 6px; opacity: 0; visibility: hidden;
  }
  .segbar a { flex: 1; display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 4px 0 10px; min-height: 34px; }
  .seg-l { font: 600 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); transition: color .3s; }
  .segbar a.is-active .seg-l { color: var(--ink); }
  .segbar i { display: block; height: 3px; border-radius: 3px; background: rgba(55, 61, 66, .12); overflow: hidden; }
  .segbar b { display: block; height: 100%; background: var(--c); transform-origin: left; transform: scaleX(var(--f, 0)); }

  .copy { left: var(--gutter); right: var(--gutter); top: auto; bottom: max(26px, 4.5svh); translate: none; width: auto; max-width: 680px; }
  .copy .eyebrow { margin-bottom: 12px; font-size: 11px; gap: 8px; }
  .headline { font-size: clamp(34px, 9.8vw, 84px); }
  .sub { margin-top: 10px; font-size: 16px; }
  .chips { margin-top: 14px; gap: 6px; }
  .chips li { font-size: 12px; padding: 6px 10px; }
  .cta { margin-top: 16px; padding: 11px 16px 11px 18px; font-size: 14.5px; }

  .scene-intro .o-slot { --x: 50vw; --y: 37svh; --d: min(66vw, 38svh); }
  .motion:not(.booted) .o-wrap { --d0: min(66vw, 38svh); top: calc(37svh - var(--d0) / 2); }
  .hero-copy { top: calc(37svh + min(66vw, 38svh) / 2 + 5svh); }
  .hero-title { font-size: clamp(34px, 10.4vw, 84px); }
  .map-cap { top: calc(37svh + min(66vw, 38svh) / 2 + 9svh); font-size: 17px; padding: 0 28px; }
  .map-cap b { display: block; font-size: 28px; margin-bottom: 4px; }
  .map-tag { font-size: 12.5px; padding: 7px 12px 7px 9px; gap: 7px; }
  .map-tag i { width: 8px; height: 8px; }

  .scene-seo .o-slot { --x: 50vw; --y: calc(var(--vz) + 11svh); --d: min(50vw, 22svh); }
  .seo-card { left: var(--gutter); right: var(--gutter); top: calc(var(--vz) + 19svh); translate: none; width: auto; max-width: 560px; margin: 0 auto; padding: 10px; border-radius: 18px; }
  .sbar { height: 42px; font-size: 14px; padding: 0 14px; }
  .smap { display: none; }
  .res { padding: 8px 10px; }
  .res:not(.res-you) { display: none; }
  .res-name { font-size: 14.5px; }
  .gbp { left: var(--gutter); right: var(--gutter); top: calc(var(--vz) + 17svh); --w: min(calc(100vw - 2 * var(--gutter)), 420px); width: auto; max-width: 420px; margin: 0 auto; font-size: calc(var(--w) / 27); }
  .gbp-photos { height: 5.6em; }
  .gbp-row, .gbp-cat { display: none; }
  .gbp-acts { border: 0; padding-bottom: 0; margin-bottom: 0; }

  .scene-ads .o-slot { --x: 55vw; --y: calc(var(--vz) + 19svh); --d: min(84vw, 38svh); }
  .post { z-index: 5; }
  .post-fb { left: var(--gutter); right: auto; top: calc(var(--vz) + 1.5svh); --w: min(60vw, 31svh, 320px); }
  .post-ig { left: auto; right: var(--gutter); top: calc(var(--vz) + 11svh); --w: min(48vw, 26svh, 290px); z-index: 6; }
  .post-ig .ig-cap { display: none; }
  .post-g { left: var(--gutter); right: var(--gutter); top: calc(var(--vz) + 2svh); --w: min(calc(100vw - 2 * var(--gutter)), 440px); width: auto; max-width: 440px; font-size: calc(var(--w) / 29); }
  .post-label { font-size: 9px; bottom: calc(100% + 5px); padding: 5px 8px; border-radius: 99px; background: #fff; box-shadow: 0 2px 8px -2px rgba(30, 34, 37, .18); }
  .ad-links, .ad-chips, .ad-perf { display: none; }

  .scene-web .o-slot { --x: 50vw; --y: calc(var(--vz) + 17svh); --d: min(86vw, 36svh); }
  .dev-bar { height: 22px; padding: 0 9px; gap: 4px; }
  .dev-bar i { width: 6px; height: 6px; }
  .dev-bar span { font-size: 8.5px; padding: 2px 8px; }
  .dev-island { width: 54px; height: 15px; top: 7px; }
  .dev-caption { font-size: 12px; white-space: normal; text-align: center; width: 88vw; }

  .scene-tech .o-slot { --x: 50vw; --y: calc(var(--vz) + 15svh); --d: min(32vw, 15svh); }
  .node { width: auto; min-width: 0; padding: 8px 11px; border-radius: 12px; gap: 3px; font-size: 11px; }
  .node::before { border-radius: 12px; }
  .n-k { font-size: 12px; gap: 6px; } .n-ic { width: 18px; height: 18px; font-size: 10px; border-radius: 6px; }
  .node .n-v, .node .n-s, .node .n-row:not(:last-child), .node .bars { display: none; }
  .node .n-row { border: 0; padding: 0; gap: 8px; font-size: 11px; }
  .node[data-node="enquiry"] { left: var(--gutter); top: var(--vz); }
  .node[data-node="crm"]     { left: auto; right: calc(var(--gutter) + 4px); top: var(--vz); }
  .node[data-node="booking"] { left: auto; right: calc(var(--gutter) + 2px); top: calc(var(--vz) + 19svh); }
  .node[data-node="follow"]  { left: 50vw; translate: -50% 0; top: calc(var(--vz) + 31svh); }
  .node[data-node="report"]  { left: var(--gutter); top: calc(var(--vz) + 19svh); }
  .tech-reply { font-size: 11px; padding: 6px 11px; }

  .scene-team .o-slot { --x: 50vw; --y: calc(var(--vz) + 18svh); --d: min(84vw, 36svh); }
  .team-rail { left: 0; right: 0; }

  .scene-reveal .o-slot { --x: 50vw; --y: 46svh; --d: min(66vw, 36svh); }
  .inside { gap: 2.2svh; padding: calc(var(--header-h) + 1svh) var(--gutter) 3svh; }
  .inside-cap { font-size: 15px; }
  .svc-grid { grid-template-columns: 1fr; width: min(100%, 520px); gap: 10px; }
  .svc { aspect-ratio: auto; min-height: min(17svh, 150px); border-radius: 18px; padding: 16px 18px; gap: 3px; }
  .svc b { font-size: clamp(18px, 5.2vw, 26px); }
  .svc-l { font-size: 13px; }
  .svc-x { display: none; }
  .svc-ar { width: 30px; height: 30px; }
  .svc-n { font-size: 11px; top: 16px; left: 18px; }
  .finale-wm { width: min(300px, 70vw); margin-bottom: 4svh; }
  .finale-title { font-size: clamp(38px, 12vw, 64px); }
  .finale-ctas { flex-direction: column; align-items: stretch; width: min(100%, 340px); gap: 10px; margin-top: 26px; }
  .finale { justify-content: flex-start; padding-top: calc(var(--header-h) + 5svh); }
  .finale-wm { width: min(240px, 60vw); margin-bottom: 3svh; }
  .finale-sub { margin-top: 14px; font-size: 16px; }
  .btn { padding: 15px 24px; }
  .finale-alt { margin-top: 14px; }
  .finale-nav { gap: 8px; margin-top: 3svh; }
  .finale-nav a { padding: 9px 14px 9px 12px; font-size: 13.5px; gap: 7px; }
  .btn { justify-content: center; }
  .foot-inner { flex-direction: column; align-items: flex-start; }

  html:not(.motion) .copy { position: relative; left: auto; right: auto; bottom: auto; padding: 0 var(--gutter); margin-top: 62svh; }
}

/* portrait tablets: room for the full automation cards */
@media (orientation: portrait) and (min-width: 600px) and (max-width: 1100px) {
  .node { width: min(250px, 30vw); padding: 12px 14px; gap: 5px; font-size: 12.5px; }
  .node .n-v, .node .n-s, .node .n-row:not(:last-child) { display: revert; }
  .node .bars { display: flex; height: 34px; }
  .node .n-row { border-top: 1px solid rgba(55, 61, 66, .06); padding-top: 4px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); width: min(100%, 760px); }
  .svc { aspect-ratio: 1.3; }
  .svc-x { display: block; }
}
/* short phones: drop the secondary line, keep services + CTA */
@media (max-width: 759px) and (max-height: 720px) {
  .sub { display: none; }
  .headline { font-size: clamp(32px, 9vw, 44px); }
}
@media (max-width: 759px) and (max-height: 600px) {
  .chips li:nth-child(n+4) { display: none; }
}

/* Short laptop screens */
@media (min-width: 760px) and (max-height: 760px) {
  .finale-wm { width: min(340px, 34vw); margin-bottom: 3svh; margin-top: 3svh; }
  .finale-title { font-size: clamp(40px, 6.2vw, 96px); }
  .finale-ctas { margin-top: 26px; }
  .finale-nav { margin-top: 3svh; }
  .headline { font-size: clamp(40px, 4.6vw, 80px); }
  .copy .eyebrow { margin-bottom: 14px; }
  .sub { margin-top: 14px; }
  .chips { margin-top: 16px; }
  .cta { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i::after, .caret { animation: none; }
  html:not(.motion) .scroll-cue { display: none; }
}

/* When served as the WordPress homepage: site-wide widgets that don't belong in the experience */
#evo-o, .evo-anniv, .iova-dock-wrap, .evo-cursor-dot, .evo-cursor-ring, #evoCursorDot, #evoCursorRing { display: none !important; }
html body { cursor: auto; }

/* =========================================================================
   CLASSIC HOMEPAGE + SITE FOOTER below the story (WordPress template)
   ========================================================================= */
.oexp-after { position: relative; z-index: 5; background: #fafbfc; box-shadow: 0 -30px 60px -30px rgba(30, 34, 37, .25); }
.oexp-after > .evh:first-child, .oexp-after > section:first-of-type { margin-top: 0; }
/* Elementor's frontend CSS (needed for the site footer) sets html{scroll-behavior:smooth}; the scroll
   engine drives its own smoothing and asks for smooth scrolling explicitly where it wants it */
html.motion { scroll-behavior: auto !important; }

/* The classic site header arrives with the classic homepage and sticks; the story header steps away */
.oexp-classic-header { position: sticky; top: 0; z-index: 30; }
.site-header { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.is-past .site-header { opacity: 0; transform: translateY(-100%); pointer-events: none; }
