/* ===== styles.css ===== */
:root {
  --navy: #07172f;
  --navy-2: #0d2448;
  --blue: #1268ff;
  --cyan: #00a6ff;
  --orange: #ff8a1f;
  --green: #14b86a;
  --ink: #152033;
  --muted: #5f6b7a;
  --line: #dbe4ef;
  --soft: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 23, 47, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #061226;
  line-height: 1.6;
  background-image: radial-gradient(circle at 20% 0%, rgba(18,104,255,.10), transparent 25%), radial-gradient(circle at 80% 10%, rgba(255,138,31,.06), transparent 22%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 23, 47, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-header .brand { color: white; }
.site-header .nav-links a { color: #d8e6f8; }
.site-header .nav-links a:hover, .site-header .nav-links a.active { background: rgba(255,255,255,.10); color: white; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 850; color: var(--navy); letter-spacing: -0.025em; }
.brand img { width: 42px; height: 42px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 12px; color: #314158; font-weight: 700; border-radius: 999px; }
.nav-links a:hover, .nav-links a.active { background: #edf5ff; color: var(--blue); }
.menu-toggle { display: none; border: 0; background: var(--navy); color: white; border-radius: 12px; padding: 10px 12px; font-weight: 800; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 999px; font-weight: 850; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; box-shadow: 0 14px 28px rgba(18,104,255,.26); }
.btn-secondary { background: white; color: var(--navy); border-color: var(--line); }
.btn-orange { background: var(--orange); color: #1d1206; }
.btn-dark { background: var(--navy); color: white; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(0,166,255,.28), transparent 25%),
    radial-gradient(circle at 18% 75%, rgba(255,138,31,.16), transparent 29%),
    linear-gradient(135deg, #061226 0%, #07172f 45%, #0d2448 100%);
  padding: 96px 0 38px;
  color: #dbe7f8;
}
.hero::before, .pattern::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .34;
  background-image: linear-gradient(rgba(18,104,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(18,104,255,.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,138,31,.15); }
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.65rem, 6.6vw, 5.35rem); margin-top: 16px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.24rem; }
.hero h1 { color: white; text-wrap: balance; }
.hero .lead { color: #c7d7ef; }
.hero .lead strong { color: white; }
.hero .eyebrow { color: #8ec7ff; }
p { margin-top: 12px; }
.lead { font-size: clamp(1.06rem, 2.1vw, 1.24rem); color: #33445c; max-width: 680px; margin: 20px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; color: #a8bad3; font-size: .96rem; }
.hero-card { background: rgba(255,255,255,.84); border: 1px solid rgba(219,228,239,.9); border-radius: 32px; padding: 18px; box-shadow: var(--shadow); position: relative; }
.hero-card img { border-radius: 24px; width: 100%; }
.hero-badge { position: absolute; left: 34px; top: 34px; background: rgba(7,23,47,.92); color: white; padding: 12px 14px; border-radius: 16px; box-shadow: var(--shadow); font-weight: 850; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat { background: var(--navy); color: white; padding: 14px; border-radius: 18px; }
.stat strong { display: block; font-size: 1.35rem; color: #fff; }
.stat span { color: #cbd8ee; font-size: .86rem; }
.trust-strip { position: relative; margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 10px 24px rgba(7,23,47,.07); }
.trust-item strong { display: block; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: .92rem; }
.hero .trust-item { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); box-shadow: none; }
.hero .trust-item strong { color: white; }
.hero .trust-item span { color: #afc2dc; }

.section { padding: 76px 0; position: relative; background: #ffffff; }
.section.soft { background: #f4f8fc; }
.section.dark { background: radial-gradient(circle at 85% 15%, rgba(18,104,255,.32), transparent 28%), linear-gradient(135deg, var(--navy), #061226); color: #dbe7f8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 32px; }
.section-head p { max-width: 680px; color: var(--muted); margin: 12px 0 0; }
.section.dark .section-head p, .section.dark p { color: #b9c8de; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 26px rgba(7,23,47,.06); }
.card.highlight { border-top: 5px solid var(--blue); }
.card.dark-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); box-shadow: none; }
.icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; background: #eaf4ff; color: var(--blue); font-size: 1.35rem; margin-bottom: 14px; }
.kicker { color: var(--orange); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #eef6ff; color: #14458f; font-weight: 750; font-size: .86rem; }

.feature { display: grid; grid-template-columns: .88fr 1.12fr; gap: 36px; align-items: center; }
.feature.reverse { grid-template-columns: 1.12fr .88fr; }
.feature img, .photo-card img { border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 24px; height: 24px; display: grid; place-items: center; background: #eaf8ef; color: #168441; border-radius: 50%; font-weight: 900; }
.timeline { border-left: 3px solid #d7e7ff; padding-left: 24px; display: grid; gap: 18px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 4px solid white; box-shadow: 0 0 0 2px #d7e7ff; }
.roadmap { counter-reset: step; }
.roadmap .card { position: relative; padding-top: 54px; }
.roadmap .card::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: white; display: grid; place-items: center; font-weight: 900; }

.info-band { background: white; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-band div { padding: 14px; border-radius: 18px; background: #f7fbff; }
.info-band strong { color: var(--navy); display: block; }

.cta { background: linear-gradient(135deg, var(--navy), #0d3472); color: white; border-radius: 34px; padding: 38px; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; overflow: hidden; position: relative; }
.cta h2 { color: white; }
.cta p { color: #c5d4eb; margin: 12px 0 0; }

.page-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 10%, rgba(0,166,255,.24), transparent 28%), linear-gradient(135deg, #061226, #07172f 58%, #0d2448); padding: 82px 0 58px; border-bottom: 1px solid rgba(255,255,255,.12); color: #c7d7ef; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(142,199,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(142,199,255,.14) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at 70% 20%, black, transparent 72%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: white; }
.page-hero p { max-width: 790px; color: #c7d7ef; }
.page-hero .eyebrow { color: #8ec7ff; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-placeholder { border: 1px dashed #9db7d7; background: #f8fbff; border-radius: var(--radius); padding: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font: inherit; background: white; }
.field textarea { min-height: 110px; resize: vertical; }
.faq { display: grid; gap: 14px; }
details { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
summary { cursor: pointer; font-weight: 850; color: var(--navy); }

.footer { background: #061226; color: #c7d4e8; padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.footer a { color: #e7f0ff; }
.footer h3 { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 20px; color: #93a5bf; font-size: .92rem; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 18px; right: 18px; top: 76px; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 12px; }
  .site-header .nav-links a { color: #314158; }
  .site-header .nav-links a:hover, .site-header .nav-links a.active { background: #edf5ff; color: var(--blue); }
  .hero-grid, .feature, .feature.reverse, .contact-panel, .cta { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .footer-grid, .trust-strip, .info-band { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head { display: block; }
}
@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding: 54px 0 28px; }
  .section { padding: 54px 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .stat-row, .trust-strip, .info-band { grid-template-columns: 1fr; }
  .brand span { max-width: 180px; line-height: 1.1; }
  .cta { padding: 26px; }
  .hero-badge { position: static; margin-bottom: 12px; }
  .hero-actions .btn { width: 100%; }
  h1 { font-size: clamp(2.35rem, 10.5vw, 3.45rem); }
}

/* ===== telisky-inspired.css ===== */
:root { color-scheme: dark; }

/* Telisky-inspired product-console visual treatment, adapted for robotics education. */
.robotics-hero .hero-grid,
.robotics-hero .trust-strip { position: relative; z-index: 2; }
.physics-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .20;
  mix-blend-mode: screen;
}
.robotics-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6,18,38,.94) 0%, rgba(6,18,38,.78) 42%, rgba(6,18,38,.88) 100%);
}

.robot-console {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  padding: 14px;
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.console-topbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dceafe;
  padding: 0 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.console-topbar strong { margin-left: 8px; color: white; }
.console-topbar em { margin-left: auto; color: #8fa5c3; font-style: normal; font-size: .86rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; } .dot.amber { background: #ffbd2e; } .dot.green { background: #28c840; }
.console-grid { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding-top: 14px; }
.console-side {
  background: rgba(6,18,38,.72);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #9fb2cc;
  font-size: .9rem;
}
.console-logo { width: 42px; height: 42px; margin-bottom: 8px; }
.console-side span { padding: 8px 9px; border-radius: 12px; }
.console-side .active-pill { background: rgba(18,104,255,.22); color: white; }
.console-main { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.status-card, .metric-card, .field-card, .code-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(219,228,239,.7);
  border-radius: 20px;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.status-card { padding: 16px; display: flex; justify-content: space-between; align-items: start; }
.status-card.wide { grid-column: 1 / -1; }
.status-card strong { display: block; font-size: 1.35rem; color: var(--navy); }
.status-card b { background: #e9fff4; color: #087344; border-radius: 999px; padding: 6px 9px; font-size: .76rem; }
.mini-label, .metric-card span, .code-card span { display: block; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.metric-card { padding: 16px; }
.metric-card strong { display: block; color: var(--navy); margin-top: 8px; line-height: 1.2; }
.field-card { grid-row: span 2; min-height: 190px; position: relative; overflow: hidden; background: #f8fbff; }
.field-grid { position: absolute; inset: 0; background-image: linear-gradient(#d8e8fb 1px, transparent 1px), linear-gradient(90deg, #d8e8fb 1px, transparent 1px); background-size: 30px 30px; }
.robot-block { position: absolute; width: 56px; height: 38px; border-radius: 10px; transform: rotate(-12deg); box-shadow: 0 10px 22px rgba(7,23,47,.22); }
.robot-block.blue { left: 34px; bottom: 38px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.robot-block.orange { right: 36px; top: 42px; background: var(--orange); transform: rotate(15deg); }
.goal-ring { position: absolute; width: 72px; height: 72px; border: 10px solid rgba(18,104,255,.2); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.code-card { padding: 14px; background: #07172f; color: #dbe7f8; }
.code-card span { color: #8ec7ff; }
.code-card pre { margin: 10px 0 0; white-space: pre-wrap; font: 750 .86rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: #dceafe; }
.console-stats { margin-top: 14px; }
.console-stats .stat { background: rgba(6,18,38,.85); border: 1px solid rgba(255,255,255,.10); }

.logo-style-strip { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.pillars-section { background: radial-gradient(circle at 86% 12%, rgba(18,104,255,.12), transparent 30%), linear-gradient(180deg, #08172f, #0b1f3d); color: #c7d7ef; }
.pillars-section h2, .pillars-section h3 { color: white; }
.pillars-section .section-head p { color: #afc2dc; }
.pillar-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 26px 70px rgba(0,0,0,.20);
  backdrop-filter: blur(14px);
}
.pillar-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -70px; top: -70px; background: rgba(18,104,255,.18); }
.dark-pillar { background: linear-gradient(135deg, rgba(7,23,47,.95), rgba(13,52,114,.95)); color: #d7e6fb; border-color: rgba(142,199,255,.22); }
.dark-pillar h3 { color: white; }
.dark-pillar p { color: #b9c8de; }
.pillar-number { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; background: #edf5ff; color: var(--blue); font-weight: 950; margin-bottom: 20px; }
.dark-pillar .pillar-number { background: rgba(255,255,255,.12); color: #8ec7ff; }
.center-tags { justify-content: center; margin-top: 24px; }

@media (max-width: 920px) {
  .console-grid, .pillar-layout { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .physics-canvas { opacity: .12; }
}
@media (max-width: 620px) {
  .console-main { grid-template-columns: 1fr; }
  .status-card.wide { grid-column: auto; }
  .field-card { min-height: 130px; }
  .code-card { display: none; }
  .console-stats { grid-template-columns: 1fr; }
  .console-stats .stat:nth-child(3) { display: none; }
  .console-topbar em { display: none; }
}

/* ===== photo-system.css ===== */
.hero-photo-system {
  position: relative;
  display: grid;
  gap: 14px;
}
.photo-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 32px 90px rgba(0,0,0,.34);
  background: #0b1f3d;
  min-height: 470px;
}
.photo-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,18,38,.08), rgba(6,18,38,.62));
  pointer-events: none;
}
.photo-shell img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.04);
}
.photo-overlay-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(7,23,47,.82);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}
.photo-overlay-card span { color: #b8c8df; font-size: .84rem; }
.photo-overlay-card strong { font-size: 1.05rem; }
.photo-overlay-card.top { top: 18px; left: 18px; }
.photo-overlay-card.bottom { right: 18px; bottom: 18px; max-width: 310px; }
.mini-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mini-proof-grid div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  padding: 16px;
}
.mini-proof-grid strong { display: block; color: white; font-size: 1.45rem; line-height: 1; }
.mini-proof-grid span { display: block; color: #afc2dc; margin-top: 6px; font-size: .9rem; }
.image-credit {
  font-size: .78rem;
  color: #8294af;
}
.image-credit a { text-decoration: underline; }

@media (max-width: 920px) {
  .photo-shell, .photo-shell img { min-height: 360px; }
}
@media (max-width: 620px) {
  .photo-shell, .photo-shell img { min-height: 260px; }
  .photo-overlay-card { position: static; margin: 10px; }
  .photo-shell { display: flex; flex-direction: column; }
  .photo-shell::after { display: none; }
  .photo-shell img { order: 1; }
  .photo-overlay-card.top { order: 2; }
  .photo-overlay-card.bottom { order: 3; }
  .mini-proof-grid { grid-template-columns: 1fr; }
}

/* ===== home-refactor.css ===== */
.compact-hero { padding: 78px 0 52px; }
.compact-hero .hero-grid { align-items: center; }
.compact-hero h1 { font-size: clamp(2.75rem, 6vw, 5.1rem); line-height: .98; }
.compact-hero .lead { max-width: 640px; }
.compact-hero .physics-canvas { opacity: .32; }
.compact-hero::after { background: linear-gradient(90deg, rgba(6,18,38,.92) 0%, rgba(6,18,38,.72) 46%, rgba(6,18,38,.80) 100%); }

.proof-section { background: #07172f; color: #c7d7ef; padding: 28px 0 72px; }
.proof-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .75fr); gap: 14px; }
.proof-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  padding: 22px;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.proof-card h2 { color: white; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.proof-card p { margin-bottom: 0; color: #afc2dc; }
.proof-card strong { color: white; font-size: 1.15rem; }
.proof-card span { color: #afc2dc; margin-top: 8px; }
.primary-proof { background: linear-gradient(135deg, rgba(18,104,255,.22), rgba(255,255,255,.08)); }

.program-home-section { padding: 72px 0; }
.practice-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.practice-flow article {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  padding: 24px;
  min-height: 210px;
}
.practice-flow span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(18,104,255,.24);
  color: #8ec7ff;
  font-weight: 900;
  margin-bottom: 26px;
}
.practice-flow h3 { color: white; }
.practice-flow p { color: #b9c8de; }

.mentor-proof-section { background: #ffffff; }
.split-proof { display: grid; grid-template-columns: 1fr .85fr; gap: 34px; align-items: center; }
.split-proof p { color: var(--muted); font-size: 1.05rem; }
.parent-card {
  border-radius: 28px;
  padding: 30px;
  background: #f7fbff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.final-home-cta { background: #f4f8fc; }

@media (max-width: 920px) {
  .proof-grid, .practice-flow, .split-proof { grid-template-columns: 1fr 1fr; }
  .primary-proof { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .compact-hero { padding: 54px 0 38px; }
  .compact-hero h1 { font-size: clamp(2.45rem, 11vw, 3.2rem); }
  .compact-hero .physics-canvas { opacity: .18; }
  .proof-grid, .practice-flow, .split-proof { grid-template-columns: 1fr; }
  .proof-section { padding-top: 18px; }
  .practice-flow article { min-height: auto; }
}

/* ===== engineering-theme.css ===== */
/* Final dark/practical engineering theme overrides.
   Goal: keep the Telisky-inspired dark flow consistent and reduce disruptive white bands. */
:root {
  --eng-bg: #061226;
  --eng-panel: #0b1b34;
  --eng-panel-2: #10233f;
  --eng-line: rgba(142, 199, 255, 0.18);
  --eng-text: #e7f0ff;
  --eng-muted: #aebfd7;
}

body { background: var(--eng-bg); color: var(--eng-text); }

.section,
.section.soft,
.final-home-cta,
.mentor-proof-section,
.pillars-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(18,104,255,.10), transparent 28%),
    linear-gradient(180deg, #061226 0%, #07172f 100%);
  color: var(--eng-text);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(142,199,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,199,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 72%);
}
.section > .container { position: relative; }

.section h2,
.section h3,
.mentor-proof-section h2,
.mentor-proof-section h3,
.final-home-cta h2 { color: #ffffff; }

.section p,
.section-head p,
.split-proof p,
.mentor-proof-section p { color: var(--eng-muted); }

.card,
.parent-card,
.form-placeholder,
details,
.proof-card,
.pillar-card,
.trust-item,
.info-band,
.contact-info-band {
  background: rgba(255,255,255,.065);
  border: 1px solid var(--eng-line);
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  color: var(--eng-text);
  backdrop-filter: blur(14px);
}

.card.highlight { border-top-color: var(--blue); }
.card p,
.parent-card p,
.proof-card p,
.form-placeholder p { color: var(--eng-muted); }
.card h2,
.card h3,
.parent-card h3,
.form-placeholder h2 { color: #fff; }

.check-list li::before { background: rgba(20,184,106,.16); color: #58e39a; }
.check-list strong { color: #fff; }

.icon {
  background: rgba(18,104,255,.16);
  color: #8ec7ff;
}

.tag {
  background: rgba(18,104,255,.16);
  border: 1px solid rgba(142,199,255,.18);
  color: #cfe4ff;
}

.info-band div,
.contact-info-band div {
  background: rgba(6,18,38,.52);
  border: 1px solid rgba(142,199,255,.14);
}
.info-band strong,
.contact-info-band strong { color: #fff; }
.info-band span,
.contact-info-band span { color: var(--eng-muted); }

.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,.08);
  border-color: rgba(142,199,255,.22);
  color: #fff;
}
.field input::placeholder,
.field textarea::placeholder { color: #91a3bd; }

/* Practical engineering visual language */
.kicker,
.eyebrow,
.mini-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .11em;
}

.practice-flow article,
.proof-card,
.parent-card,
.card {
  position: relative;
  overflow: hidden;
}
.practice-flow article::after,
.proof-card::after,
.parent-card::after,
.card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(142,199,255,.13);
  border-radius: 50%;
  pointer-events: none;
}

.cta {
  border: 1px solid rgba(142,199,255,.22);
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
}

.footer { border-top: 1px solid rgba(142,199,255,.16); }

@media (max-width: 620px) {
  .section::before { opacity: .10; }
}

/* ===== lab-palette.css ===== */
/* P2 color prototype: robotics lab + blueprint accents, without layout changes. */
:root {
  --lab-bg: #f4f6f8;
  --lab-paper: #fbfaf6;
  --lab-panel: #ffffff;
  --lab-ink: #17202a;
  --lab-muted: #5f6b7a;
  --lab-steel: #c7d0d9;
  --lab-graphite: #111827;
  --lab-blueprint: #163b5c;
  --lab-blue: #2563eb;
  --lab-orange: #f97316;
  --lab-green: #16a34a;
  --shadow: 0 18px 44px rgba(17, 24, 39, .10);
}

body {
  color: var(--lab-ink);
  background:
    linear-gradient(rgba(22, 59, 92, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 92, .035) 1px, transparent 1px),
    var(--lab-bg);
  background-size: 32px 32px;
}

.site-header {
  background: rgba(248, 250, 252, .92);
  border-bottom: 1px solid rgba(199, 208, 217, .90);
  box-shadow: 0 10px 28px rgba(17,24,39,.06);
}

.site-header .brand {
  color: var(--lab-ink);
}

.site-header .nav-links a {
  color: #344255;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  background: #fff3ea;
  color: #9a4a10;
}

.hero {
  color: var(--lab-ink);
  background:
    linear-gradient(rgba(22, 59, 92, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 92, .075) 1px, transparent 1px),
    radial-gradient(circle at 82% 10%, rgba(249, 115, 22, .16), transparent 24%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f6f8 100%);
  background-size: 40px 40px, 40px 40px, auto, auto;
  border-bottom: 1px solid var(--lab-steel);
}

.page-hero {
  color: var(--lab-ink);
  background:
    linear-gradient(rgba(22, 59, 92, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 92, .07) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(249, 115, 22, .13), transparent 24%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f6f8 100%);
  background-size: 40px 40px, 40px 40px, auto, auto;
  border-bottom: 1px solid var(--lab-steel);
}

.page-hero::before {
  display: none;
}

.page-hero h1,
.page-hero p {
  color: var(--lab-ink);
}

.page-hero .lead,
.lead {
  color: var(--lab-muted);
}

.hero::before,
.robotics-hero::after {
  display: none;
}

.physics-canvas {
  opacity: .24;
  mix-blend-mode: multiply;
}

.hero h1,
h1,
h2,
h3 {
  color: var(--lab-ink);
}

.section h2,
.section h3,
.mentor-proof-section h2,
.mentor-proof-section h3,
.split-proof h2,
.split-proof h3,
.final-home-cta h2 {
  color: var(--lab-ink);
}

.hero .lead,
.hero .lead strong {
  color: var(--lab-ink);
}

.hero-note,
.section p,
.section-head p,
.split-proof p,
.mentor-proof-section p,
.proof-card span,
.proof-card p,
.practice-flow p,
.card p,
.parent-card p {
  color: var(--lab-muted);
}

.eyebrow,
.hero .eyebrow,
.kicker {
  color: var(--lab-blueprint);
}

.eyebrow::before {
  background: var(--lab-orange);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, .16);
}

.btn {
  border-radius: 12px;
}

.btn-primary {
  color: white;
  background: var(--lab-blue);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .18);
}

.btn-secondary {
  color: var(--lab-ink);
  background: #fff;
  border-color: var(--lab-steel);
}

.btn-orange {
  color: #fff;
  background: var(--lab-orange);
}

.photo-shell {
  background: #d9dee5;
  border: 1px solid var(--lab-steel);
  box-shadow: 0 18px 44px rgba(17, 24, 39, .14);
}

.photo-shell::after {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(17,24,39,.18));
}

.photo-overlay-card {
  color: var(--lab-ink);
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(199, 208, 217, .90);
  box-shadow: 0 14px 32px rgba(17,24,39,.14);
}

.photo-overlay-card span {
  color: var(--lab-muted);
}

.mini-proof-grid div,
.proof-card,
.card,
.parent-card {
  color: var(--lab-ink);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--lab-steel);
  box-shadow: 0 14px 34px rgba(17,24,39,.08);
}

.mini-proof-grid strong,
.proof-card strong,
.proof-card h2,
.card h2,
.card h3,
.parent-card h3 {
  color: var(--lab-ink);
}

.mini-proof-grid span {
  color: var(--lab-muted);
}

.section,
.section.soft,
.proof-section,
.final-home-cta,
.mentor-proof-section,
.pillars-section {
  color: var(--lab-ink);
  background:
    linear-gradient(rgba(22, 59, 92, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 92, .035) 1px, transparent 1px),
    var(--lab-bg);
  background-size: 40px 40px;
}

.section::before {
  opacity: .18;
  background-image:
    linear-gradient(rgba(22, 59, 92, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 92, .10) 1px, transparent 1px);
}

.primary-proof {
  background:
    linear-gradient(90deg, rgba(249, 115, 22, .08), rgba(255,255,255,.94)),
    #fff;
  border-left: 5px solid var(--lab-orange);
}

.card.highlight {
  border-top-color: var(--lab-orange);
}

details,
.form-placeholder,
.info-band,
.contact-info-band {
  color: var(--lab-ink);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--lab-steel);
  box-shadow: 0 14px 34px rgba(17,24,39,.08);
}

details summary,
.info-band strong,
.contact-info-band strong {
  color: var(--lab-ink);
}

.check-list li::before {
  background: rgba(22, 163, 74, .12);
  color: var(--lab-green);
}

.section.dark,
.program-home-section {
  color: var(--lab-ink);
  background:
    linear-gradient(rgba(22, 59, 92, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 92, .06) 1px, transparent 1px),
    linear-gradient(180deg, #eef3f7 0%, #e7edf3 100%);
  background-size: 42px 42px;
  border-top: 1px solid var(--lab-steel);
  border-bottom: 1px solid var(--lab-steel);
}

.section.dark h2,
.section.dark h3,
.program-home-section h2,
.program-home-section h3 {
  color: var(--lab-ink);
}

.section.dark .section-head p,
.section.dark p,
.program-home-section p {
  color: var(--lab-muted);
}

.section.dark .kicker,
.program-home-section .kicker {
  color: var(--lab-blueprint);
}

.practice-flow article {
  color: var(--lab-ink);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--lab-steel);
  box-shadow: 0 12px 28px rgba(17,24,39,.07);
}

.practice-flow span {
  color: #fff;
  background: var(--lab-orange);
  border-radius: 10px;
}

.cta {
  color: var(--lab-ink);
  background:
    linear-gradient(rgba(22, 59, 92, .07) 1px, transparent 1px),
    var(--lab-paper);
  background-size: 100% 30px;
  border: 1px solid var(--lab-steel);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(17,24,39,.10);
}

.cta h2 {
  color: var(--lab-ink);
}

.cta p {
  color: var(--lab-muted);
}

.footer {
  color: #48566a;
  background:
    linear-gradient(rgba(22, 59, 92, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 92, .045) 1px, transparent 1px),
    #eef3f7;
  background-size: 38px 38px;
  border-top: 1px solid var(--lab-steel);
}

.footer .brand,
.footer h3,
.footer a {
  color: var(--lab-ink);
}

.footer-bottom {
  border-top-color: rgba(95,107,122,.20);
  color: #647084;
}

@media (max-width: 920px) {
  .menu-toggle {
    color: #fff;
    background: var(--lab-blueprint);
    border-radius: 10px;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links a.active {
    background: #fff3ea;
    color: var(--lab-orange);
  }
}


/* ===== P2 engineering artifacts ===== */
/* CAD-style corner registration marks on the hero photo frame.
   Drawn behind the overlay cards (z-index 1) so occupied corners stay clean. */
.photo-shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
  --rm: rgba(255,255,255,.85);
  --rl: 22px;   /* mark length */
  --rw: 2px;    /* mark thickness */
  background:
    linear-gradient(var(--rm),var(--rm)) left  top    / var(--rl) var(--rw) no-repeat,
    linear-gradient(var(--rm),var(--rm)) left  top    / var(--rw) var(--rl) no-repeat,
    linear-gradient(var(--rm),var(--rm)) right top    / var(--rl) var(--rw) no-repeat,
    linear-gradient(var(--rm),var(--rm)) right top    / var(--rw) var(--rl) no-repeat,
    linear-gradient(var(--rm),var(--rm)) left  bottom / var(--rl) var(--rw) no-repeat,
    linear-gradient(var(--rm),var(--rm)) left  bottom / var(--rw) var(--rl) no-repeat,
    linear-gradient(var(--rm),var(--rm)) right bottom / var(--rl) var(--rw) no-repeat,
    linear-gradient(var(--rm),var(--rm)) right bottom / var(--rw) var(--rl) no-repeat;
}

/* Measurement-tick ruler accent beneath section kickers. */
.kicker { position: relative; }
.kicker::after {
  content: "";
  display: block;
  height: 7px;
  margin-top: 7px;
  width: 64px;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 9px) bottom / 100% 7px;
  opacity: .45;
}

/* Video embed (home) */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--navy);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* muted background reel — block hover/pause controls */
}
