:root {
  --forest: #113532;
  --forest-2: #1a4945;
  --gold: #b08d57;
  --ink: #17211f;
  --muted: #66716e;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #d9ddd8;
  --tint: #f0f3ef;
  --max: 1120px;
  --shadow: 0 20px 50px rgba(17, 53, 50, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
}
.skip-link:focus {
  left: 10px;
  z-index: 1000;
  background: var(--white);
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid rgba(17, 53, 50, .12);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: .82rem;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  text-decoration: none;
  font-size: .94rem;
  font-weight: 650;
}
.site-nav a:hover, .site-nav a:focus { color: var(--forest-2); }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 88px 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(176,141,87,.18), transparent 28rem),
    linear-gradient(145deg, var(--paper), #f4f1e9);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 64px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forest);
  line-height: 1.08;
}
h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 7rem);
  letter-spacing: -.045em;
}
h2 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.035em;
}
h3 { margin: 0 0 12px; font-size: 1.45rem; }
.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: #36413e;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 750;
}
.button.primary { background: var(--forest); color: var(--white); }
.button.secondary { border: 1px solid var(--forest); color: var(--forest); }
.button:hover { transform: translateY(-1px); }

.hero-card {
  padding: 34px;
  border: 1px solid rgba(17,53,50,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}
.hero-card strong {
  display: block;
  margin: 10px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forest);
  font-size: 1.7rem;
  line-height: 1.15;
}
.card-kicker {
  color: var(--gold);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}

.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
}
.body-copy { font-size: 1.08rem; }
.body-copy p:first-child { margin-top: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.card-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.card p { margin-bottom: 0; color: var(--muted); }

.research-list { border-top: 1px solid var(--line); }
.research-list article {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.research-list h3, .research-list p { margin: 0; }
.research-list p { color: var(--muted); }

.contact {
  background: var(--forest);
  color: var(--white);
}
.contact .eyebrow { color: #d6ba87; }
.contact h2 { color: var(--white); }
.contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.contact .button.primary {
  background: var(--white);
  color: var(--forest);
}

.site-footer {
  background: #0d2927;
  color: rgba(255,255,255,.74);
  font-size: .9rem;
}
.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 780px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .menu-button { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { min-height: auto; padding: 64px 0 72px; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-number { margin-bottom: 28px; }
  .research-list article { grid-template-columns: 1fr; gap: 8px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { min-height: 96px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
}


/* Legacy project */
.legacy-home {
  background: linear-gradient(145deg, #f6f1e6, var(--paper));
  border-top: 1px solid var(--line);
}
.legacy-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
  gap: 64px;
  align-items: center;
}
.legacy-lede { max-width: 760px; font-size: 1.12rem; color: #45514e; }
.qr-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.qr-card img { display: block; width: min(210px, 100%); margin: 0 auto 16px; }
.qr-card strong { display: block; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.qr-card span { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }

.legacy-page .site-header { background: rgba(251,250,247,.97); }
.legacy-hero {
  padding: 88px 0 74px;
  background: radial-gradient(circle at 84% 18%, rgba(176,141,87,.22), transparent 25rem), linear-gradient(145deg, #f8f4ea, #f0ece2);
}
.legacy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  gap: 58px;
  align-items: center;
}
.legacy-hero h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
.legacy-dates { margin: 16px 0 0; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.legacy-subtitle { max-width: 820px; margin: 24px 0 0; font-size: clamp(1.12rem, 2.3vw, 1.45rem); color: #3f4b48; }
.legacy-monogram {
  width: min(300px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,53,50,.16);
  border-radius: 50%;
  background: var(--forest);
  color: #e5cfaa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 6rem);
  letter-spacing: .08em;
  box-shadow: var(--shadow);
}
.legacy-intro { max-width: 900px; font-size: 1.12rem; color: #4f5a57; }
.legacy-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.legacy-highlight { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.legacy-highlight strong { display: block; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; margin-bottom: 8px; }
.legacy-highlight p { margin: 0; color: var(--muted); }
.timeline { position: relative; margin-top: 34px; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 72px 1fr; gap: 48px; position: relative; padding: 0 0 30px; }
.timeline-year { color: var(--gold); font-weight: 800; font-size: .95rem; letter-spacing: .03em; text-align: right; }
.timeline-copy { position: relative; padding-left: 6px; }
.timeline-copy::before { content: ""; position: absolute; left: -30px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 5px var(--paper); }
.timeline-copy h3 { font-size: 1.3rem; margin-bottom: 7px; }
.timeline-copy p { margin: 0; color: var(--muted); }
.source-note { padding: 24px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.source-note a { color: var(--forest); font-weight: 700; }
.legacy-share { background: var(--forest); color: var(--white); }
.legacy-share h2 { color: var(--white); }
.legacy-share .eyebrow { color: #d6ba87; }
.share-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 54px; align-items: center; }
.share-grid p { color: rgba(255,255,255,.78); max-width: 760px; }
.share-grid .qr-card { box-shadow: none; }

@media (max-width: 780px) {
  .legacy-home-grid, .legacy-hero-grid, .share-grid { grid-template-columns: 1fr; gap: 36px; }
  .legacy-highlights { grid-template-columns: 1fr; }
  .legacy-monogram { width: 210px; }
  .timeline::before { left: 62px; }
  .timeline-item { grid-template-columns: 50px 1fr; gap: 36px; }
  .timeline-copy::before { left: -24px; }
}
