/* ==========================================================================
   Plant Man — Visual Design System v2
   ==========================================================================
   Editorial, horticultural, photography-led. Palette derived from foliage,
   stone, and earth rather than "landscaping green." Deep hunter green is
   used strategically (navigation, footer, select sections) against a warm
   ivory reading surface — not as the whole site's background. Gold is a
   restrained accent: hairlines, numerals, small details only.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Fraunces:ital,opsz,wght@1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Reading surface — warm ivory, never stark white */
  --cream:        #F3ECDA;
  --cream-deep:   #EAE0C6;
  --stone:        #D9CCAC;
  --stone-line:   #CFC09B;

  /* Text */
  --charcoal:      #2A2519;
  --charcoal-soft: #55503F;
  --ink-muted:     #85795E;

  /* Deep hunter green — navigation, footer, select sections */
  --forest:      #1D2E20;
  --forest-deep: #142118;
  --forest-line: rgba(243, 236, 218, 0.16);
  --moss:        #5C6B49;
  --moss-deep:   #47543A;

  /* Restrained antique gold — hairlines, numerals, small accents only */
  --gold:      #A9843F;
  --gold-soft: rgba(169, 132, 63, 0.4);

  --radius: 2px;
  --max: 78rem;
  --gutter: 1.5rem;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}
h1 { font-weight: 600; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 200;
}

/* --------------------------------------------------------------------
   Small type utilities
   -------------------------------------------------------------------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss-deep);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gold-soft);
}
.eyebrow--on-dark { color: var(--cream); opacity: 0.8; border-bottom-color: var(--gold-soft); }

.section-intro { max-width: 40rem; margin: 0 0 2.75rem; }
.section-intro p { color: var(--charcoal-soft); font-size: 1.05rem; }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--charcoal);
}

/* --------------------------------------------------------------------
   Layout shell
   -------------------------------------------------------------------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
main { display: block; }

section { padding: 5.5rem 0; }
section + section { border-top: 1px solid var(--stone); }
@media (max-width: 40rem) {
  section { padding: 3.25rem 0; }
}

.section--dark {
  background: var(--forest);
  color: var(--cream);
  border-top: none !important;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark p { color: rgba(243, 236, 218, 0.85); }
.section--cream-deep { background: var(--cream-deep); }

/* Full-bleed texture strip used sparingly as a rhythm break between sections */
.photo-band { padding: 0 !important; border-top: none !important; }
.photo-band .img-ph { border-radius: 0; border-left: none; border-right: none; }

/* --------------------------------------------------------------------
   Header — deep forest, one of the strategic "major visual moments"
   -------------------------------------------------------------------- */

.site-header {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--forest-line);
}
.site-header__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-header__brand { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.site-header__mark {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
}
.site-header__logo-img { display: block; height: 52px; width: auto; }
.site-header__sub {
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
}
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.85rem; margin: 0; padding: 0; }
.site-nav a {
  color: rgba(243, 236, 218, 0.78);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--cream); }
.site-nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--gold); }
.site-header__end { display: flex; align-items: center; gap: 1.5rem; }
.site-header__phone {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--gold-soft);
}
.site-header__phone:hover { border-bottom-color: var(--gold); }

/* Facebook / Instagram — small, understated, never a primary nav item */
.social-icons { display: flex; align-items: center; gap: 0.6rem; }
.social-icons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-height: 0;
  border-radius: 50%;
  color: rgba(243, 236, 218, 0.55);
  transition: color 0.2s ease, background 0.2s ease;
}
.social-icons--header .social-icons__link:hover { color: var(--cream); background: rgba(243, 236, 218, 0.1); }
.social-icons--footer .social-icons__link { color: rgba(243, 236, 218, 0.55); }
.social-icons--footer .social-icons__link:hover { color: var(--gold); }
.social-icons--inline { margin-top: 0.35rem; }
.social-icons--inline .social-icons__link { color: var(--charcoal-soft); }
.social-icons--inline .social-icons__link:hover { color: var(--gold); }

