/* ---------- Tokens ---------- */
:root {
  --bg: #0B0A10;
  --bg-alt: #131019;
  --surface: #1D1620;
  --line: #322A38;
  --accent: #E4364F;
  --accent-dim: #7A2732;
  --ink: #F3EEF5;
  --muted: #A79AB3;
  --muted-2: #7C7286;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --content-w: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #170609;
}
.btn-primary:hover { background: #ef4d64; }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 10, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.brand svg { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 96px;
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-copy .kicker {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.06;
  margin-bottom: 26px;
}

.hero-copy p {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-mark {
  justify-self: end;
  position: relative;
  width: 100%;
  max-width: 380px;
  transform: translateX(12%);
  opacity: 0;
  animation: mark-in 900ms ease-out 200ms forwards;
}

@keyframes mark-in {
  from { opacity: 0; transform: translateX(18%) scale(0.94); }
  to   { opacity: 1; transform: translateX(12%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark { animation: none; opacity: 1; transform: translateX(12%); }
}

/* ---------- Section shell ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- Why (two-column) ---------- */
.why { background: var(--bg-alt); border-bottom: 1px solid var(--line); }

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.why-copy p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 0 0 22px;
  max-width: 52ch;
}

.why-copy p:last-child { margin-bottom: 0; }

.why-copy strong { color: var(--ink); font-weight: 600; }

.paths {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}

.path-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.path-item:first-child { padding-top: 0; }
.path-item:last-child { border-bottom: none; padding-bottom: 0; }

.path-item .label {
  font-family: var(--serif);
  font-size: 21px;
  margin-bottom: 8px;
}

.path-item .label .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  transform: translateY(-2px);
}

.path-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- What we do (alternating rows) ---------- */
.activity-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.activity-row:last-child { border-bottom: 1px solid var(--line); }

.activity-row.reverse .activity-icon { order: 2; justify-self: end; }
.activity-row.reverse .activity-copy { text-align: right; }
.activity-row.reverse .activity-copy p { margin-left: auto; }

.activity-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}
.activity-icon svg { width: 28px; height: 28px; color: var(--accent); }

.activity-copy h3 { font-size: 22px; margin-bottom: 8px; }
.activity-copy p { color: var(--muted); font-size: 15.5px; max-width: 52ch; margin: 0; }

/* ---------- Culture (list) ---------- */
.culture { background: var(--bg-alt); }

.principle {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }

.principle h3 {
  font-size: 20px;
  position: relative;
  padding-left: 20px;
}
.principle h3::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 3px; height: 20px;
  background: var(--accent);
}

.principle p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 56ch; }

/* ---------- Join / CTA band ---------- */
.join {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), #170D14);
  border-top: 1px solid var(--line);
}

.join h2 {
  font-size: clamp(32px, 4.6vw, 50px);
  max-width: 16ch;
  margin: 0 auto 20px;
}

.join p {
  color: var(--muted);
  font-size: 17px;
  max-width: 44ch;
  margin: 0 auto 36px;
}

.join .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted-2);
}
footer .brand { font-size: 15px; }
footer .brand svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero { padding: 64px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { display: none; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .paths { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }

  .activity-row,
  .activity-row.reverse {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .activity-row.reverse .activity-icon { justify-self: start; order: 0; }
  .activity-row.reverse .activity-copy { text-align: left; }
  .activity-row.reverse .activity-copy p { margin-left: 0; }

  .principle { grid-template-columns: 1fr; gap: 10px; }

  section { padding: 64px 0; }
}

/* Mobile nav panel */
.mobile-panel {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 39;
  padding: 28px 32px;
  flex-direction: column;
  gap: 22px;
  font-size: 18px;
}
.mobile-panel.open { display: flex; }
.mobile-panel a { color: var(--muted); }
.mobile-panel a:hover { color: var(--ink); }
