/* =========================================================
   FRZHUB Technologies Ltd — site styles
   Palette and typography derived from the company profile.
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-950: #042817;
  --green-900: #073d24;
  --green-800: #0a4a2b;
  --green-700: #0d5c35;
  --green-600: #127544;
  --lime: #9bd32b;
  --lime-bright: #b6e85a;
  --lime-soft: #c9ee8a;
  --cream: #f5f8f0;
  --cream-2: #edf3e6;
  --ink: #122019;
  --muted: #5a6a5f;
  --line: #dfe8d8;
  --white: #fff;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(6, 42, 24, .06);
  --shadow-md: 0 18px 44px rgba(6, 42, 24, .12);
  --shadow-lg: 0 30px 80px rgba(4, 32, 18, .22);
  --container: 1180px;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--green-950); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--green-950);
  font-weight: 800;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
.section { padding: 104px 0; }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--green-950);
  color: #d8e4d9;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(118deg, rgba(155, 211, 43, .045) 0 2px, transparent 2px 26px),
    radial-gradient(900px 420px at 85% -10%, rgba(155, 211, 43, .10), transparent 70%);
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
.eyebrow-light { color: var(--lime-soft); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; color: var(--green-950); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1.06; letter-spacing: -.018em; }
h3 { line-height: 1.15; }
.accent { color: var(--lime); }
.text-lime { color: var(--lime); }
.text-lime-dark { color: var(--green-700); }

.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.section-head { margin-bottom: 54px; }
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 64px;
  align-items: end;
}
.section-side { font-size: 15.5px; color: var(--muted); max-width: 42ch; }
.section-dark .section-side { color: #a9bdac; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime {
  background: var(--lime);
  color: var(--green-950);
  box-shadow: 0 10px 24px rgba(155, 211, 43, .22);
}
.btn-lime:hover { background: var(--lime-bright); box-shadow: 0 14px 30px rgba(155, 211, 43, .3); }
.btn-ghost {
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: .01em;
}
.link-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.link-arrow:hover svg { transform: translateX(4px); }
.link-light { color: var(--lime); }
.text-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--green-800); border-color: var(--green-800); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 61, 36, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 32px rgba(3, 24, 13, .25); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; }
.brand img { width: auto; height: 52px; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav > a:not(.btn) {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .82);
  letter-spacing: .01em;
  padding: 6px 0;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav > a:not(.btn):hover { color: #fff; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: transparent;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 820px);
  padding: 150px 0 96px;
  color: #fff;
  overflow: hidden;
  background: var(--green-950);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.92) contrast(1.02);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(3, 29, 17, .95) 0%, rgba(3, 29, 17, .80) 40%, rgba(3, 29, 17, .34) 76%, rgba(3, 29, 17, .22) 100%),
    linear-gradient(0deg, rgba(3, 29, 17, .65) 0%, transparent 45%);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6.1vw, 5.15rem);
  line-height: .99;
  letter-spacing: -.025em;
  max-width: 16ch;
  margin-bottom: 24px;
}
.hero-copy {
  max-width: 58ch;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  color: #d5e2d6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 40px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b9cabb;
}
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(to bottom, transparent, rgba(3, 29, 17, .45));
  pointer-events: none;
}

/* ---------- Stats ---------- */
.stats-band {
  position: relative;
  z-index: 5;
  margin-top: -62px;
  padding: 0 0 4px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px 16px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  padding: 4px 18px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1;
  color: var(--green-800);
  letter-spacing: -.03em;
}
.stat-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- About ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 38%;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 40, 23, .32), transparent 48%);
  pointer-events: none;
}
.media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .96);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.media-badge-number { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--green-800); line-height: 1.1; }
.media-badge-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.prose h2 { margin-bottom: 20px; }
.prose p { color: var(--muted); margin-bottom: 15px; }
.prose .lead { color: var(--ink); font-size: 1.18rem; }
.check-list { display: grid; gap: 10px; margin: 24px 0 30px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green-900);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073d24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.prose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }

/* ---------- Expertise pillars ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.pillar {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.pillar:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .07); border-color: rgba(155, 211, 43, .4); }
.pillar-media { position: relative; }
.pillar-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 40, 23, .55), transparent 55%);
}
.pillar-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-950);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pillar-body { padding: 30px 32px 34px; }
.pillar-body h3 { color: #fff; font-size: clamp(1.5rem, 2.1vw, 1.9rem); margin-bottom: 12px; }
.pillar-body p { color: #b9cabb; font-size: 14.5px; margin-bottom: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-list li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #d8e4d9;
}

/* ---------- Services ---------- */
.service-block { margin-top: 64px; }
.service-block:first-of-type { margin-top: 8px; }
.service-block-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.service-block-head > div { min-width: 0; }
.service-block-head h3 { overflow-wrap: break-word; }
.service-index {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: .9;
  color: #b7d99b;
}
.service-block-head h3 { font-size: clamp(1.6rem, 2.3vw, 2.05rem); margin-bottom: 4px; }
.service-block-head p { color: var(--muted); font-size: 14.5px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card {
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: #b9d3a8;
  box-shadow: var(--shadow-md);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--green-700);
}
.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--green-950);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.service-card p { font-size: 14px; color: var(--muted); }

