/* ============================================================
   REDLINE Surveying & Civil Construction Drafting, LLC
   Shared stylesheet — used by all pages (index, about, services,
   team, contact). Keep this file as the single source of style
   truth; do not fork per-page copies.
   ============================================================ */

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

:root {
  --red: #C0271A;
  --red-dark: #8C1A10;
  --red-bright: #E03020;
  --black: #0D0D0D;
  --dark: #141414;
  --dark2: #1C1C1C;
  --dark3: #252525;
  --steel: #2E2E2E;
  --muted: #6B6B6B;
  --light: #A8A8A8;
  --white: #F0EDE8;
  --off: #C8C4BE;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  opacity: 0;
  animation: page-fade-in 0.6s ease forwards;
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(13,13,13,0.97);
  border-bottom: 1px solid rgba(192,39,26,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
nav.is-scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.nav-logo img { height: 52px; width: auto; display: block; }
nav ul { display: flex; gap: 40px; list-style: none; }
nav ul a {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  color: var(--red); transition: color 0.2s;
  position: relative;
}
nav ul a:hover { color: var(--red-bright); }
nav ul a.is-active { color: var(--white); }
nav ul a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--red);
}
.nav-cta {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  color: var(--white); background: var(--red);
  padding: 10px 24px; transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--red-bright); transform: translateY(-1px); }
.nav-logo a, .footer-logo a {
  display: block; line-height: 0; text-decoration: none;
}

/* ── PURE CSS HAMBURGER ── */
#menu-toggle { display: none; }

.hamburger-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  position: relative;
}
.hamburger-label span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.28s ease;
  transform-origin: center;
}

#menu-toggle:checked ~ nav .hamburger-label span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle:checked ~ nav .hamburger-label span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
#menu-toggle:checked ~ nav .hamburger-label span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: #0d0d0d;
  border-bottom: 3px solid var(--red);
  z-index: 150;
  flex-direction: column;
}
#menu-toggle:checked ~ .mobile-drawer {
  display: flex;
}

.drawer-item {
  display: block; position: relative;
  border-bottom: 1px solid var(--steel);
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item a {
  display: block; position: relative; z-index: 2;
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
  padding: 18px 24px;
  transition: color 0.15s;
}
.drawer-item a:hover { color: var(--red); }
.drawer-close-overlay {
  position: absolute; inset: 0; cursor: pointer; z-index: 1;
}
.drawer-item-cta {
  background: var(--red); border-bottom: none;
}
.drawer-item-cta a { color: var(--white); text-align: center; }
.drawer-item-cta:hover { background: var(--red-bright); }

/* ── MENU BACKDROP ── */
.menu-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 140;
  cursor: pointer;
}
#menu-toggle:checked ~ .menu-backdrop { display: block; }

/* ── TICKER ── */
.ticker {
  background: var(--red-dark);
  overflow: hidden;
  height: 48px;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-inner span {
  font-size: 14px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.8);
  padding: 0 36px;
}
.ticker-inner span.sep { color: rgba(240,237,232,0.3); padding: 0; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
section { padding: 100px 48px; }
.label {
  font-size: 26px; font-weight: 700; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--red);
  border-left: 2px solid var(--red); padding-left: 12px;
  margin-bottom: 32px; display: block;
}
h2 {
  font-size: clamp(30px, 4vw, 50px); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1.0; color: var(--white); margin-bottom: 20px;
}
.section-rule { width: 48px; height: 2px; background: var(--red); margin-bottom: 40px; }

/* ── HERO ── */
.hero {
  position: relative; min-height: auto;
  display: flex; flex-direction: column;
  justify-content: flex-start; align-items: center;
  text-align: center; padding: 88px 48px 56px; overflow: hidden;
}
.hero-logo-img {
  position: relative; z-index: 2; width: 100%; max-width: 780px;
  margin: 0 auto; display: flex; justify-content: center;
}
.hero-logo-img img { width: 100%; height: auto; display: block; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(192,39,26,0.055) 79px, rgba(192,39,26,0.055) 80px),
    repeating-linear-gradient(0deg,  transparent, transparent 79px, rgba(192,39,26,0.055) 79px, rgba(192,39,26,0.055) 80px);
  will-change: transform;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 0%, rgba(13,13,13,0.6) 50%, var(--black) 100%);
}
.hero-tag {
  position: relative; z-index: 2; display: inline-block;
  font-size: 14px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--white);
  margin-top: 8px; margin-bottom: 16px; line-height: 1.7; text-align: center;
}
.hero h1 {
  position: relative; z-index: 2;
  font-size: clamp(52px, 8vw, 108px); font-weight: 900;
  line-height: 0.92; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--white); margin-bottom: 36px;
}
.hero h1 .redline { color: var(--red); display: block; }
.hero-sub {
  position: relative; z-index: 2;
  font-size: 17px; letter-spacing: 0.04em;
  color: var(--off); max-width: 600px;
  margin-bottom: 32px; line-height: 1.85; text-transform: uppercase;
}
.hero-actions {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 28px;
}
.hero-tag, .hero-sub, .hero-actions { position: relative; z-index: 2; }

