/* Chicory School — rebuilt theme
   Palette and type recovered from the original GoDaddy Website Builder theme:
   primary #456951, accent #111111, Bitter (headings) + Poppins (body). */

@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/bitter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600.woff2') format('woff2');
}

:root {
  --green: #456951;
  --green-deep: #2f4a38;
  --ink: #17211b;
  --muted: #5d665f;
  --cream: #f7f2e9;
  --paper: #fbf8f2;
  --clay: #b45a3c;
  --line: rgba(23, 33, 27, 0.14);
  --serif: 'Bitter', 'Iowan Old Style', Georgia, serif;
  --sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }

p { margin: 0 0 1.15em; max-width: 62ch; }
p.lead { font-size: 1.24rem; line-height: 1.62; color: #24312a; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--paper { background: var(--paper); }
.section--green { background: var(--green); color: var(--paper); }
.section--green h2, .section--green h3 { color: #fff; }
.section--green a { color: #fff; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section--green .eyebrow { color: #d8e3d5; }
.section--green .btn { color: #fff; }
.section--green .list-clean li::before { background: #cfe0cb; }
.section--green .list-clean li { border-color: rgba(255, 255, 255, 0.22); }
.section--green .btn--light,
.section--green .btn--light:hover { color: var(--green-deep); }

/* ---------- header ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 178px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  font-size: 0.9rem;
  font-weight: 400;
}
.nav a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--green); color: var(--green-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  border-radius: 3px;
  padding: 0.78rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--green-deep); border-color: var(--paper); }
.btn--light:hover { background: #fff; color: var(--green-deep); }

.nav-toggle { display: none; }

/* ---------- hero ---------- */

.hero { position: relative; background: #1a241d; color: #fff; overflow: hidden; }
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 19, 0.25) 0%, rgba(16, 26, 19, 0.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 14vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero .eyebrow { color: #e4dccd; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: rgba(255, 255, 255, 0.9); font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-facts div { background: rgba(16, 26, 19, 0.55); padding: 1.2rem 1.4rem; }
.hero-facts dt { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #cfd9cc; margin-bottom: 0.35rem; }
.hero-facts dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; color: #fff; }

/* ---------- layout blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--rev > figure { order: 2; }

figure { margin: 0; }
.media { border-radius: 4px; overflow: hidden; background: #e6e0d4; }
.media img { width: 100%; }
.caption { font-size: 0.78rem; color: var(--muted); margin: 0.7rem 0 0; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pillar {
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}
.pillar .num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--clay);
  display: block;
  margin-bottom: 0.55rem;
}
.pillar p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0; }

.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.25;
  max-width: 24ch;
  margin: 0;
}
.quote em { font-style: normal; color: #cfe0cb; }

.stat-row { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; }
.stat { min-width: 8rem; }
.stat b { font-family: var(--serif); font-size: 2.4rem; display: block; line-height: 1; color: #fff; }
.stat span { font-size: 0.82rem; color: #d8e3d5; }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0 0.95rem 1.7rem;
  position: relative;
}
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--clay);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin-bottom: 0; font-size: 0.96rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1rem; }
.faq p { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.96rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-block dl { margin: 0 0 1.6rem; }
.contact-block dt { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.contact-block dd { margin: 0 0 1.1rem; font-size: 1.05rem; }

/* ---------- footer ---------- */

.site-footer { background: #14201a; color: #c9d2c8; padding: 3.2rem 0 2rem; font-size: 0.9rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-brand img { width: 200px; background: var(--cream); padding: 0.8rem; border-radius: 3px; }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-footer a { color: #e7ede5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; color: #94a294; font-size: 0.8rem; }

/* ---------- page hero ---------- */

.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 54ch; }

.note {
  border-left: 3px solid var(--clay);
  background: rgba(180, 90, 60, 0.07);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: #4a3b34;
}
.note p { margin: 0; }

@media (max-width: 880px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.2rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0.55rem 0.75rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    cursor: pointer;
  }
  .header-inner { position: relative; }
  .split, .contact-grid, .card-grid { grid-template-columns: 1fr; }
  .split--rev > figure { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
