/* ==========================================================================
   Elixir Metal Works — site.css
   Mirrors the live preview: warm paper ground, deep forest green, green accent,
   Space Grotesk display + Inter body, 3D scrap-metal canvas behind the hero.
   ========================================================================== */

:root {
  /* Palette — ported from the preview design tokens */
  --paper: #f4f1e8;          /* warm off-white ground */
  --card: #fbf9f3;
  --paper-2: #ece7da;        /* secondary surfaces */
  --paper-3: #e2dccb;
  --ink: #24302a;            /* foreground */
  --ink-soft: #3a4740;
  --muted: #5f6f66;          /* muted foreground */
  --green: #123a2c;          /* primary — deep forest green */
  --green-2: #1b4a37;
  --green-3: #245c44;
  --accent: #4f8a68;         /* green accent */
  --brass: #b78a4c;          /* reserved, used sparingly */
  --line: rgba(18, 58, 44, 0.14);
  --line-solid: #dcd7c8;
  --line-light: rgba(244, 241, 232, 0.18);

  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow: 0 30px 70px -38px rgba(11, 31, 23, 0.55);
  --shadow-soft: 0 16px 44px -30px rgba(11, 31, 23, 0.45);
  --maxw: 1200px;
  --nav-h: 72px;

  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1.05rem; }
a { color: var(--green-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.on-dark .eyebrow { color: rgba(244, 241, 232, 0.72); }
.on-dark .eyebrow::before { background: rgba(244, 241, 232, 0.72); }

.section-head { max-width: 60ch; margin-bottom: 54px; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 18px 0 0; }

.hl {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px; height: 0.42em;
  background: rgba(18, 58, 44, 0.14);
  z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0 22px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-3); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-solid); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-light { background: var(--paper); color: var(--green); }
.btn-light:hover { background: #fff; color: var(--green); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--green); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--line-light); }
.btn-outline-light:hover { background: rgba(244, 241, 232, 0.1); color: #fff; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(244, 241, 232, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-solid);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--green); color: var(--paper);
  display: grid; place-items: center;
  transition: transform .3s ease;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  letter-spacing: -0.01em; color: var(--muted);
  padding: 8px 14px; border-radius: 8px; position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a.current { color: var(--ink); }
.nav a.current::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 1px; background: var(--green);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-solid);
  border-radius: 9px; padding: 8px 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; width: 20px; height: 20px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 55;
  background: var(--paper); border-bottom: 1px solid var(--line-solid);
  padding: 10px 24px 22px; display: none;
  box-shadow: var(--shadow-soft);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 15px 2px; border-bottom: 1px solid var(--line-solid);
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink);
}
.mobile-nav .btn-row { margin-top: 18px; }

/* ---------- 3D scene layers ---------- */
.scene { position: relative; pointer-events: none; }
.scene canvas { display: block; width: 100% !important; height: 100% !important; }
.scene-fixed { position: fixed; inset: 0; z-index: 0; }
.scene-panel { position: absolute; inset: 0; }
.scene-fallback {
  width: 100%; height: 100%;
  background: radial-gradient(50% 55% at 68% 45%, rgba(79, 138, 104, 0.22), transparent 68%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 100svh; min-height: 100vh;
  padding: 128px 0 96px; overflow: hidden;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(244, 241, 232, 0.8) 45%, rgba(244, 241, 232, 0) 78%);
}
.hero-scrim-b {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, var(--paper), rgba(244, 241, 232, 0));
}
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 720px; }

