/* ==========================================================================
   Outdoorscapes Design Group
   Design system: "Desert Twilight"
   Ground   basalt #151813   (green-neutral black)
   Surface  slate  #1E231C
   Light    travertine #EFE9DF   Muted  caliche #C8BCA8
   Accent   leaf #8FE83A (fills) / leaf-lit #A3FF45 (logo lime, accents +
            hover) / leaf-deep #3F6B1C (accents on the light sections)
   Display  Fraunces  •  Text/UI  Archivo
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --basalt:      #151813;
  --basalt-deep: #0E110C;
  --slate:       #1E231C;
  --slate-2:     #272E23;
  --travertine:  #EFE9DF;
  --caliche:     #C8BCA8;
  --caliche-dim: #8E8778;
  --leaf:        #8FE83A;
  --leaf-lit:    #A3FF45;
  --leaf-deep:   #3F6B1C;

  --line:        rgba(200, 188, 168, 0.16);
  --line-strong: rgba(200, 188, 168, 0.34);

  --ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff-text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow: 0.688rem;
  --fs-sm:  0.813rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.063rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 5vw, 6rem);

  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1280px;


  --r: 3px;
  --r-lg: 4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 320ms;

  --shadow: 0 18px 60px -22px rgba(0, 0, 0, 0.85);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--basalt);
  color: var(--travertine);
  font-family: var(--ff-text);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--leaf-lit);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--leaf); color: var(--basalt-deep); }

/* ---------- 3. Type helpers ---------- */
.display {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 120, "SOFT" 30, "WONK" 1;
  font-weight: 400;
}
.h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; }
.h4 { font-size: var(--fs-h4); }
.italic { font-style: italic; font-variation-settings: "opsz" 120, "SOFT" 60, "WONK" 1; }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--leaf-lit);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--leaf);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--caliche); font-weight: 400; }
.muted { color: var(--caliche-dim); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--light { background: var(--travertine); color: var(--basalt); }
.section--slate { background: var(--slate); }

.section--light .lead { color: #4C534B; }
.section--light .eyebrow { color: var(--leaf-deep); }
.section--light .eyebrow::before { background: var(--leaf-deep); }
.section--light .muted { color: #6F7570; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.section--light .rule { background: rgba(21, 24, 19, 0.14); }

.grid { display: grid; gap: var(--s-6); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--s-5) var(--s-8);
  align-items: end;
  margin-bottom: var(--s-8);
}
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: var(--s-2); }

@media (max-width: 860px) {
  .cols-2, .cols-3, .cols-4, .section-head { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) and (min-width: 861px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--leaf);
  --btn-fg: #0F1A06;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 52px;
  padding: 0 var(--s-6);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn svg { position: relative; z-index: 1; transition: transform var(--dur) var(--ease); }
.btn:hover { background: var(--leaf-lit); transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(163, 255, 69, 0.45); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--travertine);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: rgba(200, 188, 168, 0.08); border-color: var(--caliche); box-shadow: none; }
.section--light .btn--ghost { --btn-fg: var(--basalt); border-color: rgba(21, 24, 19, 0.28); }
.section--light .btn--ghost:hover { background: rgba(21, 24, 19, 0.06); }

.btn--sm { min-height: 42px; padding: 0 var(--s-5); font-size: 0.75rem; }
.btn--block { width: 100%; }

.link-u {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf-lit);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(163, 255, 69, 0.35);
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-u:hover { border-color: var(--leaf-lit); gap: var(--s-3); }
.section--light .link-u { color: var(--leaf-deep); border-color: rgba(63, 107, 28, 0.4); }

/* ---------- 7. Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 420ms var(--ease), background 420ms var(--ease), border-color 420ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-stuck="true"] {
  background: rgba(14, 17, 12, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header[data-hidden="true"] { transform: translateY(-102%); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 84px;
  transition: min-height 420ms var(--ease);
}
.site-header[data-stuck="true"] .nav { min-height: 68px; }

.brand { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.brand img { width: 40px; height: auto; }
.brand__name {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 40, "SOFT" 20, "WONK" 0;
  font-size: 1.0625rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand__name small {
  display: block;
  font-family: var(--ff-text);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--caliche-dim);
  margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: var(--s-6); }
.nav__links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caliche);
  position: relative;
  padding-block: 6px;
  transition: color var(--dur) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--leaf-lit);
  transition: width var(--dur) var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--travertine); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: var(--s-4); flex: none; }
.nav__phone {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--travertine);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.nav__phone:hover { color: var(--leaf-lit); }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  flex: none;
}
.burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--travertine);
  position: relative;
  transition: background 200ms var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--travertine);
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__links, .nav__cta .btn { display: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) { .nav__phone span { display: none; } }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--basalt-deep);
  padding: 110px var(--gutter) var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 300ms;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a.drawer__link {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 90, "SOFT" 30, "WONK" 1;
  font-size: 2rem;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.drawer a.drawer__link i {
  font-family: var(--ff-text);
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--caliche-dim);
}
.drawer__foot { margin-top: auto; display: grid; gap: var(--s-3); padding-top: var(--s-6); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: 62svh; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,17,12,0.78) 0%, rgba(14,17,12,0.28) 34%, rgba(14,17,12,0.6) 68%, rgba(21,24,19,0.97) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(78, 122, 30, 0.34), transparent 60%);
}
.hero__inner { width: 100%; padding-bottom: clamp(48px, 8vw, 104px); padding-top: 140px; }
.hero__title { max-width: 15ch; }
.hero__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 70, "WONK" 1;
  color: var(--leaf-lit);
}
.hero__sub { max-width: 46ch; margin-top: var(--s-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-7);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--caliche);
}
.hero__meta b { color: var(--travertine); font-weight: 600; }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 8vw, 104px);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--caliche-dim);
}
.scroll-cue i {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--leaf-lit), transparent);
  animation: cue 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0%,100% { transform: scaleY(0.35); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* page hero (interior pages) */
.phero { position: relative; padding: 180px 0 clamp(48px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,17,12,0.9), rgba(14,17,12,0.62) 45%, rgba(21,24,19,0.98));
}
.crumbs { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caliche-dim); margin-bottom: var(--s-5); }
.crumbs a:hover { color: var(--leaf-lit); }

