/* ==========================================================================
   Our Harford Road — plain CSS, mobile-first.
   Display font (curly sign-painter style) is used ONLY for big headlines and
   section titles. Everything else is a plain, highly readable sans-serif.
   ========================================================================== */

:root {
  --cream: #FBF5E6;
  --cream-deep: #F1E6C9;
  --paper: #FFFDF7;
  --ink: #1E2722;
  --muted: #46524B;
  --green: #1F4D3A;        /* the one deep accent color */
  --green-dark: #12301F;
  --line: #D6C7A0;
  --field-border: #5F6E65;
  --error: #8A1E1E;
  --radius: 14px;
  --display: "Berkshire Swash", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.2rem;      /* about 19px */
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: rgba(31, 77, 58, .18); }
[hidden] { display: none !important; }
main:focus { outline: none; }

/* ---------- Focus (always clearly visible) ---------- */
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.banner :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }
.hero-pause:focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute !important; 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: .5rem; top: -4rem; z-index: 2000;
  background: var(--green-dark); color: var(--cream); padding: .8rem 1.2rem;
  border-radius: 0 0 10px 10px; font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ---------- Type ---------- */
h1, h2 {
  font-family: var(--display); font-weight: 400; font-synthesis: none;
  color: var(--green); line-height: 1.15; margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
h3 { font-family: var(--sans); font-size: 1.35rem; line-height: 1.3; margin: 0 0 .4em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
.lead { font-size: 1.35rem; line-height: 1.55; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.prose { max-width: 46rem; }
.section { padding-block: 2rem; }
.page-title { padding-block: 2.5rem 1rem; }
.page-title::after {
  content: ""; display: block; width: 6rem; height: 10px; margin-top: 1.25rem;
  border-top: 3px solid var(--green); border-bottom: 1px solid var(--green);
}
.page-title p:last-child { margin-bottom: 0; }
.stack > * + * { margin-top: 1.25rem; }

/* ---------- Banner (fixed to the top, not a pop-up) ---------- */
#site-banner { position: sticky; top: 0; z-index: 1000; }
.banner {
  background: var(--green-dark); color: var(--cream);
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 1rem; font-size: 1.125rem; line-height: 1.35;
}
.banner-text { margin: 0; flex: 1; }
.banner a { color: var(--cream); font-weight: 700; }
.banner-close {
  min-width: 48px; min-height: 48px; padding: .4rem .9rem;
  border: 2px solid var(--cream); background: transparent; color: var(--cream);
  font: inherit; font-weight: 700; border-radius: 10px; cursor: pointer; white-space: nowrap;
}
.banner-close:hover { background: var(--cream); color: var(--green-dark); }

/* ---------- Header + navigation ---------- */
.site-header { background: var(--paper); border-bottom: 6px double var(--green); }
.header-inner {
  width: min(100% - 2rem, 70rem); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem; padding-block: .5rem;
}
.brand {
  font-family: var(--display); font-size: 1.8rem; line-height: 1.1;
  color: var(--green); text-decoration: none; padding: .4rem 0;
}
.nav-toggle {
  min-height: 52px; padding: .5rem 1.2rem; border: 2px solid var(--green);
  background: var(--cream); color: var(--green); font: inherit; font-weight: 700;
  border-radius: 12px; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--green); color: var(--cream); }
.site-nav { flex-basis: 100%; display: none; }
.site-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0 0 .75rem; }
.nav-item { border-top: 1px solid var(--line); padding-block: .3rem; }
.nav-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; min-height: 56px; padding: .6rem .9rem;
  font: inherit; font-weight: 700; color: var(--green); background: transparent;
  border: 0; border-radius: 10px; text-align: left; text-decoration: none; cursor: pointer;
}
.nav-btn:hover { background: var(--cream-deep); }
.nav-btn .chev { width: 1rem; height: 1rem; flex: none; transition: transform .2s; }
.nav-btn[aria-expanded="true"] { background: var(--green); color: var(--cream); }  /* open = clearly highlighted */
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-btn.has-current:not([aria-expanded="true"]),
a.nav-btn[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--green); }
.dropdown {
  list-style: none; margin: .3rem 0 .5rem; padding: .3rem;
  background: var(--paper); border: 3px solid var(--green); border-radius: 12px;
}
.dropdown a {
  display: block; min-height: 52px; padding: .8rem .9rem; color: var(--ink);
  font-weight: 600; text-decoration: none; border-radius: 8px;
}
.dropdown a:hover { background: var(--cream-deep); }
.dropdown a[aria-current="page"] { background: var(--cream-deep); box-shadow: inset 5px 0 0 var(--green); }

@media (min-width: 66rem) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex-basis: auto; }
  .nav-list { display: flex; align-items: center; gap: .25rem; padding: 0; }
  .nav-item { border-top: 0; padding-block: 0; position: relative; }
  .nav-btn { width: auto; padding: .6rem .9rem; }
  .dropdown {
    position: absolute; top: calc(100% + .4rem); left: 0; min-width: 18rem; margin: 0;
    box-shadow: 0 14px 30px rgba(18, 48, 31, .25); z-index: 50;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; padding: .75rem 1.6rem;
  border: 3px solid var(--green); border-radius: 12px;
  background: var(--green); color: var(--cream);
  font: inherit; font-size: 1.15rem; font-weight: 700; line-height: 1.25;
  text-align: center; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--cream); }
.btn-secondary { background: var(--paper); color: var(--green); }
.btn-secondary:hover { background: var(--cream-deep); color: var(--green-dark); border-color: var(--green-dark); }
.btn-big { min-height: 76px; font-size: 1.4rem; width: 100%; }
.btn-placeholder {
  background: var(--cream-deep); color: var(--green-dark);
  border: 3px dashed var(--green); cursor: default;
}
.btn-placeholder:hover { background: var(--cream-deep); color: var(--green-dark); border-color: var(--green); }
.btn-row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 44rem) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn-big { flex: 1 1 14rem; width: auto; }
}

