@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #f8f8f6;
  --fg: #000000;
  --accent-red: #1ec20c;
  --accent-purple: #6d28d9;
  --accent-green: #15803d;
  --border: #d1d1d1;
  --grid: rgba(0, 0, 0, 0.03);
  --max: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--fg);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  padding-bottom: 40px;
}

/* Typography */
h1,
h2,
h3,
.serif {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.9;
}

.mono {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* Layout Utilities */
.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: white;
}

.border-b {
  border-bottom: 1px solid var(--border);
}
.border-t {
  border-top: 1px solid var(--border);
}

/* Header */
.header {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.header-left .logo-box {
  width: 40px;
  height: 40px;
  background: black;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 10px;
}

.header-left h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.header-right {
  text-align: right;
}

.header-right .meta {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-bottom: 10px;
}

/* Nav Sub-header */
.nav-sub {
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0f0f0;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-height: 600px;
}

.hero-left {
  padding: 80px 40px;
  border-right: 1px solid var(--border);
}

.hero-left .tagline {
  color: var(--accent-red);
  margin-bottom: 40px;
}

.hero-left h2 {
  font-size: clamp(5rem, 10vw, 9rem);
  margin-bottom: 40px;
}

.hero-left p {
  font-size: 1.5rem;
  max-width: 500px;
  font-style: italic;
  color: #555;
  line-height: 1.3;
}

.hero-right {
  background: #000;
  color: white;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
}

.hero-right .star {
  align-self: flex-end;
  color: var(--accent-red);
  font-size: 2rem;
}

.hero-right h3 {
  font-size: 3rem;
  margin-bottom: 40px;
}

.hero-right .italic-red {
  color: var(--accent-red);
  font-style: italic;
}

.promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.promise-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 15px;
  font-size: 0.9rem;
}

.promise-item span:first-child {
  color: var(--accent-red);
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-box {
  padding: 40px;
  border-right: 1px solid var(--border);
}

.stat-box:last-child {
  border-right: none;
}

.stat-box h4 {
  font-size: 4rem;
  margin-bottom: 10px;
}

/* Capabilities Grid */
.cap-section {
  padding: 60px 40px;
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cap-category {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cap-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.cap-cat-label {
  padding: 4px 12px;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
}

.cap-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cap-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
}

.cap-item .num {
  font-size: 0.8rem;
  color: #999;
}

.cap-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cap-item p {
  font-size: 0.9rem;
  color: #444;
}

/* Contact Section */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: 80px 40px;
  border-right: 1px solid var(--border);
}

.contact-left h2 {
  font-size: clamp(4rem, 8vw, 6rem);
  margin-bottom: 40px;
}

.contact-right {
  padding: 80px 40px;
}

.contact-box {
  border: 1px solid #ddd;
  padding: 30px;
}

.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-row span {
  font-size: 1.2rem;
}

/* Buttons */
.btn-black {
  background: black;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  margin-top: 40px;
}

/* Footer */
.footer {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Colors for labels */
.bg-red {
  background: var(--accent-red);
}
.bg-purple {
  background: var(--accent-purple);
}
.bg-green {
  background: var(--accent-green);
}
.bg-blue {
  background: #1d4ed8;
}

/* Responsive */
@media (max-width: 960px) {
  .hero,
  .stats,
  .cap-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
