/* ==========================================================================
   TexVen Roofing — styles.css
   Brand-grounded, editorial roofing aesthetic.
   Palette + Montserrat carried from the original brand manual.
   ========================================================================== */

:root {
  /* Brand palette */
  --green: #658a2f;
  --green-bright: #7ba73c;
  --green-deep: #4d6b1f;
  --green-darker: #3a5418;
  --black: #181919;
  --ink: #0f1010; /* deepest section background */
  --grey: #a1a1a0;
  --grey-soft: #c9c9c7;
  --cream: #f4efe9;
  --cream-dim: #e7e0d6;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--cream);
  --text: var(--black);
  --muted: #5d5f5b;

  /* Type */
  --font: "Montserrat", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1240px;
  --radius: 1.15rem;

  /* Effects */
  --shadow-sm: 0 4px 14px rgba(24, 25, 25, 0.08);
  --shadow-md: 0 18px 40px -12px rgba(24, 25, 25, 0.22);
  --shadow-lg: 0 40px 80px -24px rgba(24, 25, 25, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Type helpers ---------- */
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.display {
  font-style: italic;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--green);
  display: inline-block;
}
.on-dark .eyebrow {
  color: var(--green-bright);
}
.on-dark .eyebrow::before {
  background: var(--green-bright);
}

.section-title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-style: italic;
  margin: 1rem 0 1.1rem;
  max-width: 18ch;
  font-weight: normal;
}
.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--muted);
  max-width: 56ch;
  font-weight: 400;
}
.on-dark .section-lede {
  color: var(--grey-soft);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section {
  padding-block: var(--section-pad);
  position: relative;
}
.on-dark {
  background: var(--ink);
  color: var(--cream);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bg);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.25s ease,
    color 0.25s ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(77, 107, 31, 0.6);
}
.btn:active {
  transform: translateY(-1px);
}
.btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.btn--solid-cream {
  --bg: var(--cream);
  --fg: var(--black);
  border-color: var(--cream);
}
.btn--solid-cream:hover {
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.45);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--cream);
  border-color: rgba(244, 239, 233, 0.4);
}
.btn--ghost:hover {
  background: rgba(244, 239, 233, 0.08);
  box-shadow: none;
}

