/* ═══════════════════════════════════════════════════════
   DELENDA CORPORATION — styles.css
   Dark chrome tech aesthetic
═══════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --bg:          #080808;
  --bg-1:        #0e0e0e;
  --bg-2:        #141414;
  --bg-3:        #1a1a1a;
  --chrome-1:    #f0f0f0;
  --chrome-2:    #c8c8c8;
  --chrome-3:    #909090;
  --chrome-4:    #585858;
  --chrome-5:    #303030;
  --glow:        rgba(220,220,220,0.08);
  --glow-strong: rgba(220,220,220,0.18);
  --accent:      #d0d0d0;
  --text:        #ffffff;
  --text-muted:  #cccccc;
  --copy-bright: #d7d7d7;
  --copy-soft:   #b6b6b6;
  --border:      rgba(255,255,255,0.07);
  --border-light:rgba(255,255,255,0.12);
  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
  --font-head:   'Orbitron', sans-serif;
  --font-body:   'Inter', sans-serif;
  --font-mono:   'Space Mono', monospace;
  --nav-h:       72px;
  --max-w:       1200px;
}

/* ── Light Mode ─────────────────────────────────────── */
/* Applied by early inline script to <html> to avoid flash; body class set by JS */
html.light-mode-init body { visibility: hidden; } /* hide until JS transfers class */

body.light-mode {
  --bg:           #f5f5f3;
  --bg-1:         #efefed;
  --bg-2:         #e8e8e6;
  --bg-3:         #dfdfe0;
  --chrome-1:     #111111;
  --chrome-2:     #2e2e2e;
  --chrome-3:     #555555;
  --chrome-4:     #888888;
  --chrome-5:     #b8b8b8;
  --glow:         rgba(0,0,0,0.05);
  --glow-strong:  rgba(0,0,0,0.12);
  --accent:       #333333;
  --text:         #111111;
  --text-muted:   #555555;
  --copy-bright:  #2d2f34;
  --copy-soft:    #4d5159;
  --border:       rgba(0,0,0,0.09);
  --border-light: rgba(0,0,0,0.15);
}

/* Light mode overrides for elements that use hardcoded colours */
body.light-mode #navbar {
  background: rgba(245,245,243,.92);
  border-bottom-color: rgba(0,0,0,0.09);
}
body.light-mode .mobile-menu {
  background: var(--bg-1);
  border-top-color: var(--border);
}
body.light-mode .chrome-text {
  background: linear-gradient(135deg, #111 0%, #444 40%, #888 70%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.light-mode .hero-title {
  filter: drop-shadow(0 2px 10px rgba(245,245,243,0.9)) drop-shadow(0 1px 3px rgba(245,245,243,0.8));
}
body.light-mode .hero-label,
body.light-mode .hero-sub {
  color: #222222;
  text-shadow: 0 1px 6px rgba(245,245,243,0.95), 0 2px 18px rgba(245,245,243,0.8);
}
body.light-mode .countdown-num {
  color: var(--chrome-1);
  text-shadow: 0 0 12px rgba(0,0,0,0.1);
}
body.light-mode .btn-primary {
  background: var(--chrome-1);
  color: var(--bg);
}
body.light-mode .btn-primary:hover {
  background: var(--chrome-2);
}
body.light-mode .btn-secondary {
  border-color: var(--chrome-3);
  color: var(--chrome-2);
}
body.light-mode .btn-outline {
  border-color: var(--chrome-4);
  color: var(--chrome-3);
}
body.light-mode .btn-outline:hover {
  border-color: var(--chrome-2);
  color: var(--chrome-1);
}
body.light-mode .btn-nav {
  border-color: var(--chrome-4);
  color: var(--chrome-2);
}
body.light-mode .btn-nav:hover {
  background: var(--chrome-1);
  color: var(--bg);
}
body.light-mode ::-webkit-scrollbar-track { background: var(--bg-1); }
body.light-mode ::-webkit-scrollbar-thumb { background: var(--chrome-5); }

/* Canvas-backed about section stays readable in light mode. */
body.light-mode #about .container {
  background: rgba(245,245,243,0.72);
  border-radius: 12px;
  padding: 2.5rem;
}
body.light-mode #about .container h2,
body.light-mode #about .container h3,
body.light-mode #about .container p,
body.light-mode #about .container .section-label,
body.light-mode #joint-venture .container h2,
body.light-mode #joint-venture .container h3,
body.light-mode #joint-venture .container p,
body.light-mode #joint-venture .container .section-label {
  text-shadow: none;
}

