/* ============================================================
   KOLEKO — Transportation Planning & Traffic Engineering
   Brand palette: red #D62828 + burgundy + warm cream
   ============================================================ */

:root {
  /* Brand */
  --red: #d62828;          /* primary brand (logo) */
  --red-2: #e85050;        /* lighter red */
  --red-deep: #a51d1d;     /* darker red */
  --amber: var(--red);     /* alias — kept so legacy markup reads red */
  --rust: #b01d1d;         /* deep red for labels */

  /* Surfaces — dark sections are deep burgundy */
  --ink: #4a0f17;          /* burgundy — dark sections, buttons */
  --ink-2: #5c1721;
  --ink-3: #6c1f2a;
  --line: #7a2b31;         /* hairline on dark */

  /* Light surfaces */
  --paper: #f6f2ea;        /* warm cream */
  --paper-2: #ece3d4;      /* darker cream */
  --bone: #fcfaf6;         /* near-white */

  /* Text */
  --fg-on-dark: #f7ede8;
  --fg-mute-on-dark: #e2bcbf;
  --fg-on-light: #1d1514;  /* warm near-black */
  --fg-mute-on-light: #5f524d;

  /* Type */
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --body: "Manrope", "Helvetica Neue", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;

  /* Rhythm */
  --maxw: 1280px;
  --gut: clamp(1.1rem, 4vw, 4rem);
  --radius: 4px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Type scale (consistent modular) */
  --fs-h1: clamp(2.3rem, 5vw, 4rem);
  --fs-h2: clamp(1.85rem, 3.4vw, 2.9rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.7rem);
  --fs-h4: 1.12rem;
  --fs-lede: clamp(1.08rem, 1.3vw, 1.22rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--fg-on-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* grid texture removed — clean cream background */
::selection { background: var(--red); color: #fff; }

/* ---------- Typography (consistent scale) ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); font-weight: 900; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

.eyebrow, .label {
  font-family: var(--mono);
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
}
.mono { font-family: var(--mono); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  font-weight: 400;
  color: var(--fg-mute-on-light);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); position: relative; z-index: 2; }
section { position: relative; z-index: 2; }
.section { padding-block: clamp(3rem, 6.75vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--white { background: var(--bone); }
.section-head { display: grid; gap: 1rem; max-width: 70ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { background: var(--red); color: #fff; padding: .5em 1.1em; border-radius: 999px; letter-spacing: .16em; display: inline-block; }
.section-head h2 .accent { color: var(--bone); background: var(--red); padding: 0 .15em; box-decoration-break: clone; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 1.05em 1.7em;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--bone);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
}
.btn:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--red); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--amber { background: var(--red); border-color: var(--red); color: #fff; }
.btn--amber:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); box-shadow: 6px 6px 0 var(--red); }
.btn--light { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--light:hover { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Header / Nav (light) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,246,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(77,15,23,.12);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 100px; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { height: 74px; width: auto; }
.menu { display: flex; align-items: center; gap: .1rem; }
.menu a {
  color: var(--fg-on-light);
  font-family: var(--mono); font-size: .9rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem 1rem; position: relative;
  opacity: .78; transition: opacity .2s var(--ease), color .2s var(--ease);
}
.menu a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu a:hover, .menu a[aria-current="page"] { opacity: 1; color: var(--red); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .btn { padding: .8em 1.3em; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: flex-end;
}
.nav-toggle span { height: 2px; width: 26px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(2) { width: 18px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 26px; }

/* ---------- Hero ---------- */
.hero {
  background: url(../img/hero-bg.png) center/cover no-repeat;
  background-color: var(--red-deep);
  color: var(--fg-on-dark);
  position: relative; overflow: hidden;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero::after { content: none; }
.hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero .eyebrow { color: var(--red-2); display: inline-flex; align-items: center; gap: .7rem; }
.hero .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); display: inline-block; }
.hero h1 { margin: 1.2rem 0 1.5rem; text-shadow: 0 2px 26px rgba(0,0,0,.55); }
.hero .lede, .hero .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero h1 .out { -webkit-text-stroke: 2px var(--red-2); color: transparent; }
.hero h1 .hi { color: var(--red-2); }
.hero .lede { color: var(--fg-mute-on-dark); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-card { background: var(--bone); border: 1px solid rgba(77,15,23,.14); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); position: relative; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.hero-card .label { color: var(--red); margin-bottom: 1.2rem; }
.hero-card h3 { color: var(--ink); margin-bottom: .8rem; }
.hero-card p { color: var(--fg-mute-on-light); font-size: .95rem; }
.hero-card img { width: 120px; margin-bottom: 1rem; }
.hero-card::before { content: "// K-SYS"; position: absolute; top: -10px; left: 24px; background: var(--bone); color: var(--red); font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; padding: 0 .5rem; }

.hero-meta { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(77,15,23,.14); border: 1px solid rgba(77,15,23,.14); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--bone); padding: 1.6rem 1.3rem; }
.stat .num { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem,3vw,2.8rem); color: var(--red); line-height: 1; }
.stat .num small { font-size: 1.1rem; color: var(--ink); }
.stat .lbl { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute-on-light); margin-top: .6rem; }

