/* ========================================
   FINE AUSTRALIAN HOMES — Structural Engineering
   Design System: "Structural Authority"
   ======================================== */

/* ===== CSS Variables ===== */
:root {
  /* Core Palette */
  --ink: #080B14;
  --ink-2: #0D1119;
  --ink-3: #131825;
  --surface: #1A2138;
  --steel: #243055;
  --blue: #3D7EFF;
  --blue-light: #5B9FFF;
  --blue-dim: rgba(61, 126, 255, 0.12);
  --blue-glow: rgba(61, 126, 255, 0.35);
  --gold: #C9A24B;
  --gold-light: #E0BC6E;
  --gold-dim: rgba(201, 162, 75, 0.12);
  --gold-glow: rgba(201, 162, 75, 0.3);
  --cream: #F0EFED;
  --white: #FFFFFF;
  --text-dark: #080B14;
  --text-mid: #5C6578;
  --text-light: #9BA3B4;
  --text-bright: rgba(255, 255, 255, 0.95);
  --text-dim: rgba(255, 255, 255, 0.5);
  --text-faint: rgba(255, 255, 255, 0.3);
  --border-blue: rgba(61, 126, 255, 0.2);
  --border-gold: rgba(201, 162, 75, 0.25);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-mid: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1280px;
  --header-h: 72px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-bright);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.h-display { font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; }
.h-xl { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.h-lg { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.h-md { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.h-sm { font-size: 1.15rem; }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--text-light); }
.text-dim { color: var(--text-dim); }
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }

/* ===== Eyebrow Label ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--blue);
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--t-mid);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--blue-glow);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}
.btn-ghost {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border-dark);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-lg { padding: 18px 40px; font-size: 0.88rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--t-mid);
}
.header.scrolled {
  background: rgba(8, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1002;
}
.logo-mark {
  width: 44px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  border-radius: 2px;
  letter-spacing: 0.5px;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.logo-text span { display: block; font-size: 0.65rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color var(--t-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width var(--t-mid);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.btn-contact {
  padding: 10px 24px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.btn-contact:hover { background: var(--gold-light); box-shadow: 0 4px 20px var(--gold-glow); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px;
  z-index: 1002;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--t-fast);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 1001;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  padding: 6px 0;
  transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .btn-contact { margin-top: 20px; padding: 14px 36px; font-size: 0.88rem; }

/* ===== Blueprint Grid Overlay ===== */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 126, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 126, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,11,20,0.7) 0%, rgba(8,11,20,0.5) 40%, rgba(8,11,20,0.9) 100%);
}
.hero-scan {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; overflow: hidden;
}
.hero-scan-line {
  position: absolute;
  left: -10%; right: -10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 20%, var(--blue-light) 50%, var(--blue) 80%, transparent 100%);
  box-shadow: 0 0 20px var(--blue), 0 0 40px var(--blue-glow);
  opacity: 0;
  animation: scan-line 4s ease-out 0.8s forwards, scan-pulse 4s ease-in-out 5s infinite;
}
@keyframes scan-line {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes scan-pulse {
  0%, 100% { top: 15%; opacity: 0.3; }
  50% { top: 85%; opacity: 0.5; }
}

.hero-content {
  position: relative; z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--header-h);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .blue { color: var(--blue); }
.hero-title .gold { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--text-light);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 3;
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--blue);
  line-height: 1;
}
.hero-stat-num .unit { font-size: 1.2rem; color: var(--gold); }
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--blue) 0%, transparent 100%);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); transform-origin: top; }
}

/* ===== Section Base ===== */
section { position: relative; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.bg-ink { background: var(--ink); }
.bg-ink-2 { background: var(--ink-2); }
.bg-ink-3 { background: var(--ink-3); }
.bg-surface { background: var(--surface); }
.text-center { text-align: center; }
.max-w-2xl { max-width: 640px; }
.max-w-3xl { max-width: 768px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

/* ===== Section Header ===== */
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .max-w-3xl { margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 20px 0;
  color: var(--white);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Grid Layouts ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== Service / Advantage Cards ===== */
.spec-card {
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 36px;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}
.spec-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.spec-card:hover::before { transform: scaleX(1); }
.spec-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 20px;
}
.spec-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim);
  color: var(--blue);
  border-radius: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border-blue);
}
.spec-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.spec-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Advantage Card Variant (gold accent) ===== */
.adv-card {
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 36px;
  transition: all var(--t-mid);
  position: relative;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}
.adv-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--border-gold);
}
.adv-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }
.adv-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ===== Project Cards ===== */
.project-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  transition: all var(--t-mid);
}
.project-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.project-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-img img { transform: scale(1.06); }
.project-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8,11,20,0.4) 50%, rgba(8,11,20,0.9) 100%);
}
.project-info {
  padding: 24px;
}
.project-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 4px 12px;
  background: var(--blue-dim);
  border-radius: 2px;
  margin-bottom: 12px;
}
.project-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
}
.project-location {
  font-size: 0.82rem;
  color: var(--text-light);
}
.project-specs-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}
.project-spec-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.project-spec-item strong { color: var(--gold); font-weight: 600; }

