:root {
  --navy: #18344f;
  --navy-dark: #0d2437;
  --sage: #899782;
  --sage-pale: #e7eadf;
  --clay: #b86b3f;
  --gold: #cb8d23;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --ink: #27333a;
  --muted: #617079;
  --line: rgba(18, 49, 74, .16);
  --shadow: 0 22px 70px rgba(18, 49, 74, .13);
  --display: "Libre Baskerville", Georgia, serif;
  --body: "Source Sans 3", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 18px/1.62 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--clay); }
h1, h2, h3 { margin: 0 0 .55em; color: var(--navy); font-family: var(--display); line-height: 1.08; }
h1 { font-size: clamp(3.4rem, 7vw, 7.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.15em; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(76px, 9vw, 132px) 0; }
.section-heading { max-width: 880px; margin-bottom: 52px; }
.section-heading.narrow { max-width: 810px; margin-inline: auto; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--clay); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #f2bd58; }
.lead { font-size: 1.26rem; line-height: 1.55; }
.fine-print { margin: 28px 0 0; color: var(--muted); font-size: .86rem; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 1000; padding: 10px 16px; background: white; }
.skip-link:focus { top: 20px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 253, 248, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: block; width: min(330px, 42vw); }
.brand img, .brand .custom-logo { max-height: 72px; width: auto; }
.site-menu { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-menu a { color: var(--navy); font-size: .89rem; font-weight: 700; text-decoration: none; }
.site-menu a:hover { color: var(--clay); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; color: var(--navy); background: white; font: 700 .9rem var(--body); }

.hero { min-height: 760px; position: relative; display: grid; align-items: end; overflow: hidden; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(7, 31, 44, .94) 0%, rgba(7, 31, 44, .7) 46%, rgba(7, 31, 44, .12) 78%); }
.hero-copy { position: relative; z-index: 2; padding: 112px 0 94px; }
.hero h1 { max-width: 860px; color: white; }
.hero-lede { max-width: 710px; font-size: 1.26rem; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--clay); }
.button-primary:hover { color: white; background: #9d4f30; }
.button-ghost { color: white; border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); }
.button-ghost:hover { color: var(--navy); background: white; }
.button-cream { color: var(--navy); background: var(--cream); }
.image-disclosure { position: absolute; right: 24px; bottom: 18px; z-index: 3; margin: 0; font-size: .72rem; opacity: .86; }

