/* ============================================================
   BLAS MANAGEMENT LLC — Remodeling • Construction • Property
   Editorial / architectural design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #141618;
  --charcoal: #191c1f;
  --charcoal-2: #22262a;
  --navy: #0a3161;
  --navy-deep: #071f3d;
  --brass: #b22234;
  --brass-light: #d64550;
  --brass-dark: #8c1626;
  --red: #b22234;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --paper: #faf8f4;
  --ivory: #f3efe7;
  --stone: #8b8680;
  --stone-light: #d8d3ca;
  --line: rgba(23, 25, 27, 0.14);
  --line-light: rgba(250, 248, 244, 0.18);
  --font-display: 'Marcellus', 'Times New Roman', serif;
  --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(3.5rem, 9vw, 8rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.4rem;
}

.kicker::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--red);
  margin-top: 0.9rem;
}

.kicker--center::after { margin-left: auto; margin-right: auto; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--stone);
  max-width: 46rem;
  line-height: 1.8;
}

.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.3rem;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  cursor: pointer;
}

.btn--solid { background: var(--brass); color: #ffffff; }
.btn--solid:hover { background: var(--brass-light); }

.btn--outline { border-color: rgba(250, 248, 244, 0.65); color: var(--paper); }
.btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn--dark { border-color: var(--ink); color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 31, 61, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 10px 34px rgba(4, 16, 33, 0.45); }

/* American flag accent stripe */
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #b22234 0%, #b22234 34%,
    #ffffff 34%, #ffffff 50%,
    #0a3161 50%, #0a3161 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 70px;
  padding-top: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

.brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 4px 7px;
  border-radius: 6px;
  box-sizing: content-box;
  box-shadow: 0 1px 5px rgba(23, 25, 27, 0.14);
  flex-shrink: 0;
}

.brand-text { min-width: 0; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.8rem); }

.main-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active { color: var(--red); border-bottom-color: var(--red); }

.nav-cta {
  background: var(--red);
  color: #ffffff !important;
  padding: 0.8rem 1.5rem !important;
  border-bottom: none !important;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.nav-cta:hover { background: #8f1a2e; border-bottom: none; color: #ffffff !important; }

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  position: relative;
  z-index: 210;
}

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(7, 31, 61, 0.98);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 1rem; letter-spacing: 0.28em; padding: 0.7rem 0; }
  .nav-cta { margin-top: 1.4rem; }
}

/* Desktop declutter: hide redundant Home link, open up spacing */
@media (min-width: 1061px) {
  .main-nav .nav-home { display: none; }
  .main-nav { gap: clamp(1rem, 1.8vw, 1.8rem); }
  .main-nav a { letter-spacing: 0.18em; }
  .brand-name { font-size: 1.25rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(12, 14, 16, 0.78) 0%, rgba(12, 14, 16, 0.38) 45%, rgba(12, 14, 16, 0.22) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(4rem, 9vh, 7rem);
}

.hero .kicker { color: var(--brass-light); }
.hero .kicker::after { background: var(--red); }

.hero h1 {
  color: var(--paper);
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  font-style: normal;
  color: var(--brass-light);
}

.hero-sub {
  color: rgba(250, 248, 244, 0.85);
  max-width: 34rem;
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.4rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
  text-decoration: none;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}

.page-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.page-hero .hero-overlay { z-index: 1; }

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(9rem, 16vh, 12rem) 0 clamp(3rem, 6vh, 4.5rem);
}

.page-hero h1 { color: var(--paper); font-size: clamp(2.4rem, 5vw, 4.4rem); }
.page-hero .lede { color: rgba(250, 248, 244, 0.82); margin-top: 1.2rem; }

/* ---------- Sections ---------- */

.section { padding: var(--pad) 0; }
.section--tint { background: var(--ivory); }

/* Faded logo watermark behind the Capabilities section */
.section--watermark { position: relative; overflow: hidden; }
.section--watermark > .container { position: relative; z-index: 1; }
.section-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 82%);
  height: auto;
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (max-width: 640px) {
  .section-watermark { width: 110%; opacity: 0.12; }
}
.section--dark { background: var(--charcoal); color: var(--paper); }
.section--dark .lede { color: rgba(250, 248, 244, 0.7); }
.section--dark .kicker { color: var(--brass-light); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--wide { max-width: 52rem; }

/* Intro statement */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-grid h2 { max-width: 14ch; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
}

/* Editorial service index rows */
.service-index { border-top: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.9rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.service-row:hover { background: rgba(178, 34, 52, 0.06); padding-left: 1.2rem; }

.service-row .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
}

.service-row .row-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--ink);
}

.service-row .row-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--stone);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

.service-row .arrow {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--stone);
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

.service-row:hover .arrow { transform: translateX(8px); color: var(--red); }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 2.6rem 1fr auto; gap: 0.8rem; }
}