/* ---------- Marquee strip ---------- */
.strip { background: var(--red); color: #fff; overflow: hidden; padding: 1rem 0; }
.marquee { display: flex; gap: 3rem; white-space: nowrap; animation: scroll 26s linear infinite; }
.marquee span { font-family: var(--mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: "✦"; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.split .label { background: var(--red); color: #fff; padding: .5em 1.1em; border-radius: 999px; letter-spacing: .16em; display: inline-block; margin-bottom: 1.2rem; }
.split p + p { margin-top: 1.1rem; }

/* ---------- Vision / Mission ---------- */
.vm { background: var(--paper); color: var(--fg-on-light); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); }
.vm-cell { background: var(--bone); padding: clamp(2rem,4vw,3rem); border-radius: var(--radius-lg); border: 1px solid rgba(77,15,23,.1); border-top: 5px solid var(--red); position: relative; box-shadow: 0 18px 40px -24px rgba(77,15,23,.3); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vm-cell:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(77,15,23,.4); }
.vm-badge { width: 60px; height: 60px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.9rem; margin-bottom: 1.4rem; }
.vm-label { font-family: var(--mono); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); font-weight: 700; display: block; margin-bottom: .8rem; }
.vm-cell h3 { color: var(--ink); margin-bottom: 1rem; font-size: clamp(1.35rem, 2.1vw, 1.85rem); }
.vm-cell p { color: var(--fg-mute-on-light); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(77,15,23,.14); border: 1px solid rgba(77,15,23,.14); border-radius: var(--radius-lg); overflow: hidden; }
.svc { background: var(--bone); padding: clamp(1.6rem,3vw,2.4rem); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; min-height: 320px; }
.svc::before { content:""; position:absolute; left:0; right:0; top:0; height:4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: 0 22px 45px -16px rgba(77,15,23,.45); }
.svc:hover::before { transform: scaleX(1); }
.svc-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; color: var(--fg-mute-on-light); }
.svc-icon { display: block; margin: 1.2rem 0 1.4rem; transition: filter .3s var(--ease); }
.svc-icon img { width: 300px; max-width: 100%; height: auto; object-fit: contain; }
/* large icons on the Services detail page */
.split .svc-icon { margin: 0 0 1.6rem; }
.split .svc-icon img { width: 440px; }
.svc h3 { font-size: 1.2rem; margin-bottom: .7rem; transition: color .3s var(--ease); }
.svc p { font-size: .92rem; color: var(--fg-mute-on-light); transition: color .3s var(--ease); flex: 1; }
.svc:hover h3 { color: var(--red); }
.svc .more { margin-top: 1.2rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; display: inline-flex; gap: .5rem; color: var(--red); }
.svc .more span { transition: transform .25s var(--ease); }
.svc:hover .more span { transform: translateX(4px); }

/* Services detail (services.html) — heading like home, image + prose top-aligned */
.svc-detail { padding-block: clamp(2.2rem,4vw,3.5rem); border-bottom: 1px solid rgba(77,15,23,.12); scroll-margin-top: 110px; }
.svc-detail:first-of-type { padding-top: 0; }
.svc-detail-head { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.svc-detail-head .svc-num { background: var(--red); color: #fff; padding: .5em 1.1em; border-radius: 999px; letter-spacing: .16em; font-size: .9rem; }
.svc-detail-head h2 { margin: 0; }
.svc-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.svc-detail-body .svc-icon { margin: 0; }
.svc-detail-body .svc-icon img { width: 100%; max-width: 640px; }
@media (max-width:980px){ .svc-detail-body{ grid-template-columns:1fr; } }

/* ---------- Testimonials ---------- */
.testi { background: var(--paper-2); }
.testi-track { position: relative; overflow: hidden; }
.testi-slides { display: flex; transition: transform .6s var(--ease); }
.testi-slide { min-width: 100%; padding-inline: 2px; }
.testi-quote { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.3; letter-spacing: -.01em; max-width: 62ch; margin-bottom: 1.6rem; }
.testi-quote::before { content: "“"; color: var(--red); }
.testi-quote::after { content: "”"; color: var(--red); }
.testi-by { display: flex; align-items: center; gap: 1rem; }
.testi-by .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.2rem; }
.testi-by .who b { font-family: var(--display); font-size: 1.05rem; }
.testi-by .who span { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute-on-light); }
.testi-nav { display: flex; gap: .6rem; align-items: center; margin-top: 2.5rem; }
.testi-nav button { width: 46px; height: 46px; border: 2px solid var(--ink); background: transparent; cursor: pointer; font-family: var(--mono); font-size: 1rem; color: var(--ink); transition: all .2s var(--ease); }
.testi-nav button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.testi-dots { display: flex; gap: .5rem; align-items: center; margin-left: 1rem; }
.testi-dots button { width: 30px; height: 4px; border: none; background: rgba(77,15,23,.2); cursor: pointer; transition: background .2s, width .2s; }
.testi-dots button.active { background: var(--red); width: 46px; }

/* ---------- Clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(77,15,23,.14); border: 1px solid rgba(77,15,23,.14); border-radius: var(--radius-lg); overflow: hidden; }
.client { background: var(--bone); padding: 2rem 1.5rem; display: grid; place-items: center; min-height: 150px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; text-align: center; color: var(--fg-mute-on-light); transition: background .25s, color .25s; }
.client:hover { background: var(--red); color: #fff; }
.client .badge { font-family: var(--mono); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: .4rem; display: block; }

/* Client logo wall — inline, no tiles, colour, white-bg knocked out via multiply */
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem); padding-block: 1rem; }
.logo-wall .logo { background: none; padding: .5rem; display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.logo-wall .logo img { max-height: 110px; width: auto; max-width: 210px; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.logo-wall .logo:hover { transform: translateY(-4px); }
.logo-wall .logo:hover img { transform: scale(1.05); }

/* ---------- Locations ---------- */
.locs { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.loc { border-top: 2px solid var(--red); padding-top: 1rem; }
.loc b { font-family: var(--display); font-size: 1.2rem; display: block; margin-bottom: .2rem; }
.loc span { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-mute-on-light); }

/* Offices list (contact page) */
.offices { display: grid; gap: 1px; background: rgba(77,15,23,.14); border: 1px solid rgba(77,15,23,.14); border-radius: var(--radius-lg); overflow: hidden; }
.office { background: var(--bone); padding: clamp(1.6rem,3vw,2.2rem); display: grid; grid-template-columns: minmax(190px,250px) 1fr; gap: clamp(1.2rem,3vw,2.5rem); align-items: start; }
.office-loc { border-left: 4px solid var(--red); padding-left: 1rem; }
.office-loc b { font-family: var(--display); font-size: clamp(1.3rem,2vw,1.7rem); display: block; }
.office-loc span { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-mute-on-light); }
.office-details div { padding: .2rem 0; font-size: .98rem; line-height: 1.5; }
.office-details .ot { display: inline-block; min-width: 72px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.office-details a { color: var(--ink); }
.office-details a:hover { color: var(--red); }
@media (max-width: 760px){ .office { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: url(../img/hero-bg.png) center/cover no-repeat; background-color: var(--ink); color: var(--fg-on-dark); position: relative; overflow: hidden; }
.cta-band::before { content: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.6fr .8fr; gap: 2rem; align-items: end; }
.cta-inner h2, .cta-inner .lede { text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.cta-inner h2 { color: var(--bone); max-width: 16ch; }
.cta-inner h2 .hi { color: var(--red-2); }
.cta-inner .lede { color: var(--fg-on-dark); }
.cta-inner .actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* ---------- Page header (sub-pages) ---------- */
.page-head { background: var(--paper-2); color: var(--fg-on-light); padding-top: clamp(3.5rem,7vw,6rem); padding-bottom: clamp(2.5rem,5vw,4.5rem); position: relative; overflow: hidden; border-bottom: 1px solid rgba(77,15,23,.12); }
.page-head::after { content: none; }
.page-head .crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute-on-light); display: flex; gap: .6rem; }
.page-head .crumbs a:hover { color: var(--red); }
.page-head h1 { margin: 1rem 0 1.2rem; color: var(--ink); }
.page-head h1 .hi { color: var(--red); }
.page-head .lede { color: var(--fg-mute-on-light); }

/* ---------- Prose / feature list ---------- */
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.2rem; color: var(--fg-mute-on-light); }
.prose h3 { margin: 2rem 0 .8rem; }
.feat-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.4rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.feat .ix { font-family: var(--mono); color: var(--red); font-size: .85rem; padding-top: .3rem; }
.feat h4 { margin-bottom: .3rem; }
.feat p { color: var(--fg-mute-on-light); font-size: .95rem; }
.feat .arrow { font-family: var(--mono); color: var(--fg-mute-on-light); padding-top: .3rem; }

/* ---------- Value rows ---------- */
.value-rows { display: grid; gap: 1px; background: rgba(77,15,23,.14); border:1px solid rgba(77,15,23,.14); border-radius: var(--radius-lg); overflow: hidden; }
.value-row { display: grid; grid-template-columns: 90px 1fr; gap: 1.6rem; background: var(--bone); padding: 2rem; align-items: center; }
.value-row .vnum { font-family: var(--display); font-weight: 900; font-size: 2.6rem; color: var(--red); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); color: var(--fg-mute-on-light); padding-top: clamp(3rem,6vw,5rem); position: relative; z-index: 2; border-top: 1px solid rgba(77,15,23,.12); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(77,15,23,.14); }
.foot-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.foot-brand img { height: 64px; width: auto; }
.foot-col h5 { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 1.2rem; }
.foot-col a, .foot-col li { display: block; padding: .4rem 0; color: var(--fg-mute-on-light); font-size: .95rem; transition: color .2s; }
.foot-col a:hover { color: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.8rem 0 2.5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--fg-mute-on-light); }

/* ---------- Reveal anim ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; } .reveal.d6 { transition-delay: .48s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .vm-grid, .cta-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid, .locs { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .brand img { height: 54px; }
}
@media (max-width: 720px) {
  .testi-slide { grid-template-columns: 1fr; gap: 1.2rem; }
  .menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .menu.open { display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: 100px 0 auto 0; background: var(--bone); padding: 1.5rem var(--gut) 2.5rem; gap: 0; border-bottom: 1px solid rgba(77,15,23,.12); }
  .menu.open a { padding: 1rem 0; border-bottom: 1px solid rgba(77,15,23,.08); font-size: .9rem; color: var(--ink); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid, .locs { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; }
}
