/* Wonderboom Foundation website
   VOICE: warm, considered, honest. Established rather than flashy.
   IDEA: the Wonderboom fig: one tree whose branches take root and become new trees.
   PICTURE: the official logo artwork (Drive brand pack), large on forest, emblem watermark.
   COLOUR and TYPE: Brand Guidelines v1.0. Off white leads, forest anchors, gold accents only.
                    Cormorant Garamond for headings, Lato for body.
   LAYOUT: forest hero band, calm off-white sections, sage panels, parchment callout, forest footer. */

:root {
  --forest: #34543A;
  --gold: #BD8933;
  --offwhite: #FDFDFD;
  --deep: #1F3223;
  --stone: #5F6E63;
  --sage: #E8EDE9;
  --parchment: #F6EFE2;
  --gold-tint: #E6CC9A;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", Arial, Helvetica, sans-serif;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--offwhite); color: var(--deep); font: 400 17px/1.65 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(5vw, 20px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--offwhite); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--forest); line-height: 1.1; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: .9rem; }
.hero .wrap > div > h2::after { margin-inline: auto; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.label { font: 700 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem; }
.intro { font-weight: 300; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; }
.muted { color: var(--stone); }
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 1.25rem 0; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: var(--offwhite); border-bottom: 1px solid var(--sage); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: block; width: 236px; flex: none; }
.brand img { width: 100%; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.nav a { font: 700 .95rem/1 var(--sans); color: var(--deep); text-decoration: none; padding: 12px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--gold); }
@media (max-width: 760px) {
  .site-head { position: static; }
  .site-head .wrap { justify-content: center; }
  .nav { justify-content: center; gap: 0 14px; }
  .nav a { font-size: .9rem; }
}

/* Forest band (hero and footer) */
.band { background: var(--forest); color: var(--offwhite); position: relative; overflow: hidden; }
.band h1, .band h2, .band h3 { color: var(--offwhite); }
.band .label { color: var(--gold-tint); }
.band p { color: var(--offwhite); }
.band a { color: var(--offwhite); }
.watermark { position: absolute; width: min(760px, 95vw); right: -14%; bottom: -22%; opacity: .07; pointer-events: none; }

.hero .wrap { position: relative; padding-block: clamp(48px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-logo { width: clamp(220px, 32vw, 400px); justify-self: center; }
.hero .intro { max-width: 34ch; }
.page-hero .wrap { position: relative; padding-block: clamp(40px, 6vw, 80px); }
.page-hero .intro { max-width: 52ch; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .hero-logo { order: -1; width: min(260px, 70vw); }
  .hero .intro, .hero p { margin-inline: auto; }
  .hero .rule { margin-inline: auto; }
  .hero .actions { justify-content: center; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid var(--forest); background: var(--forest); color: var(--offwhite); transition: background .2s, color .2s; }
.btn:hover { background: var(--deep); border-color: var(--deep); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: var(--offwhite); }
.band .btn { background: var(--offwhite); color: var(--forest); border-color: var(--offwhite); }
.band .btn:hover { background: var(--gold-tint); border-color: var(--gold-tint); }
.band .btn.ghost { background: transparent; color: var(--offwhite); border-color: var(--offwhite); }
.band .btn.ghost:hover { background: var(--offwhite); color: var(--forest); }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section.tint { background: var(--sage); }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.card { background: var(--offwhite); border-top: 2px solid var(--gold); padding: 26px 26px 22px; }
.section:not(.tint) .card { background: var(--sage); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 700 3.2rem/1 var(--serif); color: var(--gold); margin-bottom: .5rem; }
.steps h3 { margin-bottom: .3em; }

.quote { font: italic 400 clamp(1.5rem, 2.6vw, 2rem)/1.3 var(--serif); color: var(--forest); border-left: 3px solid var(--gold); padding-left: 1.25rem; margin: 0; max-width: 30ch; }
.callout { background: var(--parchment); border-left: 4px solid var(--gold); padding: clamp(22px, 3vw, 32px); }
.callout h3 { margin-bottom: .35em; }
.callout p:last-child { margin-bottom: 0; }
.emblem { width: min(380px, 80%); margin-inline: auto; }

.prose h2 { margin-top: 0; }
.prose + .prose { margin-top: clamp(40px, 6vw, 72px); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; max-width: 68ch; }
.ticks li { padding-left: 1.4rem; position: relative; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: 2px; background: var(--gold); }

.email { font: 700 clamp(1.25rem, 2.2vw, 1.6rem)/1.25 var(--serif); overflow-wrap: anywhere; }

/* Footer */
.site-foot .wrap { position: relative; padding-block: clamp(40px, 6vw, 64px) 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.foot-logo { width: 240px; margin-bottom: 1rem; }
.foot-tag { font: italic 400 1.35rem/1.3 var(--serif); max-width: 26ch; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .4rem; }
.site-foot a { text-decoration-color: var(--gold-tint); }
.foot-base { border-top: 1px solid rgba(253,253,253,.22); margin-top: 36px; padding-top: 18px; font-size: .85rem; color: var(--gold-tint); }
.foot-base p { margin: 0; max-width: none; color: var(--gold-tint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Nav give button */
.nav { align-items: center; }
.nav a.nav-btn { min-height: 40px; padding: 10px 20px; color: var(--offwhite); border: 2px solid var(--forest); margin-left: 6px; }
.nav a.nav-btn:hover { color: var(--offwhite); border-bottom-color: var(--deep); }

/* Statement */
.statement .big { font: 700 clamp(1.9rem, 4.2vw, 3rem)/1.15 var(--serif); color: var(--forest); max-width: 24ch; text-wrap: balance; margin-bottom: .6em; }
.statement .intro { max-width: 56ch; }

/* Journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding-top: 64px; }
.journey li::before { content: counter(j); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--offwhite); font: 700 1.4rem/44px var(--serif); text-align: center; }
.journey li::after { content: ""; position: absolute; top: 21px; left: 56px; right: calc(-1 * clamp(20px, 3vw, 36px)); height: 2px; background: var(--gold); }
.journey li:last-child::after { display: none; }
.journey h3 { margin-bottom: .3em; }
@media (max-width: 820px) {
  .journey { grid-template-columns: 1fr; }
  .journey li { padding: 0 0 0 64px; min-height: 44px; }
  .journey li::after { top: 52px; bottom: -14px; left: 21px; right: auto; width: 2px; height: auto; }
}

.steps.compact li::before { font-size: 2.6rem; }
.steps.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card .label { margin-bottom: .5rem; }
.section > .wrap > .actions, .grid + .actions { margin-top: 2rem; }

/* Closing call to action */
.cta-band .wrap { padding-block: clamp(56px, 8vw, 104px); text-align: center; position: relative; }
.cta-band h2::after { margin-inline: auto; }
.cta-band .intro { margin-inline: auto; max-width: 46ch; }
.cta-band .actions { justify-content: center; }
.cta-band + .site-foot .wrap { border-top: 1px solid rgba(253,253,253,.22); }
.callout .ticks { margin-bottom: 0; }
