/* Classic Drywall — liquid glass theme
   Black + green palette pulled from the logo. */

:root {
  --bg: #07090a;
  --bg-2: #0c1010;
  --bg-3: #11181a;
  --green: #5cf08a;
  --green-edge: #22ff77;
  --green-deep: #117d3a;
  --green-glow: rgba(92, 240, 138, 0.35);
  --green-tint: rgba(92, 240, 138, 0.08);
  --text: #f3f6f3;
  --text-dim: rgba(243, 246, 243, 0.72);
  --text-faint: rgba(243, 246, 243, 0.5);
  --text-low: rgba(243, 246, 243, 0.38);

  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --glass-3: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --inner-hi: inset 0 1px 0 rgba(255, 255, 255, 0.09);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-glow: 0 12px 60px -12px var(--green-glow);
  --shadow-card: 0 30px 60px -30px rgba(0, 0, 0, 0.6),
                 0 8px 24px -8px rgba(0, 0, 0, 0.4);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t-med: 280ms;

  --container: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
               system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ambient light — subtle green glow blobs behind content */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(120px);
  opacity: 0.45;
}
body::before {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--green-glow), transparent 60%);
}
body::after {
  bottom: -20%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle,
              rgba(34, 255, 119, 0.18),
              transparent 60%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--green-edge); }

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.01em; }
p  { margin: 0 0 1em; color: var(--text-dim); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* ──────── header ──────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(to bottom,
              rgba(7, 9, 10, 0.85),
              rgba(7, 9, 10, 0.55) 70%,
              transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.15rem 0;
}
.brand img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  filter: drop-shadow(0 0 14px rgba(92, 240, 138, 0.18));
  transition: filter var(--t-fast) var(--ease);
}
@media (max-width: 720px) {
  .brand img { height: 42px; }
}
.brand:hover img { filter: drop-shadow(0 0 18px rgba(92, 240, 138, 0.35)); }
.brand__tag {
  display: none;
  border-left: 1px solid var(--border);
  padding-left: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  line-height: 1.2;
}
@media (min-width: 720px) {
  .brand__tag { display: inline-block; }
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav a:hover { color: var(--text); background: var(--glass); }
.nav a.is-active { color: var(--text); background: var(--glass-2); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  margin-left: 0.5rem;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #061a0d !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px -6px var(--green-glow), var(--inner-hi);
}
.nav-cta:hover { background: var(--green-edge); color: #061a0d !important; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  background: rgba(7, 9, 10, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  color: var(--text);
  border-radius: var(--r-pill);
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100dvh;
    padding-top: calc(env(safe-area-inset-top) + 76px);
    flex-direction: column;
    align-items: stretch;
    padding-inline: var(--pad-x);
    padding-bottom: calc(env(safe-area-inset-bottom) + 2rem);
    background: var(--bg);
    background-image:
      radial-gradient(circle at 0% 0%, rgba(92,240,138,0.08), transparent 60%),
      radial-gradient(circle at 100% 100%, rgba(34,255,119,0.06), transparent 60%);
    gap: 0.5rem;
    z-index: 90;
    overflow-y: auto;
  }
  .nav.is-open a {
    padding: 1.1rem 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    background: var(--glass-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    letter-spacing: -0.005em;
  }
  .nav.is-open a:hover,
  .nav.is-open a.is-active {
    background: var(--glass-3);
    border-color: rgba(92, 240, 138, 0.35);
    color: var(--green);
  }
  .nav.is-open .nav-cta {
    margin-left: 0;
    margin-top: 0.75rem;
    justify-content: center;
    padding: 1.1rem 1.25rem;
    font-size: 1.05rem;
    color: #061a0d !important;
    background: var(--green);
    border-color: transparent;
  }
  .nav.is-open .nav-cta:hover { background: var(--green-edge); border-color: transparent; }
}

/* ──────── glass primitives ──────── */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-card), var(--inner-hi);
}
.glass-strong {
  background: var(--glass-2);
  border-color: var(--border-strong);
}
.glass--hover {
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              background var(--t-med) var(--ease);
}
.glass--hover:hover {
  transform: translateY(-3px);
  background: var(--glass-2);
  border-color: rgba(92, 240, 138, 0.35);
}

