/* ── FONTS (self-hosted, latin subset only) ── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/dm-sans-v17-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — direct hex tokens. Use these for decorative/branded chrome
     (logo, gradients, accent rings). For backgrounds/text/borders in content,
     prefer the semantic tokens below so themes can remap them.
     ADC accent = teal (differentiates from ZetaCore's blue accent). */
  --navy: #0B1F3A;
  --navy-mid: #162E52;
  --blue: #1A4B8C;
  --blue-light: #2563C0;
  --accent: #14B8A6;
  --accent-light: #2DD4BF;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-100: #F1F4F9;
  --gray-200: #E2E8F2;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-pad-y: clamp(60px, 9vw, 100px);
  --section-pad-x: clamp(20px, 5vw, 80px);

  /* Semantic tokens — light theme (default). Themes remap these. */
  --bg-page: var(--white);
  --bg-section-alt: var(--off-white);
  --bg-section-dark: var(--navy);
  --bg-surface: var(--white);
  --bg-surface-soft: var(--gray-100);
  --bg-nav: rgba(255,255,255,0.95);
  --bg-nav-mobile: rgba(255,255,255,0.98);
  --bg-form: #DDF4F1;
  --bg-input: var(--white);

  --text-primary: var(--gray-800);
  --text-heading: var(--navy);
  --text-muted: var(--gray-600);
  --text-subtle: var(--gray-400);

  --border-subtle: var(--gray-200);
  --border-strong: var(--navy);

  --grid-line: rgba(26,75,140,0.06);
  --hero-overlay-1: rgba(37,99,192,0.04);
  --hero-overlay-2: rgba(46,122,224,0.06);
  --nav-shadow: rgba(11,31,58,0.06);

  --btn-primary-bg: var(--navy);
  --btn-primary-text: var(--white);
  --btn-primary-hover-bg: var(--accent);

  color-scheme: light;
}

/* ── THEME: BLUE (rich navy background, white-tinted content) ── */
[data-theme="blue"] {
  --bg-page: var(--navy);
  --bg-section-alt: var(--navy-mid);
  --bg-section-dark: #08182F;
  --bg-surface: rgba(255,255,255,0.04);
  --bg-surface-soft: rgba(255,255,255,0.08);
  --bg-nav: rgba(11,31,58,0.92);
  --bg-nav-mobile: rgba(11,31,58,0.98);
  --bg-form: rgba(20,184,166,0.08);
  --bg-input: rgba(255,255,255,0.05);

  --text-primary: rgba(255,255,255,0.85);
  --text-heading: #FFFFFF;
  --text-muted: rgba(255,255,255,0.65);
  --text-subtle: rgba(255,255,255,0.45);

  --border-subtle: rgba(255,255,255,0.12);
  --border-strong: var(--accent);

  --grid-line: rgba(255,255,255,0.05);
  --hero-overlay-1: rgba(20,184,166,0.10);
  --hero-overlay-2: rgba(45,212,191,0.14);
  --nav-shadow: rgba(0,0,0,0.3);

  --btn-primary-bg: var(--accent);
  --btn-primary-text: var(--white);
  --btn-primary-hover-bg: var(--accent-light);

  color-scheme: dark;
}

/* ── THEME: DARK (neutral near-black, soft light text) ── */
[data-theme="dark"] {
  --bg-page: #0A0B0E;
  --bg-section-alt: #101216;
  --bg-section-dark: #050608;
  --bg-surface: #1A1D24;
  --bg-surface-soft: rgba(20,184,166,0.12);
  --bg-nav: rgba(10,11,14,0.92);
  --bg-nav-mobile: rgba(10,11,14,0.98);
  --bg-form: #1A1D24;
  --bg-input: #101216;

  --text-primary: #E2E8F2;
  --text-heading: #FFFFFF;
  --text-muted: rgba(226,232,242,0.7);
  --text-subtle: rgba(226,232,242,0.5);

  --border-subtle: rgba(255,255,255,0.1);
  --border-strong: var(--accent);

  --grid-line: rgba(20,184,166,0.08);
  --hero-overlay-1: rgba(20,184,166,0.06);
  --hero-overlay-2: rgba(45,212,191,0.08);
  --nav-shadow: rgba(0,0,0,0.5);

  --btn-primary-bg: var(--accent);
  --btn-primary-text: var(--white);
  --btn-primary-hover-bg: var(--accent-light);

  color-scheme: dark;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: var(--bg-nav);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding-left: max(5%, env(safe-area-inset-left));
  padding-right: max(5%, env(safe-area-inset-right));
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
nav.is-scrolled { box-shadow: 0 1px 12px var(--nav-shadow); }

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }

