/* =========================================================================
   FIRLOW — main stylesheet
   One file, organised top to bottom:
   1. Brand tokens (edit colours/fonts here — nowhere else)
   2. Reset & base
   3. Type
   4. Layout helpers
   5. Buttons & links
   6. Nav
   7. Growth rings signature
   8. Hero
   9. Sections (mission, services, work, values, CTA)
   10. Cards
   11. Footer
   12. WhatsApp floating button
   13. Work grid + filters
   14. Case study page
   15. Contact page + form
   16. Scroll reveal / motion
   17. Responsive
   ========================================================================= */

/* ------------------------------------------------------------------------
   1. BRAND TOKENS
   Everything on-brand lives here. Change a colour or font once, it updates
   the whole site. Do not hard-code these values anywhere else in the CSS.
   ------------------------------------------------------------------------ */
:root {
  /* Colours */
  --pine: #0E2A22;         /* primary canvas */
  --pine-lifted: #123528;  /* cards / surfaces */
  --lime: #B6FF3B;         /* signal lime — text + accent, the only light colour */
  --ink: #16110F;          /* deepest dark sections */

  --lime-soft: rgba(182, 255, 59, 0.72);   /* secondary text */
  --lime-muted: rgba(182, 255, 59, 0.45);  /* faint text */
  --lime-border: rgba(182, 255, 59, 0.35); /* outlines */
  --lime-wash: rgba(182, 255, 59, 0.14);   /* subtle fills */
  --line: rgba(182, 255, 59, 0.12);        /* hairline dividers */

  /* Fonts */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
  --nav-height: 76px;

  /* Motion */
  --ease: cubic-bezier(.16, .84, .32, 1);
  --dur-fast: 220ms;
  --dur: 480ms;
  --dur-slow: 900ms;
}

/* ------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--pine);
  color: var(--lime);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Visible keyboard focus, always */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

::selection { background: var(--lime); color: var(--ink); }

/* ------------------------------------------------------------------------
   3. TYPE
   ------------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--lime);
}

.h-display {
  font-size: clamp(2.6rem, 6vw + 1rem, 5.4rem);
}
.h-1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }
.h-2 { font-size: clamp(1.6rem, 2.4vw + 1rem, 2.3rem); }

.italic-accent {
  font-style: italic;
  color: var(--lime);
}

.lede {
  font-weight: 300;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.2rem);
  color: var(--lime-soft);
  max-width: 46ch;
}

.text-muted { color: var(--lime-soft); }

/* ------------------------------------------------------------------------
   4. LAYOUT HELPERS
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section--ink { background: var(--ink); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  gap: 1rem;
}
.section-head--center { margin-inline: auto; text-align: center; }

.stack { display: grid; gap: var(--gap, 1rem); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--lime);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ------------------------------------------------------------------------
   5. BUTTONS & LINKS
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: var(--lime);
  color: var(--ink);
}
.btn--accent:hover { background: #c9ff66; }

.btn--outline {
  border: 1px solid var(--lime-border);
  color: var(--lime);
}
.btn--outline:hover { border-color: var(--lime); background: var(--lime-wash); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  color: var(--lime);
  border-bottom: 1px solid transparent;
  transition: gap var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.link-arrow:hover { gap: 0.85em; border-color: var(--lime-border); }

/* Wordmark + fir|low hover split (pure CSS, no JS required) */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: lowercase;
  color: var(--lime);
}
.wordmark .bar {
  display: inline-block;
  width: 0;
  opacity: 0;
  color: var(--lime);
  transition: width var(--dur) var(--ease), opacity var(--dur) var(--ease);
  overflow: hidden;
}
.wordmark:hover .bar,
.wordmark:focus-visible .bar {
  width: 0.42em;
  opacity: 1;
}
.wordmark .fir { transition: transform var(--dur) var(--ease); }
.wordmark .low { transition: transform var(--dur) var(--ease); }
.wordmark:hover .fir, .wordmark:focus-visible .fir { transform: translateX(-0.06em); }
.wordmark:hover .low, .wordmark:focus-visible .low { transform: translateX(0.06em); }

/* ------------------------------------------------------------------------
   6. NAV
   ------------------------------------------------------------------------ */