/* --------------------------------------------------------------------
   Mobile navigation toggle — hidden on desktop. Under the 40rem
   breakpoint this becomes a hamburger button that reveals the primary
   nav as a collapsed, full-width vertical panel. Desktop layout above
   is untouched; every rule that changes it lives inside the media
   query at the bottom of this block.
   -------------------------------------------------------------------- */

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.site-header__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.site-header__toggle-icon {
  position: relative;
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: background 0.2s ease;
}
.site-header__toggle-icon::before,
.site-header__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.site-header__toggle-icon::before { top: -7px; }
.site-header__toggle-icon::after { top: 7px; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon { background: transparent; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon::before { top: 0; transform: rotate(45deg); }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon::after { top: 0; transform: rotate(-45deg); }

.site-nav__social { display: none; }

@media (max-width: 40rem) {
  .site-header__bar { padding: 0.65rem var(--gutter); gap: 0.75rem; }
  .site-header__mark { padding: 0.35rem 0.6rem; }
  .site-header__logo-img { height: 40px; }
  .site-header__sub { display: none; }
  .site-header__end { order: 2; gap: 0.85rem; }
  .site-header__end > .social-icons { display: none; }
  .site-header__phone { font-size: 0.85rem; }
  .site-header__toggle { display: inline-flex; }

  .site-nav {
    display: none;
    order: 3;
    flex: 1 0 100%;
    width: 100%;
  }
  .site-header.is-nav-open .site-nav { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0 0;
    margin-top: 0.4rem;
    border-top: 1px solid var(--forest-line);
  }
  .site-nav li { border-bottom: 1px solid var(--forest-line); }
  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.9rem 0.15rem;
    font-size: 0.95rem;
    border-bottom: none;
  }
  .site-nav a[aria-current="page"] {
    border-bottom: none;
    border-left: 3px solid var(--gold);
    padding-left: 0.6rem;
    background: rgba(243, 236, 218, 0.05);
  }
  .site-nav__social {
    display: flex;
    padding: 0.9rem 0.15rem;
  }
}

/* --------------------------------------------------------------------
   Hero — slow cinematic crossfade, minimal type
   -------------------------------------------------------------------- */

.hero {
  padding: 0 !important;
  border-top: none !important;
  position: relative;
  background: var(--forest-deep);
  color: var(--cream);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 28s infinite;
}
.hero__slide .img-ph { height: 100%; border-radius: 0; border: none; }
.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 7s; }
.hero__slide:nth-child(3) { animation-delay: 14s; }
.hero__slide:nth-child(4) { animation-delay: 21s; }
@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; opacity: 0; }
  .hero__slide:first-child { opacity: 1; }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,15,0.18) 0%, rgba(20,23,15,0.5) 60%, rgba(16,20,13,0.88) 100%);
}
.hero__content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--gutter) 3.5rem;
  min-height: 29rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.75rem);
  max-width: 36rem;
  margin-bottom: 0.65rem;
}
.hero__content .lede {
  color: rgba(243, 236, 218, 0.9);
  max-width: 30rem;
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin-top: 1.5rem;
  margin-bottom: 0;
}
@media (max-width: 40rem) {
  .hero__content { min-height: 24rem; padding: 5.5rem 1.25rem 2.25rem; }
}

/* --------------------------------------------------------------------
   Image placeholders — swap for real photography
   -------------------------------------------------------------------- */

.img-ph {
  width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(42,37,25,0.05) 0 12px, transparent 12px 24px),
    var(--cream-deep);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.img-ph__label {
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  max-width: 18rem;
  font-family: var(--font-body);
}
img.img-ph {
  object-fit: cover;
  padding: 0;
  display: block;
}
.img-ph--wide { aspect-ratio: 21 / 9; }
.img-ph--landscape { aspect-ratio: 4 / 3; }
.img-ph--portrait { aspect-ratio: 3 / 4; }
.img-ph--square { aspect-ratio: 1 / 1; }
.img-ph--banner { aspect-ratio: 16 / 6; }
.img-ph--tall { aspect-ratio: 3 / 5; height: 100%; }
.img-ph--strip { aspect-ratio: 6 / 1; }
@media (max-width: 40rem) {
  .img-ph--strip { aspect-ratio: 3 / 2; }
}

