:root {
  --navy: #070a35;
  --navy-2: #080c3b;
  --navy-3: #050e38;
  --ink: #f5f7fa;
  --muted: #bfc7d5;
  --muted-2: #8f98b5;
  --mint: #6ef2a0;
  --cyan: #00e5ff;
  --blue: #0066ff;
  --line: rgba(191, 199, 213, 0.16);
  --panel: rgba(12, 17, 70, 0.66);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background:
    radial-gradient(circle at 5% 15%, rgba(0, 229, 255, 0.09), transparent 26%),
    radial-gradient(circle at 88% 32%, rgba(110, 242, 160, 0.08), transparent 28%),
    linear-gradient(180deg, #070a35 0%, #05082c 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: var(--container); margin-inline: auto; position: relative; }
.section { padding: 120px 0; position: relative; }
.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hex-grid.svg");
  background-size: 900px auto;
  opacity: 0.028;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: white;
  color: black;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 10, 53, 0.78);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 108px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.nav a:not(.nav-cta) { color: var(--muted); transition: color .2s ease; }
.nav a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { border: 1px solid rgba(110, 242, 160, .38); border-radius: 999px; padding: 11px 18px; color: var(--mint); }
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 21px; height: 1px; background: var(--ink); margin: 6px auto; transition: transform .2s ease; }

