:root {
  --ink: #090a08;
  --charcoal: #171815;
  --paper: #f3f2ec;
  --white: #ffffff;
  --acid: #c9ce00;
  --acid-soft: #e1e457;
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(9,10,8,.18);
  --muted-dark: rgba(255,255,255,.66);
  --muted-light: #5f615a;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--acid);
  color: var(--ink);
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.site-header.solid { background: var(--ink); }
.header-inner {
  width: min(var(--max), calc(100% - 3rem));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; width: 178px; }
.brand img { width: 100%; height: auto; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: inherit;
  padding: .62rem .8rem;
  cursor: pointer;
}
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: .83rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.5rem;
  height: 2px;
  background: var(--acid);
  transition: right .25s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.hero {
  min-height: 760px;
  padding: 9rem max(1.5rem, calc((100vw - var(--max)) / 2)) 5rem;
  background: var(--ink);
  color: var(--white);
  display: grid;
  align-content: end;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 44vw;
  height: 44vw;
  min-width: 380px;
  min-height: 380px;
  right: -13vw;
  top: 6rem;
  border: 1px solid rgba(201,206,0,.42);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  width: 18vw;
  height: 18vw;
  right: 8vw;
  top: 15rem;
  background: var(--acid);
  border-radius: 50%;
  opacity: .95;
}
.hero-inner { position: relative; z-index: 2; max-width: 1020px; }
.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--acid);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}
h1 { margin-bottom: 2rem; font-size: clamp(4rem, 8vw, 7.7rem); max-width: 12ch; }
.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted-dark);
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--ink);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.button:hover { background: var(--acid-soft); }
.button.ghost { background: transparent; color: var(--white); border-color: var(--line-dark); }
.button.ghost:hover { border-color: var(--white); }

.section { padding: 8rem max(1.5rem, calc((100vw - var(--max)) / 2)); }
.section.dark { background: var(--charcoal); color: var(--white); }
.section.black { background: var(--ink); color: var(--white); }
.section-header {
  display: grid;
  grid-template-columns: minmax(160px, .55fr) 1.45fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.section-header h2 { margin-bottom: clamp(2rem, 3vw, 3rem); font-size: clamp(2.8rem, 5vw, 5.25rem); max-width: 13ch; }
.section-header h2:last-child { margin-bottom: 0; }
.section-header .lead { max-width: 720px; font-size: 1.2rem; color: var(--muted-light); }
.dark .lead, .black .lead { color: var(--muted-dark); }

.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line-light); }
.path-card {
  min-height: 460px;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-light);
  transition: background .3s ease, color .3s ease;
}
.path-card:last-child { border-right: 0; }
.path-card:hover { background: var(--ink); color: var(--white); }
.path-no { color: var(--muted-light); font-size: .78rem; letter-spacing: .13em; }
.path-card:hover .path-no { color: var(--acid); }
.path-card h3 { margin: auto 0 1.5rem; font-family: Georgia, serif; font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 400; line-height: 1.05; }
.path-card p { max-width: 34rem; color: var(--muted-light); }
.path-card:hover p { color: var(--muted-dark); }
.arrow { font-size: 1.6rem; color: var(--acid); }

.mission-band {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 4rem;
  align-items: end;
}
.mission-band blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(2.3rem, 5vw, 5.1rem); line-height: 1.08; letter-spacing: -.035em; }
.mission-note { color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }

