/* ============================================================
   RAY-JANS CONSTRUCTION INC. — site stylesheet
   Brand palette (from the RJC logo + rayjansconstruction.com):
   Navy #1E2D3B · Royal #24419E (logo blue) · Steel #3D5975 · Concrete #EEF0F2
   --blaze holds the primary brand accent; --blaze-lite is its
   lighter cut for text/lines sitting on navy backgrounds.
   Type: Big Shoulders Display (display) · Archivo (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --ink: #17222D;
  --ink-2: #1E2D3B;
  --ink-3: #27394A;
  --blaze: #24419E;
  --blaze-deep: #182F79;
  --blaze-lite: #7FA0F2;
  --concrete: #D7DDE5;
  --paper: #E9ECEF;
  --steel: #495563;
  --line: rgba(24, 35, 47, 0.2);
  --line-light: rgba(233, 238, 243, 0.18);
  --text-on-dark: #E9EEF3;
  --steel-on-dark: #97A6B4;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Archivo", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;
  --head-h: 96px;
  --radius: 2px;
  --wrap: 1200px;
}

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

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

body {
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: #0E2A56;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

::selection { background: var(--blaze); color: #fff; }

:focus-visible { outline: 2px solid var(--blaze); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.mono {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- hazard stripe (signature accent) ---- */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--blaze) 0 16px, var(--ink) 16px 32px);
}

/* ---- dimension-line section header (signature) ---- */
.dim-head {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--steel);
  margin-bottom: 18px;
}
.on-dark .dim-head { color: var(--steel-on-dark); }
.dim-head .dim-line { flex: 1; height: 1px; background: currentColor; position: relative; opacity: 0.55; }
.dim-head .dim-line::before,
.dim-head .dim-line::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: currentColor;
}
.dim-head .dim-line::before { left: 0; }
.dim-head .dim-line::after { right: 0; }
.dim-head .dim-label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sec-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.sec-title .tilt { color: var(--blaze); }
.on-dark .sec-title .tilt { color: var(--blaze-lite); }
.sec-intro { max-width: 640px; color: var(--steel); margin-top: 18px; font-size: 17.5px; }
.on-dark .sec-intro { color: var(--steel-on-dark); }

section { padding: 96px 0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 30px;
  background: var(--blaze);
  color: #fff;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--blaze-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36, 65, 158, 0.32); }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.on-dark .btn-ghost, .btn-ghost.light {
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 1.5px rgba(233, 238, 243, 0.6);
}
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { background: var(--text-on-dark); color: var(--ink); }

