/* YogiRobotics — marketing site
   Palette: white #FFFFFF, light grey #F2F2F2, charcoal #1A1A1A, cyan #009FD6
   Dark islands: home hero, CTA band, and footer
   Type: Montserrat (self-hosted, OFL) for headings and body
*/

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF;
  --bg-alt: #F2F2F2;
  --bg-raised: #F2F2F2;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --ink: #1A1A1A;
  --ink-heading: #111111;
  --ink-muted: #4A4A4A;
  --ink-subtle: #5C5C5C;
  --accent: #009FD6;
  --accent-hover: #008CC0;
  --accent-ink: #1A1A1A;
  /* #007FAB is 4.54:1 on white but only 4.06:1 on #F2F2F2; #007399 passes both */
  --accent-link: #007399;
  --accent-link-hover: #006A8F;
  --accent-soft: rgba(0, 159, 214, 0.12);
  --accent-glow: rgba(0, 159, 214, 0.22);
  --line: rgba(26, 26, 26, 0.10);
  --line-strong: rgba(26, 26, 26, 0.18);
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
  --shadow-card: 0 4px 16px rgba(26, 26, 26, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  --dark: #07090b;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html:focus-within { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--ink-heading);
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-link-hover); }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 6px;
}
.skip-link:focus { top: 16px; box-shadow: var(--focus); }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}
.header-inner {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  flex-shrink: 0;
}
.footer-brand .logo-img { height: 56px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 28px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 8px;
  display: inline-block;
  position: relative;
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a.is-active {
  color: var(--ink);
}
.site-nav a.is-active::after,
.site-nav a:not(.btn):hover::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
}
.site-nav a:not(.btn):hover::after { opacity: 0.6; }
.site-nav a.is-active::after { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { color: inherit; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent-soft);
}
.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  min-height: calc(70vh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(0, 159, 214, 0.10), transparent 60%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-position: 0 0, 0 0, 0 0;
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 40px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-link);
  margin: 0 0 1.25rem;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--accent-link);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.6vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 1.35rem;
  color: var(--ink);
}
.lede {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 36em;
  margin: 0 0 2rem;
}
.hero-art {
  position: relative;
  min-height: 280px;
}
.hero-art svg { width: 100%; height: auto; }

.industry-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}
.industry-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 1.15rem 0;
}
.industry-bar .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-right: 8px;
}
.industry-bar a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 4px 2px;
}
.industry-bar a:hover { color: var(--accent-link); }
.industry-bar .sep {
  color: var(--line-strong);
  user-select: none;
  padding: 0 4px;
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-muted { background: var(--bg-raised); }
.section-header {
  max-width: 40rem;
  margin-bottom: 56px;
}
.section-header.center {
  margin-inline: auto;
  text-align: center;
}
.section-header h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}
.section-header p,
.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.section-top .section-header { margin-bottom: 0; }

