/* =========================================================
   Raven Intelligent Systems — styles
   Palette : black · gold · gray · white
   Type    : Space Grotesk (display) · Inter (body)

   STRUCTURE OF THIS FILE
   ----------------------
     1. Design tokens (:root variables)  — colors, spacing, timing
     2. Reset + typography               — base element defaults
     3. Layout helpers                   — .wrap, .section, .two-col
     4. Header / nav (light grey band)
     5. Buttons
     6. Hero (image + ambient glow)
     7. Trust strip (backers)
     8. Product features
     9. Hardware showcase cards
    10. Workflow steps
    11. Technology cards
    12. Hazards (image + 3x3 icon grid)
    13. Performance metrics
    14. Roadmap timeline
    15. Contact form
    16. Footer (light grey band)
    17. Scroll-reveal animation

   Tip: search for the section name in caps to jump to it.
   ========================================================= */


/* =========================================================
   1. DESIGN TOKENS
   To re-skin the site, edit values here.
   ========================================================= */
:root {
  /* Surfaces (dark theme) */
  --black:        #050505;
  --bg:           #0a0a0a;   /* page / section default */
  --bg-elev:      #111111;
  --bg-card:      #131313;   /* cards, tiles */
  --line:         #1f1f1f;   /* hairline borders */
  --line-strong:  #2a2a2a;

  /* Brand accent (gold) */
  --gold:         #d4af37;
  --gold-bright:  #e6c068;

  /* Text scale */
  --white:        #ffffff;
  --gray-100:     #f4f4f4;
  --gray-300:     #b8b8b8;
  --gray-400:     #8a8a8a;
  --gray-500:     #6b6b6b;

  /* Layout */
  --maxw:         1200px;    /* content max width */
  --radius:       14px;      /* card radius */
  --radius-sm:    10px;

  /* Motion */
  --t-fast:       160ms cubic-bezier(.2,.7,.3,1);
  --t-med:        320ms cubic-bezier(.2,.7,.3,1);

  /* Reusable shadow for raised cards */
  --shadow-card:  0 1px 0 rgba(255,255,255,.03) inset,
                  0 30px 60px -30px rgba(0,0,0,.6);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--gray-100);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ----- typography ----- */
h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 .6em;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--gray-300); }
strong { color: var(--white); font-weight: 600; }

.kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.body-lg { font-size: 1.1rem; line-height: 1.7; color: var(--gray-300); max-width: 60ch; }
.muted { color: var(--gray-500); font-size: .95rem; }

