/* ==========================================================================
   MASTER CONSTRUCTION — Ratio-inspired concept
   Brand: teal #5BAEB6 accent-only · charcoal dark presentation
   ========================================================================== */

:root {
  --ink: #141414;
  --charcoal: #232323;
  --charcoal-2: #2b2b2b;
  --plaster: #F0F2F2;
  --teal: #5BAEB6;
  --teal-deep: #2E7A82;
  --white: #ffffff;
  --steel: #a9b0b1;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.14);
  --font-display: "Bahnschrift", "DIN Alternate", "Franklin Gothic Medium", "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --track: 0.35em;
  --container: 1240px;
  --pad: clamp(24px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: #000;
  padding: 10px 18px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}

.eyebrow-light { color: var(--teal-deep); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: 0.015em;
  max-width: 21em;
}

.lead { color: var(--steel); margin-top: 28px; max-width: 34em; }
.lead strong { color: var(--white); font-weight: 500; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  padding: 17px 38px 15px;
  border: 1px solid transparent;
  transition: all 0.35s ease;
  cursor: pointer;
}

.btn-solid { background: var(--white); color: #000; border-color: var(--white); }
.btn-solid:hover { background: transparent; color: var(--white); }

.btn-outline { border-color: var(--line); color: var(--white); padding: 13px 26px 11px; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-ghost { border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

.text-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--teal);
  margin-top: 34px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.text-link:hover { color: var(--teal); }

.section-light .text-link { color: #000; border-color: var(--teal-deep); }
.section-light .text-link:hover { color: var(--teal-deep); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.site-header .brand img { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5)); }

.site-header.scrolled {
  background: rgba(20, 20, 20, 0.96);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 92px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-header.scrolled .header-inner { height: 72px; }

.brand img { width: 74px; height: auto; transition: width 0.4s ease; }
.site-header.scrolled .brand img { width: 58px; }

.main-nav { margin-left: auto; align-self: stretch; display: flex; }

.main-nav > ul { display: flex; gap: 38px; list-style: none; align-items: stretch; }

.main-nav > ul > li { display: flex; align-items: center; position: relative; }

.main-nav a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 0;
  position: relative;
  transition: color 0.35s ease;
}

.main-nav a:hover { color: var(--teal); }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--teal);
  transition: right 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.caret {
  display: inline-block;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--teal);
  vertical-align: middle;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 470px;
  columns: 2;
  column-gap: 0;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid var(--line);
  list-style: none;
  padding: 14px 6px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.dropdown li { break-inside: avoid; }

.dropdown-all { column-span: all; }

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.main-nav .dropdown li { display: block; }

.main-nav .dropdown a {
  display: block;
  padding: 10px 26px;
  font-size: 11px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transition: color 0.35s ease, background 0.35s ease, padding-left 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-nav .dropdown a::after { display: none; }

.main-nav .dropdown a:hover {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.04);
  padding-left: 32px;
}

.dropdown-all { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.dropdown-all a { color: var(--teal); }

.header-cta { display: flex; align-items: center; gap: 26px; }

.header-phone {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 1px; background: var(--white); transition: 0.3s; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video,
.quote-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,20,0.68) 0%, rgba(20,20,20,0.38) 52%, rgba(20,20,20,0.12) 100%),
    linear-gradient(180deg, rgba(20,20,20,0.62) 0%, rgba(20,20,20,0.22) 45%, rgba(20,20,20,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 140px var(--pad) 100px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-eyebrow {
  font-size: 15px;
  font-weight: 400;
  color: #8FD0D6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 14px rgba(0, 0, 0, 0.8);
  margin-top: 34px;
  margin-bottom: 0;
}

.hero-lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}

.hero-eyebrow { margin-bottom: 30px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title .line { display: block; }

.hero-title-sub {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: var(--track);
  color: var(--steel);
  margin-top: 26px;
}

.hero-actions { display: flex; gap: 18px; margin-top: 48px; flex-wrap: wrap; }

/* ---------- ticker ---------- */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
  padding: 26px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker-list {
  display: flex;
  list-style: none;
  white-space: nowrap;
}

.ticker-list li {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--steel);
  padding-right: 28px;
}

.ticker-list li::after {
  content: "·";
  color: var(--teal);
  padding-left: 28px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section { padding-block: clamp(90px, 11vw, 150px); }

.section-alt { background: var(--charcoal); }

.section-light { background: var(--plaster); color: #000; }
.section-light .section-title { color: #000; }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head-split .text-link { margin-top: 0; margin-bottom: 8px; }

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.about-media { position: relative; }

.about-media img { width: 100%; height: auto; }

.about-badge {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--ink);
  padding: 22px 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
}

.about-badge-year { color: var(--teal); font-size: 15px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(28px, 4vw, 64px);
  margin-top: 54px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  color: var(--white);
}

.stat dd {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 10px;
}

/* ---------- services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--charcoal);
  padding: clamp(34px, 4vw, 56px);
  transition: background 0.4s ease;
}

.service-card:hover { background: var(--charcoal-2); }

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.service-icon {
  width: 46px;
  height: 46px;
  color: var(--teal);
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon { transform: translateY(-3px); }

.service-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 18px 0 16px;
}

.service-card p { color: var(--steel); font-size: 16px; }
.service-card strong { color: var(--white); font-weight: 500; }

.service-emergency {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 4px;
}
.service-emergency:hover { color: var(--white); border-color: var(--white); }

.specialties { margin-top: clamp(60px, 7vw, 100px); }

.specialties-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 34px;
}

.specialties-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 40px;
}

.specialties-list li {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 22px;
}

.specialties-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border: 1px solid var(--teal);
}

.specialties-cta { text-align: center; margin-top: 56px; }

/* ---------- service areas ---------- */

.areas-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 40px;
}

.areas-grid a {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: color 0.3s ease;
}

.areas-grid a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border: 1px solid var(--teal);
  transition: background 0.3s ease;
}

.areas-grid a:hover { color: var(--teal); }
.areas-grid a:hover::before { background: var(--teal); }

/* ---------- project spotlight ---------- */

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.spotlight-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
}

.spotlight-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spotlight-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.spotlight-item:last-child { border-bottom: 1px solid var(--line); }

.spotlight-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}

.spotlight-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 27px);
  letter-spacing: 0.04em;
  color: var(--white);
}