/* ──────── buttons ──────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: #061a0d;
  box-shadow: 0 14px 40px -10px var(--green-glow), var(--inner-hi);
}
.btn-primary:hover { background: var(--green-edge); color: #061a0d; }

.btn-glass {
  background: var(--glass-2);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn-glass:hover { background: var(--glass-3); border-color: rgba(92,240,138,0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-strong); background: var(--glass); }

.btn-lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* ──────── eyebrow / chip ──────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  border: 1px solid rgba(92, 240, 138, 0.25);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

/* ──────── sections ──────── */
section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; scroll-margin-top: 90px; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* ──────── grid helpers ──────── */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ──────── cards ──────── */
.card {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card h3 { margin-bottom: 0.25rem; }
.card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-tint);
  border: 1px solid rgba(92,240,138,0.3);
  color: var(--green);
  margin-bottom: 0.75rem;
}
.card .icon svg { width: 24px; height: 24px; }

.card p { color: var(--text-dim); margin: 0; flex: 1; }
.card a.more {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ──────── hero ──────── */
.hero {
  padding-top: clamp(7rem, calc(80px + 6vw), 11rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  scroll-margin-top: 100px;
}

/* hero variant with a featured photo card on the right + clean headline on the left */
.hero--split { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-split__copy { min-width: 0; }
.hero-split__copy .lead { max-width: 32rem; }

.hero-split__photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 60px -20px var(--green-glow),
    var(--inner-hi);
  aspect-ratio: 16/11;
  isolation: isolate;
}
.hero-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}
/* a soft dark-green tint so the photo blends with the theme without losing detail */
.hero-split__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,9,10,0.18) 0%, transparent 35%, transparent 65%, rgba(92,240,138,0.10) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(7,9,10,0.45) 0%, transparent 60%);
  pointer-events: none;
}
.hero-split__pin {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(7, 9, 10, 0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  z-index: 1;
}
.hero-split__pin svg { color: var(--green); flex-shrink: 0; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-split__photo { order: -1; aspect-ratio: 16/10; }
}

/* legacy full-bleed photo hero variant — kept in case we want it elsewhere */
.hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 540px;
}
.hero--photo .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero--photo .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 60%;
  filter: saturate(0.55) contrast(1.1) brightness(0.85);
}
/* heavy dark overlay — left 60% is near-opaque to anchor the headline,
   right side fades toward visible photo where the helicopter sits */
.hero--photo .hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(7,9,10,0.98) 0%,
      rgba(7,9,10,0.95) 30%,
      rgba(7,9,10,0.78) 55%,
      rgba(7,9,10,0.5)  85%,
      rgba(7,9,10,0.45) 100%),
    linear-gradient(to bottom,
      rgba(7,9,10,0.35) 0%,
      rgba(7,9,10,0.15) 40%,
      rgba(7,9,10,0.55) 80%,
      rgba(7,9,10,0.97) 100%),
    radial-gradient(ellipse at 50% 50%,
      transparent 0%, rgba(7,9,10,0.35) 100%);
  pointer-events: none;
}
/* subtle green wash on highlights */
.hero--photo .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 55%,
              rgba(92, 240, 138, 0.14) 0%,
              transparent 55%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero--photo .hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero--photo .hero__content h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero--photo .hero__content .lead {
  max-width: 36rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* address pin floating on the photo */
.hero--photo .hero__pin {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  background: rgba(7, 9, 10, 0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  z-index: 2;
}
.hero--photo .hero__pin svg { color: var(--green); flex-shrink: 0; }

@media (max-width: 720px) {
  .hero--photo { min-height: 520px; }
  .hero--photo .hero__bg::before {
    background:
      linear-gradient(180deg,
        rgba(7,9,10,0.85) 0%,
        rgba(7,9,10,0.6)  35%,
        rgba(7,9,10,0.65) 60%,
        rgba(7,9,10,0.97) 100%);
  }
  .hero--photo .hero__bg img {
    object-position: 65% 55%;
    filter: saturate(0.5) contrast(1.05) brightness(0.7);
  }
  .hero--photo .hero__pin {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.72rem;
    padding: 0.4rem 0.7rem;
  }
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green) 30%, var(--green-edge));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 38rem;
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ──────── stat row ──────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  border-radius: var(--r-lg);
  background: var(--border);
  overflow: hidden;
}
.stats > div {
  background: var(--bg-2);
  padding: 1.5rem;
  text-align: center;
}
.stats strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stats span { color: var(--text-dim); font-size: 0.92rem; }