.hero h1 {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  line-height: 0.98; margin: 0 0 22px;
}
.rotator {
  display: inline-flex; align-items: center; overflow: hidden;
  background: var(--green); color: var(--paper);
  border-radius: 14px; padding: 2px 18px; min-width: 8.4ch;
  line-height: 1.14;
}
.rotator span {
  display: inline-block;
  animation: rotator-in .5s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes rotator-in {
  from { transform: translateY(105%); opacity: .2; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-lede {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: -0.02em; line-height: 1.3;
  max-width: 40ch; margin: 0 0 20px;
}
.hero-body { color: var(--muted); font-size: 1.02rem; line-height: 1.75; max-width: 56ch; }

.hero-contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin: 18px 0 0; font-size: 0.92rem; color: var(--muted);
}
.hero-contact a { color: var(--ink); font-weight: 500; }
.hero-contact a:hover { color: var(--green); }
.hero-contact svg { width: 16px; height: 16px; color: var(--green); vertical-align: -3px; }
.hero-contact .sep { color: var(--line-solid); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px 48px;
  margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line-solid);
  max-width: 560px;
}
.hero-stats .v {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; color: var(--ink);
}
.hero-stats .l { font-size: 0.78rem; color: var(--muted); max-width: 22ch; }

.scroll-cue {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  display: flex; justify-content: center;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.scroll-cue span { display: inline-flex; align-items: center; gap: 9px; }
.scroll-cue svg { width: 14px; height: 14px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* Content field above the fixed canvas */
.content-field { position: relative; z-index: 2; background: rgba(244, 241, 232, 0.95); }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; border-top: 1px solid var(--line-solid); border-bottom: 1px solid var(--line-solid);
  background: rgba(236, 231, 218, 0.5); padding: 18px 0;
}
.ticker-track {
  display: flex; width: max-content; align-items: center; gap: 48px;
  animation: marquee 42s linear infinite;
}
.ticker-track span {
  display: inline-flex; align-items: center; gap: 48px; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
}
.ticker-track span::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(79, 138, 104, 0.6);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section.tight { padding: 68px 0; }
.section.alt { background: rgba(236, 231, 218, 0.4); }
.section.bordered { border-top: 1px solid var(--line-solid); border-bottom: 1px solid var(--line-solid); }
.section.dark { background: var(--green); color: rgba(244, 241, 232, 0.8); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--paper); }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* Capability list (border-top rows) */
.caps { display: grid; gap: 30px 40px; grid-template-columns: repeat(2, 1fr); }
.cap { border-top: 1px solid var(--line-solid); padding-top: 18px; }
.cap svg { width: 20px; height: 20px; color: var(--green); }
.cap h3 { font-size: 1rem; margin: 12px 0 6px; }
.cap p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ---------- Material / service cards (hairline grid) ---------- */
.card-grid {
  display: grid; gap: 1px;
  background: var(--line-solid);
  border: 1px solid var(--line-solid);
  border-radius: var(--radius-lg); overflow: hidden;
}
.card-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  background: var(--card); padding: 28px;
  transition: background .3s ease, color .3s ease;
}
.tile h3 { font-size: 1.2rem; margin: 22px 0 4px; }
.tile .grade {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted); margin: 0;
  transition: color .3s ease;
}
.tile p.detail { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 14px 0 0; transition: color .3s ease; }
.tile .tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile .icon-badge {
  width: 44px; height: 44px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(18, 58, 44, 0.1); color: var(--green);
  transition: background .3s ease, color .3s ease;
}
.tile .icon-badge svg { width: 20px; height: 20px; }
.tile:hover { background: var(--green); color: var(--paper); }
.tile:hover h3, .tile:hover .grade { color: var(--paper); }
.tile:hover .grade { color: rgba(244, 241, 232, 0.7); }
.tile:hover p.detail { color: rgba(244, 241, 232, 0.82); }
.tile:hover .icon-badge { background: rgba(244, 241, 232, 0.16); color: var(--paper); }

/* Service cards */
.service-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--line-solid);
  border-radius: var(--radius-lg); padding: 28px;
}
.service-card .tile-top { display: flex; align-items: center; justify-content: space-between; }
.service-card .icon-badge { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: var(--green); color: var(--paper); }
.service-card .icon-badge svg { width: 20px; height: 20px; }
.service-card .num { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.2em; font-size: 0.82rem; color: var(--muted); }
.service-card h3 { font-size: 1.25rem; margin: 22px 0 4px; }
.service-card .tagline { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin: 0; }
.service-card p.desc { color: var(--muted); font-size: 0.9rem; line-height: 1.65; flex: 1; margin: 15px 0 0; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 9px; font-size: 0.9rem; color: var(--muted); }
.check-list svg { width: 16px; height: 16px; flex: none; color: var(--green); margin-top: 3px; }

/* ---------- Rings ---------- */
.ring {
  --v: 50;
  --ring-c: var(--green);
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: conic-gradient(var(--ring-c) calc(var(--v) * 1%), var(--line-solid) 0);
  flex: none;
}
.ring::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card);
}
.ring b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; color: var(--green);
  z-index: 1;
}
.tile:hover .ring { --ring-c: var(--paper); }
.tile:hover .ring::before { background: var(--green); }
.tile:hover .ring b { color: var(--paper); }

/* ---------- 3D scroll band ---------- */
.band {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line-solid); border-bottom: 1px solid var(--line-solid);
  background: rgba(236, 231, 218, 0.45);
}
.band-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(244, 241, 232, 0.72) 40%, rgba(244, 241, 232, 0) 72%);
}
.band .wrap { position: relative; z-index: 2; display: flex; align-items: center; min-height: 72vh; padding: 96px 24px; }
.band-copy { max-width: 560px; }
.band-copy p { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 52ch; }

