:root {
  --bg: #fcf9f8;
  --paper: #ffffff;
  --ink: #1c1b1b;
  --muted: #5e5b52;
  --line: rgba(28, 27, 27, 0.08);
  --surface: #f6f3f2;
  --surface-strong: #ebe7e7;
  --primary: #586400;
  --primary-bright: #e2ff00;
  --primary-fixed: #d4f000;
  --max: 1380px;
  --space: clamp(4.5rem, 9vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(226, 255, 0, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
    var(--bg);
  text-rendering: optimizeLegibility;
}

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

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

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.section {
  padding: var(--space) 0;
  scroll-margin-top: 6rem;
}

.section-muted {
  background: rgba(246, 243, 242, 0.88);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 249, 248, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  min-height: 5.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.brand {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--primary);
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
}

.desktop-nav a,
.footer-nav a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.68;
  transition: color 180ms ease, opacity 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  opacity: 1;
  color: var(--primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-fixed));
}

.button-secondary {
  border: 1px solid rgba(28, 27, 27, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.button {
  transition: transform 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

.mobile-menu {
  display: none;
}

.hero-grid,
.intro-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.85fr);
  align-items: end;
}

.hero-copy h1,
.section-head h2,
.impact-panel h3,
.cta-band h3,
.contact-card h3,
.project-card h3,
.article-card h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.lead {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.eyebrow,
.mini-label,
.rail-kicker,
.article-meta,
.project-status {
  display: inline-block;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-rail {
  display: grid;
  gap: 1px;
  background: rgba(28, 27, 27, 0.08);
}

.rail-card,
.quote-panel,
.impact-panel,
.info-card,
.feature-card,
.testimonial-card,
.team-card,
.project-card,
.article-card,
.contact-card,
.cta-band,
.faq-list details {
  background: var(--paper);
  box-shadow: 0 24px 48px rgba(28, 27, 27, 0.05);
}

.rail-card {
  padding: 1.6rem;
  display: grid;
  gap: 0.8rem;
}

.rail-card strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.rail-card-accent {
  background: linear-gradient(135deg, rgba(226, 255, 0, 0.88), rgba(212, 240, 0, 0.82));
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
  max-width: 54rem;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.section-head.compact {
  margin-top: 3.5rem;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
}

.quote-panel,
.impact-panel,
.contact-card {
  padding: 2rem;
}

.quote-panel {
  border-left: 0.4rem solid var(--primary-bright);
}

.impact-panel h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.98;
  margin: 0.6rem 0 1rem;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  gap: 1px;
  background: rgba(28, 27, 27, 0.08);
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.info-card,
.feature-card,
.testimonial-card,
.team-card,
.project-card,
.article-card {
  padding: 2rem;
  min-height: 14rem;
}

.card-index {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(88, 100, 0, 0.24);
  margin-bottom: 1rem;
}

.info-card h3,
.feature-card h3,
.team-card h3,
.project-card h3,
.article-card h3,
.contact-card h3 {
  font-size: 1.35rem;
  line-height: 1.05;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.testimonial-card strong {
  display: block;
  margin-top: 1.3rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.team-card p,
.project-card p {
  margin-bottom: 1rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 0.14rem;
  text-underline-offset: 0.18rem;
  text-decoration-color: rgba(226, 255, 0, 0.82);
}

.testimonial-card span {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(28, 27, 27, 0.48);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.chip-row span {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(28, 27, 27, 0.1);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-meta {
  line-height: 1.6;
  color: rgba(28, 27, 27, 0.54);
}

.project-status {
  margin-bottom: 0.85rem;
}

.cta-band {
  margin-top: 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

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

.contact-card a {
  text-decoration: underline;
  text-decoration-thickness: 0.14rem;
  text-underline-offset: 0.18rem;
  text-decoration-color: rgba(226, 255, 0, 0.75);
}

.faq-list {
  display: grid;
  gap: 1px;
  background: rgba(28, 27, 27, 0.08);
}

.faq-list details {
  padding: 1.25rem 1.4rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 0.9rem;
}

.site-footer {
  margin-top: var(--space);
  padding: 3rem 0 5rem;
  background: #1c1b1b;
  color: #f3f0ef;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) auto auto auto;
  align-items: start;
}

.footer-brand small {
  color: var(--primary-bright);
}

.footer-copy {
  margin-top: 1rem;
  max-width: 26rem;
  color: rgba(243, 240, 239, 0.68);
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.8rem;
}

.footer-contact a {
  color: rgba(243, 240, 239, 0.82);
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.redirect-card {
  width: min(calc(100% - 2rem), 42rem);
  padding: 2rem;
  background: var(--paper);
  box-shadow: 0 24px 48px rgba(28, 27, 27, 0.05);
}

.redirect-card h1 {
  margin: 0 0 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .header-shell,
  .hero-grid,
  .intro-grid,
  .contact-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .four-up,
  .two-up,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
    position: relative;
  }

  .mobile-menu summary {
    cursor: pointer;
    list-style: none;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.8rem);
    min-width: 14rem;
    display: grid;
    gap: 1px;
    background: rgba(28, 27, 27, 0.08);
    box-shadow: 0 24px 48px rgba(28, 27, 27, 0.1);
  }

  .mobile-menu-panel a {
    padding: 1rem 1.2rem;
    background: var(--paper);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .four-up,
  .two-up,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .action-row {
    flex-direction: column;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 8ch;
  }
}