.btn-primary {
  display: inline-block; font-size: 14px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; color: var(--white); background: var(--red);
  padding: 16px 36px; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block; font-size: 14px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

.address-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.address-link:hover { border-bottom-color: var(--red); }

/* ── ABOUT (home teaser) ── */
#about { background: var(--dark); border-top: 1px solid var(--steel); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { font-size: 18px; color: var(--off); line-height: 1.9; margin-bottom: 20px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat { background: var(--dark2); padding: 32px 28px; border-left: 3px solid var(--red); }
.stat-number { font-size: 46px; font-weight: 900; color: var(--white); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.stat-number span { color: var(--red); }
.stat-label { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ── SERVICES (home preview) ── */
#services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 60px; }

.svc-toggle { display: none; }

.service-num { display: none; }
.service-card {
  background: var(--dark2); padding: 32px 24px;
  position: relative; overflow: hidden;
  transition: background 0.25s; cursor: pointer;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; user-select: none;
  min-height: 120px;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--red); transition: width 0.35s ease; }
.service-card:hover::before { width: 100%; }
.service-card:hover { background: var(--dark3); }
.svc-toggle:checked + .service-card { background: var(--dark3); }
.svc-toggle:checked + .service-card::before { width: 100%; }
.service-card h3 {
  font-size: clamp(15px, 1.5vw, 21px); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--white); margin-bottom: 0; line-height: 1.3;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.service-card h3::before {
  content: "|";
  color: var(--red);
  font-weight: 900;
  font-size: 1.1em;
}

.service-desc {
  font-size: 15px; color: var(--light); line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.25s ease;
  margin-top: 0;
}
.svc-toggle:checked + .service-card .service-desc {
  max-height: 200px;
  margin-top: 14px;
}

.service-card-hint {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: 10px; display: block;
  transition: color 0.2s;
}
.svc-toggle:checked + .service-card .service-card-hint { color: var(--red); }

.services-more-link { margin-top: 48px; text-align: center; }

/* ── SERVICES DEEP-DIVE (services.html) ── */
.svc-deep-list { display: flex; flex-direction: column; margin-top: 60px; }
.svc-deep-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 40px;
  padding: 48px 0; border-top: 1px solid var(--steel);
  scroll-margin-top: 90px;
}
.svc-deep-list .svc-deep-card:last-child { border-bottom: 1px solid var(--steel); }
.svc-deep-num { font-size: 44px; font-weight: 900; color: var(--steel); letter-spacing: -0.02em; line-height: 1; }
.svc-deep-name { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; color: var(--white); margin-bottom: 14px; }
.svc-deep-summary { font-size: 18px; color: var(--off); line-height: 1.85; margin-bottom: 24px; }
.svc-deep-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 20px; }
.svc-deep-meta-block h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.svc-deep-meta-block p { font-size: 15px; color: var(--light); line-height: 1.7; }
.svc-deep-list-items { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.svc-deep-list-items li { font-size: 15px; color: var(--light); line-height: 1.6; padding-left: 16px; position: relative; }
.svc-deep-list-items li::before { content: '—'; position: absolute; left: 0; color: var(--red); }
.svc-deep-related { font-size: 13px; letter-spacing: 0.05em; color: var(--muted); margin-top: 8px; }
.svc-deep-related a { color: var(--red); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.svc-deep-related a:hover { color: var(--red-bright); border-bottom-color: var(--red-bright); }

/* ── PROCESS ── */
#process { background: var(--dark); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; border: 1px solid var(--steel); }
.process-step { padding: 40px 32px; border-right: 1px solid var(--steel); position: relative; }
.process-step:last-child { border-right: none; }
.step-arrow { position: absolute; top: 42px; right: -11px; width: 20px; height: 20px; background: var(--red); clip-path: polygon(0 0, 60% 50%, 0 100%, 100% 50%); z-index: 2; }
.process-step:last-child .step-arrow { display: none; }
.step-num { font-size: 54px; font-weight: 900; color: var(--steel); letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px; }
.process-step h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); margin-bottom: 10px; }
.process-step p { font-size: 16px; color: var(--muted); line-height: 1.7; }

