/* Dunmore East Woods & Park Trust — style.css */
:root {
  --green-dark: #2e5230;
  --green: #427542;
  --green-soft: #5a8a58;
  --sage: #b0c1b0;
  --sage-light: #e6ece4;
  --gold: #b1ae2b;
  --gold-dark: #8a8820;
  --cream: #f7f8f4;
  --ink: #24312a;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(36, 49, 42, 0.10);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", Times, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--green-dark); line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); margin: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green-dark); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }
.muted { color: #5b6a60; }
.placeholder { color: #6b7a70; font-style: italic; background: var(--sage-light); border-left: 4px solid var(--sage); padding: .5rem .85rem; border-radius: 0 6px 6px 0; }

/* Header */
.site-header { background: var(--white); border-bottom: 4px solid var(--green); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--green-dark); }
.brand-sub { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { display: block; padding: .5rem .7rem; text-decoration: none; color: var(--green-dark); font-weight: 600; font-size: .95rem; border-radius: 6px; }
.site-nav a:hover { background: var(--sage-light); }
.site-nav a[aria-current="page"] { background: var(--green); color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid var(--green); border-radius: 6px; padding: .55rem .6rem; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; content: ""; width: 22px; height: 3px; background: var(--green-dark); border-radius: 2px; position: relative; transition: transform .2s;
}
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }

/* Hero */
.hero { position: relative; min-height: 62vh; display: flex; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: relative; width: 100%; display: flex; align-items: center; background: linear-gradient(rgba(30, 48, 32, .55), rgba(30, 48, 32, .65)); padding: 5rem 0; }
.hero h1 { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-lede { color: #eef3ea; font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 38rem; margin: 1rem 0 1.75rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 700; border: 2px solid transparent; transition: background .2s, color .2s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-dark); }
.btn-cta { background: var(--gold); color: var(--ink); font-size: 1.05rem; letter-spacing: .04em; box-shadow: var(--shadow); border: 0; cursor: pointer; }
.btn-cta:hover { background: var(--gold-dark); color: #fff; }
.cta-band { text-align: center; background: var(--sage-light); border: 2px dashed var(--sage); border-radius: var(--radius); padding: 2rem 1rem; margin-top: 2.25rem; }

/* Sections */
.section { padding: 3rem 0; }
.section-tint { background: var(--sage-light); }
.page-header { background: var(--green-dark); padding: 2.75rem 0; }
.page-header h1 { color: #fff; }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.img-stack { display: grid; gap: 1.25rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { height: 200px; width: 100%; object-fit: cover; }
.card-body { padding: 1.1rem 1.25rem 1.35rem; }
.card h3 { margin: 0 0 .4rem; }
.card h3 a { text-decoration: none; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature-list li { background: var(--white); border-radius: var(--radius); padding: 1.15rem 1.35rem; box-shadow: var(--shadow); }
.feature-list h3 { margin: 0 0 .35rem; }
.feature-figure { margin: 0 0 2rem; }
.feature-figure img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; }
.feature-figure figcaption { text-align: center; font-size: .9rem; color: #5b6a60; margin-top: .6rem; font-style: italic; }
.tick-list { list-style: none; padding: 0; }
.tick-list li { padding: .35rem 0 .35rem 2rem; position: relative; }
.tick-list li::before { content: "\2713"; position: absolute; left: .4rem; color: var(--green); font-weight: 700; }
.friends-list { list-style: none; padding: 0; }
.friends-list li { background: var(--white); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); padding: .8rem 1.25rem; margin-bottom: .75rem; font-weight: 600; }

/* Forms */
.friend-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; margin: 1.5rem 0; }
.form-row { margin-bottom: 1.15rem; border: 0; padding: 0; }
.form-row label, .form-row legend { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--green-dark); }
.form-row input, .form-row textarea { width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--sage); border-radius: 6px; font: inherit; background: var(--cream); }
.form-row input:focus, .form-row textarea:focus { border-color: var(--green); }
.radio { font-weight: 400 !important; display: flex !important; align-items: center; gap: .5rem; margin-bottom: .3rem; }
.radio input { width: auto; }

/* Contact */
.contact-block { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }

/* Legal */
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--green-dark); color: #dfe8dc; margin-top: 3rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-top: 2.75rem; padding-bottom: 1.5rem; }
.footer-heading { font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin: 0 0 .75rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.1rem; padding-bottom: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.credit a { color: var(--sage); }

/* Responsive */
@media (max-width: 900px) {
  .split, .two-col, .card-grid, .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; padding: .5rem 0 1rem; }
  .site-nav a { padding: .8rem 1rem; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
