/* ── SHARED STYLES — TECHNILENCE ─────────────────────────────── */
:root {
  --cream:   #F4F1EC;
  --ink:     #0E0F12;
  --mid:     #6B6F76;
  --blue:    #3D6BB3;
  --blue-dk: #2A5094;
  --blue-lt: #EEF3FB;
  --rule:    #E0DDD8;
  --white:   #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem; height: 72px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 0.92rem; letter-spacing: 0.1em;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.nav-links { display: flex; gap: 2.25rem; list-style: none; }
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--mid); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--ink); color: var(--ink);
  text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: var(--ink); color: var(--white); }

/* ── SECTION SHARED ── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: ''; width: 1.5rem; height: 1px; background: var(--blue); display: block; flex-shrink: 0;
}
.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--ink);
}
.section-heading em { font-style: italic; color: var(--blue); }

/* ── PAGE HERO BANNER ── */
.page-hero {
  padding: calc(72px + 5rem) 3rem 5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-hero-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--blue); display: block; }
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.06; letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 1.5rem;
}
.page-hero h1 em { font-style: italic; color: var(--blue); }
.page-hero-sub {
  font-size: 1.1rem; color: var(--mid); max-width: 580px;
  line-height: 1.8; font-weight: 300;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.4);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 4rem 3rem 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}
.footer-brand .nav-logo {
  color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.footer-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); line-height: 1.8;
}
.footer-col-head {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a, .footer-links span {
  font-size: 0.88rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 1.5rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.5s; }

/* ── SHARED RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { padding: 1.25rem 1.5rem; flex-direction: column; gap: 0.5rem; }
  .page-hero { padding: calc(72px + 3rem) 1.5rem 3rem; }
  .section-inner { padding: 0; }
}
