/* ============================================================
   MENDES MOTA — Serviços Especializados
   Industrial-editorial design system.
   Type: Archivo (display) · IBM Plex Sans (body) · IBM Plex Mono (data)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand (sampled from the logo) */
  --forest:        #3C6928;   /* deep authority green */
  --forest-deep:   #2E5220;
  --green:         #75AE4D;   /* signature accent */
  --green-bright:  #8BC65B;   /* accent on dark */
  --green-tint:    #E6F0DC;

  /* Neutrals — warm "concrete" scale */
  --ink:           #14150F;   /* near-black, warm charcoal */
  --graphite:      #24261E;
  --slate:         #4A4C42;
  --muted:         #6E6E6E;   /* brand gray */
  --line:          #D9D6CC;
  --line-soft:     #E7E4DB;
  --concrete:      #E9E6DD;   /* section tint */
  --paper:         #FAF9F5;   /* page bg */
  --paper-pure:    #FFFFFF;
  --on-dark:       #F3F1E9;
  --on-dark-dim:   #A9AA9E;

  /* Roles */
  --bg:            var(--paper);
  --fg:            var(--ink);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* Fluid scale */
  --step-hero: clamp(2.9rem, 1.4rem + 6.6vw, 6.4rem);
  --step-h2:   clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
  --step-h3:   clamp(1.3rem, 1.05rem + 1vw, 1.7rem);
  --step-lead: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  --step-body: 1.0625rem;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(4.5rem, 3rem + 8vw, 9rem);
  --maxw: 1280px;

  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--green); color: var(--ink); }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.dark .eyebrow { color: var(--green-bright); }
.eyebrow::before {
  content: "";
  width: 1.9rem; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-h2); margin-top: 1.1rem; }
.section-head p { color: var(--slate); font-size: var(--step-lead); margin-top: 1.2rem; }
.dark .section-head p { color: var(--on-dark-dim); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(46,82,32,0.6); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--green); --btn-fg: var(--ink); }
.btn--accent:hover { background: var(--green-bright); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--fg);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: none; }
.dark .btn--ghost, .hero .btn--ghost, .orcamento .btn--ghost { --btn-fg: var(--on-dark); border-color: rgba(243,241,233,0.28); }
.dark .btn--ghost:hover, .hero .btn--ghost:hover, .orcamento .btn--ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* Text link with animated underline */
.link {
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--forest);
  display: inline-flex; align-items: center; gap: 0.5em;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }
.dark .link { color: var(--green-bright); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header.scrolled {
  background: rgba(250,249,245,0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 0.75rem; z-index: 2; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
.site-header:not(.scrolled) .logo-dark { display: none; }
.site-header:not(.scrolled) .logo-light { display: block; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav-links { display: flex; gap: clamp(1.2rem, 2.5vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.03em;
  color: var(--on-dark); opacity: 0.85; position: relative; padding: 0.3em 0;
  transition: opacity 0.3s var(--ease);
}
.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--green); transition: width 0.35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: inline-flex; }
.nav-toggle { display: none; }

/* Mobile overlay menu — hidden on desktop, shown as full-screen panel on mobile */
.mobile-menu { display: none; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px; z-index: 2;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--on-dark); transition: transform 0.35s var(--ease), opacity 0.3s; }
  .site-header.scrolled .nav-toggle span { background: var(--ink); }
  .menu-open .nav-toggle span { background: var(--on-dark); }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed; inset: 0; background: var(--ink); z-index: 90;
    display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
    padding: var(--gutter);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: none; }
  .mobile-menu a {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 9vw, 3.2rem);
    color: var(--on-dark); letter-spacing: -0.02em; padding: 0.1em 0;
  }
  .mobile-menu a span { font-family: var(--font-mono); font-size: 0.9rem; color: var(--green-bright); margin-right: 0.8rem; font-weight: 500; }
  .mobile-menu .m-contact { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.9rem; color: var(--on-dark-dim); text-transform: none; }
  .mobile-menu .m-contact a { font-size: 1rem; font-family: var(--font-mono); color: var(--on-dark); display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero::before { /* concrete hatch texture */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(120% 90% at 85% -10%, rgba(117,174,77,0.16), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40 L40 0' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: clamp(9rem, 16vh, 12rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero-eyebrow { color: var(--green-bright); margin-bottom: 1.8rem; }
.hero h1 {
  font-size: var(--step-hero); font-weight: 800; letter-spacing: -0.03em;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--green-bright); }
.hero-lead { margin-top: 1.8rem; max-width: 52ch; font-size: var(--step-lead); color: var(--on-dark-dim); line-height: 1.55; }
.hero-actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; padding-bottom: 0.5rem; }
.hero-mark { width: clamp(120px, 14vw, 190px); opacity: 0.96; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }
.hero-contact { text-align: right; font-family: var(--font-mono); font-size: 0.85rem; color: var(--on-dark-dim); line-height: 1.9; }
.hero-contact a { color: var(--on-dark); }
.hero-contact a:hover { color: var(--green-bright); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-aside { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; margin-top: 2.5rem; }
  .hero-mark { width: 92px; }
  .hero-contact { text-align: left; }
}

/* ---------- Stats band ---------- */
.stats { background: var(--ink); border-top: 1px solid rgba(243,241,233,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.8rem, 3vw, 2.8rem) clamp(1rem, 2vw, 2rem); border-left: 1px solid rgba(243,241,233,0.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--on-dark); letter-spacing: -0.02em; line-height: 1; }
.stat .num small { color: var(--green-bright); font-size: 0.55em; }
.stat .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-dim); margin-top: 0.9rem; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid rgba(243,241,233,0.1); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-lead { font-family: var(--font-display); font-weight: 700; font-size: var(--step-h3); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.about-body p { color: var(--slate); margin-bottom: 1.3rem; max-width: 60ch; }
.about-body p:last-child { margin-bottom: 0; }
.about-note {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--green);
  background: var(--green-tint); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem; color: var(--forest-deep);
}
.about-note strong { font-weight: 600; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ============================================================
   SERVIÇOS — photo-background cards
   ============================================================ */
.ciclo { background: var(--concrete); position: relative; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
}
.svc {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 4.7; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border-radius: var(--radius); color: var(--on-dark);
  /* fallback texture shown until the photo loads / if it is missing */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 24 L24 0' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(150deg, #2b2d23, #3a3d30);
}
.svc-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.svc::after { /* legibility gradient */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,21,15,0.12) 0%, rgba(20,21,15,0.5) 52%, rgba(20,21,15,0.92) 100%);
}
.svc:hover .svc-img { transform: scale(1.06); }
.svc-num {
  position: absolute; top: clamp(1rem, 2vw, 1.4rem); left: clamp(1rem, 2vw, 1.4rem); z-index: 1;
  width: 2.5rem; height: 2.5rem; border-radius: 4px;
  background: var(--green); color: var(--ink);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem;
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease);
}
.svc:hover .svc-num { transform: translateY(-3px); }
.svc h3 { font-size: var(--step-h3); color: #fff; }
.svc h3::after { content: ""; display: block; width: 2.2rem; height: 2px; background: var(--green); margin-top: 0.8rem; }
.svc p { color: rgba(243,241,233,0.86); margin-top: 0.9rem; font-size: 0.94rem; line-height: 1.5; }
/* CTA tile (6th cell) */
.svc--cta {
  background: var(--forest); justify-content: center; aspect-ratio: auto;
}
.svc--cta::after { display: none; }
.svc--cta h3 { color: #fff; }
.svc--cta h3::after { display: none; }
.svc--cta p { color: rgba(255,255,255,0.85); margin-top: 0.8rem; }
.svc--cta .link { color: #fff; margin-top: 1.4rem; }
@media (max-width: 820px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } .svc { aspect-ratio: 4 / 3; } }

/* ============================================================
   COMPROMISSO
   ============================================================ */
.compromisso { background: var(--ink); color: var(--on-dark); }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(243,241,233,0.1); border: 1px solid rgba(243,241,233,0.1); border-radius: var(--radius); overflow: hidden; }
.commit {
  background: var(--ink); padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: background 0.4s var(--ease);
}
.commit:hover { background: var(--graphite); }
.commit .c-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--green-bright); letter-spacing: 0.1em; }
.commit h3 { font-size: 1.35rem; margin-top: 1.1rem; color: var(--on-dark); letter-spacing: -0.01em; }
.commit p { color: var(--on-dark-dim); margin-top: 0.8rem; font-size: 0.97rem; }
.compromisso .cta-row { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
@media (max-width: 900px) { .commit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .commit-grid { grid-template-columns: 1fr; } }

/* ============================================================
   OBRAS (gallery / placeholders)
   ============================================================ */
.obras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.5vw, 1.2rem); }
.obra {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, #2a2c22, #3b3e31);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.obra.tall { aspect-ratio: 4 / 5; }
.obra::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 24 L24 0 M-6 6 L6 -6 M18 30 L30 18' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
}
.obra-label { position: relative; text-align: center; color: var(--on-dark-dim); padding: 1rem; }
.obra-label .pin { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-bright); }
.obra-label .txt { font-size: 0.86rem; margin-top: 0.5rem; opacity: 0.7; }
.obras-note {
  margin-top: 1.8rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.6rem;
}
@media (max-width: 820px) { .obras-grid { grid-template-columns: repeat(2, 1fr); } .obra.tall { aspect-ratio: 4/3; } }
@media (max-width: 480px) { .obras-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PARCEIROS
   ============================================================ */
.parceiros { background: var(--paper-pure); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.parceiros .wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.parceiros h2 { font-size: var(--step-h3); color: var(--ink); }
.parceiros .lead-mono { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em; margin-top: 1rem; max-width: 32ch; text-transform: none; line-height: 1.7; }
.logos { display: flex; flex-wrap: wrap; gap: 0.6rem 0; }
.logos span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: var(--slate); letter-spacing: -0.01em; padding: 0.35em 1.1em 0.35em 0;
  margin-right: 1.1em; border-right: 1px solid var(--line); line-height: 1;
  transition: color 0.3s var(--ease);
}
.logos span:hover { color: var(--forest); }
.logos span:last-child { border-right: 0; }
@media (max-width: 760px) { .parceiros .wrap { grid-template-columns: 1fr; } }

/* ============================================================
   ORÇAMENTO (form)
   ============================================================ */
.orcamento { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.orcamento::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 100% 0%, rgba(117,174,77,0.14), transparent 55%);
  pointer-events: none;
}
.orc-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.orc-intro h2 { font-size: var(--step-h2); color: var(--on-dark); }
.orc-intro p { color: var(--on-dark-dim); margin-top: 1.4rem; font-size: var(--step-lead); max-width: 40ch; }
.orc-perks { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 0.9rem; }
.orc-perks li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; color: var(--on-dark); }
.orc-perks svg { flex: none; margin-top: 2px; color: var(--green-bright); }

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-dim); }
.field label .req { color: var(--green-bright); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--on-dark);
  background: rgba(243,241,233,0.05); border: 1px solid rgba(243,241,233,0.18);
  border-radius: var(--radius); padding: 0.8em 0.9em; width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A9AA9E' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169,170,158,0.6); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-bright); background: rgba(243,241,233,0.08); outline: none; }
