/* ============================================================
   Meridian Construction — Stylesheet (Commercial GC)
   Navy + orange corporate system. Plain CSS, mobile-first.
   ============================================================ */

:root {
  --navy: #14213d;
  --navy-900: #0d1730;
  --ink: #1c1f24;
  --orange: #fa6400;
  --orange-600: #df5800;
  --steel: #5b6472;
  --steel-light: #8a93a1;
  --line: #e4e7eb;
  --light: #f5f6f8;
  --white: #ffffff;

  --container: 1200px;
  --head: "Oswald", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 40px rgba(13, 23, 48, 0.12);
  --shadow-sm: 0 6px 18px rgba(13, 23, 48, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: var(--white); }

/* eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.74rem; color: var(--orange); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); display: inline-block; }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head p { color: var(--steel); font-size: 1.05rem; }
.section--navy .section-head p { color: #b9c2d2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-family: var(--head); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.01em; cursor: pointer;
  border: 2px solid transparent; transition: all 0.18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-600); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-900); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy-900); color: #c5cdda; font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar .lic { letter-spacing: 0.02em; }
.topbar .lic strong { color: var(--white); font-weight: 600; }
.topbar-right { display: flex; gap: 24px; }
.topbar-right a { display: inline-flex; align-items: center; gap: 7px; color: #c5cdda; transition: color 0.2s ease; }
.topbar-right a:hover { color: var(--orange); }
.topbar-right svg { width: 14px; height: 14px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--navy); }
.brand .brand-mark {
  width: 40px; height: 40px; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-size: 1.2rem; clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}
.brand .brand-mark span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { font-family: var(--head); font-weight: 600; font-size: 0.95rem; color: var(--navy); padding: 9px 16px; position: relative; border-radius: 7px; transition: color 0.2s ease, background 0.2s ease; }
.nav-links a:not(.btn):hover { color: var(--orange); }
.nav-links a.active:not(.btn) { background: var(--orange); color: var(--white); }
.nav-links a.active:not(.btn):hover { color: var(--white); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--navy);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,23,48,0.92) 0%, rgba(13,23,48,0.62) 60%, rgba(13,23,48,0.4) 100%);
}
.hero .container { position: relative; z-index: 2; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; padding-bottom: 60px; }
.hero-inner { max-width: 720px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 900; line-height: 1.04; margin-bottom: 22px; }
.hero h1 .hl { color: var(--orange); }
.hero p { font-size: 1.15rem; color: #d7dde8; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* trust strip under hero */
.trust-strip { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.08); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #c5cdda; font-size: 0.92rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--orange); flex: 0 0 auto; }
.trust-item strong { color: var(--white); font-family: var(--head); font-weight: 700; display: block; line-height: 1.2; }
.trust-item small { color: var(--steel-light); }

/* ---------- Page banner ---------- */
.page-banner {
  color: var(--white); padding: 96px 0 84px;
  background: linear-gradient(rgba(13,23,48,0.86), rgba(13,23,48,0.88)),
              var(--navy) url("../images/banner.jpg") center/cover no-repeat;
}
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; margin-bottom: 12px; }
.page-banner .breadcrumb { color: #b9c2d2; font-size: 0.92rem; font-family: var(--head); font-weight: 600; letter-spacing: 0.02em; }
.page-banner .breadcrumb a:hover { color: var(--orange); }
.page-banner .breadcrumb .sep { color: var(--orange); margin: 0 8px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--media-right .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--light); }
.split-media .badge-float {
  position: absolute; right: -18px; bottom: -18px; background: var(--orange); color: var(--white);
  padding: 22px 26px; max-width: 200px;
}
.split-media .badge-float .big { font-family: var(--head); font-weight: 900; font-size: 2.4rem; line-height: 1; }
.split-media .badge-float small { font-size: 0.85rem; }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.split p { color: var(--steel); margin-bottom: 16px; }
.section--navy .split p { color: #b9c2d2; }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); }
.section--navy .check-list li { color: #e3e8f0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: var(--orange); clip-path: polygon(43% 72%, 14% 47%, 6% 56%, 43% 90%, 94% 28%, 84% 20%);
}

/* ---------- Feature panel (numbered nav + content + media) ---------- */
.feature { display: grid; grid-template-columns: 0.95fr 1fr 1.15fr; gap: 56px; align-items: center; }
.feature-nav {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 100%);
  padding: 20px; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  border-radius: 18px;
}
.feature-nav ul { list-style: none; }
.feature-nav li button {
  position: relative;
  display: flex; align-items: center; gap: 18px; width: 100%;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 15px 22px; border-radius: 12px;
  color: rgba(255,255,255,0.5); font-family: var(--head);
  transition: color 0.2s ease, background 0.2s ease;
}
.feature-nav li button:hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.045); }
.feature-nav li.active button { color: var(--white); background: rgba(255,255,255,0.07); }
.feature-nav li.active button::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 26px; background: var(--orange); border-radius: 0 3px 3px 0;
}
.feature-nav .fn-num {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; flex: 0 0 auto;
  color: rgba(255,255,255,0.34); transition: color 0.2s ease;
}
.feature-nav li.active .fn-num { color: var(--orange); }
.feature-nav .fn-label { font-size: 1.28rem; font-weight: 700; line-height: 1.2; }