/* Before / After slider */
.ba-wrap { max-width: 980px; margin: 0 auto; }

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: var(--charcoal);
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(250, 248, 244, 0.9);
  z-index: 3;
  cursor: ew-resize;
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(250, 248, 244, 0.95);
  background: rgba(30, 33, 36, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ba-label {
  position: absolute;
  bottom: 1.2rem;
  z-index: 4;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--paper);
  background: rgba(23, 25, 27, 0.6);
  padding: 0.45rem 0.9rem;
  pointer-events: none;
}
.ba-label--before { left: 1.2rem; }
.ba-label--after { right: 1.2rem; }

.ba-caption {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin-top: 1.2rem;
}

/* Split bands (residential / commercial) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
}

.split__list {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
  margin: 2rem 0 2.4rem;
}

.split__list li {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

.section--dark .split__list li { border-bottom-color: var(--line-light); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { min-height: 56vw; }
  .split__media img { position: static; aspect-ratio: 3 / 2; height: auto; }
  .split__list { columns: 1; }
}

/* The Blas Standard */
.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.standard-item { border-top: 1px solid var(--line-light); padding-top: 1.6rem; }

.standard-item .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--red);
}

.standard-item h3 {
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0.9rem 0 0.8rem;
}

.standard-item p { font-size: 0.92rem; color: rgba(250, 248, 244, 0.68); }

@media (max-width: 960px) { .standard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .standard-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: #101214;
  background-image: radial-gradient(rgba(250, 248, 244, 0.07) 1px, transparent 1.6px);
  background-size: 26px 26px;
  color: var(--paper);
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 340px; height: 340px;
  border: 1px solid rgba(178, 34, 52, 0.45);
  transform: rotate(45deg);
}

.cta-band h2 { max-width: 20ch; margin: 0 auto 1.4rem; }
.cta-band .lede { margin: 0 auto 2.4rem; color: rgba(250, 248, 244, 0.75); }
.cta-band .phone-line { margin-top: 2.4rem; font-size: 0.95rem; letter-spacing: 0.08em; }
.cta-band .phone-line a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(250,248,244,0.4); }
.cta-band .phone-line a:hover { border-bottom-color: var(--paper); }

/* Feature split on service pages */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature-split__img { position: relative; }
.feature-split__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

@media (max-width: 860px) {
  .feature-split { grid-template-columns: 1fr; }
}

/* Scope list */
.scope-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.scope-list li {
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.scope-list li::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
  transform: translateY(-4px);
}

@media (max-width: 640px) { .scope-list { grid-template-columns: 1fr; } }

/* Stats / meta strip */
.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.meta-strip div span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
}

.meta-strip div strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
}

/* Portfolio category tiles */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 1vw, 1rem);
}

.cat-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
  text-decoration: none;
}

.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-tile:hover img { transform: scale(1.05); }

.cat-tile__label {
  position: absolute;
  left: 1.2rem; bottom: 1.1rem;
  z-index: 2;
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,14,16,0.55), rgba(12,14,16,0.05) 55%);
}

@media (max-width: 900px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }

.filter-chips button {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-chips button.active, .filter-chips button:hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

/* Note / disclaimer */
.note {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.04em;
  max-width: 46rem;
  line-height: 1.7;
}

/* ---------- Forms ---------- */

.contact-intro { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) {
  .contact-intro { grid-template-columns: 1fr; }
}

.project-form { max-width: 880px; margin: 0 auto; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.55rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(23, 25, 27, 0.3);
  background: transparent;
  padding: 0.7rem 0.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input[type="file"] {
  width: 100%;
  font-size: 0.86rem;
  color: var(--stone);
  padding: 0.6rem 0;
}

.choice-set { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.choice-set input { position: absolute; opacity: 0; }

.choice-set label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid rgba(23, 25, 27, 0.25);
  padding: 0.55rem 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0;
  text-transform: none;
  color: var(--ink);
}

.choice-set input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.radio-row { display: flex; gap: 2rem; }
.radio-row label { display: inline-flex; align-items: center; gap: 0.55rem; text-transform: none; letter-spacing: 0.04em; font-weight: 500; font-size: 0.95rem; cursor: pointer; }
.radio-row input { accent-color: var(--red); width: 16px; height: 16px; }

#formStatus p { padding: 1.1rem 1.3rem; font-size: 0.92rem; letter-spacing: 0.02em; }
#formStatus p[style*="green"] { background: rgba(27, 90, 60, 0.08); color: #1d5a3c; border: 1px solid rgba(27, 90, 60, 0.25); }
#formStatus p[style*="red"] { background: rgba(163, 51, 51, 0.07); color: #a33333; border: 1px solid rgba(163, 51, 51, 0.3); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(250, 248, 244, 0.78);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }

.footer-brand .footer-tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.55);
}

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.2rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { text-decoration: none; color: rgba(250, 248, 244, 0.78); transition: color 0.2s ease; }
.site-footer a:hover { color: var(--paper); }

