
:root {
  --bg: #171717;
  --bg-2: #1f1f1f;
  --fg: #f0f0f8;
  --fg-70: rgba(240, 240, 248, .7);
  --fg-55: rgba(240, 240, 248, .55);
  --fg-35: rgba(240, 240, 248, .35);
  --line: rgba(255, 255, 255, .1);
  --accent: #EA542E;
  --teal: #149594;
  --maroon: #8A1739;
  --light-bg: #e4e4e7;
  --light-fg: #1c1c1c;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-weight: 400;
  overflow-x: clip;
  transition: background-color .6s ease, color .6s ease;
}
body.is-light { background: var(--light-bg); color: var(--light-fg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--accent); }

#bg { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.intro-flash { position: fixed; inset: 0; z-index: 200; background: #f4f4f6; pointer-events: none; transition: opacity 1s cubic-bezier(.23,1,.32,1); }
body:not(.is-intro) .intro-flash { opacity: 0; }
body.is-intro .site-header, body.is-intro .scroll-meter, body.is-intro .badge, body.is-intro .cookie { opacity: 0; }
.site-header, .scroll-meter, .badge { transition: opacity .9s ease .2s, transform .3s; }
.hero-title, .hero-sub, .stats-row { transition: opacity 1s ease, transform 1s cubic-bezier(.23,1,.32,1); }
body.is-intro .hero-sub, body.is-intro .stats-row { opacity: 0; transform: translateY(24px); }

.eyebrow {
  font-size: 12px; text-transform: uppercase;
  color: var(--fg-55); text-align: center; margin-bottom: 18px;
}
body.is-light .eyebrow { color: rgba(0,0,0,.45); }
.eyebrow.left { text-align: start; }
.muted { color: var(--fg-55); }

.big, .mid, .hero-title {
  font-family: var(--display); font-weight: 700; line-height: 1;
}
.big, .hero-title { font-size: clamp(44px, 6.8vw, 88px); }
.mid { font-size: clamp(36px, 5.2vw, 67px); line-height: 1.05; }