/* ---------- 9. Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); transform: none; transition: clip-path 900ms var(--ease-out); }
[data-reveal="wipe"].in { clip-path: inset(0 0 0 0); }

/* ---------- 10. Credential strip ---------- */
.creds {
  display: flex;
  flex-wrap: nowrap;              /* one line on desktop */
  gap: var(--s-4);
  align-items: stretch;
  padding-block: var(--s-6);
}
.cred {
  flex: 1 1 0;                    /* six equal columns */
  min-width: 0;
  display: flex;
  flex-direction: column;         /* figure over label */
  align-items: center;
  text-align: center;
  gap: var(--s-2);
  padding-inline: var(--s-3);
  border-left: 1px solid var(--line);
}
.cred:first-child { border-left: 0; }
.cred__n {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 90, "SOFT" 20, "WONK" 0;
  font-size: clamp(1.5rem, 0.9rem + 1.5vw, 2.5rem);
  line-height: 1;
  color: var(--travertine);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cred__l {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caliche-dim);
  max-width: 16ch;
  line-height: 1.35;
  text-wrap: balance;
}

/* Below tablet the six columns get too narrow to read — wrap to a grid. */
@media (max-width: 900px) {
  .creds { flex-wrap: wrap; gap: var(--s-6) var(--s-4); }
  .cred { flex: 1 1 30%; }
  .cred:nth-child(4) { border-left: 0; }
}
@media (max-width: 560px) {
  .cred { flex: 1 1 42%; }
  .cred:nth-child(odd) { border-left: 0; }
  .cred:nth-child(4) { border-left: 1px solid var(--line); }
}