.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 95px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero-copy { max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700; color: var(--mint); margin-bottom: 22px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 20px rgba(110, 242, 160, .75); animation: pulse 2.2s ease-in-out infinite; }
.hero h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; }
.hero h1 { margin: 0; max-width: 790px; font-size: clamp(54px, 6.3vw, 96px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.hero h1 span { background: linear-gradient(110deg, var(--mint), var(--cyan) 55%, #77a2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 30px 0 0; max-width: 660px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.75; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .015em; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #031322; background: linear-gradient(115deg, var(--mint), var(--cyan)); box-shadow: 0 15px 45px rgba(0, 229, 255, .16); }
.button-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(255,255,255,.32); }

.hero-mark { position: relative; min-height: 520px; display: grid; place-items: center; }
.logo-stage { position: relative; z-index: 2; width: min(390px, 85%); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(11, 22, 85, .8), rgba(7,10,53,.12) 68%); filter: drop-shadow(0 30px 80px rgba(0, 229, 255, .13)); }
.logo-stage img { width: 86%; }
.orbit { position: absolute; border: 1px solid rgba(110, 242, 160, .18); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; animation: spin 28s linear infinite; }
.orbit-two { width: 510px; height: 510px; border-style: dashed; border-color: rgba(0, 229, 255, .14); animation: spinReverse 38s linear infinite; }
.orbit::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); top: 14%; left: 14%; box-shadow: 0 0 22px var(--cyan); }
.orbit-two::before { top: 74%; left: auto; right: 6%; background: var(--mint); box-shadow: 0 0 22px var(--mint); }
.floating-label { position: absolute; z-index: 3; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,10,53,.72); backdrop-filter: blur(10px); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.label-one { top: 12%; left: 0; }
.label-two { right: -2%; top: 45%; }
.label-three { bottom: 13%; left: 9%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .18; pointer-events: none; }
.hero-glow-one { width: 450px; height: 450px; background: var(--cyan); right: -220px; top: 5%; }
.hero-glow-two { width: 340px; height: 340px; background: var(--mint); left: -230px; bottom: 4%; }
.hero-footer { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); }
.hero-footer a { color: var(--mint); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading h2, .process-header h2, .contact h2 { margin: 0; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.1; letter-spacing: -.045em; font-weight: 600; }
.section-heading > p { max-width: 680px; margin: 20px auto 0; color: var(--muted); }
.centered { text-align: center; max-width: 860px; margin: 0 auto 60px; }
.intro-content > p { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.8; }
.principle-row { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle-row div { padding: 24px 22px 0 0; }
.principle-row strong { display: block; font-family: "Sora", "Inter", sans-serif; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.principle-row span { font-size: 13px; color: var(--muted-2); line-height: 1.55; }

.directions { background: linear-gradient(180deg, rgba(8,12,59,.6), rgba(7,10,53,0)); }
.hex-layout { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 260px 1fr; grid-template-areas: "a center b" "c center d" "e center f"; gap: 18px 30px; align-items: stretch; }
.direction-card { min-height: 156px; position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(12,18,73,.76), rgba(8,12,59,.42)); border-radius: 22px; padding: 24px; transition: transform .25s ease, border-color .25s ease; }
.direction-card:hover { transform: translateY(-5px); border-color: rgba(110,242,160,.36); }
.direction-card span { color: var(--mint); font-size: 10px; letter-spacing: .16em; font-weight: 700; }
.direction-card h3 { margin: 13px 0 8px; font-size: 17px; line-height: 1.3; }
.direction-card p { margin: 0; color: var(--muted-2); font-size: 12.5px; line-height: 1.55; }
.card-a{grid-area:a}.card-b{grid-area:b}.card-c{grid-area:c}.card-d{grid-area:d}.card-e{grid-area:e}.card-f{grid-area:f}
.hex-center { grid-area: center; align-self: center; min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(0,229,255,.22); clip-path: polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%); background: linear-gradient(160deg, rgba(0,229,255,.09), rgba(110,242,160,.035)); position: relative; }
.hex-center::after { content: ""; position: absolute; inset: 16px; clip-path: inherit; border: 1px solid rgba(110,242,160,.14); }
.hex-center img { width: 120px; margin-bottom: 5px; }
.hex-center strong { font-family: "Sora", "Inter", sans-serif; letter-spacing: .2em; font-size: 22px; margin-left: .2em; }
.hex-center small { color: var(--muted); margin-top: 8px; line-height: 1.5; }

.value-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value-card { min-height: 300px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(12,18,73,.76), rgba(8,12,59,.38)); position: relative; overflow: hidden; }
.value-card::before { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: var(--cyan); filter: blur(90px); opacity: .05; right: -60px; top: -50px; }
.card-number { color: var(--mint); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.value-card h3 { margin: 18px 0 12px; font-size: 22px; }
.value-card > p { color: var(--muted); max-width: 480px; }
.client-value { position: absolute; left: 30px; right: 30px; bottom: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.client-value span { color: var(--cyan); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 700; display: block; margin-bottom: 5px; }

.process { background: rgba(3, 6, 35, .34); }
.process-header { display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.process-header > p { color: var(--muted); font-size: 17px; margin: 0 0 7px; }
.process-phases { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.phase { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: rgba(9, 13, 61, .64); }
.phase.featured { border-color: rgba(110,242,160,.31); background: linear-gradient(160deg, rgba(110,242,160,.08), rgba(9,13,61,.74)); transform: translateY(-12px); }
.phase-title { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.phase-title > span { color: var(--mint); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.phase-title h3 { font-size: 16px; margin: 0; }
.phase ol { list-style: none; padding: 0; margin: 0; }
.phase li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid rgba(191,199,213,.09); }
.phase li:last-child { border-bottom: 0; padding-bottom: 0; }
.phase li > span { color: var(--cyan); font-size: 10px; font-weight: 700; padding-top: 3px; }
.phase strong { font-family: "Sora", "Inter", sans-serif; display: block; font-size: 13px; line-height: 1.45; }
.phase p { margin: 7px 0 0; color: var(--muted-2); font-size: 12px; line-height: 1.55; }
.process-statement { margin-top: 32px; border-radius: 18px; border: 1px solid rgba(0,229,255,.2); background: rgba(0,229,255,.035); padding: 20px 24px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.process-statement strong { font-family: "Sora", "Inter", sans-serif; font-size: 15px; }
.process-statement span { color: var(--muted); font-size: 13px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, rgba(12,18,73,.74), rgba(8,12,59,.45)); overflow: hidden; padding-bottom: 28px; }
.portrait { height: 330px; background: #eef0f4; overflow: hidden; position: relative; }
.portrait::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(7,10,53,.58)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.04); transition: filter .3s ease, transform .4s ease; }
.team-card:hover .portrait img { filter: grayscale(.35) contrast(1.03); transform: scale(1.025); }
.team-card:nth-child(2) .portrait img { object-position: center 32%; }
.team-card:nth-child(3) .portrait img { object-position: center 35%; }
.discipline { margin: 22px 26px 0; color: var(--mint); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 700; }
.team-card h3 { margin: 8px 26px 4px; font-size: 22px; }
.role { margin: 0 26px; color: var(--cyan); font-size: 11px; min-height: 36px; }
.team-card > p { margin: 18px 26px 0; color: var(--muted); font-size: 13px; line-height: 1.65; min-height: 106px; }
.team-card ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 26px 0; }
.team-card li { font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; }
.experience { margin: 20px 26px 0; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 11px; line-height: 1.6; }
.experience span { color: var(--mint); display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; font-weight: 700; margin-bottom: 4px; }

.contact { overflow: hidden; overflow-x: clip; text-align: center; padding: 150px 0; }
.contact-inner { max-width: 930px; }
.contact h2 { font-size: clamp(45px, 6vw, 82px); }
.contact p { max-width: 700px; margin: 24px auto 0; color: var(--muted); font-size: 18px; }
.contact-actions { justify-content: center; }
.contact-note { margin-top: 26px; color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.contact-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: conic-gradient(from 90deg, var(--mint), var(--cyan), var(--blue), var(--mint)); filter: blur(140px); opacity: .12; left: 50%; top: 50%; transform: translate(-50%,-50%); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted-2); font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner img { width: 125px; height: auto; object-fit: contain; flex: 0 0 auto; }
.footer-inner a { color: var(--mint); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .55; } }

@media (max-width: 1050px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .hero-copy { margin: 0 auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-mark { min-height: 430px; }
  .hero-footer { display: none; }
  .split, .process-header { grid-template-columns: 1fr; gap: 38px; }
  .principle-row { grid-template-columns: repeat(3,1fr); }
  .hex-layout { grid-template-columns: 1fr 220px 1fr; }
  .process-phases { grid-template-columns: 1fr; }
  .phase.featured { transform: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); margin-inline: auto; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 88px 0; }
  .header-inner { min-height: 72px; }
  .brand img { width: 76px; }
  .menu-button { display: block; position: relative; z-index: 102; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; padding: 115px 28px 40px; background: rgba(7,10,53,.97); backdrop-filter: blur(18px); display: flex; flex-direction: column; align-items: stretch; gap: 0; transform: translateX(100%); visibility: hidden; pointer-events: none; width: 100vw; max-width: 100%; transition: transform .25s ease, visibility .25s ease; }
  .nav.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
  .nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin-top: 18px; text-align: center; border-bottom: 1px solid rgba(110,242,160,.35) !important; }
  .hero { padding: 115px 0 70px; min-height: auto; }
  .hero h1 { font-size: clamp(46px, 15vw, 70px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-mark { min-height: 330px; margin-top: 20px; }
  .logo-stage { width: 270px; }
  .orbit-one { width: 295px; height: 295px; }
  .orbit-two { width: 330px; height: 330px; }
  .floating-label { font-size: 8px; }
  .label-one { left: 2%; }
  .label-two { right: 0; }
  .section-heading h2, .process-header h2, .contact h2 { font-size: clamp(34px, 10vw, 48px); }
  .intro-content > p { font-size: 16px; }
  .principle-row { grid-template-columns: 1fr; }
  .principle-row div { border-bottom: 1px solid var(--line); padding: 19px 0; }
  .hex-layout { display: grid; grid-template-columns: 1fr; grid-template-areas: "center" "a" "b" "c" "d" "e" "f"; gap: 12px; }
  .hex-center { min-height: 260px; width: 260px; justify-self: center; margin-bottom: 14px; }
  .hex-center img { width: 90px; }
  .direction-card { min-height: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 320px; }
  .process-header { gap: 24px; }
  .process-phases { margin-top: 38px; }
  .process-statement { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card:last-child { grid-column: auto; max-width: none; }
  .portrait { height: 390px; }
  .team-card > p { min-height: auto; }
  .contact { padding: 110px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* v3 responsive polish */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.brand img {
  width: 92px;
}

.logo-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
}

.hero {
  min-height: 100svh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 112px 0 26px;
  overflow: hidden;
}

.hero-inner {
  flex: 1 1 auto;
  min-height: 470px;
  padding: 10px 0 18px;
}

.hero h1 {
  font-size: clamp(52px, 5.8vw, 88px);
}

.hero-mark {
  min-height: 440px;
}

.logo-stage {
  width: min(350px, 84%);
}

.orbit-one {
  width: 390px;
  height: 390px;
}

.orbit-two {
  width: 460px;
  height: 460px;
}

.hero-directions {
  position: relative;
  z-index: 5;
  width: var(--container);
  margin: 2px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.hero-directions-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-directions-heading > span {
  color: var(--mint);
}

.hero-directions-heading a {
  color: var(--muted);
  transition: color .2s ease;
}

.hero-directions-heading a:hover {
  color: var(--ink);
}

.hero-direction-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.hero-direction-list a {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(191,199,213,.12);
  border-radius: 12px;
  background: rgba(9,13,61,.45);
  color: var(--muted);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 9.3px;
  line-height: 1.35;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.hero-direction-list a:hover {
  border-color: rgba(110,242,160,.32);
  background: rgba(110,242,160,.05);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero-direction-list a span {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: .1em;
}

/* Content stays visible even when JavaScript is unavailable. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1500px) and (min-height: 850px) {
  .hero-inner { min-height: 520px; }
  .hero-mark { min-height: 500px; }
  .logo-stage { width: min(390px, 85%); }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 510px; height: 510px; }
}

@media (min-width: 1051px) and (max-height: 820px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 82px; }
  .hero { padding-top: 90px; padding-bottom: 20px; }
  .hero-inner { min-height: 425px; padding-top: 0; padding-bottom: 10px; }
  .hero h1 { font-size: clamp(48px, 5.2vw, 76px); }
  .hero-lead { margin-top: 20px; font-size: clamp(15px, 1.3vw, 18px); }
  .hero-actions { margin-top: 25px; }
  .hero-mark { min-height: 400px; }
  .logo-stage { width: min(315px, 82%); }
  .orbit-one { width: 350px; height: 350px; }
  .orbit-two { width: 410px; height: 410px; }
  .hero-direction-list a { min-height: 48px; padding-block: 7px; font-size: 8.8px; }
}

@media (max-width: 1180px) {
  .hero-direction-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    display: block;
    padding: 110px 0 62px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
    padding: 0;
  }

  .hero-copy {
    max-width: 780px;
    margin: 0 auto;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-mark {
    min-height: 410px;
    margin-top: 12px;
  }

  .hero-directions {
    width: var(--container);
    margin-top: 16px;
    padding-bottom: 0;
  }

  .split, .process-header {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .principle-row {
    grid-template-columns: repeat(3,1fr);
  }

  .hex-layout {
    grid-template-columns: 1fr 220px 1fr;
  }

  .process-phases {
    grid-template-columns: 1fr;
  }

  .phase.featured {
    transform: none;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 88px 0; }
  .header-inner { min-height: 70px; }
  .brand img { width: 68px; }
  .menu-button { display: block; position: relative; z-index: 102; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; padding: 105px 28px 40px; background: rgba(7,10,53,.97); backdrop-filter: blur(18px); display: flex; flex-direction: column; align-items: stretch; gap: 0; visibility: hidden; opacity: 0; pointer-events: none; clip-path: inset(0 0 0 100%); width: 100%; max-width: 100%; transition: clip-path .25s ease, opacity .2s ease, visibility .25s ease; }
  .nav.open { visibility: visible; opacity: 1; pointer-events: auto; clip-path: inset(0); }
  .nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin-top: 18px; text-align: center; border-bottom: 1px solid rgba(110,242,160,.35) !important; }

  .hero {
    padding: 98px 0 48px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .hero-mark {
    min-height: 320px;
    margin-top: 18px;
  }

  .logo-stage {
    width: min(260px, 78vw);
  }

  .orbit-one {
    width: 285px;
    height: 285px;
  }

  .orbit-two {
    width: 318px;
    height: 318px;
  }

  .floating-label {
    font-size: 8px;
    padding: 7px 10px;
  }

  .label-one { left: 2%; }
  .label-two { right: 0; }

  .hero-directions {
    margin-top: 6px;
  }

  .hero-directions-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .hero-directions-heading a {
    text-align: right;
  }

  .hero-direction-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-direction-list a {
    min-height: 66px;
    font-size: 9.6px;
    padding: 10px;
  }

  .section-heading h2, .process-header h2, .contact h2 { font-size: clamp(34px, 10vw, 48px); }
  .intro-content > p { font-size: 16px; }
  .principle-row { grid-template-columns: 1fr; }
  .principle-row div { border-bottom: 1px solid var(--line); padding: 19px 0; }
  .hex-layout { display: grid; grid-template-columns: 1fr; grid-template-areas: "center" "a" "b" "c" "d" "e" "f"; gap: 12px; }
  .hex-center { min-height: 260px; width: 260px; justify-self: center; margin-bottom: 14px; }
  .hex-center img { width: 90px; }
  .direction-card { min-height: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 320px; }
  .process-header { gap: 24px; }
  .process-phases { margin-top: 38px; }
  .process-statement { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card:last-child { grid-column: auto; max-width: none; }
  .portrait { height: 390px; }
  .team-card > p { min-height: auto; }
  .contact { padding: 110px 0; }
  .contact-actions { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 42px; }
  .hero-direction-list { grid-template-columns: 1fr; }
  .hero-direction-list a { min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

/* Final overflow safeguards verified across viewport sizes */
.hero-glow-one {
  right: 0;
  width: min(450px, 75vw);
}

.hero-glow-two {
  left: 0;
  width: min(340px, 70vw);
}

.contact-glow {
  width: min(600px, 100vw);
  height: min(600px, 100vw);
}

@media (max-width: 760px) {
  .nav {
    transform: none;
  }
  .nav.open {
    transform: none;
  }
}

/* v4 — complete HeXMood symbol: preserve the lower central element */
.logo-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}


/* Keep client-value text in normal flow so longer translations never overlap. */
.value-card { display:flex; flex-direction:column; }
.client-value { position:static; margin-top:auto; }

/* v5 multilingual navigation and typography */
.language-switch { display:inline-flex; align-items:center; gap:2px; padding:3px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.025); }
.nav .language-switch a { min-width:32px; padding:6px 8px; border:0; border-radius:999px; color:var(--muted-2); font-size:9px; line-height:1; letter-spacing:.08em; text-align:center; }
.nav .language-switch a:hover { color:var(--ink); }
.nav .language-switch a.active { color:#031322; background:linear-gradient(115deg,var(--mint),var(--cyan)); }

html[lang="ru"] body { font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
html[lang="ru"] .hero h1, html[lang="ru"] h2, html[lang="ru"] h3, html[lang="ru"] .hero-direction-list a, html[lang="ru"] .principle-row strong, html[lang="ru"] .phase strong, html[lang="ru"] .process-statement strong { font-family:"Inter",sans-serif; }
html[lang="ru"] .hero h1 { font-size:clamp(48px,5.15vw,80px); line-height:1.03; letter-spacing:-.045em; }
html[lang="ru"] .nav { font-size:12px; gap:21px; }

html[lang="hy"] body { font-family:"Noto Sans Armenian","Inter",sans-serif; }
html[lang="hy"] .hero h1, html[lang="hy"] h2, html[lang="hy"] h3, html[lang="hy"] .hero-direction-list a, html[lang="hy"] .principle-row strong, html[lang="hy"] .phase strong, html[lang="hy"] .process-statement strong { font-family:"Noto Sans Armenian","Inter",sans-serif; }
html[lang="hy"] .hero h1 { font-size:clamp(46px,4.85vw,76px); line-height:1.1; letter-spacing:-.035em; }
html[lang="hy"] .nav { font-size:11px; gap:18px; }
html[lang="hy"] .eyebrow, html[lang="hy"] .discipline, html[lang="hy"] .contact-note { letter-spacing:.1em; }
html[lang="hy"] .hero-direction-list a { font-size:8.8px; }

@media (max-width:1180px) and (min-width:981px) {
  .nav { gap:16px; }
  .nav-cta { padding:10px 14px; }
  html[lang="hy"] .nav { gap:12px; font-size:10px; }
  html[lang="ru"] .nav { gap:14px; font-size:11px; }
}

/* Move to the mobile navigation earlier so translations never crowd the header. */
@media (max-width:1050px) {
  .header-inner { min-height:72px; }
  .brand img { width:72px; }
  .menu-button { display:block; position:relative; z-index:102; }
  .menu-button[aria-expanded="true"] span:first-child { transform:translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform:translateY(-3.5px) rotate(-45deg); }
  .nav { position:fixed; top:0; right:0; bottom:0; left:0; z-index:101; padding:105px 28px 40px; background:rgba(7,10,53,.97); backdrop-filter:blur(18px); display:flex; flex-direction:column; align-items:stretch; gap:0!important; visibility:hidden; opacity:0; pointer-events:none; clip-path:inset(0 0 0 100%); width:100%; max-width:100%; transition:clip-path .25s ease,opacity .2s ease,visibility .25s ease; }
  .nav.open { visibility:visible; opacity:1; pointer-events:auto; clip-path:inset(0); }
  .nav > a { padding:17px 4px; border-bottom:1px solid var(--line); font-size:16px; }
  .nav-cta { margin-top:16px; text-align:center; border-bottom:1px solid rgba(110,242,160,.35)!important; }
  .nav .language-switch { margin-top:24px; align-self:center; padding:5px; }
  .nav .language-switch a { min-width:48px; padding:10px 12px; font-size:11px; border:0; }
}

@media (max-width:760px) {
  html[lang="ru"] .hero h1 { font-size:clamp(39px,11.8vw,57px); line-height:1.08; }
  html[lang="hy"] .hero h1 { font-size:clamp(37px,10.8vw,53px); line-height:1.17; }
  html[lang="ru"] .hero-direction-list a, html[lang="hy"] .hero-direction-list a { font-size:9px; }
  html[lang="hy"] .value-card { min-height:350px; }
  html[lang="ru"] .value-card { min-height:340px; }
}

/* Final multilingual mobile text safety */
.hero-copy { min-width: 0; }
@media (max-width: 760px) {
  .hero h1, .hero-lead { overflow-wrap: anywhere; }
  html[lang="ru"] .hero h1 { font-size: clamp(32px, 9.2vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
  html[lang="hy"] .hero h1 { font-size: clamp(32px, 9vw, 39px); line-height: 1.18; letter-spacing: -.025em; }
  html[lang="hy"] .hero-lead { font-size: 15px; line-height: 1.7; }
  .floating-label { max-width: 118px; white-space: normal; text-align: center; line-height: 1.25; }
  .label-two { right: 3%; }
}


/* Keep anchored section headings clear of the fixed header. */
section[id] { scroll-margin-top: 100px; }


/* v6 — English brand headings across all language versions */
html[lang="ru"] .hero h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] .eyebrow,
html[lang="ru"] .hero-direction-list a,
html[lang="ru"] .hero-directions-heading > span,
html[lang="ru"] .floating-label,
html[lang="ru"] .principle-row strong,
html[lang="ru"] .phase strong,
html[lang="ru"] .process-statement strong,
html[lang="ru"] .discipline,
html[lang="ru"] .role,
html[lang="ru"] .client-value span,
html[lang="ru"] .experience span,
html[lang="hy"] .hero h1,
html[lang="hy"] h2,
html[lang="hy"] h3,
html[lang="hy"] .eyebrow,
html[lang="hy"] .hero-direction-list a,
html[lang="hy"] .hero-directions-heading > span,
html[lang="hy"] .floating-label,
html[lang="hy"] .principle-row strong,
html[lang="hy"] .phase strong,
html[lang="hy"] .process-statement strong,
html[lang="hy"] .discipline,
html[lang="hy"] .role,
html[lang="hy"] .client-value span,
html[lang="hy"] .experience span {
  font-family:"Sora","Inter",sans-serif;
}

html[lang="ru"] .hero h1,
html[lang="hy"] .hero h1 {
  font-size:clamp(54px,6.3vw,96px);
  line-height:.98;
  letter-spacing:-.055em;
}

html[lang="hy"] .eyebrow,
html[lang="hy"] .discipline {
  letter-spacing:.18em;
}

/* Give the refined English headings a consistent, editorial line length. */
#intro .section-heading h2 { max-width:780px; }
#approach-title { max-width:850px; }
#team-title { max-width:820px; margin-inline:auto; }
#contact-title { max-width:980px; margin-inline:auto; }

@media (max-width:760px) {
  html[lang="ru"] .hero h1,
  html[lang="hy"] .hero h1 {
    font-size:clamp(42px,13vw,62px);
    line-height:1.02;
    letter-spacing:-.05em;
  }
}

@media (max-width:420px) {
  html[lang="ru"] .hero h1,
  html[lang="hy"] .hero h1 {
    font-size:42px;
  }
}


/* v6.1 visual QA fixes */
.hex-center img { height:auto; object-fit:contain; }
#intro .section-heading h2 { max-width:720px; }
#team-title { max-width:700px; }