.site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), backdrop-filter var(--dur-fast) var(--ease);
}
.site-nav.is-scrolled {
  background: rgba(14, 42, 34, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav .wordmark { font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
}
/* :not(.btn) keeps these contextual link styles off the "Start a
   project" button sharing this container — without it, this selector's
   higher specificity silently overrides .btn--accent's text colour,
   producing lime text on a lime background (a button that looks blank
   but is still clickable). */
.nav-links a:not(.btn) {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--lime-soft);
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--lime);
  transition: right var(--dur-fast) var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn)[aria-current="page"] {
  color: var(--lime);
}
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn)[aria-current="page"]::after { right: 0; }

.nav-cta { margin-inline-start: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 22px; height: 1px;
  background: var(--lime);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------------
   7. GROWTH RINGS SIGNATURE
   Concentric fir-trunk rings, thin lime strokes, low opacity.
   pathLength="1" is set on each circle in the markup so every ring can
   share the same 0→1 dash animation regardless of its radius.
   ------------------------------------------------------------------------ */
.growth-rings {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}
.growth-rings circle {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.growth-rings.is-drawn circle {
  animation: ring-draw var(--dur-slow) var(--ease) forwards;
}
.growth-rings circle:nth-child(1)  { opacity: .55; animation-delay: 0ms; }
.growth-rings circle:nth-child(2)  { opacity: .48; animation-delay: 70ms; }
.growth-rings circle:nth-child(3)  { opacity: .42; animation-delay: 140ms; }
.growth-rings circle:nth-child(4)  { opacity: .36; animation-delay: 210ms; }
.growth-rings circle:nth-child(5)  { opacity: .30; animation-delay: 280ms; }
.growth-rings circle:nth-child(6)  { opacity: .24; animation-delay: 350ms; }
.growth-rings circle:nth-child(7)  { opacity: .18; animation-delay: 420ms; }
.growth-rings circle:nth-child(8)  { opacity: .13; animation-delay: 490ms; }
.growth-rings circle:nth-child(9)  { opacity: .09; animation-delay: 560ms; }

@keyframes ring-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero .growth-rings {
  inset-inline-end: clamp(-260px, -18vw, -60px);
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: min(880px, 90vw);
  height: min(880px, 90vw);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: grid;
  gap: 1.6rem;
}
.hero .wordmark {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1;
}
.hero-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.4vw + 0.8rem, 1.6rem);
  color: var(--lime);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.hero-scroll-cue {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 3rem);
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-muted);
}
.hero-scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--lime), transparent);
}

/* ------------------------------------------------------------------------
   9. SECTIONS
   ------------------------------------------------------------------------ */
.mission-statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw + 0.8rem, 3.1rem);
  line-height: 1.25;
  max-width: 18ch;
}

.services-grid, .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-tile, .value-tile {
  background: var(--pine);
  padding: 2.2rem 1.8rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  transition: background var(--dur-fast) var(--ease);
}
.section--ink .service-tile, .section--ink .value-tile { background: var(--ink); }
.service-tile:hover, .value-tile:hover { background: var(--pine-lifted); }
.service-tile .num, .value-tile .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime);
  font-size: 1.1rem;
}
.service-tile h3, .value-tile h3 { font-size: 1.25rem; font-weight: 500; }
.service-tile p, .value-tile p { color: var(--lime-soft); font-size: 0.95rem; }
.service-tile { cursor: pointer; }

.cta-band {
  text-align: center;
  display: grid;
  gap: 1.75rem;
  justify-items: center;
}

/* ------------------------------------------------------------------------
   10. CARDS (work / services detail)
   ------------------------------------------------------------------------ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.work-card {
  display: block;
  background: var(--pine-lifted);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.work-card:hover { transform: translateY(-4px); border-color: var(--lime-border); }
.work-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body { padding: 1.5rem 1.5rem 1.75rem; display: grid; gap: 0.5rem; }
.work-card__cat {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.work-card__title { font-size: 1.35rem; font-weight: 500; }
.work-card__summary { color: var(--lime-soft); font-size: 0.92rem; }

/* Services detail blocks */
.service-detail {
  display: grid;
  gap: 3rem;
}
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime);
  font-size: 1.1rem;
}
.service-block h3 { margin-top: 0.4rem; }
.service-block .includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
}
.service-block .includes span {
  font-size: 0.8rem;
  color: var(--lime-soft);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
}