/* ---------- 11. Service tabs ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.svc__list { border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  text-align: left;
  transition: color var(--dur) var(--ease);
}
.svc__idx { font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--caliche-dim); font-variant-numeric: tabular-nums; }
.svc__name {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 90, "SOFT" 30, "WONK" 1;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  color: var(--caliche);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc__btn:hover .svc__name { color: var(--travertine); transform: translateX(4px); }
.svc__item[data-open="true"] .svc__name { color: var(--leaf-lit); }
.svc__item[data-open="true"] .svc__idx { color: var(--leaf); }
.svc__plus { position: relative; width: 14px; height: 14px; justify-self: end; }
.svc__plus::before, .svc__plus::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--caliche-dim);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.svc__plus::before { width: 14px; height: 1px; }
.svc__plus::after { width: 1px; height: 14px; }
.svc__item[data-open="true"] .svc__plus::after { transform: rotate(90deg); }
.svc__item[data-open="true"] .svc__plus::before { background: var(--leaf-lit); }
.svc__panel { overflow: hidden; height: 0; transition: height 420ms var(--ease); }
.svc__panel-in { padding: 0 0 var(--s-5) 46px; }
.svc__panel p { color: var(--caliche); font-size: 0.9375rem; }
.svc__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.tag {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--caliche);
}
.svc__stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--slate); }
.svc__stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 700ms var(--ease-out), transform 1400ms var(--ease-out);
}
.svc__stage img[data-on="true"] { opacity: 1; transform: scale(1); }
.svc__stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(14,17,12,0.6));
  pointer-events: none;
}
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc__stage { order: -1; aspect-ratio: 16 / 11; }
}

/* ---------- 12. Process ---------- */
.stage {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--s-5) var(--s-6);
  padding-block: var(--s-7);
  border-top: 1px solid rgba(21, 24, 19, 0.14);
  align-items: start;
}
.stage__n {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 0;
  font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  line-height: 0.85;
  color: var(--leaf-deep);
  font-variant-numeric: tabular-nums;
}
.stage__n small { display: block; font-family: var(--ff-text); font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: #6F7570; margin-top: var(--s-3); }
.stage__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5) var(--s-6); }
.stage__body h3 { grid-column: 1 / -1; color: var(--basalt); }
.stage__pt h4 { font-size: 0.9375rem; font-weight: 600; font-family: var(--ff-text); letter-spacing: 0.02em; margin-bottom: 6px; color: var(--basalt); }
.stage__pt p { font-size: 0.9375rem; color: #4C534B; }
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; gap: var(--s-4); }
  .stage__body { grid-template-columns: 1fr; }
}

/* ---------- 13. Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--caliche);
  transition: all var(--dur) var(--ease);
}
.chip i { font-style: normal; font-size: 0.6875rem; color: var(--caliche-dim); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--caliche); color: var(--travertine); }
.chip[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #0F1A06; }
.chip[aria-pressed="true"] i { color: rgba(15, 26, 6, 0.7); }

.masonry { columns: 3; column-gap: var(--s-4); }
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 620px) { .masonry { columns: 1; } }

.shot {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: var(--s-4);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--slate);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}
.shot.in { opacity: 1; transform: none; }
.shot img { width: 100%; transition: transform 1000ms var(--ease-out), filter 600ms var(--ease); }
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14,17,12,0.82));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.shot__cap {
  position: absolute;
  left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  z-index: 2;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--travertine);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }

.gallery-foot { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); margin-top: var(--s-7); }
.gallery-count { font-size: var(--fs-sm); color: var(--caliche-dim); letter-spacing: 0.08em; }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(9, 11, 7, 0.96);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; visibility: hidden;
  transition: opacity 260ms var(--ease), visibility 260ms;
}
.lb[data-open="true"] { opacity: 1; visibility: visible; }
.lb__img {
  max-width: min(1200px, 100%);
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.lb__bar {
  position: absolute;
  left: 0; right: 0; bottom: clamp(16px, 3vw, 32px);
  display: flex; align-items: center; justify-content: center; gap: var(--s-5);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caliche);
}
.lb__nav, .lb__close {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  transition: all var(--dur) var(--ease);
}
.lb__nav:hover, .lb__close:hover { background: var(--leaf); border-color: var(--leaf); color: #0F1A06; }
.lb__close { position: absolute; top: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); }

/* ---------- 14. Cards / project tiles ---------- */
.tile {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--slate);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,17,12,0) 40%, rgba(14,17,12,0.9));
  transition: opacity var(--dur) var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile__meta { position: absolute; left: var(--s-5); right: var(--s-5); bottom: var(--s-5); z-index: 2; }
.tile__meta h3 { font-family: var(--ff-display); font-variation-settings: "opsz" 90, "SOFT" 30, "WONK" 1; font-size: 1.375rem; }
.tile__meta span { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--leaf-lit); }
.tile--tall { aspect-ratio: 3 / 4; }

.card {
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(255, 255, 255, 0.04); }
.card h3 { font-family: var(--ff-text); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: var(--s-3); }
.card p { font-size: 0.9375rem; color: var(--caliche); }
.card__ico { width: 26px; height: 26px; color: var(--leaf-lit); margin-bottom: var(--s-5); }