.feature-text h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 18px; }
.feature-text p { color: var(--steel); margin-bottom: 30px; font-size: 1.05rem; }

.feature-link {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.8rem; color: var(--ink);
}
.feature-link svg { width: 30px; height: 16px; color: var(--orange); transition: transform 0.2s ease; }
.feature-link:hover { color: var(--orange); }
.feature-link:hover svg { transform: translateX(7px); }

.feature-media { align-self: stretch; }
.feature-media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; background: var(--light); }

/* media-left / text-right feature split (Life at Meridian) */
.feature-split .split-text h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.eyebrow--blue { color: var(--navy); }
.eyebrow--blue::before { background: var(--navy); }

/* ---------- Sector tiles (photo, no icons) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; min-height: 340px; display: flex; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,23,48,0.92) 8%, rgba(13,23,48,0.25) 60%, rgba(13,23,48,0.15)); }
.tile:hover img { transform: scale(1.07); }
.tile .tile-body { position: relative; z-index: 2; margin-top: auto; padding: 26px; color: var(--white); width: 100%; }
.tile .tile-body .num { font-family: var(--head); font-weight: 700; font-size: 0.8rem; color: var(--orange); letter-spacing: 0.1em; }
.tile .tile-body h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.tile .tile-body p { color: #c5cdda; font-size: 0.9rem; max-height: 0; opacity: 0; overflow: hidden; transition: all 0.3s ease; }
.tile:hover .tile-body p { max-height: 80px; opacity: 1; margin-top: 6px; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.proj:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proj-thumb { position: relative; overflow: hidden; }
.proj-thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 0.5s ease; }
.proj:hover .proj-thumb img { transform: scale(1.06); }
.proj-thumb .cat { position: absolute; top: 16px; left: 16px; background: var(--orange); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; }
.proj-body { padding: 24px; }
.proj-body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.proj-meta { display: flex; gap: 18px; color: var(--steel); font-size: 0.88rem; }
.proj-meta span { display: inline-flex; align-items: center; gap: 6px; }
.proj-meta svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Restricted / confidential portfolio ---------- */
.section--dark { background: var(--navy-900); color: var(--white); }
.section-head--light h2 { color: var(--white); }
.section-head--light p { color: #b9c2d2; }
.section-head--light .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); }
.section-head--light .lock-ic { width: 15px; height: 15px; }