/* --------------------------------------------------------------------
   Editorial feature grid (Featured Work) — asymmetric, not repeated cards
   -------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "large large"
    "medium1 medium2";
  gap: 2rem;
}
.feature-grid__large { grid-area: large; }
.feature-grid__medium1 { grid-area: medium1; }
.feature-grid__medium2 { grid-area: medium2; }
@media (max-width: 56rem) {
  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "large" "medium1" "medium2";
  }
}

.feature-card__title { font-size: 1.35rem; margin: 1rem 0 0.35rem; }
.feature-card--medium .feature-card__title { font-size: 1.1rem; }
.feature-card__desc { color: var(--charcoal-soft); font-size: 0.98rem; }
.feature-card { text-decoration: none; color: inherit; display: block; }

/* --------------------------------------------------------------------
   Editorial craft grid ("Six Ways We Build One Thing")
   Large photography is the point — three across on desktop, never a
   row of tiny thumbnails. Two across on tablet, one on mobile, with
   the image staying full-width at every size.
   -------------------------------------------------------------------- */

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.25rem 2.5rem;
}
.craft-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.craft-card__media { margin-bottom: 1.5rem; }
.craft-card__media .img-ph { border-radius: var(--radius); }
.craft-card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  margin-right: 0.65rem;
}
.craft-card__title { font-size: 1.45rem; margin: 0 0 0.6rem; }
.craft-card__desc { color: var(--charcoal-soft); font-size: 1.02rem; line-height: 1.62; margin: 0; }
@media (max-width: 64rem) {
  .craft-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
}
@media (max-width: 40rem) {
  .craft-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .craft-card__title { font-size: 1.3rem; }
  .craft-card__desc { font-size: 1rem; }
}

/* --------------------------------------------------------------------
   More From Our Work — editorial masonry gallery. Images keep their
   natural proportions (no forced aspect-ratio crop) so wide, tall, and
   detail shots sit together the way a design-portfolio spread would,
   rather than a uniform thumbnail grid.
   -------------------------------------------------------------------- */

.gallery-mosaic {
  column-count: 3;
  column-gap: 2rem;
}
.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 2rem;
  text-decoration: none;
  color: inherit;
}
.gallery-item img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--stone);
}
.gallery-item__caption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
}
@media (max-width: 56rem) {
  .gallery-mosaic { column-count: 2; }
}
@media (max-width: 34rem) {
  .gallery-mosaic { column-count: 1; }
}

/* --------------------------------------------------------------------
   Page hero — static full-bleed banner for interior pages (case studies,
   About). Same visual family as the homepage .hero, but a single fixed
   image instead of a crossfading carousel.
   -------------------------------------------------------------------- */

.page-hero {
  padding: 0 !important;
  border-top: none !important;
  position: relative;
  background: var(--forest-deep);
  color: var(--cream);
  overflow: hidden;
}
.page-hero .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; border: none; aspect-ratio: auto; }
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,15,0.12) 0%, rgba(20,23,15,0.42) 55%, rgba(16,20,13,0.86) 100%);
}
.page-hero__content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem var(--gutter) 3rem;
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero__content h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 40rem;
  margin-bottom: 0.5rem;
}
.page-hero__content p {
  color: rgba(243, 236, 218, 0.92);
  max-width: 32rem;
  font-size: 1.05rem;
  margin-bottom: 0;
}
@media (max-width: 40rem) {
  .page-hero__content { min-height: 16rem; padding: 3.5rem 1.25rem 2rem; }
}

/* --------------------------------------------------------------------
   Prose — a comfortable reading column for long-form text pages
   (About, Process intro). Content and wording are unchanged; this only
   constrains line length and adds a little rhythm between paragraphs.
   -------------------------------------------------------------------- */

.prose { max-width: 44rem; margin-left: auto; margin-right: auto; }
.prose p { font-size: 1.05rem; line-height: 1.75; }
.prose .pull-quote { margin: 1.75rem 0; }
@media (min-width: 60rem) {
  /* On About specifically, give the reading column a touch more room
     to breathe against the wide portrait/biography composition above
     it, without stretching lines past a comfortable reading length. */
  .profile-block + .prose { max-width: 46rem; }
}

/* --------------------------------------------------------------------
   Full-width media block — a single large photograph dropped into an
   otherwise text-driven page (service pages), in the same editorial
   rhythm as the homepage rather than a small inline thumbnail.
   -------------------------------------------------------------------- */