.logo-mark {
  width: 40px; height: 40px;
  position: relative; flex-shrink: 0;
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .company { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-heading); letter-spacing: 0.02em; }
.logo-text .tagline-small { font-size: 10px; font-weight: 500; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s;
  display: inline-block; padding: 6px 0;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  padding: 10px 22px; border-radius: 4px;
  font-size: 13px; font-weight: 500; text-decoration: none;
  letter-spacing: 0.04em; transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--btn-primary-hover-bg); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  margin-right: 14px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-icon { display: none; }
:root:not([data-theme]) .theme-icon-light,
[data-theme="light"] .theme-icon-light,
[data-theme="blue"] .theme-icon-blue,
[data-theme="dark"] .theme-icon-dark { display: block; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
  position: relative;
}
.nav-toggle-bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle-bars::after  { position: absolute; top:  7px; left: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { top: 0; transform: rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  padding-left: max(5%, env(safe-area-inset-left));
  padding-right: max(5%, env(safe-area-inset-right));
  position: relative;
  overflow: hidden;
  background: var(--bg-page);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(135deg, var(--hero-overlay-1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, var(--hero-overlay-2) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-content { max-width: none; }

.hero-cards {
  display: flex; flex-direction: column; gap: 16px;
  width: 100%;
}

.hero-cards .about-card { padding: 24px 28px; }
.hero-cards .about-card-icon { width: 40px; height: 40px; margin-bottom: 14px; }
.hero-cards .about-card h3 { font-size: 19px; margin-bottom: 6px; }
.hero-cards .about-card p { font-size: 13.5px; line-height: 1.6; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--accent);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 600; line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

h1 em { font-style: italic; color: var(--accent); }

.hero-desc {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  color: var(--text-muted); line-height: 1.75;
  max-width: 560px; margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary,
.btn-secondary {
  padding: 15px 32px; border-radius: 4px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  letter-spacing: 0.04em; transition: all 0.2s;
  display: inline-block;
  min-height: 44px;
  line-height: 1.2;
}

.btn-primary {
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  border: 1px solid var(--btn-primary-bg);
}
.btn-primary:hover { background: var(--btn-primary-hover-bg); border-color: var(--btn-primary-hover-bg); }

.btn-secondary {
  background: transparent; color: var(--text-heading);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover { border-color: var(--border-strong); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.stat-value { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; color: var(--text-heading); line-height: 1; }
.stat-label { font-size: 12px; font-weight: 500; color: var(--text-subtle); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ── SECTION BASE ── */
section { padding: var(--section-pad-y) var(--section-pad-x); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--accent);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600; line-height: 1.15;
  color: var(--text-heading); letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: clamp(15px, 1.4vw, 16px);
  font-weight: 300;
  color: var(--text-muted); line-height: 1.75;
  max-width: 580px; margin-bottom: 60px;
}

/* ── ABOUT ── */
.about { background: var(--bg-section-alt); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about-visual { position: relative; }

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 36px;
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--navy));
  border-radius: 8px 0 0 8px;
}

.about-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--text-heading); margin-bottom: 10px;
}

.about-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

.about-cards { display: flex; flex-direction: column; gap: 20px; }

.about-text p {
  font-size: 16px; font-weight: 300;
  color: var(--text-muted); line-height: 1.8;
  margin-bottom: 20px;
}

.values-list { list-style: none; margin-top: 32px; }
.values-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: var(--text-muted);
  padding: 12px 0; border-bottom: 1px solid var(--border-subtle);
}
.values-list li:last-child { border-bottom: none; }
.check {
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check svg { width: 10px; height: 10px; }

/* ── PROJECTS ── */
.projects { background: var(--bg-page); }

.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 720px;
}

.project-card {
  border: 1px solid var(--border-subtle); border-radius: 8px;
  padding: 36px; position: relative; overflow: hidden;
  transition: all 0.3s; cursor: default;
  background: var(--bg-surface);
}

a.project-card {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
}

.project-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(46,122,224,0.08);
  transform: translateY(-2px);
}

.project-card.featured {
  border-color: var(--navy);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}

.project-card.featured:hover {
  border-color: var(--accent-light);
  box-shadow: 0 12px 40px rgba(11,31,58,0.2);
}

.project-badge {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
  margin-bottom: 24px;
}

.project-card.featured .project-badge {
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
}

.project-card:not(.featured) .project-badge {
  background: var(--bg-surface-soft); color: var(--accent);
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600;
  margin-bottom: 12px; line-height: 1.2;
}

.project-card.featured h3 { color: var(--white); }
.project-card:not(.featured) h3 { color: var(--text-heading); }

.project-card p {
  font-size: 14px; line-height: 1.75; margin-bottom: 28px;
}
.project-card.featured p { color: rgba(255,255,255,0.75); }
.project-card:not(.featured) p { color: var(--text-muted); }

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tag {
  font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 3px;
}
.project-card.featured .project-tag {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8);
}
.project-card:not(.featured) .project-tag {
  background: var(--bg-surface-soft); color: var(--text-muted);
}

