:root {
  --color-bg: #f4f1ec;
  --color-bg-alt: #ffffff;
  --color-dark: #1b1b18;
  --color-green: #232f27;
  --color-text: #1b1b18;
  --color-text-muted: #6f6b63;
  --color-border: #d8d3c8;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --container-width: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

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

a { color: inherit; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--color-dark);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
}

.label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: var(--color-bg);
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  text-decoration: none;
  display: block;
}

.logo-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,8,0.75) 0%, rgba(10,10,8,0.15) 60%, rgba(10,10,8,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 520px;
  padding: 0 40px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 24px;
}

.hero-content p {
  font-size: 16px;
  margin: 0 0 8px;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 24px;
  border-color: #fff;
  color: #fff;
}

.segments {
  display: flex;
  padding: 56px 40px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.segment {
  flex: 1;
  padding: 0 32px;
  border-left: 1px solid var(--color-border);
}

.segment:first-child {
  border-left: none;
  padding-left: 0;
}

.segment:last-child {
  padding-right: 0;
}

.segment h3 {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 16px 0 8px;
}

.segment p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.segment a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.projects {
  display: flex;
  gap: 48px;
  padding: 80px 40px;
}

.projects-intro {
  flex: 0 0 300px;
}

.projects-intro h2 {
  font-size: 34px;
  margin: 16px 0;
}

.projects-intro p {
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.project-cards {
  display: flex;
  gap: 24px;
  flex: 1;
}

.project-card {
  flex: 1;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card .category,
.insight-card .date {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

.project-card h3 {
  font-size: 18px;
  margin: 8px 0;
}

.project-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 8px;
}

.project-card a,
.insight-card a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.stats {
  background: var(--color-green);
  color: #fff;
  padding: 56px 40px;
  text-align: center;
}

.stats-label {
  display: block;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.stats-grid {
  display: flex;
  max-width: var(--container-width);
  margin: 0 auto;
}

.stat {
  flex: 1;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.stat:first-child {
  border-left: none;
}

.stat .number {
  font-size: 40px;
  font-weight: 600;
}

.stat .caption {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 8px;
}

.team {
  display: flex;
  gap: 48px;
  padding: 80px 40px;
  align-items: flex-start;
}

.team-photo {
  flex: 0 0 200px;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.team-content {
  flex: 1;
}

.team-content h2 {
  font-size: 28px;
  margin: 16px 0;
}

.team-content p {
  color: var(--color-text-muted);
  margin: 0 0 24px;
  max-width: 480px;
}

.team-credentials {
  flex: 0 0 260px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}

.insights {
  display: flex;
  gap: 48px;
  padding: 80px 40px;
}

.insights-intro {
  flex: 0 0 300px;
}

.insights-intro h2 {
  font-size: 34px;
  margin: 16px 0 24px;
}

.insight-cards {
  display: flex;
  gap: 24px;
  flex: 1;
}

.insight-card {
  flex: 1;
}

.insight-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.insight-card h3 {
  font-size: 16px;
  margin: 8px 0;
}

.contact-band {
  background: var(--color-dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 56px 40px;
}

.contact-band h2 {
  font-size: 32px;
  margin: 0;
}

.contact-details {
  display: flex;
  gap: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.contact-item a {
  text-decoration: none;
}

.contact-cta {
  border-color: #fff;
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 40px;
  border-top: 1px solid var(--color-border);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 900px) {
  .segments,
  .projects,
  .team,
  .insights {
    flex-direction: column;
  }

  .project-cards,
  .insight-cards {
    flex-direction: column;
  }

  .segment {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: 24px 0 0;
  }

  .segment:first-child {
    border-top: none;
    padding-top: 0;
  }

  .stats-grid {
    flex-direction: column;
    gap: 24px;
  }

  .stat {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 16px;
  }

  .stat:first-child {
    border-top: none;
    padding-top: 0;
  }

  .team-credentials {
    flex: none;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    z-index: 5;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 40px 24px;
  }

  .main-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-toggle {
    display: block;
  }

  .site-header .btn-primary {
    display: none;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .contact-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-details {
    flex-direction: column;
    gap: 16px;
  }
}