/* ============ HEADER ============ */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--head-h);
  display: flex;
  align-items: center;
  background: rgba(23, 34, 45, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 238, 243, 0.1);
  transition: background 0.3s ease;
}
.site-head.solid { background: rgba(23, 34, 45, 0.96); }
.site-head .wrap { width: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--blaze);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  color: #fff;
  letter-spacing: 0.02em;
  flex: none;
}
.brand-text { line-height: 1.1; }
.brand-text strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
}
.brand-text span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--steel-on-dark);
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  padding: 10px 12px;
  position: relative;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--blaze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a::after { background: var(--blaze-lite); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.head-cta { display: flex; align-items: center; gap: 14px; }
.head-phone {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
  white-space: nowrap;
}
.head-phone:hover { color: var(--blaze-lite); }
.head-cta .btn { padding: 13px 22px; font-size: 12px; }

/* mobile menu */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px; height: 46px;
  padding: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: #F3F5F7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--head-h) 0 auto 0;
  z-index: 99;
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
  padding: 12px 28px 30px;
  display: none;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-on-dark);
  padding: 10px 0;
  border-bottom: 1px solid rgba(233, 238, 243, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav a[aria-current="page"], .mobile-nav a:hover { color: var(--blaze-lite); }
.mobile-nav a .mono { color: var(--steel-on-dark); font-size: 11px; }
.mobile-nav .btn { margin-top: 22px; justify-content: center; }

/* ============ HERO (home) ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  background: var(--ink);
  padding: 0;
  overflow: hidden;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,23,28,0.55) 0%, rgba(20,23,28,0.18) 42%, rgba(20,23,28,0.88) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; padding-top: 160px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--steel-on-dark);
  margin-bottom: 26px;
}
.hero-eyebrow .tick { width: 42px; height: 1px; background: var(--blaze-lite); position: relative; }
.hero-eyebrow .tick::before, .hero-eyebrow .tick::after {
  content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--blaze-lite);
}
.hero-eyebrow .tick::before { left: 0; } .hero-eyebrow .tick::after { right: 0; }

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(46px, 7.5vw, 104px);
  line-height: 0.88;
  letter-spacing: 0.005em;
  color: #fff;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; color: var(--blaze-lite); }
.hero h1 .line:nth-child(3) > span {
  animation-delay: 0.24s;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
}
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  max-width: 560px;
  margin-top: 28px;
  font-size: 18px;
  color: rgba(233, 238, 243, 0.88);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; opacity: 0; animation: fadeUp 0.8s ease 0.65s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-meta {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(233, 238, 243, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 46px;
  color: var(--steel-on-dark);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.hero-meta .mono strong { color: var(--text-on-dark); font-weight: 500; }

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  width: 1px;
  height: 68px;
  background: rgba(233, 238, 243, 0.3);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--blaze-lite);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { top: -40%; } 100% { top: 110%; } }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: calc(var(--head-h) + 84px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,236,230,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,236,230,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.92;
  color: #fff;
}
.page-hero h1 em { font-style: normal; color: var(--blaze-lite); }
.page-hero .lede { max-width: 640px; margin-top: 22px; color: var(--steel-on-dark); font-size: 18px; }

/* ============ TRUST BAR ============ */
.trust-bar { background: var(--ink-2); color: var(--text-on-dark); padding: 0; }
.trust-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 26px 22px;
  border-left: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item:last-child { border-right: 1px solid var(--line-light); }
.trust-item .t-label { color: var(--steel-on-dark); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.trust-item .t-value { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.03em; }
.trust-item .t-value .dot { color: var(--blaze-lite); }

/* ============ SERVICES GRID ============ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 250px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 34, 45, 0.12); border-color: var(--blaze); }
.svc-media { overflow: hidden; position: relative; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: 26px 26px 22px; display: flex; flex-direction: column; }
.svc-body .mono { color: var(--blaze); }
.svc-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 8px 0 8px;
}
.svc-body p { color: var(--steel); font-size: 15px; flex: 1; }
.svc-link { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.svc-card:hover .svc-link { color: var(--blaze); }

/* full services page rows */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.svc-row:first-of-type { border-top: 0; }
.svc-row.flip .svc-row-media { order: 2; }
.svc-row-media { position: relative; }
.svc-row-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.svc-row-media .coord {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
}
.svc-row-body .mono { color: var(--blaze); }
.svc-row-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 4.4vw, 58px);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 10px 0 16px;
}
.svc-row-body p { color: var(--steel); margin-bottom: 14px; }
.svc-row-body ul { margin: 18px 0 24px; display: grid; gap: 10px; }
.svc-row-body li {
  padding-left: 26px;
  position: relative;
  font-size: 15.5px;
}
.svc-row-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  background: var(--blaze);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ============ PROJECTS ============ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 54px;
}
.proj-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: block;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(23, 34, 45, 0.14); border-color: var(--blaze); }
.proj-media { position: relative; overflow: hidden; aspect-ratio: 16/9.5; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.proj-card:hover .proj-media img { transform: scale(1.05); }
.proj-media .coord {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(23, 34, 45, 0.82);
  color: var(--text-on-dark);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 7px 12px;
  backdrop-filter: blur(4px);
}
.proj-info {
  padding: 22px 24px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.proj-info .mono { color: var(--blaze); }
.proj-info h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.proj-info .proj-loc { color: var(--steel); font-size: 14px; display: block; margin-top: 2px; }
.proj-arrow {
  flex: none;
  width: 46px; height: 46px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 19px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.proj-card:hover .proj-arrow { background: var(--blaze); border-color: var(--blaze); color: #fff; }

/* filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.filter-bar button {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.2s ease;
}
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* project detail */
.pd-hero-media { margin-top: 46px; position: relative; }
.pd-hero-media img { width: 100%; aspect-ratio: 21/10; object-fit: cover; }
.pd-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
  margin-top: -1px;
}
.pd-specs > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.pd-specs > div:first-child { border-left: 0; }
.pd-specs .t-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); display: block; margin-bottom: 6px; }
.pd-specs .t-value { font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: uppercase; }
.pd-body { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; margin-top: 72px; }
.pd-body h2 { font-family: var(--display); font-weight: 800; font-size: 42px; text-transform: uppercase; margin-bottom: 18px; line-height: 0.95; }
.pd-body p { color: var(--steel); margin-bottom: 16px; }
.pd-side img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.pd-side figcaption { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); padding-top: 12px; }
.pd-next {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pd-next .next-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); display: block; margin-bottom: 6px; }
.pd-next a.next-proj {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 54px);
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.2s ease;
}
.pd-next a.next-proj:hover { color: var(--blaze); }

