:root {
  --forest: #1f3b2d;
  --forest-2: #2c5240;
  --moss: #6f8f5a;
  --clay: #c46a3c;
  --clay-soft: #f1dccd;
  --cream: #f6f1e6;
  --paper: #fffdf8;
  --text: #33392f;
  --muted: #6c7266;
  --line: #e2dccd;
  --head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--forest); text-decoration-color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--head); color: var(--forest); letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 700; margin: 0 0 22px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 21px; font-weight: 700; margin: 0 0 8px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }

.sample-banner { background: var(--clay); color: #fff; text-align: center; font-size: 13px; padding: 8px 16px; }
.sample-banner a { color: #fff; font-weight: 700; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--forest); color: var(--cream); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.brand-name { font-family: var(--head); font-size: 21px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); }
.nav { display: flex; gap: 6px; }
.nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--cream); color: var(--forest); }

.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--clay); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--forest); color: #fff; }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-photos { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: end; }
.hero-photos img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 24px; }
.hero-photos img:first-child { aspect-ratio: 600 / 760; }
.hero-photos img:last-child { aspect-ratio: 1; margin-bottom: 48px; }

/* Gallery */
.gallery { padding: 0 0 80px; }
.gallery .eyebrow { display: block; text-align: center; margin-bottom: 24px; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery figure { margin: 0; background: var(--paper); border-radius: 18px; padding: 8px 8px 12px; border: 1px solid var(--line); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.gallery figcaption { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--forest); }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }

#about { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.facts { background: var(--forest); color: var(--cream); border-radius: 24px; padding: 32px 34px; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a9c39a; padding-top: 2px; }
.facts dd { margin: 0; }
.facts a { color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.card .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--clay-soft); color: var(--clay); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.card p { margin: 0; }

#standards { background: var(--paper); border-top: 1px solid var(--line); }
.commit-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.commit-list li { padding: 24px 26px 24px 70px; position: relative; background: var(--cream); border-radius: 20px; }
.commit-list li::before { content: ""; position: absolute; left: 26px; top: 28px; width: 26px; height: 26px; border-radius: 50%; background: var(--moss); box-shadow: inset 0 0 0 7px var(--cream); }
.commit-list p { margin: 0; }

.channels { background: var(--forest); color: #d6dfcf; text-align: center; padding: 72px 0; }
.channels h2 { color: #fff; }
.channels .eyebrow { color: #e9a47d; }
.channels p { max-width: 640px; margin: 0 auto; }

.contact { text-align: center; }
.contact .section-head { margin: 0 auto 26px; }
.contact-email { display: inline-block; font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3.5vw, 34px); color: var(--forest); padding: 14px 30px; border: 2px solid var(--forest); border-radius: 999px; text-decoration: none; }
.contact-email:hover { background: var(--forest); color: var(--cream); }

/* Legal */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 44px; margin: 0 0 6px; }
.legal h2 { font-size: 24px; margin: 36px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

/* Footer */
.site-footer { background: #17291f; color: #a9b5a2; font-size: 14px; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #e9a47d; margin: 0 0 12px; }
.site-footer address { font-style: normal; }
.site-footer a { color: #eef2ea; text-decoration: none; }
.site-footer a:hover { color: #e9a47d; }
.footer-brand { font-family: var(--head); font-weight: 700; font-size: 22px; color: #fff; margin: 0 0 6px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.copyright { padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .commit-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 64px 0; }
  .hero { padding: 56px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { padding: 24px; }
  .facts dl { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}

/* Print: two pages, light backgrounds */
@page { size: letter; margin: 0.45in 0.5in; }
@media print {
  html, body { background: #fff; font-size: 9pt; line-height: 1.45; }
  .wrap { max-width: none; padding: 0; }
  .sample-banner { background: #fff; color: var(--clay); border-bottom: 1px solid var(--line); padding: 0 0 4pt; font-size: 7.5pt; }
  .sample-banner a { color: var(--clay); }
  .nav, .btn, .hero-photos { display: none; }
  .site-header .wrap { min-height: 0; padding: 6pt 0; }
  .brand-mark { width: 26pt; height: 26pt; font-size: 10pt; }
  .brand-name { font-size: 14pt; }
  section { padding: 10pt 0; }
  .hero { padding: 10pt 0 6pt; }
  .hero-grid { display: block; }
  h1 { font-size: 24pt; margin-bottom: 6pt; }
  h2 { font-size: 15pt; margin-bottom: 4pt; }
  h3 { font-size: 11pt; margin-bottom: 2pt; }
  .lead { font-size: 10pt; margin: 0; max-width: none; }
  .eyebrow { font-size: 7pt; margin-bottom: 4pt; }
  p { margin: 0 0 5pt; }
  .section-head { margin-bottom: 8pt; max-width: none; }
  .gallery { padding: 0; }
  .gallery .eyebrow { margin-bottom: 6pt; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); gap: 6pt; }
  .gallery figure { padding: 3pt; border-radius: 8pt; }
  .gallery img { border-radius: 6pt; }
  .gallery figcaption { margin-top: 3pt; font-size: 7pt; }
  #about, #standards { background: #fff; border: 0; }
  .about-grid { grid-template-columns: 1.3fr 1fr; gap: 18pt; }
  .facts { background: #fff; color: var(--text); border: 1px solid var(--line); padding: 10pt 12pt; border-radius: 10pt; }
  .facts dt { color: var(--moss); font-size: 7pt; }
  .facts a { color: var(--forest); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 8pt; }
  .card { padding: 10pt; border-radius: 10pt; }
  .card .num { width: 20pt; height: 20pt; font-size: 8pt; margin-bottom: 4pt; }
  .commit-list { grid-template-columns: repeat(2, 1fr); gap: 6pt; }
  .commit-list li { padding: 8pt 10pt 8pt 30pt; border-radius: 10pt; }
  .commit-list li::before { left: 10pt; top: 10pt; width: 12pt; height: 12pt; box-shadow: inset 0 0 0 3pt var(--cream); }
  .channels { background: #fff; color: var(--text); text-align: left; padding: 8pt 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .channels h2 { color: var(--forest); }
  .channels p { max-width: none; margin: 0; }
  .contact { text-align: left; }
  .contact .section-head { margin: 0 0 4pt; }
  .contact-email { font-size: 13pt; padding: 0; border: 0; }
  .site-footer { background: #fff; color: #555; padding: 8pt 0 0; font-size: 8pt; border-top: 1px solid var(--line); }
  .site-footer a { color: var(--forest); }
  .site-footer h4 { color: var(--clay); margin-bottom: 3pt; font-size: 7pt; }
  .footer-brand { color: var(--forest); font-size: 13pt; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 14pt; padding-bottom: 6pt; border-bottom: 1px solid var(--line); }
  .footer-links li { margin-bottom: 1pt; }
  .copyright { padding-top: 5pt; font-size: 7pt; }
  .card, .commit-list li, .facts, .gallery-grid li, .footer-grid, .section-head { break-inside: avoid; }
  .eyebrow, h2, h3 { break-after: avoid; }
  .legal { padding: 10pt 0; }
  .legal h1 { font-size: 20pt; }
  .legal h2 { font-size: 12pt; margin: 10pt 0 3pt; }
}