/* ---------- 15. Testimonials ---------- */
.quotes { position: relative; }
.quote {
  display: none;
  max-width: 62ch;
}
.quote[data-on="true"] { display: block; animation: qin 620ms var(--ease-out); }
@keyframes qin { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.quote p {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 120, "SOFT" 40, "WONK" 1;
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 2.125rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.quote footer { margin-top: var(--s-6); font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--caliche-dim); }
.quote footer b { color: var(--leaf-lit); font-weight: 600; }
.quotes__ctl { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-7); }
.dot {
  width: 34px; height: 3px;
  background: rgba(200, 188, 168, 0.24);
  border-radius: 2px;
  transition: background var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.dot[aria-selected="true"] { background: rgba(200, 188, 168, 0.24); }
.dot[aria-selected="true"]::after {
  content: ""; position: absolute; inset: 0;
  background: var(--leaf-lit);
  transform-origin: left;
  animation: dotfill 7s linear forwards;
}
@keyframes dotfill { from { transform: scaleX(0) } to { transform: scaleX(1) } }
.stars { display: inline-flex; gap: 3px; color: var(--leaf-lit); margin-bottom: var(--s-5); }

/* ---------- 16. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: var(--s-5) 0;
  text-align: left;
  font-size: var(--fs-h4);
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 60, "SOFT" 30, "WONK" 1;
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--leaf-lit); }
.faq__item[data-open="true"] .faq__q { color: var(--leaf-lit); }
.faq__ico { position: relative; width: 14px; height: 14px; flex: none; }
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.faq__ico::before { width: 14px; height: 1px; }
.faq__ico::after { width: 1px; height: 14px; }
.faq__item[data-open="true"] .faq__ico::after { transform: rotate(90deg); }
.faq__a { height: 0; overflow: hidden; transition: height 380ms var(--ease); }
.faq__a-in { padding-bottom: var(--s-5); max-width: 72ch; color: var(--caliche); font-size: 0.9375rem; }

/* ---------- 17. Lead form ---------- */
.lead-form {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.lead-form::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--leaf-lit), transparent);
  transform-origin: left;
  transform: scaleX(var(--prog, 0.33));
  transition: transform 460ms var(--ease);
}
.steps { display: flex; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.step-pip { display: flex; align-items: center; gap: var(--s-2); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--caliche-dim); }
.step-pip b {
  width: 22px; height: 22px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-size: 0.625rem; font-weight: 600;
  transition: all var(--dur) var(--ease);
}
.step-pip[data-state="active"] { color: var(--travertine); }
.step-pip[data-state="active"] b { background: var(--leaf); border-color: var(--leaf); color: #0F1A06; }
.step-pip[data-state="done"] b { background: rgba(143, 232, 58, 0.2); border-color: var(--leaf); color: var(--leaf-lit); }

.fstep { display: none; }
.fstep[data-on="true"] { display: block; animation: qin 460ms var(--ease-out); }
.field { margin-bottom: var(--s-5); }
.field label, .field .lbl {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caliche);
  margin-bottom: var(--s-3);
}
.field label .req { color: var(--leaf-lit); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px var(--s-4);
  background: rgba(14, 17, 12, 0.55);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--travertine);
  font-size: 0.9375rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--caliche-dim); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--leaf); background: rgba(14, 17, 12, 0.8); outline: none; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C8BCA8' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.opts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.opt span {
  display: flex; align-items: center;
  min-height: 46px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: var(--fs-sm);
  color: var(--caliche);
  transition: all var(--dur) var(--ease);
}
.opt input:hover + span { border-color: var(--caliche); color: var(--travertine); }
.opt input:focus-visible + span { outline: 2px solid var(--leaf-lit); outline-offset: 2px; }
.opt input:checked + span { background: rgba(143, 232, 58, 0.18); border-color: var(--leaf); color: var(--travertine); }

