/* ===== Jepson Landscaping — base stylesheet ===== */

/* ===== Fonts (self-hosted, Latin subset) ===== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green-dark: #1c3a24;
  --green: #2f6b3c;
  --green-mid: #3f7d4c;
  --green-light: #eef5ee;
  --accent: #c2185b;
  --accent-dark: #9c1249;
  --charcoal: #23261f;
  --gray-700: #4b4f47;
  --gray-400: #8a8f85;
  --gray-100: #f6f7f4;
  --white: #ffffff;
  --border: #e3e6de;
  --shadow: 0 10px 30px rgba(28, 58, 36, 0.12);
  --radius: 10px;
  --max-width: 1160px;
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--gray-700); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--tight { padding: 56px 0; }

.section--alt { background: var(--green-light); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.3);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--green-dark); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}
.btn--outline-dark:hover { background: var(--green); color: var(--white); }

/* ---------- Header ---------- */

.utility-bar {
  background: var(--green-dark);
}
.utility-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 34px;
}
.utility-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.utility-bar a svg { width: 13px; height: 13px; }
.utility-bar a:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 44px; width: auto; }

.brand-fallback {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}
.brand-fallback span { color: var(--accent); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a.is-active-parent {
  color: var(--green);
  border-color: var(--accent);
}

.main-nav li { position: relative; }
.main-nav > ul > li > a,
.header-actions .btn,
.header-phone { white-space: nowrap; }

.nav-caret {
  font-size: 0.6rem;
  margin-left: 4px;
  position: relative;
  top: -1px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.86rem;
  border-bottom: none;
}
.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  background: var(--green-light);
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 30, 18, 0.78) 0%, rgba(15, 30, 18, 0.5) 55%, rgba(15, 30, 18, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content h1 { color: var(--white); }

.hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  padding: 64px 0 52px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

.page-hero--photo {
  background-size: cover;
  background-position: center;
}
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 30, 18, 0.82), rgba(15, 30, 18, 0.6));
}
.page-hero--photo .container { position: relative; z-index: 2; }

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--green);
}
.card-icon svg { width: 26px; height: 26px; }

.card a.card-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

/* ---------- Feature / split rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse .split-media { order: 2; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-row .stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
}
.stat-row .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stats-band {
  background: var(--green-dark);
  padding: 56px 0;
}

/* ---------- Testimonials ---------- */

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card .quote { font-style: italic; }
.testimonial-card .author {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.9rem;
}

.placeholder-note {
  border: 1px dashed var(--gray-400);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--gray-400);
  background: var(--gray-100);
  margin-top: 16px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }

/* ---------- Featured projects / before-after ---------- */

.featured-project {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}
.featured-project:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.featured-project-head {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.ba-pair {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ba-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ba-img:hover img { transform: scale(1.06); }
.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(20, 30, 20, 0.72);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: 999px;
}
.ba-tag--after { background: var(--accent); }

.slideshow {
  max-width: 900px;
  margin: 40px auto 0;
}
.slideshow-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.slideshow-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #16221a;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow);
}
.slideshow-viewport:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.slideshow-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}
.slide {
  flex: 0 0 100%;
  margin: 0;
  height: 100%;
  cursor: zoom-in;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.split-media .slideshow { max-width: none; margin: 0; }
.split-media .slideshow-viewport { aspect-ratio: 4 / 3; }
.split-media .slide img { object-fit: cover; }
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.slideshow-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.slideshow-prev { left: 14px; }
.slideshow-next { right: 14px; }
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.slideshow-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.slideshow-dots button[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .slideshow-track { transition: none; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 17, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ---------- Services detail ---------- */

.service-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block ul {
  margin: 0;
  padding-left: 20px;
  color: var(--gray-700);
}
.service-block li { margin-bottom: 6px; }

/* ---------- Team ---------- */

.team-card {
  text-align: center;
  max-width: 300px;
}
.team-card img {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin: 0 auto 16px;
  box-shadow: var(--shadow);
}
.team-card .avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.team-card .creds {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--gray-700);
}
.team-card .creds a,
.featured-project-head p a,
.split p a { text-decoration: underline; text-underline-offset: 3px; }
.team-card .creds a:hover { color: var(--green); }
.team-card .bio {
  margin: 14px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}
.team-card .role { color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 18px;
}
.contact-info-card h2, .contact-info-card h3 { margin-bottom: 6px; font-size: 1rem; }
.contact-info-card .icon { color: var(--accent); font-weight: 700; margin-right: 6px; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--green-dark);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-status {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-status.success { color: var(--green); }
.form-status.error { color: var(--accent-dark); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h3, .footer-grid h4 { color: var(--white); font-size: 0.95rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); }
.footer-brand .footer-affiliation {
  display: inline-block;
  margin-top: 22px;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}
.footer-brand .footer-affiliation:hover { opacity: 1; }
.footer-brand .footer-affiliation img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 0;
  filter: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .main-nav ul { gap: 22px; }
  .header-actions { gap: 14px; }
  .header-actions .btn--primary { padding: 12px 22px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .header-actions .btn--primary { display: none; }
  .nav-toggle { display: block; }

  .site-header.is-open .main-nav {
    display: block;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
  }
  .site-header.is-open .main-nav ul { flex-direction: column; gap: 4px; }
  .site-header.is-open .main-nav a { display: block; padding: 12px 0; }
  .site-header.is-open .header-phone {
    display: block;
    margin-top: 8px;
    padding: 12px 24px 4px;
  }
  .site-header.is-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin: 0 0 4px 14px;
    padding: 0;
  }
  .site-header.is-open .dropdown-menu a { padding: 10px 0; font-weight: 500; }
}

@media (max-width: 700px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .ba-pair { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { min-height: 88vh; text-align: left; }
}

/* ---------- Text pages (privacy, thank-you, 404) ---------- */

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 2em 0 0.5em; }
.prose ul { padding-left: 20px; color: var(--gray-700); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--gray-400); font-size: 0.9rem; }
.center-block { text-align: center; max-width: 640px; margin: 0 auto; }
.button-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Accessibility + performance additions ---------- */

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 1000;
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.card h2 { font-size: 1.3rem; }

/* Home hero: smaller photo on smaller screens */
.hero-bg { background-image: url('/assets/images/hero-800.jpg'); }
@media (min-width: 801px) { .hero-bg { background-image: url('/assets/images/hero-1200.jpg'); } }
@media (min-width: 1300px) { .hero-bg { background-image: url('/assets/images/hero-driveway.jpg'); } }