/* ── Theme Toggle Button ─────────────────────────────── */
.theme-toggle {
  background: none;
  border: 1px solid var(--chrome-5);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--chrome-4);
  transition: color .2s, border-color .2s, transform .35s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--chrome-2);
  border-color: var(--chrome-4);
}
.theme-toggle svg {
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: opacity .2s, transform .35s cubic-bezier(0.16,1,0.3,1);
}
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none; }
body.light-mode .theme-toggle .icon-sun  { display: none; }
body.light-mode .theme-toggle .icon-moon { display: block; }
body.light-mode .theme-toggle {
  border-color: var(--chrome-4);
  color: var(--chrome-3);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto;
  font-size: 16px;
  overflow-x: hidden;
} /* Lenis handles smooth scroll */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  width: 100%;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: none; font-family: inherit; border: none; background: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ── Touch / Mobile cursor fix ──────────────────────── */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  button { cursor: pointer; }
  a { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ── Custom Cursor ──────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--chrome-1);
  transform: translate(-50%,-50%);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(200,200,200,0.5);
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-ring.hovered {
  width: 48px; height: 48px;
  border-color: var(--chrome-2);
}

/* ── Inquiry Banner ─────────────────────────────────── */
#inquiryBanner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9998;
  background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.55rem 3rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--chrome-3);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
#inquiryBanner a {
  color: var(--chrome-1); border-bottom: 1px solid var(--chrome-4);
  transition: border-color 0.2s;
}
#inquiryBanner a:hover { border-color: var(--chrome-1); }
#inquiryBannerClose {
  position: absolute; right: 1rem;
  font-size: 0.65rem; color: var(--chrome-4); padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}
#inquiryBannerClose:hover { color: var(--chrome-2); }
#inquiryBanner.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
body.inquiry-visible { padding-top: 34px; }
body.inquiry-visible #navbar { top: 34px; }

@media (max-width: 768px) {
  #inquiryBanner {
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 0.48rem 2.6rem 0.48rem 1rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }
  #inquiryBanner a {
    white-space: nowrap;
  }
  #inquiryBannerClose {
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    min-width: 36px;
    min-height: 36px;
  }
  body.inquiry-visible { padding-top: 42px; }
  body.inquiry-visible #navbar { top: 42px; }
}

@media (max-width: 380px) {
  #inquiryBanner {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
}

/* ── Mid-page CTA ───────────────────────────────────── */
#midCta {
  background:
    linear-gradient(135deg, #ffffff 0%, #e6e8eb 18%, #b6bac2 42%, #f7f8f9 64%, #8d929c 100%);
  border-top: 1px solid rgba(255,255,255,0.52);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), inset 0 -1px 0 rgba(0,0,0,0.18);
  padding: 5rem 0;
}
.mid-cta-inner {
  text-align: center; max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.mid-cta-label {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.25em;
  color: #373b42; text-transform: uppercase;
}
.mid-cta-inner h2 {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem);
  color: #090a0c; letter-spacing: 0.04em; line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255,255,255,0.78);
}
.mid-cta-inner > p {
  color: #252931; font-size: 0.95rem; max-width: 500px; line-height: 1.7;
}
.mid-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
#midCta .btn-secondary {
  background: rgba(8,8,8,0.08);
  border-color: rgba(8,8,8,0.28);
  color: #101114;
}
#midCta .btn-secondary:hover {
  background: rgba(8,8,8,0.14);
  border-color: rgba(8,8,8,0.42);
}