/* ---------- Hero slideshow ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(22rem, 62vh, 34rem);
  display: grid; place-items: center; text-align: center;
  background: var(--green-dark); color: #fff;
}
.hero-slides, .hero-tint { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 2.5s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-tint { background: rgba(10, 24, 16, .58); z-index: 1; }   /* dark tint behind the text */
.hero-content { position: relative; z-index: 2; padding: 3rem 1rem 5.5rem; }
.hero h1 {
  color: #fff; margin: 0 0 .25em; font-size: clamp(2.8rem, 10vw, 5.2rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.hero-tagline { font-size: 1.4rem; margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hero-pause {
  position: absolute; z-index: 3; right: 1rem; bottom: 1rem;
  min-height: 52px; padding: .5rem 1.2rem;
  background: var(--cream); color: var(--green-dark);
  border: 3px solid var(--green-dark); border-radius: 12px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.hero-pause:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

.welcome { text-align: center; max-width: 46rem; margin-inline: auto; }
.welcome .btn-row { justify-content: center; margin-top: 2rem; text-align: center; }

/* ---------- Cards, callouts, badges ---------- */
.card {
  background: var(--paper); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.card-list { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.callout {
  background: var(--paper); border-left: 8px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.5rem; margin-block: 1.5rem;
}
.callout > :last-child { margin-bottom: 0; }
.badge {
  display: inline-block; padding: .1rem .7rem; border: 2px dashed var(--green);
  border-radius: 999px; font-size: 1rem; font-weight: 700;
  color: var(--green-dark); background: var(--cream-deep);
}
mark.ph {            /* every placeholder you still need to fill in */
  background: var(--cream-deep); color: var(--green-dark); font-weight: 600;
  padding: .05em .3em; border-radius: 4px; border-bottom: 2px dashed var(--green);
}
.facts { display: grid; gap: 1rem; margin: 0; }
.facts dt { font-weight: 800; color: var(--green); }
.facts dd { margin: 0; }

/* ---------- Events ---------- */
.events-wrap { max-width: 52rem; }
.event-card { display: grid; gap: .45rem; justify-items: start; }
.event-card:focus { outline: 3px solid var(--green); outline-offset: 3px; }
.event-date { display: block; font-size: clamp(1.8rem, 5.5vw, 2.3rem); font-weight: 800; color: var(--green); line-height: 1.15; }
.event-title { margin: 0; font-size: 1.4rem; }
.event-meta { margin: 0; }
.event-card .btn { margin-top: .6rem; }
#see-more { margin-top: 1.5rem; }

/* ---------- Voices ---------- */
.voice { display: grid; gap: .6rem; justify-items: start; }
.voice blockquote { margin: 0; font-size: 1.25rem; }
.voice cite { font-style: normal; font-weight: 700; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.5rem; max-width: 40rem; }
label, .label { display: block; font-weight: 700; margin-bottom: .35rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
input[type="text"], input[type="email"], textarea {
  width: 100%; min-height: 56px; padding: .7rem .9rem;
  font: inherit; font-size: 1.1rem; color: var(--ink); background: #fff;
  border: 2px solid var(--field-border); border-radius: 10px;
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); border-width: 3px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; margin-bottom: .6rem; }
.error { color: var(--error); font-weight: 700; }
.status { margin: 0; font-weight: 700; min-height: 1.6em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices { display: grid; gap: .75rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-label {
  display: block; padding: 1rem 1.1rem; margin: 0;
  border: 3px solid var(--green); border-radius: 12px;
  background: var(--paper); color: var(--green); font-weight: 700; line-height: 1.35;
}
.choice-label small { display: block; margin-top: .2rem; font-weight: 400; font-size: 1.05rem; color: var(--muted); }
.choice input:checked + .choice-label { background: var(--green); color: var(--cream); }
.choice input:checked + .choice-label small { color: var(--cream); }
.choice input:checked + .choice-label::before { content: "\2713\00a0"; }
.choice input:focus-visible + .choice-label { outline: 3px solid var(--green); outline-offset: 3px; }

.preview { min-height: 14rem; background: var(--paper); }
.copy-row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 44rem) { .copy-row { flex-direction: row; align-items: stretch; } .copy-row .btn { flex: 1 1 0; } }

/* ---------- Tips ---------- */
.tips { counter-reset: tip; display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.tips li {
  counter-increment: tip; position: relative; padding: 1.25rem 1.25rem 1.25rem 5rem;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
}
.tips li::before {
  content: counter(tip); position: absolute; left: 1.1rem; top: 1.2rem;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--cream); font-weight: 800; font-size: 1.3rem;
}
.tips h3 { margin-bottom: .2rem; }
.tips p { margin: 0; }

/* ---------- Photos ---------- */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { padding: .9rem 1.1rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 3.5rem; background: var(--green-dark); color: var(--cream); padding: 2.5rem 0; border-top: 6px double var(--cream); }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-note { grid-column: 1 / -1; } }
.footer-title { color: var(--cream); font-size: 1.8rem; margin-bottom: .4em; }
.site-footer .btn { background: var(--cream); color: var(--green-dark); border-color: var(--cream); }
.site-footer .btn:hover { background: #fff; border-color: #fff; color: var(--green-dark); }
.site-footer .btn-placeholder { background: transparent; color: var(--cream); border: 3px dashed var(--cream); }
.footer-note { margin: 0; font-size: 1.05rem; opacity: .9; }
