/* ============================================================
   Diamond Technologies — redesign
   Palette: logo blue #2B5CA8 · logo green #63BE47 · white
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2b5ca8;
  --blue-dark: #234c8c;
  --navy: #0e2140;
  --navy-line: #2c4368;
  --green: #63be47;
  --green-light: #8fd778;
  --green-dark: #3f8a28;
  --ink: #101828;
  --body: #475467;
  --slate: #3e4858;
  --dim: #5a6472;
  --muted: #7a8494;
  --line: #e7ebf0;
  --row-line: #dde3ea;
  --border: #c9d2de;
  --card-line: #e1e6ed;
  --bg-soft: #f7f9fb;
  --pad-x: clamp(20px, 4.5vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: "Inter Tight", "Inter", sans-serif; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

::selection { background: #c9e5bc; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- kickers, chips, headings ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.kicker.blue { color: var(--blue); }
.kicker.on-dark { color: var(--green-light); }

.diamond {
  width: 10px;
  height: 10px;
  background: var(--green);
  transform: rotate(45deg);
  flex: none;
}

.display-xl {
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.display-lg {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.display-md {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.text-blue { color: var(--blue); }
.hl-green { box-shadow: inset 0 -0.14em #a5db8f; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
}

.lede { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 720px; }
.copy { font-size: 16px; line-height: 1.68; color: var(--body); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 15px 26px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-green { background: var(--green); color: var(--navy); font-weight: 700; }
.btn-green:hover { background: var(--green-light); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1b3a6b; color: #fff; }
.btn-outline-navy { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); padding: 13.5px 26px; }
.btn-outline-navy:hover { background: rgba(14, 33, 64, 0.08); color: var(--navy); }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; padding: 13.5px 26px; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 11px 20px; font-size: 14px; font-weight: 600; }

.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand-name {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: #4a5568; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  font-weight: 650;
  color: var(--ink);
  border-bottom: 2px solid var(--green);
  padding-bottom: 3px;
}
.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a {
  display: block;
  padding: 15px var(--pad-x);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header.open .mobile-menu { display: block; }

/* ---------- hero (home) ---------- */

.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 20, 38, 0.94) 0%, rgba(9, 20, 38, 0.82) 38%, rgba(14, 33, 64, 0.38) 100%);
}
.hero .container { position: relative; }
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: clamp(72px, 9vw, 128px) 0;
  max-width: 840px;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 74px);
  font-weight: 750;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fff;
}
.mark-green {
  background: var(--green);
  color: var(--navy);
  padding: 0 10px;
  display: inline-block;
}
.hero-sub { font-size: 18.5px; line-height: 1.6; color: #c6d3e4; max-width: 600px; }
.hero-note { font-size: 13px; color: #8da0bc; }

/* ---------- ticker ---------- */

.ticker {
  background: var(--green);
  padding: 15px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  flex-wrap: wrap;
}
.ticker .item {
  font-family: "Inter Tight", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.ticker .dot { color: var(--navy); font-size: 9px; }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section-tight { padding: 72px 0 48px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-head .stack, .stack { display: flex; flex-direction: column; gap: 14px; }
.section-link { font-size: 14.5px; font-weight: 600; white-space: nowrap; }

/* ---------- service rows (home) ---------- */

.svc-rows { border-bottom: 2px solid var(--ink); }
.svc-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--row-line);
  color: var(--ink);
}
.svc-row:first-child { border-top: 2px solid var(--ink); }
.svc-row:hover { background: #f7faf5; color: var(--ink); }
.svc-num {
  font-family: "Inter Tight", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--blue);
}
.svc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.svc-body h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -0.01em; }
.svc-body p { font-size: 15.5px; line-height: 1.55; color: var(--dim); }
.svc-arrow { font-size: 22px; color: var(--green); }

/* ---------- navy bands ---------- */

.band-navy { background: var(--navy); color: #fff; padding: 76px 0; }
.band-navy .dim { color: #c6d3e4; font-size: 16px; line-height: 1.65; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.method-col {
  border-left: 1px solid var(--navy-line);
  padding: 6px 28px 2px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.method-col:first-child { border-left: 2px solid var(--green); }
.phase { font-family: "Inter Tight", sans-serif; font-size: 14px; font-weight: 700; color: var(--green-light); }
.method-col h3 { font-size: 19px; font-weight: 650; color: #fff; }
.method-col p { font-size: 14px; line-height: 1.55; color: #9fb0c8; }

.band-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ---------- splits & photos ---------- */

.split {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.photo-card { border: 1px solid var(--card-line); border-radius: 10px; overflow: hidden; margin: 0; }
.photo-card img { width: 100%; height: 440px; object-fit: cover; }

.photo-banner { position: relative; }
.photo-banner img { width: 100%; height: clamp(280px, 30vw, 420px); object-fit: cover; }
.banner-caption {
  position: absolute;
  left: var(--pad-x);
  bottom: 22px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  color: #1a2433;
}

/* ---------- check lists ---------- */

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; stroke: var(--green-dark); }
.check-list.bold li { align-items: center; font-size: 15px; font-weight: 600; }
.check-list.bold svg { width: 17px; height: 17px; margin-top: 0; }
.check-list .txt { font-size: 14.5px; line-height: 1.5; color: var(--slate); }

/* ---------- page head ---------- */

.page-head {
  padding-top: 72px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.page-head h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 980px;
}

/* ---------- engagement flow card ---------- */

.flow-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 40px 40px 44px;
  color: #fff;
}
.flow-label {
  margin-bottom: 22px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
}
.flow-row {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--navy-line);
  font-size: 15px;
  color: #fff;
}
.flow-row:last-child { border-bottom: none; }
.flow-phase {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--green-light);
  width: 74px;
  flex: none;
}
.flow-row strong { font-weight: 650; }

/* ---------- service line bodies (services page spine) ---------- */

.line-body { display: flex; flex-direction: column; gap: 14px; }
.line-body h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.line-body > p { font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 560px; }

/* ---------- cards (about) ---------- */

.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 8px;
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.p-card.top-blue { border-top: 2px solid var(--blue); }
.p-card.top-green { border-top: 2px solid var(--green); }
.p-card .num { font-family: "Inter Tight", sans-serif; font-size: 14px; font-weight: 800; color: var(--blue); }
.p-card.top-green .num { color: var(--green-dark); }
.p-card h3 { font-size: 19px; font-weight: 700; }
.p-card p { font-size: 14.5px; line-height: 1.6; color: var(--dim); }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px); }
.cols-2 .col { display: flex; flex-direction: column; gap: 16px; }