.field select option { background: var(--ink); color: var(--on-dark); }
.form .btn { justify-content: center; margin-top: 0.4rem; }
.form-note { font-family: var(--font-mono); font-size: 0.74rem; color: var(--on-dark-dim); text-align: center; }
.form-note a { color: var(--green-bright); }
.form-status { font-size: 0.92rem; padding: 0.9em 1em; border-radius: var(--radius); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(117,174,77,0.15); color: var(--green-bright); border: 1px solid rgba(117,174,77,0.4); }
.form-status.err { background: rgba(200,80,60,0.15); color: #f0a89a; border: 1px solid rgba(200,80,60,0.4); }
@media (max-width: 820px) { .orc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0D0E09; color: var(--on-dark); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(243,241,233,0.1); }
.footer-brand img { height: 34px; margin-bottom: 1.4rem; }
.footer-brand p { color: var(--on-dark-dim); max-width: 34ch; font-size: 0.95rem; }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 1.2rem; }
.footer .contact-list { display: grid; gap: 0.7rem; }
.footer .contact-list a, .footer .contact-list span { color: var(--on-dark); font-size: 0.98rem; line-height: 1.5; }
.footer .contact-list a:hover { color: var(--green-bright); }
.footer .contact-list .sub { color: var(--on-dark-dim); font-size: 0.82rem; font-family: var(--font-mono); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.8rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--on-dark-dim); letter-spacing: 0.04em;
}
.footer-legal .reg { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-credit {
  text-align: center; padding-block: 1.5rem 1.8rem;
  border-top: 1px solid rgba(243,241,233,0.07);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--on-dark-dim);
}
.footer-credit strong { color: var(--on-dark); font-weight: 500; letter-spacing: 0.16em; }
.footer-credit a { color: inherit; }
.footer-credit a:hover strong { color: var(--green-bright); }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   Scroll-reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   MULTIPAGE — nav active state, page headers, bands
   ============================================================ */
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { width: 100%; }

