/* Layout and look for the whole site. Colours come from brand.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Brand fonts (decided 27 Nov 2026): Gelasio for headlines and the logo, Nunito for everything else. */
body { margin: 0; font-family: Nunito, system-ui, sans-serif; color: var(--moss); background: var(--cream); }
h1, h2, h3 { font-family: Gelasio, Georgia, serif; font-weight: 400; margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }   /* height: auto keeps photos in proportion */

.eyebrow { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wheat); margin: 0 0 1rem; }
.eyebrow-dark { color: var(--autumn); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }

/* Menu */
.nav { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; padding: 1.5rem 0; }
.logo { font-family: Gelasio, Georgia, serif; font-size: 1.2rem; text-decoration: none; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.3em; }

/* Buttons */
.buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.85rem 1.4rem; border-radius: 999px; text-decoration: none; font-size: 1rem; font-weight: 600; }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-ghost { border: 1px solid var(--wheat); color: var(--cream); }
.btn-green { background: var(--forest); color: var(--cream); }

/* 1. Home hero: forest, very little text, photo in an arch */
.hero { background: var(--forest); color: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: calc(100vh - 5rem); padding-bottom: 4rem; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1.05; margin-bottom: 1.5rem; }
.lede { font-size: 1.15rem; line-height: 1.7; color: var(--wheat); margin: 0 0 2rem; max-width: 32rem; }
/* The whole square photo, uncropped, so the face sits in the middle of the arch */
.arch { border-radius: 999px 999px 1.5rem 1.5rem; overflow: hidden; aspect-ratio: 1 / 1; max-width: 40rem; margin-left: auto; width: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* 2. Sections on cream, for reading */
.section { padding: 6rem 0; }
.section h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--forest); margin-bottom: 1.5rem; }
.section p { font-size: 1.1rem; line-height: 1.8; max-width: 38rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.photo { border-radius: 1.25rem; overflow: hidden; }
.photo-tall { max-width: 24rem; width: 100%; margin-left: auto; }
.text-link { color: var(--forest); text-underline-offset: 0.3em; }

/* Question cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.card { background: #fff8; border: 1px solid var(--wheat); border-radius: 1rem; padding: 1.75rem; text-decoration: none; min-height: 10rem; display: flex; flex-direction: column; justify-content: space-between; }
.card h3 { font-size: 1.4rem; color: var(--forest); }
.tag { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--autumn); }

/* A quiet band in wheat */
.band { background: var(--wheat); }

/* 3. About page */
.page-head { background: var(--forest); color: var(--cream); }
.page-head .title { padding: 3rem 0 4rem; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; }
.facts { border-top: 1px solid var(--sand); margin: 2rem 0 0; padding: 0; max-width: 46rem; }
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--sand); }
.facts dt { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--autumn); padding-top: 0.3rem; }
.facts dd { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.numbers div { border-top: 2px solid var(--forest); padding-top: 0.9rem; }
.numbers strong { display: block; font-family: Gelasio, Georgia, serif; font-weight: 400; font-size: 2.4rem; color: var(--forest); }
.numbers span { font-size: 0.95rem; line-height: 1.4; }

/* Footer */
.footer { background: var(--forest); color: var(--wheat); padding: 3rem 0; font-size: 0.9rem; line-height: 1.7; }
.footer .links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer .small { font-size: 0.8rem; color: var(--sand); }

/* Phones */
@media (max-width: 760px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-top: 2rem; }
  .arch { margin: 0 auto; max-width: 100%; }
  .section { padding: 4rem 0; }
  .facts div { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 760px) { .photo-tall { margin: 0 auto; } }