/* ---------- HEADER ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px 16px 0; }
.header-bar {
  position: relative; display: flex; align-items: center; gap: 20px;
  height: 52px; padding: 0 12px 0 20px;
  background: rgba(19,19,19,.7);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: .5px solid var(--line); border-radius: 32px;
  transition: background .6s;
}
body.is-light .header-bar { background: rgba(80,80,80,.85); }
.logo { display: flex; flex-direction: column; gap: 4px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--fg); }
.logo b { color: var(--accent); font-weight: 700; }
.logo-dots { display: flex; gap: 7px; }
.logo-dots em { width: 4px; height: 4px; border-radius: 50%; background: var(--fg); }
.logo-dots em:last-child { background: var(--accent); }
/* centred on the page itself, not between the logo and the buttons, whose widths differ */
.main-nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 38px; white-space: nowrap; }
.sound-btn { margin-inline-start: auto; }
/* as the screen narrows, the buttons on the right get compact so the centred menu never touches them */
@media (max-width: 1500px) { .sound-btn span { display: none; } }
@media (max-width: 1400px) {
  .main-nav { gap: 24px; }
  .msg-btn { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .msg-btn > span { display: none; }
}
@media (max-width: 1160px) {
  .main-nav { gap: 18px; }
}
@media (max-width: 1100px) {
  .main-nav, .mega { display: none; }
  .burger { display: flex; }
}
.main-nav a, .main-nav .nav-drop {
  font-size: 12px; text-transform: uppercase;
  color: var(--fg-55); transition: color .2s; white-space: nowrap;
}
.main-nav a:hover, .main-nav .nav-drop:hover, .main-nav .nav-drop[aria-expanded="true"], .main-nav .is-current { color: var(--fg); }
.main-nav small { font-size: 7px; }
.main-nav sup { font-size: 6.5px; color: var(--accent); }
.icon-btn { color: var(--fg-70); display: grid; place-items: center; width: 32px; height: 32px; }
.msg-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--fg);
  padding: 9px 14px; border-radius: 20px;
  border: .5px solid var(--line); background: rgba(255,255,255,.04);
  transition: background .2s;
}
.msg-btn svg { color: #25d366; flex: none; }
.msg-btn:hover { background: rgba(255,255,255,.1); }
.burger { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 8px; }
.burger span { display: block; height: 1.5px; background: var(--fg); }

/* ---------- SIDE UI ---------- */
.scroll-meter {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; align-items: center; gap: 8px; mix-blend-mode: difference;
  font-size: 10px; color: #fff;
}
.scroll-line { width: 1px; height: 50px; background: rgba(255,255,255,.25); position: relative; }
.scroll-line i { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: #fff; }
.badge {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 15px;
  padding: 12px 21px 12px 12px; border-radius: 24px;
  background: rgba(40,40,40,.92); border: .5px solid var(--line);
  font-size: 15px; text-transform: uppercase; color: var(--fg);
  transition: transform .3s;
}
.badge:hover { transform: translateY(-3px); }
.badge-logo { width: 48px; height: 48px; border-radius: 13px; background: #fff; color: #111; display: grid; place-items: center; font: 700 15px var(--display); }
.badge b { display: block; font-weight: 600; }
.badge small { color: var(--fg-55); font-size: 13px; }

/* ---------- HERO ---------- */
.hero { overflow-x: clip; min-height: 100vh; padding: 90px 16px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.globe-wrap { position: relative; width: min(720px, 100vw); aspect-ratio: 1; margin-top: -40px; }
#globe { width: 100%; height: 100%; display: block; }
.globe-tag {
  position: absolute; right: 8%; top: 16%;
  font-size: 10px; text-transform: uppercase; color: var(--fg-55);
  display: flex; align-items: center; gap: 6px;
}
.globe-tag {
  padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(20,20,20,.75); border: .5px solid var(--line);
  animation: badge-in 2.6s 2s both;
}
.pulse { position: relative; width: 8px; height: 8px; }
.pulse i, .pulse::after { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ""; animation: pulse-ring 1.8s ease-out infinite; }
@keyframes pulse-ring { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
@keyframes badge-in {
  0% { opacity: 0; transform: scale(.85); clip-path: inset(0 calc(100% - 26px) 0 0 round 999px); }
  28% { opacity: 1; transform: scale(1); clip-path: inset(0 calc(100% - 26px) 0 0 round 999px); }
  60%, 100% { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0 round 999px); }
}
.hero-title { margin-top: -260px; position: relative; z-index: 2; }
.hero-sub { max-width: 560px; margin: 28px auto 0; font-size: 16px; line-height: 1.7; color: var(--fg-70); }

.stats-row { position: relative; display: flex; flex-direction: column; align-items: center; gap: 44px; width: 100vw; margin-top: 70px; }
.stats {
  flex: none; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; border: .5px solid var(--line); border-radius: 10px;
  background: rgba(20,20,20,.7); position: relative; z-index: 1; font-size: 12px; text-transform: uppercase;
}
.stats i { color: var(--fg-35); font-style: normal; }
.star { color: #f5b400; display: inline-block; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .7; filter: drop-shadow(0 0 6px rgba(245,185,10,.85)); } }
.spark svg { display: block; overflow: visible; }
.spark path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spark-line { stroke: rgba(240,240,248,.25); stroke-width: 1; }
.spark-head { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 14 86; animation: spark 2.6s linear infinite; filter: drop-shadow(0 0 3px var(--accent)); }
@keyframes spark { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.ti { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 3px; background: #28a745; color: #fff; font-size: 10px; margin: 0 2px; }
.logo-marquee { order: 2; width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee .track { display: flex; gap: 88px; width: max-content; padding-right: 88px; animation: slide 46s linear infinite; }
.logo-marquee span { font: 700 14px var(--display); color: var(--fg-35); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- REVIEWS ---------- */
.reviews { position: relative; overflow: hidden; height: 440px; }
.orbit { position: absolute; inset: 0; }
.orbit .review {
  position: absolute; left: 50%; top: 40px; margin-left: -170px;
  transform-origin: 50% 50%; will-change: transform, opacity; opacity: 0;
  width: 340px; min-height: 230px; flex: none; padding: 24px; border-radius: 18px;
  background: #1d1d1d; border: .5px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.review::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1.5px; background: var(--hl, var(--accent)); opacity: .9; }
.review:hover { border-color: rgba(255,255,255,.2); background: #222; }
.hl-news { --hl: var(--teal); }
.hl-event { --hl: var(--accent); }
.hl-program { --hl: var(--maroon); }
.hl-place { --hl: #f0f0f8; }
.review-src { font-size: 11px; text-transform: uppercase; color: var(--fg-55); display: flex; align-items: center; gap: 8px; }
.review-src i { width: 6px; height: 6px; border-radius: 50%; background: var(--hl, var(--accent)); }
.hl-title { font: 700 22px / 1.15 var(--display); }
.hl-text { font-size: 14px; line-height: 1.65; color: var(--fg-70); }
.review .more { margin-top: auto; font-size: 12px; text-transform: uppercase; color: var(--hl, var(--accent)); transition: transform .3s; }
.review:hover .more { transform: translateX(6px); }
.hl-place .more { color: var(--fg); }

/* ---------- MELT ---------- */
.melt { height: 46vh; margin-bottom: -2px; position: relative; }
#melt { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- METHOD ---------- */
.method { background: var(--light-bg); color: var(--light-fg); }
.method-intro { min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 16px 60px; }
.method .big { color: #2a2a2a; }
.method .lead { max-width: 640px; margin: 26px auto 0; font-size: 16px; line-height: 1.75; color: #333; }
.steps-inline { margin-top: 30px; font-size: 13px; text-transform: uppercase; color: #222; }

.phases { height: 500vh; position: relative; }
.phases-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.phases-track { display: flex; height: 100%; will-change: transform; }
.phase {
  flex: none; width: 70vw; height: 100%; position: relative;
  display: flex; flex-direction: column; justify-content: center; padding: 0 6vw;
}
.phase-num {
  position: absolute; right: 2vw; top: 50%; transform: translateY(-55%);
  font: 700 clamp(200px, 34vw, 480px) / .8 var(--display);
  color: rgba(0,0,0,.06); pointer-events: none; user-select: none;
}
.phase h3 {
  position: relative; font: 700 clamp(44px, 7.4vw, 112px) / 1 var(--display); max-width: 11ch; color: #262626;
}
.phase h3 .word { display: inline-block; white-space: nowrap; }
.phase h3 .ch { display: inline-block; transition: color .25s, opacity .25s; }
.phase-num { will-change: transform; }
.phase-lead { position: relative; margin-top: 24px; max-width: 520px; font-size: 16px; line-height: 1.6; color: #222; }
.phase ul { position: relative; list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.phase li { font-size: 13px; color: #555; display: flex; gap: 14px; }
.phase li::before { content: ""; flex: none; width: 12px; height: 1px; margin-top: .6em; background: #aaa; }
.phase li:last-child { color: #999; }

.phase-nav {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: flex; align-items: flex-start;
}
.phase-nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 78px; }
.phase-nav button::after { content: ""; position: absolute; top: 9px; left: calc(50% + 14px); width: 50px; height: 1px; background: rgba(0,0,0,.25); }
.phase-nav button:last-child::after { display: none; }
.phase-nav b {
  height: 18px; display: grid; place-items: center;
  font: 700 0px var(--display); transition: font-size .3s;
}
.phase-nav b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #333; }
.phase-nav small { font-size: 9px; text-transform: uppercase; color: #555; opacity: 0; transition: opacity .3s; }
.phase-nav button.done b, .phase-nav button.active b { font-size: 14px; }
.phase-nav button.done b::before, .phase-nav button.active b::before { display: none; }
.phase-nav button.done small, .phase-nav button.active small { opacity: 1; }
.phase-nav button:last-child b, .phase-nav button:last-child small { color: var(--accent); }
.phase-nav button:last-child b::before { background: var(--accent); }
body.phases-dark .phase h3, body.phases-dark .phase-lead { color: var(--fg); }
body.phases-dark .phase-num { color: rgba(255,255,255,.06); }
body.phases-dark .phase-nav b::before { background: var(--fg); }
body.phases-dark .phase-nav b, body.phases-dark .phase-nav small { color: var(--fg); }
body.phases-dark .phase-nav button::after { background: rgba(255,255,255,.3); }
body.phases-dark .phase li { color: var(--fg-70); }
.method { transition: background-color .6s; }
body.phases-dark .method { background: transparent; }

/* ---------- TILT BAND ---------- */
.tilt-band { padding: 180px 0; overflow: hidden; }
.tilt-band > .tilt-track { rotate: -4deg; }
.tilt-band > .tilt-track { display: flex; width: max-content; will-change: transform; }
.tilt-track span { font: 700 clamp(20px, 2.4vw, 32px) var(--display); text-transform: uppercase; color: rgba(240,240,248,.45); white-space: nowrap; padding-right: 20px; }

/* ---------- AUDIT ---------- */
.audit { position: relative; min-height: 110vh; display: grid; place-items: center; padding: 100px 16px; overflow: hidden; }
.audit-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.audit-sub { margin-top: 26px; font-size: 15px; line-height: 2; }
@keyframes pulse { 50% { opacity: .25; } }
.audit-form {
  display: flex; margin: 26px auto 0; max-width: 330px;
  border: .5px solid var(--line); border-radius: 10px; background: rgba(32,32,32,.9);
}
.audit-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--fg); font: 400 13px var(--mono); padding: 16px; }
.audit-form button { width: 48px; color: var(--fg-55); }
.audit-form button:hover { color: var(--accent); }
.audit.in @keyframes drift { to { transform: translate(14px, -10px); } }

/* ---------- CONTACT ---------- */
.contact { padding: 40px 16px 120px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 22px;
  padding: 28px 30px; border-radius: 12px;
  background: rgba(30,30,30,.9); border: .5px solid var(--line);
  transition: border-color .25s, background .25s;
}
.contact-card:hover { border-color: rgba(234,84,46,.5); background: rgba(38,38,38,.95); }
.cc-icon { color: var(--fg-70); }
.contact-card b { display: block; font: 500 18px var(--display); margin-bottom: 6px; }
.contact-card small { font-size: 12px; color: var(--fg-55); }
.cc-arrow { margin-left: auto; font-size: 20px; color: var(--fg-70); transition: transform .25s; }
.contact-card:hover .cc-arrow { transform: translateX(6px); color: var(--accent); }

/* ---------- CLOSER ---------- */
.closer { position: relative; min-height: 100vh; padding: 60px 16px 40px; }
.closer-title { position: relative; z-index: 2; margin-top: 30px; }
#torus { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(720px, 100vw); height: min(560px, 80vw); }

/* ---------- FOOTER ---------- */
.site-footer { position: relative; overflow: hidden; padding: 40px 16px 30px; border-top: .5px solid var(--line); }
.site-footer > * { position: relative; }
#foot-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 70px; }
.socials a {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  padding: 12px 20px; border-radius: 30px; border: .5px solid var(--line);
  background: rgba(30,30,30,.8); transition: border-color .2s;
}
.socials a:hover { border-color: var(--accent); }
.socials span { color: var(--fg-70); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.foot-label { font-size: 11px; text-transform: uppercase; color: var(--fg-55); margin-bottom: 22px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.foot-grid a { font-size: 14px; color: var(--fg-70); transition: color .2s; display: flex; align-items: center; gap: 8px; }
.foot-grid a:hover { color: var(--fg); }
.foot-grid a > i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.foot-grid a.strong { color: var(--fg); font-weight: 500; }
.foot-meta { display: flex; justify-content: space-between; gap: 30px; margin-top: 70px; padding-top: 24px; border-top: .5px solid var(--line); }
.offices { display: flex; flex-wrap: wrap; gap: 10px 30px; max-width: 640px; font-size: 11px; text-transform: uppercase; color: var(--fg-55); }
.offices b { color: var(--fg); font-weight: 400; }
.dot-live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-icons span { font-size: 9px; padding: 4px 7px; border-radius: 4px; border: .5px solid var(--line); color: var(--fg-70); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; font-size: 10px; text-transform: uppercase; color: var(--fg-35); }
.legal { display: flex; gap: 26px; }
.legal a:hover { color: var(--fg); }

/* ---------- COOKIE ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 22px; border-radius: 18px;
  background: rgba(30,30,30,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: .5px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--fg-70);
  transition: transform .4s, opacity .4s;
}
.cookie.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cookie a { color: var(--fg); }
.cookie div { display: flex; gap: 10px; flex: none; }
.cookie .ghost { padding: 10px 16px; font-size: 11px; text-transform: uppercase; color: var(--fg-55); }
.cookie .accent { padding: 12px 28px; border-radius: 24px; background: var(--accent); color: #fff; font-size: 11px; text-transform: uppercase; font-weight: 500; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .main-nav, .icon-btn { display: none; }
  .header-bar { justify-content: space-between; }
  .burger { display: flex; }
  .foot-cols { grid-template-columns: 1fr; }
  .phase { width: 100vw; }
}
@media (max-width: 640px) {
  .msg-btn { display: none; }
  .hero-title { margin-top: -150px; }
  .stats-row { flex-direction: column; gap: 14px; }

  .stats { flex-wrap: wrap; justify-content: center; font-size: 11px; }
  .review { width: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-meta, .cookie { flex-direction: column; align-items: flex-start; }
  .scroll-meter { display: none; }
  .badge { display: none; }
  .phase-nav button { width: 56px; }
  .phase-nav button::after { width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Pointer spotlight ---------- */
.contact-card, .socials a, .stats { position: relative; overflow: hidden; }
.contact-card::before, .socials a::before, .stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(234,84,46,.16), transparent 70%);
}
.contact-card:hover::before, .socials a:hover::before, .stats:hover::before { opacity: 1; }

/* ---------- Heewa additions ---------- */
.intro-flash { display: grid; place-items: center; }
.intro-flash img { width: 180px; transition: opacity .5s, transform 1s; }
body:not(.is-intro) .intro-flash img { opacity: 0; transform: scale(.9); }
.logo img { display: block; height: 32px; width: auto; }
.inline-link { color: var(--accent); white-space: nowrap; }
.qa-dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--maroon); box-shadow: 0 0 8px var(--maroon); margin-right: 4px; }
.logo-marquee .track { align-items: center; }
.logo-marquee img {
  height: 44px; width: auto; max-width: 170px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .5;
}
.badge-logo { background: rgba(255,255,255,.08); overflow: hidden; }
.badge-logo img { width: 39px; height: 39px; object-fit: contain; filter: brightness(0) invert(1); }
.phase-kicker { position: relative; font-size: 12px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.phase-lead b { font-weight: 600; }
.phase-link { position: relative; margin-top: 30px; width: max-content; font-size: 12px; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.phase-link:hover { }
.phase-link { transition: letter-spacing .3s; }

/* presence */
.presence { padding: 140px 16px 80px; }
.presence-title { margin: 10px 0 40px; }
.presence-title .muted { color: var(--fg-35); }
.map-wrap { position: relative; border: .5px solid var(--line); border-radius: 18px; background: rgba(20,20,20,.6); overflow: hidden; }
#world-map { display: block; width: 100%; aspect-ratio: 2.55; }
.presence-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: 12px; margin-top: 12px; }
.hq-card {
  position: relative; padding: 30px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(150deg, rgba(234,84,46,.16), rgba(138,23,57,.18) 55%, rgba(20,20,20,.9));
  border: .5px solid rgba(234,84,46,.45);
}
.hq-label { display: flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; color: var(--fg-70); }
.hq-label b { color: var(--fg); font-weight: 500; }
.hq-card h3 { font: 700 clamp(48px, 6vw, 84px) / 1 var(--display); margin: 26px 0 16px; }
.hq-addr { font-size: 14px; line-height: 1.7; color: var(--fg-70); max-width: 340px; }
.hq-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hq-links a { font-size: 12px; padding: 8px 12px; border-radius: 20px; border: .5px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); transition: border-color .2s; }
.hq-links a:hover { border-color: var(--accent); }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.office { padding: 20px; border-radius: 14px; background: rgba(30,30,30,.85); border: .5px solid var(--line); transition: border-color .25s, transform .25s; }
.office:hover { border-color: rgba(20,149,148,.6); transform: translateY(-3px); }
.office-top { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; color: var(--fg-55); }
.office-top b { color: var(--teal); font-weight: 500; }
.office-city { font: 700 20px var(--display); margin: 14px 0 8px; }
.office-addr { font-size: 12px; line-height: 1.6; color: var(--fg-55); }

/* partners */
.partners { padding: 60px 16px 80px; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 1.5; padding: 22px; border-radius: 14px;
  background: rgba(30,30,30,.6); border: .5px solid var(--line);
  transition: transform .3s, border-color .3s, background .3s;
}
.partner img { max-width: 55%; max-height: 41%; object-fit: contain; filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.partner figcaption { font-size: 10px; text-transform: uppercase; color: var(--fg-35); text-align: center; }
.partner:hover { transform: translateY(-4px); border-color: rgba(234,84,46,.5); background: rgba(38,38,38,.8); }
.partner:hover img { opacity: 1; }

/* blog */
.blog { padding: 40px 16px 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.post { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 14px; background: rgba(30,30,30,.85); border: .5px solid var(--line); transition: border-color .25s, transform .25s; }
.post:hover { border-color: rgba(234,84,46,.5); transform: translateY(-4px); }
.post-tag { font-size: 10px; text-transform: uppercase; color: var(--teal); }
.post h3 { font: 700 18px / 1.3 var(--display); }
.post p { font-size: 13px; line-height: 1.7; color: var(--fg-55); }
.post-more { margin-top: auto; font-size: 11px; text-transform: uppercase; color: var(--accent); }

/* subscribe */
.subscribe div { display: flex; border: .5px solid var(--line); border-radius: 10px; overflow: hidden; background: rgba(30,30,30,.9); }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--fg); font: 400 13px var(--mono); padding: 12px 14px; }
.subscribe button { padding: 0 18px; background: var(--accent); color: #fff; font-size: 11px; text-transform: uppercase; }

@media (max-width: 980px) {
  .presence-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid, .contact-grid { grid-template-columns: 1fr; }
  .phase-nav button { width: 44px; }
  .phase-nav button::after { width: 18px; left: calc(50% + 12px); }
  .phase-nav small { display: none; }
}
@media (max-width: 640px) {
  .offices-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  #world-map { aspect-ratio: 1.6; }
}

/* no tracking anywhere */
*, *::before, *::after { letter-spacing: 0; }

/* ---------- Text: letter roll on hover ---------- */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll-a, .roll-b { display: block; white-space: nowrap; }
.roll-b { position: absolute; inset: 0; color: var(--accent); }
.roll .rl { display: inline-block; transition: transform .55s cubic-bezier(.65,0,.25,1); transition-delay: calc(var(--i) * 14ms); }
.roll-b .rl { transform: translateY(110%); }
.roll-host:hover .roll-a .rl, .roll-host:focus-visible .roll-a .rl { transform: translateY(-110%); }
.roll-host:hover .roll-b .rl, .roll-host:focus-visible .roll-b .rl { transform: none; }
.btn-accent .roll-b, .ind-row .roll-b { color: inherit; }

/* ---------- Text: masked word reveal ---------- */
.rv { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .26em; margin: -.06em 0 -.26em; }
.rv-in { display: inline-block; padding: .06em 0 .26em; margin: -.06em 0 -.26em; transform: translateY(105%); opacity: 0; filter: blur(8px);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .9s ease, filter .9s ease; transition-delay: calc(var(--i) * 75ms); }
.is-in .rv-in { transform: none; opacity: 1; filter: none; }

/* ---------- Sound toggle ---------- */
.sound-btn { display: flex; align-items: flex-end; gap: 2px; height: 32px; padding: 0 10px; border-radius: 16px; color: var(--fg-55); font-size: 11px; text-transform: uppercase; }
.sound-btn i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; margin-bottom: 11px; transition: height .3s; }
.sound-btn span { margin: 0 0 9px 6px; }
.sound-btn:hover { color: var(--fg); }
body.sound-on .sound-btn { color: var(--accent); }
body.sound-on .sound-btn i { animation: eq .9s ease-in-out infinite alternate; }
body.sound-on .sound-btn i:nth-child(2) { animation-delay: -.3s; }
body.sound-on .sound-btn i:nth-child(3) { animation-delay: -.6s; }
body.sound-on .sound-btn i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 11px; } }

/* ---------- Mega menus ---------- */
.site-header { pointer-events: none; }
.header-bar, .mega { pointer-events: auto; }
.mega {
  position: absolute; left: 16px; right: 16px; top: 72px;
  display: grid; grid-template-columns: 300px 1fr; gap: 28px;
  padding: 28px; border-radius: 24px;
  background: rgba(19,19,19,.86); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: .5px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.985); transform-origin: top center;
  transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1), visibility 0s .35s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-narrow { left: auto; width: min(860px, calc(100% - 32px)); right: 16px; }
.mega-side { display: flex; flex-direction: column; gap: 10px; padding-right: 20px; border-right: .5px solid var(--line); }
.mega-title { font: 700 30px / 1.1 var(--display); }
.mega-all { margin-top: auto; font-size: 13px; color: var(--accent); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mega-item {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: 18px; border-radius: 16px; border: .5px solid var(--line); background: rgba(255,255,255,.02);
  transition: border-color .25s, background .25s, transform .35s cubic-bezier(.16,1,.3,1);
}
.mega-item::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(234,84,46,.18), transparent 70%); }
.mega-item:hover { border-color: rgba(234,84,46,.45); transform: translateY(-2px); }
.mega-item:hover::before { opacity: 1; }
.mega-num { font-size: 11px; color: var(--fg-35); }
.mega-name { font: 600 16px var(--display); }
.mega-nick { font-size: 12px; color: var(--fg-55); }
.mega-list { display: flex; flex-direction: column; }
.mega-row { display: grid; grid-template-columns: 1fr 1.4fr 64px; align-items: center; gap: 18px; min-height: 68px; padding: 10px 6px; border-bottom: .5px solid var(--line); transition: padding .3s; }
/* every row the same height: descriptions stay within two lines */
.mega-row .mega-nick { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.mega-row .pill { justify-self: end; }
.mega-row:hover { padding-left: 14px; }
.pill { display: inline-block; font-size: 10px; text-transform: uppercase; padding: 4px 9px; border-radius: 20px; border: .5px solid rgba(255,255,255,.2); color: var(--fg-55); }
.pill.live { color: #fff; border-color: transparent; background: var(--teal); }
.mega-shade { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
body.mega-open .mega-shade { opacity: 1; pointer-events: auto; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 48; overflow-y: auto; padding: 90px 20px 40px; background: rgba(15,15,15,.97); display: flex; flex-direction: column; gap: 2px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .eyebrow { margin: 24px 0 8px; }
.mobile-menu a { display: flex; align-items: center; gap: 12px; font: 600 22px var(--display); padding: 10px 0; border-bottom: .5px solid var(--line); }
.mobile-menu a span { font-size: 12px; color: var(--fg-35); }
body.menu-open { overflow: hidden; }

/* ---------- Industries index ---------- */
.industries { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; padding: 140px 16px 120px; align-items: start; }
.ind-side { position: sticky; top: 120px; }
.ind-side .mid { margin: 6px 0 22px; }
.ind-sub { font-size: 16px; line-height: 1.7; color: var(--fg-70); max-width: 440px; }
.industries .audit-form { margin: 28px 0 0; max-width: 440px; }
.ind-meta { margin-top: 18px; font-size: 12px; text-transform: uppercase; color: var(--fg-55); display: flex; align-items: center; gap: 8px; }
.ind-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
.ind-list { list-style: none; border-top: .5px solid var(--line); }
.ind-row {
  position: relative; display: grid; grid-template-columns: 54px 1fr auto; align-items: center;
  padding: 22px 18px; border-bottom: .5px solid var(--line); cursor: pointer; overflow: hidden; outline: 0;
  opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1), color .35s;
  transition-delay: var(--d), var(--d), 0s;
}
.ind-list.is-in .ind-row { opacity: 1; transform: none; }
.ind-row { color: inherit; text-decoration: none; }
.ind-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.65,0,.25,1); }
.ind-row:hover::before, .ind-row:focus-visible::before { transform: scaleY(1); }
.ind-row:hover, .ind-row:focus-visible { color: #171717; }
.ind-num { font-size: 12px; color: var(--fg-35); transition: color .35s; }
.ind-row:hover .ind-num { color: rgba(0,0,0,.55); }
.ind-name { font: 700 clamp(28px, 3.6vw, 52px) / 1 var(--display); }
.ind-list li { list-style: none; }
.ind-main { display: flex; flex-direction: column; gap: 8px; }
.ind-nick { font-size: 13px; color: var(--fg-55); transition: color .35s; }
.ind-row:hover .ind-nick, .ind-row:focus-visible .ind-nick { color: rgba(0,0,0,.6); }
.ind-arrow { font-size: 26px; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.ind-row:hover .ind-arrow { transform: rotate(45deg); }

/* ---------- Inner pages ---------- */
.inner { padding-top: 70px; }
.page-hero { position: relative; min-height: 72vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 16px 70px; overflow: hidden; }
.page-hero .big { max-width: 16ch; }
.page-lead { max-width: 640px; margin-top: 28px; font-size: 17px; line-height: 1.75; color: var(--fg-70); }
.studio-name { margin-bottom: 18px; font-size: 14px; text-transform: uppercase; color: var(--accent); }
.studio-bg-num { position: absolute; right: -2vw; bottom: -6vw; font: 700 clamp(220px, 34vw, 520px) / .8 var(--display); color: rgba(255,255,255,.035); pointer-events: none; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 90px 16px; border-top: .5px solid var(--line); }
.split .mid { margin-bottom: 22px; }
.split-text { font-size: 17px; line-height: 1.8; color: var(--fg-70); max-width: 760px; }
.split-text + .split-text { margin-top: 18px; }
.mission { padding: 60px 16px 90px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mission-card { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 18px; border: .5px solid var(--line); background: rgba(30,30,30,.7); transition: border-color .3s, transform .35s cubic-bezier(.16,1,.3,1); }
.mission-card:hover { border-color: rgba(20,149,148,.6); transform: translateY(-4px); }
.mission-num { font-size: 12px; color: var(--teal); }
.mission-card h3 { font: 700 clamp(22px, 2.2vw, 30px) / 1.15 var(--display); }
.motto { padding: 120px 16px; text-align: center; background: linear-gradient(180deg, transparent, rgba(234,84,46,.06) 50%, transparent); }
.motto-text { max-width: 760px; margin: 34px auto 0; display: grid; gap: 18px; font-size: 17px; line-height: 1.8; color: var(--fg-70); }
.services { padding: 60px 16px 100px; }
.service-list { border-top: .5px solid var(--line); }
.service { position: relative; border-bottom: .5px solid var(--line); overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(234,84,46,.12), transparent 70%); }
.service:hover::before { opacity: 1; }
.service summary { list-style: none; display: grid; grid-template-columns: 54px 1fr 24px; align-items: center; padding: 26px 8px; cursor: pointer; }
.service summary::-webkit-details-marker { display: none; }
.service-num { font-size: 12px; color: var(--fg-35); }
.service-title { font: 600 clamp(20px, 2.4vw, 32px) var(--display); transition: transform .4s cubic-bezier(.16,1,.3,1), color .3s; }
.service:hover .service-title { transform: translateX(10px); }
.service[open] .service-title { color: var(--accent); }
.service-plus { position: relative; width: 16px; height: 16px; }
.service-plus::before, .service-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s; }
.service-plus::after { transform: rotate(90deg); }
.service[open] .service-plus::after { transform: rotate(0); }
.service p { max-width: 760px; padding: 0 8px 28px 62px; font-size: 16px; line-height: 1.8; color: var(--fg-70); }
.studio-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px 60px; }
.studio-pager a { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 18px; border: .5px solid var(--line); background: rgba(30,30,30,.7); font: 600 22px var(--display); transition: border-color .3s; }
.studio-pager a:last-child { text-align: right; align-items: flex-end; }
.studio-pager a:hover { border-color: rgba(234,84,46,.5); }
.studio-pager small { font: 400 12px var(--mono); text-transform: uppercase; color: var(--fg-55); }
.page-cta { padding: 120px 16px; text-align: center; border-top: .5px solid var(--line); }
.page-cta p { margin: 18px 0 30px; color: var(--fg-70); }
.btn-accent, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 30px; font-size: 14px; font-weight: 500; transition: transform .3s, box-shadow .3s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(234,84,46,.35); }
.btn-ghost { border: .5px solid rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: var(--accent); }
.soon-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.soon-dots { position: absolute; right: 16px; top: 140px; display: grid; grid-template-columns: repeat(8, 10px); gap: 14px; opacity: .5; }
.soon-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--fg); animation: soon 2.4s ease-in-out infinite; }
.soon-dots i:nth-child(3n) { animation-delay: -.8s; background: var(--accent); }
.soon-dots i:nth-child(5n) { animation-delay: -1.6s; background: var(--teal); }
@keyframes soon { 50% { opacity: .15; transform: scale(.5); } }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 40px 16px 90px; }
.event-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px; border-radius: 18px; border: .5px solid var(--line); background: rgba(30,30,30,.7); }
.event-card img { height: 70px; width: auto; filter: brightness(0) invert(1); }
.event-mark { font: 700 40px var(--display); color: var(--fg-35); }
.event-card h3 { font: 700 26px var(--display); }
.event-card p { color: var(--fg-70); line-height: 1.7; }

/* team */
.team { padding: 20px 16px 100px; }
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.team-card { position: relative; overflow: hidden; border-radius: 18px; border: .5px solid var(--line); background: rgba(30,30,30,.7); transition: border-color .3s, transform .4s cubic-bezier(.16,1,.3,1); }
.team-card:hover { border-color: rgba(234,84,46,.5); transform: translateY(-4px); }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2a2a2a, #161616); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transform: scale(1.02); transition: filter .6s, transform .8s cubic-bezier(.16,1,.3,1); }
.team-card:hover .team-photo img { filter: none; transform: scale(1.06); }
.team-info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 18px; min-height: 96px; }
.team-info h3 { width: 100%; font: 600 18px var(--display); }
.team-info p { font-size: 13px; color: var(--fg-55); }

/* contact form */
.contact-form-wrap { padding: 20px 16px 60px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; text-transform: uppercase; color: var(--fg-55); }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 16px var(--mono); color: var(--fg); background: rgba(30,30,30,.85); border: .5px solid var(--line);
  border-radius: 12px; padding: 14px 16px; outline: 0; transition: border-color .25s; text-transform: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form button { justify-self: start; }

@media (max-width: 980px) {
  .mega { display: none; }
  .sound-btn span { display: none; }
  .industries, .split { grid-template-columns: 1fr; }
  .ind-side { position: static; }
  .mission-grid, .events-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .contact-form, .studio-pager { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .soon-dots { display: none; }
}

/* ---------- Blog cards, article, events, registration ---------- */
.post { overflow: hidden; }
.post-img { display: block; margin: -26px -26px 6px; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, rgba(20,149,148,.25), rgba(138,23,57,.25)); }
.post-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: transform .8s cubic-bezier(.16,1,.3,1), filter .5s; }
.post:hover .post-img img { transform: scale(1.06); filter: none; }
.post-img-empty { background: radial-gradient(circle at 30% 30%, rgba(234,84,46,.35), transparent 60%), radial-gradient(circle at 75% 70%, rgba(20,149,148,.3), transparent 55%), #1d1d1d; }
.blog-all { margin-top: 24px; }
.article { padding: 140px 16px 60px; }
.article-head { max-width: 960px; margin: 0 auto; text-align: center; }
.article-head .eyebrow.left { text-align: center; }
.article-head .mid { margin-top: 10px; }
.article-img { margin: 50px auto 0; max-width: 960px; border-radius: 20px; overflow: hidden; border: .5px solid var(--line); }
.article-img img { display: block; width: 100%; height: auto; }
.article-body { max-width: 720px; margin: 60px auto 0; }
.article-body p { font-size: 18px; line-height: 1.85; color: var(--fg-70); margin-bottom: 22px; }
.article-body h2 { font: 700 26px / 1.2 var(--display); margin: 46px 0 16px; }
.events-list { display: flex; flex-direction: column; gap: 12px; padding: 30px 16px 60px; }
.event-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding: 18px; border-radius: 22px; border: .5px solid var(--line); background: rgba(30,30,30,.6); }
.event-img { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.event-feature:hover .event-img img { transform: scale(1.04); }
.event-info .mid { margin: 8px 0 10px; }
.event-where { font-size: 13px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.event-info .btn-accent { margin-top: 24px; }
.reg-form { padding: 40px 16px 100px; }
.reg-needs { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.reg-needs legend { width: 100%; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; color: var(--fg-55); }
.check { flex-direction: row !important; align-items: center; gap: 10px !important; padding: 12px 16px; border-radius: 30px; border: .5px solid var(--line); cursor: pointer; text-transform: none !important; font-size: 14px !important; color: var(--fg) !important; transition: border-color .25s, background .25s; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; padding: 0; }
.check:has(input:checked) { border-color: var(--accent); background: rgba(234,84,46,.12); }
@media (max-width: 980px) { .event-feature { grid-template-columns: 1fr; } }

/* ---------- Arabic / right-to-left ---------- */
/* ---------- Chinese pages: CJK fonts after the Latin one; no uppercase or wide tracking ---------- */
html:lang(zh) {
  --display: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
html:lang(zh) .big, html:lang(zh) .hero-title { line-height: 1.25; }
html:lang(zh) .roll { line-height: 1.45; }

html[dir="rtl"] {
  --display: "Plus Jakarta Sans", "Alexandria", system-ui, sans-serif;
  --mono: "Plus Jakarta Sans", "Alexandria", system-ui, sans-serif;
}
html[dir="rtl"] body { font-weight: 400; }
/* Joined scripts (Arabic) must not use see-through text colours: where two letters connect, their
   shapes overlap and the overlap shows darker. These are the same greys, mixed with the background
   they sit on, as solid colours. Also applies to Arabic words on the other pages (language menu). */
html[dir="rtl"], :lang(ar) { --fg-70: #afafb5; --fg-55: #8e8e93; --fg-35: #636366; }
html[dir="rtl"] body.is-light .eyebrow { color: #7d7d7f; }
html[dir="rtl"] .tilt-track span { color: #79797c; }
html[dir="rtl"] .ind-row:hover .ind-num { color: #692615; }
html[dir="rtl"] .ind-row:hover .ind-nick, html[dir="rtl"] .ind-row:focus-visible .ind-nick { color: #5e2212; }
/* Arabic script needs taller lines and room inside the reveal mask */
html[dir="rtl"] .big, html[dir="rtl"] .hero-title { line-height: 1.3; }
html[dir="rtl"] .mid { line-height: 1.35; }
html[dir="rtl"] .phase h3, html[dir="rtl"] .ind-name, html[dir="rtl"] .hq-card h3 { line-height: 1.3; }
html[dir="rtl"] .rv, html[dir="rtl"] .rv-in { padding: .12em 0 .25em; margin: -.12em 0 -.25em; }
html[dir="rtl"] .roll { line-height: 1.5; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .foot-label, html[dir="rtl"] .pill, html[dir="rtl"] .review-src { text-transform: none; }

/* mirrored fixed UI */
html[dir="rtl"] .scroll-meter { right: auto; left: 18px; }
html[dir="rtl"] .badge { left: auto; right: 20px; padding: 12px 12px 12px 21px; }
html[dir="rtl"] .globe-tag { right: auto; left: 8%; }
html[dir="rtl"] .mega-narrow { right: auto; left: 16px; }
html[dir="rtl"] .mega-side { padding-right: 0; border-right: 0; padding-left: 20px; border-left: .5px solid var(--line); }
html[dir="rtl"] .mega-row:hover { padding-left: 6px; padding-right: 14px; }
html[dir="rtl"] .phase-num { right: auto; left: 2vw; }
html[dir="rtl"] .studio-bg-num { right: auto; left: -2vw; }
html[dir="rtl"] .soon-dots { right: auto; left: 16px; }
html[dir="rtl"] .phase-nav { direction: ltr; flex-direction: row-reverse; }
html[dir="rtl"] .phase-nav button::after { left: auto; right: calc(50% + 14px); }
html[dir="rtl"] .cc-arrow { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .dot-live, html[dir="rtl"] .qa-dot { margin-right: 0; margin-left: 6px; }
html[dir="rtl"] .studio-pager a:last-child { text-align: left; align-items: flex-start; }
html[dir="rtl"] .service p { padding: 0 62px 28px 8px; }

/* motion that points along the reading direction */
html[dir="rtl"] .review:hover .more, html[dir="rtl"] .contact-card:hover .cc-arrow { transform: translateX(-6px); }
html[dir="rtl"] .service:hover .service-title { transform: translateX(-10px); }
html[dir="rtl"] .ind-row:hover .ind-arrow { transform: rotate(-45deg); }

/* marquees and the highlights orbit loop in screen space; their content stays Arabic */
html[dir="rtl"] .logo-marquee, html[dir="rtl"] .tilt-band, html[dir="rtl"] .orbit { direction: ltr; }
html[dir="rtl"] .tilt-track span, html[dir="rtl"] .review { direction: rtl; }
html[dir="rtl"] .tilt-track span { text-transform: none; }
html[dir="rtl"] .hq-addr, html[dir="rtl"] .office-addr { unicode-bidi: plaintext; }

@media (max-width: 980px) {
  html[dir="rtl"] .phase-nav button::after { left: auto; right: calc(50% + 12px); }
}

/* ---------- Page switching ---------- */
main { transition: opacity .26s ease, transform .26s ease, filter .26s ease; }
body.is-leaving main { opacity: 0; transform: translateY(14px); filter: blur(4px); }
body.is-leaving { cursor: progress; }

/* ---------- Language switch ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 20px; border: .5px solid var(--line); background: rgba(255,255,255,.04); flex: none; }
.lang-opt { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 16px; font-size: 12px; font-weight: 600; color: var(--fg-55); transition: background .25s, color .25s; }
.lang-opt span { font-family: "Alexandria", var(--display); font-size: 13px; }
.lang-opt:hover { color: var(--fg); }
.lang-opt.is-active { background: rgba(255,255,255,.12); color: var(--fg); }
.lang-opt .flag, .lang-current .flag { width: 18px; height: auto; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(255,255,255,.25); }
.lang-opt:lang(zh) span, .lang-item:lang(zh) .lang-name { font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", var(--display); }
.lang-opt:not(:lang(ar)) span { font-family: inherit; font-size: inherit; }

/* header: current language + list of all languages */
.lang-menu { position: relative; flex: none; }
.lang-current { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 13px; border-radius: 20px; border: .5px solid var(--line); background: rgba(255,255,255,.04); color: var(--fg); font-size: 12px; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: background .25s, border-color .25s; }
.lang-current:hover, .lang-menu.is-open .lang-current { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.lang-current:focus-visible { outline: 2px solid var(--accent, #EA542E); outline-offset: 2px; }
.lang-caret { width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .25s, margin .25s; }
.lang-menu.is-open .lang-caret { transform: rotate(-135deg); margin-top: 3px; }
.lang-pop { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; min-width: 190px; padding: 6px; border-radius: 16px; background: rgba(28,28,28,.94); border: .5px solid rgba(255,255,255,.14); box-shadow: 0 24px 50px -16px rgba(0,0,0,.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .18s, transform .18s, visibility 0s .18s; }
[dir="rtl"] .lang-pop { transform-origin: top left; }
.lang-menu.is-open .lang-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.lang-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; padding: 0 12px; border-radius: 10px; color: var(--fg-55); font-size: 14px; outline: 0; transition: background .2s, color .2s; }
.lang-item:hover, .lang-item:focus-visible { background: rgba(255,255,255,.07); color: var(--fg); }
.lang-item.is-active { color: var(--fg); background: rgba(255,255,255,.1); }
.lang-item .lang-name:lang(ar) { font-family: "Alexandria", var(--display); }
.lang-short { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--fg-35, rgba(240,240,248,.35)); }
.lang-item.is-active .lang-short { color: var(--accent, #EA542E); }
.foot-langs a:lang(zh) { font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", inherit; }
@media (prefers-reduced-motion: reduce) { .lang-pop, .lang-caret { transition: none; } }
.mobile-lang { margin-top: 28px; }
.mobile-lang .lang-switch { display: inline-flex; flex-wrap: wrap; border-radius: 22px; }
.mobile-lang .lang-opt { height: 36px; padding: 0 16px; font-size: 14px; }

/* ---------- Touch screens and narrow layouts ---------- */
/* phones have no hover: drop the letter roll so long names can wrap instead of pushing the page wider */
@media (hover: none) {
  .roll { display: inline; overflow: visible; }
  .roll-a { display: inline; white-space: normal; }
  .roll-b { display: none; }
  .roll .rl { display: inline; transform: none !important; }
}
/* grid tracks that may shrink below their content */
.industries, .split, .presence-grid, .contact-grid, .blog-grid, .studio-pager { min-width: 0; }
.industries > *, .split > *, .studio-pager > * { min-width: 0; }
.studio-pager a > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.team-info h3 { overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .industries { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ind-row { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 18px 10px; }
  .ind-name { font-size: clamp(22px, 6.4vw, 40px); }
}
@media (max-width: 640px) {
  .team-info h3 { font-size: 15px; }
  .studio-pager a { font-size: 17px; padding: 22px; }
  .ind-arrow { font-size: 20px; }
}

/* nothing may widen the page sideways (clip keeps position: sticky working, unlike hidden) */
html, body { overflow-x: clip; }

@media (max-width: 640px) {
  .orbit .review { width: 280px; margin-left: -140px; min-height: 210px; padding: 20px; }
  .hl-title { font-size: 19px; }
  .stats .spark, .stats .spark + i { display: none; }
  .stats { gap: 10px; padding: 12px 16px; }
}

/* ---------- Form sent ---------- */
.form-sent { grid-column: 1 / -1; padding: 22px 24px; border-radius: 14px; border: .5px solid rgba(20,149,148,.5); background: rgba(20,149,148,.1); }
.form-sent b { display: block; font: 700 18px var(--display); margin-bottom: 6px; }
.form-sent p { font-size: 14px; line-height: 1.6; color: var(--fg-70); }
.subscribe .form-sent, .audit-form.is-sent { padding: 16px 18px; }
.audit-form.is-sent { border-color: rgba(20,149,148,.5); }

/* ---------- Articles (written by articles.py) ---------- */
/* Text colours are solid on purpose: see-through text makes the joins of Arabic letters look darker. */
.a-rich .a-crumbs { max-width: 960px; margin: 0 auto 18px; font-size: 12px; color: #8e8e93; text-align: center; }
.a-rich .a-crumbs a { color: #c9c9ce; }
.a-meta { margin-top: 14px; font-size: 13px; color: #8e8e93; }
.a-preview { margin: 90px auto -80px; max-width: 720px; padding: 10px 16px; border-radius: 10px; background: #3a2a14; color: #f3d9a6; font-size: 13px; text-align: center; }
.a-rich .article-body { font-size: 18px; }
.a-rich .article-body p, .a-rich .article-body li { font-size: 18px; line-height: 1.85; color: #c9c9ce; }
.a-rich .article-body li { margin-bottom: 10px; }
.a-rich .article-body ul, .a-rich .article-body ol { margin: 0 0 24px; padding-inline-start: 24px; }
.a-rich .article-body a { color: #ff8a67; text-decoration: underline; text-underline-offset: 3px; }
.a-rich .article-body strong { color: #f0f0f8; font-weight: 700; }
.a-rich .article-body h3 { font: 700 20px / 1.3 var(--display); margin: 32px 0 12px; }
.a-rich .article-body h2 { scroll-margin-top: 90px; }
.a-takeaways, .a-toc { margin: 0 0 34px; padding: 22px 26px; border-radius: 16px; border: .5px solid var(--line); background: rgba(30,30,30,.7); }
.a-takeaways > b, .a-toc > b { display: block; margin-bottom: 12px; font-size: 12px; text-transform: uppercase; color: #3fc4c2; }
.a-takeaways ul, .a-toc ol { margin: 0 !important; }
.a-toc li { margin-bottom: 6px !important; font-size: 15px !important; }
.a-toc a { text-decoration: none !important; color: #c9c9ce !important; }
.a-toc a:hover { color: #ff8a67 !important; }
.a-callout { margin: 30px 0; padding: 20px 24px; border-radius: 14px; border-inline-start: 4px solid #3fc4c2; background: rgba(20,149,148,.12); }
.a-callout.a-warning { border-color: #EA542E; background: rgba(234,84,46,.12); }
.a-callout.a-tip { border-color: #e0b341; background: rgba(224,179,65,.1); }
.a-callout b { display: block; margin-bottom: 6px; color: #f0f0f8; font-size: 15px; }
.a-callout p { margin: 0 !important; font-size: 16px !important; }
.a-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 34px 0 8px; }
.a-stat { padding: 20px 18px; border-radius: 14px; border: .5px solid var(--line); background: rgba(30,30,30,.85); text-align: center; }
.a-stat b { display: block; font: 800 34px / 1.1 var(--display); color: #EA542E; direction: ltr; unicode-bidi: isolate; }
.a-stat span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.5; color: #c9c9ce; }
.a-src { margin: 8px 0 30px !important; font-size: 12px !important; color: #8e8e93 !important; }
.a-src a { color: #8e8e93 !important; }
.a-table-wrap { margin: 30px 0 8px; overflow-x: auto; border-radius: 14px; border: .5px solid var(--line); }
.a-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.a-table caption { padding: 14px 16px; text-align: start; font-weight: 700; color: #f0f0f8; caption-side: top; }
.a-table th { padding: 12px 16px; text-align: start; font-size: 12px; text-transform: uppercase; color: #3fc4c2; background: rgba(30,30,30,.9); }
.a-table td { padding: 12px 16px; vertical-align: top; color: #c9c9ce; border-top: .5px solid var(--line); line-height: 1.6; }
.a-chart { margin: 34px 0 8px; padding: 22px 24px; border-radius: 16px; border: .5px solid var(--line); background: rgba(30,30,30,.7); }
.a-chart figcaption { margin-bottom: 16px; font-weight: 700; font-size: 15px; color: #f0f0f8; }
.a-bar { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 14px; }
.a-bar-l { color: #c9c9ce; }
.a-bar-t { display: block; height: 12px; border-radius: 6px; background: #2a2a2a; overflow: hidden; }
.a-bar-t i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #EA542E, #8A1739); }
html[dir="rtl"] .a-bar-t i { background: linear-gradient(270deg, #EA542E, #8A1739); }
.a-bar-v { min-width: 48px; text-align: end; color: #f0f0f8; direction: ltr; unicode-bidi: isolate; }
.a-steps { counter-reset: st; list-style: none; padding: 0 !important; margin: 30px 0 !important; }
.a-steps li { counter-increment: st; position: relative; margin-bottom: 18px; padding: 18px 22px 18px 22px; padding-inline-start: 72px; border-radius: 14px; border: .5px solid var(--line); background: rgba(30,30,30,.7); }
.a-steps li::before { content: counter(st); position: absolute; inset-inline-start: 20px; top: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 16px var(--display); background: #EA542E; color: #171717; }
.a-steps b { display: block; margin-bottom: 4px; color: #f0f0f8; font-size: 17px; }
.a-steps p { margin: 0 !important; font-size: 16px !important; }
.a-sources { margin-top: 56px; padding-top: 24px; border-top: .5px solid var(--line); }
.a-sources h2 { font-size: 18px !important; margin: 0 0 12px !important; }
.a-sources li { font-size: 14px !important; margin-bottom: 8px !important; color: #8e8e93 !important; }
.a-sources li span { color: #8e8e93; }
.a-more { display: inline-block; margin-inline-start: 14px; color: #ff8a67; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.a-related { max-width: 1200px; margin: 20px auto 80px; padding: 0 16px; }
.a-related h2 { font: 700 24px var(--display); margin-bottom: 18px; }
.a-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 16px 26px; }
.a-chip { padding: 8px 16px; border-radius: 999px; border: .5px solid var(--line); font-size: 13px; color: #c9c9ce; }
.a-chip.on, .a-chip:hover { border-color: #EA542E; color: #f0f0f8; }
.a-pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 30px; font-size: 14px; color: #8e8e93; }
.a-pager a { color: #ff8a67; }
@media (max-width: 720px) {
  .a-bar { grid-template-columns: 1fr auto; }
  .a-bar-l { grid-column: 1 / -1; }
  .a-rich .article-body p, .a-rich .article-body li { font-size: 17px; }
  .a-steps li { padding-inline-start: 64px; }
}