.vault-gate {
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 44px 38px;
  text-align: center;
}
.vault-lock {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(250, 100, 0, 0.14);
  color: var(--orange);
}
.vault-lock svg { width: 30px; height: 30px; }
.vault-gate h3 { font-size: 1.4rem; margin-bottom: 8px; }
.vault-gate > p { color: #97a3b8; font-size: 0.92rem; margin-bottom: 26px; }
.vault-gate .form-field { text-align: left; margin-bottom: 16px; }
.vault-gate label { display: block; font-size: 0.82rem; font-weight: 600; color: #b9c2d2; margin-bottom: 6px; }
.vault-gate .form-field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--body);
  font-size: 0.95rem;
}
.vault-gate .form-field input::placeholder { color: #6b7689; }
.vault-gate .form-field input:focus { outline: none; border-color: var(--orange); box-shadow: none; }
.vault-gate .btn { justify-content: center; margin-top: 6px; }
.vault-status { min-height: 1em; margin-top: 14px; font-size: 0.88rem; }
.vault-note { margin-top: 20px; font-size: 0.82rem; color: #97a3b8; }
.vault-note a { color: var(--orange); }

.vault-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.vault-welcome { display: inline-flex; align-items: center; gap: 9px; color: #7fd99a; font-weight: 600; font-size: 0.92rem; }
.vault-welcome svg { width: 18px; height: 18px; }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }

.proj--confidential { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.proj--confidential .proj-body h3 { color: var(--white); }
.proj--confidential .proj-meta { color: #97a3b8; }
.proj-redacted {
  aspect-ratio: 3/2;
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #11203f, #11203f 14px, #14264a 14px, #14264a 28px);
  color: rgba(255, 255, 255, 0.35);
}
.proj-redacted svg { width: 46px; height: 46px; }
.cat--secure { background: #2b3650 !important; letter-spacing: 0.1em; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--head); font-weight: 900; font-size: 3rem; color: var(--white); line-height: 1; }
.stat .num span { color: var(--orange); }
.stat .label { color: #b9c2d2; margin-top: 10px; font-size: 0.95rem; }

/* ---------- Delivery methods (numbered) ---------- */
.methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); }
.method { padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 22px; background: var(--white); transition: background 0.2s ease; }
.method:hover { background: var(--light); }
.method:nth-child(2n) { border-right: 0; }
.method:nth-last-child(-n+2) { border-bottom: 0; }
.method .mnum { font-family: var(--head); font-weight: 900; font-size: 2.2rem; color: var(--line); line-height: 1; flex: 0 0 auto; }
.method:hover .mnum { color: var(--orange); }
.method h3 { font-size: 1.25rem; margin-bottom: 8px; }
.method p { color: var(--steel); font-size: 0.95rem; }

/* ---------- Team / executives ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member-photo { position: relative; }
.member-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--light); }
.member-photo .links { position: absolute; inset: 0; background: rgba(13,23,48,0.55); display: flex; align-items: center; justify-content: center; gap: 10px; opacity: 0; transition: opacity 0.2s ease; }
.member:hover .member-photo .links { opacity: 1; }
.member-photo .links a { width: 40px; height: 40px; background: var(--white); color: var(--navy); display: grid; place-items: center; }
.member-photo .links a:hover { background: var(--orange); color: var(--white); }
.member-body { padding: 22px; }
.member-body h3 { font-size: 1.15rem; }
.member-body .role { color: var(--orange); font-family: var(--head); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0 10px; }
.member-body p { color: var(--steel); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { background: var(--white); border: 1px solid var(--line); padding: 34px 30px; position: relative; }
.quote .mark { font-family: var(--head); font-weight: 900; font-size: 3.4rem; color: var(--orange); line-height: 0.6; height: 28px; }
.quote p { color: var(--ink); margin: 14px 0 22px; }
.quote .who strong { font-family: var(--head); display: block; }
.quote .who small { color: var(--steel); }
.quote .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 6px; }

/* ---------- Credibility / association strip ---------- */
.cred { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.cred .item {
  font-family: var(--head); font-weight: 700; color: var(--steel); font-size: 1.05rem;
  letter-spacing: 0.02em; padding: 10px 22px; border: 1px solid var(--line); background: var(--white);
}
.cred .item span { color: var(--orange); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange); color: var(--white); padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cta-band p { margin-top: 8px; color: #fff2e8; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item .ic { flex: 0 0 50px; height: 50px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item strong { font-family: var(--head); display: block; }
.info-item span { color: var(--steel); }
.info-item a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.info-item a:hover { color: var(--orange); }
.call-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; }
.call-link svg { width: 16px; height: 16px; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: 38px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--head); font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); font-family: inherit; font-size: 1rem; background: var(--white);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(250,100,0,0.15);
}
.form-note { font-size: 0.85rem; color: var(--steel); margin-top: 12px; }
.form-status { margin-top: 14px; font-family: var(--head); font-weight: 600; }
.map-embed { margin-top: 48px; border: 1px solid var(--line); overflow: hidden; }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aeb8c8; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer p { font-size: 0.95rem; }
.site-footer h4 { font-family: var(--head); color: var(--white); margin-bottom: 18px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 11px; font-size: 0.95rem; }
.site-footer a:hover { color: var(--orange); }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact svg { width: 16px; height: 16px; color: var(--orange); flex: 0 0 auto; margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background 0.2s ease; }
.social a:hover { background: var(--orange); }
.social svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.86rem; }
.footer-bottom .lic { color: var(--steel-light); }

/* simple copyright-only footer */
.site-footer--simple { padding: 30px 0; }
.footer-simple { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-simple .copyright { font-size: 0.9rem; color: var(--steel-light); }
.footer-simple .social { margin-top: 0; }
.footer-meta { display: flex; align-items: center; gap: 22px; }
.footer-email { color: #aeb8c8; font-size: 0.9rem; }
.footer-email:hover { color: var(--orange); }

/* ---------- Careers: department accordion ---------- */
.dept-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.dept { border-bottom: 1px solid var(--line); }
.dept-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 6px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--head); color: var(--navy); transition: color 0.2s ease;
}
.dept-head:hover { color: var(--orange); }
.dept-name { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.dept-meta { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.dept-count { font-family: var(--body); font-size: 0.85rem; color: var(--steel); }
.chev { width: 20px; height: 20px; color: var(--orange); transition: transform 0.3s ease; }
.dept.open .chev { transform: rotate(180deg); }

.dept-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.dept-panel-inner { display: grid; gap: 10px; padding: 2px 6px 22px; }

.position {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; background: var(--light); border: 1px solid var(--line);
}
.pos-info h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.pos-info .pos-type { font-size: 0.85rem; color: var(--steel); }
.pos-status {
  flex: 0 0 auto; font-family: var(--head); font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 4px;
}
/* grayed-out — not currently hiring */
.position.is-closed { opacity: 0.55; }
.position.is-closed h3 { color: var(--steel); }
.position.is-closed .pos-status { background: #e4e7eb; color: #8a93a1; }

.inline-link { color: var(--orange); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ============================================================
   Slicker polish + scroll animations
   ============================================================ */

/* Softer, more premium media in the feature/split sections */
.split-media img, .feature-media img {
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(13, 23, 48, 0.16);
}
/* fade content in when a tab is switched */
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.feature-text.swap { animation: swapIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.feature-media.swap img { animation: swapIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }

/* Buttons lift slightly on hover */
.btn--primary, .btn--dark, .btn--outline { transition: all 0.2s ease; }
.btn--primary:hover, .btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Sticky header gains depth once the page scrolls */
.site-header { transition: box-shadow 0.25s ease, height 0.25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(13, 23, 48, 0.08); }
.site-header.scrolled .nav { height: 66px; }

/* Hero entrance — staggered fade-up on load */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: heroIn 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.14s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.34s; }

/* Scroll-reveal (classes added by JS only when motion is allowed) */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(34px); }
.reveal-left  { transform: translateX(-56px); }
.reveal-right { transform: translateX(56px); }
.reveal.is-visible { opacity: 1; transform: none; }
/* gentle cascade so the two halves don't arrive at the exact same instant */
.split-text.reveal, .feature-text.reveal { transition-delay: 0.08s; }
.feature-media.reveal { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .proj-grid, .quote-grid, .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature-nav { grid-column: 1 / -1; padding: 32px 34px; }
  .feature-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .feature-nav li.active .fn-label::before { display: none; }
  .feature-media { order: 3; }
}
@media (max-width: 820px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all 0.2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--media-right .split-media { order: 0; }
  .split-media .badge-float { right: 16px; bottom: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px; }
  .methods { grid-template-columns: 1fr; }
  .method { border-right: 0; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature-nav ul { grid-template-columns: 1fr; }
  .feature-media { order: 0; }
  .feature-media img { min-height: 260px; }
  .footer-simple { flex-direction: column; text-align: center; gap: 14px; }
}
@media (max-width: 540px) {
  .section { padding: 60px 0; }
  .tiles, .proj-grid, .quote-grid, .team, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero .container { min-height: 540px; }
}
