:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #626262;
  --line: #e8e8e2;
  --soft: #f7f8f5;
  --sage: #91a98f;
  --sage-dark: #5f765f;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,232,226,0.8);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: #333;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: white;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.hero {
  position: relative;
  min-height: 650px;
  display: block;
  padding: 84px 24px 66px;
  overflow: hidden;
}
.hero > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin: 0 0 26px;
  font-weight: 500;
}
h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 360;
  margin: 0;
  max-width: 760px;
}
.hero-copy {
  margin-top: 24px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.52;
  color: #343434;
  font-weight: 300;
  max-width: 560px;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.button {
  border: 1px solid var(--ink);
  padding: 14px 18px;
  font-size: 13px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button.primary { background: var(--ink); color: white; }
.button:hover {
  border-color: var(--sage);
  background: var(--sage);
  color: white;
  transform: translateY(-1px);
}
.hero-visual {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: min(52vw, 690px);
  padding: 0;
  opacity: 0.96;
  z-index: 1;
}
.hero-visual img {
  width: 100%;
  filter: saturate(0.95);
}
.scroll-cue {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-cue::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--sage);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}
.section.soft { background: var(--soft); }
.section-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 68px;
  align-items: start;
}
h2 {
  font-weight: 360;
  letter-spacing: -0.045em;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  margin: 0;
}
.lede {
  font-size: 20px;
  line-height: 1.55;
  color: #333;
  font-weight: 300;
  margin: 0;
  max-width: 760px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 34px;
}
.pillar {
  background: white;
  padding: 30px;
  min-height: 170px;
}
.pillar h3,
.project-title h3 {
  font-size: 19px;
  font-weight: 420;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.pillar p, .project-content p, .plain-text p, .contact-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15.5px;
  margin: 0;
  font-weight: 300;
}
.sage { color: var(--sage-dark); }
.rule-note {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 2px solid var(--sage);
  color: #444;
  line-height: 1.6;
  font-weight: 300;
}

.page-hero {
  padding: 112px 24px 78px;
}
.page-hero h1 { max-width: 900px; }
.page-hero .hero-copy { max-width: 720px; }

.accordion {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.project {
  border-bottom: 1px solid var(--line);
}
.project-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 31px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.project-title h3 { margin: 0; }
.project-title span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.plus {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.project.open .plus {
  background: var(--sage);
  color: white;
  transform: rotate(45deg);
}
.project-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}
.project-content-inner {
  padding: 0 0 34px;
  max-width: 780px;
}
.focus {
  margin-top: 18px;
  color: #333;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.focus strong { color: var(--sage-dark); font-weight: 500; }

.plain-text {
  max-width: 820px;
}
.plain-text p + p { margin-top: 20px; }
.contact-card {
  border: 1px solid var(--line);
  padding: 38px;
  max-width: 680px;
  background: white;
}
.email-placeholder {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; width: 100%; }
  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .hero > div:first-child { max-width: 100%; }
  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 34px;
    opacity: 0.78;
  }
  .scroll-cue { display: none; }
  .section-grid, .pillars { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .page-hero { padding-top: 78px; }
}

.email-placeholder a { color: var(--sage-dark); text-decoration: none; }
.email-placeholder a:hover { text-decoration: underline; }
