/* ITquette Autonomous Lab — Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg: #f5f4f0;
  --paper: #faf9f7;
  --ink: #0c0c0f;
  --accent: #0c3547;
  --accent2: #0e4260;
  --gold: #b8952a;
  --gold-light: #d4ac3a;
  --muted: #6a6760;
  --rule: #e0ddd8;
  --surface: #ffffff;
  --surface2: #f0ede8;
  --green: #1a5c3a;
  --max: 860px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

/* NAV */
nav {
  background: var(--accent);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-mark {
  width: 30px; height: 30px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1;
}
.nav-sub {
  font-family: 'DM Mono', monospace;
  font-size: 7.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
  opacity: 0.82;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

/* GOLD BAR */
.gold-bar { height: 2px; background: var(--gold); }

/* MAIN */
main { max-width: var(--max); margin: 0 auto; padding: 64px 32px 80px; }

/* TYPOGRAPHY */
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
h1 em { font-style: italic; color: var(--accent); }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 18px;
  margin-top: 48px;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}

p { margin-bottom: 16px; color: var(--muted); font-size: 14.5px; }
p strong { color: var(--ink); font-weight: 500; }
p em { color: var(--accent); font-style: normal; }

.standfirst {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: #3a3834;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin-bottom: 40px;
  max-width: 640px;
}

/* DIVIDER */
.section-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.card:nth-child(1)::before { background: var(--accent); }
.card:nth-child(2)::before { background: var(--gold); }
.card:nth-child(3)::before { background: var(--green); }
.card:nth-child(4)::before { background: #7c3aed; }

.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--rule);
  line-height: 0.9;
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 13px; margin-bottom: 0; }

/* DARK STRIP */
.dark-strip {
  background: var(--accent);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  margin: 32px 0;
}
.dark-strip p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin: 0;
}
.dark-strip p strong { font-style: normal; color: var(--gold-light); font-weight: 600; }

/* BULLET LIST */
.clean-list { list-style: none; margin: 0 0 16px; }
.clean-list li {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  margin-bottom: 5px;
}
.clean-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rule);
  font-size: 12px;
}

/* TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.tag {
  font-family: 'DM Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid var(--rule);
  color: var(--muted);
  border-radius: 2px;
}

/* LIFECYCLE */
.lifecycle {
  background: var(--surface2);
  border: 1px solid var(--rule);
  padding: 22px 26px;
  margin: 32px 0;
}
.lc-label {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.lc-phases { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.phase-box {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 8px 10px;
  text-align: center;
  min-width: 96px;
}
.phase-name { font-size: 11px; font-weight: 500; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.phase-sub { font-family: 'DM Mono', monospace; font-size: 7.5px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.phase-arr { font-size: 11px; color: var(--rule); padding: 0 5px; flex-shrink: 0; }

/* INSIGHT CARDS */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin: 28px 0;
}
.insight-card {
  border: 1px solid var(--rule);
  padding: 20px 18px;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
}
.insight-card:hover { border-color: var(--accent); }
.insight-type {
  font-family: 'DM Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.insight-card h3 { font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.insight-card p { font-size: 12.5px; margin: 0; }

/* CTA STRIP */
.cta-strip {
  background: var(--accent);
  padding: 32px 36px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  margin-bottom: 6px;
}
.cta-strip p { color: rgba(255,255,255,0.48); font-size: 13px; margin: 0; }
.cta-link {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid rgba(184,149,42,0.4);
  padding: 10px 18px;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.cta-link:hover { background: rgba(184,149,42,0.1); }

/* FOOTER */
footer {
  background: var(--accent);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.footer-sub {
  font-family: 'DM Mono', monospace;
  font-size: 7.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.8;
  margin-top: 2px;
}
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  nav { padding: 0 18px; }
  main { padding: 40px 18px 60px; }
  .card-grid, .card-grid-2, .insight-grid { grid-template-columns: 1fr; }
  .lc-phases { gap: 6px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; align-items: flex-start; }
}