.btn--ghost-dark {
  --bg: transparent;
  --fg: var(--black);
  border-color: rgba(24, 25, 25, 0.25);
}
.btn--ghost-dark:hover {
  background: rgba(24, 25, 25, 0.05);
  box-shadow: none;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    box-shadow 0.35s ease,
    padding 0.35s ease;
  padding-block: 1.25rem;
}
/* Frosted background lives on a pseudo-element — NOT the header itself.
   backdrop-filter on the header would make it the containing block for the
   fixed mobile drawer (.nav-links), collapsing the menu once scrolled. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 16, 16, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.site-header.scrolled::before {
  opacity: 1;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 rgba(244, 239, 233, 0.08);
  padding-block: 0.7rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
}
.brand-logo {
  height: clamp(4.6rem, 7vw, 6.4rem);
  width: auto;
  display: block;
  flex: none;
}
/* Slight shrink once the header condenses on scroll, still larger than before */
.site-header.scrolled .brand-logo {
  height: clamp(3.8rem, 5.8vw, 5.2rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}
.nav-links a {
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding-block: 0.4rem;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}
.nav-links .btn {
  padding: 0.7rem 1.3rem;
}

/* Active page in the nav (multi-page) */
.nav-links a[aria-current="page"]:not(.btn) {
  color: var(--green-bright);
}
.nav-links a[aria-current="page"]:not(.btn)::after {
  transform: scaleX(1);
}

/* ---- Sub-pages (no hero): solid header from the top + clear the fixed header ---- */
body.subpage .site-header::before {
  opacity: 1;
}
body.subpage .site-header {
  box-shadow: 0 1px 0 rgba(244, 239, 233, 0.08);
}
.subpage-top {
  padding-top: calc(var(--section-pad) + 4rem);
}

/* ---- White intro band: first section of each page (after the hero on Home) ---- */
.page-intro {
  background: var(--white);
}
.page-intro .section-lede {
  color: var(--muted);
}

/* ---- Scroll cue: signals there is more content below an intro section ---- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(24, 25, 25, 0.15);
  border-radius: 50%;
  color: var(--green-deep);
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}
.scroll-cue:hover {
  opacity: 1;
  border-color: var(--green-deep);
}
.scroll-cue svg {
  width: 1.1rem;
  height: 1.1rem;
  animation: scroll-cue-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg {
    animation: none;
  }
}
@media (max-width: 640px) {
  .scroll-cue {
    display: none;
  }
}
/* When a section's heading band is lifted out, its body becomes the first child */
.services__grid:first-child,
.contact__grid:first-child,
.about > .wrap > .mv:first-child {
  margin-top: 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.8rem;
  height: 2.8rem;
  background: transparent;
  border: 1px solid rgba(244, 239, 233, 0.3);
  border-radius: 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: var(--cream);
  margin-inline: auto;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem;
    background: var(--ink);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1.05rem;
  }
  .nav-links .btn {
    margin-top: 0.5rem;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  /* color grade + readability — green-forward, brighter */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      102deg,
      rgba(15, 16, 16, 0.86) 0%,
      rgba(45, 63, 19, 0.74) 38%,
      rgba(77, 107, 31, 0.6) 64%,
      rgba(123, 167, 60, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(15, 16, 16, 0.42), rgba(15, 16, 16, 0.02));
}
.hero::after {
  /* diagonal brand texture */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(244, 239, 233, 0.05) 0 2px,
    transparent 2px 16px
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__inner {
  max-width: 50rem;
}
.hero__inner .eyebrow {
  font-size: clamp(1.1rem, 2.3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--green-bright);
}
.hero__inner .eyebrow::before {
  width: 2.2rem;
  background: var(--green-bright);
}
.hero h1 {
  font-style: italic;
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin: 1.1rem 0 0;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .accent {
  color: var(--green-bright);
}
.hero__script {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  letter-spacing: 0.01em;
  color: var(--cream);
  margin-top: 0.4rem;
}
.hero__script .u {
  position: relative;
}
.hero__script .u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 3px;
  background: var(--green-bright);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 0.9s 1.1s var(--ease) forwards;
}
.hero__lede {
  margin-top: 1.6rem;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  max-width: 42ch;
  color: rgba(244, 239, 233, 0.9);
  font-weight: 400;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 239, 233, 0.18);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__trust svg {
  width: 1rem;
  height: 1rem;
  color: var(--green-bright);
  flex: none;
}

/* Floating stat card */
.hero__stat {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: clamp(2rem, 6vw, 4.5rem);
  background: rgba(15, 16, 16, 0.55);
  border: 1px solid rgba(244, 239, 233, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  z-index: 1;
  animation: bob 5s ease-in-out infinite;
}
.hero__stat b {
  display: block;
  font-style: italic;
  font-size: 2.1rem;
  color: var(--green-bright);
  line-height: 1;
}
.hero__stat span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
@media (max-width: 980px) {
  .hero__stat {
    display: none;
  }
}

/* Ghost chevrons */
.ghost {
  position: absolute;
  z-index: -1;
  opacity: 0.07;
  color: var(--cream);
  pointer-events: none;
}
.ghost--1 {
  top: 14%;
  right: -4%;
  width: 26rem;
  transform: rotate(-6deg);
}

/* Brand house-mark used as a faint watermark ghost.
   Uses the real logo mark (not the chevron SVG): green mark on light
   sections, cream mark on dark ones. Kept very low-opacity so it reads as
   texture behind the content, never competing with it. */
.ghost--mark {
  opacity: 0.06;
  height: auto;
}
.on-dark .ghost--mark {
  opacity: 0.05;
}
.ghost--mark-services {
  top: 8%;
  right: -7%;
  width: clamp(15rem, 26vw, 30rem);
}
.ghost--mark-about {
  top: 4%;
  right: -7%;
  width: clamp(16rem, 30vw, 34rem);
}
.ghost--mark-intro {
  bottom: -10%;
  right: -6%;
  width: clamp(13rem, 22vw, 26rem);
}
.ghost--mark-about2 {
  bottom: 15%;
  left: 15%;
  width: clamp(13rem, 22vw, 26rem);
}

/* Sections hosting a ghost need their own stacking context + clipping so the
   watermark sits above the background, behind the content, and never bleeds. */
.services,
.about,
.page-intro {
  overflow: hidden;
  isolation: isolate;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  background: var(--cream);
}
.about__intro {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 820px) {
  .about__intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.about__intro p {
  margin-bottom: 1.1rem;
  color: var(--muted);
}
.about__intro p.lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
}
.about__intro p strong {
  color: var(--green-deep);
  font-weight: 700;
}
.about__intro .section-title {
  max-width: none;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.34;
  margin: 1.1rem 0 0;
}
.section-title span {
  font-weight: bold;
}
/* MV cards */
.mv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 720px) {
  .mv {
    grid-template-columns: 1fr;
  }
}
.mv__card {
  background: var(--white);
  border: 1px solid rgba(24, 25, 25, 0.07);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.mv__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
}
.mv__card h3 {
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--green-deep);
}
.mv__card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Promise band */
.promise {
  margin-top: 1.4rem;
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  position: relative;
  overflow: hidden;
}
.promise::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(244, 239, 233, 0.05) 0 2px,
    transparent 2px 16px
  );
  pointer-events: none;
}
.promise .promise__mark {
  width: 4.5rem;
  height: auto;
  flex: none;
}
.promise p {
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
}

