/* Harley Forestry — site stylesheet
   Colours taken from the logo: navy #14324e on white. */

:root {
  --navy: #14324e;
  --navy-deep: #0d2439;
  --navy-soft: #2b567d;
  --moss: #4f7a4a;
  --moss-dark: #3d6139;
  --cream: #f6f3ec;
  --cream-deep: #ece7db;
  --bark: #6b4f3a;
  --ink: #1e2a35;
  --muted: #5b6874;
  --line: #d9d3c6;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(20, 50, 78, 0.10);
  --max: 1140px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.6rem;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #e6edf4; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: #a9d19f; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.skip {
  position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  transition: background .15s, color .15s, transform .15s;
  line-height: 1.2;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: #d7e2ec;
  font-size: 0.9rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar__area { color: #a9bccd; }

/* Header / nav */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 64px; height: 64px; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.05; }
.brand__name small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 10px 14px; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--cream); }
.nav .btn { margin-left: 10px; padding: 11px 20px; color: #fff; }
.nav .btn:hover { background: var(--navy-deep); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 8px 12px; font-weight: 700; color: var(--navy); cursor: pointer; font-family: inherit; font-size: 1rem;
}

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg .ph { position: absolute; inset: 0; border: 0; border-radius: 0; background: linear-gradient(160deg, #1c3f5f 0%, #14324e 55%, #0d2439 100%); color: rgba(255,255,255,.85); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,36,57,.90) 0%, rgba(13,36,57,.70) 50%, rgba(13,36,57,.30) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; max-width: 1140px; }
.hero__inner { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero p { font-size: 1.25rem; color: #dbe5ee; max-width: 560px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; color: #e6edf4; }
.hero__proof li::before { content: "✓"; color: #a9d19f; font-weight: 700; margin-right: 8px; }

/* Placeholder image blocks */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--cream-deep);
  border: 2px dashed #b9b09d;
  border-radius: var(--radius);
  color: #5b5647;
  padding: 20px;
  min-height: 220px;
  font-size: .95rem;
  line-height: 1.45;
  overflow: hidden;
}
.ph::before { content: "IMAGE"; font-size: .7rem; letter-spacing: .18em; font-weight: 700; color: #8f8770; margin-bottom: 8px; }
.ph strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.ph small { display: block; margin-top: 8px; color: #8f8770; font-size: .8rem; }
.ph--tall { min-height: 420px; }
.ph--square { aspect-ratio: 1 / 1; min-height: 0; }
.ph--wide { aspect-ratio: 16 / 9; min-height: 0; }
.ph--portrait { aspect-ratio: 4 / 5; min-height: 0; }
.hero__bg .ph::before { color: rgba(255,255,255,.6); }
.hero__bg .ph strong { color: #fff; }
.hero__bg .ph small { color: rgba(255,255,255,.6); }
.hero__bg .ph { justify-content: flex-end; align-items: flex-end; text-align: right; padding: 28px; }

/* Grids and cards */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ph { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; min-height: 190px; }
.card__body { padding: 22px 22px 24px; flex: 1; }
.card__body h3 { margin-bottom: .35em; }
.card__body p { color: var(--muted); margin: 0; }
.card__more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy); }
.card__more::after { content: " →"; }

/* Trust strip */
.trust { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; }
.trust__icon { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.trust__item strong { display: block; color: var(--navy); }
.trust__item span { color: var(--muted); font-size: .95rem; }

/* Split section (text + image) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split--flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--moss); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 2.2rem; color: #a9d19f; font-weight: 700; line-height: 1; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.25rem; }
.step p { color: #c9d6e2; margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote__stars { color: #d9a441; letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.quote p { font-size: 1.05rem; }
.quote footer { color: var(--muted); font-weight: 600; font-size: .95rem; }
.quote footer span { font-weight: 400; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .ph { min-height: 0; aspect-ratio: 1 / 1; font-size: .88rem; padding: 14px; }
.gallery .ph:first-child { grid-column: span 2; grid-row: span 2; }

/* Areas */
.areas { columns: 3; column-gap: 32px; padding: 0; margin: 0 0 24px; list-style: none; }
.areas li { padding: 6px 0 6px 22px; position: relative; break-inside: avoid; }
.areas li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--moss); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.1rem; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--moss); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: #3c4954; max-width: 720px; }

/* CTA band */
.cta { background: var(--moss); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #e7f0e4; }
.cta .btn { background: #fff; color: var(--moss-dark); border-color: #fff; }
.cta .btn:hover { background: var(--cream); }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Page banner (inner pages) */
.banner { background: var(--navy); color: #fff; }
.banner .wrap { padding-top: 64px; padding-bottom: 64px; }
.banner h1 { color: #fff; margin-bottom: .3em; }
.banner p { color: #dbe5ee; font-size: 1.2rem; max-width: 640px; margin: 0; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service:nth-of-type(even) > :first-child { order: 2; }
.service:last-of-type { border-bottom: 0; }
.service h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.service ul { padding-left: 20px; color: #3c4954; }
.service ul li { margin-bottom: 6px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.subnav a { text-decoration: none; font-weight: 600; color: var(--navy); background: var(--cream); padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.subnav a:hover { background: var(--cream-deep); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { font-weight: 600; }
.contact-list .trust__icon { flex-basis: 40px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form h2 { font-size: 1.7rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.field small { color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font: inherit; border: 1px solid #b9b9b9; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(79,122,74,.35); border-color: var(--moss); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.map .ph { min-height: 320px; }

/* Footer */
.footer { background: var(--navy-deep); color: #b9c8d6; padding: 56px 0 28px; font-size: .95rem; }
.footer a { color: #e6edf4; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__brand img { width: 120px; margin-bottom: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8ea2b6; }

/* Sticky mobile call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid--3, .grid--4, .steps, .quotes { grid-template-columns: repeat(2, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .split, .service, .contact { grid-template-columns: 1fr; gap: 32px; }
  .split--flip > :first-child, .service:nth-of-type(even) > :first-child { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .areas { columns: 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .topbar__area { display: none; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
  .brand img { width: 52px; height: 52px; }
  .brand__name { font-size: 1.1rem; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .hero__bg .ph { font-size: 0; color: transparent; }
  .hero__bg .ph::before, .hero__bg .ph strong, .hero__bg .ph small { display: none; }
  .grid--2, .grid--3, .grid--4, .steps, .quotes { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .ph:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 9; }
  .areas { columns: 2; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,.15);
  }
  .callbar a { flex: 1; text-align: center; padding: 14px 8px; color: #fff; text-decoration: none; font-weight: 700; }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,.15); background: var(--moss); }
  body { padding-bottom: 54px; }
}

/* Schools version additions */
.pledge { background: #eef3ea; border-top: 1px solid #d5e0cf; border-bottom: 1px solid #d5e0cf; }
.counter { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px 28px; margin-bottom: 20px; text-align: center; }
.counter__num { display: block; font-family: var(--serif); font-size: 4.5rem; font-weight: 700; line-height: 1; color: #a9d19f; }
.counter__label { display: block; font-size: 1.15rem; font-weight: 600; margin-top: 8px; }
.counter small { display: block; color: #a9bccd; margin-top: 8px; font-size: .85rem; }
.note { background: #fff; border-left: 4px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; }
.note h3 { font-size: 1.2rem; margin-bottom: .4em; }
.note p:last-child { margin: 0; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.checks--light li { color: #dbe5ee; }
.checks--light li::before { color: #a9d19f; }
.section--navy h3 { color: #fff; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--navy); color: #fff; font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 700; color: var(--navy); width: 34%; }
@media (max-width: 960px) { .steps--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .steps--3 { grid-template-columns: 1fr; } .table td:first-child { width: 40%; } .counter__num { font-size: 3.5rem; } }

/* Photos */
.photo { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.photo--portrait { aspect-ratio: 4 / 5; object-fit: cover; }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.figure { margin: 0; }
.figure figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.service .photo { max-height: 640px; object-fit: cover; }

/* Photos */
.pic { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--cream-deep); position: relative; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic--card { aspect-ratio: 3 / 2; border-radius: 0; }
.pic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(13,36,57,.85)); color: #fff; font-weight: 600; font-size: .95rem; }
.gallery .pic { aspect-ratio: 1 / 1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (max-width: 720px) { .hero__bg::after { background: rgba(13,36,57,.8); } }

/* Location banner, under the hero */
.area-bar { display: block; background: var(--moss); color: #fff; text-decoration: none; text-align: center; padding: 36px 20px 34px; }
.area-bar:hover { background: var(--moss-dark); }
.area-bar__label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cfe3c8; margin-bottom: 10px; }
.area-bar__text { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.2; color: #fff; }
.area-bar__link { display: inline-block; margin-top: 16px; font-weight: 700; color: #fff; border-bottom: 2px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.area-bar:hover .area-bar__link { border-color: #fff; }
.area-bar__places { display: block; margin-top: 12px; font-size: 1.05rem; color: #e3efdf; }
.narrow { max-width: 760px; }
.area-map { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.hero__img { transform: scaleX(-1); }
.area-home .split { align-items: center; }
.area-home { padding: 44px 0; }
.area-home .split { gap: 40px; }
.area-home h2 { margin-bottom: 10px; }
.area-home p { margin-bottom: 14px; }
.area-home .areas { margin: 0; }
.area-home .areas li { padding: 3px 0 3px 20px; }
.area-home .areas li::before { top: 11px; width: 8px; height: 8px; }
.area-home .area-map { max-width: 330px; margin-left: auto; }
@media (max-width: 720px) { .area-home .area-map { margin: 0 auto; } }
.area-home { background: var(--moss); color: #fff; }
.area-home .eyebrow { color: #cfe3c8; }
.area-home h2 { color: #fff; }
.area-home p, .area-home .areas li { color: #eef5ea; }
.area-home .areas li::before { background: #cfe3c8; }
.area-home .area-map { border-color: rgba(255,255,255,.25); }
