/* Leveredge — site styles
   Brand palette: #ffffff #b8ff5f #3af901 #12c700 #000000 #555555 #c7c7c7 #e7e7e7
   Type: Inter for headings and interface, Montserrat for running text.
   Direction: colour chapters. Every section is a full-bleed flat field; one grid and one left edge
   hold them together. The chapters walk the stops of the L mark (white, lime, neon, green) and close on black. */

/* ---------- tokens ---------- */
:root {
  --white: #ffffff;
  --lime: #b8ff5f;
  --neon: #3af901;
  --green: #12c700;
  --black: #000000;
  --charcoal: #555555;
  --silver: #c7c7c7;
  --mist: #e7e7e7;

  /* field roles, reset by every chapter */
  --bg: var(--mist);
  --ink: var(--black);
  --soft: var(--charcoal);
  --tone: var(--white);
  --act: var(--black);
  --act-ink: var(--white);
  --act-hover-ink: var(--lime);

  --font-head: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* five sizes, no more */
  --s-mega: clamp(8.5rem, 22vw, 23rem);
  --s-display: clamp(2.5rem, 1rem + 5vw, 6.25rem);
  --s-title: clamp(1.5rem, 1.05rem + 1.4vw, 2.5rem);
  --s-lead: 1.25rem;
  --s-body: 1.125rem;
  --s-ui: 1rem;
  --s-small: 0.9375rem;

  --margin: clamp(1rem, 2.6vw, 2.5rem);
  --gutter: clamp(0.75rem, 1.4vw, 1.25rem);
  --pad: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 35px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;

  /* theme: the light values; the dark ones follow below. Brand fields (lime, neon, green, black) never change. */
  color-scheme: light;
  --page-bg: var(--mist);
  --page-ink: #000;
  --mist-bg: var(--mist);
  --mist-tone: #fff;
  --white-bg: #fff;
  --white-tone: var(--mist);
  --plain-ink: #000;
  --plain-soft: #555;
  --plain-act: #000;
  --plain-act-ink: #fff;
  --plain-act-hover-ink: var(--lime);
  --plain-act-hover-bg: #000;
  --plain-line-filter: none;
  --plain-line-blend: multiply;
  --tile-plain: var(--mist);
  --stage-bg: var(--silver);
  --tab-on-bg: #000;
  --tab-on-ink: #fff;
  --tab-on-soft: var(--silver);
  --placeholder: var(--silver);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page-bg: #121212; --page-ink: #fff;
    --mist-bg: #121212; --mist-tone: #262626;
    --white-bg: #1e1e1e; --white-tone: #2e2e2e;
    --plain-ink: #fff; --plain-soft: var(--silver);
    --plain-act: var(--lime); --plain-act-ink: #000; --plain-act-hover-ink: #000; --plain-act-hover-bg: #fff;
    --plain-line-filter: invert(1); --plain-line-blend: screen;
    --tile-plain: #262626; --stage-bg: #262626;
    --tab-on-bg: var(--lime); --tab-on-ink: #000; --tab-on-soft: #333;
    --placeholder: #2a2a2a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #121212; --page-ink: #fff;
  --mist-bg: #121212; --mist-tone: #262626;
  --white-bg: #1e1e1e; --white-tone: #2e2e2e;
  --plain-ink: #fff; --plain-soft: var(--silver);
  --plain-act: var(--lime); --plain-act-ink: #000; --plain-act-hover-ink: #000; --plain-act-hover-bg: #fff;
  --plain-line-filter: invert(1); --plain-line-blend: screen;
  --tile-plain: #262626; --stage-bg: #262626;
  --tab-on-bg: var(--lime); --tab-on-ink: #000; --tab-on-soft: #333;
  --placeholder: #2a2a2a;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-ink);
  font-family: var(--font-body);
  font-size: var(--s-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }
::selection { background: var(--lime); color: var(--black); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }
/* filled controls take the ring from the text around them, so it never disappears into their own fill or a dark page */
.btn:focus-visible, .menu-btn:focus-visible, .menu__close:focus-visible, .tab:focus-visible { outline-color: var(--ring, var(--ink)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 100; padding: 12px 20px; background: var(--black); color: var(--white); border-radius: 999px; font: 600 15px/1 var(--font-head); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; text-wrap: balance; }
.display { font-size: var(--s-display); line-height: 0.98; letter-spacing: -0.04em; }
.mega { font-family: var(--font-head); font-weight: 700; font-size: var(--s-mega); line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: lining-nums; }
.title { font-size: var(--s-title); line-height: 1.12; letter-spacing: -0.025em; }
.body { font-size: var(--s-body); }
.small { font-size: var(--s-small); line-height: 1.5; }
.soft { color: var(--soft); }
.nums { font-variant-numeric: tabular-nums; }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
.lead { font-size: var(--s-lead); line-height: 1.5; max-width: 44ch; font-weight: 500; }
@media (max-width: 599px) { :root { --s-body: 1rem; --s-lead: 1.125rem; } }
.only-wide { display: none; }
@media (min-width: 900px) { .only-wide { display: inline; } .only-narrow { display: none; } }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.chapter { position: relative; min-height: 90svh; padding-block: var(--pad); background: var(--bg); color: var(--ink); }
.chapter--auto { min-height: 0; }

[data-field] { background: var(--bg); color: var(--ink); }
[data-field="mist"], [data-field="white"] { --ink: var(--plain-ink); --soft: var(--plain-soft); --act: var(--plain-act); --act-ink: var(--plain-act-ink); --act-hover-ink: var(--plain-act-hover-ink); --act-hover-bg: var(--plain-act-hover-bg); --line-filter: var(--plain-line-filter); --line-blend: var(--plain-line-blend); }
[data-field="mist"] { --bg: var(--mist-bg); --tone: var(--mist-tone); }
[data-field="white"] { --bg: var(--white-bg); --tone: var(--white-tone); }
[data-field="lime"] { --bg: var(--lime); --ink: #000; --soft: #3d3d3d; --tone: #fff; --act: #000; --act-ink: var(--lime); --act-hover-ink: #fff; --act-hover-bg: #000; --line-filter: none; --line-blend: multiply; }
[data-field="neon"] { --bg: var(--neon); --ink: #000; --soft: #1f1f1f; --tone: #fff; --act: #000; --act-ink: var(--neon); --act-hover-ink: #fff; --act-hover-bg: #000; --line-filter: none; --line-blend: multiply; }
[data-field="green"] { --bg: var(--green); --ink: #000; --soft: #000; --tone: #fff; --act: #000; --act-ink: #fff; --act-hover-ink: var(--lime); --act-hover-bg: #000; --line-filter: none; --line-blend: multiply; }
[data-field="black"] { --bg: #000; --ink: #fff; --soft: var(--silver); --tone: #fff; --act: var(--lime); --act-ink: #000; --act-hover-ink: #000; --act-hover-bg: #fff; --line-filter: invert(1); --line-blend: screen; }
[data-field="charcoal"] { --bg: var(--charcoal); --ink: #fff; --soft: #e7e7e7; --tone: #fff; --act: var(--lime); --act-ink: #000; --act-hover-ink: #000; --act-hover-bg: #fff; --line-filter: invert(1); --line-blend: screen; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65em;
  min-height: 54px; padding: 0 1.7em;
  border-radius: 999px; background: var(--act); color: var(--act-ink);
  font: 600 1rem/1 var(--font-head); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform var(--t-ui) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 44px; padding: 0 1.3em; font-size: 0.9375rem; }
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font: 600 1rem/1.2 var(--font-head); text-decoration: none; }
.link-arrow span { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--act-hover-bg, var(--act)); color: var(--act-hover-ink); }
  .btn:hover svg { transform: translateX(3px); }
  .link:hover, .link-arrow:hover span { text-decoration-color: currentColor; }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--margin);
  background: var(--hbg, transparent); color: var(--hink, var(--page-ink)); --ring: var(--hink, var(--page-ink));
  transition: transform 380ms var(--ease-out), background-color 240ms ease, color 240ms ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid { --hbg: var(--bg); --hink: var(--ink); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 34px; width: auto; }
.brand .on-dark { display: none; }
.site-header[data-dark] .brand .on-light { display: none; }
.site-header[data-dark] .brand .on-dark { display: block; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav a:not(.btn) { font: 600 0.9375rem/1 var(--font-head); text-decoration: none; padding: 10px 0; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav a:not(.btn)[aria-current="page"] { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { text-decoration: underline; } }
.theme-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 50%; color: inherit; transition: background-color var(--t-hover) ease; }
.theme-btn svg { width: 22px; height: 22px; display: none; }
:root:not([data-theme]) .theme-btn [data-icon="auto"], :root[data-theme="light"] .theme-btn [data-icon="light"], :root[data-theme="dark"] .theme-btn [data-icon="dark"] { display: block; }
.theme-btn:active svg { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) { .theme-btn:hover { background: color-mix(in srgb, currentColor 14%, transparent); } }
.theme-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: #1c1c1c; color: #fff; font: 600 var(--s-small)/1 var(--font-head); }
.theme-switch__label { padding: 0 8px 0 10px; color: var(--silver); }
.theme-switch label { position: relative; display: block; }
.theme-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.theme-switch input + span { display: block; padding: 9px 14px; border-radius: 999px; color: var(--silver); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.theme-switch input:checked + span { background: var(--lime); color: #000; }
.theme-switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .theme-switch input:not(:checked):hover + span { color: #fff; } }
.menu__foot .theme-switch { align-self: flex-start; margin-top: 10px; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--act); color: var(--act-ink); font: 600 0.9375rem/1 var(--font-head); }
.menu-btn i { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-btn i::after { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 2px; background: currentColor; }
.menu-btn i::before { content: ""; position: absolute; left: 0; top: -5px; width: 16px; height: 2px; background: currentColor; }
.menu {
  position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column;
  padding: 18px var(--margin) 32px; background: #000; color: #fff; --ring: #fff;
  visibility: hidden; opacity: 0; transition: opacity 260ms var(--ease-out), visibility 0s linear 260ms;
}
.menu[hidden] { display: none; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 260ms var(--ease-out); }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 8vh; }
.menu__top img { height: 30px; width: auto; }
.menu__close { min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--lime); color: #000; font: 600 0.9375rem/1 var(--font-head); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font: 700 var(--s-display)/1.05 var(--font-head); letter-spacing: -0.04em; text-decoration: none; }
.menu__links a[aria-current="page"] { color: var(--lime); }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; font-size: var(--s-small); }
.menu__foot .btn { align-self: flex-start; --act: var(--lime); --act-ink: #000; }
@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 28px; }
  :root { --header-h: 64px; }
}

/* ---------- hero (giant cropped shape: the globe) ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding-block: calc(var(--header-h) + 4vh) 10vh; }
.hero__copy { position: relative; z-index: 2; width: min(56vw, 52rem); }
.hero__copy .lead { margin-top: clamp(28px, 4vh, 44px); max-width: 36ch; }
.hero__copy .actions { margin-top: clamp(28px, 4vh, 40px); }
.hero__globe { --g: min(118svh, 84vw); position: absolute; z-index: 1; width: var(--g); height: var(--g); left: max(calc(var(--margin) + 53vw), calc(100% - var(--g) * 0.64)); top: calc(54% - var(--g) / 2); }
.hero__globe .lv-globe { position: absolute; inset: 0; width: 100%; min-width: 0; max-width: none; margin: 0; }
@media (max-width: 899px) {
  .hero { align-items: flex-start; padding-top: calc(var(--header-h) + 9svh); padding-bottom: 0; min-height: 100svh; }
  .hero__copy { width: 100%; }
  .hero__copy .lead { max-width: 30ch; }
  .hero__globe { --g: 132vw; left: 50%; top: max(60svh, calc(var(--header-h) + 25.5rem)); transform: translateX(-50%); }
}

/* ---------- specimens on colour tiles (solutions overview) ---------- */
.specimens { row-gap: 48px; }
.specimens__head { grid-column: 1 / 4; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.specimens__head p { margin-top: 20px; max-width: 30ch; }
.specimens__head .link-arrow { margin-top: 28px; }
.specimens__grid { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 10px; }
.tile { display: block; text-decoration: none; color: inherit; }
.tile--wide { grid-column: span 2; }
.tile__art { --tb: var(--tile-plain); position: relative; aspect-ratio: 4 / 5; background: var(--tb); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.tile--wide .tile__art { aspect-ratio: 8 / 5; }
.tile__art video, .tile__art img { position: absolute; inset: 0; margin: auto; width: auto; height: 62%; max-width: 78%; object-fit: contain; filter: var(--line-filter, none); mix-blend-mode: var(--line-blend, multiply); transition: transform 600ms var(--ease-out); }
.ink-invert { --line-filter: invert(1); --line-blend: screen; }
.tile__art[data-tile="lime"] { --tb: var(--lime); --line-filter: none; --line-blend: multiply; }
.tile__art[data-tile="black"] { --tb: #000; --line-filter: invert(1); --line-blend: screen; }
.tile__art[data-tile="mist"] { --tb: var(--tile-plain); --line-filter: var(--plain-line-filter); --line-blend: var(--plain-line-blend); }
.tile__art[data-tile="neon"] { --tb: var(--neon); --line-filter: none; --line-blend: multiply; }
.tile__name { margin-top: 14px; font: 600 var(--s-lead)/1.25 var(--font-head); letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.tile__name svg { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease-out); }
.tile__fact { margin-top: 4px; font-size: var(--s-small); color: var(--soft); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile__art video, .tile:hover .tile__art img { transform: scale(1.05); }
  .tile:hover .tile__name svg { transform: translateX(4px); }
  .tile:hover .tile__name span { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
}
@media (max-width: 899px) {
  .specimens__head { grid-column: 1 / -1; position: static; }
  .specimens__grid { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 8px; }
  .tile--wide { grid-column: 1 / -1; order: -1; }
  .tile__name { font-size: var(--s-body); }
}

/* ---------- drag through the stages (how it works) ---------- */
.stages { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; }
.stages__text { --bg: var(--lime); --ink: #000; --soft: #3d3d3d; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: var(--pad) var(--margin) clamp(32px, 5vh, 56px); }
.stages__clause { min-height: 2em; }
.stages__desc { margin-top: clamp(20px, 3vh, 32px); max-width: 40ch; min-height: 6.4em; }
.stages__ui { background: #000; display: grid; place-items: center; padding: var(--pad) var(--margin); position: relative; overflow: hidden; }
.stages__ui { gap: 16px; }
.stage-panel { width: min(440px, 100%); transition: opacity 220ms ease, transform 320ms var(--ease-out); }
.js .stage-panel { grid-area: 1 / 1; }
.js .stage-panel[hidden] { display: block; opacity: 0; transform: translateY(10px); pointer-events: none; visibility: hidden; }
.scrub { display: flex; flex-direction: column; gap: 14px; }
.scrub__bar { position: relative; height: 40px; }
.scrub__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 8px; background: rgba(0,0,0,0.18); }
.scrub__fill { position: absolute; left: 0; top: 16px; height: 8px; width: var(--p, 0%); background: #000; transition: width 240ms var(--ease-out); }
.scrub input[type="range"] { position: relative; -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; margin: 0; cursor: pointer; }
.scrub input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.scrub input[type="range"]::-moz-range-track { height: 8px; background: transparent; }
.scrub input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 32px; height: 32px; margin-top: -12px; background: #000; border: 0; border-radius: 0; transition: transform var(--t-press) var(--ease-out); }
.scrub input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; background: #000; border: 0; border-radius: 0; }
.scrub input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.scrub input[type="range"]:focus-visible { outline: 3px solid #000; outline-offset: 6px; }
.scrub__names { display: grid; grid-template-columns: repeat(4, 1fr); }
.scrub__names button { justify-self: start; padding: 6px 0; font: 600 1rem/1.2 var(--font-head); color: var(--soft); text-align: left; }
.scrub__names button:last-child { justify-self: end; text-align: right; }
.scrub__names button:nth-child(2) { justify-self: center; margin-right: 18%; }
.scrub__names button:nth-child(3) { justify-self: center; margin-left: 18%; }
.scrub__names button[aria-pressed="true"] { color: #000; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 899px) {
  .stages { grid-template-columns: 1fr; min-height: 0; }
  .stages__ui { order: -1; min-height: 46svh; padding: 56px var(--margin); }
  .stages__text { padding-top: 32px; gap: 32px; }
  .scrub { order: -1; }
  .scrub__names { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .scrub__names button, .scrub__names button:nth-child(n) { justify-self: start; margin: 0; text-align: left; }
}

/* ---------- interface fragments (data-ui) ---------- */
[data-ui] { --u-ink: #000; --u-soft: #555; --u-line: #e7e7e7; background: #fff; color: var(--u-ink); border-radius: 22px; padding: 22px 22px 18px; font-family: var(--font-head); font-size: 14px; line-height: 1.4; }
[data-ui] .u-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
[data-ui] .u-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
[data-ui] .u-sub { font-size: 13px; color: var(--u-soft); }
[data-ui] .u-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 600; white-space: nowrap; }
[data-ui] .u-pill--go { background: var(--lime); }
[data-ui] .u-pill--done { background: #000; color: var(--lime); }
[data-ui] .u-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
[data-ui] .u-rows { display: grid; }
[data-ui] .u-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--u-line); }
[data-ui] .u-row:first-child { border-top: 0; }
[data-ui] .u-row b { font-weight: 600; }
[data-ui] .u-num { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
[data-ui] .u-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
[data-ui] .u-table th { font-size: 12.5px; font-weight: 600; color: var(--u-soft); text-align: left; padding: 0 0 8px; }
[data-ui] .u-table td { padding: 9px 0; border-top: 1px solid var(--u-line); }
[data-ui] .u-table td:not(:first-child), [data-ui] .u-table th:not(:first-child) { text-align: right; padding-left: 14px; }
[data-ui] .u-table tr.is-hot td { background: color-mix(in srgb, var(--lime) 45%, #fff); }
[data-ui] .u-table tr.is-hot td:first-child { border-radius: 8px 0 0 8px; padding-left: 8px; }
[data-ui] .u-table tr.is-hot td:last-child { border-radius: 0 8px 8px 0; padding-right: 8px; }
[data-ui] .u-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--u-soft); }
[data-ui] .u-steps { display: grid; gap: 8px; }
[data-ui] .u-step { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: #f4f4f4; }
[data-ui] .u-step.is-now { background: var(--lime); }
[data-ui] .u-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #000; color: var(--lime); }
[data-ui] .u-check svg { width: 14px; height: 14px; }
[data-ui] .u-check--open { background: #fff; color: #000; box-shadow: inset 0 0 0 2px #000; }
[data-ui] .u-big { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
[data-ui] .u-msg { background: #f4f4f4; border-radius: 16px 16px 16px 4px; padding: 14px 16px; }
[data-ui] .u-msg + .u-msg { margin-top: 8px; }
[data-ui] .u-msg--me { background: #000; color: #fff; border-radius: 16px 16px 4px 16px; margin-left: 18%; }
[data-ui] .u-buttons { display: flex; gap: 8px; margin-top: 12px; }
[data-ui] .u-btn { padding: 9px 14px; border-radius: 999px; background: #000; color: #fff; font-size: 13px; font-weight: 600; }
[data-ui] .u-btn--ghost { background: var(--mist); color: #000; }
[data-ui] .u-avatar { width: 36px; height: 36px; border-radius: 50%; background: #000; display: grid; place-items: center; flex: none; }
[data-ui] .u-avatar img { width: 16px; height: 16px; }
[data-ui] .u-who { display: flex; align-items: center; gap: 10px; }
[data-ui] .u-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 6px; }
[data-ui] .u-track span { height: 6px; border-radius: 3px; background: var(--mist); }
[data-ui] .u-track span.on { background: #000; }
[data-ui] .u-track-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 12.5px; color: var(--u-soft); }
[data-ui] .u-track-labels span:last-child { color: #000; font-weight: 600; }

/* ---------- the FX cost review (output index, live sheet) ---------- */
.review { row-gap: 40px; align-items: start; }
.review__index { grid-column: 1 / 6; display: flex; flex-direction: column; gap: clamp(28px, 4vh, 44px); position: sticky; top: calc(var(--header-h) + 24px); }
.review__index > p { max-width: 36ch; }
.review__names { display: flex; flex-direction: column; gap: 6px; }
.review__names button { text-align: left; font: 700 var(--s-title)/1.12 var(--font-head); letter-spacing: -0.025em; color: color-mix(in srgb, var(--ink) 58%, var(--bg)); padding: 4px 0; transition: color var(--t-hover) ease; }
.review__names button[aria-selected="true"] { color: var(--ink); }
.review__names button[aria-selected="true"]::after { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-left: 0.3em; background: currentColor; border-radius: 50%; vertical-align: 0.12em; }
@media (hover: hover) and (pointer: fine) { .review__names button:hover { color: var(--ink); } }
.review__stage { grid-column: 7 / 13; position: relative; min-height: 88svh; background: var(--stage-bg); border-radius: var(--radius); overflow: hidden; padding: 72px 0 0 clamp(20px, 4vw, 64px); }
.sheet { width: min(560px, calc(100% - 20px)); min-height: calc(88svh - 72px + 40px); padding: 34px 36px 60px; border-radius: 16px 16px 0 0; font-size: 15px; }
.sheet[hidden] { display: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 2px solid #000; }
.sheet__brand { display: flex; align-items: center; gap: 10px; }
.sheet__brand img { width: 22px; height: 22px; }
.sheet__doc { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.sheet__meta { text-align: right; font-size: 13px; color: #555; }
.sheet__fields { display: grid; gap: 14px; margin-bottom: 18px; }
.sheet__field { display: grid; gap: 6px; }
.sheet__field label { font-size: 13px; font-weight: 600; color: #555; }
.sheet__row { display: flex; gap: 10px; align-items: center; }
.sheet select, .sheet input[type="text"], .sheet input[type="number"] { height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--mist); font: 600 16px/1 var(--font-head); font-variant-numeric: tabular-nums; min-width: 0; }
.sheet select { padding-right: 34px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.sheet input[type="text"] { width: 100%; }
.sheet input[type="range"] { flex: 1; accent-color: #000; height: 28px; }
.sheet output, .sheet .sheet__val { min-width: 4.6em; text-align: right; font: 700 16px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.sheet .u-row span:first-child { color: #333; }
.sheet__total { margin-top: 14px; padding: 18px 20px; border-radius: 14px; background: var(--lime); }
.sheet__total p { max-width: none; font-size: 14px; font-weight: 600; }
.sheet__total .u-big { margin-top: 4px; }
.sheet__note { margin-top: 16px; font-size: 13px; line-height: 1.5; color: #555; max-width: 52ch; }
.sheet__note a { color: #000; font-weight: 600; }
.sheet__cta { margin-top: 16px; }
.sheet__cta .btn { min-height: 46px; font-size: 0.9375rem; --act: #000; --act-ink: #fff; }
@media (max-width: 899px) {
  .review__index { grid-column: 1 / -1; position: static; gap: 24px; }
  .review__names { gap: 2px; }
  .review__stage { grid-column: 1 / -1; min-height: 0; padding: 16px; border-radius: 24px; }
  .sheet { width: 100%; min-height: 0; padding: 24px 18px 28px; border-radius: 14px; }
  .sheet .u-big { font-size: 26px; }
}

/* ---------- one figure owns the screen ---------- */
.figure { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); min-height: 90svh; }
.figure__text { grid-column: 1 / 8; display: flex; flex-direction: column; justify-content: space-between; gap: 22vh; }
.figure__num { display: flex; align-items: flex-start; }
.figure__caption { margin-top: 28px; max-width: 34ch; font-weight: 500; }
.figure__art { grid-column: 8 / 13; align-self: center; display: grid; place-items: center; }
.figure__art video { width: 100%; max-width: 560px; filter: var(--line-filter, none); mix-blend-mode: var(--line-blend, multiply); }
@media (max-width: 899px) {
  .figure { min-height: 80svh; }
  .figure__text { grid-column: 1 / -1; gap: 10vh; }
  .figure__art { grid-column: 1 / -1; margin-top: 32px; }
  .figure__art video { max-width: 340px; }
}

/* ---------- names running off the edges (partners) ---------- */
.band { --bg: #000; --ink: #fff; background: #000; color: #fff; height: 34vh; min-height: 220px; display: flex; align-items: center; overflow: hidden; }
.band__track { display: flex; flex: none; white-space: nowrap; will-change: transform; }
.band__set { display: flex; align-items: center; flex: none; }
.band__name { font: 700 var(--s-display)/1 var(--font-head); letter-spacing: -0.04em; padding-inline: 0.28em; }
.band__dot { width: 0.24em; height: 0.24em; border-radius: 50%; background: var(--lime); font-size: var(--s-display); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .band__track { animation: band 46s linear infinite; }
  .band:hover .band__track { animation-play-state: paused; }
}
@keyframes band { to { transform: translateX(-50%); } }
.band-note { padding: 28px var(--margin) clamp(48px, 7vh, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.band-note h2 { grid-column: 1 / 5; }
.band-note p { grid-column: 5 / 11; font-weight: 500; }
.band-note .link-arrow { grid-column: 5 / 11; margin-top: 18px; }
@media (max-width: 899px) {
  .band { height: 22vh; }
  .band-note h2, .band-note p, .band-note .link-arrow { grid-column: 1 / -1; }
  .band-note p { margin-top: 14px; }
}

/* ---------- guides: tabs and bands ---------- */
.guides__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.guides__body { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 40px; margin-top: 56px; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tab { width: 190px; min-height: 68px; padding: 12px 18px; border-radius: 18px; background: var(--tone); color: var(--ink); text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.tab b { font: 600 1rem/1.2 var(--font-head); }
.tab span { font-size: var(--s-small); color: var(--soft); }
.tab[aria-selected="true"] { background: var(--tab-on-bg); color: var(--tab-on-ink); }
.tab[aria-selected="true"] span { color: var(--tab-on-soft); }
.bands { display: flex; flex-direction: column; gap: 4px; }
.bands[hidden] { display: none; }
.bands a { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 84px; padding: 14px 20px; border-radius: 18px; background: var(--tone); text-decoration: none; transition: background-color var(--t-hover) ease; }
.bands a:nth-child(even) { background: color-mix(in srgb, var(--tone) 55%, var(--bg)); }
.bands .b-time { font: 600 var(--s-body)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.bands .b-title { font: 600 var(--s-body)/1.3 var(--font-head); letter-spacing: -0.01em; }
.bands .b-note { display: block; margin-top: 3px; font-size: var(--s-small); color: var(--soft); font-weight: 500; font-family: var(--font-body); letter-spacing: 0; }
.bands .b-cat { display: flex; align-items: center; gap: 12px; font-size: var(--s-small); font-weight: 600; font-family: var(--font-head); white-space: nowrap; }
.bands .b-cat i { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.bands .b-cat img { width: 24px; height: 24px; object-fit: contain; }
@media (hover: hover) and (pointer: fine) { .bands a:hover { background: var(--lime); color: #000; } .bands a:hover .b-note { color: #333; } .bands a:hover .b-cat i { background: #fff; } }
@media (max-width: 899px) {
  .guides__body { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .tabs { flex-direction: row; }
  .tab { width: auto; flex: 1; min-height: 60px; padding: 10px 12px; border-radius: 16px; }
  .tab b { font-size: var(--s-small); }
  .tab span { display: none; }
  .bands a { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
}

/* ---------- FAQ: accordion of filled tiles ---------- */
.faq { align-items: start; row-gap: 32px; }
.faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head p { margin-top: 20px; max-width: 30ch; }
.faq__list { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 8px; }
.qa { background: var(--tone); border-radius: 28px; transition: background-color var(--t-ui) ease; }
.qa[open] { background: var(--lime); color: #000; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 14px 28px; cursor: pointer; font: 600 var(--s-lead)/1.3 var(--font-head); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 18px; height: 18px; flex: none; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 18px; height: 3px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { padding: 0 28px 26px; max-width: 60ch; }
.qa__body p { font-size: var(--s-body); }
@media (hover: hover) and (pointer: fine) { .qa:not([open]) summary:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; } }
@media (max-width: 899px) {
  .faq__head, .faq__list { grid-column: 1 / -1; position: static; }
  .qa summary { min-height: 64px; padding: 14px 20px; font-size: var(--s-body); }
  .qa__body { padding: 0 20px 20px; }
}

/* ---------- closing sentence with blanks ---------- */
.closer { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.closer { overflow: hidden; }
.closer > :not(.closer__art) { position: relative; z-index: 1; }
@media (min-width: 900px) { .closer > :not(.closer__art) { max-width: 60%; } }
.closer h2 { max-width: 13em; }
.closer__art { position: absolute; z-index: 0; right: var(--margin); top: 50%; width: min(32vw, 480px); height: auto; transform: translateY(-50%); filter: var(--line-filter, none); mix-blend-mode: var(--line-blend, multiply); pointer-events: none; }
@media (max-width: 899px) { .closer__art { position: static; transform: none; width: min(70vw, 320px); order: 3; } }
.blanks { font: 600 var(--s-title)/1.5 var(--font-head); letter-spacing: -0.02em; max-width: 30em; }
.blanks label { display: inline; }
.blanks select:last-of-type { margin-right: 0.04em; }
.blanks select { -webkit-appearance: none; appearance: none; height: 1.45em; margin: 0 0.12em; padding: 0 1.15em 0 0.45em; border: 0; border-radius: 0.3em; background: var(--tone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.4em center / 0.4em; color: #000; font: inherit; letter-spacing: inherit; cursor: pointer; vertical-align: baseline; max-width: 100%; }
.blanks .btn { margin-top: 28px; }
.blanks__note { margin-top: 18px; font-size: var(--s-small); font-weight: 500; font-family: var(--font-body); letter-spacing: 0; max-width: 56ch; }
.closer__alt { display: flex; flex-wrap: wrap; gap: 12px 32px; font: 600 1rem/1.3 var(--font-head); }
@media (max-width: 899px) {
  .blanks { line-height: 1.7; }
  .blanks select { display: block; width: 100%; margin: 0.15em 0; height: 1.7em; }
}

/* ---------- footer: name first ---------- */
.site-footer { --bg: #000; --ink: #fff; --soft: var(--silver); background: #000; color: #fff; padding: clamp(56px, 8vh, 96px) var(--margin) 32px; overflow: hidden; }
.site-footer__name { display: block; width: 100%; height: auto; }
.site-footer__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; margin-top: 72px; }
.places { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 6px; }
.places a { font: 700 var(--s-title)/1.2 var(--font-head); letter-spacing: -0.025em; color: var(--lime); text-decoration: none; width: fit-content; }
.places address { max-width: 40ch; margin-top: 18px; font-style: normal; font-size: var(--s-small); color: var(--silver); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .places a:hover { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; } }
.foot-cols { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h2 { font: 600 var(--s-small)/1.4 var(--font-head); color: var(--silver); margin-bottom: 12px; letter-spacing: 0; }
.foot-cols ul { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
.foot-cols a { font-size: var(--s-small); text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
.disclosure { margin-top: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.disclosure div { grid-column: 1 / -1; columns: 2 24rem; column-gap: calc(var(--gutter) * 3); max-width: 74rem; }
.disclosure p { break-inside: avoid; margin: 0 0 12px; max-width: 54ch; }
.disclosure p { font-size: var(--s-ui); line-height: 1.55; color: var(--silver); }
.disclosure a { color: #fff; }
.site-footer__end { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: var(--s-small); color: var(--silver); }
.site-footer__end nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__end a { color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer__end a:hover { text-decoration: underline; } }
@media (max-width: 899px) {
  .places, .foot-cols { grid-column: 1 / -1; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .places a { font-size: var(--s-title); }
}

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: max(16px, var(--margin)); bottom: 18px; z-index: 55; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #000; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.45); transition: transform var(--t-press) var(--ease-out); } /* taste-skill-ignore: floats over the page */
.wa svg { width: 28px; height: 28px; }
.wa:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .wa:hover { transform: translateY(-2px); } }

/* ---------- page heads for inner pages ---------- */
.page-head { min-height: 72svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 10vh); }
.page-head__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px; align-items: end; }
.page-head h1 { grid-column: 1 / 8; }
.page-head .lead { grid-column: 9 / 13; max-width: 34ch; }
@media (max-width: 899px) { .page-head { min-height: 0; padding-bottom: 56px; } .page-head h1, .page-head .lead { grid-column: 1 / -1; } }
.page-head--art { min-height: 0; justify-content: center; padding-bottom: clamp(32px, 5vh, 64px); }
.page-head--art .page-head__row { align-items: center; }
.page-head__text { grid-column: 1 / 8; }
.page-head .page-head__text .lead { margin-top: clamp(24px, 3.5vh, 36px); max-width: 40ch; }
.page-head__text .actions { margin-top: clamp(24px, 3.5vh, 36px); }
.page-head__art { grid-column: 9 / 13; display: grid; place-items: center; }
.page-head__art video, .page-head__art img { width: 100%; max-width: 420px; height: auto; filter: var(--line-filter, none); mix-blend-mode: var(--line-blend, multiply); }
@media (max-width: 899px) { .page-head__text, .page-head__art { grid-column: 1 / -1; } .page-head__art { place-items: start; } .page-head__art video, .page-head__art img { max-width: 260px; } }

/* ---------- solutions page ---------- */
.sol-hero { padding-bottom: 0; min-height: 0; }
.sol-slot { position: relative; z-index: 2; margin: clamp(48px, 8vh, 88px) auto 0; width: 66.7vw; height: 44.7vw; }
.sol-hero + .chapter { margin-top: calc(-44.7vw / 2); padding-top: calc(44.7vw / 2 + var(--pad)); }
.services-video { position: relative; }
.services-video .lv-sol { position: absolute; inset: 0; width: auto; max-width: none; aspect-ratio: auto; margin: 0; z-index: 1; }
@media (max-width: 991px) { .sol-slot { width: calc(100% - 2 * var(--margin)); height: 37.25rem; } .sol-hero + .chapter { margin-top: -18.6rem; padding-top: calc(18.6rem + var(--pad)); } }
@media (max-width: 767px) { .sol-slot { height: 26.25rem; } .sol-hero + .chapter { margin-top: -13rem; padding-top: calc(13rem + var(--pad)); } }
@media (max-width: 479px) { .sol-slot { width: 90%; height: 11.25rem; } .sol-hero + .chapter { margin-top: -5.6rem; padding-top: calc(5.6rem + 64px); } }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; align-items: center; }
.split__text { grid-column: 1 / 7; }
.split__art { grid-column: 8 / 13; }
.split--flip .split__text { grid-column: 7 / 13; order: 2; }
.split--flip .split__art { grid-column: 1 / 6; order: 1; }
.split--wide .split__text { grid-column: 1 / 9; }
.split--wide .split__art { grid-column: 9 / 13; }
.split__text .lead { margin-top: clamp(22px, 3vh, 32px); }
.split__text .actions { margin-top: 32px; }
.facts { margin-top: clamp(32px, 5vh, 48px); display: grid; gap: 4px; }
.facts li { display: grid; grid-template-columns: minmax(8.5em, 0.42fr) 1fr; gap: 20px; padding: 16px 0; }
.facts li + li { border-top: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.facts b { font: 700 var(--s-body)/1.3 var(--font-head); letter-spacing: -0.01em; }
.facts span { color: var(--ink); }
@media (max-width: 899px) {
  .split__text, .split__art, .split--flip .split__text, .split--flip .split__art, .split--wide .split__text, .split--wide .split__art { grid-column: 1 / -1; order: 0; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
}
.stage-box { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: #000; overflow: hidden; display: grid; place-items: center; }
.stage-box .lv-mca, .stage-box .lv-hedge { position: absolute; inset: 0; width: 100%; max-width: none; margin: 0; }
.art-video { width: 100%; max-width: 560px; margin-inline: auto; filter: var(--line-filter, none); mix-blend-mode: var(--line-blend, multiply); }
.edge { margin-top: clamp(56px, 9vh, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.edge li { padding: 26px 24px 28px; border-radius: 28px; background: #fff; color: #000; display: flex; flex-direction: column; gap: 10px; }
.edge li b { font: 700 var(--s-title)/1.05 var(--font-head); letter-spacing: -0.03em; }
.edge li b em { font-style: normal; color: var(--green); }
.edge li span { font-size: var(--s-body); line-height: 1.5; }
.edge-intro { margin-top: clamp(64px, 10vh, 112px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 16px; align-items: end; }
.edge-intro h3 { grid-column: 1 / 7; }
.edge-intro p { grid-column: 7 / 12; }
.note { margin-top: 32px; font-size: var(--s-small); line-height: 1.55; color: var(--soft); max-width: 58ch; }
@media (max-width: 899px) { .edge { grid-template-columns: 1fr 1fr; } .edge-intro h3, .edge-intro p { grid-column: 1 / -1; } }
@media (max-width: 520px) { .edge { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.l-hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding-block: calc(var(--header-h) + 4vh) 10vh; }
.l-hero__mark { position: absolute; z-index: 1; width: min(108svh, 74vw); height: auto; aspect-ratio: 217 / 216; left: max(56vw, calc(var(--margin) + 52vw)); top: 50%; transform: translateY(-34%); }
.l-hero .hero__copy { width: min(52vw, 48rem); }
/* narrow screens: the L follows the text instead of sitting behind it */
@media (max-width: 899px) { .l-hero { flex-direction: column; align-items: stretch; padding-top: calc(var(--header-h) + 9svh); padding-bottom: 0; } .l-hero .hero__copy { width: 100%; } .l-hero__mark { position: relative; align-self: flex-end; width: min(78vw, 520px); left: auto; right: auto; top: auto; bottom: auto; margin: clamp(40px, 7vh, 64px) calc(-1 * var(--margin) - 14vw) -10vw 0; transform: none; } }
.pillars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0; }
.pillars > h2 { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.pillars ul { grid-column: 5 / 13; }
.pillars li { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 32px 0; }
.pillars li + li { border-top: 2px solid var(--ink); }
.pillars li b { font: 700 var(--s-title)/1.1 var(--font-head); letter-spacing: -0.025em; }
.pillars li p { font-size: var(--s-body); font-weight: 500; }
.pillars li img { width: 96px; height: 96px; object-fit: contain; filter: var(--line-filter, none); mix-blend-mode: var(--line-blend, multiply); }
@media (max-width: 899px) { .pillars > h2, .pillars ul { grid-column: 1 / -1; position: static; } .pillars ul { margin-top: 24px; } .pillars li { grid-template-columns: 1fr auto; } .pillars li p { grid-column: 1 / -1; } }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(40px, 6vh, 64px); }
.role { --line-filter: none; --line-blend: multiply; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.role--dealer { background: var(--lime); color: #000; }
.role--partner { background: #fff; color: #000; }
.role h3 { font-size: var(--s-title); line-height: 1.1; letter-spacing: -0.025em; }
.role ul { display: grid; gap: 10px; }
.role li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-weight: 500; }
.role li::before { content: ""; width: 10px; height: 10px; margin-top: 0.5em; background: #000; border-radius: 50%; }
.role img { width: 168px; height: 168px; object-fit: contain; align-self: flex-end; margin-top: auto; }
@media (max-width: 899px) { .roles { grid-template-columns: 1fr; } }
.licences { margin-top: clamp(40px, 6vh, 64px); width: 100%; border-collapse: collapse; font-size: var(--s-body); }
.licences th { text-align: left; font: 600 var(--s-small)/1.4 var(--font-head); color: var(--soft); padding: 0 16px 12px 0; }
.licences td { padding: 20px 16px 20px 0; border-top: 2px solid var(--ink); vertical-align: top; }
.licences td:first-child { font: 700 var(--s-lead)/1.25 var(--font-head); letter-spacing: -0.015em; width: 26%; }
.licences a { font-weight: 600; }
@media (max-width: 899px) { .licences thead { display: none; } .licences tr { display: grid; padding: 16px 0; border-top: 2px solid var(--ink); } .licences td { border: 0; padding: 4px 0; width: auto !important; } }

/* ---------- insights index ---------- */
.index-list { margin-top: clamp(32px, 5vh, 56px); display: flex; flex-direction: column; }
.index-group + .index-group { margin-top: clamp(56px, 9vh, 96px); }
.index-group > h2 { margin-bottom: 18px; }
.ix { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 200px; gap: 28px; align-items: center; padding: 26px 0; border-top: 2px solid var(--ink); text-decoration: none; position: relative; }
.ix:last-child { border-bottom: 2px solid var(--ink); }
.ix__title { font: 700 var(--s-title)/1.1 var(--font-head); letter-spacing: -0.025em; }
.ix__desc { font-weight: 500; }
.ix__time { display: block; margin-top: 6px; font-size: var(--s-small); color: var(--soft); }
.ix__img { width: 200px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--placeholder); }
.ix__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ix:hover .ix__title { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.15em; } .ix:hover .ix__img img { transform: scale(1.06); } }
@media (max-width: 899px) { .ix { grid-template-columns: 1fr; gap: 14px; } .ix__img { width: 100%; max-width: 420px; grid-row: 1; aspect-ratio: 16 / 9; } }
.mw-teaser { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.mw-teaser > div:first-child { grid-column: 1 / 5; }
.mw-teaser > div:first-child p { margin-top: 20px; }
.mw-teaser > div:first-child .btn { margin-top: 28px; }
.mw-teaser ul { grid-column: 6 / 13; display: grid; gap: 10px; }
.mw-teaser li a { display: grid; grid-template-columns: 176px 1fr; gap: 20px; align-items: center; padding: 12px; border-radius: 22px; background: #1c1c1c; text-decoration: none; }
.mw-teaser li img { width: 176px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.mw-teaser li b { display: block; font: 700 var(--s-body)/1.3 var(--font-head); letter-spacing: -0.01em; }
.mw-teaser li span { display: block; margin-top: 4px; font-size: var(--s-small); color: var(--silver); }
@media (hover: hover) and (pointer: fine) { .mw-teaser li a:hover { background: #2a2a2a; } }
@media (max-width: 899px) { .mw-teaser > div:first-child, .mw-teaser ul { grid-column: 1 / -1; } .mw-teaser li a { grid-template-columns: 1fr; } .mw-teaser li img { width: 100%; aspect-ratio: 16 / 9; } }

/* ---------- article (guides, legal, market watch) ---------- */
.article-head { padding-top: calc(var(--header-h) + 6vh); padding-bottom: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: end; }
.article-head__text { grid-column: 1 / 8; }
.article-head__cover { grid-column: 8 / 13; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 72svh; background: var(--placeholder); }
.article-head__cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .article-head__text, .article-head__cover { grid-column: 1 / -1; } .article-head__cover { aspect-ratio: 4 / 3; } }
.article-head .back { display: inline-flex; margin-bottom: clamp(28px, 5vh, 48px); }
.article-head h1 { max-width: 15em; }
.article-head .lead { margin-top: 24px; max-width: 52ch; }
.article-head .byline { margin-top: 24px; font-size: var(--s-small); color: var(--soft); }
.article-cover { margin: 0 var(--margin); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--placeholder); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: clamp(56px, 9vh, 96px); }
.prose > * { max-width: 64ch; }
.prose { grid-column: 3 / 10; font-size: var(--s-body); line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-size: var(--s-title); line-height: 1.15; letter-spacing: -0.025em; margin-top: 2.2em; }
.prose h4 { font-size: var(--s-lead); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--green); }
.prose strong { font-weight: 700; }
.prose a { font-weight: 600; text-underline-offset: 0.2em; }
.prose blockquote { padding: 24px 28px; border-radius: 22px; background: var(--lime); color: #000; font-weight: 600; }
.prose figure img { border-radius: 22px; }
.prose .disclaimer { margin-top: 2em; font-size: 0.9375rem; color: var(--soft); }
.aside { grid-column: 10 / 13; padding-left: 24px; }
.aside__box { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.aside__box p { font-size: var(--s-small); }
.toc { display: grid; gap: 8px; font-size: var(--s-small); }
.toc a { text-decoration: none; font-weight: 500; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 899px) { .toc { grid-template-columns: 1fr 1fr; gap: 10px 20px; } }
@media (max-width: 1099px) { .prose { grid-column: 1 / 10; } .aside { grid-column: 10 / 13; padding-left: 0; } }
@media (max-width: 899px) { .prose, .aside { grid-column: 1 / -1; } .aside { margin-top: 48px; } .article-cover { aspect-ratio: 4 / 3; } }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(32px, 5vh, 48px); }
.steps3 li { background: var(--tone); border-radius: 28px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.steps3 li img { width: 56px; height: 56px; object-fit: contain; }
.glance li { background: none; padding: 0; max-width: 46ch; }
.glance li img { width: 168px; height: 168px; margin-bottom: 8px; filter: var(--line-filter, none); mix-blend-mode: var(--line-blend, multiply); }
.steps3 li b { font: 700 var(--s-lead)/1.15 var(--font-head); letter-spacing: -0.02em; }
@media (max-width: 899px) { .steps3 { grid-template-columns: 1fr; } }

/* market watch */
.mw-section + .mw-section { margin-top: clamp(64px, 10vh, 112px); }
.mw-section > h2 { margin-bottom: clamp(24px, 4vh, 40px); padding-inline: clamp(16px, 2vw, 24px); }
.mw-item .mw-title { margin-top: 0; font: 700 var(--s-title)/1.12 var(--font-head); letter-spacing: -0.025em; max-width: none; }
.mw-item .src { margin-top: 10px; }
.mw-items { display: grid; gap: 28px; }
.mw-item { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 44px); padding: clamp(16px, 2vw, 24px); border-radius: var(--radius); background: var(--tone); align-items: start; }
.mw-item figure { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--placeholder); }
.mw-item figure img { width: 100%; height: 100%; object-fit: cover; }
.mw-item .src { font: 600 var(--s-small)/1.3 var(--font-head); color: var(--soft); }
.mw-item p { margin-top: 14px; }
.mw-item .why { margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: var(--lime); color: #000; font-weight: 500; }
.mw-item .why b { font-family: var(--font-head); }
.mw-item .link-arrow { margin-top: 16px; }
@media (max-width: 899px) { .mw-item { grid-template-columns: 1fr; padding: 0; background: none; border-radius: 0; } .mw-section > h2 { padding-inline: 0; } }

/* booking */
.booking { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: start; }
.booking__info { grid-column: 1 / 5; display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.booking__info ul { display: grid; gap: 10px; }
.booking__info li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-weight: 500; }
.booking__info li::before { content: ""; width: 10px; height: 10px; margin-top: 0.55em; background: var(--ink); border-radius: 50%; }
.booking__cal { grid-column: 5 / 13; background: #fff; border-radius: var(--radius); overflow: hidden; min-height: 760px; position: relative; }
.booking__cal .calendly-inline-widget { position: relative; z-index: 1; min-width: 320px; height: 760px; }
.booking__cal.is-loaded .booking__fallback { display: none; }
.booking__fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; padding: 32px; text-align: center; justify-items: center; }
.booking__fallback p { max-width: 36ch; }
.contact-lines { display: grid; gap: 6px; }
.contact-lines a { font: 700 var(--s-title)/1.25 var(--font-head); letter-spacing: -0.025em; text-decoration: none; width: fit-content; }
@media (hover: hover) and (pointer: fine) { .contact-lines a:hover { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.16em; } }
@media (max-width: 899px) { .booking__info, .booking__cal { grid-column: 1 / -1; position: static; } }

/* newsletter */
.signup { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px; align-items: end; }
.signup > div { grid-column: 1 / 7; }
.signup > div p { margin-top: 16px; }
.signup form { grid-column: 7 / 13; display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] { flex: 1 1 260px; min-height: 58px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--tone); color: #000; font: 600 var(--s-body)/1 var(--font-head); }
.signup .btn { min-height: 58px; }
.signup small { flex-basis: 100%; font-size: var(--s-small); color: var(--soft); }
.signup small a { color: inherit; }
.form-msg { flex-basis: 100%; font-weight: 600; font-size: var(--s-small); }
@media (max-width: 899px) { .signup > div, .signup form { grid-column: 1 / -1; } }

/* 404 */
.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: var(--header-h); }

/* ---------- third-party embeds (adapted from the Leveredge Webflow embeds) ---------- */
.lv-globe { position: relative; aspect-ratio: 1 / 1; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.lv-globe.is-dragging { cursor: grabbing; }
.lv-globe canvas, .lv-hedge canvas, .lv-mca canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
.lv-hedge, .lv-mca { position: relative; aspect-ratio: 1 / 1; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.lv-hedge.is-dragging, .lv-mca.is-dragging { cursor: grabbing; }
.lv-sol { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--lime); -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.lv-sol canvas { position: absolute; display: block; outline: none; cursor: grab; touch-action: pan-y; opacity: 0; }
.lv-sol.is-dragging canvas { cursor: grabbing; }
.lv-sol svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: hidden; pointer-events: none; font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.lv-sol .lv-row { pointer-events: all; cursor: pointer; }

/* ---------- motion (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(108%); animation: line-up 950ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js [data-load] { opacity: 0; transform: translateY(14px); animation: rise 600ms var(--ease-out) forwards; animation-delay: var(--d, 400ms); }
  .js .hero__globe[data-load], .js .l-hero__mark[data-load] { transform: translateX(6vw) scale(0.96); animation: globe-in 1500ms var(--ease-expo) forwards; animation-delay: 80ms; }
  .js .l-hero__mark[data-load] { transform: translate(8vw, -34%); animation-name: mark-in; }
  .js [data-reveal] > * { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--n, 0) * 80ms); }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }
  .js [data-rows] > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 750ms var(--ease-out); transition-delay: calc(var(--n, 0) * 70ms); }
  .js [data-rows].is-in > * { opacity: 1; transform: none; }
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter > * { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in > * { transform: none; }
  .js [data-count] { transition: none; }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .js .hero__globe[data-load] { transform: translate(-50%, 8vh) scale(0.96); animation-name: globe-in-m; }
  .js .l-hero__mark[data-load] { transform: translateY(8vh); animation-name: mark-in-m; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes globe-in { from { opacity: 0; } to { opacity: 1; transform: none; } }
@keyframes globe-in-m { from { opacity: 0; } to { opacity: 1; transform: translateX(-50%); } }
@keyframes mark-in { from { opacity: 0; } to { opacity: 1; transform: translateY(-34%); } }
@keyframes mark-in-m { from { opacity: 0; } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .stage-panel { transition: none; }
}