/* ── WHY ── */
#why { background: var(--black); }
.why-list { margin-top: 60px; display: flex; flex-direction: column; }
.why-item { display: grid; grid-template-columns: 220px 1fr; align-items: start; gap: 48px; padding: 36px 0; border-bottom: 1px solid var(--steel); }
.why-item:first-child { border-top: 1px solid var(--steel); }
.why-label { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.why-desc { font-size: 18px; color: var(--off); line-height: 1.8; }
.why-desc strong { color: var(--white); font-weight: 700; }

/* ── CTA BAND ── */
.cta-band { background: var(--red-dark); padding: 80px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 3px solid var(--red-bright); }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 46px); color: var(--white); max-width: 580px; margin-bottom: 0; }

/* ── CONTACT ── */
#contact { background: var(--dark); border-top: 1px solid var(--steel); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; }
.contact-info p { font-size: 17px; color: var(--off); line-height: 1.9; margin-bottom: 32px; }
.contact-detail { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; flex-direction: column; gap: 4px; }
.contact-row-label { font-size: 13px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); }
.contact-row-val { font-size: 18px; color: var(--white); text-decoration: none; }
.contact-row-val:hover { color: var(--red-bright); }
form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form input, form select, form textarea {
  width: 100%; background: var(--dark3); border: 1px solid var(--steel);
  color: var(--white); font-family: inherit; font-size: 16px;
  padding: 14px 16px; outline: none; transition: border-color 0.2s;
  letter-spacing: 0.03em; appearance: none;
}
form input::placeholder, form textarea::placeholder { color: var(--muted); }
form input:focus, form select:focus, form textarea:focus { border-color: var(--red); }
form select option { background: var(--dark3); }

form textarea { resize: vertical; min-height: 120px; }
form button {
  background: var(--red); color: var(--white); border: none;
  font-family: inherit; font-size: 14px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 36px; cursor: pointer; transition: background 0.2s;
  align-self: flex-start;
}
form button:hover { background: var(--red-bright); }

.location-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 4px; }
.location-card { background: var(--dark3); padding: 24px 22px; border-top: 3px solid var(--red); }
.location-flag { font-size: 26px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--steel); display: flex; align-items: center; }
.location-card .contact-detail { gap: 14px; }
.location-card .contact-row-val { font-size: 17px; }
.state-icon { height: 40px; width: auto; vertical-align: middle; margin-right: 10px; display: inline-block; }

