/* =========================================================
   DELIROBO — autonomous sidewalk delivery robots
   Aesthetic: dark techno, monospace technical accents,
   acid-lime accent, generous whitespace, grid backbone.
   ========================================================= */

:root {
  /* palette */
  --bg: #0a0b0d;
  --bg-elev: #111315;
  --bg-card: #16181b;
  --line: #1f2226;
  --line-strong: #2a2d32;
  --text: #ececec;
  --text-dim: #8a8f96;
  --text-faint: #5a5f66;
  --accent: #c4ff3d;          /* acid lime — energy / robotics */
  --accent-soft: rgba(196, 255, 61, 0.12);
  --accent-glow: rgba(196, 255, 61, 0.4);
  --danger: #ff5b5b;

  /* type */
  --font-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* spacing */
  --container: 1240px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 8.5rem);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: #000; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* =========================================================
   LOGO
   ========================================================= */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  width: 180px;
  height: 42px;
  overflow: hidden;
}
.nav-logo img {
  width: 180px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  filter: invert(1);
  mix-blend-mode: screen;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #d6ff62;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block { width: 100%; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 11, 13, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 11, 13, 0.92);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* language switch — prominent */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  color: #000;
  background: var(--accent);
}
.lang-sep {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.nav-cta { padding: 0.65rem 1.15rem; font-size: 0.85rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

/* mobile panel hidden by default, shown only on small screens via open class */
.nav-mobile-panel { display: none; }
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 7rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  100% { box-shadow: 0 0 0 14px rgba(196, 255, 61, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.hero-title .line {
  display: block;
  animation: rise 0.9s var(--ease) backwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.25s; }
.hero-title .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-dim);
  max-width: 32rem;
  margin-bottom: 2.25rem;
  line-height: 1.6;
  animation: rise 0.9s var(--ease) 0.4s backwards;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: rise 0.9s var(--ease) 0.55s backwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 30rem;
  animation: rise 0.9s var(--ease) 0.7s backwards;
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
.hero-stats dd {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
}

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
  animation: rise 1.2s var(--ease) 0.3s backwards;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
  background: #e8e6e1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.robot-svg {
  display: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(22, 24, 27, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
  animation: rise 0.8s var(--ease) backwards;
}
.label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-label--1 { top: 8%; left: -6%; animation-delay: 1s; }
.hero-label--2 { top: 42%; right: -6%; animation-delay: 1.2s; }
.hero-label--3 { bottom: 6%; left: 2%; animation-delay: 1.4s; }

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-head {
  margin-bottom: 4rem;
  max-width: 48rem;
}
.section-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 38rem;
}

/* =========================================================
   WHAT WE DO
   ========================================================= */
.section-what { padding: 2rem 0; }
.section-what + .section-tech { padding-top: clamp(2rem, 5vw, 4rem); }

.what-solution {
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
  text-align: center;
}
.solution-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 56rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* =========================================================
   TECHNOLOGY
   ========================================================= */
.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}
.product-shot {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-card);
}
.product-shot--main { grid-row: 1 / span 2; }
.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-shot--main img { object-position: center 44%; }
.animated-robot-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at center, rgba(196, 255, 61, 0.12), transparent 58%),
    linear-gradient(145deg, #111315, #090a0c);
}
.animated-robot-stage .robot-svg {
  display: block;
  width: min(100%, 540px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}
.animated-robot-stage .hero-label { z-index: 2; }
.animated-robot-stage .hero-label--1 { top: 18%; left: 13%; }
.animated-robot-stage .hero-label--2 { top: 43%; right: 12%; }
.animated-robot-stage .hero-label--3 { bottom: 17%; left: 17%; }
.product-shot:hover img { transform: scale(1.025); }
.product-shot::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(5, 6, 7, 0.85));
  pointer-events: none;
}
.product-shot figcaption {
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-shot figcaption span { color: var(--accent); }

.tech-col-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.tech-col-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  margin-bottom: 0.85rem;
}
.tech-col-tag + span { display: block; }

