/* =============================================================
   ICON Ready Mix Concrete — Design System
   Palette (logo: grayscale + yellow):
     Black #000000 (text)     Dark Gray #4A4A4A (body, linework)
     Light Gray #BFBFBF       White #FFFFFF
     Yellow #FCCF33 (accent)  Dark sections #606060
   ============================================================= */

:root {
  /* Brand colours (logo: grayscale + yellow #FCCF33) */
  --amber:        #FCCF33;   /* yellow accent (var name kept as --amber) */
  --amber-hover:  #E6B82B;   /* darker yellow — hover/pressed fills */
  --amber-soft:   rgba(252, 207, 51, 0.16);  /* light yellow wash */
  --ink:          #1A1A1A;   /* near-black — headings, strong text, dark chips */
  --ink-deep:     #606060;   /* dark sections — hero, footer, bands */
  --grey:         #4A4A4A;   /* body text, linework */
  --steel:        #BFBFBF;   /* light gray — muted text, dividers */
  --light:        #FEF7E0;   /* soft light-yellow section surface (logo-tied) */
  --white:        #FFFFFF;
  --line:         #E6E6E6;   /* hairline border on light surfaces */
  --line-strong:  #D6D6D6;

  /* Text on yellow must be black (yellow text on white fails contrast) */
  --on-amber:     #1A1A1A;

  /* Typography */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing scale (8pt) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;   --sp-7: 6rem;    --sp-8: 8rem;

  /* Radius */
  --r-sm: 6px;  --r-md: 10px;  --r-lg: 16px;  --r-xl: 24px;

  /* Shadows (matte, restrained) */
  --sh-1: 0 1px 2px rgba(44,48,52,.05), 0 2px 8px rgba(44,48,52,.05);
  --sh-2: 0 4px 12px rgba(44,48,52,.07), 0 18px 40px rgba(44,48,52,.08);
  --sh-amber: 0 6px 18px rgba(252,207,51,.40);

  --container: 1200px;
  --nav-h: 108px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--grey);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { max-width: 68ch; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--amber); display: inline-block;
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 2px; background: var(--amber); display: inline-block;
}
.hero .eyebrow, .section--ink .eyebrow, .cta-band .eyebrow, .page-banner .eyebrow { color: var(--amber); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--grey); }
.text-amber { color: var(--grey); }
/* Section intro panel — light-yellow box wrapping eyebrow + heading + subheading on white sections */
.hl-head { line-height: 1.2; }
.hl { background: transparent; padding: 0; }
.intro-panel { background: #FCEFC9; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 4vw, 2.8rem); }
.intro-panel.center { margin-inline: auto; }
.split--top { align-items: start; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--light { background: var(--light); }
.section--ink { background: var(--ink-deep); color: #ECECEC; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 0.7rem 0 0.9rem; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.8rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 500; font-size: 0.96rem;
  padding: 0.9rem 1.5rem; border-radius: var(--r-sm); cursor: pointer;
  border: 1.5px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--amber); color: var(--on-amber); box-shadow: var(--sh-amber); }
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: var(--ink); padding-inline: 0.2rem; }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost:hover svg { transform: translateX(3px); }
.on-ink .btn-outline { border-color: rgba(255,255,255,.28); color: #fff; }
.on-ink .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,.95); border-bottom-color: var(--line); box-shadow: var(--sh-1); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.93rem; color: var(--ink);
  padding: 0.55rem 0.9rem; border-radius: var(--r-sm); position: relative; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Logo mark ---------- */
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo .glyph { width: 48px; height: 48px; flex: none; }
.logo .word { display: flex; flex-direction: column; line-height: 1; }
.logo .word b { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.02em; color: var(--ink); }
.logo .word span { font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); margin-top: 3px; }
.on-ink .logo .word b { color: #fff; }
.on-ink .logo .word span { color: var(--steel); }
/* Image logo (converted from logo.pdf) */
.logo-img { height: 90px; width: auto; display: block; }
.footer .logo { background: #fff; padding: 10px 18px; border-radius: var(--r-md); display: inline-flex; box-shadow: var(--sh-1); }
.footer .logo-img { height: 72px; }
@media (max-width: 600px) { :root { --nav-h: 84px; } .logo-img { height: 62px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: #1f1f1f; color: #fff; overflow: hidden; padding-top: var(--nav-h);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% center; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(22,22,22,.9) 0%, rgba(22,22,22,.78) 28%, rgba(24,24,24,.42) 60%, rgba(28,28,28,.1) 100%),
  linear-gradient(0deg, rgba(20,20,20,.38) 0%, rgba(20,20,20,0) 36%); }
@media (max-width: 760px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(20,20,20,.82) 0%, rgba(20,20,20,.6) 42%, rgba(20,20,20,.84) 100%); }
  .hero__photo { object-position: 66% center; }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 40%, transparent 100%);
}
.hero__skyline { position: absolute; right: 0; bottom: 0; width: min(62%, 760px); opacity: .9; z-index: 1; }
.hero__glow { position: absolute; width: 520px; height: 520px; right: -8%; top: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,207,51,.22), transparent 62%); filter: blur(8px); z-index: 0; }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; padding-block: clamp(2rem, 6vw, 4rem); }
.hero h1 { color: #fff; margin: 1.1rem 0; text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { color: #ECECEC; font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 56ch; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero__badge { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: #E2E2E2; }
.hero__badge svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); }
.scroll-cue svg { width: 26px; height: 26px; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--white); padding: clamp(1.5rem, 3vw, 2.4rem); text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.1rem); color: var(--ink); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .num span { color: var(--grey); }
.stat .label { margin-top: 0.6rem; font-size: 0.83rem; letter-spacing: 0.04em; color: var(--grey); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem); height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.card .ic {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--ink); color: var(--amber); margin-bottom: 1.1rem;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; }