/* ── Preloader ──────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo { animation: pulse 1.5s ease-in-out infinite; }
#glitchCanvas { width: 110px; height: 110px; display: block; }
.preloader-bar {
  width: 200px; height: 2px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--chrome-4), var(--chrome-1), var(--chrome-4));
  background-size: 200%;
  animation: shimmer-bar 1.2s ease-in-out forwards;
}
@keyframes shimmer-bar {
  0%   { width: 0%; }
  100% { width: 100%; }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.95); }
}

/* ── Typography ─────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1rem; letter-spacing: 0.06em; }

p {
  color: var(--text-muted);
  font-size: 1.0rem;
  line-height: 1.75;
}

.chrome-text {
  background: linear-gradient(135deg, #fff 0%, #c8c8c8 40%, #707070 70%, #c0c0c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout Helpers ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: 120px 0;
  position: relative;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--chrome-1);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.section-header {
  max-width: 680px;
  margin-bottom: 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* ── Buttons ────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  min-height: 44px;
  text-align: center;
  cursor: none;
}
.btn-primary {
  background: linear-gradient(135deg, #d8d8d8 0%, #f8f8f8 50%, #b8b8b8 100%);
  color: #080808;
  box-shadow: 0 0 24px rgba(220,220,220,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(220,220,220,0.3);
}
.btn-secondary {
  background: var(--bg-3);
  color: var(--chrome-2);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: var(--bg-2);
  border-color: var(--chrome-4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--chrome-3);
  border: 1px solid var(--chrome-5);
}
.btn-outline:hover {
  border-color: var(--chrome-3);
  color: var(--chrome-1);
  transform: translateY(-2px);
}
.btn-nav {
  padding: 0.5rem 1.2rem;
  background: var(--bg-3);
  color: var(--chrome-2);
  border: 1px solid var(--border-light);
  font-size: 0.65rem;
}
.btn-nav:hover { border-color: var(--chrome-4); }
.full-width { width: 100%; }

/* ── Navbar ─────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
}
#navbar.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
#scrollProgress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--chrome-4), var(--chrome-2), var(--chrome-4));
  background-size: 200% 100%;
  animation: progressShimmer 3s linear infinite;
  transform-origin: left;
  transition: width 0.05s linear;
  pointer-events: none;
  z-index: 1001;
}
@keyframes progressShimmer {
  0%   { background-position: 0%   50%; }
  100% { background-position: 200% 50%; }
}
body.light-mode #scrollProgress {
  background: linear-gradient(90deg, var(--chrome-3), var(--chrome-1), var(--chrome-3));
  background-size: 200% 100%;
}
@media (prefers-reduced-motion: reduce) {
  #scrollProgress { animation: none; }
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-img { width: 32px; height: auto; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 900;
  color: var(--chrome-2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-4);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--chrome-2); background: var(--glow); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}
.lang-btn {
  color: var(--chrome-5);
  letter-spacing: 0.1em;
  padding: 0.25rem 0.1rem;
  transition: color 0.2s;
}
.lang-btn.active { color: var(--chrome-2); }
.lang-btn:hover { color: var(--chrome-2); }

/* ── Glitch hover for top-nav interactive items ──────── */
@keyframes navGlitch {
  0%   { transform: translate(0, 0);        text-shadow: none; }
  15%  { transform: translate(-1.6px, 0.6px); text-shadow: 1.6px 0 rgba(255,255,255,0.75), -1.6px 0 rgba(120,120,120,0.6); }
  30%  { transform: translate(1.6px, -0.6px); text-shadow: -1.6px 0 rgba(255,255,255,0.75), 1.6px 0 rgba(120,120,120,0.6); }
  45%  { transform: translate(-1.2px, 0);   text-shadow: 1.2px 0 rgba(255,255,255,0.6), -1.2px 0 rgba(120,120,120,0.5); }
  60%  { transform: translate(1.2px, 0.6px); text-shadow: -1.4px 0 rgba(255,255,255,0.7), 1.4px 0 rgba(120,120,120,0.55); }
  75%  { transform: translate(-0.8px, -0.4px); text-shadow: 0.8px 0 rgba(255,255,255,0.5); }
  100% { transform: translate(0, 0);        text-shadow: none; }
}
.nav-links a:hover,
.lang-btn:hover,
.btn-nav:hover,
.nav-logo:hover,
.mobile-menu a:hover {
  animation: navGlitch 0.34s steps(3, end) 1;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a:hover,
  .lang-btn:hover,
  .btn-nav:hover,
  .nav-logo:hover,
  .mobile-menu a:hover { animation: none; }
}
.lang-divider { color: var(--chrome-5); }

/* Hamburger */
.hamburger {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  touch-action: manipulation;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--chrome-3);
  border-radius: 1px;
  transition: var(--transition);
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem max(1.25rem, env(safe-area-inset-left, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 999;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100vh - var(--nav-h) - env(safe-area-inset-top, 0px));
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.5rem; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--chrome-3);
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:active { color: var(--chrome-1); }
.mobile-menu a:hover { color: var(--chrome-1); }
.mobile-lang { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--chrome-4); }
.mobile-lang .lang-btn { min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; }

