/* ==========================================================================
   Payne Land Management
   Design system shared with the static build. Loaded by functions.php, then
   bridged to Elementor by wordpress.css.

   Contents
     1.  Tokens
     2.  Reset and base
     3.  Typography
     4.  Layout helpers
     5.  Buttons
     6.  Header, navigation, mobile drawer
     7.  Hero
     8.  Cards, grids, media
     9.  Feature rows
     10. Steps, why-choose, stat-free trust blocks
     11. FAQ
     12. Gallery and lightbox
     13. Forms
     14. Breadcrumbs, page head, prose
     15. CTA banner and footer
     16. Floating actions
     17. Motion, reveals, ambience
     18. Utilities and responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --black: #050505;
  --charcoal: #161819;
  --charcoal-2: #1f2325;
  --green: #24f000;
  --green-neon: #39ff14;
  --green-forest: #0a651d;
  --green-deep: #073f13;
  --silver: #bec4c9;
  --gray-soft: #edf0f2;
  --white: #ffffff;

  /* Applied roles */
  --ink: #101315;
  --ink-soft: #4a5257;
  --ink-faint: #6e777c;
  --line: #dfe4e8;
  --line-dark: #2b3033;
  --surface: #ffffff;
  --surface-alt: var(--gray-soft);
  --accent-on-light: var(--green-forest);
  --accent-on-dark: var(--green);

  /* Type */
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1240px;
  --wrap-tight: 900px;
  --gutter: clamp(18px, 4.2vw, 40px);
  --section-y: clamp(58px, 8vw, 108px);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(5, 5, 5, 0.06), 0 2px 8px rgba(5, 5, 5, 0.05);
  --sh-md: 0 2px 6px rgba(5, 5, 5, 0.06), 0 14px 34px rgba(5, 5, 5, 0.09);
  --sh-lg: 0 4px 12px rgba(5, 5, 5, 0.08), 0 26px 60px rgba(5, 5, 5, 0.14);
  --sh-green: 0 10px 30px rgba(10, 101, 29, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;
  --t-slow: 620ms;

  --header-h: 78px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
svg,
video {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--accent-on-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-deep);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

:focus-visible {
  outline: 3px solid var(--green-forest);
  outline-offset: 2px;
  border-radius: 3px;
}

.on-dark :focus-visible,
.site-footer :focus-visible,
.mobile-nav :focus-visible,
.lightbox :focus-visible,
.site-header:not(.is-stuck) :focus-visible {
  outline-color: var(--green);
}

::selection {
  background: var(--green);
  color: var(--black);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 400;
  background: var(--green);
  color: var(--black);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 6.4vw, 4.6rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 3.1rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.05em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.735rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent-on-light);
  margin: 0 0 16px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-forest));
  flex: none;
}

.on-dark .eyebrow {
  color: var(--green);
}

.on-dark .eyebrow::before {
  background: linear-gradient(90deg, var(--green-neon), var(--green-forest));
}

.lead {
  font-size: clamp(1.03rem, 1.6vw, 1.16rem);
  color: var(--ink-soft);
  line-height: 1.72;
}

