/* =========================================================
   ALTARA ENGINEERING — corporate site
   ========================================================= */

:root {
  /* palette */
  --white: #ffffff;
  --paper: #f5f6f8;
  --paper-2: #eceef2;
  --line: #e1e4ea;
  --line-strong: #c9ceD7;
  --ink: #0c1220;
  --ink-2: #283040;
  --muted: #5d6675;
  --steel: #8a94a3;
  --navy: #0b2244;
  --accent: #1e6fe8;
  --accent-deep: #0f4fb8;
  --accent-soft: rgba(30, 111, 232, 0.10);
  --dark: #0d1118;
  --dark-2: #131923;
  --dark-3: #1a212d;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-text: #e6e9ef;
  --dark-muted: #9aa4b5;

  /* type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- typography ---------- */
.h-display {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
}
.h-section {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}
.h-sub {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}
.h-card {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-size: 1.2rem;
}
.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.dark .eyebrow, .navy .eyebrow { color: #6ea2f5; }
.dark .muted, .navy .muted { color: var(--dark-muted); }
.dark .lead, .navy .lead { color: #c7cdd8; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head .lead { max-width: 56ch; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost, .hero .btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.site-header.is-scrolled:not(.is-solid) {
  background: rgba(13, 17, 24, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--dark-line);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand svg { height: 40px; width: auto; color: var(--navy); transition: color 0.35s var(--ease); }
.site-header:not(.is-solid) .brand svg { color: #ffffff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.site-header:not(.is-solid) .nav a { color: rgba(255,255,255,0.82); }
.site-header:not(.is-solid) .nav a:hover { color: #fff; }
.nav .btn { margin-left: 14px; padding: 11px 18px; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.35s var(--ease);
}
.site-header:not(.is-solid) .nav-toggle span { background: #fff; }
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px var(--gutter) 40px;
    gap: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
  .nav a::after { display: none; }
  .nav .btn { margin: 24px 0 0; justify-content: center; color: #fff !important; border-bottom: 0; }
  .site-header.menu-open { background: #fff; border-bottom-color: var(--line); }
  .site-header.menu-open .brand svg { color: var(--navy); }
  .site-header.menu-open .nav-toggle span { background: var(--ink); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* fine engineering grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, rgba(0,0,0,0.9), transparent 75%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 75% 45%, rgba(30,111,232,0.16), transparent 70%);
  z-index: -1;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: 124px;
  padding-bottom: 72px;
}
.hero-copy { max-width: 640px; }
.hero .h-display { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
.hero-copy .eyebrow { color: #7fb0ff; }
.hero h1 { color: #fff; margin-bottom: 28px; }
.hero .hero-sub {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  color: #d6dce6;
  font-weight: 400;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero .hero-support { color: #9aa4b5; max-width: 52ch; margin-bottom: 40px; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fa6c9;
}
.hero-tagline::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.hero-tagline em { font-style: normal; color: #fff; }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; overflow: visible; }
.sld-line { stroke: rgba(255,255,255,0.28); stroke-width: 1.2; fill: none; }
.sld-bus { stroke: rgba(255,255,255,0.75); stroke-width: 3; }
.sld-sym { stroke: rgba(255,255,255,0.6); stroke-width: 1.2; fill: var(--dark); }
.sld-label { font-family: var(--font-mono); font-size: 9px; fill: rgba(255,255,255,0.45); letter-spacing: 0.1em; }
.sld-flow {
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 6 14;
  animation: flow 3.2s linear infinite;
  opacity: 0.9;
}
.sld-node { fill: var(--accent); }
.sld-pulse { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0; animation: pulse 3s ease-out infinite; }
@keyframes flow { to { stroke-dashoffset: -60; } }
@keyframes pulse {
  0% { r: 3; opacity: 0.8; }
  100% { r: 16; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sld-flow, .sld-pulse { animation: none; }
  .sld-pulse { display: none; }
}
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 72px; }
  .hero-visual { order: -1; max-width: 560px; opacity: 0.85; margin-top: -20px; }
  .hero { min-height: auto; }
}
@media (max-width: 640px) {
  .hero-visual { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

.hero-strip {
  background: var(--dark);
  color: var(--dark-muted);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  counter-reset: strip;
}
.hero-strip .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}
.hero-strip span {
  counter-increment: strip;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 24px 24px 24px 28px;
  border-left: 1px solid var(--dark-line);
  color: #b4bfd0;
}
.hero-strip span:first-child { border-left: 0; padding-left: 0; }
.hero-strip span::before {
  content: counter(strip, decimal-leading-zero);
  color: #6ea2f5;
  flex: none;
}
@media (max-width: 980px) {
  .hero-strip .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip span { padding: 20px 20px 20px 22px; }
  .hero-strip span:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-strip span:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 520px) {
  .hero-strip .container { grid-template-columns: 1fr; }
  .hero-strip span { border-left: 0; padding: 16px 0; }
  .hero-strip span + span { border-top: 1px solid var(--dark-line); }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--dark); color: var(--dark-text); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.navy { background: var(--navy); color: var(--dark-text); }
.section.navy h2, .section.navy h3 { color: #fff; }

.section-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin-bottom: 14px;
}

/* ---------- framework ---------- */
.framework-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.fw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fw-card { background: #fff; padding: clamp(24px, 3vw, 40px); position: relative; transition: background-color 0.3s var(--ease); }
.fw-card:hover { background: var(--paper); }
.fw-card .fw-idx { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--steel); margin-bottom: 40px; display: flex; justify-content: space-between; }
.fw-card .fw-idx i { display: inline-block; width: 8px; height: 8px; background: var(--accent); border-radius: 1px; }
.fw-card h3 { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.fw-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.fw-visual svg { width: 100%; height: auto; }
.fw-axis { stroke: var(--line-strong); stroke-width: 1; }
.fw-ring { stroke: var(--line); fill: none; stroke-width: 1; }
.fw-poly { fill: rgba(30,111,232,0.08); stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.fw-poly-2 { fill: none; stroke: var(--steel); stroke-width: 1; stroke-dasharray: 3 5; stroke-linejoin: round; }
.fw-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; fill: var(--ink-2); font-weight: 500; }
.fw-label-sub { font-family: var(--font-sans); font-size: 9.5px; fill: var(--steel); }
.fw-center { fill: #fff; stroke: var(--accent); stroke-width: 1.5; }
.fw-center-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; fill: var(--accent); text-anchor: middle; }
.fw-dot { fill: var(--accent); }
.fw-dot-2 { fill: var(--steel); }
.fw-note {
  margin-top: 40px;
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .framework-grid { grid-template-columns: 1fr; }
  .fw-visual { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 560px) { .fw-cards { grid-template-columns: 1fr; } }

/* ---------- sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.sector { background: var(--dark); padding: clamp(28px, 3vw, 44px) clamp(22px, 2.5vw, 36px); min-height: 360px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: background-color 0.35s var(--ease); }
.sector:hover { background: var(--dark-2); }
.sector::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.sector:hover::after { transform: scaleX(1); }
.sector .icon { width: 44px; height: 44px; margin-bottom: auto; color: #7fb0ff; }
.sector .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.sector .s-idx { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--dark-muted); margin: 40px 0 16px; }
.sector h3 { font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; margin-bottom: 12px; }
.sector p { color: var(--dark-muted); font-size: 0.95rem; }
@media (max-width: 1080px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } .sector { min-height: auto; } .sector .icon { margin-bottom: 28px; } .sector .s-idx { margin-top: 0; } }

/* ---------- capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.cap-col { border-top: 2px solid var(--ink); padding-top: 28px; }
.cap-col:nth-child(1) { border-top-color: var(--accent); }
.cap-col .cap-idx { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--steel); margin-bottom: 18px; }
.cap-col h3 { margin-bottom: 8px; }
.cap-col .cap-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; min-height: 3.2em; }
.cap-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), padding-left 0.3s var(--ease);
}
.cap-list li::before { content: ""; width: 5px; height: 5px; background: var(--line-strong); flex: none; transform: translateY(-2px); transition: background-color 0.2s var(--ease); }
.cap-list li:hover { color: var(--ink); padding-left: 4px; }
.cap-list li:hover::before { background: var(--accent); }
@media (max-width: 980px) { .cap-grid { grid-template-columns: 1fr; gap: 56px; } .cap-col .cap-desc { min-height: 0; } }

/* ---------- approach ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 8px; }
.process::before {
  content: ""; position: absolute; top: 22px; left: calc(100% / 12); right: calc(100% / 12);
  height: 1px; background: linear-gradient(90deg, var(--accent), rgba(30,111,232,0.35));
}
.step { padding: 0 clamp(10px, 1.5vw, 20px); position: relative; }
.step .dot {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent);
  display: grid; place-items: center; background: #fff; margin: 0 auto 26px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); position: relative; z-index: 1;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover .dot { background: var(--accent); color: #fff; transform: scale(1.06); }
.step h3 { font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; margin-bottom: 12px; font-weight: 600; }
.step p { font-size: 0.9rem; color: var(--muted); text-align: center; line-height: 1.55; }
@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .process::before { display: none; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 0 0 36px; }
  .step .dot { margin: 0; grid-row: 1 / span 2; }
  .step h3, .step p { text-align: left; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1px; background: var(--line-strong); }
}

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.why { background: var(--navy); padding: clamp(26px, 3vw, 40px); transition: background-color 0.3s var(--ease); }
.why:hover { background: #0e2a53; }
.why .w-idx { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: #6f8bb8; margin-bottom: 28px; }
.why h3 { font-family: var(--font-head); font-size: 0.98rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; color: #fff; }
.why p { color: #b7c3d8; font-size: 0.95rem; }
.why.why-quote { display: flex; flex-direction: column; justify-content: flex-end; background: #0b2244; grid-column: span 2; }
.why.why-quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.3; letter-spacing: -0.015em; color: #fff; font-weight: 500; }
.why.why-quote blockquote span { color: #7fb0ff; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } .why.why-quote { grid-column: auto; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.project { border: 1px solid var(--line); background: #fff; padding: 0; display: flex; flex-direction: column; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.project:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 20px 50px -30px rgba(12,18,32,0.25); }
.project-visual { aspect-ratio: 16 / 9; background: var(--dark); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-visual .pv-line { stroke: rgba(255,255,255,0.35); stroke-width: 1; fill: none; }
.project-visual .pv-bus { stroke: rgba(255,255,255,0.8); stroke-width: 2.5; }
.project-visual .pv-acc { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.project-visual .pv-fill { fill: rgba(30,111,232,0.18); }
.project-visual .pv-node { fill: var(--accent); }
.project-visual .pv-sym { stroke: rgba(255,255,255,0.7); stroke-width: 1; fill: var(--dark); }
.project-body { padding: clamp(22px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project .p-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); display: flex; justify-content: space-between; gap: 12px; }
.project h3 { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600; }
.project p { color: var(--muted); font-size: 0.95rem; }
.project .p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.project .p-tags span { font-size: 0.72rem; letter-spacing: 0.04em; padding: 5px 9px; border: 1px solid var(--line); color: var(--ink-2); border-radius: 2px; }
.confidential { margin-top: 32px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); display: flex; align-items: center; gap: 12px; }
.confidential::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
@media (max-width: 980px) { .project-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- investors ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split .sticky { position: sticky; top: 110px; }
.pill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.pill-list li {
  padding: 14px 16px; border: 1px solid var(--line); background: #fff; font-size: 0.92rem; color: var(--ink-2);
  display: flex; align-items: center; gap: 12px; transition: border-color 0.25s var(--ease);
}
.pill-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: none; }
.pill-list li:hover { border-color: var(--accent); }
.check-list li {
  padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; color: var(--ink-2); font-size: 0.98rem;
}
.check-list li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.statement {
  margin-top: 40px; padding: 28px 32px; background: var(--ink); color: #fff;
  font-family: var(--font-head); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500;
  position: relative;
}
.statement::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .split .sticky { position: static; } }
@media (max-width: 520px) { .pill-list { grid-template-columns: 1fr; } }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); margin-top: 8px; }
.partner-item { background: var(--dark); padding: 26px 24px; font-size: 0.95rem; color: #d3d9e3; display: flex; gap: 14px; align-items: flex-start; transition: background-color 0.3s var(--ease); }
.partner-item:hover { background: var(--dark-2); }
.partner-item .n { font-family: var(--font-mono); font-size: 0.7rem; color: #6ea2f5; letter-spacing: 0.1em; margin-top: 4px; flex: none; }
.partner-quote { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.partner-quote p { font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.3; letter-spacing: -0.015em; color: #fff; font-weight: 500; max-width: 30ch; }
@media (max-width: 1080px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .partner-quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- sustainability ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric { background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: background-color 0.3s var(--ease); }
.metric:hover { background: var(--paper); }
.metric .m-bar { height: 3px; width: 100%; background: var(--paper-2); position: relative; overflow: hidden; }
.metric .m-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); width: var(--w, 50%); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.is-visible .metric .m-bar i { transform: scaleX(1); }
.metric h3 { font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.metric p { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 1080px) { .metric-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .metric-grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); }
.about-copy p + p { margin-top: 20px; }
.vision {
  padding: clamp(32px, 4vw, 48px);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vision::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.9), transparent 70%);
}
.vision > * { position: relative; }
.vision .eyebrow { color: #7fb0ff; }
.vision blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.vision .vals { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9fb7e0; }
.vision .vals span::before { content: "— "; color: var(--accent); }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .h-section { color: #fff; max-width: 18ch; margin: 0 auto 24px; }
.cta p { max-width: 60ch; margin: 0 auto 40px; color: var(--dark-muted); font-size: 1.1rem; }
.cta .tag { margin-top: 56px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #6f8bb8; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.contact-block + .contact-block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-block .lbl { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.contact-block .val { font-size: 1.05rem; color: var(--ink); line-height: 1.5; }
.contact-block .val a { border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s var(--ease); }
.contact-block .val a:hover { border-color: var(--accent); }
.contact-block .company { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em; margin-bottom: 6px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.form .note { font-size: 0.8rem; color: var(--steel); max-width: 40ch; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form .actions .btn { width: 100%; justify-content: center; } }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding-block: 56px 32px; border-top: 1px solid var(--dark-line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer-brand svg { height: 40px; width: auto; margin-bottom: 20px; }
.footer-brand svg { color: #fff; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-brand .tag { margin-top: 20px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #6f8bb8; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fa6c9; margin-bottom: 18px; font-weight: 500; }
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a { color: #c7cdd8; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.8rem; }
.footer-bottom .vals { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .metric .m-bar i { transform: scaleX(1); transition: none; }
}

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 10px 14px; z-index: 200; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-size: 0.9rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 300;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- intro video ---------- */
.hero-watch {
  display: inline-flex; align-items: center; gap: 12px;
  margin: -24px 0 40px; color: #d6dce6; font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}
.hero-watch em { font-style: normal; font-family: var(--font-mono); font-size: 0.78rem; color: #8fa6c9; margin-left: 6px; }
.hero-watch-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28);
  display: grid; place-items: center; color: #fff;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-watch-icon svg { width: 14px; height: 14px; margin-left: 2px; }
.hero-watch:hover { color: #fff; }
.hero-watch:hover .hero-watch-icon { background: var(--accent); border-color: var(--accent); }

.section.intro { padding-top: clamp(56px, 7vw, 96px); isolation: isolate; overflow: hidden; }
.section.intro::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 45%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 45%, transparent 80%);
  z-index: -1;
}
.section.intro::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: radial-gradient(ellipse 55% 60% at 50% 100%, rgba(30,111,232,0.10), transparent 70%);
  z-index: -1;
}
.intro-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px);
}
.intro-head .lead { max-width: 56ch; }
@media (max-width: 860px) { .intro-head { grid-template-columns: 1fr; align-items: start; } }

.intro-player {
  margin: 0; position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #05080d; border: 1px solid var(--dark-line); overflow: hidden;
}
.intro-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #05080d; }
.intro-player.is-playing video { object-fit: contain; }
.intro-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: flex-start; gap: 20px;
  padding: clamp(20px, 3.5vw, 44px); text-align: left; color: #fff;
  background: linear-gradient(180deg, rgba(5,8,13,0) 45%, rgba(5,8,13,0.72) 100%);
  transition: opacity 0.35s var(--ease);
}
.intro-play-btn {
  width: clamp(56px, 6vw, 76px); height: clamp(56px, 6vw, 76px); border-radius: 50%;
  background: var(--accent); display: grid; place-items: center; flex: none;
  box-shadow: 0 0 0 0 rgba(30,111,232,0.45);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
  animation: introRing 2.6s ease-out infinite;
}
.intro-play-btn svg { width: 42%; height: 42%; margin-left: 6%; }
.intro-play:hover .intro-play-btn { transform: scale(1.06); background: var(--accent-deep); }
.intro-play-meta { display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.intro-play-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; }
.intro-play-sub { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #a9bbd8; }
.intro-player.is-playing .intro-play { opacity: 0; pointer-events: none; }
@keyframes introRing {
  0% { box-shadow: 0 0 0 0 rgba(30,111,232,0.45); }
  80%, 100% { box-shadow: 0 0 0 18px rgba(30,111,232,0); }
}
@media (prefers-reduced-motion: reduce) { .intro-play-btn { animation: none; } }
@media (max-width: 560px) {
  .intro-play { gap: 14px; }
  .hero-watch { margin-top: -20px; }
}

/* ---------- enquiry form states ---------- */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form .btn.is-sending svg { animation: sendNudge 0.9s ease-in-out infinite; }
@keyframes sendNudge { 50% { transform: translateX(4px); } }
.form-done {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--paper);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.form-done:focus { outline: none; }
.form-done-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.form-done-icon svg { width: 22px; height: 22px; }
.form-done .btn { margin-top: 8px; }