/* ── Hero ────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
@supports (min-height: 100svh) {
  #hero { min-height: 100svh; }
  .mobile-menu { max-height: calc(100svh - var(--nav-h) - env(safe-area-inset-top, 0px)); }
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero-logo {
  margin: 0 auto 2rem;
  width: 100px;
}
.hero-logo img { width: 100%; }
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 2px 24px rgba(0,0,0,0.7);
}
.hero-title {
  margin-bottom: 1.5rem;
  color: var(--chrome-1);
  /* drop-shadow instead of text-shadow — works with gradient clip text */
  filter: drop-shadow(0 2px 16px rgba(0,0,0,1)) drop-shadow(0 1px 4px rgba(0,0,0,0.9));
}
.hero-sub {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 2px 24px rgba(0,0,0,0.7);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Countdown */
.hero-countdown {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
}
.countdown-label {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .3em;
  color: var(--chrome-4);
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}
.countdown-units {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  min-width: 52px;
}
.countdown-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--chrome-1);
  letter-spacing: .04em;
  line-height: 1;
  /* subtle glow */
  text-shadow: 0 0 18px rgba(240,240,240,.18);
  transition: color .15s;
}
.countdown-unit-label {
  font-family: var(--font-mono);
  font-size: .48rem;
  letter-spacing: .22em;
  color: var(--chrome-5);
  text-transform: uppercase;
}
.countdown-sep {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  color: var(--chrome-5);
  line-height: 1;
  margin-bottom: 1rem; /* nudge up to align with numbers */
  user-select: none;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: float 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--chrome-4));
}
.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chrome-5);
}
@keyframes float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Canvas-section text shadows ────────────────────── */
/* Any text sitting above an animated canvas background  */
#about .container,
#joint-venture .container {
  --ts: 0 1px 10px rgba(0,0,0,0.95), 0 2px 28px rgba(0,0,0,0.7);
}
#about .container h2,
#about .container h3,
#about .container p,
#about .container .section-label,
#joint-venture .container h2,
#joint-venture .container h3,
#joint-venture .container p,
#joint-venture .container .section-label {
  text-shadow: var(--ts);
}
/* Gradient-clipped headings need filter instead */
#about .container h2 .chrome-text,
#joint-venture .container h2 .chrome-text {
  text-shadow: none;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,1)) drop-shadow(0 1px 3px rgba(0,0,0,0.9));
}

/* ── About ──────────────────────────────────────────── */
#about {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(8,8,8,0.78), rgba(8,8,8,0.58)),
    url('../assets/about-bg2.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Code-rain canvas replaced by the image background */
#aboutCanvas { display: none; }
body.light-mode #about {
  background-image:
    linear-gradient(rgba(245,245,243,0.88), rgba(245,245,243,0.78)),
    url('../assets/about-bg2.webp');
}
#about .container { position: relative; z-index: 2; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
}
.about-left { max-width: 820px; }
.about-left h2 { margin-bottom: 1.75rem; }
.about-left p { margin-bottom: 1.15rem; max-width: 74ch; color: #ffffff; }
.about-readmore { display: inline-flex; margin-top: 1.4rem; }
body.light-mode .about-left p { color: var(--ink, #16171a); }

/* ── AI Consulting ─────────────────────────────────── */
#services {
  overflow: hidden;
}
.ai-consulting-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.ai-consulting-copy {
  min-width: 0;
}
.ai-consulting-copy .section-header {
  margin-bottom: 0;
}
.ai-consulting-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 0.82;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.025);
  box-shadow: 0 28px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.ai-consulting-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.28));
  pointer-events: none;
}
.ai-consulting-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.86);
}

/* ── What We Build ─────────────────────────────────── */
#what-we-build {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg), #0a0a0a 48%, var(--bg-1));
  border-top: 1px solid var(--border);
}
#what-we-build::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(1.5rem, calc((100vw - var(--max-w)) / 2));
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(72,255,154,0.45) 18%, rgba(255,255,255,0.08) 52%, transparent);
  opacity: 0.9;
}
.build-section-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2.5rem;
}
.build-section-head .section-label {
  margin-bottom: 1rem;
}
.build-section-head h2 {
  max-width: 760px;
}
.build-section-head > p {
  max-width: 48ch;
  font-size: 0.92rem;
  color: var(--copy-soft);
}
.build-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.11);
}
.build-card {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(110px, 0.16fr) minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: start;
  padding: clamp(1.25rem, 3vw, 1.9rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  background: transparent;
}
.build-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(72,255,154,0.92), rgba(72,255,154,0));
  box-shadow: 0 0 14px rgba(72,255,154,0.24);
  transition: width 0.45s ease;
}
.build-card:hover::before {
  width: min(220px, 42%);
}
.build-marker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(72,255,154,0.62);
  text-shadow: 0 0 12px rgba(72,255,154,0.16);
  padding-top: 0.2rem;
}
.build-card h3 {
  max-width: 19rem;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--chrome-1);
}
.build-card p {
  max-width: 44rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--copy-soft);
}

.joint-venture-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  max-width: 440px;
  margin-bottom: 3rem;
  border: 1px solid rgba(190,255,190,0.14);
  background:
    linear-gradient(135deg, rgba(0,255,136,0.08), rgba(255,255,255,0.045) 42%, rgba(8,8,8,0.9)),
    rgba(8,8,8,0.9);
  box-shadow: 0 32px 90px rgba(0,0,0,0.68), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  padding: clamp(1rem, 2.2vw, 1.55rem);
}
.venture-logos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}
.venture-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 102px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.64);
  padding: 0.85rem;
}
.venture-logo-card img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}
.arctec-logo-card img {
  mix-blend-mode: screen;
}
.venture-link-mark {
  color: rgba(190,255,190,0.9);
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 18px rgba(0,255,136,0.45);
}
.venture-copy {
  max-width: 660px;
}
.venture-label {
  display: inline-flex;
  margin-bottom: 0.6rem;
  color: rgba(190,255,190,0.86);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}