/* ---------- Process steps ---------- */
.process { position: relative; margin-top: 16px; }
.process::before {
  content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px;
  background: var(--line-solid); display: none;
}
.process-grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(5, 1fr); }
.step .step-icon {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-solid); background: var(--card);
  display: grid; place-items: center; color: var(--green);
}
.step .step-icon svg { width: 20px; height: 20px; }
.step .idx { display: block; margin-top: 22px; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; color: var(--muted); }
.step h3 { font-size: 1.05rem; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ---------- Impact (dark) ---------- */
.impact-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
.donut { display: flex; flex-direction: column; gap: 10px; }
.donut-ring {
  --v: 90;
  position: relative; width: 118px; height: 118px; border-radius: 50%;
  background: conic-gradient(rgba(244, 241, 232, 0.92) calc(var(--v) * 1%), rgba(244, 241, 232, 0.16) 0);
}
.donut-ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--green); }
.donut-ring b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--paper);
  z-index: 1;
}
.donut .donut-label { font-family: var(--font-display); font-weight: 600; color: var(--paper); }
.donut .donut-detail { color: rgba(244, 241, 232, 0.7); font-size: 0.86rem; line-height: 1.55; margin: 0; }

/* ---------- Work photos ---------- */
.photo-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.photo-grid figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-solid); background: var(--green);
}
.photo-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s ease-out; }
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 20px;
  background: linear-gradient(0deg, rgba(18, 58, 44, 0.92) 10%, rgba(18, 58, 44, 0.2) 70%, transparent);
  color: var(--paper);
}
.photo-grid figcaption strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.photo-grid figcaption span { font-size: 0.82rem; color: rgba(244, 241, 232, 0.72); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--green); color: var(--paper);
  border-radius: 20px; padding: 60px 56px;
  border: 1px solid var(--line-solid);
}
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 90% at 68% 12%, rgba(244, 241, 232, 0.2), transparent 66%),
    linear-gradient(0deg, rgba(18, 58, 44, 0.95), rgba(18, 58, 44, 0.55) 60%, rgba(18, 58, 44, 0.35));
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: var(--paper); max-width: 24ch; }
.cta p { color: rgba(244, 241, 232, 0.72); max-width: 52ch; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-light); background: rgba(244, 241, 232, 0.1);
  color: var(--paper); border-radius: 999px; padding: 6px 14px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(244, 241, 232, 0.78); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 {
  color: rgba(244, 241, 232, 0.6); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 20px;
}
.site-footer h4::before { content: none; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand:hover { color: var(--paper); }
.site-footer .brand-mark { background: rgba(244, 241, 232, 0.15); color: var(--paper); }
.site-footer .brand-name { color: var(--paper); }
.site-footer a { color: rgba(244, 241, 232, 0.82); }
.site-footer a:hover { color: var(--paper); }
.site-footer p { color: rgba(244, 241, 232, 0.68); font-size: 0.9rem; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 12px; font-size: 0.9rem; }
.footer-links svg { width: 16px; height: 16px; color: rgba(244, 241, 232, 0.55); flex: none; margin-top: 3px; }
.footer-links li.has-icon { display: flex; gap: 12px; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.certs span {
  border: 1px solid var(--line-light); border-radius: 999px; padding: 5px 12px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244, 241, 232, 0.8);
}
.footer-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.8rem; color: rgba(244, 241, 232, 0.6);
}

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line-solid); border-radius: var(--radius-lg); padding: 34px; }
.form { display: grid; gap: 20px; margin-top: 26px; }
.field label { display: block; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  border: 1px solid var(--line-solid); background: #fff;
  font-family: inherit; font-size: 0.94rem; color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa79f; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 138, 104, 0.16);
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .form-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-solid); padding-top: 22px;
}
.form .form-foot p { margin: 0; max-width: 34ch; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.sticky-side { position: sticky; top: 112px; }
.side-nav { display: flex; flex-direction: column; border-left: 1px solid var(--line-solid); }
.side-nav a {
  margin-left: -1px; border-left: 1px solid transparent;
  padding: 12px 0 12px 20px; font-size: 0.9rem; font-weight: 500;
  color: var(--muted);
}
.side-nav a:hover { color: var(--ink); }
.side-nav a.active { border-left-color: var(--green); color: var(--ink); }
.side-card { margin-top: 36px; border: 1px solid var(--line-solid); background: var(--card); border-radius: var(--radius-lg); padding: 24px; }
.side-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

.detail-card {
  scroll-margin-top: 120px;
  border: 1px solid var(--line-solid); background: var(--card);
  border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px;
}
.detail-card .head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.detail-card .head .left { display: flex; align-items: center; gap: 16px; }
.detail-card .head .icon-badge { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; background: var(--green); color: var(--paper); }
.detail-card .head .icon-badge svg { width: 24px; height: 24px; }
.detail-card .head .idx { display: block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; color: var(--muted); }
.detail-card h2 { font-size: 1.5rem; margin: 0; }
.pill {
  border: 1px solid var(--line-solid); border-radius: 999px; padding: 7px 14px;
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent);
}
.detail-card .body { color: var(--muted); font-size: 0.96rem; line-height: 1.7; margin: 22px 0 0; max-width: 60ch; }
.detail-card .features {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-solid);
  display: grid; gap: 14px 32px; grid-template-columns: 1fr 1fr;
}
.detail-card .features div { display: flex; gap: 10px; font-size: 0.9rem; }
.detail-card .features svg { width: 16px; height: 16px; flex: none; color: var(--green); margin-top: 3px; }

