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

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --surface:        #121414;
  --surface-low:    #1a1c1c;
  --surface-high:   #282a2a;
  --primary:        #a1cfcf;
  --primary-dim:    #2d5a5a;
  --on-surface:     #e2e2e2;
  --on-surface-var: #8c9090;
  --outline:        #3a3c3c;

  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Inter Tight', system-ui, sans-serif;

  --space-4:  0.25rem;
  --space-8:  0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-48: 3rem;
  --space-64: 4rem;
  --space-96: 6rem;
  --space-128: 8rem;
}

/* ─── Base ───────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle grain texture */
.grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-24);
}

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

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: var(--space-96) 0 var(--space-64);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--outline), transparent);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-surface-var);
  margin-bottom: var(--space-32);
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--on-surface);
  margin-bottom: var(--space-24);
}

.accent {
  background: linear-gradient(135deg, var(--primary-dim), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subhead {
  font-size: 1.125rem;
  color: var(--on-surface-var);
  max-width: 36ch;
  margin-bottom: var(--space-48);
  line-height: 1.7;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: var(--primary);
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: var(--space-12) var(--space-24);
  border-radius: 2px;
  transition: opacity 0.2s;
}

.cta:hover { opacity: 0.85; }

/* ─── Values ─────────────────────────────────────────────── */
.values {
  padding: var(--space-128) 0;
  border-top: 1px solid var(--outline);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-64);
}

.value-mark {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--space-16);
}

.value h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}

.value p {
  font-size: 0.9rem;
  color: var(--on-surface-var);
  line-height: 1.7;
}

/* ─── Contact ────────────────────────────────────────────── */
.contact {
  padding: var(--space-128) 0;
  border-top: 1px solid var(--outline);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-surface-var);
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--on-surface);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.contact-email:hover { color: var(--primary); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  padding: var(--space-32) 0;
  border-top: 1px solid var(--outline);
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer span {
  font-size: 0.8rem;
  color: var(--on-surface-var);
}

/* ─── Desktop overrides ──────────────────────────────────── */
@media (min-width: 769px) {
  .eyebrow {
    font-size: 1rem;
  }

  .value-mark {
    font-size: 0.85rem;
  }

  .value h3 {
    font-size: 1.5rem;
  }

  .value p {
    font-size: 1.05rem;
  }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

  .hero { padding-top: var(--space-64); }
}