.venture-copy h2 {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  line-height: 1.12;
}
.venture-copy p {
  color: var(--copy-bright);
  max-width: 68ch;
  font-size: 0.9rem;
}
body.light-mode .joint-venture-panel {
  background:
    linear-gradient(135deg, rgba(0,120,64,0.08), rgba(255,255,255,0.48) 42%, rgba(245,245,243,0.82)),
    rgba(245,245,243,0.82);
}
body.light-mode .venture-logo-card {
  background: rgba(255,255,255,0.54);
}
body.light-mode .venture-copy h2,
body.light-mode .venture-copy p {
  color: var(--ink, #16171a);
}

/* ── Team ───────────────────────────────────────────── */
#team {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(72,255,154,0.1), transparent 22rem),
    linear-gradient(180deg, var(--bg), #0a0a0a 52%, var(--bg));
}
#team::before {
  content: '';
  position: absolute;
  top: 8rem;
  right: max(1.5rem, calc((100vw - var(--max-w)) / 2));
  bottom: 7rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(72,255,154,0.5), rgba(255,255,255,0.08), transparent);
  opacity: 0.8;
}
#team .container {
  position: relative;
  z-index: 1;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 3rem;
}
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  padding: clamp(1.2rem, 2.4vw, 1.85rem);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  background: rgba(255,255,255,0.025);
  transition: border-color var(--transition), background var(--transition);
  overflow: hidden;
}
.team-card:hover {
  border-color: rgba(72,255,154,0.26);
  background: rgba(72,255,154,0.035);
}
.team-card > * {
  position: relative;
  z-index: 2;
}
.team-card-photo {
  justify-content: flex-end;
  background: #050505;
}
.team-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.88)),
    linear-gradient(90deg, rgba(0,0,0,0.5), transparent 44%, rgba(0,0,0,0.18));
  pointer-events: none;
}
.team-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
}
.team-card-photo:hover .team-photo {
  filter: saturate(0.95) contrast(1.08) brightness(0.88);
}
.team-card-photo h3 {
  text-shadow: 0 0 24px rgba(0,0,0,0.82);
}
.team-card-photo .team-role,
.team-card-photo .team-desc,
.team-card-photo .team-social {
  text-shadow: 0 0 18px rgba(0,0,0,0.85);
}
.team-card-photo .team-social {
  margin-top: 1rem;
}
.team-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: auto;
}
.team-card-photo .team-socials {
  margin-top: 1rem;
}
.team-socials .team-social {
  margin-top: 0;
}
.team-card h3 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1rem;
}
.team-card h3 span {
  display: block;
}
.team-card h3::after {
  content: '';
  display: block;
  width: 1rem;
  height: 2px;
  margin-top: 0.7rem;
  background: rgba(72,255,154,0.9);
  box-shadow: 0 0 12px rgba(72,255,154,0.32);
}
.team-role {
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(72,255,154,0.78);
  display: block;
  margin: 0 0 0.75rem;
}
.team-role::before {
  content: none;
}
.team-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.66);
  max-width: 21rem;
  margin: 0 auto 0 0;
}
.team-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.team-social svg { flex-shrink: 0; }
.team-social:hover { color: rgba(72,255,154,0.82); }
.partner-banner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: var(--bg-2);
}
.partner-banner p { font-size: 0.9rem; color: var(--chrome-4); margin: 0; }
.partner-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--chrome-2);
  letter-spacing: 0.12em;
}

/* ── Joint Venture Globe ────────────────────────────── */
#joint-venture { background: #000; position: relative; overflow: hidden; }
#blogCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  filter: saturate(1.05) brightness(0.9);
}
#joint-venture .container {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(280px, 1fr);
  align-items: center;
  min-height: clamp(500px, 64vh, 660px);
}
#joint-venture .section-label {
  grid-column: 1;
  align-self: end;
  max-width: 440px;
}
#joint-venture .joint-venture-panel {
  grid-column: 1;
  align-self: start;
  margin-bottom: 0;
}
.venture-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

