/* ==========================================================================
   MASSYVE — redesign concept
   "Where the peaks meet": the logo's two chevron peaks, their 53° legs, and the
   mint overlap where they cross. See design-direction.md for every decision.
   ========================================================================== */

:root {
  /* palette: logo fills + the live site's CSS custom properties */
  --midnight: #00123D;     /* dark grounds (live site's dark sections) */
  --midnight-2: #061C4D;   /* panels on dark */
  --midnight-3: #0D2860;   /* borders and hover on dark */
  --abyss: #000B29;        /* footer */
  --ink: #00143D;          /* text on light (live --foreground) */
  --ink-soft: #2B3A57;
  --deep: #006666;         /* logo left peak + wordmark; primary on light (live --primary) */
  --deep-hover: #007A7A;
  --teal: #009999;         /* logo right peak */
  --teal-light: #7FD3CF;   /* teal for text on dark (9.6:1 on midnight) */
  --mint: #65BAB6;         /* the overlap: markers, selected states, CTA on dark */
  --signal: #1F63FF;       /* focus rings only (live --ring) */
  --mist: #F5FAF9;         /* page ground (live --background) */
  --glacier: #E6F0EF;
  --white: #FFFFFF;
  --line: #D6E0E2;
  --line-dark: rgba(255, 255, 255, .12);
  --slate: #4A5872;        /* secondary text on light */
  --fog: #A9B6CC;          /* secondary text on dark */
  --notice: #F4E4B0;       /* the concept notice only: used nowhere else */

  /* aliases the consent card expects */
  --lapis: var(--midnight);
  --blue: var(--deep);
  --gold: var(--mint);
  --muted: var(--slate);
  --serif: var(--font);
  --radius-l: 4px;

  /* type: Archivo, expanded for display (echoes the wide MASSYVE wordmark), normal for reading */
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 116%;
  --fs-display: clamp(2.75rem, 1.15rem + 5.6vw, 6rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.5vw, 3.4rem);
  --fs-h3: 1.375rem;
  --fs-lede: clamp(1.125rem, 1rem + .4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-tiny: .8125rem;

  /* layout */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 10vw, 148px);
  --utility-h: 36px;
  --masthead-h: 76px;
  --cut: clamp(26px, 3.6vw, 52px);           /* the 53° corner: vertical = cut × tan(53°) */
  --cut-v: calc(var(--cut) * 1.327);
  --r: 3px;
  --shadow: 0 30px 60px -30px rgba(0, 18, 61, .45);

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--masthead-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
/* unclassed lists inside navigation and footers are lists of links, not bullet lists */
.mega ul, .footer ul, .x-footer ul, .footer__col ul, .footer__legal ul { list-style: none; padding: 0; margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3 { font-stretch: var(--wide); font-weight: 620; letter-spacing: -0.022em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { overflow: hidden; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .menu :focus-visible { outline-color: var(--mint); }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: var(--r);
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap > *, [class*="__grid"] > *, [class*="__inner"] > * { min-width: 0; }

.dark { background: var(--midnight); color: var(--white); position: relative; isolation: isolate; }
.dark p { color: var(--fog); }

/* ---------- small shared pieces ---------- */
.label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 14px;
}
.dark .label { color: var(--teal-light); }

.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); }
.dark .lede { color: var(--white); }

.diamond { width: .62em; height: .83em; fill: var(--mint); flex: none; }

.ico { width: 28px; height: 28px; flex: none; color: var(--deep); --ic-accent: var(--mint); }
.dark .ico { color: var(--white); }

/* the 53° cut: one corner of a panel or photo sliced like a peak's leg passing through it */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-v), 100% 100%, 0 100%); }

.flag {
  display: inline-flex; gap: 8px; align-items: center;
  margin-bottom: 28px; padding: 6px 12px;
  font-size: var(--fs-tiny); color: #6B5410;
  background: var(--notice); border-radius: var(--r);
}

.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.section-head--split > p { color: var(--slate); max-width: 46ch; }
.dark .section-head--split > p { color: var(--fog); }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--deep); text-decoration: none; }
.link-more svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-more:hover svg { transform: translateX(3px); } .link-more:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ticks: the overlap diamond as the list marker */
.ticks li { position: relative; padding-left: 22px; margin-top: 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .52em; width: 8px; height: 10.6px;
  background: var(--mint); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--deep); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  font-size: .9375rem; font-weight: 600; font-stretch: 108%; letter-spacing: .005em; line-height: 1;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--r);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--mint { --btn-bg: var(--mint); --btn-fg: var(--midnight); }
.btn--teal { --btn-bg: var(--deep); }
.btn--ink { --btn-bg: var(--midnight); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .34); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: #B9C7CB; }
@media (hover: hover) and (pointer: fine) {
  .btn--mint:hover { --btn-bg: #86CBC7; }
  .btn--teal:hover, .btn:not([class*="btn--"]):hover { --btn-bg: var(--deep-hover); }
  .btn--ink:hover { --btn-bg: #0A2A6B; }
  .btn--ghost:hover { --btn-bd: var(--white); --btn-bg: rgba(255, 255, 255, .06); }
  .btn--outline:hover { --btn-bd: var(--ink); }
}

/* ==========================================================================
   LOADER: the peaks cross, the overlap lights, the curtain lifts
   ========================================================================== */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 400;
  pointer-events: none;
}
.loader__curtain { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--mist); }
.loader__curtain--trail { fill: var(--deep); }   /* trails the Mist curtain by a beat as it lifts */
.lo-ring { fill: none; stroke: var(--mint); stroke-width: 6; opacity: 0; }
.lo-glint { fill: #fff; opacity: 0; }
.loader__line { display: block; width: 46%; height: 2px; margin: 26px auto 0; overflow: hidden; border-radius: 1px; background: rgba(0, 102, 102, .14); opacity: 0; }
.loader__line > span { display: block; height: 100%; background: var(--deep); transform: scaleX(0); transform-origin: 0 50%; }
.loader__stage { position: relative; width: min(46vw, 260px); }
/* hidden until the intro timeline has put every piece at its start (otherwise the finished logo flashes first) */
.js .loader__stage { visibility: hidden; }
.loader__logo { width: 100%; height: auto; overflow: visible; }
.lo-peak--l { fill: var(--deep); }
.lo-peak--r { fill: var(--teal); }
.lo-overlap { fill: var(--mint); }
.lo-word { fill: var(--deep); }
.lo-letter { transform-box: fill-box; }
.js:not(.is-loaded) body { overflow: hidden; }
.loader.is-done { display: none; }

/* loader options (?loader=a|b|c, see loader-options.html): only the chosen one shows, in place of the curtain */
.lo-a, .lo-b, .lo-c { display: none; }
.loader--a > .lo-a, .loader--b > .lo-b, .loader--c > .lo-c { display: block; position: absolute; inset: 0; }
.loader--a > .loader__curtain, .loader--a > .loader__stage, .loader--b > .loader__curtain, .loader--b > .loader__stage,
.loader--c > .loader__curtain, .loader--c > .loader__stage { display: none; }
/* A: draw and dock */
.loader--a > .lo-a { display: grid; place-items: center; }
.lo-a__bg { position: absolute; inset: 0; background: var(--mist); }
.lo-a__box { position: relative; display: grid; justify-items: center; gap: 30px; width: min(46vw, 260px); }
.lo-a__logo { width: 100%; height: auto; overflow: visible; }
.lo-a__line { stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.lo-a__line--l { stroke: var(--deep); fill: var(--deep); }
.lo-a__line--r { stroke: var(--teal); fill: var(--teal); }
.lo-a__ov { fill: var(--mint); opacity: 0; }
.lo-a__word { fill: var(--deep); }
.lo-a__meter { width: 72%; height: 2px; background: rgba(0, 18, 61, .1); overflow: hidden; }
.lo-a__bar { display: block; height: 100%; background: var(--deep); transform: scaleX(0); transform-origin: 0 50%; }
.lo-a__pct { position: absolute; right: var(--gutter); bottom: clamp(20px, 3vw, 36px); font-size: var(--fs-small); font-weight: 600; letter-spacing: .06em; color: var(--deep); font-variant-numeric: tabular-nums; }
/* B: the range */
.lo-b__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lo-b__curtain { fill: var(--midnight); }
.lo-b__edge { fill: none; stroke: var(--mint); stroke-width: 2; stroke-linejoin: round; }
.lo-b__logo { position: absolute; left: 50%; top: 40%; width: min(40vw, 210px); height: auto; transform: translate(-50%, -50%);
  --lg-l: var(--white); --lg-r: var(--white); --lg-o: var(--mint); --lg-w: var(--white); }
/* C: count to the summit */
.lo-c__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lo-c__curtain { fill: var(--mist); }
.lo-c__edge { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linejoin: round; }
.lo-c__dia { position: absolute; left: 50%; top: 50%; width: 46px; height: auto; fill: var(--mint); transform: translate(-50%, -50%); overflow: visible; }
.lo-c__count { position: absolute; left: var(--gutter); bottom: clamp(18px, 3vw, 40px); font-size: clamp(4.5rem, 2rem + 11vw, 12rem); font-weight: 700; font-stretch: 125%;
  letter-spacing: -0.04em; line-height: .8; color: var(--midnight); font-variant-numeric: tabular-nums; }
.lo-c__line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--deep); transform: scaleX(0); transform-origin: 0 50%; }
/* D, E, F: the cinematic cuts (assets/js/loaders-wow.js) */
.lo-d, .lo-e, .lo-f { display: none; }
.loader--d > .lo-d, .loader--e > .lo-e, .loader--f > .lo-f { display: block; position: absolute; inset: 0; }
/* G, H, I: simple, one idea each (built by assets/js/loaders-simple.js) */
.loader--g > .loader__curtain, .loader--g > .loader__stage, .loader--h > .loader__curtain, .loader--h > .loader__stage,
.loader--i > .loader__curtain, .loader--i > .loader__stage { display: none; }
.lo-g, .lo-h, .lo-i { position: absolute; inset: 0; }
.lo-g__bg { position: absolute; inset: 0; background: var(--midnight); }
.lo-g__frame { position: absolute; left: 50%; top: 50%; width: clamp(150px, 24vw, 300px); aspect-ratio: 4 / 5; transform: translate(-50%, -50%); overflow: hidden; background: var(--midnight-2); }
.lo-g__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; visibility: hidden; }
.lo-g__veil { position: absolute; inset: 0; z-index: 20; opacity: 0; }
.lo-g__count { position: absolute; left: 50%; top: calc(50% + clamp(93.75px, 15vw, 187.5px) + 20px); transform: translateX(-50%);
  font-size: var(--fs-small); font-weight: 650; letter-spacing: .14em; color: var(--fog); font-variant-numeric: tabular-nums; }