.on-dark .lead {
  color: #c3cacd;
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(32px, 4.4vw, 54px);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.wrap--tight {
  width: min(100% - var(--gutter) * 2, var(--wrap-tight));
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(42px, 5.5vw, 74px);
}

.section--soft {
  background: var(--surface-alt);
}

.section--dark {
  background: var(--charcoal);
  color: #dfe4e6;
}

.section--black {
  background: var(--black);
  color: #dfe4e6;
}

.on-dark {
  color: #dfe4e6;
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: var(--white);
}

.on-dark a {
  color: var(--green);
}

.on-dark a:hover {
  color: var(--green-neon);
}

/* A button carries its own colours and must not be repainted as a link.
   `.on-dark a` above is more specific than the `.btn` rule that sets
   `color: var(--btn-fg)`, so without this a primary button inside a dark
   section renders bright-green text on a bright-green fill - invisible. */
.on-dark .btn,
.on-dark .btn:hover,
.on-dark .btn:focus-visible {
  color: var(--btn-fg);
}

/* Mown-stripe texture used behind dark sections. */
.stripes {
  position: relative;
  isolation: isolate;
}

.stripes::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.028) 0 62px,
    rgba(255, 255, 255, 0) 62px 124px
  );
}

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-forest);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  min-height: 52px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.945rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease),
    box-shadow var(--t-mid) var(--ease), background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.btn::after {
  /* Sweep highlight on hover. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-101%);
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.26) 52%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: transform var(--t-slow) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-green);
  color: var(--btn-fg);
}

.btn:hover::after {
  transform: translateX(101%);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--green);
  --btn-fg: var(--black);
  box-shadow: 0 6px 18px rgba(36, 240, 0, 0.22);
}

.btn--primary:hover {
  --btn-bg: var(--green-neon);
  box-shadow: 0 12px 34px rgba(36, 240, 0, 0.34);
}

.btn--dark {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--white);
}

.btn--dark:hover {
  --btn-bg: var(--black);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border: 2px solid rgba(190, 196, 201, 0.5);
  padding-block: 13px;
}

.btn--ghost:hover {
  border-color: var(--green);
  --btn-fg: var(--green);
  box-shadow: none;
}

.btn--ghost-dark {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 2px solid var(--line);
  padding-block: 13px;
}

.btn--ghost-dark:hover {
  border-color: var(--green-forest);
  --btn-fg: var(--green-forest);
  box-shadow: none;
}

.btn--sm {
  padding: 11px 20px;
  min-height: 44px;
  font-size: 0.875rem;
}

.btn--wide {
  width: 100%;
}

.btn svg {
  flex: none;
}

.btn[data-busy="true"] {
  pointer-events: none;
  opacity: 0.78;
}

.btn__spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.72s linear infinite;
  flex: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--accent-on-light);
}

.link-arrow svg {
  transition: transform var(--t-fast) var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.on-dark .link-arrow {
  color: var(--green);
}

/* --------------------------------------------------------------------------
   6. Header, navigation, mobile drawer
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--black);
  color: #a9b1b5;
  font-size: 0.815rem;
  border-bottom: 1px solid rgba(190, 196, 201, 0.12);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding-block: 7px;
  flex-wrap: wrap;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar a {
  color: #cfd5d8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--t-fast) var(--ease);
}

.topbar a:hover {
  color: var(--green);
}

.topbar svg {
  color: var(--green);
  flex: none;
}

.topbar__tag {
  color: #8d9599;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(190, 196, 201, 0.14);
  transition: background-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}

.site-header.is-stuck {
  background: rgba(5, 5, 5, 0.97);
  box-shadow: 0 10px 30px rgba(5, 5, 5, 0.34);
  border-bottom-color: rgba(36, 240, 0, 0.28);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand img {
  height: 50px;
  width: auto;
  transition: transform var(--t-mid) var(--ease);
}

.brand:hover img {
  transform: scale(1.03);
}

.nav {
  display: none;
}

@media (min-width: 1080px) {
  .nav {
    display: block;
    flex: 1 1 auto;
  }
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link,
.has-sub__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  background: none;
  border-radius: var(--r-pill);
  color: #d5dadd;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.nav__link:hover,
.has-sub__toggle:hover,
.nav__link:focus-visible,
.has-sub__toggle:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link[aria-current="page"],
.has-sub[data-current="true"] > .has-sub__toggle {
  color: var(--green);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
}

.has-sub {
  position: relative;
}

.has-sub__toggle svg {
  transition: transform var(--t-fast) var(--ease);
}

.has-sub[data-open="true"] > .has-sub__toggle svg {
  transform: rotate(180deg);
}

.sub-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 254px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--charcoal);
  border: 1px solid rgba(190, 196, 201, 0.16);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease), visibility var(--t-fast);
}

.sub-nav::before {
  /* Keeps the pointer inside the item while travelling to the panel. */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.has-sub[data-open="true"] > .sub-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sub-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  color: #d5dadd;
  font-size: 0.895rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.sub-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-forest);
  flex: none;
  transition: background-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.sub-nav a:hover,
.sub-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.sub-nav a:hover::before {
  background: var(--green);
  transform: scale(1.35);
}

.sub-nav a[aria-current="page"] {
  color: var(--green);
}

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

.header__call {
  display: none;
}

@media (min-width: 640px) {
  .header__call {
    display: inline-flex;
  }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(190, 196, 201, 0.3);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

@media (min-width: 1080px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--t-mid) var(--ease),
    opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.nav-toggle:hover span {
  background: var(--green);
}

.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);
}

/* Drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  /* Clips the panel while it is parked off-canvas, so it can never widen
     the page on any engine. */
  overflow: hidden;
}

.mobile-nav[data-open="true"] {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.62);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}

.mobile-nav[data-open="true"] .mobile-nav__scrim {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(400px, 92vw);
  background: var(--charcoal);
  border-left: 1px solid rgba(190, 196, 201, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav[data-open="true"] .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid rgba(190, 196, 201, 0.14);
  position: sticky;
  top: 0;
  background: var(--charcoal);
  z-index: 2;
}

.mobile-nav__top img {
  height: 42px;
  width: auto;
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 196, 201, 0.3);
  border-radius: var(--r-sm);
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.mobile-nav__close:hover {
  border-color: var(--green);
  color: var(--green);
}

.mobile-nav__body {
  padding: 14px var(--gutter) 24px;
  flex: 1 1 auto;
}

.mobile-nav__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__body > ul > li {
  border-bottom: 1px solid rgba(190, 196, 201, 0.12);
  opacity: 0;
  transform: translateX(16px);
}

.mobile-nav[data-open="true"] .mobile-nav__body > ul > li {
  animation: navIn var(--t-mid) var(--ease-out) forwards;
}

@keyframes navIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-nav__body a,
.mobile-nav__body .has-sub__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 2px;
  color: #dfe4e6;
  font-family: var(--font-head);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  background: none;
}

.mobile-nav__body a[aria-current="page"] {
  color: var(--green);
}

.mobile-nav .sub-nav {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  min-width: 0;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0 0 12px 4px;
  display: none;
}

.mobile-nav .has-sub[data-open="true"] .sub-nav {
  display: block;
}

.mobile-nav .sub-nav a {
  font-family: var(--font-body);
  font-size: 0.96rem;
  text-transform: none;
  letter-spacing: 0;
  padding: 9px 0;
  justify-content: flex-start;
}

.mobile-nav__foot {
  padding: 20px var(--gutter) 30px;
  border-top: 1px solid rgba(190, 196, 201, 0.14);
  display: grid;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.06);
  animation: heroDrift 26s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.13) translate3d(-1.4%, -1%, 0);
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Narrow screens: the copy sits over the whole frame, so the scrim is
     vertical and weighted to the bottom. The photo still reads through it. */
  background: linear-gradient(
    to top,
    rgba(5, 5, 5, 0.93) 0%,
    rgba(5, 5, 5, 0.66) 48%,
    rgba(5, 5, 5, 0.44) 100%
  );
}

@media (min-width: 900px) {
  /* Wide screens: the copy occupies the left column only, so the scrim is
     directional. The right-hand side of the photograph — where the work is
     actually happening — stays almost untouched. */
  .hero__media::after {
    background: linear-gradient(
        96deg,
        rgba(5, 5, 5, 0.93) 0%,
        rgba(5, 5, 5, 0.82) 32%,
        rgba(5, 5, 5, 0.46) 58%,
        rgba(5, 5, 5, 0.14) 100%
      ),
      linear-gradient(to top, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0) 46%);
  }
}

.hero__stripes {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  z-index: -2;
  pointer-events: none;
  background: repeating-linear-gradient(
    100deg,
    rgba(36, 240, 0, 0.075) 0 46px,
    rgba(36, 240, 0, 0) 46px 92px
  );
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  animation: mow 17s linear infinite;
}

@keyframes mow {
  to {
    background-position: 184px 0;
  }
}

.hero__motes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero__motes span {
  position: absolute;
  bottom: -8%;
  border-radius: 50% 42% 50% 44%;
  background: var(--green);
  filter: blur(0.4px);
  animation: floatUp 18s linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.5;
  }
  88% {
    opacity: 0.35;
  }
  100% {
    transform: translate3d(46px, -108vh, 0) rotate(300deg);
    opacity: 0;
  }
}

.hero__inner {
  position: relative;
  padding-block: clamp(74px, 12vw, 148px);
  max-width: 760px;
}

.hero__logo {
  width: clamp(178px, 24vw, 244px);
  height: auto;
  margin-bottom: clamp(20px, 3vw, 30px);
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55));
}

/* Owner credential badge. Sits between the mark and the headline in the hero,
   and repeats under the owner's name in the About block. */