.media-full { margin: 2.5rem 0; }
.media-full .img-ph { border-radius: var(--radius); }
.media-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.5rem 0; }
.media-two .img-ph { border-radius: var(--radius); }
@media (max-width: 40rem) {
  .media-two { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* --------------------------------------------------------------------
   Case-study facts ("At a Glance") — reuses .tile visually but as a
   tight row of short facts rather than a card grid of long descriptions.
   -------------------------------------------------------------------- */

.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.25rem; margin: 2rem 0 2.5rem; }
.facts-grid .tile { padding: 1.1rem 1.4rem; }
.facts-grid .tile__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}
.facts-grid .tile__value { font-family: var(--font-display); font-size: 1.05rem; color: var(--charcoal); }

/* --------------------------------------------------------------------
   Profile block (Elton / About teaser)
   -------------------------------------------------------------------- */

.profile-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 48rem) {
  .profile-block { grid-template-columns: 1fr; gap: 2rem; }
}
.profile-block__portrait .img-ph { border-radius: var(--radius); }
.profile-block__name { font-size: 1.5rem; margin-bottom: 0.25rem; }
.profile-block__role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  display: block;
}

/* --------------------------------------------------------------------
   Stat / trust row
   -------------------------------------------------------------------- */

.stat-row { display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; }
.stat { min-width: 9rem; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}
.stat__label { font-size: 0.85rem; color: var(--charcoal-soft); max-width: 14rem; }

/* --------------------------------------------------------------------
   Scale comparison (dark forest section)
   -------------------------------------------------------------------- */

.scale-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
@media (max-width: 40rem) { .scale-compare { grid-template-columns: 1fr; } }
.scale-compare__item h3 { color: var(--cream); font-size: 1.2rem; margin: 1rem 0 0.35rem; }
.scale-compare__figure { font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: 1.1rem; }

/* --------------------------------------------------------------------
   Process steps — clean, orderly, NOT italic/decorative
   -------------------------------------------------------------------- */

.process-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.5rem;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--charcoal);
}

/* --------------------------------------------------------------------
   Cards (used elsewhere on the site; kept for pages not yet redesigned)
   -------------------------------------------------------------------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 56rem) { .card-grid--3, .card-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36rem) { .card-grid--3, .card-grid--6 { grid-template-columns: 1fr; } }
.card { display: block; text-decoration: none; color: inherit; transition: transform 0.25s ease; }
.card:hover { transform: translateY(-3px); }
.card__media { margin-bottom: 1.1rem; }
.card__title { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card__desc { color: var(--charcoal-soft); font-size: 0.95rem; line-height: 1.55; }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }
.tile { border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.5rem; }
.tile h3 { margin-top: 0; font-size: 1.1rem; }
.tile a { text-decoration: none; color: var(--charcoal); border-bottom: 1px solid var(--stone); }
.tile a:hover { border-bottom-color: var(--gold); }

/* --------------------------------------------------------------------
   Social nudge (Our Work page) — restrained, not a "follow us" banner
   -------------------------------------------------------------------- */

.social-nudge { padding: 2.5rem 0; }
.social-nudge p { color: var(--ink-muted); font-size: 0.95rem; }
.social-nudge a { color: var(--charcoal-soft); text-decoration: underline; text-decoration-color: var(--stone); text-underline-offset: 3px; }
.social-nudge a:hover { color: var(--gold); text-decoration-color: var(--gold); }

/* --------------------------------------------------------------------
   CTA block — understated outline button, never a filled "Book Now"
   -------------------------------------------------------------------- */

.cta-block { text-align: left; padding: 3.5rem 0; }
.cta-block__button {
  display: inline-block;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cta-block__button:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.hero__content .cta-block__button { border-color: var(--cream); color: var(--cream); }
.hero__content .cta-block__button:hover { background: var(--cream); color: var(--forest-deep); }
.section--dark .cta-block__button { border-color: var(--gold); color: var(--cream); }
.section--dark .cta-block__button:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); }
.cta-block__note { color: var(--ink-muted); margin-top: 0.85rem; font-size: 0.9rem; }
.cta-block__phone { margin-top: 0.65rem; font-size: 0.95rem; }
.cta-block__phone a { color: var(--charcoal-soft); text-decoration: underline; text-decoration-color: var(--stone); text-underline-offset: 3px; }

/* --------------------------------------------------------------------
   Footer — deep forest
   -------------------------------------------------------------------- */

