@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --navy: #17324a;
  --navy-deep: #102536;
  --red: #9f2e38;
  --red-dark: #7f202a;
  --ivory: #f4eddd;
  --paper: #fbf8ef;
  --paper-light: #fffdf7;
  --ink: #262724;
  --muted: #60605b;
  --line: #d9d1bf;
  --gold: #bd9652;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 var(--sans); }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topline { height: 8px; background: linear-gradient(90deg,var(--navy) 0 42%,var(--ivory) 42% 58%,var(--red) 58%); border-bottom: 1px solid #8e8064; }
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(251,248,239,.97); border-bottom: 1px solid var(--line); box-shadow: 0 5px 16px rgba(30,38,40,.05); backdrop-filter: blur(10px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.brand-mark { width: 44px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); font: 700 13px/1 var(--serif); letter-spacing: .05em; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: var(--navy); font: 700 20px/1.1 var(--serif); }
.brand-copy small { margin-top: 5px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.site-header nav { display: flex; align-items: center; gap: clamp(12px,2.2vw,28px); flex-wrap: wrap; }
.site-header nav a, footer nav a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-header nav a:hover, footer nav a:hover, .text-link:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.site-header .nav-contact { padding: 8px 15px; border: 1px solid var(--red); border-radius: 999px; }
/* Shared treatment for the established detail pages */
header:not(.site-header):not(.billboard-wrap) { position: sticky; z-index: 10; top: 0; background: rgba(251,248,239,.97); border-bottom: 1px solid var(--line); box-shadow: 0 5px 16px rgba(30,38,40,.05); backdrop-filter: blur(10px); }
header .nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
header .brand { color: var(--navy); font-family: var(--serif); font-size: 20px; font-weight: 700; text-decoration: none; }
header .brand strong { color: var(--navy); font: 700 20px var(--serif); }
header .mark { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); background: var(--paper); font-size: 12px; }
header .back { color: var(--red); font-size: 14px; font-weight: 700; text-decoration: none; }
header .nav-links, header .navlinks { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
header .nav-links a, header .navlinks a { color: var(--navy); font-size: 14px; text-decoration: none; }
header .back:hover { color: var(--red-dark); text-decoration: underline; }
h1 span, .hero h1 span { color: var(--red); }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 82% 10%,rgba(189,150,82,.18),transparent 27%), linear-gradient(120deg,#fbf8ef 0%,#f7f0e1 65%,#efe4cf 100%); border-bottom: 1px solid #b6a98d; }
.hero::before,.hero::after { position: absolute; content: ''; pointer-events: none; }
.hero::before { width: 430px; height: 430px; right: -140px; bottom: -210px; border: 1px solid rgba(23,50,74,.17); border-radius: 50%; box-shadow: 0 0 0 28px rgba(23,50,74,.035),0 0 0 58px rgba(159,46,56,.025); }
.hero-grid { position: relative; z-index: 1; min-height: 570px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(230px,.65fr); align-items: center; gap: 70px; padding-block: 80px; }
.eyebrow { margin: 0 0 16px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { color: var(--navy); }
h1,h2 { font-family: var(--serif); font-weight: 600; }
h1 { max-width: 770px; margin-bottom: 0; font-size: clamp(48px,6.2vw,78px); line-height: 1.06; letter-spacing: -.035em; }
h1 em { display: block; color: var(--red); font-style: normal; }
.hero-lead { max-width: 730px; margin: 23px 0 0; color: #454a4b; font-size: 20px; line-height: 1.62; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--navy); border-radius: 3px; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .18s,color .18s,transform .18s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--paper-light); background: var(--navy); }
.button.primary:hover { background: var(--navy-deep); }
.button.secondary { color: var(--navy); background: transparent; }
.button.secondary:hover { color: var(--paper-light); background: var(--navy); }
.proposal-note { max-width: 670px; margin: 22px 0 0; color: #55544e; font-size: 14px; }
.hero-note { justify-self: center; width: min(300px,100%); padding: 38px 27px 31px; text-align: center; color: var(--paper-light); background: var(--navy); border: 1px solid #c2a873; outline: 1px solid var(--navy); outline-offset: 7px; transform: rotate(2deg); box-shadow: 0 19px 38px rgba(16,37,54,.2); }
.note-star { color: #e6cf9f; font-size: 30px; }
.hero-note p { margin: 18px 0 16px; color: #fff8e9; font: italic 600 27px/1.3 var(--serif); }
.hero-note span:last-child { color: #e8d8b8; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.hero-edge { position: absolute; inset: 13px; pointer-events: none; border: 1px solid rgba(119,91,46,.17); }
.section { padding: 84px 0; }
.purpose { background: var(--paper-light); }
.purpose-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.purpose h2,.section-heading h2,.contact h2,.closing h2 { margin-bottom: 0; font-size: clamp(36px,4.6vw,56px); line-height: 1.13; letter-spacing: -.025em; }
.purpose-copy p { margin-bottom: 17px; color: var(--muted); font-size: 18px; }
.text-link { display: inline-block; color: var(--red); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.value-card { min-height: 190px; padding: 25px 26px; border-top: 2px solid var(--red); background: var(--paper); }
.value-mark { color: var(--gold); font: 600 15px var(--serif); }
.value-card h3 { margin: 20px 0 8px; font: 600 24px var(--serif); }
.value-card p { margin: 0; color: var(--muted); font-size: 15px; }
.ten-cent { background: var(--ivory); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading > p:last-child { margin: 17px 0 0; color: var(--muted); font-size: 18px; }
.dime-card { padding: clamp(24px,4.5vw,52px); background: var(--paper-light); border: 1px solid #d1c5ad; box-shadow: 0 12px 28px rgba(41,39,31,.08); }
.dime-total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.dime-total strong { color: var(--navy); font: 600 clamp(40px,7vw,72px)/1 var(--serif); }
.dime-split { display: flex; min-height: 106px; margin-top: 23px; color: white; }
.dime-split > div { display: flex; flex-direction: column; justify-content: center; padding: 15px 23px; }
.split-founder { flex: 3; min-width: 140px; background: var(--red); }
.split-community { flex: 7; background: var(--navy); }
.dime-split strong { font: 600 36px/1.1 var(--serif); }
.dime-split span { margin-top: 4px; font-size: 14px; line-height: 1.35; }
.dime-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 28px 0; }
.dime-details article { display: flex; align-items: flex-start; gap: 14px; }
.detail-number { color: var(--red); font: 700 21px var(--serif); }
.dime-details h3 { margin: 0 0 5px; font-size: 18px; }
.dime-details p { margin: 0; color: var(--muted); font-size: 15px; }
.dime-footnote { max-width: 850px; margin: 17px 0 0; color: var(--muted); font-size: 14px; }
.explore { background: var(--paper-light); }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.project-card { min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; padding: 27px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; transition: border-color .18s,transform .18s,box-shadow .18s; }
.project-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(41,39,31,.08); }
.project-feature { color: #fff; background: var(--navy); border-color: var(--navy); }
.project-feature h3 { color: white; }
.project-feature p,.project-feature .project-label { color: #e4d7bd; }
.project-label { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.project-card h3 { margin: 18px 0 8px; font: 600 25px/1.15 var(--serif); }
.project-card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-link { margin-top: auto; padding-top: 19px; color: var(--red); font-size: 14px; font-weight: 700; }
.project-feature .card-link { color: #f2dcae; }
.closing { padding-top: 0; background: var(--paper-light); }
.closing-panel { padding: clamp(32px,6vw,70px); color: white; background: var(--red-dark); border: 1px solid #6e1e26; text-align: center; }
.closing-panel .eyebrow { color: #f0d7a6; }
.closing h2 { max-width: 800px; margin-inline: auto; color: white; }
.closing-panel > p:not(.eyebrow) { max-width: 700px; margin: 20px auto 25px; color: #f5e9df; font-size: 18px; }
.button.light { color: var(--navy); background: var(--paper-light); border-color: var(--paper-light); }
.contact { padding-top: 0; background: var(--paper-light); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.contact h2 { max-width: 540px; }
.contact-grid p:not(.eyebrow) { max-width: 560px; margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.contact-actions { display: grid; gap: 10px; min-width: 250px; }
.contact-actions a { padding: 12px 16px; border: 1px solid var(--navy); color: var(--navy); text-align: center; font-size: 15px; font-weight: 700; text-decoration: none; }
.contact-actions a:first-child { color: white; background: var(--navy); }
.contact-actions a:hover { border-color: var(--red); color: var(--red); }
footer { padding: 30px 0 24px; color: #f4ecdb; background: var(--navy-deep); }
.footer-wrap { display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; align-items: center; }
.footer-wrap > div { display: grid; }
.footer-wrap > div strong { font: 600 21px var(--serif); }
.footer-wrap > div span, .footer-wrap > p { color: #d7d0c2; font-size: 13px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: #f5ead6; }
.footer-wrap > p { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }

/* Keep older editorial pages in the same warm, readable site palette */
body.legacy-page { color: var(--ink); background: var(--paper); font-family: var(--sans); }
body.legacy-page .hero { color: var(--ink) !important; background: linear-gradient(120deg,#fbf8ef,#f4eddd) !important; border-bottom: 1px solid var(--line); }
body.legacy-page .hero h1 { color: var(--navy) !important; font-family: var(--serif) !important; }
body.legacy-page .hero h1 span { color: var(--red) !important; }
body.legacy-page .hero p { color: var(--muted) !important; }
body.legacy-page .hero .eyebrow { color: var(--red) !important; }
body.legacy-page h2, body.legacy-page h3 { color: var(--navy); }

@media (max-width: 820px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; padding-block: 14px; gap: 12px; }
  .site-header nav { gap: 10px 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 68px; }
  .hero-note { justify-self: start; width: 260px; }
  .purpose-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px,1160px); }
  .site-header nav a { font-size: 13px; }
  .hero-grid { min-height: auto; padding-block: 52px; }
  h1 { font-size: clamp(43px,12vw,60px); }
  .hero-lead { font-size: 18px; }
  .section { padding: 62px 0; }
  .values-grid,.project-grid,.dime-details { grid-template-columns: 1fr; }
  .value-card { min-height: 0; }
  .dime-card { padding: 22px 18px; }
  .dime-split { min-height: 120px; }
  .dime-split > div { padding: 12px; }
  .dime-split strong { font-size: 30px; }
  .dime-split span { font-size: 12px; }
  .project-card { min-height: 210px; }
  .contact-actions { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; }
  footer nav { gap: 14px; }
  .footer-wrap > p { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
}