/* feature card with top accent */
.card--accent { border-top: 3px solid var(--amber); }

/* ---------- Grade chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--ink);
  padding: 0.5rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 100px; background: var(--white);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--amber); color: var(--ink); transform: translateY(-2px); }
.chip--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
/* Clickable specialty-concrete spec-sheet chips/cards (open PDF) */
.chip--pdf { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.chip--pdf svg { width: 14px; height: 14px; opacity: .85; }
.chip--solid.chip--pdf:hover { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
a.card--pdf { text-decoration: none; display: flex; flex-direction: column; }
a.card--pdf .pdf-cue { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 500; font-size: .85rem; color: var(--grey); }
a.card--pdf .pdf-cue svg { width: 15px; height: 15px; }
a.card--pdf:hover .pdf-cue { color: var(--ink); }
a.card--pdf:hover { border-color: var(--amber); }

/* ---------- Split media block ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--ink-deep); display: grid; place-items: center;
}
.media-frame.placeholder { border: 1px solid var(--line); }

/* Branded placeholder visual (used until real photos arrive) */
.ph {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(252,207,51,.18), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--ink-deep);
  color: #D6D6D6;
}
.ph__label { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; padding: 1.5rem; }
.ph__label svg { width: 40px; height: 40px; color: var(--amber); opacity: .85; }
.ph__label b { font-family: var(--font-head); font-weight: 500; color: #ECECEC; font-size: 0.95rem; letter-spacing: 0.02em; }
.ph__label small { font-size: 0.78rem; color: #C2C2C2; letter-spacing: 0.05em; }

/* Fleet slideshow */
.slideshow { position: absolute; inset: 0; }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.slideshow .slide.is-active { opacity: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; gap: 7px; justify-content: center; }
.slide-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.4); cursor: pointer; transition: all .25s var(--ease); }
.slide-dots button:hover { background: rgba(255,255,255,.9); }
.slide-dots button.is-active { background: var(--amber); width: 22px; border-radius: 5px; }

/* ---------- List with ticks ---------- */
.ticks { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.ticks li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; }
.ticks li svg { width: 22px; height: 22px; color: var(--grey); flex: none; margin-top: 2px; }
.section--ink .ticks li { color: #ECECEC; }
.section--ink .ticks li svg { color: var(--amber); }

/* ---------- Spec rows ---------- */
.spec { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.4rem; }
.spec dt { font-family: var(--font-head); color: var(--ink); font-weight: 500; }
.spec dd { color: var(--grey); text-align: right; font-variant-numeric: tabular-nums; }
.spec > div { display: contents; }

/* ---------- Plant cards ---------- */
.plant {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plant:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.plant__top { padding: 1.5rem 1.5rem 0; }
.plant__tag { font-family: var(--font-head); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.plant__body { padding: 0.6rem 1.5rem 1.5rem; flex: 1; }
.plant__body h3 { margin: 0.3rem 0 0.5rem; }
.plant__body p { font-size: 0.93rem; }
.plant__foot { padding: 1rem 1.5rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 0.5rem; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; }
.plant:hover .plant__foot { color: var(--ink); }
.plant__foot svg { width: 18px; height: 18px; }

/* ---------- Marquee (sectors / clients) ---------- */
.marquee-band { background: #FBEFCB; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--grey); white-space: nowrap; opacity: .8; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Projects gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter {
  font-family: var(--font-head); font-weight: 500; font-size: 0.88rem; color: var(--grey);
  background: transparent; border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.5rem 1.1rem; cursor: pointer; transition: all .2s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.project {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.project__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project__img img { transform: scale(1.06); }
.project__cat { position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2; background: rgba(60,38,6,.0); }
.project__cat span { background: var(--amber); color: var(--on-amber); font-family: var(--font-head); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: var(--r-sm); }
.project__meta { padding: 1.2rem 1.3rem 1.4rem; }
.project__meta h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.project__meta .loc { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--grey); }
.project__meta .loc svg { width: 15px; height: 15px; color: var(--grey); }

/* ---------- Map ---------- */
.map-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 1.6rem; }
#plant-map { width: 100%; height: 540px; border-radius: var(--r-lg); border: 1px solid var(--line); z-index: 1; }
.map-list { display: flex; flex-direction: column; gap: 0.8rem; max-height: 540px; overflow: auto; padding-right: 4px; }
.map-card { text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; cursor: pointer; transition: all .25s var(--ease); width: 100%; }
.map-card:hover, .map-card.active { border-color: var(--amber); box-shadow: var(--sh-1); transform: translateX(3px); }
.map-card .mc-tag { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.map-card h4 { margin: 0.25rem 0 0.2rem; color: var(--ink); }
.map-card p { font-size: 0.85rem; color: var(--grey); margin: 0; }
.map-card .mc-open { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-family: var(--font-head); font-weight: 500; font-size: 0.82rem; color: var(--ink); }
.map-card .mc-open svg { width: 14px; height: 14px; }
.map-card:hover .mc-open { color: var(--ink); }
/* custom leaflet pin */
.pin { width: 30px; height: 30px; position: relative; }
.pin__dot { position: absolute; inset: 0; background: var(--amber); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 10px rgba(44,48,52,.4); }
.pin--steel .pin__dot { background: var(--ink); }
.pin__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--amber); opacity: .4; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%{transform:scale(.6);opacity:.5} 100%{transform:scale(2.1);opacity:0} }
.leaflet-popup-content-wrapper { border-radius: var(--r-md) !important; }
.leaflet-popup-content { font-family: var(--font-body) !important; margin: 0.9rem 1rem !important; }
.lp-tag { font-family: var(--font-head); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.lp-title { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.02rem; margin: 2px 0 4px; }
.lp-addr { color: var(--grey); font-size: 0.84rem; margin-bottom: 8px; }
.lp-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 0.84rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: 0.85rem; color: var(--ink); }
.field label .req { color: #C0493B; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0.8rem 0.9rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); min-height: 46px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft);
}
.field .err { font-size: 0.8rem; color: #b23b2e; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0493b; }
.field.invalid .err { display: block; }
.form-note { font-size: 0.85rem; color: var(--grey); }
.form-status { display: none; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); font-size: 0.92rem; margin-top: 1rem; }
.form-status.show { display: block; }
.form-status.ok { background: var(--amber-soft); color: var(--on-amber); border: 1px solid var(--amber); }
.form-status.err { background: #FBEAE7; color: #A33526; border: 1px solid #E7B3AB; }

/* ---------- Quote modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.modal.open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,20,20,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__panel { position: relative; z-index: 1; width: 100%; max-width: 470px; max-height: 92vh; overflow: auto; background: #232323; color: #ECECEC; border: 1px solid #3a3a3a; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.3rem); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.modal.open .modal__panel { animation: modalIn .32s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__panel h3 { color: #fff; margin: .5rem 0 .35rem; }
.modal__panel > p { color: #b9b9b9; font-size: .92rem; margin-bottom: 1.2rem; }
.modal__close { position: absolute; top: .85rem; right: .85rem; background: transparent; border: 0; color: #cfcfcf; cursor: pointer; padding: .35rem; border-radius: var(--r-sm); line-height: 0; }
.modal__close:hover { color: #fff; background: rgba(255,255,255,.08); }
.modal__close svg { width: 24px; height: 24px; }
.modal .field { margin-bottom: .85rem; }
.modal .field label { color: #E6E6E6; }
.modal .field input, .modal .field textarea { background: #2e2e2e; border-color: #4a4a4a; color: #fff; }
.modal .field input::placeholder, .modal .field textarea::placeholder { color: #8d8d8d; }
.modal .field input:focus, .modal .field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(252,207,51,.2); }
.modal .field textarea { min-height: 96px; }
.modal .btn-primary { width: 100%; justify-content: center; margin-top: .3rem; }
.modal .form-status.ok { background: rgba(252,207,51,.14); color: #FCCF33; border-color: rgba(252,207,51,.45); }
.modal .form-status.err { background: rgba(229,115,106,.16); color: #F4B0A8; border-color: rgba(229,115,106,.45); }

/* ---------- Contact info tiles ---------- */
.info-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.info-tile .ic { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--ink); color: var(--amber); display: grid; place-items: center; flex: none; }
.info-tile .ic svg { width: 22px; height: 22px; }
.info-tile h4 { margin-bottom: 0.2rem; }
.info-tile p, .info-tile a { font-size: 0.92rem; color: var(--grey); }
.info-tile a:hover { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-deep); color: #fff; border-radius: var(--r-xl); padding: clamp(2.2rem, 5vw, 3.6rem); position: relative; overflow: hidden; }
.cta-band__glow { position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(252,207,51,.30), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #ECECEC; position: relative; margin-top: 0.6rem; }
.cta-band .hero__actions { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #DBDBDB; padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 3rem; }
.footer h5 { font-family: var(--font-head); color: #fff; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 1.1rem; }
.footer a { transition: color .2s var(--ease); }
.footer a:hover { color: var(--amber); }
.footer__links { display: grid; gap: 0.6rem; }
.footer__about p { margin: 1.1rem 0; max-width: 38ch; }
.footer__cert { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.footer__cert span { border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-sm); padding: 0.35rem 0.7rem; font-size: 0.78rem; color: #ECECEC; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.84rem; }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.7rem; }
.footer__contact svg { width: 17px; height: 17px; color: var(--amber); flex: none; margin-top: 3px; }

/* ---------- Letterhead ribbon (hero + page banners) ---------- */
.ribbon { position: absolute; left: 0; top: var(--nav-h); width: 100%; height: clamp(44px, 7vw, 78px); z-index: 1; pointer-events: none; }
.ribbon svg { width: 100%; height: 100%; display: block; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner { background: var(--ink-deep); color: #fff; padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 5.5rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-banner__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000, transparent 75%); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin: 0.8rem 0 0.6rem; }
.page-banner p { color: #ECECEC; }
.crumbs { font-size: 0.84rem; color: #DBDBDB; }
.crumbs a:hover { color: var(--amber); }
.crumbs span { color: var(--amber); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track, .scroll-cue svg, .pin__pulse, .modal.open .modal__panel { animation: none !important; }
  .slideshow .slide { transition: none !important; }
  .card:hover, .plant:hover, .project:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .map-wrap { grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.98); backdrop-filter: blur(12px); padding: 1rem clamp(1.1rem,4vw,2.5rem) 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); gap: 0.2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.85rem 0.6rem; border-radius: var(--r-sm); }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--light); }
  .nav-cta { margin: 0.5rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .map-list { flex-direction: row; max-height: none; overflow-x: auto; }
  .map-list .map-card { min-width: 240px; }
  #plant-map { height: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__skyline { width: 90%; opacity: .5; }
  .btn { width: auto; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* utilities */
.mt-1{margin-top:var(--sp-1)}.mt-2{margin-top:var(--sp-2)}.mt-3{margin-top:var(--sp-3)}.mt-4{margin-top:var(--sp-4)}
.center{text-align:center}.muted{color:var(--steel)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
