/* ==========================================================================
   PERRC Inc. — Design System v2
   Palette + type per PERRC Brand Guidelines. Layout language inspired by
   large-format corporate sites: photo-led heroes, uppercase headings,
   flush business tiles, caption tabs.
   ========================================================================== */

:root {
  /* Brand palette */
  --color-evergreen: #13894A;
  --color-evergreen-dark: #0E6B39;
  --color-sand: #E6CA6D;
  --color-stone: #EDEDE9;
  --color-graphite: #292929;
  --color-gold: #BF993D;

  --color-white: #FFFFFF;
  --color-ink: #161616;
  --color-muted: #66665F;
  --color-border: #DCDCD6;
  --color-stone-light: #F6F6F3;

  --font-base: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-h: 72px;
  --container-max: 1320px;
  --container-pad: 32px;
  --radius: 5px;
  --radius-card: 14px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.07);
  --shadow-md: 0 16px 40px rgba(0,0,0,.14);
  --ease: cubic-bezier(.4,0,.2,1);
  --t: 240ms var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--color-sand); outline-offset: 2px; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.section-title {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  background: var(--color-evergreen);
  margin-top: 16px;
}
.section-title.center { text-align: center; }
.section-title.center::after { margin-left: auto; margin-right: auto; }
.section-title.light { color: #fff; }
.section-title.light::after { background: var(--color-sand); }
.lede { font-size: 1.2rem; color: var(--color-muted); max-width: 680px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-evergreen);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--color-sand); }

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-stone { background: var(--color-stone); }
.bg-stone-light { background: var(--color-stone-light); }
.bg-dark { background: var(--color-graphite); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--color-evergreen); color: #fff; }
.btn-primary:hover { background: var(--color-evergreen-dark); }
.btn-light { background: #fff; color: var(--color-evergreen-dark); }
.btn-light:hover { background: var(--color-sand); color: var(--color-graphite); }
.btn-outline { border-color: var(--color-graphite); color: var(--color-graphite); }
.btn-outline:hover { background: var(--color-graphite); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--color-graphite); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--container-pad);
}
.brand img { height: 38px; width: auto; }
.menu-btn {
  width: 48px; height: 48px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: transparent; border: 0; padding: 0;
}
.menu-btn span { display: block; width: 30px; height: 3px; background: var(--color-evergreen); border-radius: 2px; transition: transform var(--t), width var(--t); }
.menu-btn:hover span:nth-child(2) { width: 20px; }

/* Full-screen menu */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--color-graphite); color: #fff;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 0s linear 320ms;
  overflow-y: auto;
}
.menu-overlay.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--container-pad); flex-shrink: 0; }
.menu-top img { height: 38px; width: auto; }
.menu-close { width: 48px; height: 48px; background: transparent; border: 0; position: relative; }
.menu-close::before, .menu-close::after { content: ''; position: absolute; left: 9px; top: 22px; width: 30px; height: 3px; background: var(--color-sand); border-radius: 2px; }
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.menu-body {
  flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center;
  max-width: var(--container-max); width: 100%; margin: 0 auto; padding: 24px var(--container-pad) 56px;
}
.menu-links li { border-bottom: 1px solid rgba(255,255,255,.12); }
.menu-links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
  transition: color var(--t), padding-left var(--t);
}
.menu-links a small { font-size: .8rem; letter-spacing: .12em; color: var(--color-sand); font-weight: 700; }
.menu-links a:hover, .menu-links a.active { color: var(--color-sand); padding-left: 12px; }
.menu-side h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--color-sand); margin-bottom: 14px; }
.menu-side p, .menu-side a { color: rgba(255,255,255,.78); }
.menu-side a:hover { color: var(--color-sand); }
.menu-side .block { margin-bottom: 34px; }
.menu-sub a { display: block; padding: 6px 0; }