.lo-h__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lo-h__cover { fill: var(--mist); }
.lo-i__band { position: absolute; inset: 0; display: grid; place-items: center; }
.lo-i__logo { width: min(34vw, 280px); height: auto; }

.loader--d > .loader__curtain, .loader--d > .loader__stage, .loader--e > .loader__curtain, .loader--e > .loader__stage,
.loader--f > .loader__curtain, .loader--f > .loader__stage { display: none; }
/* D: through the diamond */
.lo-d__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lo-d__curtain { fill: var(--midnight); }
.lo-d__line { fill: none; stroke: var(--mint); stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lo-d__dia { fill: var(--mint); filter: drop-shadow(0 0 14px rgba(101, 186, 182, .85)); }
.lo-d__word { fill: var(--white); }
.lo-d__edge { fill: none; stroke: var(--mint); stroke-width: 2px; stroke-linejoin: round; }
/* E: liquid glass */
.lo-e { background: var(--midnight); }
.lo-e.is-gl { background: none; }   /* the shader paints the ground, and lets the page through as it dissolves */
.lo-e__gl, .lo-f__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lo-e__fb, .lo-f__fb { display: none; position: absolute; inset: 0; overflow: hidden; }
.lo-e.is-fallback .lo-e__fb, .lo-f.is-fallback .lo-f__fb { display: block; }
.lo-e.is-fallback .lo-e__gl, .lo-f.is-fallback .lo-f__gl { display: none; }
.lo-e__fb { background: var(--midnight) center / 620px repeat; }
.lo-e__fb::before { content: ""; position: absolute; inset: 0; background: rgba(0, 18, 61, .82); }
.lo-e__fb-logo { position: absolute; inset: 0 0 6% 0; margin: auto; width: min(62vw, 560px); height: auto; aspect-ratio: 1129 / 676;
  --lg-l: var(--deep); --lg-r: var(--teal); --lg-o: var(--mint); --lg-w: var(--white); }
/* F: dawn ascent */
.lo-f { background: var(--midnight); }
.lo-f__fb-img { position: absolute; inset: 0; background: var(--midnight) center / cover no-repeat; }
.lo-f__fb-sun { position: absolute; left: 53%; top: 27%; width: 46px; height: auto; margin-left: -23px; fill: var(--mint); filter: drop-shadow(0 0 30px rgba(101, 186, 182, .9)); }
.lo-f__fb-flood { position: absolute; inset: 0; background: var(--mist); opacity: 0; visibility: hidden; }
.lo-f__logo { position: absolute; left: 0; right: 0; top: 7%; margin-inline: auto; width: min(36vw, 190px); height: auto; aspect-ratio: 1129 / 676; opacity: 0;
  --lg-l: var(--white); --lg-r: var(--white); --lg-o: var(--mint); --lg-w: var(--white); filter: drop-shadow(0 4px 24px rgba(0, 18, 61, .5)); }

/* ==========================================================================
   CONCEPT NOTICE
   ========================================================================== */
.notice { background: var(--notice); color: #3A2E08; font-size: var(--fs-small); }
.notice__inner { display: flex; gap: 8px 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 9px; }
.notice a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-underline-offset: 3px; }
.notice svg { width: 14px; height: 14px; }

/* ==========================================================================
   HEADER: utility bar scrolls away; masthead stays
   ========================================================================== */
.site-header {
  position: sticky; top: calc(var(--utility-h) * -1); z-index: 100;
  background: var(--midnight); color: var(--white);
  --lg-l: var(--white); --lg-r: var(--white); --lg-o: var(--mint); --lg-w: var(--white);
}
.utility { height: var(--utility-h); border-bottom: 1px solid var(--line-dark); font-size: var(--fs-tiny); color: var(--fog); }
.utility__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility ul { display: flex; gap: 22px; }
.utility__offices span { color: var(--white); margin-right: 4px; }
.utility__offices time { font-variant-numeric: tabular-nums; }
.utility a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .utility a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 980px) { .utility__offices li:nth-child(n+3) { display: none; } }
@media (max-width: 640px) { .utility .utility__links li:not(:first-child), .utility .utility__offices { display: none; } .utility__inner { justify-content: flex-end; } }

.masthead { position: relative; border-bottom: 1px solid transparent; transition: border-color 300ms var(--ease-out), background-color 300ms var(--ease-out); }
.site-header.is-scrolled .masthead { border-bottom-color: var(--line-dark); }
.masthead__inner { height: var(--masthead-h); display: flex; align-items: center; gap: 32px; }
.masthead__logo { display: block; flex: none; }
.masthead__logo svg { height: 46px; width: auto; aspect-ratio: 1129 / 676; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  font-size: .9375rem; font-weight: 500; color: rgba(255, 255, 255, .86);
  text-decoration: none; background: none; border: 0; cursor: pointer; position: relative;
}
.nav__link::after { /* the overlap marks the active/hovered item */
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 7px; height: 9.3px; margin-left: -3.5px;
  background: var(--mint); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0; transform: translateY(3px);
}
.nav__link[aria-expanded="true"]::after, .nav__link.is-current::after { opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--white); }
  .nav__link:hover::after { opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
}
.nav__caret { width: 13px; height: 13px; transform: rotate(90deg); transition: transform 200ms var(--ease-out); }
.nav__trigger[aria-expanded="true"] .nav__caret { transform: rotate(-90deg); }
.masthead__cta { min-height: 42px; }
.masthead__menu { display: none; }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--midnight-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 40px 60px -30px rgba(0, 6, 25, .7);
}
.mega[hidden] { display: none; }
.mega.is-open .mega__inner { animation: mega-in 240ms var(--ease-out) both; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 40px; padding-block: 36px 40px; }
.mega__head { font-size: var(--fs-tiny); font-weight: 600; color: var(--teal-light); margin-bottom: 12px; }
.mega__col a {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  font-size: .9375rem; color: rgba(255, 255, 255, .9); text-decoration: none;
}
.mega__col .ico { width: 24px; height: 24px; color: var(--white); }
@media (hover: hover) and (pointer: fine) { .mega__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--mint); } }
.mega__feature {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 230px; padding: 22px; text-decoration: none; position: relative; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 45px, 100% 100%, 0 100%);
  background: var(--midnight);
}
.mega__feature-img { position: absolute; inset: 0; background: url("../img/overlap-macro.jpg") 70% 50% / cover; opacity: .9; }
.mega__feature-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 18, 61, .95) 15%, rgba(0, 18, 61, 0) 75%); }
.mega__feature > span:not(.mega__feature-img) { position: relative; }
.mega__feature-label { font-size: var(--fs-tiny); color: var(--teal-light); font-weight: 600; }
.mega__feature-title { font-size: 1.25rem; font-weight: 620; font-stretch: var(--wide); line-height: 1.15; color: var(--white); }
.mega__feature-meta { font-size: var(--fs-small); color: var(--fog); }

@media (max-width: 1080px) {
  .nav, .masthead__cta { display: none; }
  .masthead__menu {
    display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px;
    background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r); cursor: pointer;
  }
  .masthead__menu-lines { display: grid; gap: 6px; width: 20px; }
  .masthead__menu-lines span { height: 1.5px; background: currentColor; }
  .masthead__menu-lines span:last-child { width: 13px; justify-self: end; }
}
@media (max-width: 640px) { :root { --masthead-h: 64px; } .masthead__logo svg { height: 40px; } }

/* full-screen mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: var(--midnight); color: var(--white);
  --lg-l: var(--white); --lg-r: var(--white); --lg-o: var(--mint); --lg-w: var(--white);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 550ms cubic-bezier(.7, 0, .2, 1) 140ms, visibility 0s linear 690ms;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 700ms cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--masthead-h); flex: none; }
.menu__logo svg { height: 40px; width: auto; aspect-ratio: 1129 / 676; }
.menu__close { width: 48px; height: 48px; background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r); cursor: pointer; display: grid; place-items: center; }
.menu__close-x { position: relative; width: 18px; height: 18px; }
.menu__close-x::before, .menu__close-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.menu__close-x::before { transform: rotate(45deg); }
.menu__close-x::after { transform: rotate(-45deg); }
.menu__nav { display: flex; flex-direction: column; flex: 1; padding-block: 24px 32px; }
.menu__list a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.6rem, 6.4vw, 2.4rem); font-weight: 600; font-stretch: var(--wide); letter-spacing: -0.02em;
  text-decoration: none;
}
.menu__list li, .menu__foot { opacity: 0; transform: translateY(26px); transition: opacity 200ms, transform 200ms; }
.menu.is-open .menu__list li, .menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s), transform .75s cubic-bezier(.2, .8, .2, 1) calc(.3s + var(--i) * .06s);
}
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 20px; }
.menu__foot p { color: var(--fog); line-height: 1.9; }
.menu__foot a:not(.btn) { text-decoration: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--masthead-h)), 900px);
  display: flex; align-items: center;
  background: var(--midnight); color: var(--white);
  padding-block: clamp(72px, 9vw, 128px);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__media::after { /* keeps the headline legible in the photo's sky */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 18, 61, .92) 0%, rgba(0, 18, 61, .72) 34%, rgba(0, 18, 61, 0) 62%),
    linear-gradient(0deg, rgba(0, 18, 61, .55) 0%, rgba(0, 18, 61, 0) 30%);
}
.hero__inner { position: relative; }
.hero__copy { max-width: 660px; }
.hero__kicker { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 600; color: var(--teal-light); margin-bottom: 22px; }
.hero__kicker .diamond { width: 9px; height: 12px; }
.hero__title { font-size: var(--fs-display); font-weight: 640; letter-spacing: -0.035em; line-height: .96; }
.hero__line { display: block; }
/* each line rises from behind its own edge as the loader lifts (the padding keeps the descenders inside the clip) */
.hero__line:has(.hero__line-in) { overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.hero__line-in { display: block; }
.hero__lede { margin-top: 26px; max-width: 34em; font-size: var(--fs-lede); line-height: 1.5; color: rgba(255, 255, 255, .84); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 40px; font-size: var(--fs-small); color: var(--fog); line-height: 1.45; }
.hero__trust strong { color: var(--white); font-weight: 600; }
.avatars { display: flex; }
.avatars li + li { margin-left: -10px; }
.avatars img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--midnight); object-fit: cover; }
.hero__caption {
  position: absolute; right: var(--gutter); bottom: 18px;
  font-size: var(--fs-tiny); color: rgba(255, 255, 255, .55);
}
@media (max-width: 860px) {
  .hero { align-items: flex-end; min-height: 92svh; }
  .hero__img { object-position: 78% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(0, 18, 61, .96) 0%, rgba(0, 18, 61, .82) 48%, rgba(0, 18, 61, .1) 80%); }
  .hero__caption { display: none; }
}

