@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  --ink: #0b1220;
  --muted: #5e6a7d;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dfe5ee;
  --blue: #02bb8f;
  --blue-dark: #057f6b;
  --cyan: #9be7d7;
  --yellow: #ffd84d;
  --shadow: 0 24px 70px rgba(11, 18, 32, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Roboto, system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--ink); color: white; padding: 10px 14px; z-index: 5; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 4; background: rgba(7,12,21,.96); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.12); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.04em; font-size: 1.05rem; }
.brand-logo { width: 238px; height: auto; display: block; filter: brightness(0) invert(1); }
.footer-brand-logo { width: 210px; height: auto; display: block; }
.brand-mark { width: 34px; height: 34px; border-radius: 12px 12px 12px 4px; background: linear-gradient(135deg, var(--blue), #6e88ff); display: grid; place-items: center; color: white; font-size: .9rem; box-shadow: 0 8px 20px rgba(40,100,255,.24); }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .88rem; font-weight: 700; color: #c8d1df; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-links a[aria-disabled="true"], .footer-links a[aria-disabled="true"] { color: var(--muted); cursor: default; }
.nav-links a[aria-disabled="true"]:hover, .footer-links a[aria-disabled="true"]:hover { color: var(--muted); }
.nav-cta { background: var(--ink); color: white !important; padding: 10px 16px; border-radius: 999px; }
.menu-button { display: none; background: none; border: 0; color: white; font: inherit; font-weight: 800; }

.hero { padding: 96px 0 80px; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(125,227,222,.42), rgba(125,227,222,0) 68%); right: -170px; top: -180px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font: 500 .72rem/1.4 'DM Mono', monospace; color: var(--blue); }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: 1.07; font-family: Poppins, system-ui, sans-serif; }
h1 { max-width: 720px; font-size: clamp(3.2rem, 8vw, 6.6rem); margin: 18px 0 24px; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.35rem; }
.lede { max-width: 640px; color: var(--muted); font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; padding: 0 20px; font-weight: 800; font-size: .9rem; border: 1px solid var(--ink); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,18,32,.14); }
.button-primary { background: var(--blue); color: white; border-color: var(--blue); }
.button-secondary { background: transparent; }
.button-light { background: white; border-color: white; color: var(--ink); }