.grad {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 40%, #fff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- layout ----- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, #080808 50%, var(--bg) 100%); }
.section-alt::before, .section-alt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.section-alt::before { top: 0; }
.section-alt::after  { bottom: 0; }
.section-header { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-header .kicker { display: inline-flex; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

/* ----- skip link ----- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #000; padding: 8px 14px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ----- header / nav (light grey band for logo legibility) ----- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(232,232,232,0.88);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--t-med), border-color var(--t-med);
}
.site-header.scrolled {
  background: rgba(228,228,228,0.96);
  border-bottom-color: rgba(0,0,0,0.10);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 104px;
}
@media (max-width: 720px) { .header-inner { height: 80px; } }
.brand {
  display: inline-flex; align-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  letter-spacing: .04em; color: #0a0a0a;
}
.brand-logo {
  height: 84px; width: auto; display: block;
}
@media (max-width: 720px) { .brand-logo { height: 60px; } }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  position: relative;
  font-size: .92rem; color: #3a3a3a;
  transition: color var(--t-fast);
  padding: 8px 2px;
}
.nav a:hover { color: #000; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid rgba(0,0,0,0.18);
  padding: 8px 16px; border-radius: 999px;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.nav-cta:hover { border-color: var(--gold); color: #000; background: rgba(212,175,55,.12); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: #1a1a1a; transition: transform var(--t-fast), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column;
  padding: 12px 28px 24px;
  gap: 4px;
  background: rgba(232,232,232,0.98);
  border-top: 1px solid rgba(0,0,0,0.08);
}
.mobile-nav[hidden] { display: none; }
@media (min-width: 821px) { .mobile-nav { display: none !important; } }
.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; color: #1a1a1a;
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 820px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform var(--t-fast), box-shadow var(--t-med), background var(--t-med), color var(--t-fast), border-color var(--t-med);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  box-shadow: 0 10px 30px -12px rgba(212,175,55,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.btn-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 14px 40px -10px rgba(212,175,55,.7), 0 0 0 1px rgba(255,255,255,.05) inset;
  transform: translateY(-1px);
}
.btn-primary svg { transition: transform var(--t-fast); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--gray-100);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--white); background: rgba(212,175,55,.06); }
.btn-block { width: 100%; justify-content: center; }

/* ----- hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
@media (max-width: 720px) { .hero { padding-top: 110px; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}
.orb-gold {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(212,175,55,.5), transparent 70%);
  right: -120px; top: -80px;
}
.orb-dim {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
  left: -100px; bottom: -120px;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-400);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.02);
  padding: 8px 14px; border-radius: 999px;
  margin: 0 0 1.6rem;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212,175,55,.15); }
  50%      { box-shadow: 0 0 0 8px rgba(212,175,55,.0); }
}
.lede { font-size: 1.18rem; line-height: 1.65; color: var(--gray-300); max-width: 56ch; margin: 0 0 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.6rem; }
.stat-row {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 40px);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.stat-row li { display: flex; flex-direction: column; }
.stat-row strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem; font-weight: 600;
  color: var(--white); letter-spacing: -.02em;
  line-height: 1;
}
.stat-row span { font-size: .82rem; color: var(--gray-400); margin-top: 6px; letter-spacing: .03em; }

/* ----- hero visual: animated InspectNet wireframe image ----- */
.hero-visual { position: relative; }

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* breathing ambient gold halo behind the image */
.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%,
              rgba(212,175,55,.25),
              rgba(212,175,55,.08) 40%,
              transparent 70%);
  filter: blur(20px);
  animation: hero-glow-breath 5s ease-in-out infinite;
  z-index: 0;
}
@keyframes hero-glow-breath {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.05); }
}

/* image frame is the positioning context for the camera pulses,
   and carries the float animation so the pulses bob with the image */
.hero-image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6))
          drop-shadow(0 0 40px rgba(212,175,55,.18));
}

/* gentle hover float */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}


.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1px solid var(--line-strong); border-radius: 12px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 8px; background: var(--gold); border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { opacity: 0; transform: translate(-50%, -4px); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}
@media (max-width: 720px) { .scroll-hint { display: none; } }

/* ----- trust bar ----- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  background: #060606;
}
.trust .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 50px);
  flex-wrap: wrap;
}
.trust-label {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gray-500);
}
.trust-row {
  display: flex; align-items: center;
  gap: clamp(18px, 3vw, 36px);
}
.trust-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 1.1rem;
  color: var(--gray-300);
  letter-spacing: .03em;
  transition: color var(--t-fast);
}
.trust-logo:hover { color: var(--white); }
.trust-sep { width: 1px; height: 18px; background: var(--line-strong); }

/* ----- product feature grid ----- */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 540px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color var(--t-med), transform var(--t-med);
}
.feature:hover { border-color: rgba(212,175,55,.4); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.02));
  color: var(--gold);
  margin-bottom: 14px;
  border: 1px solid rgba(212,175,55,.18);
}
.feature h3 { margin: 0 0 6px; }
.feature p { font-size: .92rem; color: var(--gray-400); margin: 0; }

