/* Vircom mockup, laboiteaslides.fr craft rebuild.
   Modes on <html>: .m motion allowed, .d desktop scroll scenes, .gl WebGL background running.
   Without .d everything sits in normal flow (phones, reduced motion, script failure). */

:root {
  --blue: #0056bd;
  --oxy: #94b4d7;
  --gold: #e4b986;
  --ink: #0b1d3a;
  --night: #050d1c;
  --paper: #fff;
  --g1: #cdd5e0;   /* idle list labels */
  --g2: #a7b2c3;   /* faded text before read-along */
  --g3: #566174;   /* secondary body */
  --out: cubic-bezier(.06, .75, .12, 1);   /* close to custom::out for CSS transitions */
  --display: 'League Gothic', 'Arial Narrow', sans-serif;
  --text: 'Inter', system-ui, sans-serif;
  --r-lg: 3.2rem;
  --r-sm: 1.6rem;
  --gut: 3.2rem;
  --fs-body: max(1.6rem, 15px);
  --fs-small: max(1.4rem, 13px);
  --fs-lede: max(2.4rem, 18px);
  --fs-btn: max(1.5rem, 14px);
}

/* 1rem = 1/164 of the viewport: the page scales as one picture */
html { font-size: clamp(7px, .60976vw, 10.278px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 var(--fs-body)/1.4 var(--text);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
svg use { fill: currentColor; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.skip { position: fixed; left: 1.6rem; top: -10rem; z-index: 50; background: #fff; color: var(--ink); padding: 1rem 1.6rem; border-radius: 99px; }
.skip:focus { top: 1.6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 148rem; margin-inline: auto; padding-inline: var(--gut); box-sizing: border-box; }
main { position: relative; z-index: 1; }

/* colour fields: flat blocks without WebGL, transparent over the shader with it */
[data-field="blue"]  { background: var(--blue);  color: #fff; }
[data-field="gold"]  { background: var(--gold);  color: var(--ink); }
[data-field="oxy"]   { background: var(--oxy);   color: var(--ink); }
[data-field="night"] { background: var(--night); color: #fff; }
[data-field="ink"]   { background: var(--ink);   color: #fff; }
[data-field="paper"] { background: var(--paper); color: var(--ink); }
.gl [data-field] { background: transparent; }

.gl { --gl: 1; }
canvas.gl { display: none; }
.gl canvas.gl { display: block; position: fixed; inset: 0; width: 100%; height: 100vh; z-index: 0; }

/* sticky tracks: N viewports tall, one 100vh stage inside */
.d .stick { height: calc(var(--n) * 100vh); }
.d .stick > .track { position: sticky; top: 0; height: 100vh; overflow: hidden; box-sizing: border-box; }

/* type */
.title {
  font: 400 11.2rem/.8 var(--display);
  text-transform: uppercase;
  font-synthesis: none;
}
.title .l-tint, .hero-size .l-tint { color: var(--blue); }
.giant { font: 400 20rem/.75 var(--display); text-transform: uppercase; text-align: center; }
.hero-size { font: 400 16.4rem/.75 var(--display); text-transform: uppercase; text-align: center; }
.l { display: block; padding-top: .1em; }  /* room for accents and caps inside masks */
.statement { font-weight: 600; font-size: max(5.2rem, 26px); line-height: 1.04; letter-spacing: -.04em; }
.lede { font-weight: 500; font-size: var(--fs-lede); line-height: 1.3; letter-spacing: -.02em; }

.dots-list { list-style: none; margin: 2.4rem 0 0; padding: 0; font-size: var(--fs-small); }
.dots-list li { position: relative; padding-left: 1.8rem; }
.dots-list li + li { margin-top: 1rem; }
.dots-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* buttons: pill with a liquid fill that rises on enter and drains out the top on leave */
.btn {
  --hy: 0%;
  --fill: var(--blue);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  height: max(5.2rem, 44px);
  padding: 0 max(2.8rem, 20px);
  border: 0;
  border-radius: 999px;
  font: 500 var(--fs-btn)/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .5s var(--out), background-color .5s var(--out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 50% 6% at 50% 31%, var(--fill) 99%, transparent 100%),
    linear-gradient(180deg, transparent 31%, var(--fill) 31% 69%, transparent 69%),
    radial-gradient(ellipse 50% 6% at 50% 69%, var(--fill) 99%, transparent 100%);
  background-size: 100% 400%;
  background-repeat: no-repeat;
  background-position: 0 var(--hy);
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-paper { background: #fff; color: var(--ink); }
.btn.is-in { color: #fff; }
.btn[disabled] { cursor: default; opacity: .6; }

.round {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: max(5.2rem, 44px);
  height: max(5.2rem, 44px);
  border-radius: 50%;
  font-size: max(2rem, 18px);
  text-decoration: none;
}
.cta-pair { display: flex; gap: .8rem; align-items: center; margin-top: 4rem; }

.link {
  display: inline-block;
  margin-top: 1.4rem;
  padding-bottom: .25em;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}

/* glass: blur over the scene, cursor-lagged highlight */
.glass {
  position: relative;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(2.4rem);
  backdrop-filter: blur(2.4rem);
}
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, calc(var(--gi, 0) * .4)), transparent 60%);
}
[data-field="paper"] .glass, [data-field="gold"] .glass, [data-field="oxy"] .glass, .nav[data-tone="dark"] .glass { background: rgba(11, 29, 58, .07); }

/* text roll: label clone waits below, words swap on hover */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; padding-block: .12em; margin-block: -.12em; }
.roll-b { position: absolute; left: 0; top: .12em; }
@media (hover: hover) { .roll { white-space: nowrap; } }
@media (hover: none) { .roll-b { display: none; } }
.roll .w { display: inline-block; white-space: pre; transition: transform 1.4s var(--out), opacity 1.4s var(--out); transition-delay: calc(var(--i) * 40ms); }
.roll-b .w { transform: translateY(110%); }
@media (hover: hover) {
  :is(a, button):is(:hover, :focus-visible) .roll-a .w { transform: translateY(-110%); opacity: 0; }
  :is(a, button):is(:hover, :focus-visible) .roll-b .w { transform: none; }
}

/* loader: brand mark on blue, gone after about a second (CSS fallback if scripts never load) */
.loader { display: none; }
.m .loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  pointer-events: none;
  animation: loader-out .6s 3s forwards;
}
.loader svg { width: max(8rem, 56px); }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }

/* nav */
.nav {
  position: fixed;
  top: max(2.8rem, 12px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gut);
  color: #fff;
  transition: color .5s var(--out);
}
.nav[data-tone="dark"] { color: var(--ink); }
.nav-logo { justify-self: start; display: block; }
.nav-logo svg { display: block; width: max(12.4rem, 96px); height: auto; aspect-ratio: 484 / 125; }
.menu-btn {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: max(5.2rem, 44px);
  padding: 0 max(2.8rem, 18px) 0 max(2.1rem, 14px);
  border: 0;
  border-radius: 999px;
  color: inherit;
  font: 500 var(--fs-btn)/1 var(--text);
  cursor: pointer;
}
.dots { display: grid; grid-template-columns: 4px 4px; gap: 3px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.dots i:first-child { grid-column: 1 / -1; justify-self: center; }
.btn-nav { justify-self: end; background: #fff; color: var(--ink); }
.nav[data-tone="dark"] .btn-nav { background: var(--ink); color: #fff; }

/* menu: white panel inset in a blue frame */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 8px;
  border: 0;
  box-sizing: border-box;
  background: var(--blue);
  color: var(--ink);
}
.menu::backdrop { background: transparent; }
.menu-panel {
  box-sizing: border-box;
  height: 100%;
  overflow: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 4rem;
  padding: 2.4rem 3.2rem 3.2rem;
  border-radius: var(--r-lg);
  background: #fff;
}
.menu[open] .menu-panel { animation: menu-in .9s var(--out); }
@keyframes menu-in { from { clip-path: inset(6% 4% round 3.2rem); opacity: 0; } }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-logo { width: max(12.4rem, 96px); aspect-ratio: 484 / 125; color: var(--blue); }
.menu-close { height: max(5.2rem, 44px); padding: 0 2.8rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 var(--fs-btn)/1 var(--text); cursor: pointer; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr; gap: 1.6rem; align-items: start; }
.mcard { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: #fff; text-decoration: none; }
.mcard img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform 1.4s var(--out); }
.mcard:hover img { transform: scale(1.04); }
.mcard span { position: absolute; left: 2.4rem; right: 2.4rem; bottom: 2.4rem; font: 400 max(5.6rem, 36px)/.85 var(--display); text-transform: uppercase; }
.menu-links { display: grid; gap: .6rem; padding-left: 3.2rem; }
.menu-links a { font-weight: 500; font-size: max(2.4rem, 20px); letter-spacing: -.02em; text-decoration: none; justify-self: start; }
.menu-small { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; font-size: var(--fs-small); color: var(--g3); }
.menu-small a { text-decoration: none; }
.menu-foot { display: flex; gap: 2.4rem; font-size: var(--fs-small); }
.menu-foot a { text-decoration: none; }

/* 1 hero */
.hero .track { position: relative; box-sizing: border-box; padding: max(16rem, 120px) var(--gut) 8rem; }
.hero-title { font: 400 16.4rem/.75 var(--display); text-transform: uppercase; text-align: center; font-synthesis: none; }
.ht { display: block; }
.ht-1 { color: #fff; }
.ht-1 .l-ink { color: var(--ink); }
.ht-2 { margin-top: .4em; color: #fff; }
.ht-2 .l-tint { color: var(--gold); }
.gl .ht-2 { color: var(--ink); }
.gl .ht-2 .l-tint { color: var(--blue); }
.hero-read { max-width: 104rem; margin: 8rem auto 0; text-align: center; }
.gl .hero-read { color: var(--ink); }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 6.4rem; max-width: 84rem; margin: 5.6rem auto 0; text-align: left; font-size: var(--fs-small); }
.hero-read .cta-pair { justify-content: center; }
.hero-read .btn-ink { background: #fff; color: var(--ink); }
.gl .hero-read .btn-ink { background: var(--ink); color: #fff; }
.hero-widgets { display: none; }

.d .hero .track { padding: 0; }
.d .hero-title, .d .ht, .d .hero-read { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; }
.d .hero-read { max-width: none; padding-inline: calc(50% - 52rem); }
.d .ht-2, .d .hero-read { visibility: hidden; }
.d .hero-widgets { display: block; position: absolute; inset: auto var(--gut) 3.2rem; height: 0; }
.vcard { position: absolute; left: 0; bottom: 0; width: 29rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-sm); }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard { padding: 0; border: 0; cursor: pointer; display: block; }
.vcard-play { position: absolute; left: 1.6rem; bottom: 1.6rem; width: max(4.8rem, 40px); aspect-ratio: 1; border-radius: 50%; background: #fff; transition: transform .6s var(--out); }
.vcard-play::after { content: ""; position: absolute; inset: 0; margin: auto; translate: 12% 0; width: 0; height: 0; border-style: solid; border-width: .45em 0 .45em .75em; border-color: transparent transparent transparent var(--blue); font-size: max(1.6rem, 13px); }
.vcard:hover .vcard-play, .vcard:focus-visible .vcard-play { transform: scale(1.12); }
.vcard:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.vplayer { width: min(92vw, 160vh); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.vplayer::backdrop { background: rgb(5 13 28 / .86); }
.vplayer video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: #000; }
.vplayer .menu-close { position: absolute; right: 0; bottom: calc(100% + 1.2rem); background: #fff; color: var(--ink); }
.hero-widgets .round { position: absolute; left: 29.8rem; bottom: 0; color: #fff; }
.badge { position: absolute; right: 0; bottom: 0; width: 11rem; color: #fff; animation: spin 14s linear infinite; }
.badge text { font: 600 9.5px var(--text); letter-spacing: .12em; fill: currentColor; }
@keyframes spin { to { transform: rotate(1turn); } }

/* 2 tagline */
.tagline .track { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.6rem; align-content: space-between; row-gap: 6rem; padding-block: max(16rem, 110px) 6.4rem; }
.tagline-h { grid-column: 1 / 7; font-weight: 600; font-size: max(5.2rem, 26px); line-height: 1.04; letter-spacing: -.04em; }
.tagline-body { grid-column: 9 / 13; grid-row: 2; align-self: end; font-size: var(--fs-small); }
.tagline-lede { font-weight: 600; margin-bottom: 1rem; }

/* 3 works */
.works { padding-top: 20rem; }
.works-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.6rem; row-gap: 3.2rem; }
.works-head .title { grid-column: 1 / -1; text-align: right; }
.works-head .lede { grid-column: 8 / 13; }
.cards { list-style: none; margin: 5.6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.card { position: relative; overflow: hidden; aspect-ratio: 566 / 539; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.card-wide { grid-column: 1 / -1; aspect-ratio: 1148 / 540; }
.card img { width: 100%; height: 115%; object-fit: cover; transition: scale 1.4s var(--out); }
.card:hover img { scale: 1.03; }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 13, 28, .72)); }
.card-text { position: absolute; z-index: 1; left: 3.2rem; right: 3.2rem; bottom: 3.2rem; }
.card h3 { font: 400 max(6.4rem, 34px)/.85 var(--display); text-transform: uppercase; }
.card p { max-width: 46rem; margin-top: 1rem; font-size: var(--fs-small); }

/* 6 expertises: pillar list */
.pillars { position: relative; padding-block: 16rem; text-align: center; }
.pillar summary { list-style: none; cursor: pointer; }
.pillar summary::-webkit-details-marker { display: none; }
.pillar-name { display: inline-block; font: 400 9.6rem/.75 var(--display); text-transform: uppercase; color: var(--g1); padding-top: .1em; transition: color .6s var(--out); }
.pillar summary:is(:hover, :focus-visible) .pillar-name, .pillar[open] .pillar-name { color: var(--ink); }
.pillar summary:focus-visible { outline: 0; }
.pillar summary:focus-visible .pillar-name { outline: 2px solid var(--blue); outline-offset: 4px; }
.pillar-img { display: none; }
@media (hover: hover) {
  .d .pillar-img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 26rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-sm);
    pointer-events: none;
    opacity: 0;
    transform: translate(calc(var(--px, 0px) + var(--vx)), calc(var(--py, 0px) + var(--vy))) rotate(var(--r)) scale(.85);
    transition: opacity .5s var(--out), scale .9s var(--out);
  }
  .d .pillar summary:hover .pillar-img { opacity: 1; scale: 1.18; }
}
.pillar-body { max-width: 96rem; margin: 2.4rem auto 5.6rem; }
.pillar-q { font-weight: 600; font-size: var(--fs-lede); letter-spacing: -.02em; margin-bottom: .8rem; }
.svc { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.8rem; font-size: var(--fs-small); color: var(--g3); }

/* 4 method */
.method { padding-block: 10rem 18rem; overflow: hidden; }
.marquee p { font: 400 16.4rem/.8 var(--display); text-transform: uppercase; white-space: nowrap; color: var(--blue); padding-top: .1em; }
.marquee i { font-style: normal; font-size: .42em; vertical-align: .45em; margin-inline: .3em; }
.method-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.6rem; margin-top: 10rem; }
.method-h { grid-column: 1 / 7; }
.method-body { grid-column: 8 / 12; padding-top: 16rem; }

/* 5 proof */
.proof .track { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.6rem; align-items: center; padding-block: 12rem; }
.stats { grid-column: 7 / 12; display: grid; gap: 6rem; }
.stat-line { font-weight: 600; font-size: max(4rem, 24px); line-height: 1.04; letter-spacing: -.04em; }
.stat-line strong { font-weight: 600; }
.d .stats { gap: 0; }
.d .stat { grid-area: 1 / 1; align-self: center; padding-block: 6rem; }
.d .stat + .stat { visibility: hidden; }
.stat-foot { display: grid; gap: 3.2rem; }
.stat-foot .cta-pair { margin-top: 0; }
.logos { display: flex; align-items: center; gap: 4rem; }
.logos img { height: max(3rem, 24px); width: auto; }

/* 7 portal */
.portal .track { position: relative; padding-block: 12rem; }
.portal-title { text-align: center; color: #fff; }
.portal-title .l-tint { color: var(--oxy); }
.gl .portal-title { color: var(--ink); }
.gl .portal-title .l-tint { color: var(--blue); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 6rem var(--gut); max-width: 148rem; margin-inline: auto; box-sizing: border-box; }
.tile {
  box-sizing: border-box;
  padding: 1.6rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  color: #fff;
  font-size: max(1.2rem, 11px);
}
.tile-h { font-weight: 600; margin-bottom: 1rem; }
.tile .rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.tile .rows li { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.tile b { font-weight: 600; color: var(--oxy); }
.tile b.warn { color: var(--gold); }
.tile b.soft { color: var(--g2); }
.tile-big { font: 400 max(4.8rem, 32px)/1 var(--display); text-transform: uppercase; color: var(--oxy); }
.sw { flex: none; width: 2.8rem; height: 1.6rem; border-radius: 99px; background: rgba(255, 255, 255, .2); position: relative; }
.sw::after { content: ''; position: absolute; top: .3rem; left: .3rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; }
.sw.on { background: var(--blue); }
.sw.on::after { left: 1.5rem; }
.box { flex: none; width: 1.4rem; height: 1.4rem; border-radius: .4rem; background: rgba(255, 255, 255, .2); }
.box.on { background: var(--oxy); }
.portal-text { color: #fff; }
.portal-col { max-width: 52rem; }
.portal-col .dots-list { font-size: var(--fs-small); }

.d .portal .track { padding: 0; }
.d .portal-title { position: absolute; inset: 0; display: grid; place-content: center; }
.d .tiles { display: block; position: absolute; inset: 0; padding: 0; max-width: none; visibility: hidden; }
.d .tile { position: absolute; left: 50%; top: 50%; width: 30rem; margin: -6rem 0 0 -15rem; }
.d .tile-sm { width: 18rem; margin-left: -9rem; }
.d .portal-text { position: absolute; inset: 0; z-index: 2; display: grid; align-items: center; visibility: hidden; }

/* 8 spotlight */
.spotlight { padding-block: 18rem; }
.spot-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.6rem; align-items: center; }
.spot-text { grid-column: 1 / 7; }
.spot-text > p { max-width: 50rem; margin-top: 3.2rem; font-size: var(--fs-lede); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.spot-img { grid-column: 8 / 13; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); }
.spot-img img { width: 100%; height: 115%; object-fit: cover; }

/* 10 label cards */
.trust .track { position: relative; padding-block: 12rem; }
.giant .l-tint { color: var(--oxy); }
.lcards { list-style: none; margin: 6rem auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 148rem; box-sizing: border-box; }
.lcard {
  box-sizing: border-box;
  display: grid;
  align-content: space-between;
  justify-items: center;
  gap: 2.4rem;
  min-height: 34rem;
  padding: 4rem 3.2rem 3.2rem;
  border-radius: var(--r-lg);
  background: rgba(0, 86, 189, .42);
  color: #fff;
  text-align: center;
}
.lcard img { height: 5.6rem; width: auto; filter: brightness(0) invert(1); margin-top: 4rem; }
.lcard-big { font: 400 14rem/.8 var(--display); padding-top: .1em; }
.lcard p { font-weight: 600; font-size: var(--fs-small); }

.d .trust .track { padding: 0; display: grid; place-content: center; }
.d .lcards { position: absolute; inset: 0; margin: 0; padding: 0; display: block; max-width: none; pointer-events: none; }
.d .lcard { position: absolute; left: 50%; top: 50%; width: 30rem; margin: -20rem 0 0 -15rem; min-height: 40rem; visibility: hidden; }

/* 13 close + footer */
.close { padding-top: 24rem; padding-bottom: 1.6rem; overflow: hidden; }
.close-h .l-tint { color: var(--oxy); }
.close-sub { max-width: 60rem; margin: 4rem auto 0; text-align: center; font-weight: 500; font-size: var(--fs-lede); line-height: 1.3; letter-spacing: -.02em; }
.signup { display: flex; justify-content: center; gap: .8rem; margin-top: 4.8rem; }
.signup input {
  box-sizing: border-box;
  width: min(36rem, 100%);
  min-width: 0;
  height: max(5.2rem, 44px);
  padding: 0 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font: inherit;
}
.signup input::placeholder { color: rgba(255, 255, 255, .8); }
.signup.is-invalid input { outline: 2px solid var(--gold); }
.signup-note { min-height: 1.4em; margin-top: 1.6rem; text-align: center; font-size: var(--fs-small); }
.close .link { display: table; margin: 0 auto; }
.foot {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem 1.6rem;
  max-width: calc(148rem - 2 * var(--gut));
  margin: 16rem auto 0;
  padding: 4.8rem;
  box-sizing: border-box;
  border-radius: var(--r-lg);
  color: #fff;
  font-size: var(--fs-small);
}
.foot-logo { width: max(12.4rem, 96px); aspect-ratio: 484 / 125; margin-bottom: 2rem; }
.foot-brand p { max-width: 32rem; }
.foot-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 1.6rem; }
.foot-h { font-weight: 600; color: var(--oxy); margin-bottom: 1.2rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: .8rem; }
.foot a { text-decoration: none; }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* phones: flat colour blocks, normal flow, readable sizes */
@media (max-width: 767px) {
  :root { --gut: 16px; }
  .wrap { padding-inline: 16px; }
  .nav { padding-inline: 16px; }
  .hero .track { padding: 120px 16px 72px; }
  .hero-title { font-size: 45px; text-align: left; }
  .hero-read { margin-top: 48px; text-align: left; }
  .hero-read .cta-pair { justify-content: flex-start; }
  .tracks { grid-template-columns: 1fr; }
  .title { font-size: 52px; }
  .giant, .hero-size { font-size: 56px; }
  .tagline .track { display: block; padding-block: 88px; }
  .tagline-body { margin-top: 40px; }
  .works { padding-top: 88px; }
  .works-head { display: block; }
  .works-head .title { text-align: left; }
  .works-head .lede { margin-top: 20px; }
  .cards { grid-template-columns: 1fr; margin-top: 32px; }
  .card, .card-wide { aspect-ratio: 4 / 5; }
  .card-text { left: 20px; right: 20px; bottom: 20px; }
  .pillars { padding-block: 88px; }
  .pillar-name { font-size: 40px; }
  .pillar-body { padding-inline: 16px; }
  .method { padding-block: 64px 88px; }
  .marquee p { font-size: 80px; }
  .method-grid { display: block; margin-top: 40px; }
  .method-body { padding-top: 24px; }
  .proof .track { display: block; padding-block: 88px; }
  .stats { gap: 40px; }
  .portal .track { padding-block: 88px; }
  .portal-title { padding-inline: 16px; }
  .tiles { padding: 32px 16px; }
  .tile-sm { display: none; }
  .portal-text { padding-inline: 16px; }
  .spotlight { padding-block: 88px; }
  .spot-grid { display: block; }
  .spot-img { margin-top: 40px; aspect-ratio: 4 / 3; }
  .trust .track { padding-block: 88px; }
  .lcards { grid-template-columns: 1fr 1fr; padding-inline: 16px; margin-top: 40px; }
  .lcard { min-height: 0; padding: 24px 16px; gap: 16px; }
  .lcard img { margin-top: 8px; height: 28px; }
  .lcard-big { font-size: 64px; }
  .close { padding-top: 104px; }
  .signup { flex-direction: column; align-items: stretch; padding-inline: 16px; }
  .signup input { width: 100%; }
  .signup .btn { justify-content: center; }
  .foot { grid-template-columns: 1fr; margin: 72px 8px 0; padding: 28px 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .menu-links, .menu-small { grid-column: 1 / -1; padding-left: 0; }
  .mcard { aspect-ratio: 1; }
}
@media (max-width: 520px) {
  .btn-nav { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .menu-btn { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* display line masks: each .l clips, its .li moves inside (added by motion.js) */
.m .hero-title .l, .m [data-rise] .l { overflow: hidden; }
.li { display: inline-block; }

/* 9 resources: three post cards, dark / photo / blue, linking out to vircom.com */
.blog { padding-block: 18rem 22rem; }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3.2rem; }
.blog-head .cta-pair { margin-top: 0; }
.bcards { list-style: none; margin: 5.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.bcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  padding: 3.2rem;
  border-radius: var(--r-lg);
  color: #fff;
  text-decoration: none;
}
.bcard time { font-weight: 500; font-size: var(--fs-small); }
.bcard h3 { margin-top: 1.6rem; font: 400 max(5.2rem, 32px)/.88 var(--display); text-transform: uppercase; padding-top: .1em; }
.bmore { margin-top: auto; align-self: flex-start; padding-bottom: .25em; font-weight: 600; font-size: var(--fs-small); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.bcard-ink { background: var(--ink); }
.bcard-blue { background: var(--blue); }
.bcard-blue time { color: var(--oxy); }
.bcard-ink time { color: var(--gold); }
.bcard-photo { background: var(--ink); }
.bcard-photo img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 115%; object-fit: cover; transition: scale 1.4s var(--out); }
.bcard-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 13, 28, .85), rgba(5, 13, 28, .45) 60%, rgba(5, 13, 28, .65)); }
.bcard-photo:hover img { scale: 1.04; }

/* 11 reviews: mist cards in a row that runs past the right edge, arrow buttons */
.reviews { --mist: #eef2f6; padding-block: 18rem; overflow: hidden; }
.d .reviews { min-height: 100vh; box-sizing: border-box; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3.2rem; }
.arrows { display: flex; gap: .8rem; flex: none; }
.arrows .round { border: 0; color: inherit; font: inherit; font-size: max(2rem, 18px); cursor: pointer; transition: opacity .4s var(--out); }
.arrows .round[aria-disabled="true"] { opacity: .35; cursor: default; }
.rrow {
  --pad: max(var(--gut), calc(50% - 74rem + var(--gut)));
  list-style: none;
  margin: 5.6rem 0 0;
  padding: 0 var(--pad);
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.rrow::-webkit-scrollbar { display: none; }
.rrow:focus-visible { outline-offset: -2px; }
.rcard {
  flex: 0 0 clamp(280px, 46rem, 82vw);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 40rem;
  padding: 3.2rem;
  border-radius: var(--r-lg);
  background: var(--mist);
  scroll-snap-align: start;
}
.rwho { display: flex; align-items: center; gap: 1.2rem; font-size: var(--fs-small); }
.rwho strong { display: block; font-weight: 600; }
.rwho span:not(.avatar) { display: block; color: var(--g3); }
.avatar { flex: none; display: grid; place-items: center; width: max(4.8rem, 40px); height: max(4.8rem, 40px); border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; font-size: var(--fs-small); }
.rcard blockquote { margin: auto 0 0; padding-top: 4rem; }
.rcard blockquote p { font-weight: 500; font-size: max(2rem, 16px); line-height: 1.35; letter-spacing: -.01em; }
.rcard .link { align-self: flex-start; font-size: var(--fs-small); }

@media (max-width: 767px) {
  .blog, .reviews { padding-block: 88px; }
  .blog-head, .reviews-head { display: block; }
  .blog-head .cta-pair { margin-top: 24px; }
  .arrows { margin-top: 24px; }
  .bcards { grid-template-columns: 1fr; margin-top: 32px; }
  .bcard { aspect-ratio: auto; min-height: 340px; padding: 24px 20px; }
  .bcard h3 { font-size: 36px; }
  .rrow { margin-top: 32px; }
  .rcard { min-height: 0; padding: 24px 20px; }
  .rcard blockquote { padding-top: 32px; }
}