/* ---------- work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
}

.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.5s ease;
}

.work-tile:hover img { transform: scale(1.06); filter: brightness(0.55); }

.work-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 26px 22px;
  background: linear-gradient(180deg, transparent, rgba(20,20,20,0.85));
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.work-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.work-cat {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.work-tile:hover .work-cat { opacity: 1; transform: translateY(0); }

/* ---------- testimonials ---------- */

.t-aggregate {
  margin-top: 16px;
  color: var(--steel);
  font-size: 15px;
}
.t-aggregate strong { color: var(--white); font-weight: 500; }

.t-viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.t-viewport::-webkit-scrollbar { display: none; }

.t-item {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.t-bubble {
  position: relative;
  background: var(--white);
  padding: 38px 34px 34px;
  flex: 1;
}

.t-bubble::before {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -19px;
  border-style: solid;
  border-width: 19px 16px 0 0;
  border-color: var(--teal) transparent transparent transparent;
}

.t-bubble::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -15px;
  border-style: solid;
  border-width: 15px 17px 0 0;
  border-color: var(--white) transparent transparent transparent;
}

.t-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #000000;
}

.t-stars {
  color: var(--teal-deep);
  font-size: 14px;
  letter-spacing: 0.3em;
  margin: 10px 0 14px;
}

.t-bubble p:not(.t-stars) {
  color: #000000;
  font-size: 15.5px;
  line-height: 1.7;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-left: 6px;
}

.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-who { display: flex; flex-direction: column; gap: 3px; }

.t-name { font-weight: 500; font-size: 15.5px; }

.t-role {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
}

.t-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--steel);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.t-dot.active { background: var(--teal); border-color: var(--teal); }

/* ---------- location map ---------- */

.map-section { position: relative; }