/* ── FOOTER ── */
footer { background: var(--black); padding: 40px 48px; border-top: 1px solid var(--steel); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo img { height: 44px; width: auto; display: block; opacity: 0.9; }
.footer-copy { font-size: 13px; color: var(--muted); letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--red-bright); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--steel); color: var(--light); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ── PAGE HEADER (About / Services / Team / Contact) ── */
.page-header { padding: 120px 48px 64px; background: var(--dark); border-bottom: 1px solid var(--steel); position: relative; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(192,39,26,0.04) 79px, rgba(192,39,26,0.04) 80px), repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(192,39,26,0.04) 79px, rgba(192,39,26,0.04) 80px); pointer-events: none; }
.page-header-inner { position: relative; z-index: 2; max-width: 820px; }
.page-header h1 { font-size: clamp(36px, 5.5vw, 72px); font-weight: 900; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; color: var(--white); margin-bottom: 28px; }
.page-header h1 span { color: var(--red); }
.page-header p { font-size: 18px; color: var(--off); max-width: 640px; line-height: 1.8; }
.section { padding: 80px 48px; }
.story { background: var(--dark); border-bottom: 1px solid var(--steel); }
.story-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.story-body p { font-size: 17px; color: var(--off); line-height: 1.9; margin-bottom: 22px; }
.story-body p:last-child { margin-bottom: 0; }
.story-highlight { background: var(--dark2); border-left: 3px solid var(--red); padding: 28px; margin-top: 32px; }
.story-highlight p { font-size: 17px; color: var(--white); line-height: 1.8; margin: 0; font-style: italic; }
.projects { background: var(--black); border-bottom: 1px solid var(--steel); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; }
.project-item {
  background: var(--dark2); padding: 32px 24px;
  position: relative; overflow: hidden;
  transition: background 0.25s; cursor: default;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; min-height: 120px;
}
.project-item::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--red); transition: width 0.35s ease; }
.project-item:hover::before { width: 100%; }
.project-item:hover { background: var(--dark3); }
.project-item-name {
  font-size: clamp(15px, 1.5vw, 21px); font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.project-item-name::before {
  content: "|";
  color: var(--red);
  font-weight: 900;
  font-size: 1.1em;
}
.team { background: var(--dark); }
.team-intro { font-size: 17px; color: var(--off); max-width: 720px; margin-bottom: 64px; line-height: 1.9; }
.bio-card { display: grid; grid-template-columns: 280px 1fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--steel); }
.bio-card:last-child { border-bottom: 1px solid var(--steel); }
.bio-photo { display: flex; flex-direction: column; gap: 16px; }
.bio-photo-frame { width: 100%; aspect-ratio: 3/4; background: var(--dark2); border: 1px solid var(--steel); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; position: relative; overflow: hidden; }
.bio-photo-frame::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--red); }
.bio-photo-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--dark3); border: 2px solid var(--steel); display: flex; align-items: center; justify-content: center; }
.bio-photo-icon svg { width: 32px; height: 32px; fill: var(--muted); }
.bio-photo-label { font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0 16px; }
.bio-role-badge { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); border: 1px solid rgba(192,39,26,0.4); padding: 6px 14px; text-align: center; margin-top: 8px; }
.bio-content { padding-top: 4px; }
.bio-name { font-size: clamp(26px, 3vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; color: var(--white); margin-bottom: 6px; line-height: 1; }
.bio-title { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 28px; display: block; }
.bio-rule { width: 40px; height: 2px; background: var(--red); margin-bottom: 28px; }
.bio-content p { font-size: 16px; color: var(--off); line-height: 1.9; margin-bottom: 18px; }
.bio-content p:last-child { margin-bottom: 0; }
.bio-cert-list { margin: 16px 0 18px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bio-cert-list li { font-size: 15px; color: var(--light); padding-left: 20px; position: relative; line-height: 1.5; }
.bio-cert-list li::before { content: '—'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ============================================================
   MOTION SYSTEM — scroll-reveal, stagger, counters, parallax
   All driven by assets/js/reveal.js toggling .is-visible on
   elements pre-marked with .reveal. Respects reduced motion.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.07s; }
.reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.11s; }
.reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.27s; }
.reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.31s; }
.reveal-stagger.is-visible > *:nth-child(n+9) { transition-delay: 0.34s; }

.hero-tag, .hero h1, .hero-sub, .hero-actions {
  opacity: 0;
  animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-tag { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.28s; }
.hero-sub { animation-delay: 0.45s; }
.hero-actions { animation-delay: 0.6s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none !important; opacity: 1 !important; }
  .reveal, .reveal-stagger > *, .hero-tag, .hero h1, .hero-sub, .hero-actions {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .ticker-inner { animation: none !important; }
  .hero-bg { transform: none !important; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 16px; height: 56px; }
  .nav-logo img { height: 38px; }
  nav ul { display: none; }
  .nav-cta { display: none; }
  .hamburger-label { display: flex; }

  .hero { padding: 72px 20px 48px; }
  .hero-logo-img { max-width: 100%; }
  .hero-tag { font-size: 13px; letter-spacing: 0.14em; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 14px; width: 100%; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 320px; text-align: center; }

  section { padding: 60px 20px; }
  .section { padding: 48px 20px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 2px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; min-height: 90px; }
  .service-card h3 { font-size: 16px; }
  .svc-deep-card { grid-template-columns: 1fr; gap: 12px; padding: 36px 0; }
  .svc-deep-meta { grid-template-columns: 1fr; gap: 20px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-bottom: 1px solid var(--steel); padding: 32px 20px; }
  .process-step:nth-child(even) { border-right: none; }
  .process-step:last-child, .process-step:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .why-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 28px; padding: 48px 20px; }
  .cta-band h2 { font-size: clamp(22px, 6vw, 36px); max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  form input, form textarea, form select { font-size: 16px; }
  footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-logo img { height: 36px; }

  .page-header { padding: 80px 20px 40px; }
  .story-body { grid-template-columns: 1fr; gap: 0; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .bio-card { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .bio-photo { align-items: center; }
  .bio-photo-frame { aspect-ratio: 4/3; max-width: 260px; }
}

@media (max-width: 480px) {
  .project-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .process-step:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--steel); }
  .process-step:last-child { border-bottom: none; }
}