/* ---------- hero: "Above the city" (option C) ----------
   Text in the dark interior on the left, the team at the glass on the right. The photo leans toward the
   pointer (depth-hover.js). */
.hero--city {
  display: flex; flex-direction: column; align-items: stretch; padding: 0;
  /* fills the first screen under the header and the concept notice (the notice goes when the concept does) */
  min-height: max(640px, min(calc(100svh - var(--masthead-h) - var(--utility-h) - 34px), 920px));
}
.hero--city .hero__img { object-position: 60% 42%; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms linear; }
.hero__gl.is-ready { opacity: 1; }
.hero--city .hero__media::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 18, 61, .86) 0%, rgba(0, 18, 61, .5) 34%, rgba(0, 18, 61, 0) 56%),
    linear-gradient(0deg, rgba(0, 18, 61, .55) 0%, rgba(0, 18, 61, 0) 30%);
}
.hero--city .hero__inner { flex: 1; display: grid; align-items: center; padding-block: clamp(48px, 8vh, 104px); }
.hero--city .hero__copy { max-width: 640px; }
@media (max-width: 860px) {
  .hero--city { min-height: 0; }
  .hero--city .hero__inner { align-items: end; min-height: 72svh; padding-top: 96px; }
  .hero--city .hero__img { object-position: 72% 42%; }
  .hero--city .hero__media::after { background: linear-gradient(0deg, rgba(0, 18, 61, .95) 0%, rgba(0, 18, 61, .78) 48%, rgba(0, 18, 61, .15) 85%); }
}
@media (max-width: 480px) {
  .hero--city .hero__actions { flex-wrap: nowrap; gap: 8px; }
  .hero--city .hero__actions .btn--lg { min-height: 48px; padding: 0 16px; font-size: .9375rem; }
}

/* ==========================================================================
   FACTS: a quiet row between two hairlines, same padding above and below
   ========================================================================== */
.facts { background: var(--white); }
.facts__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.facts__list > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 30px 24px 30px 0; }
.facts__list > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dd { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 620; font-stretch: var(--wide); letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts dt { font-size: var(--fs-small); color: var(--slate); }
@media (max-width: 860px) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__list > div { padding: 22px 16px 22px 0; border-top: 1px solid var(--line); }
  .facts__list > div + div { padding-left: 0; border-left: 0; }
  .facts__list > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts__list > div:nth-child(-n+2) { border-top: 0; }
  .facts__list > div:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   CLIENTS
   ========================================================================== */
.clients { background: var(--white); padding-block: clamp(72px, 8vw, 120px); }
.clients__logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients__logos li { display: grid; place-items: center; height: 120px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__logos img { height: var(--h, 30px); width: auto; max-width: 78%; object-fit: contain; opacity: .82; }
@media (max-width: 860px) {
  .clients__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients__logos li { height: 96px; }
}

/* ==========================================================================
   SERVICES: two peaks converge, the overlap lights
   ========================================================================== */
.services { padding-block: var(--section); overflow: hidden; }
.services__texture, .presence__texture, .contact__texture {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/texture-massif.jpg") 50% 50% / cover;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
}
.converge { position: relative; max-width: 1040px; margin: 0 auto clamp(28px, 4vw, 56px); text-align: center; }
/* the 3D stage: the mark fills ~70% of its width; the SVG underneath is the still fallback, framed the same way */
.converge__stage { position: relative; aspect-ratio: 2.1 / 1; }
.converge__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.converge__svg { position: absolute; left: 15%; top: 14%; width: 70%; height: auto; overflow: visible; }
.has-peaks3d .converge__svg { display: none; }
/* the caption lights when the overlap does (only once the 3D stage has armed it) */
.converge__caption span { transition: opacity 600ms var(--ease-out); }
.converge.is-armed .converge__caption span { opacity: .2; }
.converge.is-armed.is-ignited .converge__caption span { opacity: 1; }
.converge.is-armed.is-ignited .converge__caption span:last-child { transition-delay: 200ms; }
.cv-peak--l { fill: var(--deep); }
.cv-peak--r { fill: var(--teal); }
.cv-overlap { fill: var(--mint); }
.cv-peak--l, .cv-peak--r { stroke: rgba(255, 255, 255, .18); stroke-width: 2; }
.converge__caption { margin-top: 8px; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 560; font-stretch: 108%; letter-spacing: -0.01em; color: var(--white); line-height: 1.3; }
.converge__caption span:last-child { color: var(--teal-light); }

.services__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.svc { background: rgba(6, 28, 77, .82); border: 1px solid var(--line-dark); padding: clamp(24px, 3vw, 40px); position: relative; backdrop-filter: blur(2px); }
.svc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; }
.svc--marketing::before { background: var(--deep); }
.svc--technology::before { background: var(--teal); }
.svc__head { padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); margin-bottom: 8px; }
.svc__head h3 { font-size: 1.5rem; color: var(--white); }
.svc__head p { margin-top: 6px; font-size: var(--fs-small); }
.svc__list li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.0625rem; color: var(--white); }
.svc__list li:last-child { border-bottom: 0; }
.svc__list a { text-decoration-color: var(--mint); text-underline-offset: 4px; }
@media (max-width: 760px) { .services__cols { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   SERVICES: the growth stack (services-options.html, option E). Technology is the foundation deck, Marketing
   the deck above, the mint diamond the engine between them; assembles once, then a service and its module
   light together (hover or focus either)
   ========================================================================== */
.services.stack { background: radial-gradient(60% 70% at 72% 55%, #0A2A63 0%, var(--midnight) 70%); }
/* each list sits beside its own deck: Marketing by the upper, Technology by the lower; the closing line under them */
.stack__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr 1fr auto;
  grid-template-areas: "mkt fig" "tech fig" "cap fig"; column-gap: clamp(32px, 5vw, 88px); align-items: center; margin-top: clamp(24px, 3vw, 48px); }
.stack__group--mkt { grid-area: mkt; }
.stack__group--tech { grid-area: tech; }

.stack__group h3 { font-size: clamp(1.4rem, 1.15rem + .7vw, 1.8rem); color: var(--white); }
.stack__sub { font-size: var(--fs-small); margin: 6px 0 16px; }
.stack__group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.stack__group li { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line-dark); font-size: 1.0625rem; color: rgba(255, 255, 255, .82); cursor: default; transition: color 200ms linear, background-color 300ms linear; }
.stack__group li .ico { width: 24px; height: 24px; color: var(--white); transition: color 200ms linear; }
.stack__group li { position: relative; }
.stack__group li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 8px; margin-top: -4px; background: var(--mint); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); opacity: 0; transition: opacity 200ms linear; }
.stack__group li.is-on::before, .stack__group li.is-pulse::before { opacity: 1; }
.stack__group li.is-on, .stack__group li.is-pulse { color: var(--white); }
.stack__group li.is-on .ico, .stack__group li.is-pulse .ico { color: var(--mint); }
.stack__group a { color: inherit; text-decoration-color: var(--mint); text-underline-offset: 4px; }
.stack__fig { grid-area: fig; position: relative; margin: 0; width: min(100%, 540px); justify-self: center; }
.stack__pause { position: absolute; right: 0; bottom: 0; z-index: 1; }
/* the laser (assets/js/stack-laser.js) draws over the drawing and runs on past its foot, where the light that pours
   over the front edges falls away; with it running, the drawn beam and its glow stand down */