.feature-image { position: relative; min-height: 640px; overflow: hidden; background: #d8d8d0; }
.feature-image img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.image-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: rgba(9,10,8,.92);
  color: var(--white);
  padding: 1.2rem 1.4rem;
  max-width: 330px;
}
.image-caption strong { display: block; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.image-caption span { color: var(--muted-dark); font-size: .82rem; }

.page-hero {
  min-height: 610px;
  padding: 10rem max(1.5rem, calc((100vw - var(--max)) / 2)) 5rem;
  background: var(--ink);
  color: var(--white);
  display: grid;
  align-content: end;
}
.page-hero h1 { font-size: clamp(3.8rem, 8vw, 7rem); }
.page-hero .hero-copy { max-width: 780px; }
.page-hero.acid { background: var(--acid); color: var(--ink); }
.page-hero.acid .eyebrow { color: var(--ink); }
.page-hero.acid .hero-copy { color: rgba(9,10,8,.68); }

.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.principle { padding: 2rem 2.5rem 2rem 0; border-right: 1px solid var(--line-light); min-height: 260px; }
.principle + .principle { padding-left: 2.5rem; }
.principle:last-child { border-right: 0; }
.principle h3 { margin: .7rem 0 1rem; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 400; }
.principle p { color: var(--muted-light); }

.portfolio-card { display: grid; grid-template-columns: 1.4fr .6fr; min-height: 560px; background: var(--white); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.portfolio-copy { padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: flex-end; }
.portfolio-copy h3 { font-family: Georgia, serif; font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 400; line-height: 1.05; }
.meta { color: var(--muted-light); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.sector { min-height: 145px; padding: 1.5rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; align-items: end; font-family: Georgia, serif; font-size: 1.32rem; }
.sector::before { content: "/"; color: var(--acid); margin-right: .7rem; }

.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.partner-card { background: var(--paper); padding: clamp(2rem, 5vw, 4rem); min-height: 420px; }
.partner-card h3 { font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 400; line-height: 1.05; }
.partner-card p { color: var(--muted-light); max-width: 36rem; }

.process-list { counter-reset: item; list-style: none; padding: 0; margin: 0; }
.process-list li { counter-increment: item; display: grid; grid-template-columns: 100px 1fr 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line-dark); align-items: start; }
.process-list li::before { content: "0" counter(item); color: var(--acid); font-size: .8rem; letter-spacing: .13em; }
.process-list h3 { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.process-list p { color: var(--muted-dark); }

.name-story { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5rem; align-items: start; }
.name-mark { width: min(420px, 100%); }
.name-story h2 { font-size: clamp(3rem, 6vw, 6rem); }
.name-story p { font-size: 1.18rem; color: var(--muted-light); }
.dark .name-story p:not(.eyebrow) { color: var(--muted-dark); }
.section:not(.dark):not(.black) .eyebrow { color: #686b00; }

.closing { text-align: center; }
.closing h2 { max-width: 15ch; margin: 0 auto 2rem; font-size: clamp(3rem, 6vw, 6.5rem); }
.closing p { max-width: 660px; margin: 0 auto; color: var(--muted-dark); font-size: 1.1rem; }

.site-footer { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-dark); padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2)); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-brand { width: 145px; margin-bottom: 1.5rem; }
.footer-copy { color: var(--muted-dark); max-width: 420px; font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: var(--muted-dark); text-decoration: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-nav a:hover { color: var(--acid); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .header-inner { width: min(100% - 2rem, var(--max)); height: 76px; }
  .brand { width: 145px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .hero { min-height: 690px; }
  .hero::after { right: -10vw; top: 12rem; width: 38vw; height: 38vw; }
  .section { padding-top: 6rem; padding-bottom: 6rem; }
  .section-header, .mission-band, .name-story { grid-template-columns: 1fr; gap: 2rem; }
  .path-grid, .partner-grid, .portfolio-card { grid-template-columns: 1fr; }
  .path-card { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .path-card:last-child { border-bottom: 0; }
  .three-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line-light); min-height: 0; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list li { grid-template-columns: 58px 1fr; }
  .process-list p { grid-column: 2; }
  .portfolio-card img { min-height: 390px; }
}

@media (max-width: 560px) {
  h1 { font-size: 3.7rem; }
  .hero { padding-top: 8rem; min-height: 650px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section, .page-hero { padding-left: 1.2rem; padding-right: 1.2rem; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector { min-height: 110px; }
  .feature-image, .feature-image img { min-height: 480px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