/* ── Contact ────────────────────────────────────────── */
#contact {
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.055), transparent 28%),
    linear-gradient(180deg, var(--bg), #050505 48%, var(--bg));
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.74fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-form-wrap {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018) 38%, rgba(0,0,0,0.42)),
    rgba(14,14,14,0.78);
  box-shadow: 0 28px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.055);
}
.contact-panel-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.contact-panel-head span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chrome-2);
}
.contact-panel-head p {
  max-width: 58ch;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--copy-soft);
}
.contact-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,0.28);
}
.contact-tab {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-4);
  min-height: 48px;
  padding: 0.75rem 0.65rem;
  transition: background 0.2s, color 0.2s;
  border-right: 1px solid var(--border);
}
.contact-tab:last-child { border-right: none; }
.contact-tab.active {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  color: var(--chrome-1);
}
.contact-tab:hover:not(.active) { background: var(--glow); color: var(--chrome-3); }

.form-group { margin-bottom: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome-4);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.095);
  border-radius: var(--radius);
  min-height: 48px;
  padding: 0.82rem 1rem;
  color: var(--chrome-2);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-group textarea {
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--chrome-5); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 0 0 3px rgba(180,180,180,0.07), 0 12px 34px rgba(0,0,0,0.22);
}
.contact-trust-note {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  line-height: 1.65;
  color: var(--copy-soft);
}

.contact-info { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
}
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--chrome-5);
}
.contact-detail a,
.contact-detail span { font-size: 0.95rem; color: var(--chrome-2); }
.contact-detail a:hover { color: var(--chrome-1); }
.contact-process-card {
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018) 42%, rgba(0,0,0,0.38)),
    rgba(14,14,14,0.64);
  padding: 1.4rem;
}
.contact-process-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.contact-process-item {
  padding-left: 0.75rem;
  border-left: 1px solid var(--chrome-5);
}
.contact-process-item p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--copy-soft);
}

.contact-page-main {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background:
    radial-gradient(circle at 12% 16%, rgba(72,255,154,0.08), transparent 22rem),
    radial-gradient(circle at 86% 20%, rgba(255,255,255,0.055), transparent 18rem),
    var(--bg);
}
.contact-page-hero {
  padding-top: clamp(7rem, 11vw, 10rem);
}
.contact-page-head {
  max-width: 920px;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}
.contact-page-head h1 {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--chrome-1);
}
.contact-page-head p {
  max-width: 58ch;
  color: var(--copy-soft);
}
.contact-page-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.46fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-page-intro {
  padding-top: 0.25rem;
}
.contact-page-intro p {
  max-width: 34ch;
  margin-bottom: 2rem;
  color: var(--copy-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}
.contact-page .contact-form-wrap {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018) 44%, rgba(0,0,0,0.46)),
    rgba(12,12,12,0.86);
}

/* ── Support Card ────────────────────────────────────── */
.support-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.support-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chrome-4);
}
.support-card-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--chrome-2);
  letter-spacing: 0.04em;
}
.support-card-desc {
  font-size: 0.85rem;
  color: var(--copy-soft);
  line-height: 1.6;
}
.support-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-2);
  background: none;
  border: 1px solid var(--chrome-4);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.support-card-btn:hover {
  color: var(--chrome-1);
  border-color: var(--chrome-2);
  background: rgba(255,255,255,0.04);
}

.contact-quote {
  border-left: 2px solid var(--chrome-5);
  padding-left: 1.25rem;
  margin-top: 1rem;
}
.contact-quote blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--chrome-3);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.contact-quote cite {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--chrome-5);
  letter-spacing: 0.1em;
}

/* ── Footer ─────────────────────────────────────────── */
#footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-logo { width: 36px; opacity: 0.7; }
.footer-name {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--chrome-4);
}
.footer-brand p { font-size: 0.85rem; }
.footer-social { margin-top: 0.4rem; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--chrome-3);
  transition: color 0.2s;
}
.social-link svg { flex-shrink: 0; }
.social-link:hover { color: var(--chrome-1); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--chrome-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--chrome-5);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Scroll Reveal Animations ───────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Section label — clip-path wipe-in effect */
.section-label.reveal-up {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transform: none;
  transition: clip-path 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s;
}
.section-label.reveal-up.visible {
  clip-path: inset(0 0% 0 0);
}

/* Section container entrance — subtle rise + scale */
.section-enter {
  opacity: 0;
  transform: translateY(60px) scale(0.985);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1),
              transform 1.1s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.section-enter.section-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger children */
.team-grid .team-card:nth-child(1) { transition-delay: 0.05s; }
.team-grid .team-card:nth-child(2) { transition-delay: 0.15s; }
.team-grid .team-card:nth-child(3) { transition-delay: 0.25s; }