/* Values */
.values {
  margin-top: clamp(3rem, 6vw, 5rem);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 460px) {
  .values__grid {
    grid-template-columns: 1fr;
  }
}
.value {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(24, 25, 25, 0.07);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.value:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.value h4 {
  font-style: italic;
  font-size: 1.08rem;
  color: var(--green-deep);
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid rgba(101, 138, 47, 0.2);
}
.value ul {
  font-size: 0.85rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}
.value li {
  padding-left: 1rem;
  position: relative;
}
.value li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  background: var(--ink);
  color: var(--cream);
}
.services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 880px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

.service {
  background: rgba(244, 239, 233, 0.035);
  border: 1px solid rgba(244, 239, 233, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  transition:
    transform 0.35s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  background: rgba(244, 239, 233, 0.06);
  border-color: rgba(123, 167, 60, 0.4);
}
.service:hover::before {
  transform: scaleX(1);
}
.service__icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: rgba(123, 167, 60, 0.15);
  color: var(--green-bright);
  margin-bottom: 1.2rem;
}
.service__icon svg {
  width: 3rem;
  height: 3rem;
}
.service h3 {
  font-style: italic;
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}
.service p {
  color: var(--grey-soft);
  font-size: 0.92rem;
}

/* Featured value-adds */
.featured {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 880px) {
  .featured {
    grid-template-columns: 1fr;
  }
}
.featured__card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--green-deep), var(--green-darker));
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid rgba(123, 167, 60, 0.35);
}
.featured__card svg {
  width: 3rem;
  height: 3rem;
  flex: none;
  color: var(--cream);
}
.featured__card h4 {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.featured__card p {
  font-size: 0.86rem;
  color: rgba(244, 239, 233, 0.85);
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews {
  background: var(--cream);
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 880px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}
.review {
  background: var(--white);
  border: 1px solid rgba(24, 25, 25, 0.07);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.review__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--green);
}
.review__stars svg {
  width: 1.1rem;
  height: 1.1rem;
}
.review__quote {
  font-size: 1.02rem;
  color: var(--black);
  font-weight: 500;
  font-style: italic;
  flex: 1;
}
.review__who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.review__avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-style: italic;
  font-size: 1rem;
  flex: none;
}
.review__who b {
  display: block;
  font-size: 0.92rem;
}
.review__who span {
  font-size: 0.78rem;
  color: var(--muted);
}
.reviews__note {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   Our Work / Gallery
   ========================================================================== */
.work {
  background: var(--cream);
}
.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 820px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .work__grid {
    grid-template-columns: 1fr;
  }
}