/* ============ STATS BAND ============ */
.stats-band { background: var(--ink); color: var(--text-on-dark); position: relative; overflow: hidden; }
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,236,230,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,236,230,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.stats-band .wrap { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.stat {
  border-left: 2px solid var(--blaze-lite);
  padding: 8px 0 8px 26px;
}
.stat .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(72px, 8vw, 116px);
  line-height: 0.9;
  color: #fff;
}
.stat .stat-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-on-dark); display: block; margin-top: 10px; }
.stat p { color: rgba(233, 238, 243, 0.72); font-size: 14.5px; margin-top: 10px; max-width: 300px; }

/* ============ TESTIMONIALS ============ */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 54px; }
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px 32px 28px;
  position: relative;
}
.quote-card::before {
  content: "“";
  font-family: var(--display);
  font-weight: 800;
  font-size: 84px;
  line-height: 1;
  color: var(--blaze);
  position: absolute;
  top: 14px;
  right: 26px;
  opacity: 0.9;
}
.quote-card blockquote { font-size: 17.5px; line-height: 1.6; padding-right: 46px; }
.quote-card cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.quote-card cite::before { content: "— "; color: var(--blaze); }

/* ============ CTA BAND ============ */
.cta-band { background: var(--ink); color: var(--text-on-dark); text-align: center; position: relative; }
.cta-band h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 8vw, 108px);
  text-transform: uppercase;
  line-height: 0.92;
  color: #fff;
}
.cta-band h2 em { font-style: normal; color: var(--blaze-lite); }
.cta-band p { max-width: 560px; margin: 22px auto 0; color: var(--steel-on-dark); font-size: 17.5px; }
.cta-band .hero-ctas { justify-content: center; opacity: 1; animation: none; }
.cta-band .cta-alt { margin-top: 26px; color: var(--steel-on-dark); }
.cta-band .cta-alt a { color: var(--text-on-dark); border-bottom: 1px solid var(--blaze-lite); padding-bottom: 1px; }
.cta-band .cta-alt a:hover { color: var(--blaze-lite); }

/* ============ ABOUT ============ */
.about-cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; margin-top: 54px; }
.about-cols .lead-p { font-size: 21px; line-height: 1.55; }
.about-cols p + p { margin-top: 16px; }
.about-cols p { color: var(--steel); }
.about-cols p.lead-p { color: var(--ink); }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-media .stamp {
  position: absolute;
  right: -14px;
  bottom: -14px;
  background: var(--blaze);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 18px;
}

.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 54px; }
.owner-card {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 38px 34px 32px;
  position: relative;
  overflow: hidden;
}
.owner-card::before {
  content: attr(data-init);
  position: absolute;
  right: -8px;
  top: -26px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 168px;
  line-height: 1;
  color: rgba(127, 160, 242, 0.16);
  text-transform: uppercase;
}
.owner-card .mono { color: var(--blaze-lite); }
.owner-card h3 { font-family: var(--display); font-weight: 800; font-size: 40px; text-transform: uppercase; margin: 10px 0 10px; }
.owner-card p { color: var(--steel-on-dark); font-size: 15px; max-width: 380px; }

.member-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 54px; }
.member-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blaze);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.member-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23, 34, 45, 0.1); }
.member-card strong { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; display: block; line-height: 1.05; }
.member-card span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); display: block; margin-top: 10px; }