.footer-phone strong { display: block; font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(250,248,244,0.5); margin-bottom: 0.2rem; font-weight: 700; }
.footer-phone a { font-size: 1.05rem; letter-spacing: 0.04em; }

.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #b22234 0%, #b22234 34%,
    #ffffff 34%, #ffffff 50%,
    #0a3161 50%, #0a3161 100%);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.76rem;
  color: rgba(250, 248, 244, 0.5);
}

.footer-base a { color: inherit; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { text-decoration: none; display: flex; flex-direction: column; }

.blog-card__img { overflow: hidden; aspect-ratio: 3 / 2; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }

.blog-card__tags {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin: 1.2rem 0 0.6rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.25;
}

.blog-card__excerpt { font-size: 0.9rem; color: var(--stone); margin-top: 0.7rem; }

.blog-card__meta {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1rem;
}

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.8rem 0 1.1rem; }
.article p { margin-bottom: 1.2rem; color: #33383c; }
.article ul, .article ol { margin: 0 0 1.2rem 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.article img { margin: 2rem 0; width: 100%; }

.toc {
  background: var(--ivory);
  border-left: 2px solid var(--red);
  padding: 1.4rem 1.8rem;
  margin: 2.5rem 0;
}
.toc strong { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; display: block; margin-bottom: 0.8rem; }
.toc a { display: block; font-size: 0.9rem; text-decoration: none; padding: 0.25rem 0; color: var(--charcoal); }
.toc a:hover { color: var(--red); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

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

/* ============================================================
   BOLD AMERICANA — patriotic color transitions
   ============================================================ */

/* Buttons: bold red-to-navy gradient sweep on hover */
.btn--solid {
  background: linear-gradient(120deg, #b22234 0%, #8c1626 100%);
  box-shadow: 0 4px 18px rgba(178, 34, 52, 0.35);
}
.btn--solid:hover {
  background: linear-gradient(120deg, #0a3161 0%, #071f3d 100%);
  box-shadow: 0 6px 24px rgba(10, 49, 97, 0.45);
  transform: translateY(-2px);
}
.btn--outline:hover {
  background: #b22234;
  border-color: #b22234;
  color: #ffffff;
}
.btn--dark:hover {
  background: #0a3161;
  border-color: #0a3161;
  color: #ffffff;
}

/* Nav links: red sweep underline */
.main-nav a {
  transition: color 0.25s ease, border-color 0.25s ease, text-shadow 0.25s ease;
}
.main-nav a:hover {
  color: #ff5a6a;
  border-bottom-color: #b22234;
}
.nav-cta {
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-cta:hover {
  background: #0a3161;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10, 49, 97, 0.5);
}

/* Section transitions: flag-stripe divider on top of dark + tinted sections */
.section--dark,
.section--tint {
  position: relative;
}
.section--dark::before,
.section--tint::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    #b22234 0%, #b22234 30%,
    #ffffff 30%, #ffffff 36%,
    #0a3161 36%, #0a3161 66%,
    #ffffff 66%, #ffffff 72%,
    #b22234 72%, #b22234 100%);
  z-index: 2;
}

/* Dark sections: navy gradient depth */
.section--dark {
  background: linear-gradient(160deg, #101418 0%, #0a3161 140%);
}

/* Service rows: bolder red wash + navy arrow */
.service-row:hover {
  background: rgba(178, 34, 52, 0.1);
  box-shadow: inset 3px 0 0 #b22234;
}
.service-row:hover .row-title { color: #b22234; transition: color 0.3s ease; }

/* Category tiles: navy-to-red overlay sweep */
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 49, 97, 0.85), rgba(178, 34, 52, 0.15) 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.cat-tile { position: relative; }
.cat-tile:hover::after { opacity: 1; }

/* Cards: red border + lift on hover */
.blog-card,
.project-card,
.value-card,
.team-card {
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease);
}
.blog-card:hover,
.project-card:hover,
.value-card:hover,
.team-card:hover {
  border-color: #b22234;
  box-shadow: 0 10px 30px rgba(10, 49, 97, 0.18);
  transform: translateY(-4px);
}

/* Footer links: red hover with smooth fade */
.site-footer a { transition: color 0.25s ease; }
.site-footer a:hover { color: #ff5a6a; }

/* Kickers: bolder red with sweep grow on section hover */
.kicker { transition: letter-spacing 0.4s var(--ease), color 0.3s ease; }

/* Scroll cue: red on hover */
.scroll-cue { transition: color 0.3s ease; }
.scroll-cue:hover { color: #ff5a6a; }

@media (prefers-reduced-motion: reduce) {
  .btn--solid:hover, .nav-cta:hover { transform: none; }
  .blog-card:hover, .project-card:hover, .value-card:hover, .team-card:hover { transform: none; }
}

/* Utility */
.mt { margin-top: 2rem; }
.mt-l { margin-top: 3.5rem; }