.work__tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  background: var(--black);
  isolation: isolate;
}
.work__tile--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
@media (max-width: 540px) {
  .work__tile--wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}
.work__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work__tile::after {
  /* readability scrim, intensifies on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 16, 16, 0.78) 0%,
    rgba(15, 16, 16, 0.18) 42%,
    transparent 70%
  );
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}
.work__tile:hover img,
.work__tile:focus-visible img {
  transform: scale(1.07);
}
.work__tile:hover::after,
.work__tile:focus-visible::after {
  opacity: 0.9;
}

.work__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  color: var(--cream);
  transform: translateY(0.4rem);
  opacity: 0;
  transition:
    transform 0.45s var(--ease),
    opacity 0.45s var(--ease);
}
.work__tile:hover .work__overlay,
.work__tile:focus-visible .work__overlay {
  transform: translateY(0);
  opacity: 1;
}
.work__overlay svg {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--green-bright);
  flex: none;
}
.work__overlay b {
  display: block;
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.1;
}
.work__overlay i {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.work__cta {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Certifications
   ========================================================================== */
.certs {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.certs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.ghost--certs {
  top: 8%;
  left: -5%;
  width: 24rem;
  transform: rotate(8deg);
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 720px) {
  .certs__grid {
    grid-template-columns: 1fr;
  }
}

.cert {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2rem);
  background: rgba(244, 239, 233, 0.04);
  border: 1px solid rgba(244, 239, 233, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition:
    transform 0.35s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease;
}
.cert:hover {
  transform: translateY(-5px);
  background: rgba(244, 239, 233, 0.06);
  border-color: rgba(123, 167, 60, 0.4);
}
@media (max-width: 460px) {
  .cert {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
.cert__badge {
  flex: none;
  width: clamp(7rem, 16vw, 9rem);
  display: grid;
  place-items: center;
}
.cert__badge img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}
.cert--wide {
  grid-column: 1 / -1;
}
.cert--wide .cert__badge {
  width: clamp(10rem, 24vw, 14rem);
}
.cert__badge--plate {
  background: var(--cream);
  border-radius: calc(var(--radius) * 0.5);
  padding: 1.1rem 1.2rem;
}
.cert__badge--plate img {
  filter: none;
}
.cert__body h3 {
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  margin-bottom: 0.5rem;
}
.cert__body p {
  color: var(--grey-soft);
  font-size: 0.92rem;
}

.certs__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 239, 233, 0.14);
}
.certs__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.certs__points svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--green-bright);
  flex: none;
}

/* ==========================================================================
   Lightbox (gallery)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 11, 11, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}
.lightbox.open .lightbox__img {
  transform: scale(1);
}
.lightbox__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(0.6rem, 3vw, 1.6rem);
  text-align: center;
  color: var(--cream);
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.lightbox__btn {
  position: absolute;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: rgba(244, 239, 233, 0.1);
  border: 1px solid rgba(244, 239, 233, 0.25);
  border-radius: 999px;
  color: var(--cream);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.lightbox__btn:hover {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.06);
}
.lightbox__btn svg {
  width: 1.4rem;
  height: 1.4rem;
}
.lightbox__close {
  top: clamp(0.8rem, 3vw, 1.6rem);
  right: clamp(0.8rem, 3vw, 1.6rem);
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.06);
}
.lightbox__prev {
  left: clamp(0.6rem, 2.5vw, 1.6rem);
}
.lightbox__next {
  right: clamp(0.6rem, 2.5vw, 1.6rem);
}
@media (max-width: 560px) {
  .lightbox__nav {
    display: none;
  }
}
body.lightbox-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__img {
    transition: none;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */
/* Green-forward, brighter contact band (was solid ink) */
.contact {
  background:
    radial-gradient(
      120% 120% at 85% 0%,
      rgba(123, 167, 60, 0.35) 0%,
      transparent 55%
    ),
    linear-gradient(
      155deg,
      var(--green) 0%,
      var(--green-deep) 52%,
      var(--green-darker) 100%
    );
  color: var(--cream);
}
/* Eyebrow + lede read on green rather than the dark defaults */
.contact .eyebrow {
  color: var(--cream);
}
.contact .eyebrow::before {
  background: var(--cream);
}
.contact .section-lede {
  color: rgba(244, 239, 233, 0.92);
}