/* ============ CHECK LIST (why us / legalett benefits) ============ */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.check-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 28px; }
.check-card .ck {
  width: 40px; height: 40px;
  background: var(--blaze);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
}
.check-card h3 { font-family: var(--display); font-weight: 700; font-size: 25px; text-transform: uppercase; margin-bottom: 10px; }
.check-card p { color: var(--steel); font-size: 15px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 54px auto 0; }
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.faq-list details[open] { border-color: var(--blaze); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .fx {
  flex: none;
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 400;
  font-family: var(--mono);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq-list details[open] summary .fx { transform: rotate(45deg); background: var(--blaze); border-color: var(--blaze); color: #fff; }
.faq-list .faq-a { padding: 0 26px 24px; color: var(--steel); max-width: 700px; }
.faq-list .faq-a a { color: var(--blaze); border-bottom: 1px solid currentColor; }

/* ============ CONTACT ============ */
.contact-cols { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; margin-top: 54px; align-items: start; }
.contact-info .info-block { border-top: 1px solid var(--line); padding: 22px 0; }
.contact-info .info-block:first-child { border-top: 0; padding-top: 0; }
.contact-info .t-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); display: block; margin-bottom: 6px; }
.contact-info .t-big {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  line-height: 1.1;
}
.contact-info a.t-big:hover { color: var(--blaze); }
.contact-info p { color: var(--steel); font-size: 15px; margin-top: 4px; }

.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blaze);
  padding: 40px 38px;
}
.quote-form h2 { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; margin-bottom: 6px; }
.quote-form .form-note { color: var(--steel); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #F3F5F7;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blaze);
  box-shadow: 0 0 0 3px rgba(36, 65, 158, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.quote-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-fallback { margin-top: 18px; font-size: 14px; color: var(--steel); text-align: center; }
.form-fallback a { color: var(--blaze); border-bottom: 1px solid currentColor; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; background: rgba(36, 65, 158, 0.08); border-left: 3px solid var(--blaze); font-size: 14.5px; }
.form-status.show { display: block; }

.map-band { border-top: 1px solid var(--line); }
.map-band iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.85) contrast(1.05); }