/* ------------------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(6.5rem, 8vw, 5rem);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: grid; gap: 0.75rem; }
.footer-brand .wordmark { font-size: 1.75rem; }
.footer-brand .slogan {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime);
  font-size: 0.95rem;
}
.footer-nav {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.footer-nav h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-muted);
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-nav ul { display: grid; gap: 0.6rem; }
.footer-nav a { color: var(--lime-soft); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--lime); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--lime-muted);
}
.social-row { display: flex; gap: 1.25rem; }
.social-row a { color: var(--lime-soft); }
.social-row a:hover { color: var(--lime); }

/* ------------------------------------------------------------------------
   12. WHATSAPP FLOATING BUTTON
   Fixed bottom-right on every page. Docks above the footer instead of
   overlapping it once the footer scrolls into view (see main.js).
   ------------------------------------------------------------------------ */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform var(--dur-fast) var(--ease), bottom var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.04); background: #c9ff66; }
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab.is-docked {
  position: absolute;
  bottom: auto;
  top: -29px;
}

/* ------------------------------------------------------------------------
   13. WORK GRID + FILTERS
   ------------------------------------------------------------------------ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter-btn {
  padding: 0.55em 1.2em;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--lime-soft);
  transition: all var(--dur-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--lime-border); color: var(--lime); }
.filter-btn[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.work-empty {
  padding: 3rem 0;
  color: var(--lime-muted);
  text-align: center;
}

/* ------------------------------------------------------------------------
   14. CASE STUDY PAGE
   ------------------------------------------------------------------------ */
.case-hero {
  padding-top: calc(var(--nav-height) + clamp(3rem, 6vw, 5rem));
  padding-bottom: 0;
}
.case-hero__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: 1rem;
  color: var(--lime-soft);
  font-size: 0.95rem;
}
.case-hero__media {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}
.case-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.case-block { max-width: 62ch; }
.case-block + .case-block { margin-top: 1rem; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.result-stat {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--lime);
  line-height: 1;
}
.result-label {
  margin-top: 0.6rem;
  color: var(--lime-soft);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--ink);
}

.credits-list { display: grid; gap: 0.75rem; max-width: 46ch; }
.credits-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.credits-list .role { color: var(--lime-soft); }

.case-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem);
  max-width: 32ch;
  line-height: 1.4;
}
.case-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--lime-soft);
}

.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.case-nav__next span { display: block; color: var(--lime-muted); font-size: 0.8rem; margin-bottom: 0.4rem; }
.case-nav__next strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }

/* ------------------------------------------------------------------------
   15. CONTACT PAGE + FORM
   ------------------------------------------------------------------------ */
.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem;
  background: var(--pine-lifted);
  border: 1px solid var(--line);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.contact-option:hover { border-color: var(--lime-border); transform: translateY(-2px); }
.contact-option__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime-wash);
  color: var(--lime);
  flex-shrink: 0;
}
.contact-option__icon svg { width: 22px; height: 22px; }
.contact-option strong { display: block; font-size: 1.05rem; }
.contact-option span { color: var(--lime-soft); font-size: 0.88rem; }

.contact-form {
  display: grid;
  gap: 1.4rem;
  max-width: 640px;
}
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--lime-soft);
}
.field input,
.field textarea {
  background: var(--pine-lifted);
  border: 1px solid var(--line);
  color: var(--lime);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus, .field textarea:focus {
  border-color: var(--lime);
  outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }

/* Honeypot: hidden from sighted users and hidden from AT, but still
   present in the DOM/tab order-free so bots that auto-fill every field
   still trip it. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 0.92rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { border-color: var(--lime); color: var(--lime); }
.form-status--error { border-color: #c96a4a; color: #e2937a; }

.turnstile-slot { min-height: 65px; }

/* ------------------------------------------------------------------------
   16. SCROLL REVEAL / MOTION
   Progressive enhancement: content is fully visible with no JS. Once JS
   confirms it's running (html.js), reveal targets start hidden and fade
   up into place as they enter the viewport.
   ------------------------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.js [data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

@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;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .growth-rings circle { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------------------ */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  }
  .nav-links.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .nav-links a:not(.btn) { font-size: 1.3rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links .nav-cta { display: inline-flex; margin-top: 1rem; }

  .service-block { grid-template-columns: 1fr; }
  .case-hero__meta { gap: 1rem; }
}

@media (max-width: 560px) {
  .footer-top { flex-direction: column; }
  .whatsapp-fab { width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 25px; height: 25px; }
}