/* ── FAQ ────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  color: var(--chrome-2);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.4;
  transition: color .2s;
}
.faq-question:hover { color: var(--chrome-1); }
.faq-question[aria-expanded="true"] { color: var(--chrome-1); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--chrome-5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--chrome-4);
  transition: transform .35s cubic-bezier(0.16,1,0.3,1), border-color .2s, color .2s;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--chrome-4);
  color: var(--chrome-2);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}
.faq-answer.open {
  grid-template-rows: 1fr;
}
.faq-answer > p {
  overflow: hidden;
  padding-bottom: 1.4rem;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-cta {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.faq-cta > p {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--chrome-4);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .ai-consulting-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
    gap: 2.5rem;
  }
  .build-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .build-card {
    grid-template-columns: minmax(90px, 0.2fr) minmax(190px, 0.42fr) minmax(0, 1fr);
  }
  .contact-grid { gap: 3rem; }
  #joint-venture .container {
    grid-template-columns: minmax(280px, 0.58fr) minmax(260px, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  section { padding: 78px 0; }
  .container { padding: 0 1.5rem; }
  .reveal-left  { transform: translateX(-18px); }
  .reveal-right { transform: translateX(18px); }
  .nav-inner { padding: 0 1.25rem; gap: 1rem; }
  .nav-logo-text { font-size: 0.74rem; letter-spacing: 0.15em; }
  .nav-links, .btn-nav { display: none; }
  .nav-right .lang-toggle { display: none; }
  .nav-right { margin-left: auto; gap: 0; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .mobile-menu a { font-size: 0.82rem; letter-spacing: 0.08em; }
  #hero { align-items: flex-start; }
  .hero-content {
    width: 100%;
    padding: calc(var(--nav-h) + 2.25rem) 1.5rem 5rem;
  }
  .hero-logo {
    width: 78px;
    margin-bottom: 1.35rem;
  }
  .hero-label {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: clamp(2rem, 11vw, 3.1rem);
    margin-bottom: 1.1rem;
  }
  .hero-sub {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 0 3rem;
  }
  .team-card {
    aspect-ratio: 1 / 1;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .team-card h3 {
    font-size: clamp(1.45rem, 8vw, 2rem);
    max-width: 100%;
  }
  .team-card h3::after {
    width: 1rem;
    margin-left: 0;
  }
  .team-role {
    font-size: 0.56rem;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-page-shell { grid-template-columns: 1fr; gap: 2rem; }
  .contact-page-hero { padding-top: 6rem; }
  .contact-page-head h1 { font-size: clamp(2.1rem, 10vw, 3.35rem); }
  .contact-page-intro p { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { flex-direction: column; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas a,
  .venture-actions a,
  .mid-cta-btns a { width: 100%; max-width: 320px; }
  .hero-countdown { margin-top: 1.75rem; }
  .countdown-units { gap: 0.28rem; }
  .countdown-unit { min-width: 44px; }
  .countdown-unit-label { font-size: 0.42rem; letter-spacing: 0.16em; }
  .hero-scroll-indicator { display: none; }
  .section-header {
    margin-bottom: 2.8rem;
  }
  .section-header p {
    font-size: 0.96rem;
    line-height: 1.7;
  }
  .ai-consulting-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ai-consulting-visual {
    aspect-ratio: 1.25;
    max-height: 360px;
  }
  .build-section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .build-section-head > p {
    max-width: 60ch;
  }
  #midCta { padding: 4rem 0; }
  .contact-tabs { flex-direction: column; }
  .contact-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-tab:last-child { border-bottom: none; }
  #joint-venture .container {
    grid-template-columns: 1fr;
    min-height: 560px;
    align-content: center;
  }
  #blogCanvas { opacity: 0.54; }
  #joint-venture .section-label {
    max-width: 100%;
  }
  #joint-venture .joint-venture-panel {
    max-width: 100%;
    width: 100%;
  }
  .venture-logos { grid-template-columns: 1fr; }
  .venture-link-mark { text-align: center; }
  .venture-logo-card { min-height: 96px; }
  .venture-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .contact-form-wrap,
  .support-card {
    min-width: 0;
  }
  .contact-info {
    padding-top: 0;
  }
  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.85rem;
  }
  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.05rem; }
  p { font-size: 0.94rem; }
  section { padding: 68px 0; }
  .container { padding: 0 1.25rem; }
  .nav-logo-text { max-width: 158px; }
  .hero-logo { width: 70px; }
  .hero-content { padding-inline: 1.25rem; }
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    padding: 0.78rem 1rem;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
  .mid-cta-inner { gap: 1rem; }
  .mid-cta-label,
  .section-label {
    letter-spacing: 0.16em;
  }
  .ai-consulting-visual {
    aspect-ratio: 1.05;
    max-height: 300px;
  }
  .build-grid {
    gap: 0;
    padding-left: 0.95rem;
    border-top-color: rgba(72,255,154,0.26);
  }
  .build-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 0 1.15rem;
  }
  .build-card::before {
    width: 42px;
  }
  .build-marker {
    width: fit-content;
    padding-top: 0;
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }
  .build-card h3 {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.28;
  }
  .build-card p {
    font-size: 0.84rem;
    line-height: 1.58;
  }
  #joint-venture .container {
    min-height: 520px;
  }
  .joint-venture-panel {
    gap: 0.85rem;
    padding: 1rem;
  }
  .venture-logo-card {
    min-height: 82px;
    padding: 0.7rem;
  }
  .venture-logo-card img { max-height: 58px; }
  .venture-copy h2 { font-size: 1.22rem; }
  .venture-copy p { font-size: 0.86rem; line-height: 1.62; }
  .support-card { padding: 1.2rem; }
  .contact-form-wrap,
  .contact-process-card {
    padding: 1.1rem;
  }
  .contact-panel-head {
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
  }
  .contact-panel-head p,
  .contact-process-item p {
    font-size: 0.82rem;
  }
  .contact-process-item {
    padding-left: 0.65rem;
  }
  .support-card-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 360px) {
  .container,
  .hero-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #what-we-build::before {
    left: 1rem;
  }
  .build-grid {
    padding-left: 0.75rem;
  }
  .build-card h3 {
    font-size: 0.95rem;
  }
  .nav-inner { padding: 0 1rem; }
  .nav-logo-text {
    font-size: 0.66rem;
    max-width: 132px;
  }
  .hero-title { font-size: 1.78rem; }
  .countdown-unit { min-width: 38px; }
  .countdown-num { font-size: 1.2rem; }
}

/* ── Misc Utility ───────────────────────────────────── */
::selection { background: rgba(200,200,200,0.15); color: var(--chrome-1); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--chrome-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--chrome-4); }