/* ---------- Table ---------- */
.table-wrap { border: 1px solid var(--line-solid); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; min-width: 640px; }
table.table th, table.table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-solid); }
table.table th { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
table.table td { font-size: 0.9rem; color: var(--muted); }
table.table td.name { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
table.table tr:last-child td { border-bottom: 0; }
table.table td.right { text-align: right; }

/* ---------- Timeline ---------- */
.timeline { border-top: 1px solid var(--line-solid); margin-top: 44px; }
.timeline .item { display: grid; grid-template-columns: 7rem 1fr; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--line-solid); }
.timeline .year { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.timeline .body { display: flex; gap: 20px; }
.timeline .icon-badge { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(18, 58, 44, 0.1); color: var(--green); flex: none; }
.timeline .icon-badge svg { width: 20px; height: 20px; }
.timeline h3 { font-size: 1.1rem; margin: 0 0 8px; }
.timeline p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; max-width: 62ch; margin: 0; }

/* ---------- Contact cards ---------- */
.contact-stack { display: grid; gap: 20px; }
.sales-card { background: var(--green); color: var(--paper); border-radius: var(--radius-lg); padding: 34px; }
.sales-card .phone { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--paper); margin: 22px 0 14px; }
.sales-card .phone:hover { color: #fff; }
.sales-card .phone svg { width: 24px; height: 24px; }
.sales-card .eyebrow { color: rgba(244, 241, 232, 0.72); }
.sales-card .eyebrow::before { background: rgba(244, 241, 232, 0.72); }
.sales-card p { color: rgba(244, 241, 232, 0.74); font-size: 0.9rem; }
.info-card { border: 1px solid var(--line-solid); background: var(--card); border-radius: var(--radius-lg); padding: 32px; }
.info-card h3 { font-size: 1.1rem; }
.info-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; font-size: 0.9rem; color: var(--muted); }
.info-list li { display: flex; gap: 12px; }
.info-list svg { width: 16px; height: 16px; flex: none; color: var(--green); margin-top: 4px; }
.contact-person { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-solid); }
.contact-person:last-child { border-bottom: 0; }
.contact-person strong { font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
.contact-person a { font-size: 0.9rem; font-weight: 500; }
.muted-note { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.04rem; color: var(--muted); line-height: 1.75; max-width: 62ch; }
.stack-gap { display: grid; gap: 22px; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue svg { animation: none; }
}

/* ---------- 404 ---------- */
.nf { min-height: 78vh; display: flex; align-items: center; padding: 140px 0 80px; }

/* ---------- Responsive ---------- */
@media (min-width: 1000px) { .process::before { display: block; } }
@media (max-width: 1000px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .sticky-side { position: static; }
  .side-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .band .wrap { min-height: auto; }
}
@media (max-width: 560px) {
  .header-actions .btn-primary { display: none; }
  .brand-name { font-size: 0.82rem; letter-spacing: 0.1em; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .g2, .g3, .g4, .caps, .card-grid.c2, .card-grid.c3, .process-grid, .impact-grid, .photo-grid, .detail-card .features { grid-template-columns: 1fr; }
  .hero { padding-top: 112px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .form-card, .info-card, .sales-card, .detail-card { padding: 24px; }
  .form .row2 { grid-template-columns: 1fr; }
  .timeline .item { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
}