.snapshot { background: var(--cream); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.metric-grid article { min-height: 190px; padding: 26px; background: var(--paper); border-top: 5px solid var(--gold); box-shadow: 0 14px 34px rgba(18,49,74,.06); }
.metric-grid span { display: block; color: var(--clay); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.metric-grid strong { display: block; margin: 22px 0 8px; color: var(--navy); font: 700 1.65rem/1.1 var(--display); }
.metric-grid p { font-size: .96rem; line-height: 1.35; }

.section-sage { background: var(--sage-pale); }
.split { display: grid; grid-template-columns: .95fr 1.15fr; gap: clamp(42px, 7vw, 96px); align-items: center; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.framed-image { margin: 0; padding: 14px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(1deg); }
.framed-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.framed-image figcaption { padding: 13px 7px 2px; color: var(--muted); font-size: .78rem; line-height: 1.4; }

.comparison { background: var(--paper); }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.comparison-card { position: relative; padding: 42px; border: 1px solid var(--line); overflow: hidden; }
.comparison-card.conventional { background: #f2eee7; }
.comparison-card.cottage { background: var(--sage-pale); }
.comparison-card h3 { font-size: 2rem; }
.comparison-card li { margin: 0 0 12px; }
.card-number { position: absolute; top: 14px; right: 24px; margin: 0; color: rgba(18,49,74,.16); font: 700 4.8rem/1 var(--display); }

.evidence { color: white; background: var(--navy-dark); }
.evidence h2 { color: white; }
.evidence-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.evidence-list article { display: grid; grid-template-columns: 150px 1fr; gap: 12px 26px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.18); }
.evidence-list strong { grid-row: span 2; color: #efb955; font: 700 2.7rem/1 var(--display); }
.evidence-list p { margin: 0; }
.evidence-list a { color: #eacb91; font-size: .9rem; }

.audience { background: var(--cream); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience-grid article { padding: 28px 24px; background: var(--paper); border-bottom: 4px solid var(--sage); }
.audience-grid p { font-size: .96rem; }

/* Tandem Villages policy-focused homepage */
.tandem-hero { min-height: 780px; position: relative; display: grid; align-items: end; overflow: hidden; color: white; background: var(--navy-dark); }
.tandem-image-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.tandem-image-grid img { width: 100%; height: 100%; object-fit: cover; }
.tandem-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,27,42,.95) 0%, rgba(8,27,42,.84) 45%, rgba(8,27,42,.34) 100%); }
.tandem-hero-copy { position: relative; z-index: 2; padding: 132px 0 94px; }
.tandem-hero h1 { max-width: 900px; color: white; font-size: clamp(3.3rem, 6.6vw, 7rem); }
.tandem-intro { background: var(--cream); }
.continuum { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 54px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.continuum span { min-height: 128px; padding: 24px 20px; border-right: 1px solid var(--line); font-size: .9rem; line-height: 1.3; }
.continuum span:last-child { border-right: 0; }
.continuum strong { display: block; margin-bottom: 11px; color: var(--navy); font: 700 1.14rem/1.15 var(--display); }
.projects-section { background: var(--paper); }
.project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.project-panel { overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: 0 18px 54px rgba(18,49,74,.09); }
.project-panel.pathway { border-top: 7px solid var(--sage); }
.project-panel.cottages { border-top: 7px solid var(--gold); }
.project-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.project-copy { padding: clamp(30px, 4vw, 52px); }
.project-copy h2 { font-size: clamp(2rem, 3.7vw, 3.45rem); }
.project-copy li { margin: 0 0 10px; }
.operating-principle { color: white; background: var(--navy-dark); }
.operating-principle h2 { max-width: 900px; color: white; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.principle-grid article { padding: 30px; border-top: 4px solid var(--gold); background: rgba(255,255,255,.075); }
.principle-grid h3 { color: white; }
.policy-window { background: var(--sage-pale); }
.policy-stack { display: grid; gap: 15px; }
.policy-stack article { display: grid; grid-template-columns: 150px 1fr; align-items: center; min-height: 118px; padding: 24px 28px; background: var(--paper); border-left: 5px solid var(--gold); box-shadow: 0 12px 34px rgba(18,49,74,.07); }
.policy-stack strong { color: var(--navy); font: 700 2rem/1 var(--display); }
.policy-stack span { line-height: 1.35; }
.capital-map { background: var(--cream); }
.capital-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.capital-grid article { padding: 32px; background: var(--paper); border: 1px solid var(--line); }
.capital-grid article:nth-child(1) { border-top: 5px solid var(--sage); }
.capital-grid article:nth-child(2) { border-top: 5px solid var(--gold); }
.capital-grid article:nth-child(3) { border-top: 5px solid var(--navy); }

.callout { color: white; background: var(--clay); }
.callout h2 { color: white; }
.callout-inner { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.callout-inner > div { max-width: 830px; }

.page-hero { padding: 108px 0 78px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 6vw, 6rem); }
.prose { max-width: 880px; }
.prose > p:first-child { font-size: 1.28rem; color: var(--navy); }
.prose h2 { margin-top: 2em; font-size: clamp(2rem, 4vw, 3.4rem); }
.prose h3 { margin-top: 1.65em; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: white; background: var(--navy); }
.prose blockquote { margin: 2em 0; padding: 24px 30px; color: var(--navy); background: var(--sage-pale); border-left: 5px solid var(--gold); font-family: var(--display); font-size: 1.25rem; }
.card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-list article { padding: 28px; border: 1px solid var(--line); background: var(--paper); }

.site-footer { padding: 78px 0 26px; color: #dce4e5; background: #071f2c; }
.site-footer h2 { max-width: 600px; color: white; font-size: clamp(2rem, 4vw, 3.3rem); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-grid p { font-size: .94rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .86rem; }
.site-footer a { color: #eecb8d; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 92px; left: 0; right: 0; display: none; padding: 22px 24px 30px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: block; }
  .site-menu { align-items: flex-start; flex-direction: column; gap: 15px; }
  .metric-grid, .audience-grid { grid-template-columns: 1fr 1fr; }
  .split, .evidence-grid { grid-template-columns: 1fr; gap: 50px; }
  .project-pair, .capital-grid { grid-template-columns: 1fr; }
  .continuum { grid-template-columns: repeat(2, 1fr); }
  .continuum span { border-bottom: 1px solid var(--line); }
  .principle-grid { grid-template-columns: 1fr; }
  .evidence-list article { grid-template-columns: 130px 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .shell { width: min(100% - 30px, 1180px); }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { width: min(205px, calc(100% - 82px)); flex: 0 1 auto; }
  .brand img, .brand .custom-logo { max-width: 100%; }
  .menu-toggle { flex: 0 0 auto; }
  .primary-nav { top: 100%; max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-menu, .site-menu a { width: 100%; }
  .site-menu a { display: block; padding: 4px 0; }
  .hero { min-height: 710px; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,31,44,.96), rgba(7,31,44,.36)); }
  .hero-copy { padding: 160px 0 76px; }
  .hero h1 { font-size: 3.5rem; }
  .tandem-image-grid { grid-template-columns: 1fr; }
  .tandem-image-grid img:nth-child(2) { display: none; }
  .tandem-overlay { background: linear-gradient(0deg, rgba(8,27,42,.97), rgba(8,27,42,.52)); }
  .tandem-hero-copy { padding: 160px 0 76px; }
  .tandem-hero h1 { font-size: 3.35rem; }
  .continuum { grid-template-columns: 1fr; }
  .continuum span { min-height: 0; border-right: 0; }
  .policy-stack article { grid-template-columns: 1fr; gap: 10px; }
  .image-disclosure { left: 15px; right: 15px; bottom: 10px; }
  .metric-grid, .comparison-grid, .audience-grid, .footer-grid, .callout-inner, .card-list { grid-template-columns: 1fr; }
  .comparison-card { padding: 34px 28px; }
  .prose { min-width: 0; }
  .prose table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .evidence-list article { grid-template-columns: 1fr; }
  .evidence-list strong { grid-row: auto; }
  .footer-bottom { flex-direction: column; }
}