.site-footer { background: var(--forest-deep); color: rgba(243, 236, 218, 0.72); }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem var(--gutter) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.9rem;
}
.site-footer__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--cream); margin-bottom: 0.5rem; }
.site-footer__mark {
  display: inline-flex;
  background: var(--cream);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  margin: 0 0 0.6rem;
}
.site-footer__logo-img { display: block; height: 30px; width: auto; }
.site-footer__col { min-width: 12rem; }
.site-footer a { color: rgba(243, 236, 218, 0.72); }
.site-footer a:hover { color: var(--gold); }
.site-footer__phone a { color: var(--cream); font-family: var(--font-display); font-size: 1.1rem; text-decoration: none; }
.site-footer__bottom {
  border-top: 1px solid var(--forest-line);
  padding: 1.25rem var(--gutter);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(243, 236, 218, 0.45);
}

/* --------------------------------------------------------------------
   Contact page phone treatment
   -------------------------------------------------------------------- */

.contact-phone__number { font-family: var(--font-display); font-weight: 600; font-size: 2rem; }
.contact-phone__number a {
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gold-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-phone__number a:hover,
.contact-phone__number a:active { color: var(--forest); border-color: var(--gold); }
.contact-phone__number a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Generic focus-visible ring for any text link on a light background —
   covers Contact, About, Process, service and case-study pages. */
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-header a:focus-visible,
.site-footer a:focus-visible,
.hero__content a:focus-visible,
.section--dark a:focus-visible { outline-color: var(--gold); outline-offset: 3px; }

/* --------------------------------------------------------------------
   Tap targets
   -------------------------------------------------------------------- */

a, button { min-height: 2.25rem; }

/* --------------------------------------------------------------------
   Content wrap for interior text pages (About, Contact, Process, Areas
   We Serve, Awards, service pages, Pavers/Flagstone). Home, Our Work,
   the Services index and the three case studies already build their
   own full-bleed sections and don't use this.
   -------------------------------------------------------------------- */

.content-wrap { max-width: var(--max); margin: 0 auto; padding: 3.5rem var(--gutter) 0; }
.content-wrap > h1:first-child,
.content-wrap > .page-hero + h1 { margin-top: 0; }
@media (max-width: 40rem) {
  .content-wrap { padding-top: 2.5rem; }
}

/* Pages with a .page-hero keep it full-bleed and outside the wrap; the
   content that follows still needs the same treatment but without the
   extra top padding (the hero already provides visual separation). */
.page-hero + .content-wrap { padding-top: 3rem; }

/* --------------------------------------------------------------------
   Gallery sub-groups — labeled clusters within a larger mosaic, so a
   big gallery reads as organized categories rather than one undiffer-
   entiated wall of images.
   -------------------------------------------------------------------- */

.gallery-group { margin-bottom: 3rem; }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--stone);
}

/* --------------------------------------------------------------------
   Clickable gallery images — a plain visual affordance (cursor +
   subtle hover) that a photo opens larger; the lightbox script adds
   the actual behavior and ARIA wiring.
   -------------------------------------------------------------------- */

img.is-lightbox-trigger {
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}
img.is-lightbox-trigger:hover,
img.is-lightbox-trigger:focus-visible { opacity: 0.88; }
img.is-lightbox-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------
   Lightbox — full-viewport image viewer for gallery photography.
   Built by js/lightbox.js; markup only exists in the DOM once opened.
   -------------------------------------------------------------------- */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 18, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4.5rem;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  margin-top: 1rem;
  color: rgba(243, 236, 218, 0.85);
  font-size: 0.9rem;
  text-align: center;
  max-width: 40rem;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  min-height: 2.75rem;
  min-width: 2.75rem;
}
.lightbox-close {
  top: 1rem;
  right: 1.25rem;
  font-size: 2.25rem;
}
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-close:hover,
.lightbox-nav:hover { color: var(--gold); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 1px;
}
@media (max-width: 40rem) {
  .lightbox-overlay { padding: 4rem 1rem 2rem; }
  .lightbox-nav { font-size: 2.25rem; }
  .lightbox-img { max-height: 65vh; }
}

/* --------------------------------------------------------------------
   Contact page — visual separation between the prospective-client
   contact block and the existing-client review invitation.
   -------------------------------------------------------------------- */

.contact-existing-clients {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stone);
}