.map {
  height: 520px;
  background: var(--charcoal);
  filter: saturate(0.85);
  z-index: 1;
}

.map-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  left: clamp(24px, 8vw, 120px);
  background: rgba(20, 20, 20, 0.94);
  border: 1px solid var(--line);
  padding: 44px 48px;
  max-width: 340px;
}

.map-card.reveal { transform: translateY(calc(-50% + 28px)); }
.map-card.reveal.in { transform: translateY(-50%); }

.map-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.map-card address {
  font-style: normal;
  color: var(--steel);
  margin-bottom: 10px;
}

.map-hours { color: var(--steel); font-size: 15px; margin-bottom: 26px; }

.map-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--teal);
  position: relative;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--teal);
  opacity: 0;
  animation: pinpulse 2.4s ease-out infinite;
}

@keyframes pinpulse {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.leaflet-container { font-family: var(--font-body); }
.leaflet-control-attribution {
  background: rgba(20, 20, 20, 0.8) !important;
  color: var(--steel) !important;
}
.leaflet-control-attribution a { color: var(--steel) !important; }

/* ---------- partners ---------- */

.partners .section-head { text-align: center; }
.partners .section-title { margin-inline: auto; }

.partner-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 48px;
  align-items: center;
  margin-top: 20px;
}

.partner-grid li { display: flex; justify-content: center; }

.partner-grid img {
  max-height: 58px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.75);
  transition: filter 0.4s ease;
}

.partner-grid li:hover img { filter: grayscale(1) opacity(1); }

/* ---------- quote cta ---------- */

.quote {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 14vw, 190px);
  text-align: center;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.78);
}

.quote-content { position: relative; z-index: 2; padding-inline: var(--pad); }

.quote-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.quote-sub { color: var(--steel); margin-top: 18px; }

.quote .hero-actions { justify-content: center; margin-top: 40px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: clamp(64px, 8vw, 100px);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.8fr 1fr;
  gap: 44px;
  padding-bottom: 70px;
}

.footer-brand > img { width: 210px; height: auto; }

.footer-license {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 20px;
}

.footer-license a {
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-license a:hover { color: var(--teal); border-color: var(--teal); }

.footer-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-badges img { height: 48px; width: auto; }
.footer-badges a { display: block; }

.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.footer-col address { font-style: normal; color: var(--steel); margin-bottom: 14px; }

.footer-col p { margin-bottom: 8px; }
.footer-col a { color: var(--steel); transition: color 0.3s ease; }
.footer-col a:hover { color: var(--white); }

.footer-emergency a { color: var(--teal); }
.footer-emergency a:hover { color: var(--white); }

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 10px; }

.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0; }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--steel);
  font-size: 13px;
}

.footer-bottom a { color: var(--steel); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: translateY(28px) scale(1.04);
  transition: opacity 1.3s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-scale.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-scale { opacity: 1; transform: none; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .hero-scroll-line::after { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .t-viewport { grid-auto-columns: calc((100% - 24px) / 2); }
  .spotlight-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .spotlight-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
  .spotlight-item:last-child { border-bottom: 0; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties-list { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    margin-left: 0;
  }

  .main-nav.open { opacity: 1; pointer-events: auto; }

  .main-nav > ul { flex-direction: column; text-align: center; gap: 30px; }
  .main-nav > ul > li { display: block; }
  .main-nav a { font-size: 16px; }
  .dropdown, .caret { display: none; }

  .header-cta .btn { display: none; }

  .nav-toggle { display: flex; z-index: 110; }

  .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); }

  .service-grid { grid-template-columns: 1fr; }
  .specialties-list { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .t-viewport { grid-auto-columns: 100%; }
  .map { height: 420px; }
  .map-card {
    position: static;
    transform: none;
    max-width: none;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .map-card.reveal { transform: translateY(28px); }
  .map-card.reveal.in { transform: none; }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .spotlight-meta { grid-template-columns: 1fr; }
  .spotlight-item:last-child { border-bottom: 1px solid var(--line); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .specialties-list { grid-template-columns: 1fr; }
}