/* ---------- green CTA ---------- */

.cta-green { background: var(--green); padding: 76px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
}
.cta-inner .stack { max-width: 700px; gap: 12px; }
.cta-green h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.cta-green p { font-size: 17px; line-height: 1.6; color: #173a17; }

/* ---------- proof strip ---------- */

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.proof.cols-4 { grid-template-columns: repeat(4, 1fr); }
.proof p { display: flex; flex-direction: column; gap: 4px; }
.proof strong { font-family: "Inter Tight", sans-serif; font-size: 16.5px; font-weight: 700; }
.proof span { font-size: 13.5px; color: var(--muted); }
.proof-wrap { border-bottom: 1px solid var(--line); }
.proof-wrap.top { border-top: 1px solid var(--line); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 72px;
}
.scope-card {
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.scope-card h2, .contact-form h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.015em; }
.scope-card .photo-card img { height: 240px; }
.scope-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-intro { font-size: 13px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 92, 168, 0.12);
}
.response-time { font-size: 13.5px; color: var(--slate); }
.submit-note { font-size: 13px; line-height: 1.6; color: var(--muted); }
.form-message { font-size: 14px; font-weight: 600; color: var(--green-dark); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: #fff; padding: 52px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px 48px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.logo-chip { background: #fff; border-radius: 6px; padding: 4px 5px; display: inline-flex; }
.logo-chip img { height: 20px; width: auto; }
.footer-brand .brand-name { color: #fff; font-size: 17px; }
.footer-copy { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: #9fb0c8; max-width: 340px; }
.footer-cols { display: flex; gap: clamp(48px, 7vw, 96px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f7396;
}
.footer-col a, .footer-col span { font-size: 14px; color: #c6d3e4; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--navy-line);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: #5f7396; }
.status-ok { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green-light); }
.ping { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .split, .band-split, .cols-2, .contact-grid { grid-template-columns: 1fr; }
  .svc-body { grid-template-columns: 1fr; gap: 6px; }
  .svc-row { grid-template-columns: 64px 1fr auto; gap: 20px; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .proof, .proof.cols-4 { grid-template-columns: 1fr 1fr; }
  .photo-card img { height: 320px; }
}

@media (max-width: 820px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-col { border-left-width: 2px; }
  .proof, .proof.cols-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .scope-card, .contact-form { padding: 26px; }
}

/* ============================================================
   Motion layer — marquee, scroll reveal, magnetic, dot-wave
   ============================================================ */

/* ---------- scrolling marquee (replaces static ticker) ---------- */

.marquee {
  background: var(--green);
  padding: 15px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 12px 26px;
  padding-right: 26px;
  flex: none;
}
.marquee .item {
  font-family: "Inter Tight", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.marquee .dot { color: var(--navy); font-size: 9px; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---------- scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- magnetic buttons ---------- */

[data-magnetic] { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }

/* ---------- classroom technology band + dot-wave ---------- */

.equip {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 88px 0;
}
.equip .container { position: relative; z-index: 1; }
.dotwave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 84%, transparent);
}
.equip-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.equip .dim { color: #c6d3e4; font-size: 16.5px; line-height: 1.66; max-width: 540px; }
.equip .check-list.on-dark .txt { color: #d3deee; }
.equip .check-list.on-dark svg { stroke: var(--green-light); }
.equip .chips.on-dark .chip {
  border-color: rgba(255, 255, 255, 0.22);
  color: #dbe6f4;
  background: rgba(255, 255, 255, 0.04);
}

.equip-photo {
  position: relative;
  margin: 0;
}
.equip-photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.75);
}
.equip-photo::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -26px;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(99, 190, 71, 0.32), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.device-frame {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(160deg, #14294a, #0a1830);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.device-frame::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -26px;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(99, 190, 71, 0.32), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.device-frame .screen {
  border-radius: 9px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.device-frame .screen img { width: 100%; height: 100%; object-fit: cover; }
.device-bar {
  display: block;
  width: 84px;
  height: 5px;
  margin: 12px auto 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 960px) {
  .equip-grid { grid-template-columns: 1fr; }
  .equip-visual { order: -1; }
}

/* ---------- navy bands with dot-wave ---------- */

.band-navy.has-wave { position: relative; overflow: hidden; }
.band-navy.has-wave .container { position: relative; z-index: 1; }

/* ---------- dark page head (contact) ---------- */

.page-head-dark {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.page-head-dark .container { position: relative; z-index: 1; }
.page-head-dark .page-head { padding-top: 84px; padding-bottom: 76px; }
.page-head-dark h1 { color: #fff; }
.page-head-dark .lede { color: #c6d3e4; }
.page-head-dark .chip {
  border-color: rgba(255, 255, 255, 0.22);
  color: #dbe6f4;
  background: rgba(255, 255, 255, 0.04);
}
.contact-grid { padding-top: 56px; }

/* ---------- spine timeline (services) ---------- */

.spine { position: relative; padding-left: 84px; }
.spine-line {
  position: absolute;
  left: 24px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--row-line);
  border-radius: 2px;
}
.spine-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--green), var(--blue));
  border-radius: 2px;
}
.spine-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding: 46px 0;
}
.spine-item + .spine-item { border-top: 1px solid var(--row-line); }
.spine-node {
  position: absolute;
  left: -60px;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--row-line);
  font-family: "Inter Tight", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}
.spine-item.active .spine-node {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
  box-shadow: 0 0 0 7px rgba(99, 190, 71, 0.16);
}
.spine-item .photo-card img { height: 260px; }
.spine-device { max-width: 420px; }
.spine-device .screen img { object-fit: cover; }

@media (max-width: 1160px) {
  .spine-item { grid-template-columns: 1fr; }
  .spine-item .photo-card, .spine-device { max-width: 560px; }
}
@media (max-width: 640px) {
  .spine { padding-left: 56px; }
  .spine-line { left: 15px; }
  .spine-node { left: -56px; width: 32px; height: 32px; font-size: 12px; }
}

/* ---------- era strip (about) ---------- */

.era-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.era {
  position: relative;
  border-top: 2px solid var(--row-line);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.era::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--blue);
  transform: rotate(45deg);
}
.era.now { border-top-color: var(--green); }
.era.now::before { background: var(--green); }
.era-year {
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.era.now .era-year { color: var(--green-dark); }
.era h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; }
.era p { font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.js .era-row .era:nth-child(2) { transition-delay: 0.08s; }
.js .era-row .era:nth-child(3) { transition-delay: 0.16s; }
.js .era-row .era:nth-child(4) { transition-delay: 0.24s; }
.era-note {
  margin-top: 44px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 760px;
}

@media (max-width: 960px) {
  .era-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .era-row { grid-template-columns: 1fr; }
}

/* ---------- principles (about, replaces cards) ---------- */

.principles { border-bottom: 2px solid var(--ink); }
.principle {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--row-line);
  align-items: start;
}
.principle:first-child { border-top: 2px solid var(--ink); }
.p-num {
  font-family: "Inter Tight", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.p-num.green { color: var(--green-dark); }
.principle h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.principle p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--body); max-width: 640px; }

@media (max-width: 640px) {
  .principle { grid-template-columns: 52px 1fr; gap: 18px; }
  .p-num { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  [data-magnetic] { transition: none; }
  .spine-node { transition: none; }
  html { scroll-behavior: auto; }
}