.stack__laser { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + var(--laser-under, 90px)); pointer-events: none; }
.stack.has-laser .stack__beam, .stack.has-laser .stack__socket-glow { display: none; }
@media (max-width: 900px) { .stack__laser { --laser-under: 30px; } }
.stack__svg { display: block; width: 100%; height: auto; overflow: visible; }
.stack__plate-t { fill: #0B2559; stroke: rgba(127, 211, 207, .3); stroke-width: 1; }
.stack__plate-l { fill: #061C4D; }
.stack__plate-r { fill: #031540; }
.stack__m-t { fill: #102E6A; stroke: rgba(127, 211, 207, .5); stroke-width: 1; transition: fill 250ms linear, stroke 250ms linear; }
.stack__m-l { fill: #0A2459; }
.stack__m-r { fill: #061B4A; }
.stack__decal use { color: var(--teal-light); --ic-accent: var(--mint); transition: color 250ms linear; }
.stack__mod { cursor: pointer; transition: transform 450ms var(--ease-out); }
.stack__mod.is-on { transform: translateY(-18px); }
.stack__mod.is-pulse { transform: translateY(-9px); }
.stack__mod.is-on .stack__m-t, .stack__mod.is-pulse .stack__m-t { fill: var(--deep); stroke: var(--mint); }
.stack__mod.is-on .stack__decal use, .stack__mod.is-pulse .stack__decal use { color: var(--white); }
/* the deck names, set on each plate's front edge */
.stack__name { font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: .24em; fill: var(--teal-light); opacity: .92; pointer-events: none; }
/* the engine: a light shaft between the decks, the gem, its orbit */
.stack__beam { transform-box: fill-box; transform-origin: 50% 100%; }
.stack__beam-soft { opacity: .22; }
.stack__port { transform-box: fill-box; transform-origin: 50% 50%; }
.stack__orbit { fill: none; stroke: var(--teal-light); stroke-width: 1.1; opacity: .35; }
.stack__orbit--front { opacity: .7; }
.stack__gem-tl { fill: #C9F1EE; }
.stack__gem-tr { fill: var(--teal-light); }
.stack__gem-bl { fill: var(--mint); }
.stack__gem-br { fill: #3A9692; }
.stack__gem-table { fill: #9FDFDB; stroke: var(--white); stroke-width: .8; stroke-opacity: .45; stroke-linejoin: round; }
.stack__gem-ridge { fill: none; stroke: var(--white); stroke-width: .8; opacity: .35; }
.stack__gem-line { fill: none; stroke: var(--white); stroke-width: 1.2; opacity: .55; stroke-linejoin: round; }

/* assembly: armed by JS (so without JS, with reduced motion and under ?static it simply rests, built) */
.stack.is-armed .stack__deck, .stack.is-armed .stack__mod { opacity: 0; transform: translateY(-56px); }
.stack.is-armed .stack__beam, .stack.is-armed .stack__port { transform: scaleY(0); opacity: 0; }
.stack.is-armed .stack__orbit { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.stack.is-armed .stack__engine { opacity: 0; transform: scale(.3); }
.stack.is-armed .stack__caption { opacity: 0; }
.stack.is-armed.is-in .stack__deck, .stack.is-armed.is-in .stack__mod { opacity: 1; transform: none; transition: transform 800ms var(--ease-out) var(--d), opacity 300ms linear var(--d); }
.stack.is-armed.is-in .stack__beam, .stack.is-armed.is-in .stack__port { opacity: 1; transform: none; transition: transform 800ms var(--ease-in-out) 800ms, opacity 200ms linear 800ms; }
.stack.is-armed.is-in .stack__orbit { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-out) 1300ms; }
.stack.is-armed.is-in .stack__engine { opacity: 1; transform: none; transition: opacity 300ms linear 900ms, transform 700ms cubic-bezier(.34, 1.56, .64, 1) 900ms; }
.stack.is-armed.is-in .stack__caption { opacity: 1; transition: opacity 600ms linear 2200ms; }
@media (max-width: 960px) {
  .stack__grid { grid-template-columns: minmax(0, 1fr); }
  .stack__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "fig" "mkt" "tech" "cap"; row-gap: 40px; }
  .stack__fig { width: min(100%, 440px); }
}
@media (max-width: 520px) { .stack__group ul { grid-template-columns: minmax(0, 1fr); } }
.stack .ico { width: 24px; height: 24px; }
/* the connector, plugged in at both ends; the signals that ride it; the upper deck afloat */
.stack__socket { fill: var(--mint); opacity: .85; filter: drop-shadow(0 0 6px rgba(101, 186, 182, .9)); }
.stack__socket-glow { fill: var(--mint); opacity: .55; filter: blur(4px); }
.stack__pulse { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px rgba(127, 211, 207, 1)); }
.stack__ring-dot { fill: #fff; filter: drop-shadow(0 0 4px rgba(127, 211, 207, .9)); }
.stack__upper { animation: stack-float 7s ease-in-out infinite; }
@keyframes stack-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.stack__glow { animation: stack-breathe 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes stack-breathe { 0%, 100% { opacity: .75; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.stack.is-paused .stack__upper, .stack.is-paused .stack__glow { animation-play-state: paused; }
.static .stack__upper, .static .stack__glow, .static .stack__pause { animation: none; }
.static .stack__pause, .static .stack__ring-dot { display: none; }
@media (prefers-reduced-motion: reduce) { .stack__upper, .stack__glow { animation: none; } .stack__pause, .stack__ring-dot { display: none; } }
.stack__caption { grid-area: cap; align-self: end; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 560; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.3; color: var(--white); text-wrap: balance; }
.stack__caption span { display: inline-block; }   /* each phrase stays whole */
.stack__caption span:last-child { color: var(--teal-light); }

/* ==========================================================================
   PRODUCTS: a bento of materials (from product-options.html, option A)
   ========================================================================== */
.products { padding-block: var(--section); overflow: hidden; }
/* straight after the (dark) service division: one dark chapter, split by a hairline instead of a double gap */
.services + .products { padding-top: 0; }
.services + .products > .wrap { padding-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line-dark); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bento__tile { position: relative; overflow: hidden; padding: clamp(22px, 2.4vw, 34px); color: var(--white); border-radius: var(--r); }
.bento__tile h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); color: var(--white); }
.bento__tile .ico { width: 26px; height: 26px; }
.dark .bento__tile p { color: rgba(255, 255, 255, .8); }
.bento__copy { position: relative; z-index: 1; display: grid; gap: 12px; }
/* materials: each texture carries a Midnight wash so the words always read */
.mat { isolation: isolate; background: var(--midnight) center / cover; }
.mat::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.mat--metal { background-image: url("../img/po-tex-metal.jpg"); }
.mat--metal::after { background: linear-gradient(160deg, rgba(0, 18, 61, .2), rgba(0, 18, 61, .72)); }
.mat--glass { background-image: url("../img/po-tex-glass.jpg"); }
.mat--glass::after { background: linear-gradient(90deg, rgba(0, 18, 61, .9) 0%, rgba(0, 18, 61, .68) 55%, rgba(0, 18, 61, .25) 100%); }
.mat--frost { background-image: url("../img/po-tex-frost.jpg"); color: var(--midnight); }
.mat--frost::after { background: rgba(245, 250, 249, .35); }

/* Pilot: a display headline on top (it answers the "6 weeks" beside it), the description and the three benefits
   as ruled rows at the foot, the glass peak on the right */
.bento__pilot { grid-column: 1 / 5; grid-row: 1 / 3; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; min-height: 460px; background: #031a40; }
.bento__pilot .bento__obj { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 62% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
.bento__pilot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #031a40 0%, #031a40 34%, rgba(3, 26, 64, 0) 52%); }
.bento__tile .bento__title { position: relative; z-index: 1; display: grid; justify-items: start; gap: 22px; max-width: 6.2em;
  font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.4rem); font-weight: 640; font-stretch: var(--wide); letter-spacing: -0.03em; line-height: 1; }
.bento__title .ico { width: 30px; height: 30px; }
.bento__foot { grid-row: 3; position: relative; z-index: 1; display: grid; gap: 22px; max-width: 26em; }
.dark .bento__foot p { font-size: 1.0625rem; color: rgba(255, 255, 255, .84); }
.bento__rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.bento__rows li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-weight: 560; }
.bento__rows li::before { content: ""; flex: none; width: 8px; height: 10.6px; background: var(--mint); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.bento__weeks { grid-column: 5 / 7; grid-row: 1; display: grid; align-content: end; gap: 6px; }
.bento__big { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 680; font-stretch: 122%; letter-spacing: -0.045em; line-height: .9; color: var(--white) !important; }
.bento__big span { color: #b9f2ee; font-variant-numeric: tabular-nums; }
.bento__sub { font-size: var(--fs-small); }

/* Creators 360: a calm ground (midnight, a soft teal glow behind the object) and the orbit of what the platform covers */
.bento__creators { grid-column: 5 / 7; grid-row: 2 / 4; display: grid; gap: 10px; align-content: end;
  background: radial-gradient(90% 46% at 50% 24%, rgba(0, 153, 153, .26), rgba(0, 153, 153, 0) 70%), linear-gradient(180deg, #082b58 0%, #04193f 100%);
  border: 1px solid var(--line-dark); }
.bento__orbit { position: relative; width: min(100%, 240px); aspect-ratio: 1; justify-self: center; margin: 4px 0 18px; }
.bento__orbit img { position: absolute; inset: 21%; width: 58%; height: 58%; object-fit: cover; border-radius: 50%; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7); }
.bento__ring { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; border: 1px dashed rgba(127, 211, 207, .35); border-radius: 50%; animation: orbit 36s linear infinite; }
.bento__ring li { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center;
  background: #04193f; border: 1px solid rgba(127, 211, 207, .45); border-radius: 50%;
  transform: rotate(calc(var(--k) * 60deg)) translate(0, -120px) rotate(calc(var(--k) * -60deg)); }
.bento__ring li .ico { width: 18px; height: 18px; color: var(--white); animation: orbit 36s linear infinite reverse; }
.bento__creators.is-paused .bento__ring, .bento__creators.is-paused .bento__ring li .ico { animation-play-state: paused; }
@keyframes orbit { to { transform: rotate(360deg); } }
.bento__pause { position: absolute; top: 14px; right: 14px; z-index: 2; }

.bento__internal { grid-column: 1 / 5; grid-row: 3; display: grid; align-items: center; min-height: 250px; padding-block: 0; }
.bento__internal .bento__copy { max-width: 60%; padding-block: clamp(22px, 2.4vw, 34px); }
.bento__internal .bento__obj { position: absolute; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; object-position: 78% 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.bento__qual { grid-column: 4 / 5; grid-row: 3; display: grid; align-content: space-between; color: var(--midnight); }
.bento__diamond { width: 14px; height: 19px; fill: var(--deep); }
.bento__qual ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.bento__qual li { padding: 7px 14px; font-size: var(--fs-small); font-weight: 600; border: 1px solid rgba(0, 18, 61, .4); border-radius: var(--r); background: rgba(255, 255, 255, .5); }

/* pause control for anything that loops (icon only here; its label is its aria-label) */
.pause { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--white); background: rgba(0, 18, 61, .5);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r); cursor: pointer; opacity: .75; transition: opacity 200ms linear; }
.pause:hover, .pause:focus-visible { opacity: 1; }
.pause__icon { position: relative; width: 10px; height: 12px; }
.pause__icon::before, .pause__icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor; }
.pause__icon::before { left: 1px; } .pause__icon::after { right: 1px; }
.pause[aria-pressed="true"] .pause__icon::before { left: 2px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; }
.pause[aria-pressed="true"] .pause__icon::after { display: none; }
@media (prefers-reduced-motion: reduce) { .bento__ring, .bento__ring li .ico { animation: none; } .bento__pause { display: none; } }
.static .bento__ring, .static .bento__ring li .ico { animation: none; }
.static .bento__pause { display: none; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the objects sit above the copy instead of behind it */
  .bento__pilot { grid-column: 1 / -1; grid-row: auto; grid-template-rows: auto; min-height: 0; padding: 0; gap: 0; }
  .bento__pilot .bento__obj { position: relative; width: 100%; height: clamp(240px, 56vw, 400px); object-position: 62% 45%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 30%); mask-image: linear-gradient(0deg, transparent 0, #000 30%); }
  .bento__pilot::after { display: none; }
  .bento__tile .bento__title { padding: 0 24px; margin-top: -40px; max-width: none; }
  .bento__foot { grid-row: auto; max-width: none; padding: 20px 24px 28px; }
  .bento__weeks, .bento__qual { grid-column: span 1; grid-row: auto; }
  .bento__creators, .bento__internal { grid-column: 1 / -1; grid-row: auto; }
  .bento__internal { min-height: 0; padding: 0; }
  .bento__internal .bento__copy { max-width: none; padding: 24px 24px 0; }
  .bento__internal .bento__obj { position: relative; width: 100%; height: 210px; object-position: 80% 55%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }
}
@media (max-width: 600px) {
  .bento { grid-auto-rows: auto; }
  .bento__weeks { grid-column: 1 / -1; }
  .bento__qual { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-height: 0; }
  .bento__qual ul { flex-direction: row; }
}
@media (max-width: 420px) {
  .bento__orbit { width: 210px; }
  .bento__ring li { transform: rotate(calc(var(--k) * 60deg)) translate(0, -105px) rotate(calc(var(--k) * -60deg)); }
}

/* ==========================================================================
   WORK
   ========================================================================== */
.work { background: var(--white); padding-block: var(--section); }
.work__lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(48px, 6vw, 80px); }
.case__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--glacier); margin-bottom: 22px; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .case:hover .case__media img { transform: scale(1.03); } }
.case__sector { font-size: var(--fs-small); font-weight: 600; color: var(--deep); }
.case h3 { margin: 6px 0 10px; font-size: 1.5rem; }
.case--lead h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); }
.case p:not(.case__sector) { color: var(--slate); }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: var(--fs-tiny); color: var(--slate); }
.case__tags li + li::before { content: ""; display: inline-block; width: 5px; height: 6.6px; margin-right: 14px; vertical-align: 1px; background: var(--line); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.case__cover {
  aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--midnight) url("../img/texture-massif.jpg") var(--pos, 50% 50%) / 260% auto;
  position: relative; overflow: hidden;
}
.case__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0, 18, 61, .2), rgba(0, 18, 61, .75)); }
.case__mark { position: relative; z-index: 1; height: var(--h, 40px); width: auto; }
.case__mark--word { height: auto; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 680; font-stretch: 125%; letter-spacing: -0.02em; color: var(--white); }
/* the two lead cases: the same cover, wider (3:2) and with a larger name */
.case--lead .case__cover { aspect-ratio: 3 / 2; margin-bottom: 22px; }
.case--lead .case__mark--word { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); }
@media (max-width: 960px) { .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work__lead, .work__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   VOICES: the marquee (voices-options.html, option D). All eight quotes as cards in two rows drifting in opposite
   directions; a row slows under the pointer; pause; still (scrollable by hand) under reduced motion and ?static
   ========================================================================== */
.voices { padding-block: var(--section); background: var(--mist); overflow: clip; }
.vq blockquote { margin: 0; }
.vq__rows { display: grid; gap: 0; margin-top: clamp(32px, 4vw, 56px); }
.vq__row { overflow: hidden; padding: 2px 0 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.vq__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; will-change: transform; }
.vq__card { width: min(78vw, 380px); display: grid; grid-template-rows: 1fr auto; padding: clamp(22px, 2.2vw, 30px); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -34px rgba(0, 18, 61, .5); }
.vq__card blockquote p { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
/* initials in the mint diamond (a stand-in for a face, which we don't have and shouldn't invent) */
.vq__mono { position: relative; display: inline-grid; place-items: center; flex: none; width: 34px; height: 45px; }
.vq__mono svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--mint); }
.vq__mono b { position: relative; font-size: 11px; font-weight: 750; letter-spacing: .04em; color: var(--midnight); }
.vq__cap { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: var(--fs-small); color: var(--slate); }
.vq__cap strong { display: block; font-size: 1rem; color: var(--ink); }
.vq__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.vq__rating { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); color: var(--slate); }
/* still: the rows don't move; they scroll sideways instead */
.static .vq__row { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; padding: 2px var(--gutter) 22px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.static .vq__card { scroll-snap-align: start; }
.static .vq__bar .pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .vq__row { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; padding: 2px var(--gutter) 22px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
  .vq__card { scroll-snap-align: start; }
  .vq__bar .pause { display: none; }
}
.stars { display: flex; gap: 4px; }
.stars svg { width: 9px; height: 12px; fill: var(--mint); }

/* ==========================================================================
   AUDIT BAND
   ========================================================================== */
.audit { padding-block: clamp(80px, 9vw, 132px); overflow: hidden; }
.audit__media { position: absolute; inset: 0; z-index: -1; }
.audit__media img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; }
.audit__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 18, 61, .9) 20%, rgba(0, 18, 61, 0) 70%); }
.audit__inner { display: grid; gap: 18px; justify-items: start; }
.audit h2 { max-width: 12ch; }
.audit p { max-width: 34ch; font-size: var(--fs-lede); color: rgba(255, 255, 255, .82); margin-bottom: 10px; }
@media (max-width: 760px) { .audit__media::after { background: rgba(0, 18, 61, .78); } }