/* ---------- Hero slider ---------- */
.hero {
  position: relative; color: #fff; background: #111; overflow: hidden;
  height: calc(100vh - var(--header-h));
  min-height: 560px; max-height: 860px;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 9s ease-out; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 55%, rgba(0,0,0,.05) 100%),
    linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 40%);
}
.hero-copy { position: absolute; z-index: 5; left: 0; right: 0; top: 17%; }
.hero-copy .container { max-width: var(--container-max); }
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  text-transform: uppercase; letter-spacing: .005em; line-height: 1.06;
  text-shadow: 0 2px 22px rgba(0,0,0,.45);
}
.hero-copy p { margin-top: 16px; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-copy .btn { margin-top: 30px; }
.slide-caption {
  position: absolute; z-index: 3; right: 0; bottom: 64px;
  background: var(--color-evergreen); color: #fff;
  padding: 20px 40px 20px 34px;
  text-align: right; text-transform: uppercase; font-weight: 700;
  font-size: clamp(.85rem, 1.5vw, 1.3rem); line-height: 1.25; letter-spacing: .02em;
  max-width: min(560px, 85%);
}
.slide-caption small { display: block; font-size: .72em; font-weight: 500; letter-spacing: .12em; opacity: .85; margin-top: 4px; }
.hero-dots { position: absolute; z-index: 6; left: var(--container-pad); bottom: 30px; display: flex; gap: 10px; }
.hero-dot {
  width: 46px; height: 4px; border: 0; padding: 0; border-radius: 2px;
  background: rgba(255,255,255,.4); position: relative; overflow: hidden;
}
.hero-dot::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.hero.paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; color: #fff; background: #222; overflow: hidden;
  min-height: 52vh; display: flex; align-items: flex-end;
}
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.28) 100%); }
.page-banner .container { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 56px; }
.page-banner h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); text-transform: uppercase; max-width: 900px; letter-spacing: .005em; }
.page-banner .sub { margin-top: 14px; max-width: 640px; font-size: 1.15rem; color: rgba(255,255,255,.88); }
.breadcrumb { display: flex; gap: 10px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--color-sand); }
.banner-tab {
  position: absolute; z-index: 3; right: 0; bottom: 56px;
  background: var(--color-evergreen); color: #fff;
  padding: 16px 34px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem;
}

/* ---------- Business tiles ---------- */
.biz-head { padding-top: 72px; padding-bottom: 36px; }
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: #fff; }
.biz-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; color: #fff; display: block; background: #222; }
.biz-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.biz-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.1) 55%); transition: background var(--t); }
.biz-tile:hover img { transform: scale(1.07); }
.biz-tile:hover::after { background: linear-gradient(0deg, rgba(19,137,74,.95) 0%, rgba(19,137,74,.7) 100%); }
.biz-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 30px; }
.biz-label .n { font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--color-sand); }
.biz-label h3 { margin-top: 8px; font-size: clamp(1.25rem, 1.7vw, 1.6rem); text-transform: uppercase; line-height: 1.12; }
.biz-label p { max-height: 0; overflow: hidden; opacity: 0; font-size: .95rem; line-height: 1.5; transition: max-height 420ms var(--ease), opacity 320ms var(--ease), margin 320ms; }
.biz-tile:hover .biz-label p, .biz-tile:focus-visible .biz-label p { max-height: 120px; opacity: 1; margin-top: 12px; }
.biz-label .more { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.biz-label .more svg { width: 14px; height: 14px; }

/* ---------- Feature split ("We are PERRC") ---------- */
.feature-split { position: relative; background: var(--color-stone-light); overflow: hidden; }
.feature-split .media { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; }
.feature-split .media img { width: 100%; height: 100%; object-fit: cover; }
.feature-split .media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--color-stone-light) 0%, rgba(246,246,243,.85) 14%, transparent 52%); }
.feature-split .container { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 110px; }
.feature-copy { max-width: 460px; }
.feature-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; }
.feature-copy p { margin: 20px 0 28px; font-size: 1.15rem; }