.hero__flag,
.owner__flag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 8px 17px 8px 14px;
  border: 1px solid rgba(36, 240, 0, 0.45);
  border-radius: var(--r-pill);
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.755rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero__flag svg,
.owner__flag svg {
  color: var(--green);
  flex: none;
}

.owner__flag {
  margin: 14px 0 0;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.45);
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero__text {
  font-size: clamp(1.03rem, 1.7vw, 1.19rem);
  color: #d3d9db;
  max-width: 610px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__services li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(190, 196, 201, 0.28);
  border-radius: var(--r-pill);
  background: rgba(5, 5, 5, 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 0.84rem;
  font-weight: 600;
  color: #dfe4e6;
  transition: border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.hero__services li:hover {
  border-color: rgba(36, 240, 0, 0.6);
  color: var(--white);
}

.hero__services li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

/* Compact hero used on inner pages. */
.page-head {
  position: relative;
  isolation: isolate;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.page-head__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-head__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Narrow screens: the heading spans the full width, so the scrim does too -
     weighted to the bottom, where the text sits. */
  background: linear-gradient(
    to top,
    rgba(5, 5, 5, 0.9) 0%,
    rgba(5, 5, 5, 0.72) 55%,
    rgba(5, 5, 5, 0.5) 100%
  );
}

@media (min-width: 900px) {
  /* Wide screens: the heading occupies the left, so the right-hand side of
     the photograph is left largely open. */
  .page-head__media::after {
    background: linear-gradient(
      100deg,
      rgba(5, 5, 5, 0.86) 0%,
      rgba(5, 5, 5, 0.62) 32%,
      rgba(5, 5, 5, 0.26) 62%,
      rgba(5, 5, 5, 0.08) 100%
    );
  }
}

.page-head__stripes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    100deg,
    rgba(36, 240, 0, 0.04) 0 40px,
    rgba(36, 240, 0, 0) 40px 80px
  );
}

.page-head__inner {
  padding-block: clamp(46px, 7vw, 84px);
  max-width: 780px;
}

.page-head h1 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
}

.page-head p {
  color: #cbd1d4;
  max-width: 640px;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* --------------------------------------------------------------------------
   8. Cards, grids, media
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}

.card--link:hover,
.card--link:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(10, 101, 29, 0.34);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-soft);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.card--link:hover .card__media img,
.card--link:focus-within .card__media img {
  transform: scale(1.07);
}

.card__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(5, 5, 5, 0.82);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.card__body {
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
}

.card__body h3 {
  margin: 0;
}

.card__body p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0;
}

.card__body .link-arrow {
  margin-top: auto;
  padding-top: 4px;
}

.card__title-link {
  color: inherit;
  text-decoration: none;
}

.card__title-link::after {
  /* Whole-card hit area, keyboard focus stays on the real link. */
  content: "";
  position: absolute;
  inset: 0;
}

.card__title-link:hover {
  color: var(--accent-on-light);
}

/* Icon card used for "why choose" and process blocks. */
.icard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}

.icard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.icard__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--green-forest), var(--green-deep));
  color: var(--green);
  margin-bottom: 16px;
}

.icard h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
}

.icard p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.on-dark .icard {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(190, 196, 201, 0.16);
  box-shadow: none;
}

.on-dark .icard p {
  color: #b9c0c3;
}

/* Media frame with a metallic edge. */
.frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--charcoal);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.frame:hover img {
  transform: scale(1.045);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(190, 196, 201, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.frame--tall {
  aspect-ratio: 4 / 5;
}

.frame--wide {
  aspect-ratio: 16 / 10;
}

/* --------------------------------------------------------------------------
   9. Feature rows
   -------------------------------------------------------------------------- */
.feature {
  display: grid;
  gap: clamp(26px, 4vw, 62px);
  align-items: center;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
  }
  .feature--flip .feature__media {
    order: 2;
  }
}

.feature + .feature {
  margin-top: clamp(48px, 7vw, 96px);
}

.feature__media {
  position: relative;
}

.feature__media .frame {
  aspect-ratio: 5 / 4;
}

.feature__badge {
  position: absolute;
  right: -8px;
  bottom: -18px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(190, 196, 201, 0.24);
  max-width: 230px;
}

.feature__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.24rem;
  color: var(--green);
  text-transform: uppercase;
  line-height: 1.1;
}