/* ==========================================================================
   ABOUT: where they meet (about-options.html, option C2). The words on the left, the photograph of the two bars
   crossing framed on the right; pointing at a part moves the light to the metal bar, the glass or the crossing
   ========================================================================== */
@property --sx { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --sy { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --sr { syntax: '<length>'; inherits: false; initial-value: 200px; }
@property --sd { syntax: '<number>'; inherits: false; initial-value: .3; }
.about { padding-block: var(--section); background: var(--white); }
.meet { overflow: hidden; isolation: isolate; }
.meet h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.2; color: var(--ink); }
.meet .ico { width: 26px; height: 26px; flex: none; }
.meet__head { display: grid; gap: 18px; }
.meet__lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); }
.meet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.meet__copy { position: relative; display: grid; gap: 30px; }
.meet__parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.meet__part { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 18px 18px 18px 22px; cursor: default;
  border-radius: var(--r); outline: none; transition: background-color 250ms linear, box-shadow 250ms linear; }
.meet__part .ico { grid-row: span 2; color: var(--deep); }
.meet__part p { color: var(--slate); font-size: .9688rem; }
.meet__part:hover, .meet__part:focus-visible, .meet__part.is-on { background: var(--mist); }
.meet__part:focus-visible { box-shadow: inset 0 0 0 2px var(--deep); }
.meet__bar { position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 2px; transition: width 250ms var(--ease-out), box-shadow 250ms linear; }
.meet__bar--l { background: var(--deep); color: var(--deep); }
.meet__bar--r { background: var(--teal); color: var(--teal); }
.meet__bar--o { background: var(--mint); color: var(--mint); }
.meet__part:hover .meet__bar, .meet__part:focus-visible .meet__bar, .meet__part.is-on .meet__bar { width: 5px; box-shadow: 0 0 16px currentColor; }
.meet__part--o { grid-template-columns: minmax(0, 1fr); }
.meet__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.meet__pair > div { display: grid; gap: 6px; align-content: start; }
.meet__pair .ico { color: var(--teal); }
/* the photograph, framed with the 53° cut; it bleeds 12px past the frame so the lean never shows an edge */
.meet__media { position: relative; min-height: 540px; overflow: hidden; border-radius: var(--r); background: var(--midnight);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-v), 100% 100%, 0 100%); }
.meet__media img { position: absolute; inset: -12px; width: calc(100% + 24px); max-width: none; height: calc(100% + 24px); object-fit: cover; object-position: 70% 45%;
  transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform 1200ms var(--ease-out); }
.meet__dim { position: absolute; inset: 0; transition: --sx 900ms var(--ease-in-out), --sy 900ms var(--ease-in-out), --sr 900ms var(--ease-in-out), --sd 600ms linear;
  background: radial-gradient(circle at var(--sx) var(--sy), rgba(0, 18, 61, 0) 0, rgba(0, 18, 61, 0) var(--sr), rgba(0, 18, 61, var(--sd)) calc(var(--sr) * 2.6)); }
.meet__foot { position: relative; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 64px); }
.meet__foot p { color: var(--slate); line-height: 1.65; }
.meet__cities { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.meet__cities li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 650; color: var(--ink); }
.meet__dia { width: 10px; height: 13px; fill: var(--mint); flex: none; }
.static .meet *, .static .meet__dim { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .meet *, .meet__dim { transition: none !important; } }
@media (max-width: 900px) {
  .meet__grid { grid-template-columns: minmax(0, 1fr); }
  .meet__media { order: -1; min-height: 0; height: clamp(260px, 62vw, 380px); }
  .meet__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .meet__pair { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   WHY
   ========================================================================== */
.why { padding-block: var(--section); background: var(--mist); }
.why__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.why__aside { position: sticky; top: calc(var(--masthead-h) + 32px); display: grid; gap: 20px; }
.why__aside > p { color: var(--slate); }
.pull { margin-top: 12px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.pull blockquote p { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); font-weight: 560; font-stretch: 110%; letter-spacing: -0.015em; line-height: 1.22; color: var(--ink); }
.pull figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--slate); }
/* the eight reasons as cards that stack as you read (from v2): each sticks a little lower than the last (18px), so the
   pile shows every card's top edge; the one underneath settles back a touch as the next slides over it (main.js) */