/* ===== Page Banner ===== */
.page-banner {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  padding-top: var(--header-h);
}
.page-banner-bg { position: absolute; inset: 0; z-index: 0; }
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,11,20,0.6) 0%, rgba(8,11,20,0.9) 100%);
}
.page-banner-content {
  position: relative; z-index: 2;
  padding-bottom: 48px;
}
.page-banner-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin: 12px 0;
  line-height: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--text-faint); }

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--ink);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,11,20,0.85) 0%, rgba(8,11,20,0.7) 100%);
}
.cta-content { position: relative; z-index: 2; }

/* ===== Footer ===== */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-3);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  color: var(--text-light);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  background: var(--blue-dim);
  border-color: var(--border-blue);
  color: var(--blue);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--blue); }
.footer-contact-item {
  display: flex; gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--blue); }

/* ===== Contact Form ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--ink-3);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color var(--t-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  padding: 16px;
  background: var(--blue-dim);
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  color: var(--blue-light);
  font-size: 0.88rem;
  margin-top: 16px;
}

/* ===== Contact Info Cards ===== */
.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  transition: all var(--t-mid);
}
.contact-info-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-2px);
}
.contact-info-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim);
  color: var(--blue);
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid var(--border-blue);
}
.contact-info-card h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.contact-info-card p { font-size: 0.95rem; color: var(--text-bright); }
.contact-info-card a { font-size: 0.95rem; color: var(--blue); }

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }

/* ===== Stats Strip ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.stat-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border-dark);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--blue);
  line-height: 1;
}
.stat-num .unit { font-size: 1.2rem; color: var(--gold); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* ===== Values / Principles ===== */
.value-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
}
.value-item:last-child { border-bottom: none; }
.value-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 40px;
}
.value-item h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 6px; }
.value-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ===== Legal / Long-form Content ===== */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; color: var(--white); margin: 40px 0 16px; }
.legal-content h3 { font-size: 1.1rem; color: var(--white); margin: 28px 0 12px; }
.legal-content p { margin-bottom: 16px; color: var(--text-light); line-height: 1.8; }
.legal-content ul { margin-bottom: 16px; padding-left: 20px; }
.legal-content ul li { margin-bottom: 8px; color: var(--text-light); list-style: disc; }

/* ===== Animations ===== */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fade-in 1s ease-out forwards; }
.animate-fade-in-up { animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Filter Tabs ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.filter-tab:hover { color: var(--white); border-color: var(--border-blue); }
.filter-tab.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ===== Project Detail (for future use) ===== */
.project-detail-hero {
  position: relative;
  height: 55vh;
  min-height: 360px;
  overflow: hidden;
  background: var(--ink);
}
.project-detail-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.project-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,11,20,0.5) 0%, rgba(8,11,20,0.85) 100%);
}
.project-detail-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding-bottom: 48px;
}
.project-detail-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  color: var(--white);
  line-height: 1.05;
  margin: 12px 0;
}
.project-detail-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 20px;
}
.project-detail-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-light);
}
.project-detail-meta-item svg { color: var(--blue); }

.project-detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.project-detail-content h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 16px; }
.project-detail-content h3 { font-size: 1.1rem; color: var(--white); margin: 28px 0 12px; }
.project-detail-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.project-detail-content ul { margin-bottom: 16px; padding-left: 18px; }
.project-detail-content ul li { margin-bottom: 8px; color: var(--text-light); list-style: disc; }

.project-specs {
  position: sticky;
  top: 100px;
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 32px;
}
.project-specs h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}
.project-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
}
.project-spec-row:last-child { border-bottom: none; }
.project-spec-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.project-spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  text-align: right;
}

.feature-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}
.feature-box {
  padding: 28px;
  background: var(--ink-3);
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--border-dark);
}
.feature-box .feature-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  background: var(--blue-dim);
  color: var(--blue);
  border-radius: 4px;
}
.feature-box h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 6px; }
.feature-box p { font-size: 0.82rem; color: var(--text-light); }

.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
}
.project-nav-item {
  flex: 1;
  padding: 24px;
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  transition: all var(--t-mid);
}
.project-nav-item:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
}
.project-nav-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.project-nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.project-nav-item:hover .project-nav-title { color: var(--blue); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .project-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border-dark); }
}
@media (max-width: 768px) {
  .nav-desktop, .header-cta .btn-contact { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .project-grid-2, .project-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .stat-item:last-child { border-bottom: none; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-detail-body { grid-template-columns: 1fr; }
  .project-specs { position: static; }
  .feature-highlight { grid-template-columns: 1fr; }
  .project-nav { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
