/* It Begins in Brockport — static rebuild
   Hand-written CSS. Brand palette taken from the original WordPress/Astra design tokens. */

:root {
  /* Brand palette */
  --teal: #15777d;        /* Vintage Teal — links, headings */
  --yellow: #f0cb20;      /* Dijon Yellow */
  --green: #83a14f;       /* Asparagus Green — hover */
  --ink: #2f3b40;         /* body text */
  --white: #ffffff;
  --mist: #edfbe2;        /* light background */
  --dark: #363615;
  --mint: #d5ead8;

  --font-body: "DM Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Lexend", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 750px;
  --radius: 14px;
  --space: clamp(1.5rem, 4vw, 3rem);
  --shadow: 0 10px 30px rgba(47, 59, 64, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal);
  margin: 0 0 0.75em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--yellow);
  color: var(--dark);
  padding: 0.5rem 0.75rem;
}

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.narrow {
  max-width: var(--container-narrow);
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.calendar-fallback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.feature-img {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: var(--space) 0;
}

.section--mist {
  background: var(--mist);
}

.section--mint {
  background: var(--mint);
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.5rem;
}

.lede {
  font-size: 1.1rem;
  max-width: 60ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--dark);
}

.btn--yellow:hover {
  background: var(--green);
  color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--mint);
  box-shadow: 0 2px 12px rgba(47, 59, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  max-width: 162px;
}

.nav {
  flex: 1 1 auto;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--yellow);
  color: var(--teal);
}

.nav-toggle {
  display: none;
}

.nav-toggle + label {
  display: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--teal);
}

.header-cta {
  margin-left: auto;
}

/* ---------- Hero ---------- */

.hero {
  padding: var(--space) 0;
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--mint);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h4 {
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

.tool-card img {
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

/* ---------- Image boxes (home tool cards) ---------- */

.image-box {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--mint);
  box-shadow: var(--shadow);
}

.image-box img {
  width: 100%;
  aspect-ratio: 875 / 700;
  object-fit: cover;
}

.image-box .image-box-body {
  padding: 1rem 1.25rem 1.25rem;
}

.image-box h4 {
  margin: 0 0 0.5rem;
}

.image-box p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery figure.wide img {
  aspect-ratio: 3 / 2;
}

/* ---------- Quote ---------- */

.quote {
  background: var(--mist);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
}

.quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.quote figcaption {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--green);
}

.quote img {
  max-width: 260px;
  margin-bottom: 1rem;
}

/* ---------- Two-column blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split figure {
  margin: 0;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Board ---------- */

.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.board figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--mint);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.board img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.board h4 {
  margin: 0 0 0.25rem;
}

.board .role {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.board p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.values li {
  background: var(--white);
  border-top: 4px solid var(--green);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.values h4 {
  margin: 0 0 0.4rem;
}

.values p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Specs ---------- */

.specs {
  display: grid;
  gap: 1rem;
}

.spec {
  background: var(--white);
  border: 1px solid var(--mint);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.spec h4 {
  margin: 0 0 0.75rem;
  color: var(--teal);
}

.spec ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
}

.spec li {
  margin-bottom: 0.35rem;
}

/* ---------- Tool strip ---------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.tool-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--mint);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tool-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- Call to action band ---------- */

.cta-band {
  background: var(--teal);
  color: var(--white);
  padding: var(--space) 0;
  text-align: center;
}

.cta-band h2,
.cta-band h5 {
  color: var(--white);
}

.cta-band .btn {
  background: var(--yellow);
  color: var(--dark);
}

.cta-band .btn:hover {
  background: var(--white);
  color: var(--teal);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--mint);
  padding: var(--space) 0 1.5rem;
  margin-top: var(--space);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h5 {
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.site-footer p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--mint);
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.below-footer {
  border-top: 1px solid rgba(213, 234, 216, 0.25);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--mint);
}

/* ---------- Responsive ---------- */

@media (max-width: 921.99px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: center;
    gap: 1rem;
  }

  .logo img {
    max-width: 132px;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
  }

  .nav-toggle + label,
  .header-cta {
    order: 2;
  }

  .nav ul {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
  }

  .nav-toggle:checked ~ .nav ul {
    display: flex;
  }

  .nav-toggle + label {
    display: inline-block;
    border: 1px solid var(--mint);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    background: var(--mist);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
