@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Work+Sans:wght@300;400;600;700&display=swap");

:root {
  --ink: #1b1f24;
  --muted: #5c646d;
  --paper: #f3f1ec;
  --surface: #fbfaf7;
  --line: #d9d2c8;
  --slate: #2f3a45;
  --navy: #001f3f;
  --primary: #ff6b00;
  --sage: #7a8a7f;
  --accent: #b08b5a;
  --shadow: 0 12px 28px rgba(15, 18, 22, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #f8f6f2 0%, var(--paper) 45%, #eef0ed 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(46, 58, 70, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 58, 70, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/topo.svg");
  background-size: cover;
  opacity: 0.02;
  pointer-events: none;
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  position: sticky;
  top: 0;
  background: rgba(243, 241, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 58, 70, 0.08);
  z-index: 10;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.nav a.active {
  font-weight: 600;
  border-bottom: 2px solid rgba(46, 58, 70, 0.5);
  padding-bottom: 2px;
}

.btn {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--navy);
  background: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.ghost {
  background: transparent;
}

.btn.small {
  padding: 7px 12px;
  font-size: 13px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 18, 22, 0.08);
}

.hero {
  padding: 70px 0 100px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
  margin-top: 0;
}

h1 {
  font-size: 42px;
  margin: 12px 0 16px;
}

h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 18px;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 24px 0 18px;
  flex-wrap: wrap;
}

.lane-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(251, 250, 247, 0.9);
  border: 1px solid rgba(46, 58, 70, 0.12);
}

.lane-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.lane-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--slate);
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  bottom: -18px;
  right: 18px;
  background: var(--surface);
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 58, 70, 0.1);
  max-width: 240px;
}

.floating-card::before,
.floating-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-top: 2px solid rgba(255, 107, 0, 0.7);
  border-left: 2px solid rgba(255, 107, 0, 0.7);
  transform: rotate(45deg);
}

.floating-card::before {
  top: -6px;
  left: -6px;
}

.floating-card::after {
  bottom: -6px;
  right: -6px;
}

.card-title {
  font-weight: 600;
}

.card-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.section-title {
  margin-bottom: 28px;
}

.split {
  padding: 70px 0;
}

.split-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel {
  background: var(--surface);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(46, 58, 70, 0.1);
  box-shadow: var(--shadow);
}

.panel.light {
  background: #f8faf8;
}

.list {
  padding-left: 18px;
  color: var(--muted);
}

.proof {
  background: var(--navy);
  color: #f8f5f0;
  padding: 80px 0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.proof .mini-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.proof-photos {
  display: block;
  max-width: 420px;
  justify-self: end;
  break-inside: avoid;
  page-break-inside: avoid;
}

.photo-grid {
  display: grid;
  gap: 16px;
  align-content: start;
  break-inside: avoid;
  page-break-inside: avoid;
}

.photo-grid img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  break-inside: avoid;
  page-break-inside: avoid;
}

.veterans {
  padding: 80px 0;
}

.veterans-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.veterans-visual img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.process {
  padding: 70px 0;
}

.process-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 58, 70, 0.08);
}

.step span {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
}

.labs {
  padding: 80px 0;
}

.labs-resources {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  background: rgba(251, 250, 247, 0.9);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(46, 58, 70, 0.08);
  margin-bottom: 30px;
}

.resources-visual img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.lab-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.lab-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(46, 58, 70, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lab-card.clickable {
  cursor: pointer;
}

.lab-card h3 a {
  text-decoration: none;
}

.lab-card.hud-card {
  position: relative;
  border-color: rgba(255, 107, 0, 0.4);
}

.lab-card.hud-card::before,
.lab-card.hud-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(255, 107, 0, 0.7);
  border-left: 2px solid rgba(255, 107, 0, 0.7);
  transform: rotate(45deg);
}

.lab-card.hud-card::before {
  top: -8px;
  left: -8px;
}

.lab-card.hud-card::after {
  bottom: -8px;
  right: -8px;
}

.lab-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f6efe6;
  border: 1px dashed rgba(0, 31, 63, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip.muted {
  background: #f2e8dc;
  color: var(--muted);
}

.chip.status {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  background: rgba(255, 107, 0, 0.15);
  color: #7a3b00;
  border: 1px solid rgba(255, 107, 0, 0.4);
}

.chip.status.draft {
  background: rgba(122, 138, 127, 0.2);
  color: #4b5a52;
}

.chip.status.mvp {
  background: rgba(255, 107, 0, 0.18);
  color: #7a3b00;
}

.chip.status.live {
  background: rgba(0, 31, 63, 0.18);
  color: #001f3f;
}

.chip.status.archived {
  background: rgba(92, 100, 109, 0.2);
  color: #4d565f;
}

.chip.accent {
  background: rgba(0, 31, 63, 0.12);
  color: var(--navy);
  border: 1px solid rgba(0, 31, 63, 0.4);
}

.lab-links {
  display: flex;
  gap: 14px;
  margin-top: auto;
  flex-wrap: wrap;
}

.video-embed {
  position: relative;
  margin-top: 16px;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lab-primary {
  margin-top: 4px;
}

.primary-link {
  color: var(--slate);
  font-weight: 700;
}

.text-link {
  color: var(--slate);
  font-weight: 600;
  font-size: 14px;
}

.lab-note {
  margin-top: 16px;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid rgba(46, 58, 70, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  background: transparent;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--slate);
  color: #fff;
}

.project-hero {
  padding: 60px 0 40px;
}

.project-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
}

.project-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.project-section {
  padding: 50px 0;
}

.project-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.project-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(46, 58, 70, 0.1);
  box-shadow: var(--shadow);
}

.timeline {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.timeline li {
  padding-left: 12px;
  border-left: 2px solid rgba(46, 58, 70, 0.2);
}

.project-cta {
  background: rgba(251, 250, 247, 0.9);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(46, 58, 70, 0.1);
}

.contact {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 58, 70, 0.08);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(46, 58, 70, 0.2);
  background: #fff;
  font-family: "Work Sans", sans-serif;
}

.contact-links a {
  display: block;
  margin-bottom: 8px;
  color: var(--slate);
  font-weight: 600;
}

.note {
  font-size: 12px;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.footer {
  background: var(--navy);
  color: #dcdfe3;
  padding: 30px 0;
}

.footer .wrap {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
}

.footer-links a {
  margin-right: 12px;
}

.fineprint {
  font-size: 12px;
  color: #b8c0c7;
}

@media (max-width: 860px) {
  .nav { display: none; }
  h1 { font-size: 34px; }
}

@media (max-width: 720px) {
  .lane-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lane-card ul {
    font-size: 13px;
    margin-top: 6px;
  }

  .lane-card li {
    margin-bottom: 6px;
  }
}

@media (max-width: 520px) {
  .lane-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .proof,
  .proof-photos,
  .photo-grid,
  .photo-grid img {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual {
  animation: fadeUp 600ms ease both;
}

.hero-visual {
  animation-delay: 120ms;
}


/* Pricing Section */
.pricing {
  padding: var(--s-xl) 0;
  background: var(--c-bg-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-lg);
  margin-top: var(--s-lg);
}

.pricing-card {
  background: white;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  text-align: center;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--c-accent);
  border-width: 3px;
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: white;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card h3 {
  margin: var(--s-sm) 0;
  font-size: var(--fs-lg);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-accent);
  margin: var(--s-md) 0;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: var(--s-md) 0;
  text-align: left;
}

.pricing-card ul li {
  padding: var(--s-xs) 0;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: bold;
}

.pricing-card .btn {
  margin-top: var(--s-md);
  width: 100%;
}