.feature__badge span {
  font-size: 0.79rem;
  color: #b6bdc0;
}

.ticks {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324F000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
}

.on-dark .ticks li {
  color: #c3cacd;
}

.ticks--tight li {
  font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   10. Steps and trust blocks
   -------------------------------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: clamp(24px, 3vw, 32px) clamp(20px, 2.4vw, 26px) clamp(22px, 2.6vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}

.steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green-forest);
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.on-dark .steps li {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(190, 196, 201, 0.16);
  box-shadow: none;
}

.on-dark .steps li::before {
  color: var(--green);
}

.on-dark .steps p {
  color: #b9c0c3;
}

/* Owner introduction */
.owner {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

@media (min-width: 860px) {
  .owner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.owner__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: var(--white);
}

.owner__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--green);
  margin: 4px 0 0;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--gray-soft);
  color: var(--green-forest);
}

.on-dark .contact-list__icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--green);
}

.contact-list__label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

.on-dark .contact-list__label {
  color: #9aa2a6;
}

.contact-list a {
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
}

.contact-list a:hover {
  text-decoration: underline;
}

.note {
  padding: 16px 20px;
  border-left: 4px solid var(--green-forest);
  background: var(--gray-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.on-dark .note {
  background: rgba(255, 255, 255, 0.05);
  color: #bcc3c6;
  border-left-color: var(--green);
}

.note strong {
  color: var(--ink);
}

.on-dark .note strong {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.faq__item[data-open="true"] {
  border-color: rgba(10, 101, 29, 0.4);
  box-shadow: var(--sh-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 19px clamp(16px, 2vw, 24px);
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}

.faq__q:hover {
  color: var(--accent-on-light);
}

.faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--gray-soft);
  transition: background-color var(--t-fast) var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--green-forest);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-mid) var(--ease),
    opacity var(--t-fast) var(--ease);
}

.faq__icon::before {
  width: 10px;
  height: 2px;
}

.faq__icon::after {
  width: 2px;
  height: 10px;
}

.faq__item[data-open="true"] .faq__icon {
  background: var(--green-forest);
}

.faq__item[data-open="true"] .faq__icon::before,
.faq__item[data-open="true"] .faq__icon::after {
  background: var(--green);
}

.faq__item[data-open="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease);
}

.faq__item[data-open="true"] .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  margin: 0 0 16px;
  padding-inline: clamp(16px, 2vw, 24px);
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.faq__a p:first-child {
  padding-top: 2px;
}

.on-dark .faq__item {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(190, 196, 201, 0.16);
}

.on-dark .faq__q {
  color: var(--white);
}

.on-dark .faq__q:hover {
  color: var(--green);
}

.on-dark .faq__icon {
  background: rgba(255, 255, 255, 0.1);
}

.on-dark .faq__icon::before,
.on-dark .faq__icon::after {
  background: var(--green);
}

.on-dark .faq__a p {
  color: #b9c0c3;
}