/* ──────── path-cards (dual hero) ──────── */
.path-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.path-card {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}
.path-card .label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
.path-card h3 { font-size: 1.4rem; }
.path-card .arrow {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.path-card .arrow::after {
  content: "→";
  display: inline-block;
  transition: transform var(--t-fast) var(--ease);
}
.path-card:hover .arrow::after { transform: translateX(4px); }

/* ──────── gallery ──────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
}
.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(220px, 60vw, 320px);
  }
  .gallery figure.tall { grid-row: auto; grid-auto-rows: clamp(280px, 80vw, 400px); }
  .gallery figure.wide { grid-column: auto; }
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ──────── contact page layout ──────── */
/* DOM order on the page is info → calc → form so mobile reads naturally.
   On desktop we reflow with grid-template-areas to put calc on the right. */
.contact-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 901px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "info  calc"
      "form  calc";
    gap: 1.5rem 2rem;
    align-items: start;
  }
  .contact-grid__info { grid-area: info; }
  .contact-grid__form { grid-area: form; }
  .contact-grid__calc { grid-area: calc; position: sticky; top: 96px; }
}

/* ──────── calculator disclosure (<details>) ──────── */
details.calc-d { padding: 0; overflow: hidden; }
details.calc-d > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow chev"
    "title   chev"
    "sub     chev";
  gap: 0.2rem 1rem;
  align-items: center;
  -webkit-tap-highlight-color: rgba(92, 240, 138, 0.15);
}
details.calc-d > summary::-webkit-details-marker { display: none; }
details.calc-d > summary:hover { background: var(--glass); }
.calc-d__eyebrow {
  grid-area: eyebrow;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}
.calc-d__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.calc-d__title {
  grid-area: title;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.calc-d__sub {
  grid-area: sub;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.calc-d__chev {
  grid-area: chev;
  color: var(--green);
  transition: transform var(--t-med) var(--ease);
}
details.calc-d[open] > summary {
  border-bottom: 1px solid var(--border);
}
details.calc-d[open] > summary .calc-d__chev {
  transform: rotate(180deg);
}
.calc-d__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

/* ──────── form ──────── */
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--glass-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--glass-3);
  box-shadow: 0 0 0 4px rgba(92, 240, 138, 0.12);
}
.form-row textarea { min-height: 120px; resize: vertical; }

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

/* ──────── footer ──────── */
.site-footer {
  margin-top: 4rem;
  padding-block: 3.5rem 2.5rem;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.site-footer .grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 920px) {
  .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer .grid > div:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer .grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .site-footer .grid > div:nth-child(4) { grid-column: auto; }
  .site-footer .legal { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}
.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer ul a { color: var(--text-dim); }
.site-footer ul a:hover { color: var(--green); }
.site-footer .legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ──────── utilities ──────── */
.text-center { text-align: center; }
.text-dim { color: var(--text-dim); }
.text-green { color: var(--green); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ──────── reduced motion ──────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