/* ── Print Styles ───────────────────────────────────── */
@media print {
  /* Reset to readable print layout */
  * { animation: none !important; transition: none !important; }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.6;
  }

  /* Hide non-content elements */
  #preloader, #inquiryBanner, #navbar, nav,
  #heroCanvas, #aboutCanvas, #blogCanvas,
  #midCta, .cursor-dot, .cursor-ring,
  .hamburger, .mobile-menu, .footer-links,
  .hero-scroll-indicator, .hero-countdown, .reveal-up:not(.visible),
  canvas { display: none !important; }

  /* Reveal everything that was hidden */
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Sections */
  section { padding: 24pt 0 !important; border: none !important; }
  .container { max-width: 100% !important; padding: 0 !important; }

  /* Typography */
  h1, h2, h3, h4 { color: #111 !important; page-break-after: avoid; }
  p, li { color: #333 !important; }
  a { color: #333 !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #666; }

  /* Cards — simplify for print */
  .team-card {
    border: 1px solid #ccc !important;
    background: #fff !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  /* Footer — show only copyright */
  footer .footer-top { display: none !important; }
  .footer-bottom { border-top: 1px solid #ccc; color: #666 !important; font-size: 8pt; }

  /* Page breaks */
  #about, #team { page-break-before: auto; }
}

/* ── Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* Disable all CSS transitions and animations */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Reveal elements immediately without animation */
  .reveal-up, .reveal-left, .reveal-right,
  .section-enter {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    clip-path: none !important;
  }
  .section-label.reveal-up {
    clip-path: none !important;
  }

  /* Preloader: skip straight to done */
  #preloader {
    display: none !important;
  }

  /* Keep preloader functional but instant */
  .pre-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Stop scroll indicator animation */
  .scroll-line { animation: none !important; }
}

/* ── Skip to Content (accessibility) ───────────────── */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--chrome-1);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 1rem;
  outline: 2px solid var(--chrome-1);
  outline-offset: 2px;
}

/* ── Keyboard focus styles (:focus-visible) ─────────── */
/* Only shown for keyboard/tab navigation, not mouse clicks */
:focus-visible {
  outline: 2px solid var(--chrome-3);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Nav links */
.nav-links a:focus-visible,
.mobile-menu a:focus-visible {
  outline-color: var(--chrome-2);
}

/* Buttons and CTAs */
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-nav:focus-visible,
.lang-btn:focus-visible,
.hamburger:focus-visible {
  outline-color: var(--chrome-2);
  outline-offset: 4px;
}

/* ── Footer Legal Links ─────────────────────────────── */
.footer-legal {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--chrome-5);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--chrome-3); }
.footer-sep { color: var(--chrome-5); font-size: 0.62rem; }

/* ── Form Success / Error States ────────────────────── */
.form-success, .form-error {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-top: 1rem;
}
.form-success {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25D366;
}
.form-error {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
  color: #ff6060;
}
.form-success.visible, .form-error.visible { display: block; }