.err { display: none; margin-top: var(--s-2); font-size: var(--fs-sm); color: #E9836A; }
.err--banner {
  display: block;
  margin-top: var(--s-5);
  padding: var(--s-3) var(--s-4);
  border: 1px solid rgba(233, 131, 106, 0.5);
  border-radius: var(--r);
  background: rgba(233, 131, 106, 0.08);
}
.field[data-invalid="true"] .err { display: block; }
.field[data-invalid="true"] .input,
.field[data-invalid="true"] .select,
.field[data-invalid="true"] .textarea { border-color: #E9836A; }

.form-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; margin-top: var(--s-6); }
.form-note { font-size: var(--fs-sm); color: var(--caliche-dim); margin-top: var(--s-5); }

.form-done { display: none; text-align: center; padding: var(--s-7) 0; }
.form-done[data-on="true"] { display: block; animation: qin 500ms var(--ease-out); }
.form-done__mark {
  width: 64px; height: 64px; margin: 0 auto var(--s-5);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(143, 232, 58, 0.18);
  border: 1px solid var(--leaf);
  color: var(--leaf-lit);
}

/* ---------- 18. Split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 5/4; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}
.ticks { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.ticks li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 0.9375rem; color: var(--caliche); }
.ticks svg { flex: none; margin-top: 5px; color: var(--leaf-lit); }
.section--light .ticks li { color: #4C534B; }
.section--light .ticks svg { color: var(--leaf-deep); }

/* ---------- 19. CTA band ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,17,12,0.86), rgba(14,17,12,0.94)); }
.band__inner { padding-block: clamp(72px, 10vw, 144px); }
.band h2 { max-width: 20ch; margin-inline: auto; }
.band .btn-row { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; margin-top: var(--s-7); }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--basalt-deep); padding-top: clamp(56px, 7vw, 96px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-7) var(--s-6); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-h { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caliche-dim); margin-bottom: var(--s-4); }
.foot-list { display: grid; gap: var(--s-3); font-size: 0.9375rem; color: var(--caliche); }
.foot-list a:hover { color: var(--leaf-lit); }
.socials { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--caliche);
  transition: all var(--dur) var(--ease);
}
.socials a:hover { background: var(--leaf); border-color: var(--leaf); color: #0F1A06; }
.foot-bottom {
  margin-top: clamp(40px, 6vw, 72px);
  padding-block: var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between;
  font-size: 0.8125rem; color: var(--caliche-dim);
}
.licence { letter-spacing: 0.05em; }

/* ---------- Live reviews widget mount ----------
   Holds the LeadConnector / HighLevel review widget. HighLevel hands you
   either an <iframe> or a <script> that injects one, so this sizes both to
   the column and stops a fixed-width embed forcing a horizontal scrollbar. */
#reviews-live {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;              /* clips the widget's white card to the radius */
  box-shadow: var(--shadow);
}
#reviews-live iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 500px;   /* floor only — review-widget.js sets the real height */
  border: 0;
}
#reviews-live > *:not(iframe) { max-width: 100%; }
@media (max-width: 720px) {
  #reviews-live iframe { min-height: 700px; }
}

/* Novah Media credit */
.credit {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--caliche-dim);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity var(--dur) var(--ease);
}
.credit:hover,
.credit:focus-visible { opacity: 1; }
.credit span {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.credit img {
  display: block;
  width: auto;
  height: 34px;
}
@media (max-width: 720px) {
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 21. Sticky mobile CTA ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%);
  transition: transform 420ms var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar[data-on="true"] { transform: none; }
.mobile-bar a {
  flex: 1;
  min-height: 58px;
  display: flex; align-items: center; justify-content: center; gap: var(--s-2);
  background: var(--basalt-deep);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mobile-bar a.is-primary { background: var(--leaf); color: #0F1A06; }
@media (max-width: 1024px) { .mobile-bar { display: flex; } body { padding-bottom: 58px; } }

/* ---------- 22. Misc ---------- */
.parallax { will-change: transform; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 300;
  background: var(--leaf); color: #0F1A06;
  padding: 12px 18px; border-radius: var(--r);
  font-size: var(--fs-sm); font-weight: 600;
  transition: top 200ms var(--ease);
}
.skip:focus { top: var(--s-4); }

.map-embed {
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7) contrast(0.9);
}

.info-row { display: grid; gap: var(--s-2); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.info-row dt { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caliche-dim); }
.info-row dd { margin: 0; font-size: 1.0625rem; }
.info-row dd a:hover { color: var(--leaf-lit); }

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .shot { opacity: 1 !important; transform: none !important; }
  .parallax { transform: none !important; }
}

/* Footer legal link */
.foot-bottom a:not(.credit) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom a:not(.credit):hover { color: var(--leaf-lit); }

/* Legal pages (privacy.html) */
.legal { margin-top: var(--s-7); color: var(--caliche); line-height: 1.7; }
.legal h2 { font-family: var(--ff-display); font-weight: 400; font-size: 1.5rem; color: var(--travertine); margin: var(--s-7) 0 var(--s-3); }
.legal p + p { margin-top: var(--s-4); }
.legal ul { margin: var(--s-3) 0 0; padding-left: 1.2em; list-style: disc; }
.legal li + li { margin-top: var(--s-2); }
.legal b { color: var(--travertine); font-weight: 600; }
.legal a { color: var(--leaf-lit); }