/* ---------- Cards / services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  height: 100%;
}
a.card { color: inherit; text-decoration: none; }
.card:hover {
  border-color: rgba(0, 159, 214, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 6px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-link);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
}
.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}
.card .more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-link);
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.industry-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.industry-card-art {
  margin: 0;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.industry-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.industry-card-body {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
a.industry-card { color: inherit; text-decoration: none; }
.industry-card:hover {
  border-color: rgba(0, 159, 214, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0 0 0.7rem;
}
.industry-card p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 38em;
}
.industry-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--accent-link);
  margin-bottom: 16px;
}

.industry-card-cta {
  grid-column: 1 / -1;
  min-height: 0;
  background: var(--accent-soft);
  border-color: rgba(0, 159, 214, 0.35);
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1.25fr);
  align-items: stretch;
}
.industry-card-cta .industry-card-art {
  aspect-ratio: auto;
  height: 100%;
  min-height: 180px;
  border-bottom: 0;
  border-right: 1px solid rgba(0, 159, 214, 0.22);
}
.industry-card-cta:hover {
  border-color: var(--accent);
}
.industry-card-cta h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0 0 0.7rem;
}
.industry-card .more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-link);
}
.industry-detail > .industry-card-cta {
  display: grid;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 6px;
  right: calc(20% - 6px);
  height: 1px;
  background: var(--line-strong);
}
.process-step {
  padding: 0 16px 0 0;
  position: relative;
}
.process-step .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-raised);
}
.process-step .n {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-link);
  margin-bottom: 8px;
}
.process-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin: 0 0 12px;
}
.process-icon svg { width: 18px; height: 18px; }
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  letter-spacing: 0.03em;
}
.process-step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ---------- About teaser / split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.split h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
.split .prose p,
.prose p {
  color: var(--ink-muted);
  margin: 0 0 1.1rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose { max-width: 42rem; }
.prose h2, .prose h3 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  margin: 2rem 0 0.7rem;
}
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.founder-card .role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-link);
  margin: 0 0 8px;
}
.founder-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.03em;
}
.founder-card p { color: var(--ink-muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 88px 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(0, 159, 214, 0.16), transparent 60%),
    #07090b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.1vw, 2.4rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.8rem;
  max-width: 20ch;
}
.cta-band p {
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
  max-width: 36em;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(0, 159, 214, 0.10), transparent 55%),
    var(--bg-alt);
}
.page-hero h1 { margin-bottom: 0.85rem; }
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
  margin: 0 0 1.25rem;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-link); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-details h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.03em;
}
.contact-details p { color: var(--ink-muted); margin: 0 0 1.5rem; }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.detail-list li { display: grid; gap: 2px; }
.detail-list .lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.detail-list .val { color: var(--ink); }
.detail-list .placeholder {
  color: var(--ink-muted);
  font-style: italic;
  border-bottom: 1px dashed var(--line-strong);
  display: inline-block;
  width: max-content;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
  margin: 0.75rem 0 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.field .req { color: var(--accent-link); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-subtle); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(26, 26, 26, 0.28); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%234A4A4A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}
.form-status {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid rgba(0, 159, 214, 0.35);
}
.form-status.is-error {
  background: #FDECEC;
  color: #8B1A1A;
  border: 1px solid #E5A0A0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px 24px;
  margin-bottom: 48px;
}
.footer-tagline {
  margin: 0.85rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 26em;
}
.footer-brand p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin: 1rem 0 0;
  max-width: 26em;
  line-height: 1.7;
}
.footer-brand .footer-tagline + p {
  margin-top: 0.7rem;
}
.footer-col h2 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-subtle);
}
.footer-bottom a { color: var(--ink-subtle); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Service deep-dives (services page) ---------- */
.service-list { display: grid; gap: 20px; }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.service-row .idx {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--accent-link);
  letter-spacing: 0.04em;
}
.service-row h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
  letter-spacing: 0.03em;
}
.service-row p { margin: 0; color: var(--ink-muted); }