.hero-art { min-height: 440px; border-radius: 32px; background: var(--ink); position: relative; overflow: hidden; box-shadow: var(--shadow); background-image: linear-gradient(90deg, rgba(11,18,32,.8), rgba(11,18,32,.08)), url('assets/home-robotics-lab.jpg'); background-size: cover; background-position: center; }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.78), rgba(11,18,32,.1) 72%), linear-gradient(180deg, rgba(11,18,32,.1), rgba(11,18,32,.5)); }
.hero-art::after { content: ''; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; right: 10%; top: 11%; box-shadow: 0 0 0 28px rgba(255,255,255,.06), 0 0 0 56px rgba(255,255,255,.04); }
.art-card { position: absolute; left: 12%; bottom: 12%; z-index: 1; width: 62%; padding: 20px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); backdrop-filter: blur(14px); border-radius: 20px; color: white; }
.art-card strong { display: block; font-size: 1.4rem; letter-spacing: -.04em; }
.art-card span { color: #d4ddff; font-size: .8rem; }
.robot-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 42px 42px; opacity: .5; }
.hero-logo { position: absolute; z-index: 2; width: 72%; left: 14%; top: 12%; filter: brightness(0) invert(1); opacity: .95; }
.hero-caption { position: absolute; right: 8%; bottom: 8%; z-index: 2; color: #c8fff3; font: 500 .72rem 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .1em; }

.page-visual { margin: 0 0 58px; border-radius: 28px; overflow: hidden; min-height: 260px; background: var(--ink); box-shadow: var(--shadow); }
.page-visual img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.page-visual figcaption { padding: 12px 18px; color: #c8fff3; background: var(--ink); font: 500 .72rem 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: var(--muted); font: 500 .72rem 'DM Mono', monospace; }

.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 36px; }
.section-heading p { max-width: 450px; color: var(--muted); margin: 0; }
.dark-section { background: var(--ink); color: white; }
.dark-section .section-heading p { color: #b3bfd5; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.dark-section .card { background: #121c2e; border-color: #22314c; }
.card p { color: var(--muted); margin-bottom: 0; }
.dark-section .card p { color: #b3bfd5; }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #e7edff; color: var(--blue); font-weight: 800; margin-bottom: 26px; }
.card-accent { border-top: 4px solid var(--cyan); }
.card-accent:nth-child(2) { border-top-color: var(--yellow); }
.card-accent:nth-child(3) { border-top-color: #b19bff; }
.number { color: var(--blue); font: 500 1rem 'DM Mono', monospace; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.stat { border-left: 2px solid var(--blue); padding-left: 16px; }
.stat strong { display: block; font-size: 2rem; letter-spacing: -.06em; }
.stat span { color: var(--muted); font-size: .88rem; }

.page-hero { padding: 80px 0 60px; background: linear-gradient(135deg, #eaf0ff 0%, var(--paper) 55%); text-align: center; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); max-width: 900px; margin-left: auto; margin-right: auto; }
.page-hero .lede, .page-hero .prose { margin-left: auto; margin-right: auto; }
.interior-page .section-heading { justify-content: center; text-align: center; }
.interior-page .section-heading > p { margin-left: auto; margin-right: auto; }
.interior-page .section > .container.grid-2 { text-align: center; }
.interior-page .section > .container.grid-2 .prose { margin-left: auto; margin-right: auto; text-align: center; }
.interior-page .grid-3 .card, .interior-page .section > .container.card { text-align: center; }
.interior-page .page-visual { margin-left: auto; margin-right: auto; }
.prose { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 42px; margin-bottom: 14px; }
.prose ul { padding-left: 22px; }
.pill { display: inline-flex; border-radius: 999px; padding: 6px 10px; background: #e7edff; color: var(--blue-dark); font: 500 .7rem 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.feature-list { display: grid; gap: 16px; margin-top: 28px; }
.feature-list li { list-style: none; display: flex; gap: 12px; color: var(--muted); }
.feature-list li::before { content: '↗'; color: var(--blue); font-weight: 800; }
.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item p { color: var(--muted); margin: 8px 0 0; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-details { display: grid; gap: 12px; }
.detail { padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font: 500 .68rem 'DM Mono', monospace; }
.detail a { display: block; font-weight: 800; margin-top: 4px; }
.form { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: .85rem; font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; color: var(--ink); font: inherit; padding: 12px 14px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(40,100,255,.18); border-color: var(--blue); }
.form-full { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: .8rem; }
.form-status { margin: 14px 0 0; color: var(--blue-dark); font-weight: 700; }
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.job-card p { margin: 6px 0 0; }

.site-footer { background: #070c15; color: white; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-grid p, .footer-grid a { color: #aebbd0; font-size: .88rem; }
.footer-grid a:hover { color: white; }
.footer-heading { color: white !important; font-weight: 800; margin: 0 0 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid #22314c; margin-top: 42px; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; color: #8090a9; font-size: .78rem; }

@media (max-width: 850px) {
  .hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-art { min-height: 340px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-links { display: none; position: absolute; top: 76px; left: 14px; right: 14px; padding: 18px; flex-direction: column; align-items: stretch; background: #070c15; border: 1px solid #22314c; border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .menu-button { display: block; }
  .section { padding: 68px 0; }
  .section-heading, .job-card, .footer-bottom { display: block; }
  .section-heading p { margin-top: 16px; }
  .grid-2, .form-grid, .stat-row { grid-template-columns: 1fr; }
  .form-full { grid-column: auto; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom > * { margin-top: 8px; }
  .brand-logo { width: 200px; }
}
