/* ==========================================================================
   Valley Construction & Development LLC — General Contractors
   Brand stylesheet · color palette pulled directly from the logo
   Brand colors:
     Navy        #212945  (primary)
     Mid blue    #1d88bc  (accent / interactive)
     Light blue  #7aaecf  (secondary accent / highlight)
     White       #ffffff
   ========================================================================== */

:root {
  /* Brand spine — these three are the logo */
  --navy:        #212945;
  --blue-mid:    #1d88bc;
  --blue-light:  #7aaecf;

  /* Derived scale (tints + shades, all built from the brand spine) */
  --navy-900:    #14182a;
  --navy-800:    #1a2039;
  --navy-700:    #212945;   /* brand navy */
  --navy-600:    #2c365b;
  --navy-500:    #3a4670;
  --navy-300:    #6b7596;

  --blue-700:    #156a93;
  --blue-600:    #1779a8;
  --blue-500:    #1d88bc;   /* brand mid-blue */
  --blue-400:    #4a9fcb;
  --blue-300:    #7aaecf;   /* brand light-blue */
  --blue-200:    #b1cee2;
  --blue-100:    #dbe7f0;
  --blue-50:     #eef4f8;
  --blue-25:     #f6f9fb;

  --paper:       #ffffff;
  --ink:         #161b30;
  --ink-soft:    #4d5a78;
  --line:        #cdd9e3;

  --max:         1240px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);

  --serif:       "Cormorant Garamond", "Iowan Old Style", "Apple Garamond", Garamond, "Times New Roman", serif;
  --sans:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-1:    0 1px 2px rgba(33, 41, 69, 0.06), 0 4px 16px rgba(33, 41, 69, 0.08);
  --shadow-2:    0 14px 44px rgba(33, 41, 69, 0.18);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue-500); }
button { font-family: inherit; cursor: pointer; }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-700); }

p { margin: 0 0 1.1em; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--blue-500);
  margin-right: 12px;
  vertical-align: middle;
}

.rule {
  width: 64px; height: 2px;
  background: var(--blue-500);
  border: 0;
  margin: 1.5rem 0;
}

/* Layout primitives */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(1.5rem, 3.5vw, 3rem) 0; }
.section--tight { padding: clamp(1rem, 2vw, 2rem) 0; }
.section--dark { background: var(--navy); color: var(--blue-100); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lede { color: var(--blue-200); }
.section--cream { background: var(--blue-50); }   /* now a pale blue tint, not cream */
.section--tinted { background: var(--blue-25); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all .18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue-500);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--blue-700);
  color: var(--paper);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--paper);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--paper);
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1.5rem;
}

/* Logo lockup */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
}
@media (min-width: 720px) {
  .brand img { height: 64px; }
}

.nav {
  display: none;
  align-items: center;
  gap: 1.85rem;
}
.nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  position: relative;
  padding: 0.4rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }

.nav-cta {
  display: none;
  margin-left: 0.5rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--paper);
}
.nav-cta:hover { background: var(--blue-500); color: var(--paper); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 920px) {
  .nav, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  background: var(--navy);
  color: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  margin: 0; padding: 1rem 0;
}
.mobile-nav a {
  display: block;
  padding: 0.85rem var(--gutter);
  color: var(--blue-100);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover { background: var(--navy-800); color: var(--blue-300); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--paper);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.85) hue-rotate(-5deg);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(33,41,69,0.55) 0%, rgba(29,136,188,0.18) 100%);
}
.hero__inner {
  padding: clamp(4rem, 11vw, 7rem) 0 clamp(3.25rem, 8vw, 5.5rem);
  max-width: 880px;
}
.hero h1 {
  color: var(--paper);
  font-weight: 500;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue-300);
}
.hero .lede {
  color: var(--blue-100);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  max-width: 660px;
}
.hero__cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero strip stats */
.hero-strip {
  background: var(--navy-800);
  color: var(--blue-100);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.6rem 0;
}
.hero-strip .grid-4 { gap: 1.5rem; }
.stat {
  text-align: left;
  padding-left: 1rem;
  border-left: 2px solid var(--blue-500);
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--paper);
  line-height: 1;
}
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-top: 0.4rem;
}

/* ==========================================================================
   Full-bleed ambient video band
   ========================================================================== */