.project-coming-soon {
  position: absolute; top: 24px; right: 24px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 3px;
}

.project-card.featured .project-coming-soon {
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7);
}

.project-card:not(.featured) .project-coming-soon {
  background: var(--bg-surface-soft); color: var(--text-subtle);
}

/* ── INDUSTRIES (subsection within About) ── */
.about-industries {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border-subtle);
}

.about-industries h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.about-industries > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 720px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.industry-item {
  background: var(--bg-surface);
  padding: 28px 24px;
  transition: all 0.2s;
  cursor: default;
}

.industry-item:hover { background: var(--accent); }
.industry-item:hover .industry-name { color: var(--white); }
.industry-item:hover .industry-icon { color: var(--white); }

.industry-icon {
  font-size: 24px; color: var(--accent);
  margin-bottom: 12px; display: block;
  transition: color 0.2s;
}

.industry-name {
  font-size: 13px; font-weight: 500;
  color: var(--text-heading); letter-spacing: 0.02em;
  transition: color 0.2s;
}

/* ── CONTACT ── */
.contact { background: var(--bg-page); }

.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p {
  font-size: 16px; font-weight: 300;
  color: var(--text-muted); line-height: 1.75;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border-subtle);
}

.contact-detail:last-child { border-bottom: none; }

.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--bg-surface-soft); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}

.contact-detail-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 2px; }
.contact-detail-value { font-size: 14px; font-weight: 500; color: var(--text-heading); word-break: break-word; }
.contact-detail-value a { color: var(--accent); text-decoration: none; }
.contact-detail-value a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-form);
  border: 1px solid var(--border-subtle);
  border-radius: 8px; padding: clamp(24px, 4vw, 40px);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  color: var(--text-heading); margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle); border-radius: 4px;
  font-family: var(--font-body);
  /* 16px prevents iOS Safari from zooming on focus */
  font-size: 16px;
  color: var(--text-primary); outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea { height: 100px; resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  background: var(--btn-primary-bg); color: var(--btn-primary-text);
  padding: 14px; border: none; border-radius: 4px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; margin-top: 8px;
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}
.form-submit:hover { background: var(--btn-primary-hover-bg); }
.form-submit:disabled { background: var(--gray-400); cursor: not-allowed; }

.form-status {
  margin-top: 16px;
  font-size: 13px;
  color: var(--accent);
  min-height: 20px;
}

.form-status.success,
.form-status.error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  min-height: auto;
}

.form-status.success {
  background: rgba(46, 122, 224, 0.08);
  border-left: 4px solid #2E7AE0;
  color: #0B1F3A;
}

.form-status.error {
  background: rgba(179, 38, 30, 0.06);
  border-left: 4px solid #b3261e;
  color: #6b1f19;
}

.form-status.success::before,
.form-status.error::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.form-status.success::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='10' fill='%232E7AE0'/><path d='M7.5 12.5l3 3 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.form-status.error::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='10' fill='%23b3261e'/><path d='M12 7v6M12 16.5v.5' stroke='white' stroke-width='2' stroke-linecap='round'/></svg>");
}

/* ── FOOTER ── */
footer {
  background: var(--bg-section-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 5% 40px;
  padding-left: max(5%, env(safe-area-inset-left));
  padding-right: max(5%, env(safe-area-inset-right));
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 40px;
}

.footer-brand .company {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px; max-width: 280px; line-height: 1.7;
}

.footer-links h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-size: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── ADC DEEP DIVE ── */
.adc-section { background: var(--bg-section-dark); padding: var(--section-pad-y) var(--section-pad-x); color: white; }
.adc-section .section-label { color: var(--accent-light); }
.adc-section .section-label::before { background: var(--accent-light); }
.adc-section h2 { color: white; }
.adc-section .section-desc { color: rgba(255,255,255,0.65); }

.adc-hero-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  margin-bottom: 60px;
}

.adc-hero-text h3 {
  font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600; color: white; margin-bottom: 16px;
}