.industry-detail {
  display: grid;
  gap: 48px;
}
.industry-detail article {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px 40px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.industry-detail-art {
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.industry-detail-art img {
  width: 100%;
  height: auto;
  display: block;
}
.industry-detail h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.03em;
}
.industry-detail p { margin: 0 0 0.9rem; color: var(--ink-muted); }
.industry-detail p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - var(--header-h) - 220px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page .code {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent-link);
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}
.error-page h1 { font-family: var(--font-display); margin: 0 0 0.8rem; }
.error-page p { color: var(--ink-muted); margin: 0 0 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .industry-detail article,
  .industry-card-cta,
  .footer-grid { grid-template-columns: 1fr; }
  .industry-card-cta .industry-card-art {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 159, 214, 0.22);
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .process {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process-step { padding: 0 0 0 28px; }
  .process-step .dot {
    position: absolute;
    left: 0;
    top: 4px;
    margin: 0;
    box-shadow: 0 0 0 6px var(--bg-raised);
  }
  .hero { min-height: 0; padding: 48px 0 56px; }
  .section { padding: 80px 0; }
  .section-top { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; z-index: 110; }
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 88px 32px 40px;
    gap: 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav a:not(.btn) {
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 8px 0;
  }
  .site-nav a.is-active::after,
  .site-nav a:not(.btn):hover::after { left: 0; right: auto; width: 24px; bottom: 6px; }
  .site-nav .btn { margin-top: 16px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .container, .header-inner { width: min(100% - 32px, var(--container)); }
  .card-grid,
  .industry-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .logo-img { height: 46px; }
  .footer-brand .logo-img { height: 52px; }
  .industry-bar .sep { display: none; }
  .hero h1 { font-size: clamp(1.95rem, 9vw, 2.45rem); }
  .page-hero { padding: 48px 0 36px; }
  .contact-form { padding: 22px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 64px 0; }
}

@media (min-width: 1021px) {
  .site-nav { display: flex !important; }
}

.footer-col .placeholder {
  color: var(--ink-muted);
  font-style: italic;
  font-size: 0.9375rem;
  border-bottom: 1px dashed var(--line-strong);
  display: inline-block;
  width: max-content;
}


/* ---------- Projects / case studies ---------- */
.project-list {
  display: grid;
  gap: 32px;
}

.project-case {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.project-case:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.project-case:nth-child(even) .project-visual { order: 2; }

.project-visual {
  margin: 0;
  background: var(--bg-alt);
  min-height: 280px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.project-case:nth-child(even) .project-visual {
  border-right: 0;
  border-left: 1px solid var(--line);
}
.project-visual img,
.project-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 36px 40px 40px;
  min-width: 0;
}
.project-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
}
.project-body .card-index {
  display: block;
  margin-bottom: 10px;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.scope-tags li {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-link);
  border: 1px solid rgba(0, 159, 214, 0.35);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  line-height: 1.2;
}

.project-block { margin: 0 0 1.25rem; }
.project-block:last-child { margin-bottom: 0; }
.project-block h3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin: 0 0 0.45rem;
}
.project-block p {
  margin: 0;
  color: var(--ink-muted);
}

.project-dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.project-dl div { display: grid; gap: 2px; }
.project-dl dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.project-dl dd {
  margin: 0;
  color: var(--ink);
}

.project-block .placeholder {
  color: var(--ink-muted);
  font-style: italic;
  border-bottom: 1px dashed var(--line-strong);
  display: inline-block;
  width: max-content;
}

.project-teaser {
  padding: 0 0 28px;
  overflow: hidden;
}
.project-teaser-art {
  margin: 0 0 8px;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.project-teaser-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-teaser .card-index,
.project-teaser h3,
.project-teaser p,
.project-teaser .more {
  padding-left: 26px;
  padding-right: 26px;
}
.project-teaser .card-index { padding-top: 20px; }

.projects-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 159, 214, 0.35);
  border-radius: var(--radius);
}
.projects-cta p {
  margin: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 1021px) and (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .site-nav { gap: 8px 16px; }
  .site-nav a:not(.btn) {
    padding: 8px 6px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 980px) {
  .project-case,
  .project-case:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .project-case:nth-child(even) .project-visual { order: 0; }
  .project-visual,
  .project-case:nth-child(even) .project-visual {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .project-body { padding: 28px 24px 32px; }
}

@media (max-width: 640px) {
  .projects-cta { padding: 22px; }
}

/* ---------- Additional services ---------- */
.additional-services {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
#technology-roadmapping,
#consultation-services,
#technology-design-drafting,
#additional-services {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

@media (max-width: 640px) {
  .additional-services {
    margin-top: 48px;
    padding-top: 48px;
  }
}


/* ---------- Dark islands: hero, CTA, footer ---------- */
.hero,
.cta-band,
.site-footer {
  --bg: #07090b;
  --bg-raised: #0c0f12;
  --bg-card: #11161a;
  --ink: #f5f7f8;
  --ink-heading: #f5f7f8;
  --ink-muted: #c5c9cc;
  --ink-subtle: #9aa3ab;
  --accent-link: #4DB8E0;
  --accent-link-hover: #7ACCEA;
  --accent-soft: rgba(0, 159, 214, 0.16);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.20);
  --focus: 0 0 0 2px #07090b, 0 0 0 4px var(--accent);
  color: var(--ink);
  background-color: #07090b;
}
.hero h1,
.hero h2,
.hero h3,
.cta-band h2,
.site-footer h2 {
  color: var(--ink-heading);
}
.hero .kicker,
.hero .kicker::before {
  color: var(--accent);
  background: none;
}
.hero .kicker::before {
  background: var(--accent);
}
.hero .lede { color: var(--ink-muted); }
.cta-band p { color: var(--ink-muted); }
.site-footer a:not(.btn) { color: var(--ink-muted); }
.site-footer a:not(.btn):hover { color: var(--ink); }

/* ---------- Animatronic shows & figures ---------- */
#animatronics {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.animatronics-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 56px;
  align-items: center;
  margin-bottom: 48px;
}
.animatronics-visual {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.animatronics-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.animatronics-intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}
.animatronics-intro p {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  max-width: 40em;
}
.animatronics-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.animatronics-teaser:hover {
  border-color: rgba(0, 159, 214, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}
.animatronics-teaser-art {
  background: var(--bg-alt);
  min-height: 200px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.animatronics-teaser-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.animatronics-teaser-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.animatronics-teaser-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0 0 0.7rem;
}
.animatronics-teaser-body p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}
.animatronics-teaser-body .more {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-link);
}
.animatronics-teaser-body .scope-tags { margin-bottom: 0.75rem; }

@media (max-width: 980px) {
  .animatronics-intro,
  .animatronics-teaser {
    grid-template-columns: 1fr;
  }
  .animatronics-teaser-art {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .animatronics-teaser-body { padding: 24px; }
}

@media (max-width: 640px) {
  .hero { min-height: 0; }
}

/* Honeypot for Netlify Forms — visually hidden, still present in the DOM */
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