/* ============ FOOTER ============ */
.site-foot { background: var(--ink); color: var(--text-on-dark); padding: 0; }
.foot-cta {
  border-bottom: 1px solid var(--line-light);
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.foot-cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); text-transform: uppercase; line-height: 0.95; }
.foot-cta h2 em { font-style: normal; color: var(--blaze-lite); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0;
}
.foot-grid h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-on-dark); margin-bottom: 18px; font-weight: 500; }
.foot-grid ul { display: grid; gap: 10px; }
.foot-grid a { color: rgba(233, 238, 243, 0.85); font-size: 15px; transition: color 0.2s ease; }
.foot-grid a:hover { color: var(--blaze-lite); }
.foot-about p { color: var(--steel-on-dark); font-size: 14.5px; max-width: 320px; margin-top: 16px; }
.foot-contact li { color: rgba(233, 238, 243, 0.85); font-size: 15px; }
.foot-contact .mono { color: var(--steel-on-dark); display: block; font-size: 10.5px; margin-bottom: 2px; }
.foot-bottom {
  border-top: 1px solid var(--line-light);
  padding: 24px 0;
}
.foot-bottom .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-on-dark);
}
.foot-bottom a:hover { color: var(--blaze-lite); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ============ 404 ============ */
.err-page { min-height: 100svh; display: grid; place-items: center; background: var(--ink); color: var(--text-on-dark); text-align: center; padding: 40px 24px; }
.err-page h1 { font-family: var(--display); font-weight: 800; font-size: clamp(110px, 22vw, 260px); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--blaze-lite); }
.err-page p { color: var(--steel-on-dark); margin: 18px 0 30px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .site-nav { display: none; }
  .menu-btn { display: flex; }
  .head-phone { display: none; }
  .trust-bar .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .svc-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .member-strip { grid-template-columns: 1fr 1fr; }
  .pd-specs { grid-template-columns: repeat(2, 1fr); }
  .pd-specs > div:nth-child(3) { border-left: 0; }
  .pd-specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .hero .wrap { padding-bottom: 56px; }
  .hero-meta { gap: 10px 26px; }
  .scroll-cue { display: none; }
  .svc-card { grid-template-columns: 1fr; }
  .svc-media { aspect-ratio: 16/8; }
  .svc-row, .about-cols, .pd-body, .contact-cols { grid-template-columns: 1fr; gap: 36px; }
  .svc-row.flip .svc-row-media { order: 0; }
  .proj-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 34px; }
  .quote-grid { grid-template-columns: 1fr; }
  .owner-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 30px 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .foot-cta { padding: 42px 0; }
  .trust-item { padding: 20px 16px; }
  .trust-item .t-value { font-size: 18px; }
  .check-grid { grid-template-columns: 1fr; }
  .member-strip { grid-template-columns: 1fr; }
  .pd-specs { grid-template-columns: 1fr; }
  .pd-specs > div { border-left: 0; border-top: 1px solid var(--line); }
  .pd-specs > div:first-child { border-top: 0; }
  .faq-list summary { font-size: 19px; padding: 18px 18px; }
  .faq-list .faq-a { padding: 0 18px 20px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero h1 .line > span { transform: none; animation: none; }
  .hero-sub, .hero-ctas, .hero-meta { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- official logo ---- */
.brand-logo { height: 64px; width: auto; display: block; position: relative; }
.foot-about .brand-logo { height: 60px; }

/* ---- blueprint sheet background ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(10, 27, 58, 0.78), rgba(10, 27, 58, 0.78)),
    url("../img/blueprint-bg.jpg") center / cover no-repeat;
}

/* ---- text sitting directly on the blueprint ---- */
.sec-title { color: #F2F5FB; }
.sec-title .tilt { color: var(--blaze-lite); }
.dim-head { color: #A9BADF; }
.sec-intro { color: #C3CEE9; }
.svc-row-body h2 { color: #F2F5FB; }
.svc-row-body p, .svc-row-body li { color: #C3CEE9; }
.svc-row-body .mono { color: var(--blaze-lite); }
.svc-row { border-top-color: rgba(233, 238, 243, 0.25); }
.about-cols p { color: #C3CEE9; }
.about-cols p.lead-p { color: #F2F5FB; }
.pd-body h2 { color: #F2F5FB; }
.pd-body p { color: #C3CEE9; }
.pd-side figcaption { color: #A9BADF; }
.pd-next { border-top-color: rgba(233, 238, 243, 0.25); }
.pd-next .next-label { color: #A9BADF; }
.pd-next a.next-proj { color: #F2F5FB; }
.contact-info .info-block { border-top-color: rgba(233, 238, 243, 0.25); }
.contact-info .t-label { color: #A9BADF; }
.contact-info .t-big { color: #F2F5FB; }
.contact-info a.t-big:hover { color: var(--blaze-lite); }
.contact-info p { color: #C3CEE9; }
.btn-ghost { color: #F2F5FB; box-shadow: inset 0 0 0 1.5px rgba(242, 245, 251, 0.65); }
.btn-ghost:hover { background: #F2F5FB; color: var(--ink); box-shadow: inset 0 0 0 1.5px #F2F5FB; }

/* ---- header logo glow (like the original site) ---- */
.site-head .brand { position: relative; padding: 8px 20px; }
.site-head .brand::before {
  content: "";
  position: absolute;
  inset: -14px -30px;
  background: radial-gradient(ellipse at center, rgba(36, 65, 158, 0.95) 0%, rgba(36, 65, 158, 0.45) 46%, rgba(36, 65, 158, 0) 74%);
  pointer-events: none;
}

/* ---- owner portraits ---- */
.owner-card { display: flex; gap: 26px; align-items: flex-start; }
.owner-photo { flex: none; width: 118px; height: 148px; object-fit: cover; border: 2px solid rgba(127, 160, 242, 0.45); filter: grayscale(1); position: relative; }
@media (max-width: 780px) {
  .owner-card { flex-direction: column; }
}
/* filter buttons: force dark text on light chips (they sit in a dark section) */
.filter-bar button { color: var(--ink); }

/* project page hero video */
.pd-hero-media video { width: 100%; aspect-ratio: 21/10; object-fit: cover; display: block; }
