/* Journeymen New York — shared styles */

:root {
  --green: #172c1f;
  --green-dark: #0e1c13;
  --ink: #1a1a1a;
  --muted: #55584f;
  --white: #ffffff;
  --gray: #f2f2ef;
  --line: rgba(23, 44, 31, 0.16);
  --nav-text: #f7efe4;
  --nav-text-dim: rgba(247, 239, 228, 0.72);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p {
  margin: 0 0 1.2em;
  color: var(--muted);
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
}

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

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

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--nav-text-dim);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--nav-text);
}

.nav-links a.btn-solid,
.nav-links a.btn-solid:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--nav-text-dim);
  color: var(--nav-text);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 1rem;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--green);
  border-radius: 2px;
  color: var(--green);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 600;
}

.btn-solid:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn:hover {
  background: var(--green);
  color: var(--white);
}

/* Hero */

.hero {
  padding: 110px 0 90px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 18px;
  display: block;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero .lede {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */

section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: none;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

/* Grid / cards */

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--gray);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--green);
}

/* Placeholder media block */

.media-placeholder {
  background: var(--gray);
  border: 1px dashed var(--line);
  border-radius: 6px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 20px;
}

.media-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* Quote / manifesto */

.manifesto-line {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink);
}

.mission-motif {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--green);
}

/* Team bio */

.bio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.bio-photo .media-frame,
.bio-photo .media-placeholder {
  aspect-ratio: 4 / 5;
}

.bio h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.bio .role {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 16px;
}

/* Footer */

.site-footer {
  background: var(--green);
  padding: 56px 0 40px;
  text-align: center;
  color: var(--nav-text-dim);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--nav-text-dim);
}

.site-footer a:hover {
  color: var(--nav-text);
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .bio {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .bio {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    max-width: 240px;
  }

  .hero {
    padding: 80px 0 60px;
  }

  section {
    padding: 64px 0;
  }
}