/* Contact detail chips: cream tint so they show on the green field */
.contact .contact__item .ci {
  background: rgba(255, 255, 255, 0.16);
  color: var(--cream);
}
.contact .contact__item span {
  color: rgba(244, 239, 233, 0.72);
}
.contact .contact__socials a {
  border-color: rgba(255, 255, 255, 0.4);
}
.contact .contact__socials a:hover {
  background: var(--cream);
  color: var(--green-deep);
  border-color: var(--cream);
}

/* Light form panel — clearer, lifts off the green */
.contact .form {
  background: var(--cream);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
}
.contact .form label {
  color: var(--green-deep);
}
.contact .form input,
.contact .form select,
.contact .form textarea {
  background: var(--white);
  border-color: rgba(58, 84, 24, 0.28);
  color: var(--black);
}
.contact .form input::placeholder,
.contact .form textarea::placeholder {
  color: rgba(24, 25, 25, 0.4);
}
.contact .form input:focus,
.contact .form select:focus,
.contact .form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(101, 138, 47, 0.22);
}
.contact .form .btn {
  --bg: var(--green-deep);
  --fg: var(--cream);
}
.contact .form__status.ok {
  color: var(--green-deep);
}
.contact .form__status.err {
  color: #b4531f;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.contact__details {
  display: grid;
  gap: 1.1rem;
}
.contact__item {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.contact__item .ci {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.8rem;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(123, 167, 60, 0.15);
  color: var(--green-bright);
}
.contact__item .ci svg {
  width: 1.4rem;
  height: 1.4rem;
}
.contact__item span {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
}
.contact__item a,
.contact__item p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.contact__socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.6rem;
}
.contact__socials a {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 239, 233, 0.2);
  color: var(--cream);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}
.contact__socials a:hover {
  background: var(--green);
  transform: translateY(-3px);
  border-color: var(--green);
}
.contact__socials svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Form */
.form {
  background: rgba(244, 239, 233, 0.04);
  border: 1px solid rgba(244, 239, 233, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(15, 16, 16, 0.5);
  border: 1px solid rgba(244, 239, 233, 0.18);
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(201, 201, 199, 0.5);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(123, 167, 60, 0.25);
}
.form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form__status.ok {
  color: var(--green-bright);
}
.form__status.err {
  color: #e8a87c;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0a0b0b;
  color: var(--grey-soft);
  padding-block: clamp(3rem, 5vw, 4rem);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}
.footer__brand .brand {
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer__brand .brand-logo {
  height: 5rem;
}
.footer__brand p {
  font-size: 0.9rem;
  max-width: 34ch;
}
.footer__tag {
  font-style: italic;
  color: var(--green-bright);
  font-weight: 600;
  margin-top: 0.8rem;
}
.footer h5 {
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__col ul {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.footer__col a:hover {
  color: var(--green-bright);
}
.footer__verse {
  padding-left: 2rem;
  border-left: 1px solid rgba(244, 239, 233, 0.1);
}
@media (max-width: 900px) {
  .footer__verse {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: none;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(244, 239, 233, 0.1);
  }
}
.footer__verse p {
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.6;
}
.footer__verse cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 239, 233, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer__bottom .es {
  color: var(--green-bright);
  font-weight: 600;
}
.footer__credit {
  color: var(--grey-soft);
}
.footer__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s ease;
}
.footer__credit a:hover {
  color: var(--green-bright);
}

/* ==========================================================================
   Scroll reveal (graceful: only hides when JS enables it)
   ========================================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}
html.js .reveal.d1 {
  transition-delay: 0.08s;
}
html.js .reveal.d2 {
  transition-delay: 0.16s;
}
html.js .reveal.d3 {
  transition-delay: 0.24s;
}
html.js .reveal.d4 {
  transition-delay: 0.32s;
}

/* ---------- Keyframes ---------- */
@keyframes underline {
  to {
    transform: scaleX(1);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__script .u::after {
    transform: scaleX(1);
  }
}