/* --------------------------------------------------------------------------
   12. Gallery and lightbox
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.filter {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.filter:hover {
  border-color: var(--green-forest);
  color: var(--green-forest);
}

.filter[aria-pressed="true"] {
  background: var(--green-forest);
  border-color: var(--green-forest);
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--gray-soft);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  box-shadow: var(--sh-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.07);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 13px;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0));
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
  pointer-events: none;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  border-color: var(--green);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(5, 5, 5, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid);
}

.lightbox[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1100px, 100%);
  width: 100%;
}

.lightbox img {
  max-height: 74vh;
  max-width: 100%;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  background: var(--charcoal);
}

.lightbox__cap {
  color: #dfe4e6;
  font-size: 0.94rem;
  text-align: center;
  margin: 0;
  max-width: 62ch;
}

.lightbox__pos {
  color: #8d9599;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(190, 196, 201, 0.34);
  background: rgba(5, 5, 5, 0.72);
  color: var(--white);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  z-index: 2;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}

.lightbox__close {
  top: 0;
  right: 0;
}

.lightbox__nav--prev {
  left: 0;
  top: 42%;
}

.lightbox__nav--next {
  right: 0;
  top: 42%;
}

@media (max-width: 700px) {
  .lightbox__nav--prev,
  .lightbox__nav--next {
    top: auto;
    bottom: -6px;
  }
  .lightbox__nav--prev {
    left: 12%;
  }
  .lightbox__nav--next {
    right: 12%;
  }
  .lightbox__stage {
    padding-bottom: 58px;
  }
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3.4vw, 44px);
  box-shadow: var(--sh-md);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.field .req {
  color: #b3261e;
  margin-left: 2px;
}

.field__hint {
  font-size: 0.81rem;
  color: var(--ink-faint);
  margin: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.field textarea {
  min-height: 138px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5257' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-forest);
  box-shadow: 0 0 0 3px rgba(10, 101, 29, 0.16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.field__error {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #97231c;
}

.field__error:empty {
  display: none;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--gray-soft);
}

.consent input[type="checkbox"] {
  width: 21px;
  height: 21px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--green-forest);
  cursor: pointer;
}

.consent label {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent .field__error {
  flex-basis: 100%;
}

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  border-radius: var(--r-md);
  line-height: 1.6;
}

.form-status[data-state="busy"],
.form-status[data-state="ok"],
.form-status[data-state="error"] {
  padding: 15px 18px;
  border: 1px solid;
}

.form-status[data-state="busy"] {
  background: var(--gray-soft);
  border-color: var(--line);
  color: var(--ink-soft);
}

.form-status[data-state="ok"] {
  background: #eefbe9;
  border-color: #a9e29a;
  color: #14501f;
}

.form-status[data-state="error"] {
  background: #fdecea;
  border-color: #f3b7b2;
  color: #8c211b;
}

.form-status a {
  color: inherit;
  font-weight: 700;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dropzone {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--gray-soft);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.dropzone:hover,
.dropzone.is-drag,
.dropzone:focus-visible {
  border-color: var(--green-forest);
  background: #f2f8ee;
}

.dropzone svg {
  color: var(--green-forest);
}

.dropzone strong {
  font-size: 0.97rem;
}

.dropzone span {
  font-size: 0.83rem;
  color: var(--ink-faint);
}

.dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.thumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thumbs:empty {
  display: none;
}

.thumbs li {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.82);
  color: var(--white);
  cursor: pointer;
}

.thumbs button:hover {
  background: #b3261e;
}

.upload-note {
  grid-column: 1 / -1;
  font-size: 0.83rem;
  color: var(--ink-faint);
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. Breadcrumbs and prose
   -------------------------------------------------------------------------- */
.crumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.crumbs li + li::before {
  content: "/";
  color: var(--silver);
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.crumbs a:hover {
  color: var(--accent-on-light);
  text-decoration: underline;
}

.crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

.prose {
  max-width: 74ch;
}

.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin-top: 2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.7em;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 1.05em;
}

.prose li {
  margin-bottom: 8px;
}

.prose .review-flag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--r-sm);
  background: #fff5d6;
  border: 1px solid #e8cf86;
  color: #6b5108;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toc {
  margin: 0 0 34px;
  padding: 20px 24px;
  background: var(--gray-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.toc h2 {
  font-size: 1.05rem !important;
  margin: 0 0 10px !important;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.toc ol {
  margin: 0;
  columns: 2;
  column-gap: 28px;
  font-size: 0.92rem;
}

@media (max-width: 620px) {
  .toc ol {
    columns: 1;
  }
}

/* --------------------------------------------------------------------------
   15. CTA banner and footer
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      760px 380px at 12% 8%,
      rgba(10, 101, 29, 0.5),
      transparent 68%
    ),
    repeating-linear-gradient(
      100deg,
      rgba(36, 240, 0, 0.045) 0 44px,
      rgba(36, 240, 0, 0) 44px 88px
    );
}

.cta-band__inner {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  padding-block: clamp(48px, 6.5vw, 84px);
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: 1.4fr auto;
  }
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: #c3cacd;
  margin: 0;
  max-width: 58ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.site-footer {
  background: var(--charcoal);
  color: #b9c0c3;
  font-size: 0.93rem;
  border-top: 3px solid var(--green-forest);
}

.footer__top {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(46px, 6vw, 74px);
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
}

.footer__brand img {
  height: 62px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  max-width: 34ch;
  font-size: 0.92rem;
}

.site-footer h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.site-footer a {
  color: #b9c0c3;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.site-footer a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer__hours strong {
  color: var(--white);
  display: block;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid rgba(190, 196, 201, 0.26);
  color: #cfd5d8;
  transition: all var(--t-fast) var(--ease);
}

.social a:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.footer__bar {
  border-top: 1px solid rgba(190, 196, 201, 0.14);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  font-size: 0.855rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Development credit - always visible, never colour-matched to the background. */
.developer-credit {
  margin: 0;
  color: #cfd5d8;
  font-size: 0.875rem;
  font-weight: 600;
}

.developer-credit a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.developer-credit a:hover {
  color: var(--green-neon);
}

/* --------------------------------------------------------------------------
   16. Floating actions
   -------------------------------------------------------------------------- */
.fab {
  position: fixed;
  right: clamp(12px, 2.4vw, 22px);
  bottom: clamp(12px, 2.4vw, 22px);
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fab__btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--sh-md);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.fab__btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--black);
  color: var(--green);
}