.why__stack { list-style: none; margin: 0; padding: 0 0 12vh; display: grid; gap: 20px; }
.why__card { position: sticky; top: calc(var(--masthead-h) + 28px + var(--i) * 18px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; align-items: start; min-height: 200px; padding: clamp(24px, 3vw, 40px);
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 -20px 40px -30px rgba(0, 18, 61, .25);
  transform-origin: 50% 0; transform: scale(var(--sc, 1)); will-change: transform; }   /* its own layer: the scale settles without repainting */
.why__card .ico { width: 44px; height: 44px; grid-row: span 2; }
.why__card h3 { font-size: clamp(1.3rem, 1rem + .9vw, 1.75rem); }
.why__card p { color: var(--slate); }
/* straight into industries (also on Mist): one ground, split by a hairline */
.why + .industries { padding-top: 0; }
.why + .industries > .wrap { padding-top: var(--section); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .why__inner { grid-template-columns: minmax(0, 1fr); } .why__aside { position: static; } .why__card { top: calc(var(--masthead-h) + 16px + var(--i) * 10px); } }
@media (max-width: 560px) { .why__card { grid-template-columns: minmax(0, 1fr); min-height: 0; } .why__card .ico { grid-row: auto; width: 36px; height: 36px; } }

/* ==========================================================================
   INDUSTRIES: living icons (industries-options.html, option D4). Tiles whose top is the industry's own icon in
   line art; the lines draw as the grid arrives, then the tiles take turns playing a short signature move
   ========================================================================== */
.industries { padding-block: var(--section); }
.ind__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ind-tile { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 18, 61, .06); transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.ind-tile:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(0, 18, 61, .5); }
.ind-tile__n { position: absolute; left: 16px; top: 14px; font-size: var(--fs-tiny); font-weight: 700; letter-spacing: .08em; }
.ind-tile__copy { padding: clamp(18px, 2vw, 26px); display: grid; gap: 8px; align-content: start; }
.ind-tile__copy h3 { font-size: 1.15rem; line-height: 1.2; }
.ind-tile__copy p { color: var(--slate); font-size: .94rem; }
/* "Beyond industries": the brand's own ground, a dark massif strip under the tiles */
.beyond-tile { position: relative; isolation: isolate; overflow: hidden; margin-top: 14px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r);
  display: grid; grid-template-columns: auto minmax(0, .7fr) minmax(0, 1.6fr); gap: 14px 32px; align-items: baseline;
  background: var(--midnight) url("../img/texture-massif.jpg") 30% 40% / cover; }
.beyond-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 18, 61, .55), rgba(0, 18, 61, .85)); }
.beyond-tile .diamond { width: 14px; height: 19px; }
.beyond-tile h3 { font-size: clamp(1.3rem, 1.05rem + .7vw, 1.7rem); color: var(--white); }
.beyond-tile p { color: var(--fog); }
.pause--light { color: var(--midnight); background: transparent; border-color: rgba(0, 18, 61, .3); }
@media (prefers-reduced-motion: reduce) { .ind-tile { transition: none; } .ind-tile:hover { transform: none; } .ind__bar { display: none; } }
.static .ind__bar { display: none; }
@media (max-width: 960px) { .ind__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ind__tiles { grid-template-columns: minmax(0, 1fr); }
  .beyond-tile { grid-template-columns: auto minmax(0, 1fr); }
  .beyond-tile p { grid-column: 1 / -1; }
}
.industries { background: var(--mist); --lv-ink: var(--midnight); --lv-acc: var(--teal); --lv-dia: var(--mint); --lv-stage: #EEF6F5; --lv-dot: rgba(0, 102, 102, .16); }
.ind-tile__stage { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: var(--lv-stage); }
/* a fine dot grid, fading toward the edges, so the icon stands on something */
.ind-tile__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, var(--lv-dot) 1.1px, transparent 1.6px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 30%, transparent 75%); }
.ind-tile__n { color: var(--lv-ink); opacity: .55; }
.lv { position: relative; width: 44%; max-width: 168px; height: auto; overflow: visible; }
.lv-s { fill: none; stroke: var(--lv-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lv-bgfill { fill: var(--lv-stage); }
.lv-a { fill: none; stroke: var(--lv-acc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lv-f { fill: var(--lv-dia); transform-box: fill-box; transform-origin: center; }
.lv-track { fill: none; stroke: var(--lv-ink); stroke-width: 3; stroke-linecap: round; opacity: .14; }
.lv-bar { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lv-win { fill: transparent; stroke: var(--lv-ink); stroke-width: 2.6; }
.lv-door { fill: transparent; }
.lv-wave { fill: none; stroke: var(--lv-acc); stroke-width: 3; stroke-linecap: round; opacity: 0; transform-box: view-box; transform-origin: 94px 45px; }
.lv-steam path { opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lv-sweep { fill: none; stroke: var(--lv-acc); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: .22 1.3; stroke-dashoffset: .22; opacity: 0; }
.lv-lid { transform-box: view-box; transform-origin: 20px 84px; }
.lv-play, .lv-coin, .lv-ped { transform-box: fill-box; transform-origin: center; }
.lv-col, .lv-p { transform-box: fill-box; transform-origin: 50% 100%; }

/* arrival: the lines draw, tile by tile; the diamonds land last */
.industries.is-armed .lv-s { stroke-dashoffset: 1; }
.industries.is-armed .lv-f { opacity: 0; transform: scale(.2); }
.industries.is-armed .lv-win { stroke-opacity: 0; }
.industries.is-armed.is-in .lv-s { stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms var(--ease-out) calc(var(--t, 0) * 140ms); }
.industries.is-armed.is-in .lv-f { opacity: 1; transform: none; transition: opacity 300ms linear calc(var(--t, 0) * 140ms + 900ms), transform 600ms cubic-bezier(.34, 1.56, .64, 1) calc(var(--t, 0) * 140ms + 900ms); }
.industries.is-armed.is-in .lv-win { stroke-opacity: 1; transition: stroke-opacity 500ms linear calc(var(--t, 0) * 140ms + 700ms); }

/* the signature moves (.is-play on the tile, about 2s) */
.is-play .lv-f { animation: lv-glint 1.9s var(--ease-out); }
@keyframes lv-glint { 0%, 100% { transform: none; } 55% { transform: scale(1.35); filter: brightness(1.25) drop-shadow(0 0 6px rgba(101, 186, 182, .9)); } }
/* hospitality: the cloche lifts on its hinge, steam escapes */
.is-play .lv-lid { animation: lv-lid 2s var(--ease-in-out); }
@keyframes lv-lid { 0%, 100% { transform: none; } 28%, 62% { transform: translateY(-10px) rotate(-14deg); } }
.is-play .lv-steam path { animation: lv-steam 2s linear calc(var(--s) * 140ms + 250ms); }
@keyframes lv-steam { 0% { opacity: 0; stroke-dashoffset: 1; } 25% { opacity: 1; } 65% { opacity: .9; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -1; } }
/* media: play pulses, the progress line runs, rings leave the mic */
.is-play .lv-play { animation: lv-pulse 1.9s var(--ease-out); }
@keyframes lv-pulse { 0%, 100% { transform: none; } 18% { transform: scale(.82); } 40% { transform: scale(1.14); } 62% { transform: none; } }
.is-play .lv-bar { animation: lv-bar 2s var(--ease-in-out); }
@keyframes lv-bar { 0% { stroke-dashoffset: 1; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.is-play .lv-wave { animation: lv-wave 1.3s var(--ease-out) calc(var(--s, 0) * 220ms + 200ms) 2; }
@keyframes lv-wave { 0% { opacity: 0; transform: scale(.85); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.18); } }
/* real estate: the tower lights floor by floor, then the shop door */
.is-play .lv-win { animation: lv-win 2s linear calc(var(--w) * 90ms); }
@keyframes lv-win { 0%, 100% { fill: transparent; } 15%, 70% { fill: var(--lv-dia); stroke: var(--lv-acc); } }
.is-play .lv-door { animation: lv-door 2s linear 700ms; }
@keyframes lv-door { 0%, 100% { fill: transparent; } 20%, 70% { fill: var(--lv-dia); } }
/* fintech: the stripe is swept, the coin flips */
.is-play .lv-sweep { animation: lv-sweep 1.1s var(--ease-in-out); }
@keyframes lv-sweep { 0% { stroke-dashoffset: .22; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -1.08; opacity: 0; } }
.is-play .lv-coin { animation: lv-flip 1.6s var(--ease-in-out) 500ms; }
@keyframes lv-flip { 0%, 100% { transform: none; } 25% { transform: scaleX(.06); } 50% { transform: scaleX(1) translateY(-4px); } 75% { transform: scaleX(.06); } }
/* government: the columns rise one by one, the pediment settles on them */
.is-play .lv-col { animation: lv-rise 1.9s var(--ease-out) calc(var(--c) * 100ms); }
@keyframes lv-rise { 0%, 100% { transform: none; } 12% { transform: scaleY(.05); } 55% { transform: none; } }
.is-play .lv-ped { animation: lv-settle 1.9s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes lv-settle { 0%, 100% { transform: none; } 12% { transform: translateY(-14px); opacity: .2; } 30% { transform: translateY(-14px); opacity: 1; } 62% { transform: none; } }
/* community: the people stand up (sides, then centre), the dome closes over them */
.is-play .lv-p { animation: lv-stand 1.8s var(--ease-out) calc(var(--p) * 160ms); }
@keyframes lv-stand { 0%, 100% { transform: none; } 12% { transform: translateY(8px) scaleY(.6); opacity: 0; } 50% { transform: none; opacity: 1; } }
.is-play .lv-arcs .lv-s { animation: lv-draw 1.6s var(--ease-out) 300ms; }
@keyframes lv-draw { 0% { stroke-dashoffset: 0; } 15% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }

.ind__bar { display: flex; justify-content: flex-end; margin-top: 14px; }
.ind__pause { color: var(--midnight); }
.static .industries .lv-s, .static .industries .lv-f, .static .industries .lv-win { transition: none !important; }
.static .industries .is-play, .static .industries .is-play * { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .industries .is-play, .industries .is-play * { animation: none !important; } }

/* ==========================================================================
   PRESENCE
   ========================================================================== */
.presence { padding-block: var(--section); overflow: hidden; }
.presence__texture { opacity: .22; }   /* quieter here, so the dots read */
/* the dotted map (offices option B): their LinkedIn banner made real; pick a city on the map or in the list */
.presence ul { list-style: none; margin: 0; padding: 0; }
.presence h3 { font-size: 1.5rem; color: var(--white); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.presence h3 span { font-size: var(--fs-small); font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--fog); }
.presence time { color: var(--white); font-variant-numeric: tabular-nums; font-weight: 600; }
.presence a[href^="mailto"] { font-size: var(--fs-small); color: var(--teal-light); text-underline-offset: 4px; }
.presence a[href^="mailto"]:hover { color: var(--white); }
.presence__grid { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.presence__map { margin: 0; }
.presence__map svg { display: block; width: 100%; height: auto; overflow: visible; }
.presence__dots { fill: none; stroke: rgba(169, 182, 204, .36); stroke-width: 2.4; stroke-linecap: round; }
.presence__arc { fill: none; stroke: var(--teal-light); stroke-width: 1.2; opacity: .6; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.presence.is-in .presence__arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-in-out) calc(var(--d) * 260ms + 200ms); }
.presence__pin { cursor: pointer; }
.presence__pin path { fill: var(--mint); stroke: var(--midnight); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; transform: scale(var(--ps, .72)); transition: transform 300ms var(--ease-out), fill 200ms linear; }
.presence__pin text { fill: var(--fog); font-size: 7.6px; font-weight: 600; font-family: var(--font); transition: fill 200ms linear; }
.presence__pin.is-on path { --ps: 1.05; fill: var(--white); }
.presence__pin.is-on text { fill: var(--white); }
.presence__pulse { fill: none; stroke: var(--mint); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.presence__pin.is-on .presence__pulse { animation: presence-pulse 2s var(--ease-out) 2; }
@keyframes presence-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(5); } }
.static .presence__pin.is-on .presence__pulse { animation: none; }
.static .presence__arc { transition: none !important; }

.presence__side { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.presence__list { border-top: 1px solid var(--line-dark); }
.presence__list li { border-bottom: 1px solid var(--line-dark); }
.presence__city {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; width: 100%;
  padding: 16px 4px 16px 22px; text-align: left; font: inherit; color: var(--white); background: none; border: 0; cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}
.presence__city::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; background: var(--line-dark); transform: rotate(45deg); transition: background-color 200ms linear; }
.presence__city[aria-pressed="true"]::before { background: var(--mint); }
.presence__city:hover { background: rgba(255, 255, 255, .04); }
.presence__name { font-size: 1.125rem; font-weight: 620; font-stretch: var(--wide); }
.presence__country { grid-column: 1; font-size: var(--fs-tiny); color: var(--fog); }
.presence__city time { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: var(--fs-small); color: var(--fog); }
.presence__city[aria-pressed="true"] time { color: var(--white); }
.presence__card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: end; }
.presence__card.is-on { animation: presence-in 520ms var(--ease-out) both; }
@keyframes presence-in { from { opacity: 0; transform: translateY(10px); } }
.static .presence__card.is-on { animation: none; }
.presence__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--midnight-2); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-v), 100% 100%, 0 100%); }
.presence__photo img { width: 100%; height: 100%; object-fit: cover; }
.presence__addr { margin: 12px 0 4px; font-size: var(--fs-small); color: var(--white) !important; }
.presence__time { margin-bottom: 10px; font-size: var(--fs-small); }
@media (max-width: 900px) {
  .presence__side { grid-template-columns: minmax(0, 1fr); }
  .presence__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}
@media (max-width: 600px) {
  .presence__map { overflow: hidden; margin-inline: calc(var(--gutter) * -1); }   /* zoom to Toronto..Dubai so the pins stay legible */
  .presence__map svg { width: 140%; max-width: none; margin-left: -21%; }
  .presence__pin text { font-size: 15px; }
  .presence__pin path { --ps: 1.5; }
  .presence__pin.is-on path { --ps: 2; }
  .presence__dots { stroke-width: 3; }
  .presence__card { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .presence__city { padding-block: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .presence__pin.is-on .presence__pulse, .presence__card.is-on { animation: none; }
  .presence__arc { transition: none !important; }
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners { padding-block: clamp(72px, 8vw, 112px); }
.partners__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 36px; }
.partners__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.partners__head p { color: var(--slate); }
.partners__logos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners__logos li { display: grid; place-items: center; height: 104px; padding: 12px; }
.partners__logos li + li { border-left: 1px solid var(--line); }
.partners__logos img { height: var(--h, 28px); width: auto; max-width: 84%; object-fit: contain; opacity: .78; }
.partners__more { margin-top: 18px; font-size: var(--fs-small); color: var(--slate); }
@media (max-width: 900px) {
  .partners__logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partners__logos li { border-bottom: 1px solid var(--line); }
  .partners__logos li:nth-child(4n+1) { border-left: 0; }
}

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder { padding-block: var(--section); }
.founder__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.founder__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--midnight-2); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder__body { display: grid; gap: 18px; }
.founder__name { font-size: var(--fs-small); color: var(--fog); }
.founder__name strong { display: block; font-size: 1.375rem; font-weight: 620; font-stretch: var(--wide); color: var(--white); }
.founder__more { display: grid; gap: 18px; }
.founder__more.is-open { animation: fade-in 420ms var(--ease-out) both; }
.founder__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 8px; }
.founder__link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-underline-offset: 4px; font-size: var(--fs-small); font-weight: 600; }
.founder__link svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .founder__inner { grid-template-columns: minmax(0, 1fr); } .founder__photo { max-width: 440px; } }