.tech-list {
  list-style: none;
}
.tech-list li {
  display: flex;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.tech-list li:last-child { border-bottom: 1px solid var(--line); }

.tech-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55rem;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-glow);
}

.tech-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.tech-list p {
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* status bar */
.status-bar {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.status-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.status-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}
.status-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================
   TEAM
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: all 0.3s var(--ease);
}
.team-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-4px);
}

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #7ec300 100%);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}
.team-bio {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* =========================================================
   EVENTS
   ========================================================= */
.section-tech { padding-bottom: clamp(2rem, 4vw, 3rem); }
.section-events { padding: 0 0 clamp(2rem, 4vw, 3rem); }
.section-events .section-head,
.section-events .section-sub {
  max-width: none;
  width: 100%;
}
.events-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.events-viewport {
  min-width: 0;
  overflow: hidden;
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 100%);
  gap: 0;
  transition: transform 0.45s var(--ease);
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  grid-row: 1;
}
.event-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.event-img {
  aspect-ratio: 16 / 9;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.event-card--disrupt .event-img { padding: 0; }

.event-body {
  padding: 1.75rem 1.75rem 2rem;
}

.event-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.event-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.event-body p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.event-body strong { color: var(--text); font-weight: 600; }
.events-control {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  transition: all 0.2s var(--ease);
}
.events-control:hover { border-color: var(--accent); color: var(--accent); }
.events-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.events-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: all 0.2s var(--ease);
}
.events-dot.is-active { background: var(--accent); transform: scale(1.25); }

.event-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  transition: gap 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.event-link:hover { gap: 0.6rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.section-contact { padding-bottom: calc(var(--section-y) * 0.6); }

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(ellipse at top right, var(--accent-soft) 0%, transparent 60%),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.contact-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.contact-title span { display: block; }
.contact-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }

.contact-copy > p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.contact-link:last-child { border-bottom: 1px solid var(--line); }
a.contact-link:hover { color: var(--accent); }

.contact-link-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-link-value {
  font-size: 0.95rem;
  color: var(--text);
}
.contact-link--center { justify-content: center; text-align: center; }

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 0.25rem;
}
.form-note.success { color: var(--accent); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.footer-meta {
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.footer-meta a { transition: color 0.2s var(--ease); }
.footer-meta a:hover { color: var(--accent); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-label--1 { left: 2%; }
  .hero-label--3 { left: 8%; }

  .product-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 240px; }
  .product-shot--main { grid-column: 1 / -1; grid-row: auto; }
  .tech-split { grid-template-columns: 1fr; gap: 3rem; }
  .status-grid { grid-template-columns: 1fr; }

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

  .events-grid { grid-template-columns: repeat(3, 100%); }

  .contact-card { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav-mobile-panel {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--pad-x);
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 99;
  }
  .nav-mobile-panel.open { display: flex; }
  .nav-mobile-panel a {
    font-size: 1rem;
    color: var(--text);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile-panel a.btn-primary {
    background: var(--accent);
    color: #000;
    border-bottom: 0;
    padding: 0.85rem 1.4rem;
    text-align: center;
  }
  .nav-mobile-panel a:last-child { border-bottom: 0; }

  .hero { padding-top: 6rem; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-label { font-size: 0.65rem; padding: 0.4rem 0.65rem; }
  .hero-label--1 { top: 2%; left: 0%; }
  .hero-label--2 { top: 38%; right: -2%; }
  .hero-label--3 { bottom: 8%; left: 0%; }

  .product-gallery { grid-template-columns: 1fr; grid-template-rows: 420px 230px 230px; }
  .product-shot--main { grid-column: auto; }
  .animated-robot-stage .hero-label--1 { top: 17%; left: 5%; }
  .animated-robot-stage .hero-label--2 { top: 43%; right: 4%; }
  .animated-robot-stage .hero-label--3 { bottom: 15%; left: 7%; }

  .team-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-meta { flex-wrap: wrap; gap: 1rem; }
}

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