/* ---------- Projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.project-media { position: relative; overflow: hidden; }
.project-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.project-card:hover .project-media img { transform: scale(1.045); }
.project-client {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--green-900);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.project-body { padding: 23px 24px 26px; }
.project-tag {
  display: block;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green-600);
}
.project-body h3 { font-size: 1.28rem; margin-bottom: 8px; }
.project-body p { font-size: 13.8px; color: var(--muted); }
.project-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  min-height: 430px;
}
.project-featured .project-media { height: 100%; }
.project-featured .project-media img { height: 100%; aspect-ratio: auto; }
.project-featured .project-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 34px;
}
.project-featured .project-body h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.project-featured .project-body p { font-size: 14.5px; max-width: 62ch; }

.clients-block {
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.clients-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.clients-list li {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--green-900);
}

/* ---------- Safety ---------- */
.safety {
  position: relative;
  padding: 104px 0;
  background: var(--green-950);
  color: #fff;
  overflow: hidden;
}
.safety-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.safety-media img { width: 100%; height: 100%; object-fit: cover; }
.safety-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--green-950) 0%, rgba(4, 40, 23, .88) 30%, rgba(4, 40, 23, .45) 70%, rgba(4, 40, 23, .55) 100%),
    linear-gradient(0deg, rgba(4, 40, 23, .6), transparent 55%);
}
.safety-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .72fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}
.safety-copy h2 { color: #fff; margin-bottom: 20px; }
.safety-copy p { color: #c2d2c5; max-width: 58ch; margin-bottom: 28px; }
.safety-panel {
  padding: 38px 36px 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: rgba(4, 40, 23, .55);
  backdrop-filter: blur(8px);
  text-align: center;
}
.safety-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 9vw, 7.4rem);
  font-weight: 700;
  line-height: .85;
  color: var(--lime);
  letter-spacing: -.04em;
}
.safety-label {
  display: block;
  margin: 6px 0 22px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c2d2c5;
}
.safety-panel ul { display: grid; gap: 10px; text-align: left; }
.safety-panel li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: #d8e4d9;
}
.safety-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- Contact ---------- */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(44px, 6vw, 82px);
  align-items: start;
}
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy .lead { margin-bottom: 30px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green-700);
}
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 2px;
}
.contact-list span, .contact-list a { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.contact-list a:hover { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }
.contact-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.form-card {
  padding: clamp(26px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.form-card > p { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green-900);
}
.field label span { color: var(--green-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7e2cf;
  border-radius: 10px;
  background: #fbfdf9;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #93a394; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18, 117, 68, .12);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3412f; box-shadow: 0 0 0 3px rgba(179, 65, 47, .1); }
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.form-note a { color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 20px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.form-status.is-success { color: var(--green-600); }
.form-status.is-error { color: #a5382a; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 0 26px;
  background: var(--green-950);
  color: #a9bdac;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.05fr);
  gap: 42px;
  padding-bottom: 52px;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 13.8px; max-width: 34ch; }
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col li, .footer-col a { font-size: 13.5px; line-height: 1.55; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 11.5px;
  color: #8fa793;
}
.back-top { color: var(--lime); font-weight: 800; }
.back-top:hover { color: var(--lime-bright); }

/* ---------- 404 ---------- */
.error-page { background: var(--cream); }
.error-main {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 250px);
  padding: 90px 0;
}
.error-main h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 20px;
}
.error-main .lead { margin-bottom: 28px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-dark { border-color: var(--green-800); color: var(--green-800); }
.btn-outline-dark:hover { background: var(--green-800); color: #fff; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .container { padding-inline: 24px; }
  .nav { gap: 20px; }
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .footer-brand p { max-width: 52ch; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 24px 26px;
    background: var(--green-900);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 40px rgba(3, 24, 13, .3);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s ease;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > a:not(.btn) {
    padding: 13px 4px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 14px; }
  .nav-cta.btn { width: 100%; }

  .section-head-split { grid-template-columns: 1fr; gap: 20px; }
  .section-side { max-width: 60ch; }
  .split { grid-template-columns: 1fr; }
  .media-frame { max-width: 560px; }
  .media-frame > img { aspect-ratio: 5 / 4; }
  .contact-grid { grid-template-columns: 1fr; }
  .safety-media { width: 100%; opacity: .5; }
  .safety-inner { grid-template-columns: 1fr; }
  .safety-panel { max-width: 440px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-featured { grid-column: span 2; min-height: 0; }
  .project-featured .project-body { padding: 28px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }
  .section { padding: 76px 0; }
  .hero { min-height: 88vh; padding: 120px 0 80px; }
  .hero h1 { max-width: 100%; }
  .hero-points { gap: 10px 18px; }
  .stats-band { margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; padding: 24px 10px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; }
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .eyebrow { font-size: 10px; letter-spacing: .13em; gap: 8px; }
  .eyebrow::before { width: 18px; }
  .header-inner { min-height: 70px; }
  .brand img { height: 46px; }
  .nav { top: 70px; }
  .hero { min-height: 0; padding: 116px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points { font-size: 10px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .card-grid, .card-grid-4, .project-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: span 1; display: block; min-height: 0; }
  .project-featured .project-media { height: auto; }
  .project-featured .project-media img { height: auto; aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: span 1; }
  .service-block-head { gap: 14px; }
  .service-block-head h3 { font-size: 1.45rem; }
  .service-index { font-size: 2rem; }
  .prose-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