/* ==========================================================================
   INSIGHTS
   ========================================================================== */
.insights { padding-block: var(--section); background: var(--white); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.post a { display: grid; gap: 14px; text-decoration: none; }
.post__cover {
  aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden;
  background: var(--midnight) url("../img/texture-massif.jpg") var(--pos, 50% 50%) / 240% auto;
}
.post__cover::after { content: ""; position: absolute; inset: 0; background: rgba(0, 18, 61, .45); }
.post__cover .ico { position: relative; z-index: 1; width: 56px; height: 56px; color: var(--white); }
.post__meta { display: flex; gap: 14px; font-size: var(--fs-tiny); font-weight: 600; color: var(--deep); }
.post__meta span { font-weight: 400; color: var(--slate); }
.post__title { font-size: 1.1875rem; font-weight: 600; font-stretch: 106%; line-height: 1.3; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) { .post a:hover .post__title { text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 5px; } }
@media (max-width: 860px) { .posts { grid-template-columns: minmax(0, 1fr); } .post a { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; } .post__cover { grid-row: span 2; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: var(--section); }
.faq__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq__inner > div:first-child { display: grid; gap: 16px; }
.faq__inner > div:first-child p { color: var(--slate); }
.faq__inner a { color: var(--deep); text-underline-offset: 3px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 600; font-stretch: 104%;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 12px; height: 16px;
  background: var(--line); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transition: background-color 200ms var(--ease-out), transform 300ms var(--ease-in-out);
}
.qa[open] summary::after { background: var(--mint); transform: rotate(90deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding-bottom: 24px; color: var(--slate); max-width: 62ch; }
@media (max-width: 860px) { .faq__inner { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding-block: var(--section); overflow: hidden; }
.contact__texture { opacity: .4; -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 80%); mask-image: linear-gradient(0deg, #000 0%, transparent 80%); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(32px, 5vw, 80px); align-items: start; }
.contact__aside { display: grid; gap: 18px; position: sticky; top: calc(var(--masthead-h) + 32px); }
.contact__aside h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4rem); }
.contact__lines { display: grid; margin-top: 12px; border-top: 1px solid var(--line-dark); }
.contact__lines > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: .9688rem; }
.contact__lines dt { color: var(--fog); }
.contact__lines a { color: var(--white); text-underline-offset: 4px; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r); color: var(--white); transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.social svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .social a:hover { border-color: var(--mint); background: rgba(101, 186, 182, .12); } }

.brief { background: var(--white); color: var(--ink); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 28px; box-shadow: var(--shadow); }
.brief p { color: var(--slate); }
.brief__head h3 { font-size: 1.5rem; }
.brief__head p { margin-top: 6px; font-size: var(--fs-small); }
.brief__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.brief__group legend { padding: 0; font-weight: 600; margin-bottom: 4px; }
.brief__sub { font-size: var(--fs-tiny); margin: 14px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 14px;
  font-size: var(--fs-small); color: var(--ink-soft);
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.chip::before { /* the overlap appears when selected */
  content: ""; width: 0; height: 10.6px; background: var(--mint); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  margin-right: -8px; transition: width 200ms var(--ease-out), margin 200ms var(--ease-out);
}
.chip[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: var(--white); }
.chip[aria-pressed="true"]::before { width: 8px; margin-right: 0; }
.chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink-soft); } }
.brief__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #B9C7CB; border-radius: var(--r);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(0, 102, 102, .18); }
.field [aria-invalid="true"] { border-color: #B42318; }
/* sending, then the confirmation: the button spins for a moment, then the card springs to what was sent */
.brief__send.is-sending { cursor: progress; }
.brief__spin { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: brief-spin 700ms linear infinite; }
@keyframes brief-spin { to { transform: rotate(360deg); } }
.brief.is-sent > :not(.brief__done) { display: none !important; }
.brief__done { display: grid; justify-items: start; gap: 14px; outline: none; }
.brief__tick { width: 40px; height: auto; margin-bottom: 4px; overflow: visible; }
.brief__tick-dia { fill: var(--deep); transform-box: fill-box; transform-origin: center; }
.brief__tick-check { fill: none; stroke: var(--white); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.brief__done.is-in .brief__tick-dia { animation: brief-pop 620ms cubic-bezier(.34, 1.56, .64, 1) both; }
.brief__done.is-in .brief__tick-check { animation: brief-draw 520ms var(--ease-out) 260ms both; }
@keyframes brief-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes brief-draw { from { stroke-dashoffset: 1; } }
.brief__done h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.brief__done > p { color: var(--slate); }
.brief__done > p strong { color: var(--ink); font-weight: 600; }
.brief__summary { width: 100%; margin: 6px 0 8px; border-top: 1px solid var(--line); }
.brief__summary > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.brief__summary dt { font-size: var(--fs-small); color: var(--slate); }
.brief__summary dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .brief__spin { animation: none; border-right-color: currentColor; opacity: .6; } .brief__done.is-in * { animation: none !important; } }
@media (max-width: 520px) { .brief__summary > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.brief__status:empty { display: none; }
.brief__status { padding: 14px 16px; font-size: var(--fs-small); background: var(--glacier); border-left: 3px solid var(--deep); color: var(--ink) !important; }
@media (max-width: 960px) { .contact__inner { grid-template-columns: minmax(0, 1fr); } .contact__aside { position: static; } }
@media (max-width: 560px) { .brief__fields { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   BRIEF: three steps (needs, budget, details)
   The card springs to each step's height (main.js, "brief": a damped spring, ζ≈0.74, ~3% overshoot,
   settled in ~0.7s). The leaving step lifts out of the flow and slides toward the side it's leaving;
   the arriving one slides in from the other side. Transitions live on the arriving state only.
   ========================================================================== */
.brief.is-resizing { overflow: hidden; }                /* only while the height moves */
.brief__progress { display: grid; gap: 10px; margin-top: -8px; }
.brief__count { font-size: var(--fs-tiny); font-weight: 600; color: var(--slate); }
.brief__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.brief__steps li { position: relative; padding-top: 12px; font-size: var(--fs-tiny); color: var(--slate); }
.brief__steps li::before, .brief__steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; }
.brief__steps li::before { background: var(--line); }
.brief__steps li::after { background: var(--teal); transform: scaleX(0); transform-origin: left center; }
.brief__steps li.is-done::after { transform: none; background: var(--teal); transition: transform 420ms var(--ease-out); }
.brief__steps li.is-current::after { transform: none; background: var(--midnight); transition: transform 420ms var(--ease-out); }
.brief__steps li.is-current { color: var(--ink); font-weight: 600; }
.brief__steps span { display: inline-flex; align-items: center; gap: 6px; }
.brief__steps li.is-current span::before { /* the overlap marks where you are */
  content: ""; width: 7px; height: 9.3px; background: var(--mint); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.brief__viewport { position: relative; }
.brief__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.brief__step[hidden] { display: none; }
.brief__step legend { padding: 0; margin-bottom: 4px; font-weight: 600; font-size: 1.0625rem; }
.brief__step legend:focus { outline: none; }
.brief__step.is-leaving { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.brief__step[data-step="3"] legend { margin-bottom: 14px; }
.brief__reassure { margin-top: 14px; font-size: var(--fs-tiny); }
.brief__nav { display: flex; align-items: center; gap: 12px; }
.brief__nav .brief__next, .brief__nav .brief__send { margin-left: auto; }
.brief__back { min-height: 46px; }
.brief__nav [hidden] { display: none; }
@media (max-width: 560px) {
  .brief__nav .btn--lg { min-height: 50px; padding: 0 22px; }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--abyss); padding-block: clamp(64px, 7vw, 104px) 40px; --lg-l: var(--white); --lg-r: var(--white); --lg-o: var(--mint); --lg-w: var(--white); }
.footer__sign { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-dark); }
.footer__motto { font-size: clamp(2.6rem, 1rem + 6vw, 6.5rem); font-weight: 640; font-stretch: 122%; letter-spacing: -0.035em; line-height: .95; color: var(--white) !important; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
.footer__logo { width: 104px; height: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; font-size: var(--fs-small); margin-bottom: 22px; }
.footer__head { font-size: var(--fs-tiny); font-weight: 600; color: var(--teal-light) !important; margin-bottom: 14px; }
.footer__col li { padding: 5px 0; }
.footer__col a { font-size: .9375rem; color: rgba(255, 255, 255, .86); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; } }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: var(--fs-tiny); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a, .footer__cookie { color: var(--fog); text-underline-offset: 3px; }
.footer__cookie { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-decoration: underline; }
.footer__concept { margin-top: 22px; max-width: 110ch; font-size: var(--fs-tiny); line-height: 1.6; color: rgba(169, 182, 204, .8) !important; }
.footer__concept a { color: var(--fog); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* ==========================================================================
   REVEAL (JS-armed; content is visible without JS)
   Transition lives on the revealed state so arming never animates backwards.
   ========================================================================== */
.js [data-reveal-item] { opacity: 0; transform: translateY(18px); }
.js [data-reveal-item].is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal-item] { transform: none; }
  .js [data-reveal-item].is-in { transition: opacity 400ms linear; }
  .menu, .menu.is-open { transition: visibility 0s, opacity 300ms; clip-path: none; opacity: 0; }
  .menu.is-open { opacity: 1; }
  .menu__list li, .menu__foot { transform: none !important; }
  .case__media img { transition: none; }
}
.static [data-reveal-item] { opacity: 1 !important; transform: none !important; }


/* ==========================================================================
   COOKIE CONSENT
   Asks once, after the loader lifts. Reject sits beside Accept with the same weight;
   Cookie settings in the footer reopens it with the choices already open.
   ========================================================================== */
.consent {
  position: fixed;
  /* bottom right: over the hero photo rather than the quick form (was left: clamp(16px, 2.5vw, 32px)) */
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 90; /* under the header (100), so the full-screen menu covers it */
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 24px 22px;
  border-radius: var(--radius-l);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(20, 40, 90, .08), 0 28px 56px -24px rgba(14, 29, 68, .5);
  /* resting state; leaving returns here, so it exits the way it came in */
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transform-origin: 100% 100%; /* rises out of its corner */
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.consent[hidden] { display: none; }
.consent.is-open {
  opacity: 1;
  transform: none;
  transition: opacity 320ms var(--ease-out), transform 560ms var(--ease-drawer);
}
/* after a choice it fades out while sinking, unhurried, so it never feels snapped shut
   (it used to fall back to the resting state's 220/260ms and a 16px drop) */
.consent.is-leaving {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 440ms cubic-bezier(0.4, 0, 0.2, 1), transform 560ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* the content settles in just behind the card, a beat apart */
.consent__head,
.consent__text,
.consent__manage,
.consent__actions {
  opacity: 0;
  transform: translateY(8px);
}
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions),
.consent.is-leaving :is(.consent__head, .consent__text, .consent__manage, .consent__actions) {
  opacity: 1;
  transform: none;
}
.consent.is-open :is(.consent__head, .consent__text, .consent__manage, .consent__actions) {
  transition:
    opacity 360ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms),
    transform 480ms var(--ease-out) calc(90ms + var(--i, 0) * 50ms);
}

.consent__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
/* the khatam star turns an eighth into place: it lands looking exactly as it started */
.consent__star {
  flex: none;
  width: 18px;
  height: 18px;
  fill: var(--gold);
  opacity: 0;
  transform: rotate(-45deg) scale(.5);
}
.consent.is-open .consent__star,
.consent.is-leaving .consent__star { opacity: 1; transform: none; }
.consent.is-open .consent__star { transition: transform 720ms var(--ease-out) 150ms, opacity 280ms var(--ease-out) 150ms; }
.consent__title { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; color: var(--lapis); }
.consent__title:focus { outline: none; } /* only ever focused by script, on reopen */
.consent__close {
  display: none;
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  margin: -6px -10px -6px auto;
  border-radius: 50%;
  color: var(--muted);
  transition: background-color .2s, color .2s, transform 160ms var(--ease-out);
}
.consent.can-dismiss .consent__close { display: block; }
.consent__close:active { transform: scale(.92); }
.consent__close span,
.consent__close span::before {
  position: absolute;
  left: 11px;
  top: 17px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.consent__close span::before { content: ""; left: 0; top: 0; transform: rotate(90deg); }

.consent__text { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-soft); }

.consent__manage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--blue);
  transition: color .2s;
}
.consent__manage svg { width: 12px; height: 12px; transition: transform 260ms var(--ease-in-out); }
.consent.is-expanded .consent__manage svg { transform: rotate(180deg); }

