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

:root {
  --green:  #1B311A;
  --cream:  #F5F1E8;
  --ink:    #1A1A18;

  --ink-60: rgba(26, 26, 24, 0.60);
  --ink-30: rgba(26, 26, 24, 0.30);
  --ink-12: rgba(26, 26, 24, 0.12);
  --ink-06: rgba(26, 26, 24, 0.06);

  --cream-70: rgba(245, 241, 232, 0.70);
  --cream-40: rgba(245, 241, 232, 0.40);
  --cream-15: rgba(245, 241, 232, 0.15);

  --font-display: 'Inter', sans-serif;
  --font-body:    'Helvetica Neue', 'Inter', sans-serif;

  --nav-h: 68px;
  --max-w: 1280px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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


/* ─────────────────────────────────────────
   Typography
───────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 5.75rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 700; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-60);
}


/* ─────────────────────────────────────────
   Layout
───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 3rem; }
}

.section {
  padding-block: 6rem;
  border-top: 1px solid var(--ink-12);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-header h2 { margin-top: 0.75rem; }

/* For sections where the label is the only header */
.section-header--tight { margin-bottom: 2.5rem; }


/* ─────────────────────────────────────────
   Labels
───────────────────────────────────────── */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
}

.label-light { color: var(--cream-40); }


/* ─────────────────────────────────────────
   Buttons
───────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { background: var(--green); }

.btn-ghost {
  color: var(--cream);
  border-bottom: 1.5px solid var(--cream-40);
  border-radius: 0;
  padding: 0 0 2px;
}
.btn-ghost:hover { border-color: var(--cream); }

.btn-large {
  font-size: 1.0625rem;
  padding: 1.125rem 2.75rem;
}


/* ─────────────────────────────────────────
   Navigation
───────────────────────────────────────── */
#nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  background: #1B311A;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

#nav.is-scrolled {
  border-color: var(--ink-12);
  box-shadow: 0 2px 24px rgba(26, 26, 24, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .nav-inner { padding-inline: 3rem; }
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3125rem;
  letter-spacing: -0.035em;
  color: var(--ink);
}

#nav .wordmark {
  color: #F5F1E8;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(245, 241, 232, 0.6);
  transition: color 0.2s;
}
.nav-links a:hover { color: #F5F1E8; }

.nav-links .nav-cta {
  color: #F5F1E8;
  border-bottom: 1.5px solid #F5F1E8;
  padding-bottom: 1px;
}
.nav-links .nav-cta:hover { color: var(--green); border-color: var(--green); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 4px;
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #F5F1E8;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-toggle.is-open span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}


/* ─────────────────────────────────────────
   Mobile Menu
───────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset-block-start: var(--nav-h);
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 199;
  background: #1B311A;
  padding: 3rem 1.5rem;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 3rem);
  letter-spacing: -0.03em;
  color: #F5F1E8;
  padding-block: 0.75rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
  transition: color 0.2s;
}

.mobile-menu a:first-child { border-top: 1px solid rgba(245, 241, 232, 0.12); }
.mobile-menu a:hover { color: var(--cream); opacity: 0.7; }


/* ─────────────────────────────────────────
   Hero
───────────────────────────────────────── */
.hero {
  padding-block-start: calc(var(--nav-h) + 5rem);
  padding-block-end: 6rem;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 2rem;
}

.hero-headline {
  max-width: 22ch;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 2.75rem;
}



/* ─────────────────────────────────────────
   Scope
───────────────────────────────────────── */
.scope-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .scope-top { grid-template-columns: repeat(2, 1fr); }
}

.scope-card {
  background: var(--cream);
  border: 1px solid var(--ink-12);
  border-radius: 2px;
  padding: 2rem 2.25rem 2.25rem;
}

.scope-card h3 { margin-bottom: 0.625rem; }
.scope-card p  { font-size: 0.9375rem; }

.scope-running {
  margin-top: 1rem;
  background: var(--ink-06);
  border: 1px solid var(--ink-12);
  border-radius: 2px;
  padding: 1.75rem 2.25rem 2.25rem;
}

.scope-running-label {
  display: block;
  margin-bottom: 1.5rem;
}

.scope-running-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .scope-running-grid { grid-template-columns: repeat(3, 1fr); }
}

.scope-card--running {
  background: transparent;
}



/* ─────────────────────────────────────────
   About
───────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 860px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p + p {
  margin-top: 1rem;
}


/* ─────────────────────────────────────────
   Work — What we've made
───────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

.work-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  background: var(--ink-06);
  border-radius: 2px;
  margin-bottom: 1.25rem;
  transition: background 0.25s;
}

.work-item:hover .work-thumb { background: var(--ink-12); }

.work-title {
  font-size: 1.3125rem;
  margin-bottom: 0.5rem;
}

.work-desc {
  font-size: 0.9375rem;
  margin-bottom: 1.125rem;
}

.work-links {
  display: flex;
  gap: 1.375rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.work-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink-30);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.work-link:hover { color: var(--green); border-color: var(--green); }


/* ─────────────────────────────────────────
   Contact — Let's talk
───────────────────────────────────────── */
.contact {
  background-color: #1B311A;
}

.contact-inner {
  max-width: 560px;
}

.contact-inner h2 {
  margin-bottom: 0.875rem;
  color: #F5F1E8;
}

.contact-inner > p {
  margin-bottom: 2.25rem;
  color: #F5F1E8;
}

.contact-inner a {
  color: #F5F1E8;
}


/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--ink-12);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-social {
  display: flex;
  gap: 1.75rem;
}

.footer-social a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink-60);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--ink); }

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

@media (min-width: 700px) {
  .footer-legal { align-items: flex-end; }
}

.footer-legal span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--ink-30);
}
