/* Gondan Media, Template 1: Midnight Navy & Ice (Inter) */
:root {
  --navy: #0B1A33;
  --navy-2: #13294F;
  --ice: #EAF2F8;
  --frost: #D3E3F0;
  --glacier: #4F86C6;
  --glacier-d: #2F65A6;
  --paper: #F6F9FC;
  --white: #FFFFFF;
  --text: #0B1A33;
  --muted: #4B5E7A;
  --soft: #7D8FA8;
  --line: rgba(11, 26, 51, .12);
  --line-2: rgba(11, 26, 51, .07);
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(20px, 3.4vw, 48px);
  --wrap-max: 1520px;
  --sec: clamp(88px, 10vw, 148px);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
em, i, cite, address, var, dfn { font-style: normal; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--glacier-d); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: #BFD4EA; }

h2 { font-size: clamp(1.95rem, 1.35rem + 1.55vw, 2.75rem); line-height: 1.1; font-weight: 400; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn--small { height: 42px; padding: 0 20px; font-size: .875rem; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(11,26,51,.6); }
.btn--ice { background: var(--ice); color: var(--navy); }
.btn--ice:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.btn--ghost-light { color: #fff; border: 1px solid rgba(234, 242, 248, .4); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost { color: var(--navy); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--navy); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); padding-bottom: 4px; border-bottom: 1px solid var(--line); transition: border-color .3s, gap .3s var(--ease); }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.link-arrow:hover { border-color: var(--navy); gap: 14px; }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,.6); color: var(--navy);
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); transition: background-color .4s, box-shadow .4s, transform .4s var(--ease); }
.site-header__row { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand img { height: 56px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 34px; }
.nav__list a { font-size: .925rem; font-weight: 500; color: var(--navy); position: relative; padding: 6px 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-scrolled { background: rgba(246, 249, 252, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line-2); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.nav-toggle span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--navy); transition: transform .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; } .nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal], .rm [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- 1 HERO ---------- */
.hero {
  --split: .64;
  position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #F6F9FC 0%, #E4EEF7 calc((var(--split) - .3) * 100%), #B9CFE4 calc((var(--split) - .12) * 100%), #4E73A3 calc(var(--split) * 100%), #1B355F calc((var(--split) + .14) * 100%), #0B1A33 100%);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.hero__stage.is-live canvas { opacity: 1; }
.hero__fallback { position: absolute; inset: var(--header) 0 auto; height: calc((var(--split) * 100%) - var(--header) - 24px); display: none; }
.stage-failed .hero__fallback, .no-webgl .hero__fallback { display: block; }
.stage-failed canvas, .no-webgl [data-stage] canvas { display: none; }
.ff { position: absolute; top: 50%; border: 1px solid rgba(255,255,255,.75); background: linear-gradient(140deg, rgba(255,255,255,.75), rgba(211,227,240,.35) 55%, rgba(79,134,198,.25)); box-shadow: inset 0 1px 0 #fff, 0 30px 50px -30px rgba(11,26,51,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ff--cube { left: 12%; width: 130px; height: 130px; border-radius: 18px; transform: translateY(-50%) rotate(12deg); }
.ff--ribbon { left: 34%; width: 220px; height: 64px; border-radius: 40px; transform: translateY(-80%) rotate(-18deg); }
.ff--panel { left: 56%; width: 220px; height: 140px; border-radius: 12px; transform: translateY(-50%) rotate(-6deg); }
.ff--slab { left: 80%; width: 84px; height: 168px; border-radius: 22px; transform: translateY(-50%) rotate(8deg); }

.hero__content { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: end; padding-bottom: clamp(40px, 6vh, 64px); }
.hero__title { font-size: clamp(2.5rem, 1.55rem + 2.5vw, 3.7rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 400; max-width: 15ch; margin-bottom: 18px; }
.hero__lede { color: #C9DAEC; font-size: 1.075rem; max-width: 46ch; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .eyebrow { margin-bottom: 18px; }
.hero__index { border-top: 1px solid rgba(234,242,248,.24); }
.hero__index a { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 8px; padding: 14px 0; border-bottom: 1px solid rgba(234,242,248,.24); color: #DCE8F4; font-size: .95rem; transition: color .35s, padding .45s var(--ease); position: relative; }
.hero__index a::after { content: ""; width: 14px; height: 14px; justify-self: end; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5l5 5-5 5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5l5 5-5 5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease); }
.hero__index a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.hi__n { font-size: .75rem; letter-spacing: .1em; color: #8FB0D3; font-variant-numeric: tabular-nums; }
.hero__index a:hover, .hero__index a.is-hot, .hero__index a:focus-visible { color: #fff; padding-left: 6px; }
.hero__index a:hover::after, .hero__index a.is-hot::after { opacity: 1; transform: none; }
.hero__index a:hover::before, .hero__index a.is-hot::before { transform: scaleX(1); }
.hero .site-header-spacer { height: var(--header); }

/* ---------- 2 ABOUT ---------- */
/* clip (not hidden): it crops the same, but doesn't make a scroll box, so the card row can stick */
.about { background: var(--ice); padding: var(--sec) 0 calc(var(--sec) * .55); overflow: hidden; overflow: clip; }
.about__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.about__head .eyebrow { grid-column: 1 / -1; }
.statement { grid-column: 1 / span 8; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.7rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 400; color: var(--navy); }
.about__aside { grid-column: 10 / span 3; color: var(--muted); }
.about__aside p { margin-bottom: 22px; }

.ribbon { margin-top: clamp(56px, 7vw, 88px); position: relative; }
.ribbon__track { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; cursor: grab; padding: 26px 0 40px; outline-offset: -4px; }
.ribbon__track::-webkit-scrollbar { display: none; }
.ribbon__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
/* when the page scroll drives the row, snapping would fight every frame */
.ribbon__track.is-driven { scroll-snap-type: none; }
/* pinned: the row holds on screen (sticky) while the page scroll slides the cards across;
   main.js sets the ribbon's height to the row's height plus the sideways distance */
.ribbon.is-pinned .ribbon__pin { position: sticky; top: var(--pin-top, 96px); }
.ribbon.is-pinned .ribbon__track { overflow: hidden; cursor: default; }
.ribbon.is-pinned .ribbon__list { will-change: transform; }
.ribbon__track.is-drag .mcard { pointer-events: none; }
.ribbon__list { display: flex; gap: 24px; width: max-content; padding: 0 max(var(--pad), calc((100vw - var(--wrap-max)) / 2 + var(--pad))); position: relative; }
.ribbon__list::before { content: ""; position: absolute; left: 0; right: 0; top: 54px; height: 1px; background: linear-gradient(90deg, transparent, rgba(79,134,198,.45) 10%, rgba(79,134,198,.45) 90%, transparent); }
.mcard {
  position: relative; width: clamp(290px, 31vw, 430px); flex: none; scroll-snap-align: start; scroll-margin-left: max(var(--pad), calc((100vw - var(--wrap-max)) / 2 + var(--pad)));
  padding: 26px 28px 30px; border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(255,255,255,.92), rgba(255,255,255,.55) 45%, rgba(234,242,248,.6));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(79,134,198,.12), 0 1px 2px rgba(11,26,51,.04), 0 24px 50px -28px rgba(19,41,79,.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease);
  user-select: none;
}
.mcard:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 #fff, 0 34px 60px -30px rgba(19,41,79,.45); }
.mcard[data-reveal].is-in:hover { transform: translateY(-6px); }
.mcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mcard__year { font-size: 2.6rem; line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.mcard__tag { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier-d); background: rgba(79,134,198,.1); padding: 6px 11px; border-radius: 99px; }
.mcard h3 { font-size: 1.2rem; margin: 22px 0 8px; color: var(--navy); }
.mcard p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.mcard__art { height: 150px; border-radius: 16px; position: relative; overflow: hidden; background: linear-gradient(160deg, #F7FAFD, #DCE8F3); border: 1px solid rgba(255,255,255,.9); }
/* brand art */
.mcard__art--brand { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 16px 16px; padding-right: 96px; align-items: end; }
.mcard__art--brand .sw { height: 70%; border-radius: 10px; }
.sw--1 { background: var(--navy); } .sw--2 { background: var(--navy-2); height: 82% !important; } .sw--3 { background: var(--glacier); height: 58% !important; } .sw--4 { background: #fff; height: 46% !important; border: 1px solid var(--frost); }
.type-aa { position: absolute; right: 18px; top: 12px; font-size: 2.3rem; font-weight: 300; color: var(--navy); letter-spacing: -.03em; }
/* social art */
.post { position: absolute; width: 92px; height: 112px; border-radius: 12px; background: #fff; box-shadow: 0 14px 26px -16px rgba(11,26,51,.5); top: 22px; }
.post::before { content: ""; position: absolute; inset: 8px 8px 26px; border-radius: 7px; background: linear-gradient(150deg, #4F86C6, #13294F); }
.post::after { content: ""; position: absolute; left: 8px; bottom: 10px; width: 46px; height: 6px; border-radius: 4px; background: var(--frost); }
.post--a { left: 18px; transform: rotate(-6deg); }
.post--b { left: 74px; top: 14px; z-index: 1; }
.post--b::before { background: linear-gradient(150deg, #D3E3F0, #4F86C6); }
.post--c { left: 130px; transform: rotate(6deg); }
.post--c::before { background: linear-gradient(150deg, #13294F, #0B1A33); }
.spark { position: absolute; right: 14px; bottom: 14px; width: 120px; height: 40px; fill: none; stroke: var(--glacier); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* web art */
.mcard__art--web { padding: 14px; }
.bw { display: flex; gap: 5px; padding: 0 0 10px; border-bottom: 1px solid rgba(11,26,51,.08); }
.bw i { width: 7px; height: 7px; border-radius: 50%; background: var(--frost); }
.bw__hero { display: block; height: 58px; margin: 12px 0 10px; border-radius: 8px; background: linear-gradient(120deg, #13294F, #4F86C6); position: relative; }
.bw__hero::before { content: ""; position: absolute; left: 12px; top: 14px; width: 46%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.9); box-shadow: 0 14px 0 -1px rgba(255,255,255,.5); }
.bw__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bw__row b { height: 34px; border-radius: 7px; background: #fff; border: 1px solid rgba(11,26,51,.06); }
/* app art */
.mcard__art--app { display: grid; place-items: center; }
.ph { width: 86px; height: 170px; margin-top: 46px; border-radius: 18px; background: var(--navy); padding: 10px 8px; box-shadow: 0 20px 30px -18px rgba(11,26,51,.6); display: flex; flex-direction: column; gap: 8px; }
.ph__bar { height: 6px; width: 40%; border-radius: 4px; background: rgba(255,255,255,.4); }
.ph__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph__grid b { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(150deg, #4F86C6, #2F65A6); }
.ph__grid b:nth-child(2n) { background: #D3E3F0; }
.ph__grid b:nth-child(3n) { background: rgba(255,255,255,.18); }
/* about cards: two scripts */
.mcard__art--script { display: flex; align-items: center; justify-content: center; gap: 22px; }
.mcard__art--script::after { content: ""; position: absolute; left: 18px; right: 18px; top: 96px; height: 1px; background: rgba(79,134,198,.35); }
.gl { position: relative; z-index: 1; font-weight: 300; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.gl--latin { font-size: 3.6rem; }
.gl--deva { font-size: 3.4rem; color: var(--glacier-d); }
/* about cards: sectors */
.mcard__art--sectors { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 16px; }
.chip { font-size: .78rem; font-weight: 500; color: var(--navy); background: #fff; border: 1px solid rgba(11,26,51,.08); padding: 7px 12px; border-radius: 99px; box-shadow: 0 8px 16px -12px rgba(11,26,51,.4); }
.chip--on { background: var(--navy); color: #fff; border-color: var(--navy); }
/* about cards: direct line */
.mcard__art--direct { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 14px 18px; }
.msg { display: flex; align-items: center; gap: 8px; }
.msg b { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--frost); }
.msg i { height: 26px; width: 62%; border-radius: 13px 13px 13px 4px; background: #fff; box-shadow: 0 8px 16px -12px rgba(11,26,51,.45); }
.msg--out { justify-content: flex-end; }
.msg--out b { background: var(--navy); }
.msg--out i { border-radius: 13px 13px 4px 13px; background: linear-gradient(120deg, #13294F, #4F86C6); }
.msg--short i { width: 38%; }
/* about cards: proportion */
.mcard__art--build { display: grid; place-items: center; }
.mcard__art--build svg { width: 74%; height: auto; }
.mcard__art--build .guide { fill: none; stroke: rgba(79,134,198,.4); stroke-width: 1; stroke-dasharray: 3 4; }
.mcard__art--build .solid { fill: none; stroke: var(--navy); stroke-width: 2; }
.mcard__art--build .dot { fill: var(--glacier); }

/* about cards: on-scroll choreography. The card rises and settles out of a slight tilt, then
   its number, art and copy arrive in sequence. --d is the card's stagger; --sp (-1..1) is the
   section's scroll position, which drifts each art's contents at a different depth.
   The end state is exactly the static design; .rm (reduced motion) skips all of it. */
.ribbon__list::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .1s; }
.ribbon__list.is-in::before { transform: none; }
.mcard[data-reveal] {
  transform: perspective(1000px) translateY(64px) rotateX(9deg) scale(.965); transform-origin: 50% 100%;
  transition: transform 1.25s var(--ease) var(--d, 0s), opacity 1s var(--ease) var(--d, 0s), box-shadow .5s var(--ease);
}
.mcard[data-reveal].is-in { transform: none; }
.mcard.is-settled { transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease); }
.mcard .mcard__year { clip-path: inset(0 0 100% 0); transform: translateY(45%); transition: clip-path .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0s) + .3s); }
.mcard .mcard__tag { opacity: 0; transform: translateX(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0s) + .45s); }
.mcard h3, .mcard p { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.mcard h3 { transition-delay: calc(var(--d, 0s) + .7s); }
.mcard p { transition-delay: calc(var(--d, 0s) + .8s); }
.mcard.is-in .mcard__year { clip-path: inset(-10% 0 -10% 0); transform: none; }
.mcard.is-in .mcard__tag, .mcard.is-in h3, .mcard.is-in p { opacity: 1; transform: none; }
/* art contents: each piece arrives in its own way, then drifts gently with the scroll */
.mcard__art > *, .mcard__art svg > * { transition: opacity .8s var(--ease), transform .9s var(--ease), stroke-dashoffset 1.4s var(--ease); }
.gl, .chip, .msg, .mcard__art--build svg, .mcard__art--script::after { translate: 0 calc(var(--sp, 0) * var(--dz, 6px)); }
/* the two scripts and their baseline drift together, so they always share the line */
.gl, .mcard__art--script::after { --dz: -6px; }
.chip:nth-child(odd) { --dz: -6px; } .chip:nth-child(even) { --dz: 6px; }
.msg--in { --dz: -5px; } .msg--out { --dz: 7px; }
.mcard__art--build svg { --dz: -6px; }
.gl { opacity: 0; transform: translateY(26px); }
.gl--latin { transition-delay: calc(var(--d, 0s) + .5s); }
.gl--deva { transition-delay: calc(var(--d, 0s) + .65s); }
.mcard__art--script::after { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) calc(var(--d, 0s) + .4s); }
.chip { opacity: 0; transform: translateY(10px) scale(.82); }
.chip:nth-child(1) { transition-delay: calc(var(--d, 0s) + .45s); } .chip:nth-child(2) { transition-delay: calc(var(--d, 0s) + .53s); }
.chip:nth-child(3) { transition-delay: calc(var(--d, 0s) + .61s); } .chip:nth-child(4) { transition-delay: calc(var(--d, 0s) + .69s); }
.chip:nth-child(5) { transition-delay: calc(var(--d, 0s) + .77s); } .chip:nth-child(6) { transition-delay: calc(var(--d, 0s) + .85s); }
.msg { opacity: 0; transform: translateX(-18px); }
.msg--out { transform: translateX(18px); }
.msg:nth-child(1) { transition-delay: calc(var(--d, 0s) + .45s); } .msg:nth-child(2) { transition-delay: calc(var(--d, 0s) + .75s); } .msg:nth-child(3) { transition-delay: calc(var(--d, 0s) + 1.05s); }
.mcard__art--build .guide { opacity: 0; transition-delay: calc(var(--d, 0s) + .4s); }
.mcard__art--build .solid { stroke-dasharray: 1; stroke-dashoffset: 1; transition-delay: calc(var(--d, 0s) + .55s); }
.mcard__art--build .dot { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; transition-delay: calc(var(--d, 0s) + 1.15s); }
.mcard.is-in .gl, .mcard.is-in .chip, .mcard.is-in .msg, .mcard.is-in .mcard__art--build .dot { opacity: 1; transform: none; }
.mcard.is-in .mcard__art--script::after { transform: none; }
.mcard.is-in .mcard__art--build .guide { opacity: 1; }
.mcard.is-in .mcard__art--build .solid { stroke-dashoffset: 0; }
.rm .ribbon__list::before, .no-js .ribbon__list::before,
.rm .mcard *, .no-js .mcard *, .rm .mcard *::after, .no-js .mcard *::after { transition: none !important; }
.rm .mcard .mcard__year, .no-js .mcard .mcard__year { clip-path: none; }
.rm .gl, .rm .chip, .rm .msg, .rm .mcard__art--build svg, .rm .mcard__art--script::after { translate: none; }

.ribbon__ctrl { display: flex; align-items: center; gap: 28px; margin-top: 4px; }
.ribbon__progress { flex: 1; height: 2px; background: rgba(11,26,51,.1); border-radius: 2px; overflow: hidden; }
.ribbon__progress span { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .2s linear; }
.ribbon__btns { display: flex; gap: 10px; }

/* ---------- section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { max-width: 18ch; }
.sec-head__note { color: var(--muted); max-width: 34ch; }

/* ---------- 3 STATS ---------- */
.stats { padding: var(--sec) 0; background: var(--white); }
.pillars { border-radius: var(--r-lg); overflow: hidden; background: #E9F0F7; border: 1px solid #E3ECF5; }
.pillars__stage { position: relative; height: clamp(300px, 30vw, 430px); }
.pillars__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.pillars__stage.is-live canvas { opacity: 1; }
.pillars__stage { background: linear-gradient(180deg, #FBFDFF 0%, #F1F6FB 55%, #E9F0F7 100%); }
.pillars__fallback { position: absolute; inset: 12% 0 0; display: none; grid-template-columns: repeat(4, 1fr); align-items: end; }
.stage-failed .pillars__fallback, .no-webgl .pillars__fallback { display: grid; }
.pillars__fallback span { justify-self: center; width: min(90px, 40%); height: calc(var(--h) * 100%); border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(211,227,240,.75) 60%, rgba(79,134,198,.45)); border: 1px solid #fff; box-shadow: inset 0 0 0 1px rgba(79,134,198,.12), 0 20px 30px -24px rgba(11,26,51,.6); }
.pillars__nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(11,26,51,.07); }
.pillars__nums > div { padding: 26px 16px 30px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.pillars__nums dd { order: -1; }
.pillars__nums > div + div { border-left: 1px solid rgba(11,26,51,.07); }
.pillars__nums dd { font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.4rem); line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.pillars__nums dt { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- 3 STATS: ring strip (Template 2's layout and motion; glacier → navy instead of turquoise) ---------- */
.stats-strip { padding: 0; }
/* midnight gradient from the site's own navies, lit softly with glacier blue from two corners */
.stats-band { position: relative; color: #fff; border-radius: 0;
  background: radial-gradient(70% 160% at 0% 0%, rgba(79, 134, 198, .34), rgba(79, 134, 198, 0) 60%),
    radial-gradient(60% 140% at 100% 100%, rgba(47, 101, 166, .32), rgba(47, 101, 166, 0) 62%),
    linear-gradient(115deg, var(--navy-2) 0%, #0F2142 48%, var(--navy) 100%);
  box-shadow: inset 0 1px 0 rgba(234, 242, 248, .08), inset 0 -1px 0 rgba(234, 242, 248, .05); }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: clamp(56px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 80px); }
.stat { display: flex; align-items: center; gap: 20px; padding: 0 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .tr { stroke: rgba(255, 255, 255, .2); }
.ring .pr { stroke: #fff; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 2s cubic-bezier(.2, .7, .2, 1); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.85rem; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat p { font-size: .92rem; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.stat p span { display: block; font-size: .78rem; color: rgba(255, 255, 255, .72); margin-top: 3px; }
@media (max-width: 1180px) {
  .stat { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 980px) {
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat { flex-direction: row; align-items: center; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .stats-band .container { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
  .stat { flex-direction: column; align-items: flex-start; border-left: 0; padding: 0; gap: 12px; }
  .ring { width: 96px; height: 96px; }
  .ring b { font-size: 1.55rem; }
}

/* ---------- 4 SERVICES (horizontal accordion) ---------- */
.services { padding: var(--sec) 0; background: linear-gradient(180deg, #F6F9FC, #EEF4F9); }
.acc { display: flex; gap: 12px; height: clamp(520px, 44vw, 600px); }
.acc__panel {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid rgba(11,26,51,.07);
  transition: flex-grow .8s var(--ease-io), background-color .6s, box-shadow .6s;
}
.acc__panel:not(.is-open) { background: linear-gradient(180deg, #13294F, #0B1A33); border-color: transparent; color: #fff; }
.acc__panel:not(.is-open):hover { background: linear-gradient(180deg, #19345F, #0E2041); }
.acc__panel.is-open { flex-grow: 7.2; box-shadow: 0 30px 60px -40px rgba(11,26,51,.35); }
.acc__head { position: absolute; inset: 0 auto 0 0; width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 24px; text-align: left; z-index: 2; }
.acc__panel.is-open .acc__head { width: 100%; height: auto; bottom: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 28px 34px 0; }
.acc__n { font-size: .8rem; font-weight: 500; letter-spacing: .12em; color: #8FB0D3; font-variant-numeric: tabular-nums; }
.acc__panel.is-open .acc__n { color: var(--glacier-d); }
.acc__t { font-size: 1.2rem; font-weight: 400; line-height: 1.25; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; letter-spacing: -.005em; }
.acc__panel.is-open .acc__t { writing-mode: horizontal-tb; transform: none; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.acc__plus { position: absolute; top: 26px; right: 22px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__panel.is-open .acc__plus { display: none; }
.acc__body { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.acc__panel.is-open .acc__body { opacity: 1; visibility: visible; transition: opacity .7s .35s var(--ease), visibility 0s; }
.acc__inner { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr); gap: 28px; padding: 84px 34px 34px; min-width: 760px; }
.acc__copy { display: flex; flex-direction: column; }
.acc__copy h3 { font-size: clamp(1.5rem, 1.1rem + .9vw, 2rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 14px; max-width: 15ch; }
.acc__copy p { color: var(--muted); margin-bottom: 22px; max-width: 40ch; }
.ticks { margin-top: auto; border-top: 1px solid var(--line-2); }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .95rem; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glacier); flex: none; }
.acc__visual { border-radius: 20px; background: linear-gradient(160deg, #EEF4FA, #D9E6F2); position: relative; overflow: hidden; display: grid; place-items: center; }
.acc__panel.is-open .acc__visual > * { animation: visIn .9s .45s var(--ease) both; }
/* floating 3D service objects (svc-stage.js): the canvas fills the open panel's visual;
   the flat mockups remain the fallback and hide only once the 3D is live */
.acc__visual .svc3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

@keyframes visIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* mockups */
.mk-cap { display: block; font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.mk-guide { position: relative; width: 88%; aspect-ratio: 1.5; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 50px -30px rgba(11,26,51,.45); border-radius: 6px; transform: translateY(-6%); }
.mk-guide__page { background: #fff; padding: 9% 9%; display: flex; flex-direction: column; }
.mk-guide__page--l { border-radius: 6px 0 0 6px; box-shadow: inset -12px 0 18px -14px rgba(11,26,51,.25); }
.mk-guide__page--r { border-radius: 0 6px 6px 0; box-shadow: inset 12px 0 18px -14px rgba(11,26,51,.2); }
.mk-h { font-size: 1.1rem; color: var(--navy); margin: 6px 0 auto; }
.mk-swatches { display: grid; gap: 6px; }
.mk-swatches span { background: var(--c); color: #fff; border-radius: 4px; padding: 8px 8px 6px; display: flex; justify-content: space-between; font-size: .55rem; letter-spacing: .04em; }
.mk-swatches span.lt { color: var(--navy); }
.mk-swatches b { font-weight: 500; } .mk-swatches i { opacity: .8; }
.mk-aa { font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; color: var(--navy); font-weight: 300; letter-spacing: -.04em; margin: auto 0 10px; }
.mk-weights { display: flex; gap: 10px; font-size: .62rem; color: var(--muted); }
.mk-weights b { font-weight: 400; }
.mk-card { position: absolute; right: -4%; bottom: -10%; width: 46%; aspect-ratio: 1.75; background: var(--navy); border-radius: 6px; padding: 7% 8%; color: #fff; display: flex; flex-direction: column; box-shadow: 0 24px 40px -20px rgba(11,26,51,.7); transform: rotate(-5deg); }
.mk-card__logo { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #9DBDE0; margin-bottom: auto; position: relative; }
.mk-card__logo::after { content: ""; position: absolute; inset: 5px; border-radius: 2px; background: #9DBDE0; }
.mk-card__name { font-size: .7rem; font-weight: 500; }
.mk-card__role { font-size: .55rem; color: #9DBDE0; }
.mk-card__line { position: absolute; right: 8%; bottom: 12%; width: 22%; height: 2px; background: var(--glacier); }

.mk-social { position: relative; width: 86%; height: 84%; }
.mk-post { position: absolute; left: 4%; top: 2%; width: 56%; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 30px 50px -28px rgba(11,26,51,.5); }
.mk-post__head { display: flex; gap: 8px; align-items: center; margin-bottom: 9px; }
.mk-post__head .av { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #4F86C6, #13294F); }
.mk-post__head .ln { display: grid; gap: 4px; }
.mk-post__head .ln b { width: 70px; height: 6px; border-radius: 3px; background: #CAD8E6; }
.mk-post__head .ln i { width: 44px; height: 5px; border-radius: 3px; background: #E3EBF3; }
.mk-post__img { position: relative; aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: radial-gradient(120% 90% at 80% 10%, #6E9FD6 0%, #2F65A6 38%, #13294F 72%, #0B1A33 100%); }
.mk-post__copy { position: absolute; left: 10%; bottom: 10%; color: #fff; font-size: clamp(.9rem, 1.4vw, 1.2rem); line-height: 1.1; letter-spacing: -.02em; }
.mk-post__orb { position: absolute; right: 12%; top: 14%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #D3E3F0 30%, rgba(211,227,240,.25) 70%); box-shadow: inset -8px -10px 20px rgba(11,26,51,.25); }
.mk-post__acts { display: flex; gap: 10px; padding: 9px 2px 2px; }
.mk-post__acts svg { width: 17px; height: 17px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; }
.mk-post__acts svg:first-child { fill: var(--glacier); stroke: var(--glacier); }
.mk-report { position: absolute; right: 0; bottom: 4%; width: 52%; background: rgba(255,255,255,.92); border-radius: 14px; padding: 14px; box-shadow: 0 30px 50px -28px rgba(11,26,51,.45); border: 1px solid #fff; }
.mk-report__chart { width: 100%; height: auto; margin: 10px 0 12px; }
.mk-report__chart .area { fill: rgba(79,134,198,.15); }
.mk-report__chart .line { fill: none; stroke: var(--glacier); stroke-width: 2; stroke-linejoin: round; }
.mk-report__bars { display: flex; gap: 6px; align-items: end; height: 40px; }
.mk-report__bars span { flex: 1; height: calc(var(--v) * 100%); border-radius: 3px; background: var(--frost); }
.mk-report__bars span:last-child { background: var(--navy); }

.mk-browser { width: 90%; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 36px 60px -34px rgba(11,26,51,.55); }
.mk-browser__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #F1F5F9; border-bottom: 1px solid #E4EBF2; }
.mk-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #CBD7E3; }
.mk-browser__bar .url { margin-left: 14px; flex: 1; max-width: 60%; font-size: .6rem; color: var(--soft); background: #fff; border-radius: 6px; padding: 3px 10px; }
.mk-browser__page { padding: 14px 18px 18px; }
.mk-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mk-nav .lg { width: 22px; height: 22px; border-radius: 6px; background: var(--navy); }
.mk-nav .lk { display: flex; gap: 10px; margin-left: auto; }
.mk-nav .lk b { width: 30px; height: 5px; border-radius: 3px; background: #D3DEEA; }
.mk-nav .bt { width: 52px; height: 18px; border-radius: 9px; background: var(--glacier); }
.mk-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.mk-hero__t { display: block; font-size: clamp(1rem, 1.6vw, 1.45rem); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); margin-bottom: 10px; }
.mk-hero__s { display: block; width: 80%; height: 5px; border-radius: 3px; background: #DCE5EF; margin-bottom: 14px; box-shadow: 0 10px 0 #E8EEF5; }
.mk-hero__b { display: inline-block; font-size: .6rem; font-weight: 500; color: #fff; background: var(--navy); border-radius: 99px; padding: 6px 12px; margin-top: 10px; }
.mk-hero__img { aspect-ratio: 1.15; border-radius: 10px; background: radial-gradient(80% 70% at 70% 30%, #9DC0E6, #4F86C6 45%, #13294F); position: relative; overflow: hidden; }
.mk-hero__img::after { content: ""; position: absolute; left: 18%; bottom: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.9), rgba(211,227,240,.35) 45%, transparent 70%); }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-cards span { height: 52px; border-radius: 9px; background: #F2F6FA; border: 1px solid #E6EDF4; position: relative; }
.mk-cards span::before { content: ""; position: absolute; left: 10px; top: 10px; width: 16px; height: 16px; border-radius: 5px; background: var(--frost); }
.mk-cards span::after { content: ""; position: absolute; left: 10px; bottom: 11px; width: 55%; height: 5px; border-radius: 3px; background: #CFDBE7; }

.mk-phones { position: relative; width: 80%; height: 92%; }
.mk-phone { position: absolute; right: 12%; top: 4%; height: 100%; aspect-ratio: .49; border-radius: 30px; background: #0B1A33; padding: 7px; box-shadow: 0 40px 60px -30px rgba(11,26,51,.6), inset 0 0 0 1.5px #2A3E60; }
.mk-phone--back { right: auto; left: 6%; top: 12%; height: 84%; transform: rotate(-7deg); opacity: .95; }
.mk-phone__scr { height: 100%; border-radius: 24px; background: linear-gradient(180deg, #F6F9FC, #E6EEF6); padding: 22px 12px 10px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; position: relative; }
.mk-app__hi { font-size: .58rem; color: var(--soft); }
.mk-app__big { font-size: .95rem; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.mk-app__card { border-radius: 12px; background: linear-gradient(140deg, #13294F, #2F65A6); padding: 12px 10px 8px; }
.mk-app__card svg { width: 100%; height: auto; fill: none; stroke: #D3E3F0; stroke-width: 2; stroke-linecap: round; }
.mk-app__list { display: grid; gap: 6px; }
.mk-app__list b { height: 26px; border-radius: 8px; background: #fff; border: 1px solid #E3EBF3; position: relative; }
.mk-app__list b::before { content: ""; position: absolute; left: 7px; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--frost); }
.mk-app__list b::after { content: ""; position: absolute; left: 26px; top: 11px; width: 45%; height: 4px; border-radius: 2px; background: #CFDBE7; }
.mk-app__tab { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 0 4px; border-top: 1px solid #E3EBF3; }
.mk-app__tab i { width: 14px; height: 14px; border-radius: 4px; background: #D3DEEA; }
.mk-app__tab i.on { background: var(--glacier); }
.mk-app__title { font-size: .95rem; color: var(--navy); letter-spacing: -.02em; }
.mk-app__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk-app__tiles b { aspect-ratio: .9; border-radius: 10px; background: linear-gradient(150deg, #9DC0E6, #4F86C6); }
.mk-app__tiles b:nth-child(2), .mk-app__tiles b:nth-child(3) { background: linear-gradient(150deg, #13294F, #2F65A6); }

/* ---------- 5 WORK ---------- */
.work { padding: var(--sec) 0; background: var(--white); }
.work__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.work__lede { color: var(--muted); margin: 18px 0 40px; max-width: 34ch; }
.work__focus { border-top: 1px solid var(--line); padding-top: 24px; min-height: 196px; }
.work__count { font-size: .8rem; letter-spacing: .12em; color: var(--soft); font-variant-numeric: tabular-nums; }
.work__count b { color: var(--navy); font-weight: 500; }
.work__focus h3 { font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; margin: 10px 0 18px; transition: opacity .35s, transform .45s var(--ease); }
.work__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; transition: opacity .35s, transform .45s var(--ease); }
.work__meta dt { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.work__meta dd { font-size: .95rem; color: var(--navy); }
.work__focus.is-swap h3, .work__focus.is-swap .work__meta { opacity: 0; transform: translateY(8px); }
.work__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.work__hint { margin-left: 12px; font-size: .8rem; color: var(--soft); }
.work__stage { position: relative; height: clamp(420px, 40vw, 560px); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, #FAFCFE 0%, #EEF4FA 58%, #DCE7F2 100%); touch-action: pan-y; cursor: grab; }
.work__stage.is-drag { cursor: grabbing; }
.work__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.work__stage.is-live canvas { opacity: 1; }
.work__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.work__stage.is-live .work__fallback { visibility: hidden; }
.work__fallback li { width: 30%; aspect-ratio: 1.45; border-radius: 16px; display: grid; place-items: center; padding: 18px; background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(234,242,248,.8)); border: 1px solid #fff; box-shadow: 0 30px 40px -30px rgba(11,26,51,.5); }
.work__fallback img { mix-blend-mode: multiply; width: 100%; height: auto; }

/* ---------- 6 WHY (comparison) ---------- */

/* ---------- 7 TESTIMONIALS ---------- */

/* ---------- 8 CTA (dark) ---------- */
.cta { background: var(--navy); color: #fff; padding: clamp(88px, 9vw, 132px) 0; position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 400px); gap: 48px; align-items: center; }
.cta h2 { max-width: 20ch; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); color: #fff; margin-bottom: 36px; }
.cta__mail { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(1.9rem, 1rem + 3.4vw, 4rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 400; color: #fff; padding-bottom: 10px; position: relative; max-width: 100%; }
.cta__mail span { overflow-wrap: anywhere; }
.cta__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--glacier), #9DBDE0); transform-origin: left; transition: transform .6s var(--ease); }
.cta__mail:hover::after { transform: scaleX(.3); }
.cta__mail svg { width: .6em; height: .6em; flex: none; fill: none; stroke: #9DBDE0; stroke-width: 1.6; transition: transform .5s var(--ease); }
.cta__mail:hover svg { transform: translate(4px, -4px); }
.cta__alt { margin-top: 26px; color: #A9BED6; }
.cta__alt a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.cta__alt a:hover { border-color: #fff; }
.cta__cube { position: relative; aspect-ratio: 1; }
.cta__cube canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.cta__cube.is-live canvas { opacity: 1; }
.cta__cube.stage-failed, .no-webgl .cta__cube { background: radial-gradient(closest-side, rgba(79,134,198,.35), transparent); }

/* ---------- 9 FOOTER (light) ---------- */

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__content { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .acc__inner { grid-template-columns: 1fr; min-width: 0; }
  .acc__visual { display: none; }
  .about__aside { grid-column: 9 / span 4; }
}
@media (max-width: 900px) {
  :root { --header: 66px; }
  .nav { position: fixed; inset: var(--header) 0 auto; margin: 0; background: rgba(246,249,252,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 12px var(--pad) 28px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; box-shadow: 0 20px 30px -20px rgba(11,26,51,.25); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 16px 0; font-size: 1.15rem; font-weight: 400; border-bottom: 1px solid var(--line-2); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .brand img { height: 42px; }

  .hero { min-height: 100svh; }
  .hero__content { grid-template-columns: 1fr; gap: 26px; }
  .hero__index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .hero__index a { padding: 12px 0; font-size: .875rem; grid-template-columns: 28px 1fr; }
  .hero__index a::after { display: none; }

  .about__head { display: block; }
  .statement { margin-bottom: 28px; }
  .about__aside { max-width: 52ch; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }

  .acc { flex-direction: column; height: auto; gap: 10px; }
  .acc__panel { flex: none; }
  .acc__panel .acc__head, .acc__panel.is-open .acc__head { position: relative; inset: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 22px 22px; width: 100%; height: auto; }
  .acc__t, .acc__panel.is-open .acc__t { writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: 1.1rem; font-weight: 400; text-transform: none; letter-spacing: -.005em; }
  .acc__panel.is-open .acc__t { color: var(--navy); }
  .acc__plus, .acc__panel.is-open .acc__plus { display: block; position: relative; top: auto; right: auto; margin-left: auto; flex: none; }
  .acc__panel.is-open .acc__plus { border-color: var(--line); }
  .acc__panel.is-open .acc__plus::after { transform: rotate(0); }
  .acc__body { position: relative; inset: auto; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .4s, visibility 0s .6s; }
  .acc__panel.is-open .acc__body { grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease), opacity .6s .15s, visibility 0s; }
  .acc__body > .acc__inner { overflow: hidden; min-height: 0; position: relative; inset: auto; padding: 0 22px; grid-template-columns: 1fr; gap: 22px; }
  .acc__panel.is-open .acc__inner { padding-bottom: 24px; }
  .acc__visual { display: grid; height: 330px; order: -1; }
  .acc__visual .mk-guide { width: min(84%, 420px); transform: translateY(-4%); }
  .acc__visual .mk-browser { width: min(88%, 470px); }
  .acc__visual .mk-social { width: min(88%, 440px); height: 86%; }
  .acc__visual .mk-phones { width: min(80%, 300px); }
  .acc__visual .mk-card { width: 40%; right: -2%; bottom: -6%; }
  .acc__copy h3 { max-width: none; }

  .work__grid { grid-template-columns: 1fr; gap: 28px; }
  .work__copy { display: contents; }
  .work__copy > .eyebrow, .work__copy > h2, .work__lede { order: 0; }
  .work__stage { order: 1; height: clamp(320px, 62vw, 460px); }
  .work__focus { order: 2; min-height: 0; }
  .work__ctrl { order: 3; margin-top: 0; }
  .work__lede { margin: 0; }


  .cta__grid { grid-template-columns: 1fr; }
  .cta__cube { position: absolute; width: 220px; right: -40px; top: 24px; opacity: .9; }
  .cta__copy { position: relative; z-index: 1; }

}
@media (max-width: 600px) {
  :root { --pad: 20px; }
  .hero__lede { display: none; }
  .hero__title { font-size: 2.35rem; max-width: 13ch; }
  .hero__actions .btn { height: 48px; padding: 0 20px; }
  .hero__index a { font-size: .82rem; line-height: 1.3; align-items: start; }
  .mcard { width: 82vw; padding: 22px 22px 26px; }
  .pillars__nums > div { padding: 18px 4px 22px; }
  .pillars__nums dt { font-size: .62rem; letter-spacing: .08em; }
  .pillars__nums dd { font-size: 1.75rem; }
  .pillars__stage { height: 250px; }
  .acc__visual { height: 250px; }
  .work__meta { grid-template-columns: 1fr; gap: 10px; }

  .cta__cube { width: 170px; right: -36px; top: 10px; }
  .cta__mail { font-size: 1.65rem; }
}

/* =========================================================
   Inner pages: About, Services
   ========================================================= */
.phero { padding: calc(var(--header) + clamp(64px, 8vw, 120px)) 0 clamp(64px, 7vw, 104px); background: linear-gradient(180deg, #F6F9FC 0%, var(--ice) 100%); position: relative; overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.phero__title { font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; color: var(--navy); max-width: 16ch; margin-bottom: 24px; }
.phero__lede { font-size: 1.125rem; color: var(--muted); max-width: 52ch; }
.facts { border-radius: var(--r-lg); padding: 10px 30px; background: linear-gradient(155deg, rgba(255,255,255,.95), rgba(255,255,255,.6)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 30px 60px -36px rgba(19,41,79,.4); }
.facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.facts dd { color: var(--navy); text-align: right; }

.founder { padding: var(--sec) 0; background: var(--white); }
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.founder__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 610 / 760; background: var(--frost); box-shadow: 0 40px 80px -50px rgba(11,26,51,.55); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder__tag { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 2px; padding: 16px 20px; border-radius: 18px; background: rgba(250,252,254,.9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.9); }
.founder__tag b { font-weight: 500; color: var(--navy); }
.founder__tag span { font-size: .875rem; color: var(--muted); }
.founder__copy h2 { margin-bottom: 26px; max-width: 18ch; }
.founder__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.075rem; max-width: 52ch; margin-bottom: 16px; }
.founder__points { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.founder__points li { display: grid; gap: 6px; }
.founder__points b { font-weight: 500; color: var(--navy); font-size: 1.05rem; }
.founder__points span { color: var(--muted); font-size: .95rem; }

.chapters { padding: var(--sec) 0; background: var(--ice); }
.chap { border-top: 1px solid rgba(11,26,51,.12); }
.chap__row { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 38px 0; border-bottom: 1px solid rgba(11,26,51,.12); }
.chap__year { font-size: clamp(2.6rem, 1.8rem + 2.2vw, 4.2rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.chap__body h3 { font-size: 1.35rem; font-weight: 400; margin-bottom: 8px; color: var(--navy); }
.chap__body p { color: var(--muted); max-width: 56ch; }
.chap__chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 99px; background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(255,255,255,.6)); border: 1px solid #fff; box-shadow: 0 14px 30px -20px rgba(19,41,79,.45); font-size: .9rem; color: var(--navy); white-space: nowrap; }
.ic { width: 34px; height: 34px; border-radius: 50%; background: var(--navy) center/18px no-repeat; flex: none; }
.ic--brand { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAF2F8' stroke-width='1.6'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9z'/%3E%3Cpath d='M12 12l8-4.5M12 12v9M12 12L4 7.5'/%3E%3C/svg%3E"); }
.ic--social { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAF2F8' stroke-width='1.6'%3E%3Cpath d='M3 17l5-5 4 3 8-8'/%3E%3Cpath d='M15 7h5v5'/%3E%3C/svg%3E"); }
.ic--web { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAF2F8' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='15' rx='2'/%3E%3Cpath d='M3 8h18'/%3E%3C/svg%3E"); }
.ic--app { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAF2F8' stroke-width='1.6'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }

.principles { padding: var(--sec) 0; background: var(--white); }
.principles__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.principles__intro h2 { max-width: 13ch; }
.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard { padding: 30px 30px 32px; border-radius: 24px; background: linear-gradient(160deg, #F6F9FC, #EAF2F8); border: 1px solid #E3ECF5; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s, opacity .9s var(--ease); }
.pcard:hover, .pcard[data-reveal].is-in:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(19,41,79,.5); background: linear-gradient(160deg, #fff, #EAF2F8); }
.pcard__n { display: block; font-size: 2.4rem; font-weight: 300; letter-spacing: -.04em; color: var(--glacier); line-height: 1; margin-bottom: 44px; font-variant-numeric: tabular-nums; }
.pcard h3 { font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.pcard p { color: var(--muted); }

.process { padding: var(--sec) 0; background: linear-gradient(180deg, #F3F7FB, var(--ice)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: 24px; min-height: 320px; background: linear-gradient(155deg, rgba(255,255,255,.95), rgba(255,255,255,.6)); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 24px 50px -34px rgba(19,41,79,.45); }
.step__n { font-size: .78rem; font-weight: 500; letter-spacing: .12em; color: var(--glacier-d); margin-bottom: 60px; }
.step h3 { font-size: 1.35rem; font-weight: 400; color: var(--navy); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.step__out { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--navy); }

.visit { padding: var(--sec) 0; background: var(--white); }
.visit__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: radial-gradient(120% 140% at 100% 0%, #DCE8F3 0%, #EEF4FA 45%, #F7FAFD 100%); border: 1px solid #E3ECF5; }
.visit__card h2 { max-width: 14ch; }
.visit__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.visit address, .visit p { color: var(--navy); line-height: 1.7; }
.visit a:hover { color: var(--glacier-d); }

/* services page */
.phero--svc .phero__title { max-width: 14ch; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.jump a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 99px; background: rgba(255,255,255,.8); border: 1px solid #fff; box-shadow: 0 12px 26px -20px rgba(19,41,79,.45); color: var(--navy); font-size: .925rem; transition: background .3s, color .3s, transform .3s var(--ease); }
.jump a span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); font-size: .72rem; font-weight: 500; color: var(--glacier-d); transition: background .3s, color .3s; }
.jump a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.jump a:hover span { background: rgba(255,255,255,.12); color: #fff; }

.svc { padding: clamp(80px, 9vw, 128px) 0; background: var(--white); scroll-margin-top: var(--header); }
.svc--alt { background: #F3F7FB; }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.svc__grid--flip .svc__visual { order: 2; }
.svc__visual { position: relative; aspect-ratio: 1.08; border-radius: 32px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #EEF4FA, #D6E3F0); border: 1px solid #E3ECF5; }
.svc--alt .svc__visual { background: linear-gradient(160deg, #FFFFFF, #E1EBF5); }
.svc__visual .mk-guide { width: 80%; }
.svc__visual .mk-browser { width: 86%; }
.svc__visual .mk-social { width: 82%; height: 74%; }
.svc__visual .mk-phones { width: 70%; height: 80%; }
.svc__n { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .14em; color: var(--glacier-d); margin-bottom: 16px; }
.svc__copy h2 { margin-bottom: 16px; max-width: 16ch; }
.svc__lede { font-size: 1.1rem; color: var(--muted); max-width: 44ch; margin-bottom: 34px; }
.deliv { border-top: 1px solid var(--line); }
.deliv > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.deliv dt { font-weight: 500; color: var(--navy); }
.deliv dd { color: var(--muted); font-size: .95rem; }

.faq { padding: var(--sec) 0; background: var(--white); border-top: 1px solid var(--line-2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 1.15rem; color: var(--navy); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--navy), var(--navy)) center/11px 1.4px no-repeat, linear-gradient(var(--navy), var(--navy)) center/1.4px 11px no-repeat; transition: transform .4s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding: 0 60px 26px 0; max-width: 60ch; }

@media (max-width: 1100px) {
  .chap__row { grid-template-columns: 160px minmax(0, 1fr); }
  .chap__chip { grid-column: 2; justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .phero__grid, .founder__grid, .principles__grid, .visit__card, .svc__grid, .faq__grid { grid-template-columns: 1fr; }
  .founder__photo { max-width: 460px; }
  .svc__grid--flip .svc__visual { order: 0; }
  .svc__visual { aspect-ratio: 1.25; }
}
@media (max-width: 600px) {
  .chap__row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .chap__chip { grid-column: 1; white-space: normal; }
  .pcards, .steps, .founder__points, .visit__cols { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step__n { margin-bottom: 28px; }
  .pcard__n { margin-bottom: 26px; }
  .deliv > div { grid-template-columns: 1fr; gap: 4px; }
  .svc__visual { aspect-ratio: .95; border-radius: 24px; }
  .svc__visual .mk-guide { width: 88%; }
  .svc__visual .mk-social { width: 90%; height: 78%; }
  .svc__visual .mk-phones { width: 84%; }
  .faq__list details p { padding-right: 0; }
  .jump a { width: 100%; }
}

/* =========================================================
   Round-4 review pass: light hero still life, tighter rhythm,
   brand mockup with real content
   ========================================================= */
:root { --sec: clamp(72px, 8vw, 120px); }

/* hero: a light studio, copy on the left, the still life on the right */
.hero {
  min-height: max(720px, 100svh); justify-content: center; color: var(--navy);
  background: linear-gradient(180deg, #F7FAFD 0%, #EEF4F9 46%, #E2ECF5 78%, #CCDCEB 100%);
}
.hero__fallback { inset: var(--header) 0 0 44%; height: auto; }
.ff { top: auto; }
.ff--cube { left: 12%; top: 46%; } .ff--ribbon { left: 30%; top: 72%; } .ff--panel { left: 34%; top: 24%; } .ff--slab { left: 72%; top: 44%; }
.hero__content { display: block; padding-top: calc(var(--header) + 24px); padding-bottom: 56px; }
.hero__copy { max-width: 540px; }
.hero__title { color: var(--navy); max-width: 13ch; font-size: clamp(2.6rem, 1.6rem + 2.3vw, 3.6rem); margin-bottom: 20px; }
.hero__lede { color: var(--muted); margin-bottom: 30px; max-width: 42ch; }
.hero .eyebrow { color: var(--glacier-d); }
.hero__index { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 0; }
.hero__index a { grid-template-columns: 28px 1fr; padding: 13px 0; color: var(--navy); border-bottom: 1px solid rgba(11,26,51,.12); font-size: .9rem; line-height: 1.3; }
.hero__index li:nth-child(-n+2) a { border-top: 1px solid rgba(11,26,51,.12); }
.hero__index a::after { display: none; }
.hero__index a::before { background: var(--navy); }
.hi__n { color: var(--glacier-d); }
.hero__index a:hover, .hero__index a.is-hot, .hero__index a:focus-visible { color: var(--glacier-d); padding-left: 4px; }

/* rhythm: trim the bands between sections */
.about { padding-bottom: calc(var(--sec) * .45); }
.stats { padding-bottom: calc(var(--sec) * .55); }
.services { padding-bottom: calc(var(--sec) * .6); }
.ribbon { margin-top: clamp(44px, 5vw, 72px); }

/* brand mockup: a guidelines spread with the stationery beneath it */
.mk-brand { width: 90%; display: grid; gap: 7%; justify-items: center; }
.mk-brand .mk-guide { width: 100%; transform: none; aspect-ratio: 1.6; }
.mk-h { margin: 6px 0 12px; }
.mk-swatches { margin-top: auto; }
.mk-aa { margin: auto 0 4px; font-size: clamp(2.6rem, 4.4vw, 4rem); }
.mk-face { font-size: .7rem; color: var(--navy); margin-bottom: 8px; }
.mk-bcards { position: relative; width: 82%; aspect-ratio: 2.3; }
.mk-bc { position: absolute; width: 58%; aspect-ratio: 1.75; border-radius: 6px; box-shadow: 0 22px 36px -20px rgba(11,26,51,.6); }
.mk-bc--back { left: 0; top: 0; background: linear-gradient(140deg, #13294F, #0B1A33); display: grid; place-items: center; transform: rotate(-4deg); }
.mk-bc--back span { color: #BFD4EA; font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.mk-bc--front { right: 0; bottom: 0; background: #fff; padding: 6% 7%; display: flex; flex-direction: column; transform: rotate(3deg); border: 1px solid #E6EDF4; }
.mk-bc--front b { font-size: .78rem; font-weight: 500; color: var(--navy); }
.mk-bc--front i { font-size: .6rem; color: var(--soft); }
.mk-bc__rule { width: 22%; height: 2px; background: var(--glacier); margin: auto 0 6px; }
.mk-bc--front small { font-size: .55rem; color: var(--muted); line-height: 1.5; }
.svc__visual .mk-brand { width: 76%; }

@media (max-width: 900px) {
  .hero { justify-content: flex-end; min-height: 100svh; }
  .hero__content { padding-top: min(54vh, 460px); padding-bottom: 40px; }
  .hero__fallback { inset: var(--header) 0 auto 0; height: min(52vh, 440px); }
  .hero__index { margin-top: 30px; }
  .acc__visual .mk-brand { width: min(86%, 420px); }
  .acc__visual { height: 380px; }
}
@media (max-width: 600px) {
  .hero__content { padding-top: min(44vh, 380px); }
  .hero__index { column-gap: 16px; }
  .hero__index a { font-size: .8rem; }
  .acc__visual { height: 330px; }
  .svc__visual .mk-brand { width: 86%; }
}

/* ---------- IN THE STUDIO: the drawing desk (Template 2's section; Template 1's navy and glacier) ---------- */
.desk { position: relative; background: var(--navy); color: #D3E3F0; overflow: hidden; }
.desk-stage { position: relative; height: clamp(600px, 44vw, 720px); }
.desk-canvas { position: absolute; inset: 0; }
.desk-canvas canvas { width: 100%; height: 100%; display: block; }
.desk-copy { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.desk-copy .container > div { max-width: 400px; pointer-events: auto; }
.desk .eyebrow { color: #BFD4EA; }
.desk h2 { color: #fff; margin: 18px 0 18px; }
.desk p { color: #A9BCD3; font-size: 1rem; }
.desk-steps { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.desk-steps li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: rgba(211, 227, 240, .5); transition: color .5s var(--ease); }
.desk-steps li span:last-child { font-size: .78rem; }
.desk-steps li.is-on { color: #fff; }
.desk-steps li.is-done { color: rgba(211, 227, 240, .85); }
.desk-steps li.is-on span:first-child::before, .desk-steps li.is-done span:first-child::before { background: var(--glacier); }
.desk-steps li span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); margin-right: 12px; vertical-align: middle; transition: background .4s var(--ease); }
.desk-ctl { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.desk-replay { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .86rem; font-weight: 500; transition: background .3s var(--ease), border-color .3s var(--ease); }
.desk-replay:hover { background: rgba(79, 134, 198, .2); border-color: var(--glacier); }
.desk-replay svg { width: 15px; height: 15px; transition: transform .6s var(--ease); }
.desk-replay:hover svg { transform: rotate(-200deg); }
.desk-prog { flex: 1; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.desk-prog i { display: block; height: 100%; background: var(--glacier); transform: scaleX(0); transform-origin: left; }
@media (max-width: 1100px) {
  .desk { padding-top: 0; }
  .desk-stage { height: auto; display: flex; flex-direction: column; }
  .desk-copy { position: relative; inset: auto; padding: 88px 0 0; order: -1; }
  .desk-copy .container > div { max-width: 600px; }
  .desk-canvas { position: relative; inset: auto; aspect-ratio: 1.3; }
  .desk-steps { grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
  .desk-steps li { flex-direction: column; gap: 2px; }
}
@media (max-width: 640px) {
  .desk-copy { padding-top: 72px; }
  .desk-steps { margin-top: 24px; }
  .desk-steps li span:first-child::before { margin-right: 8px; }
  .desk-canvas { aspect-ratio: 1.18; }
}

/* ---------- 5 PORTFOLIO: type tabs, the open button and the website / film viewer ---------- */
.work__types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.work__type { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: .88rem; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.work__type span { font-size: .72rem; letter-spacing: .08em; color: var(--soft); font-variant-numeric: tabular-nums; transition: color .3s var(--ease); }
.work__type:hover { border-color: var(--glacier); }
.work__type.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.work__type.is-on span { color: #BFD4EA; }
.work__open { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; height: 42px; padding: 0 18px 0 14px; border-radius: 99px; border: 0; background: var(--navy); color: #fff; font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
.work__open[hidden] { display: none; }
.work__open:hover { background: var(--navy-2); transform: translateY(-1px); }
.work__open svg { width: 16px; height: 16px; fill: currentColor; }
.work__focus.is-swap .work__open { opacity: 0; }
.work__stage.is-openable { cursor: pointer; }
/* no-WebGL view: five cards, the site and the film shown as what they are */
.work__fallback { flex-wrap: wrap; align-content: center; }
.work__fallback li { width: 30%; }
.work__fallback li[data-type="web"], .work__fallback li[data-type="film"] { padding: 0; overflow: hidden; cursor: pointer; position: relative; }
.work__fallback li[data-type="web"] img, .work__fallback li[data-type="film"] img { mix-blend-mode: normal; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.work__fallback li[data-type="film"] img { object-position: 50% 30%; }
.work__fallback li[data-type="film"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l8 5-8 5z' fill='%230B1A33'/%3E%3C/svg%3E") 55% 50%/22px no-repeat; }
/* the viewer */
html.lb-open { overflow: hidden; }
.work-lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.work-lb[hidden] { display: none; }
.work-lb__scrim { position: absolute; inset: 0; background: rgba(11, 26, 51, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .32s var(--ease); }
.work-lb__panel { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .32s var(--ease), transform .42s var(--ease); }
.work-lb[data-kind="film"] .work-lb__panel { width: auto; }
.work-lb.is-open .work-lb__scrim, .work-lb.is-open .work-lb__panel { opacity: 1; transform: none; }
.work-lb__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line-2); }
.work-lb__head h3 { font-size: 1.05rem; font-weight: 500; color: var(--navy); }
.work-lb__body { min-height: 0; display: flex; justify-content: center; background: #EEF3F8; }
.work-lb__body video { display: block; height: min(78vh, 760px); max-width: 100%; aspect-ratio: 9 / 16; background: #000; }
.work-lb__browser { width: 100%; display: flex; flex-direction: column; min-height: 0; }
.work-lb__bar { display: flex; align-items: center; gap: 7px; padding: 10px 16px; background: #EEF2F7; border-bottom: 1px solid var(--line-2); }
.work-lb__bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFD8E3; }
.work-lb__bar span { margin: 0 auto; padding: 4px 40px; border-radius: 99px; background: #fff; font-size: .78rem; color: var(--muted); }
.work-lb__page { overflow-y: auto; max-height: calc(100vh - 160px); overscroll-behavior: contain; }
.work-lb__page img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  .work-lb { padding: 10px; }
  .work-lb__body video { height: auto; width: min(100%, 360px); }
  .work-lb__page { max-height: calc(100vh - 130px); }
}

/* ---------- 6 WHY GONDAN: the project journey ----------
   Four stops on one line, each a reason clients choose us, placed where it happens in a project.
   The line draws in, the stops light up one after another, and a glacier dot keeps travelling the
   line. Hovering a stop lifts it. Two columns on tablets, a vertical line on phones. */
.why { padding: var(--sec) 0; background: var(--white); border-top: 1px solid var(--line-2); }
.why__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(56px, 7vw, 96px); }
.why__head h2 { max-width: 16ch; }
.why__note { color: var(--muted); max-width: 34ch; }
.journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); --j: 0; --when-h: clamp(2.2rem, 1.6rem + 1.4vw, 3rem); --line-y: calc(var(--when-h) + 21px); }
/* the line under the markers: a hairline, the drawn glacier line over it, and the travelling dot */
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: var(--line-y); height: 1px; background: var(--line); }
.journey::after { content: ""; position: absolute; left: 0; right: 0; top: var(--line-y); height: 2px; margin-top: -.5px; background: linear-gradient(90deg, var(--glacier), var(--navy)); transform: scaleX(var(--j)); transform-origin: left; transition: transform 1.6s var(--ease); }
.journey.is-in { --j: 1; }
.journey__run { position: absolute; top: var(--line-y); left: 0; width: 8px; height: 8px; margin: -3.5px 0 0 -4px; border-radius: 50%; background: var(--glacier); box-shadow: 0 0 0 6px rgba(79, 134, 198, .16), 0 0 18px rgba(79, 134, 198, .6); opacity: 0; z-index: 2; pointer-events: none; }
.journey.is-live .journey__run { opacity: 1; animation: jrun 9s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes jrun { 0% { transform: translateX(0); } 100% { transform: translateX(var(--run-w, 1000px)); } }
.journey__stop { position: relative; display: flex; flex-direction: column; }
.journey__when { display: block; height: var(--when-h); font-size: clamp(1.6rem, 1.15rem + 1.1vw, 2.3rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--frost); white-space: nowrap; }
.journey__mark { position: relative; z-index: 3; display: block; width: 14px; height: 14px; margin: 14px 0 34px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--frost); }
.journey__stop h3 { font-size: 1.25rem; font-weight: 400; color: var(--navy); letter-spacing: -.01em; margin-bottom: 10px; }
.journey__stop p { color: var(--muted); font-size: .97rem; line-height: 1.6; max-width: 30ch; }
.journey__stop p { margin-bottom: 22px; }
.journey__proof { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; padding: 9px 14px; border-radius: 99px; background: var(--ice); color: var(--navy); font-size: .82rem; font-weight: 500; }
.journey__proof::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
/* the stops arrive one after another as the line reaches them */
.journey__stop > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .9s var(--ease), color .6s var(--ease), background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i, 0) * .32s + .25s); }
.journey__stop .journey__mark { transform: scale(.4); transition-delay: calc(var(--i, 0) * .32s + .15s); }
.journey.is-in .journey__stop > * { opacity: 1; transform: none; }
.journey.is-in .journey__when { color: var(--navy); }
.journey.is-in .journey__mark { border-color: var(--glacier); }
/* once arrived: hover lifts a stop, fills its marker and turns its time glacier */
.journey.is-settled .journey__stop > * { transition-delay: 0s; }
.journey.is-settled .journey__stop:hover .journey__when { color: var(--glacier-d); }
.journey.is-settled .journey__stop:hover .journey__mark { background: var(--glacier); border-color: var(--glacier); box-shadow: 0 0 0 6px rgba(79, 134, 198, .16); transform: scale(1.15); }
.journey.is-settled .journey__stop:hover h3 { transform: translateY(-3px); }
.rm .journey__stop > *, .no-js .journey__stop > * { opacity: 1; transform: none; transition: none; }
.rm .journey, .no-js .journey { --j: 1; }
.rm .journey__when, .no-js .journey__when { color: var(--navy); }
@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
  .journey::before, .journey::after, .journey__run { display: none; }
  .journey__mark { margin: 12px 0 22px; }
}
@media (max-width: 640px) {
  .why__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .journey::before { display: block; left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .journey::after { display: block; left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; margin: 0 0 0 -.5px; transform: scaleY(var(--j)); transform-origin: top; }
  .journey__stop { padding-bottom: 44px; }
  .journey__stop:last-child { padding-bottom: 0; }
  .journey__when { height: auto; font-size: 1.7rem; }
  .journey__mark { position: absolute; left: -34px; top: 6px; margin: 0; }
  .journey__stop h3 { margin-top: 14px; }
}

/* ---------- 7 TESTIMONIALS: Template 2's stacked cards, in Template 1's colours ---------- */
.quotes { padding: var(--sec) 0; background: var(--ice); }
.q-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.q-lead { margin-top: 18px; font-size: 1.08rem; color: var(--muted); max-width: 34em; }
.q-ctl { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.q-ctl button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(11, 26, 51, .2); background: #fff; display: grid; place-items: center; color: var(--navy); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.q-ctl button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.q-ctl svg { width: 18px; height: 18px; }
.q-count { margin-left: 8px; font-size: .9rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.q-count b { color: var(--navy); font-weight: 500; }
/* the cards share one grid cell, so the stack is always as tall as its longest testimonial (no fixed height to overflow) */
.q-stack { position: relative; display: grid; touch-action: pan-y; }
.qcard { position: relative; grid-area: 1 / 1; min-width: 0; margin-bottom: 36px; background: #fff; border-radius: 24px; padding: clamp(28px, 3.6vw, 44px); box-shadow: 0 2px 6px rgba(11, 26, 51, .06), 0 18px 40px -12px rgba(11, 26, 51, .2); display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .75s var(--ease), opacity .6s var(--ease); transform-origin: 50% 100%; will-change: transform; }
.qcard[data-pos="0"] { z-index: 3; transform: none; }
.qcard[data-pos="1"] { z-index: 2; transform: translateY(18px) scale(.955); }
.qcard[data-pos="2"] { z-index: 1; transform: translateY(36px) scale(.91); }
.qcard[data-pos="1"] > *, .qcard[data-pos="2"] > * { opacity: .0; transition: opacity .4s var(--ease); }
.qcard > * { transition: opacity .5s var(--ease) .15s; }
.qcard.is-leaving { transform: translateX(-112%) rotate(-7deg) !important; opacity: 0; z-index: 4; }
.qcard.is-arriving { transform: translateX(-112%) rotate(-7deg) !important; opacity: 0; z-index: 4; transition: none; }
.qcard:nth-child(2) { background: #F7FAFD; }
.qcard:nth-child(3) { background: #fff; }
.q-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--ice); display: grid; place-items: center; color: var(--glacier-d); }
.q-icon svg { width: 20px; height: 20px; }
.qcard blockquote { margin: 26px 0 28px; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--navy); letter-spacing: -.012em; font-weight: 400; }
.q-who { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.q-av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(140deg, var(--ice), var(--frost)); display: grid; place-items: center; color: var(--glacier-d); flex: none; }
.q-av svg { width: 22px; height: 22px; }
.q-who b { display: block; color: var(--navy); font-weight: 500; font-size: .98rem; }
.q-who span { font-size: .85rem; color: var(--soft); }
.q-slot { margin-left: auto; height: 34px; padding: 0 14px; border: 1px dashed rgba(11, 26, 51, .2); border-radius: 10px; display: grid; place-items: center; font-size: .72rem; color: var(--soft); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 1100px) { .q-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .q-slot { display: none; } .qcard blockquote { margin: 22px 0 24px; font-size: 1.08rem; line-height: 1.5; } }

/* testimonials: drag and swipe discoverability */
.q-stack { cursor: grab; user-select: none; -webkit-user-select: none; margin-bottom: 46px; }
.q-stack.is-dragging { cursor: grabbing; }
.q-stack.is-dragging .qcard[data-pos="1"] > * { opacity: var(--peek, 0); transition: none; }
.q-stack:focus-visible { outline: 2px solid var(--glacier); outline-offset: 8px; border-radius: 26px; }
/* the one-time nudge: the front card slides aside and back, so the cards behind are noticed */
.q-stack.is-nudge .qcard[data-pos="0"] { animation: qnudge 1.8s cubic-bezier(.45, 0, .2, 1); }
@keyframes qnudge { 0%, 100% { transform: none; } 35% { transform: translateX(-46px) rotate(-1.6deg); } 60% { transform: translateX(-30px) rotate(-1deg); } }
/* the hint under the stack: one dot per testimonial and a small label */
.q-hint { position: absolute; left: 0; right: 0; bottom: -40px; display: flex; align-items: center; justify-content: center; gap: 16px; pointer-events: none; }
.q-dots { display: flex; gap: 6px; }
.q-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(11, 26, 51, .18); transition: width .45s var(--ease), background .45s var(--ease); }
.q-dots i.is-on { width: 22px; background: var(--navy); }
.q-hint__t { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--soft); letter-spacing: .02em; }
.q-hint__t svg { width: 14px; height: 14px; animation: qhint 2.4s ease-in-out infinite; }
@keyframes qhint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
.rm .q-hint__t svg { animation: none; }


/* ---------- FOOTER (dark): the wordmark sits behind the content as a watermark ---------- */
.footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 55%); color: #C9D6E6; padding: clamp(72px, 8vw, 112px) 0 0; isolation: isolate; }
.footer::before { content: ""; position: absolute; left: 50%; top: -40%; width: min(1200px, 120vw); height: 120%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(79, 134, 198, .16), rgba(79, 134, 198, 0)); z-index: -1; pointer-events: none; }
.footer__word { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: -1; margin: 0; font-size: clamp(4rem, 17vw, 17rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: rgba(143, 178, 218, .06); -webkit-text-stroke: 1px rgba(143, 178, 218, .12); user-select: none; pointer-events: none; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1.3fr .8fr 1.3fr; gap: 48px; padding-bottom: clamp(64px, 7vw, 96px); }
.footer__brand img { height: 64px; width: auto; margin-bottom: 22px; }
.footer__tag { color: #fff; font-size: 1.05rem; letter-spacing: .01em; margin-bottom: 12px; }
.footer__about { color: #8FA3BD; font-size: .92rem; line-height: 1.6; max-width: 32ch; }
.footer__h { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #8FB2DA; margin-bottom: 20px; }
.footer ul { display: grid; gap: 12px; }
.footer li a { position: relative; color: #E3ECF5; font-size: .95rem; transition: color .3s; }
.footer li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--glacier); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.footer li a:hover { color: #fff; }
.footer li a:hover::after { transform: scaleX(1); }
.footer address { margin-top: 18px; color: #8FA3BD; font-size: .9rem; line-height: 1.6; max-width: 30ch; font-style: normal; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8FA3BD; }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; color: #E3ECF5; transition: color .3s; }
.footer__top-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.footer__top-link:hover { color: #fff; }
.footer__top-link:hover svg { transform: translateY(-3px); }
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand img { height: 54px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* while the hero's 3D is loading: a soft light pool where the forms will land, breathing gently, so the
   space never reads as empty; it hands over as the canvas fades in. Same light as the painted backdrop. */
.hero__stage::before { content: ""; position: absolute; left: 50%; right: 3%; top: calc(var(--header) + 4%); bottom: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.7) 0%, rgba(79,134,198,.11) 55%, rgba(79,134,198,0) 100%); opacity: 1; transition: opacity .6s var(--ease); animation: hero-wait 1.8s ease-in-out infinite alternate; pointer-events: none; }
.hero__stage.is-live::before, .no-webgl .hero__stage::before, .hero__stage.stage-failed::before { opacity: 0; animation: none; }
@keyframes hero-wait { from { transform: scale(.94); } to { transform: scale(1.03); } }
.rm .hero__stage::before { animation: none; }
@media (max-width: 899px) { .hero__stage::before { left: 4%; right: 4%; top: calc(var(--header) + 2%); bottom: auto; height: min(48vh, 400px); } }

/* social media icons (includes/partials/social.php): footer and contact page */
.social, .footer .social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: color .3s, background .3s, box-shadow .3s, transform .3s var(--ease); }
.social a::after { display: none; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social a:hover { transform: translateY(-2px); }
.social a:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; }
.social--footer a { color: #E3ECF5; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.social--footer a:hover { color: #fff; background: rgba(79, 134, 198, .22); box-shadow: inset 0 0 0 1px rgba(143, 178, 218, .5); }
.footer__follow { margin: 26px 0 14px; }
.social--contact a { color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.social--contact a:hover { color: #fff; background: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
