/* ArbourPros Trees — site styles */
:root {
  --ink: #1e1c19;
  --ink-soft: #4a4640;
  --muted: #6f6a62;
  --paper: #fbf8f2;
  --wood: #efe5d3;
  --wood-deep: #d9c6a3;
  --forest: #2f5a3a;
  --forest-dark: #22432b;
  --line: #e2d8c6;
  --radius: 6px;
  --max: 1120px;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.075rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--forest-dark); }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--forest);
  margin-bottom: 0.6em;
  display: block;
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name {
  font-family: var(--head); font-size: 1.45rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
}
.brand-name small {
  display: block; font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.2em; color: var(--muted); margin-top: 4px;
}
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.95rem; color: var(--ink); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--forest); }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--paper);
    transform: translateX(100%); transition: transform 0.25s ease;
    visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 22px; padding-top: 48px; }
  .nav a { font-size: 1.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(82vh, 760px);
  display: grid; place-items: center; text-align: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,24,18,0.35), rgba(20,24,18,0.6));
}
.hero .wrap { padding: 80px 0; }
.hero p { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 640px; margin: 0 auto 1.6em; }
.hero.short { min-height: 52vh; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--head); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.95rem; text-decoration: none;
  padding: 14px 30px; border-radius: var(--radius);
  background: var(--forest); color: #fff; border: 2px solid var(--forest);
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section.wood { background: var(--wood); }
.section.dark { background: var(--ink); color: #f3eee5; }
.section.dark .eyebrow { color: var(--wood-deep); }
.lede { font-size: 1.25rem; color: var(--ink-soft); }
.page-title { padding: 56px 0 8px; text-align: center; }
.page-title h1 { color: var(--ink); }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--ink-soft); }
.card-body .more { margin-top: auto; }
.more {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.9rem; text-decoration: none;
}
.more::after { content: " →"; }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid; gap: clamp(28px, 5vw, 64px); align-items: center;
  grid-template-columns: 1fr 1fr;
}
.split img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split.flip > :first-child { order: 2; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Services list ---------- */
.service { padding: 28px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { margin-bottom: 0.3em; }
.service p { margin: 0; color: var(--ink-soft); }

/* ---------- Resource cards ---------- */
.resource {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
}
.resource .tag {
  align-self: flex-start; font-size: 0.75rem; font-family: var(--head);
  text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--wood); color: var(--forest-dark);
  padding: 3px 10px; border-radius: 99px; margin-bottom: 14px;
}
.resource.featured { border-color: var(--forest); box-shadow: inset 4px 0 0 var(--forest); }
.resource .tag.feat { background: var(--forest); color: #fff; }
.resource h3 a { color: var(--ink); text-decoration: none; }
.resource h3 a:hover { color: var(--forest); }
.resource p { color: var(--ink-soft); }
.resource .more { margin-top: auto; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--forest)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.notice {
  background: #fff; border-left: 4px solid var(--forest);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
}
.notice strong { font-family: var(--head); font-weight: 500; letter-spacing: 0.03em; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
  position: relative;
}
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 0.35s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  color: #fff; text-align: left; font-size: 0.95rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
}
dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh;
}
dialog.lightbox::backdrop { background: rgba(10, 10, 8, 0.88); }
dialog.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
dialog.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
dialog.lightbox .close {
  position: fixed; top: 16px; right: 16px; background: #fff; border: 0; border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; line-height: 1;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr 1.2fr; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.5em; }
.contact-lines li { margin-bottom: 14px; }
.contact-lines span { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--muted); }
.contact-lines a { font-size: 1.25rem; text-decoration: none; }
form label { display: block; font-weight: 600; margin-bottom: 6px; }
form .field { margin-bottom: 18px; }
form input, form textarea, form select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--wood-deep);
  border-radius: var(--radius); background: #fff; color: var(--ink);
}
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
form textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.form-note { font-size: 0.92rem; color: var(--muted); margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta p { color: #d9d2c4; max-width: 560px; margin: 0 auto 1.6em; }

/* ---------- Footer ---------- */
.site-footer { background: #15130f; color: #cfc7b8; padding: 64px 0 28px; font-size: 1rem; }
.site-footer a { color: #f3eee5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.site-footer h4 {
  font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.85rem; color: var(--wood-deep); margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; border: 1px solid #3a352d;
  border-radius: var(--radius); padding: 12px 16px; margin-top: 6px;
}
.badge svg { width: 36px; height: 36px; color: var(--wood-deep); flex: none; }
.badge span { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3; font-size: 0.9rem; }
.badge small { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; color: #a59d8e; }
.footer-bottom {
  border-top: 1px solid #2c2822; margin-top: 48px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.9rem; color: #8d8577;
}