.fab__btn--call {
  background: var(--green);
  color: var(--black);
}

.fab__btn--call:hover {
  background: var(--green-neon);
  color: var(--black);
}

.fab__btn--quote {
  background: var(--green-forest);
  color: var(--white);
}

.fab__btn--quote:hover {
  background: var(--green-deep);
  color: var(--green);
}

.to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-mid) var(--ease),
    transform var(--t-mid) var(--ease), visibility var(--t-mid),
    background-color var(--t-fast) var(--ease);
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  animation: nudge 2.4s var(--ease) infinite;
}

@keyframes nudge {
  0%,
  62%,
  100% {
    transform: translateY(0);
  }
  76% {
    transform: translateY(-3px);
  }
}

/* On small screens the strip sits horizontally so it never covers content. */
@media (max-width: 560px) {
  .fab {
    left: clamp(12px, 3vw, 20px);
    right: clamp(12px, 3vw, 20px);
    bottom: 12px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(190, 196, 201, 0.2);
    border-radius: var(--r-pill);
  }
  .fab__btn {
    width: 48px;
    height: 48px;
    box-shadow: none;
  }
  .to-top {
    display: none;
  }
  body {
    padding-bottom: 82px;
  }
}

/* --------------------------------------------------------------------------
   17. Motion, reveals, ambience
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.reveal--d1 {
  transition-delay: 90ms;
}
.reveal--d2 {
  transition-delay: 180ms;
}
.reveal--d3 {
  transition-delay: 270ms;
}

/* Hero entrance - runs without JS so text never sits invisible. */
.hero__inner > * {
  animation: heroIn 780ms var(--ease-out) both;
}

.hero__inner > *:nth-child(1) {
  animation-delay: 40ms;
}
.hero__inner > *:nth-child(2) {
  animation-delay: 130ms;
}
.hero__inner > *:nth-child(3) {
  animation-delay: 210ms;
}
.hero__inner > *:nth-child(4) {
  animation-delay: 290ms;
}
.hero__inner > *:nth-child(5) {
  animation-delay: 370ms;
}
.hero__inner > *:nth-child(6) {
  animation-delay: 450ms;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Page transition - a short fade in on every load. */
main {
  animation: pageIn 420ms var(--ease-out) both;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Without JS nothing may stay hidden. */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Slower devices drop the ambient layers. */
.low-power .hero__media img,
.low-power .hero__stripes,
.low-power .to-top svg {
  animation: none;
}

.low-power .hero__motes {
  display: none;
}

@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;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__motes,
  .hero__stripes {
    display: none;
  }
  .btn:hover,
  .card--link:hover,
  .icard:hover,
  .steps li:hover,
  .fab__btn:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   18. Utilities and responsive
   -------------------------------------------------------------------------- */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-l {
  margin-top: clamp(26px, 3.4vw, 40px);
}
.center {
  text-align: center;
}
.muted {
  color: var(--ink-faint);
  font-size: 0.88rem;
}
.on-dark .muted {
  color: #9aa2a6;
}

[hidden] {
  display: none !important;
}

@media (max-width: 899px) {
  .feature__badge {
    right: 12px;
    bottom: -16px;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn,
  .cta-band__actions .btn {
    width: 100%;
  }
  .feature__badge {
    position: static;
    max-width: none;
    margin-top: 14px;
  }
}

@media print {
  .site-header,
  .topbar,
  .fab,
  .mobile-nav,
  .cta-band,
  .lightbox {
    display: none !important;
  }
  body {
    padding-bottom: 0;
  }
}