/* ----- workflow ----- */
.workflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .workflow { grid-template-columns: 1fr; }
  .step-arrow { display: none !important; }
}
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
  box-shadow: var(--shadow-card);
}
.step:hover {
  border-color: rgba(212,175,55,.4);
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(212,175,55,.25);
}
.step-num {
  position: absolute; top: 18px; right: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem; letter-spacing: .25em;
  color: var(--gold);
}
.step-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(212,175,55,.04));
  border: 1px solid rgba(212,175,55,.22);
  color: var(--gold);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { font-size: .96rem; color: var(--gray-400); margin: 0; }
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); opacity: .55;
}

/* ----- technology grid ----- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: border-color var(--t-med), transform var(--t-med);
}
.tech-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(212,175,55,.08), transparent 40%);
  opacity: 0; transition: opacity var(--t-med);
  pointer-events: none;
}
.tech-card:hover { border-color: rgba(212,175,55,.35); transform: translateY(-2px); }
.tech-card:hover::before { opacity: 1; }
.tech-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tech-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.tech-card p { font-size: .95rem; color: var(--gray-400); margin: 0; }

/* ----- hazards (image on top, 3x3 icon grid below) ----- */
.hazard-figure {
  margin: 0 0 clamp(40px, 6vw, 64px);
  position: relative;
  text-align: center;
}
.hazard-figure img {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -30px rgba(0,0,0,.7),
    0 0 40px -10px rgba(212,175,55,.15);
}
.hazard-figure figcaption {
  margin: 14px auto 0;
  font-size: .9rem;
  color: var(--gray-400);
  line-height: 1.55;
  max-width: 60ch;
}

.hazard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .hazard-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .hazard-grid { grid-template-columns: 1fr; } }
.hazard {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.hazard svg { color: var(--gold); flex-shrink: 0; }
.hazard span { font-size: 1rem; color: var(--gray-100); font-weight: 500; }
.hazard:hover { border-color: rgba(212,175,55,.4); background: #161512; transform: translateY(-1px); }

/* ----- metrics ----- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .metric-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .metric-grid { grid-template-columns: 1fr; } }
.metric {
  background: linear-gradient(180deg, var(--bg-card), #0d0d0d);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative; overflow: hidden;
}
.metric::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,175,55,.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; pointer-events: none; opacity: .5;
}
.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}
.metric-value span { color: var(--gold); margin-left: 2px; font-size: .8em; }
.metric-value span.slash { font-size: 1em; margin: 0; }
.metric p { font-size: .94rem; color: var(--gray-400); margin: 0; }

/* ----- timeline (roadmap) ----- */
.timeline {
  display: flex; flex-direction: column;
  gap: 26px;
  padding-left: 0;
  margin-top: 8px;
}
.timeline li {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}
.timeline li:last-child { border-left-color: transparent; }
.timeline li > div { width: 100%; }
.t-dot {
  position: absolute; left: -7px; top: 4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--gray-500);
}
.t-dot.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.15);
  background: var(--gold);
}
.timeline strong {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: -.005em;
}
.timeline p {
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* ----- contact ----- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #060606 100%); }
.contact-inner { align-items: stretch; }
.contact-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-meta li { display: flex; flex-direction: column; gap: 4px; }
.cm-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray-500);
}
.contact-meta a { color: var(--gold); transition: color var(--t-fast); }
.contact-meta a:hover { color: var(--gold-bright); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social-link svg { flex-shrink: 0; transition: transform var(--t-fast); }
.social-link:hover svg { transform: translateY(-1px); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-card);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-400);
}
.field .opt { color: var(--gray-500); text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.field input, .field textarea {
  background: #0a0a0a;
  border: 1px solid var(--line-strong);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 10px;
  font: inherit;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
  background: #0d0c08;
}
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; min-height: 1.2em; font-size: .9rem; color: var(--gold); }
.form-status.error { color: #ff8a8a; }

/* ----- footer (light grey band, mirrors the header) ----- */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(232,232,232,0.96);
  padding: 36px 0;
  color: #3a3a3a;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.foot-logo { height: 44px; width: auto; display: block; opacity: 1; }
.foot-copy { margin: 0; font-size: .88rem; color: #4a4a4a; }

/* ----- reveal animation ----- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

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