/* ---------- Stats ---------- */
.stats { background: var(--color-graphite); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 54px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--color-sand); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Featured | list ---------- */
.featured-wrap { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 56px; }
.featured-col .section-title, .list-col .section-title { margin-bottom: 36px; }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; row-gap: 40px; }
.pcard { display: block; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; color: inherit; }
.pcard .thumb { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-card); overflow: hidden; background: #222; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.pcard:hover .thumb img { transform: scale(1.06); }
.pcard .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 45%); }
.pcard .go {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--color-evergreen);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), color var(--t), transform var(--t);
}
.pcard .go svg { width: 18px; height: 18px; }
.pcard:hover .go { background: var(--color-evergreen); color: #fff; transform: scale(1.08); }
.pcard h3 { margin-top: 14px; font-size: 1rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.pcard .meta { display: block; margin-top: 4px; font-size: .82rem; color: var(--color-muted); }
.list-col { border-left: 1px solid var(--color-border); padding-left: 48px; }
.mini-list li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--color-border); align-items: center; }
.mini-list li:first-child { padding-top: 0; }
.mini-list .mt { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-evergreen); }
.mini-list .mt img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.mini-list .mt svg { width: 30px; height: 30px; }
.mini-list h4 { font-size: 1rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.mini-list small { display: block; margin-top: 4px; color: var(--color-muted); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-evergreen); color: #fff; padding: 72px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; max-width: 640px; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.86); max-width: 520px; }

/* ---------- About ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.intro-grid .photo { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/3; }
.intro-grid .photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid p { margin-top: 20px; color: var(--color-muted); font-size: 1.08rem; }
.story { position: relative; overflow: hidden; }
.story::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/photos/scaffold.jpg') right center / cover no-repeat;
  opacity: .16; mix-blend-mode: multiply;
}
.story .container { position: relative; z-index: 1; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.timeline { border-left: 3px solid var(--color-evergreen); padding-left: 36px; }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -46px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 4px solid var(--color-evergreen); }
.tl-item .yr { font-weight: 700; color: var(--color-gold); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.tl-item h3 { margin: 6px 0 10px; font-size: 1.4rem; }
.tl-item p { color: var(--color-muted); max-width: 640px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.mv-panel { padding: 88px 64px; }
.mv-panel.mission { background: var(--color-graphite); color: #fff; }
.mv-panel.vision { background: var(--color-evergreen); color: #fff; }
.mv-panel h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); text-transform: uppercase; margin-bottom: 26px; }
.mv-panel li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.9); }
.mv-panel li::before { content: ''; position: absolute; left: 0; top: 24px; width: 16px; height: 3px; background: var(--color-sand); }
.mv-panel .big { font-size: 1.45rem; line-height: 1.4; font-weight: 500; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--color-border); border-left: 1px solid var(--color-border); }
.value { padding: 34px 30px 38px; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); transition: background var(--t); }
.value:hover { background: var(--color-stone-light); }
.value .n { font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--color-gold); }
.value h3 { margin: 14px 0 10px; font-size: 1.25rem; text-transform: uppercase; color: var(--color-evergreen); }
.value p { color: var(--color-muted); font-size: .98rem; line-height: 1.6; }
.value.cta-cell { background: var(--color-evergreen); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.value.cta-cell h3 { color: #fff; }
.value.cta-cell p { color: rgba(255,255,255,.9); }
.acc-sub { margin: 44px 0 20px; font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-evergreen); }
.acc-sub:first-of-type { margin-top: 36px; }
.logo-grid { display: grid; gap: 20px; }
.logo-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.logo-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.logo-card { background: #fff; border-radius: 12px; padding: 30px 20px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); }
.logo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.logo-card .lg { height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.logo-card .lg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-card b { display: block; font-size: 1rem; line-height: 1.3; }
.logo-card span { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.45; color: var(--color-muted); }
.certified-by { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 44px; margin-top: 28px; padding: 22px 32px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.certified-by .cb-label { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-evergreen); }
.certified-by img { height: 80px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Services ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--color-border); }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav a { flex-shrink: 0; padding: 10px 20px; border-radius: 40px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border: 2px solid var(--color-border); transition: all var(--t); }
.subnav a:hover { border-color: var(--color-evergreen); color: var(--color-evergreen); }
.svc-row { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 620px; scroll-margin-top: calc(var(--header-h) + 64px); }
.svc-row.rev { grid-template-columns: 1fr 1.15fr; }
.svc-row.rev .svc-media { order: 2; }
.svc-media { position: relative; overflow: hidden; background: #222; min-height: 360px; }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-media .tab { position: absolute; right: 0; bottom: 36px; background: var(--color-evergreen); color: #fff; padding: 14px 28px; font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; }
.svc-row.rev .svc-media .tab { right: auto; left: 0; }
.svc-text { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.svc-row:nth-of-type(even) .svc-text { background: var(--color-stone-light); }
.svc-text .idx { font-size: .85rem; font-weight: 700; letter-spacing: .16em; color: var(--color-gold); }
.svc-text h2 { margin: 12px 0 0; font-size: clamp(1.7rem, 2.8vw, 2.5rem); text-transform: uppercase; color: var(--color-evergreen); }
.svc-text h2::after { content: ''; display: block; width: 56px; height: 4px; background: var(--color-evergreen); margin-top: 16px; }
.svc-text > p { margin: 22px 0 8px; color: var(--color-muted); font-size: 1.08rem; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-top: 12px; }
.svc-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--color-border); font-weight: 500; line-height: 1.4; }
.svc-list li::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; background: var(--color-evergreen); }
.svc-text .btn { align-self: flex-start; margin-top: 30px; }

/* ---------- Projects ---------- */
.proj-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { padding: 11px 22px; border-radius: 40px; border: 2px solid var(--color-border); background: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-graphite); transition: all var(--t); }
.chip:hover { border-color: var(--color-evergreen); }
.chip.active { background: var(--color-evergreen); border-color: var(--color-evergreen); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; grid-auto-flow: dense; gap: 22px; }
.pitem { position: relative; border-radius: var(--radius-card); overflow: hidden; background: #222; cursor: pointer; border: 0; padding: 0; text-align: left; color: #fff; }
.pitem.feature { grid-column: span 2; }
.pitem.tall { grid-row: span 2; }
.pitem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.pitem:hover img { transform: scale(1.06); }
.pitem::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.08) 58%); transition: background var(--t); }
.pitem:hover::after { background: linear-gradient(0deg, rgba(19,137,74,.92) 0%, rgba(0,0,0,.2) 80%); }
.pitem .info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; }
.pitem .tag { display: inline-block; background: var(--color-sand); color: var(--color-graphite); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; margin-bottom: 12px; }
.pitem h3 { font-size: 1.3rem; line-height: 1.2; }
.pitem .loc { display: block; margin-top: 6px; font-size: .88rem; color: rgba(255,255,255,.82); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,10,.82); display: none; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.modal.open { display: flex; }
.modal-dialog { position: relative; background: #fff; border-radius: 14px; overflow: hidden; width: 100%; max-width: 1080px; display: grid; grid-template-columns: 1.25fr 1fr; animation: pop 280ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-media { min-height: 460px; background: #222; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 44px 40px; display: flex; flex-direction: column; }
.modal-body .tag { align-self: flex-start; background: var(--color-sand); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; }
.modal-body h3 { margin: 16px 0 6px; font-size: 1.7rem; }
.modal-body .loc { color: var(--color-evergreen); font-weight: 700; margin-bottom: 18px; }
.modal-body p { color: var(--color-muted); }
.modal-body ul { margin: 20px 0 26px; }
.modal-body li { padding: 10px 0 10px 24px; position: relative; border-top: 1px solid var(--color-border); font-size: .96rem; }
.modal-body li::before { content: ''; position: absolute; left: 0; top: 19px; width: 10px; height: 3px; background: var(--color-evergreen); }
.modal-body .btn { align-self: flex-start; margin-top: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); }
.modal-close::before, .modal-close::after { content: ''; position: absolute; left: 11px; top: 20px; width: 20px; height: 2px; background: var(--color-graphite); }
.modal-close::before { transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-info { background: var(--color-graphite); color: #fff; padding: 52px 46px; }
.contact-info h3 { font-size: 1.6rem; text-transform: uppercase; }
.ci-item { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.ci-item:first-of-type { margin-top: 28px; }
.ci-item .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(230,202,109,.16); color: var(--color-sand); display: flex; align-items: center; justify-content: center; }
.ci-item .ic svg { width: 20px; height: 20px; }
.ci-item .lbl { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-sand); margin-bottom: 4px; }
.ci-item .val { color: rgba(255,255,255,.9); }
.form-panel { background: #fff; padding: 52px 46px; }
.form-panel h3 { font-size: 1.6rem; text-transform: uppercase; }
.form-panel > p { margin: 10px 0 28px; color: var(--color-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--color-border); border-radius: var(--radius); background: var(--color-stone-light); transition: border-color var(--t), background var(--t); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-evergreen); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { margin-top: 14px; font-size: .84rem; color: var(--color-muted); }
.form-success { display: none; gap: 10px; align-items: center; margin-bottom: 22px; padding: 16px 18px; border-left: 4px solid var(--color-evergreen); background: rgba(19,137,74,.08); color: var(--color-evergreen-dark); font-weight: 500; }
.form-success.show { display: flex; }
.form-error { display: none; margin-bottom: 22px; padding: 16px 18px; border-left: 4px solid var(--color-gold); background: rgba(191,153,61,.14); color: var(--color-graphite); font-weight: 500; }
.form-error.show { display: block; }
.form-error a { color: var(--color-evergreen-dark); text-decoration: underline; }
#form-submit:disabled { opacity: .6; cursor: progress; }
.map-box { position: relative; width: 100%; height: clamp(320px, 36vw, 460px); border-radius: var(--radius-card); overflow: hidden; background: var(--color-stone); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-stone); color: var(--color-ink); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--color-muted); max-width: 330px; font-size: .98rem; }
.site-footer h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--color-evergreen); margin-bottom: 20px; }
.site-footer li { margin-bottom: 11px; }
.site-footer li a { color: var(--color-graphite); transition: color var(--t); }
.site-footer li a:hover { color: var(--color-evergreen); }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; color: var(--color-graphite); }
.contact-lines svg { width: 18px; height: 18px; color: var(--color-evergreen); flex-shrink: 0; margin-top: 4px; }
.find-us { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.find-us span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.find-us a { width: 38px; height: 38px; border-radius: 50%; background: var(--color-graphite); color: #fff; display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.find-us a:hover { background: var(--color-evergreen); }
.find-us svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid var(--color-border); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--color-muted); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--color-evergreen); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-wrap { grid-template-columns: 1fr; gap: 64px; }
  .list-col { border-left: 0; padding-left: 0; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-text { padding: 56px 40px; }
  .mv-panel { padding: 64px 40px; }
}
@media (max-width: 900px) {
  :root { --container-pad: 22px; --header-h: 64px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .brand img, .menu-top img { height: 32px; }
  .menu-body { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .hero { min-height: 520px; max-height: none; height: calc(100svh - var(--header-h)); }
  .hero-copy { top: 13%; }
  .slide-caption { bottom: 52px; padding: 14px 22px; }
  .feature-split .media { position: relative; width: 100%; height: 320px; }
  .feature-split .media::before { background: linear-gradient(180deg, var(--color-stone-light) 0%, transparent 45%); }
  .feature-split .container { padding-top: 56px; padding-bottom: 56px; }
  .feature-split { display: flex; flex-direction: column-reverse; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 34px 20px; border-top: 1px solid rgba(255,255,255,.14); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .card-row { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { gap: 0; }
  .mv-grid { grid-template-columns: 1fr; }
  .svc-row, .svc-row.rev { grid-template-columns: 1fr; min-height: 0; }
  .svc-row.rev .svc-media { order: 0; }
  .svc-media { min-height: 300px; }
  .svc-row.rev .svc-media .tab { left: auto; right: 0; }
  .pgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .modal-dialog { grid-template-columns: 1fr; }
  .modal-media { min-height: 240px; max-height: 300px; }
  .modal-body { padding: 30px 26px; }
  .contact-info, .form-panel { padding: 38px 26px; }
  .banner-tab { display: none; }
}
@media (max-width: 600px) {
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .biz-label { padding: 16px; }
  .biz-label h3 { font-size: 1rem; }
  .biz-label p { display: none; }
  .card-row { grid-template-columns: 1fr 1fr; gap: 16px; row-gap: 30px; }
  .values-grid, .svc-list, .form-row { grid-template-columns: 1fr; }
  .logo-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .logo-card { padding: 22px 14px 20px; }
  .logo-card .lg { height: 100px; }
  .certified-by { padding: 20px; gap: 16px 28px; }
  .certified-by img { height: 60px; }
  .pgrid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .pitem.feature { grid-column: auto; }
  .pitem.tall { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-text { padding: 44px 22px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide, .hero-slide img { transition: none; }
  .hero-dot.is-active::after { animation: none; transform: scaleX(1); }
}