.adc-hero-text p {
  font-size: 15px; color: rgba(255,255,255,0.7);
  line-height: 1.8; margin-bottom: 16px;
}

.adc-pitch-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--accent);
  border-radius: 8px; padding: clamp(20px, 3vw, 32px);
}

.adc-pitch-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 16px;
}

.adc-quote {
  font-family: var(--font-display); font-size: clamp(17px, 2vw, 20px);
  font-style: italic; color: white; line-height: 1.6;
  font-weight: 500;
}

.adc-wins-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 72px;
}

.adc-win-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 28px 24px;
  transition: all 0.2s;
}

.adc-win-card:hover {
  background: rgba(46,122,224,0.15);
  border-color: var(--accent);
}

.adc-win-icon { font-size: 28px; margin-bottom: 14px; }

.adc-win-card h4 { font-size: 15px; font-weight: 600; color: white; margin-bottom: 10px; }
.adc-win-card p  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

.adc-built-section { margin-bottom: 72px; }

.adc-built-section h3 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px);
  font-weight: 600; color: white; margin-bottom: 32px;
}

.adc-not-vapor {
  font-size: 18px; font-style: italic;
  color: var(--accent-light); font-family: var(--font-display);
}

.adc-built-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; overflow: hidden;
}

.adc-built-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; background: rgba(255,255,255,0.03);
  transition: background 0.2s;
}

.adc-built-item:hover { background: rgba(46,122,224,0.1); }

.adc-built-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }

.adc-built-item h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 6px; }
.adc-built-item p  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

.adc-roadmap h3 {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px);
  font-weight: 600; color: white; margin-bottom: 32px;
}

.adc-roadmap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adc-roadmap-item { display: flex; gap: 16px; align-items: flex-start; }

.adc-roadmap-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 6px;
}

.adc-roadmap-item h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 6px; }
.adc-roadmap-item p  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ── DIVIDER ── */
.divider {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  margin: 24px 0 40px;
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  animation: fadeIn 0.7s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.25s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.55s; }
.fade-in:nth-child(5) { animation-delay: 0.7s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── RESPONSIVE: TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .about-grid { gap: 56px; }
  .contact-inner { gap: 56px; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { gap: 56px; }
  .adc-wins-grid { grid-template-columns: repeat(2, 1fr); }
  .adc-roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 24px; }
}

/* ── RESPONSIVE: MOBILE (≤768px) ── */
@media (max-width: 768px) {
  nav { height: 64px; padding: 0 5%; }
  .logo-text .company { font-size: 19px; }
  .logo-text .tagline-small { font-size: 9px; }

  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-nav-mobile);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 5% calc(24px + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--border-subtle); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 16px 4px;
    font-size: 15px;
    color: var(--text-heading);
  }

  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  .hero { padding: 100px 5% 64px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { flex: 1 1 auto; text-align: center; }
  .hero-stats { gap: 24px 32px; margin-top: 48px; padding-top: 32px; }
  .stat-item { flex: 1 1 calc(50% - 16px); min-width: 120px; }

  section { padding: 60px 5%; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { padding: 28px; }
  .about-industries { margin-top: 56px; padding-top: 48px; }
  .about-industries > p { margin-bottom: 28px; }

  .projects-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-card { padding: 28px; }

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

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .adc-hero-block { grid-template-columns: 1fr; gap: 32px; }
  .adc-built-grid { grid-template-columns: 1fr; }
  .adc-roadmap-grid { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE: SMALL PHONE (≤480px) ── */
@media (max-width: 480px) {
  .adc-wins-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; text-align: center; }
  .project-coming-soon { position: static; display: inline-block; margin-bottom: 12px; }
}

/* ── SUBTLE GRID OVERLAY (left-side text panels) ── */
.about-text,
.contact-info {
  position: relative;
  isolation: isolate;
}

.about-text::before,
.contact-info::before {
  content: "";
  position: absolute;
  inset: -24px -32px;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  pointer-events: none;
}

/* ── PRINT ── */
@media print {
  nav, .nav-toggle, .hero-bg, .hero-grid, .form-submit { display: none !important; }
  .about-text::before, .contact-info::before { display: none !important; }
  body { color: black; }
  section { padding: 24px 0; }
}

/* ===== Dashboard showcase ===== */
.showcase-frame{
  max-width: 1000px;
  margin: 8px auto 0 0;
  padding: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.showcase-frame img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
@media (max-width: 768px){
  .showcase-frame{ padding: 6px; border-radius: 10px; }
}