/* choices: the panel opens to its natural height, rows arrive one after another;
   closing is quicker and all together */
.consent__prefs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 240ms var(--ease-in-out); }
.consent.is-expanded .consent__prefs { grid-template-rows: 1fr; transition-duration: 380ms; }
.consent__prefs-inner { min-height: 0; overflow: hidden; margin: 0 -4px; padding: 0 4px; }
.consent__row,
.consent__save {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.consent.is-expanded :is(.consent__row, .consent__save) {
  opacity: 1;
  transform: none;
  transition:
    opacity 300ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms),
    transform 420ms var(--ease-out) calc(70ms + var(--i, 0) * 40ms);
}
.consent__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.consent__label { font-size: 1rem; font-weight: 500; color: var(--ink); }
label.consent__label { cursor: pointer; }
.consent__row p { grid-column: 1 / -1; margin: 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.consent__always { font-size: .875rem; font-weight: 500; color: var(--teal); }
.consent__save { padding: 6px 0 4px; }

/* switch: the thumb slides across and stretches a little while pressed */
.consent__switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 13px;
  background: #C3CAD6;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}
.consent__switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(14, 29, 68, .3);
  transition: transform 220ms var(--ease-out), width 160ms var(--ease-out);
}
.consent__switch:checked { background: var(--lapis); }
.consent__switch:checked::before { transform: translateX(18px); }
.consent__switch:active::before { width: 24px; }
.consent__switch:checked:active::before { transform: translateX(14px); }
.consent__switch:focus-visible { outline-offset: 2px; border-radius: 13px; }

.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent__actions .btn { min-height: 46px; padding: 10px 14px; }

@media (hover: hover) and (pointer: fine) {
  .consent__manage:hover { color: var(--lapis); }
  .consent__close:hover { background: var(--mist); color: var(--lapis); }
}

/* phones: a sheet that comes up from the bottom edge and goes back down there */
@media (max-width: 600px) {
  .consent {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 18px 20px 20px;
    transform: translateY(calc(100% + 24px));
    transform-origin: 50% 100%;
    transition: opacity 260ms var(--ease-out), transform 300ms var(--ease-out);
  }
  /* the sheet sinks back below the edge it came from, fading as it goes */
  .consent.is-leaving { transform: translateY(calc(100% + 24px)); }
  .consent__title { font-size: 1.25rem; }
}

/* reduced motion: gentler, not zero. Everything still fades; nothing travels */
@media (prefers-reduced-motion: reduce) {
  .consent,
  .consent :is(.consent__head, .consent__text, .consent__manage, .consent__actions, .consent__star, .consent__row, .consent__save) { transform: none !important; }
  .consent__prefs,
  .consent.is-expanded .consent__prefs { transition: none; }
}

/* consent: Massyve adjustments */
.consent__always { color: var(--deep); }
.consent__manage, .consent__close { border: 0; background: none; cursor: pointer; }
.consent__star { fill: var(--mint); width: 13px; height: 17px; transform: scale(.4); }
.consent.is-open .consent__star, .consent.is-leaving .consent__star { transform: none; }
.consent__title { font-family: var(--font); font-stretch: var(--wide); font-weight: 620; }