/* Inner-page dark header banner */
.page-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(120% 90% at 88% -20%, rgba(117,174,77,0.16), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40 L40 0' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
}
.page-hero .wrap { position: relative; padding-top: clamp(8rem, 15vh, 11rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero .crumbs { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 1.4rem; }
.page-hero .crumbs a { color: var(--green-bright); }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); letter-spacing: -0.03em; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--green-bright); }
.page-hero .lead { margin-top: 1.6rem; max-width: 56ch; font-size: var(--step-lead); color: var(--on-dark-dim); line-height: 1.55; }

/* Full-width CTA band */
.cta-band { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40 L40 0' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
}
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 2.5rem; }
.cta-band h2 { font-size: var(--step-h2); color: #fff; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 0.9rem; max-width: 44ch; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-band .btn--accent { --btn-bg: #fff; --btn-fg: var(--forest); border-color: #fff; }
.cta-band .btn--accent:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }

/* Home: make service cards act as links */
a.svc { color: var(--on-dark); text-decoration: none; }
a.svc .svc-arrow {
  position: absolute; top: clamp(1rem, 2vw, 1.4rem); right: clamp(1rem, 2vw, 1.4rem); z-index: 1;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(243,241,233,0.35);
  display: grid; place-items: center; color: #fff; transition: background 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
a.svc:hover .svc-arrow { background: var(--green); color: var(--ink); border-color: var(--green); transform: translate(2px,-2px); }

/* Contact page: info column */
.contact-info { display: grid; gap: 1.8rem; }
.contact-info .info-block h4 { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 0.7rem; }
.contact-info .info-block a, .contact-info .info-block p { color: var(--on-dark); font-size: 1.02rem; line-height: 1.5; }
.contact-info .info-block a:hover { color: var(--green-bright); }
.contact-info .hours { font-family: var(--font-mono); font-size: 0.85rem; color: var(--on-dark-dim); }
.map-embed { margin-top: 1.6rem; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(243,241,233,0.15); aspect-ratio: 16/7; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* Crew photo band */
.crew-band { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 60vh, 620px); display: flex; align-items: center; }
.crew-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.crew-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,21,15,0.92) 0%, rgba(20,21,15,0.75) 40%, rgba(20,21,15,0.35) 100%); }
.crew-band > .crew-overlay { width: 100%; }
.crew-band .wrap { width: 100%; padding-block: clamp(3rem, 6vw, 5rem); }
.crew-band h2 { color: #fff; font-size: var(--step-h2); max-width: 18ch; margin-top: 1.1rem; }
.crew-band p { color: rgba(243,241,233,0.85); margin-top: 1.3rem; max-width: 50ch; font-size: var(--step-lead); line-height: 1.55; }
.crew-band .btn { margin-top: 2rem; }
.crew-band .eyebrow { color: var(--green-bright); }

/* 3-up commitment grid (home teaser & pages) */
.commit-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .commit-grid--3 { grid-template-columns: 1fr; } }

/* Services page — alternating detail rows */
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem);
  border-top: 1px solid var(--line-soft); scroll-margin-top: 90px;
}
.service-row:first-of-type { border-top: 0; }
.service-media { position: relative; aspect-ratio: 4/3.2; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg,#2b2d23,#3a3d30); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-row:hover .service-media img { transform: scale(1.04); }
.service-media .tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--green); color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4em 0.8em; border-radius: 3px; }
.service-row.reverse .service-media { order: 2; }
.s-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,5vw,3.4rem); color: var(--green); line-height: 1; letter-spacing: -0.02em; }
.service-body h2 { font-size: var(--step-h2); color: var(--ink); margin-top: 0.6rem; }
.service-body p { color: var(--slate); margin-top: 1.1rem; max-width: 54ch; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink); font-size: 0.98rem; }
.checks svg { flex: none; margin-top: 3px; color: var(--forest); }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 1.6rem; padding-block: clamp(2.5rem,7vw,3.5rem); }
  .service-row.reverse .service-media { order: 0; }
}