.video-band {
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--navy-900);
  overflow: hidden;
  line-height: 0;            /* kill inline-gap under the video */
  border-top: 3px solid var(--blue-500);
  border-bottom: 3px solid var(--blue-500);
}
.video-band__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* Subtle brand-navy tint for tonal cohesion + smoother section hand-off */
.video-band__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(13, 24, 42, 0.40) 0%,
      rgba(13, 24, 42, 0.12) 22%,
      rgba(13, 24, 42, 0.12) 78%,
      rgba(13, 24, 42, 0.40) 100%),
    rgba(33, 41, 69, 0.18);
  mix-blend-mode: multiply;
}
/* On very wide screens, cap the height so the band doesn't dominate the page */
@media (min-width: 1100px) {
  .video-band__media {
    max-height: 70vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Respect reduced-motion: video still shows poster, but we pause via attribute fallback */
  .video-band__media { /* poster remains visible if JS pauses it */ }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0; right: -20%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(29,136,188,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 { color: var(--paper); }
.page-hero .crumbs {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 1.2rem;
}
.page-hero .crumbs a { color: var(--blue-100); }
.page-hero .crumbs a:hover { color: var(--blue-300); }

/* ==========================================================================
   Service / capability cards
   ========================================================================== */
.cap-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 1.8rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  height: 100%;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--blue-500);
}
.cap-card .num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--blue-500);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.cap-card h3 { margin-bottom: 0.6rem; }
.cap-card p { color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   Project gallery / cards
   ========================================================================== */
.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.proj-filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 0.55rem 1.1rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .15s ease;
}
.proj-filters button:hover { border-color: var(--navy); color: var(--navy); }
.proj-filters button.is-active {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}

.proj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 2.2vw, 2rem);
}
@media (min-width: 720px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }

.proj {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.proj__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--blue-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(13, 27, 42, 0.25);
}
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.proj__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy-800);
}
.proj__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.proj:hover .proj__media img { transform: scale(1.05); }
.proj__body {
  padding: 1.4rem 1.4rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj__cat {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.proj__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.proj__loc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.proj__loc::before {
  content: "▪ ";
  color: var(--blue-300);
}
.proj__desc {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}

/* Featured project tile (larger) */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.4rem, 2.2vw, 2rem);
}
@media (min-width: 920px) {
  .feat-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .feat-grid .feat-1 { grid-row: span 2; }
}
.feat-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--navy-800);
  color: var(--paper);
}
.feat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  filter: brightness(0.62);
  transition: transform .8s ease, filter .3s ease;
}
.feat-tile:hover img { transform: scale(1.05); filter: brightness(0.5); }
.feat-tile__body {
  position: relative;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  z-index: 1;
}
.feat-tile__cat {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.feat-tile__name {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 500;
  color: var(--paper);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.feat-tile__loc {
  font-size: 0.92rem;
  color: var(--blue-100);
}

/* Image-text two-up */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  align-items: start;
}
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy-800);
  max-height: 420px;
}
.split__img img { width: 100%; height: 100%; object-fit: cover; }

/* Two stacked images in a split column (used on About — What We Stand On) */
.stacked-images {
  display: grid;
  gap: 0.85rem;
}
.stacked-images .split__img { aspect-ratio: 16/10; }

/* Leader card — tasteful headshot, not a full-bleed image */
.split--leader {
  align-items: center;
}
.leader-card {
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
}
.leader-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--navy-800);
  border: 1px solid var(--line);
  position: relative;
}
.leader-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid var(--paper);
  pointer-events: none;
}
.leader-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.leader-card__caption {
  margin-top: 1rem;
  font-family: var(--serif);
  text-align: center;
}
.leader-card__caption span {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 500;
}
.leader-card__caption em {
  display: block;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

/* Quote */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--navy);
  border-left: 3px solid var(--blue-500);
  padding: 0.5rem 0 0.5rem 1.6rem;
  margin: 2rem 0;
}
.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
}

/* List checks */
.checks {
  list-style: none;
  margin: 0; padding: 0;
}
.checks li {
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink);
}
.section--dark .checks li { border-color: rgba(255,255,255,0.08); color: var(--blue-100); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15rem;
  width: 14px; height: 2px;
  background: var(--blue-500);
}
.checks li:last-child { border-bottom: 0; }

/* ==========================================================================
   Forms (contact)
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(29,136,188,0.22);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-msg {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: var(--blue-50);
  border-left: 3px solid var(--blue-500);
  color: var(--ink);
  font-size: 0.95rem;
  display: none;
}
.form-msg.is-shown { display: block; }

/* Contact two-up */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-info dl { margin: 0; }
.contact-info dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-top: 1.4rem;
  font-weight: 600;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 0.3rem 0 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-info dd a { color: var(--navy); }
.contact-info dd a:hover { color: var(--blue-500); }

/* ==========================================================================
   CTA strip
   ========================================================================== */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-700) 100%);
  color: var(--paper);
  padding: clamp(2rem, 4.5vw, 3.25rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(122,174,207,0.22) 0%, transparent 50%);
}
.cta-strip > .container { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--paper); margin-bottom: 0.6rem; }
.cta-strip p { color: var(--blue-100); max-width: 660px; margin: 0 auto 1.25rem; font-size: 1.05rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--blue-100);
  padding: 2.5rem 0 1.4rem;
  font-size: 0.95rem;
}
.site-footer h4 {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}
.site-footer a { color: var(--blue-100); }
.site-footer a:hover { color: var(--blue-300); }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}
@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid ul li { padding: 0.25rem 0; }
.foot-brand p { color: var(--blue-200); font-size: 0.95rem; max-width: 360px; }
.foot-brand img {
  max-width: 220px;
  height: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.foot-bottom {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--blue-200);
}
@media (min-width: 720px) {
  .foot-bottom { flex-direction: row; align-items: center; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.25rem; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--ink-soft); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}
