/* ========================================================================
   GLADSTONE EQUITY PARTNERS — One-Page Site
   Slate brand system; Georgia display + Source Sans body
   ======================================================================== */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ----- Tokens ----- */
:root {
  --navy: #1E2D44;
  --navy-deep: #0F1A2C;
  --navy-mid: #4A6088;
  --steel: #6B7FA3;
  --steel-light: #C0C5D0;
  --steel-pale: #E2E5EB;
  --cream: #F4F2EC;
  --rule: #D8DCE4;

  --accent: var(--navy-mid);

  --ink: #0F1620;
  --text: #1A1A1A;
  --text-muted: #5C6470;
  --text-light: #8A8FA0;
  --bg: #FFFFFF;
  --bg-alt: #FAFAF7;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --fs-mega: clamp(2.5rem, 6vw, 4.75rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-eyebrow: 0.7rem;
  --fs-lede: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;
}

/* ----- Base ----- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Reusable elements ----- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--steel-light); }

.italic { font-style: italic; }

.rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem 0;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand { display: block; }
.brand-logo {
  height: 38px;
  width: auto;
}
.brand-logo--footer { height: 50px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--accent); }
.nav-link.is-active { color: var(--accent); }

.nav-cta {
  font-size: var(--fs-small);
  font-weight: 600;
  color: #FFFFFF;
  background: var(--navy);
  padding: 0.55rem 1.25rem;
  border-radius: 2px;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--navy-mid); }

/* Hamburger button — hidden on desktop, visible on mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bar:nth-child(1) { top: 14px; }
.nav-toggle-bar:nth-child(2) { top: 21px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85%, 320px);
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 1.75rem 2rem;
    box-shadow: -8px 0 24px rgba(15, 26, 44, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    z-index: 105;
  }
  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-link, .nav-cta {
    font-size: 1.05rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
    text-align: left;
  }
  .nav-cta {
    margin-top: 1rem;
    background: var(--navy);
    color: #FFFFFF;
    text-align: center;
    border-bottom: none;
    padding: 0.85rem 1.25rem;
  }

  .brand-logo { height: 30px; }

  /* Lock body scroll when menu is open */
  body.nav-open { overflow: hidden; }

  /* Backdrop when menu is open */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 44, 0.4);
    z-index: 99;
    backdrop-filter: blur(2px);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #28384E 100%);
  color: #FFFFFF;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 7rem);
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;        /* 16:9 of viewport width */
  min-width: 177.78vh;    /* 16:9 of viewport height, so it always covers */
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15, 26, 44, 0.82) 0%, rgba(20, 32, 50, 0.74) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-mega);
  line-height: 1.05;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: var(--fs-lede);
  color: #C9CDD4;
  max-width: 680px;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary {
  background: var(--steel-light);
  color: var(--navy);
}
.btn--primary:hover { background: #FFFFFF; }
.btn--secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid var(--steel-light);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.stat-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  border-right: 1px solid var(--rule);
  padding: 0.5rem 1rem;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: var(--fs-micro);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-fn {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  color: var(--text-light);
}
.stat-note {
  max-width: var(--max-w);
  margin: -1rem auto 0;
  padding: 0 var(--gutter) 1.75rem;
  font-size: var(--fs-micro);
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

@media (max-width: 768px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; }
  .stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section--cream { background: var(--cream); }

.section-header {
  margin-bottom: 3rem;
  max-width: 720px;
}
.section-header--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 1rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.section-title--light { color: #FFFFFF; }

.section-lede {
  font-size: var(--fs-lede);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
}
.section-header--centered .section-lede {
  margin: 0 auto;
}

.lede {
  font-size: var(--fs-lede);
  color: var(--text);
  font-weight: 500;
}

/* ============================================================
   TWO-COL (Firm Overview)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.two-col-left .section-title { margin-bottom: 0; }
.two-col-right p { margin: 0 0 1.25rem; color: var(--text); }
.two-col-right p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   PILLAR GRID (Investment Strategy)
   ============================================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.pillar {
  display: flex;
  flex-direction: column;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  font-style: italic;
  line-height: 1;
  margin-bottom: 1rem;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.85rem;
  font-weight: 400;
  line-height: 1.25;
  min-height: 2.5em;
}
.pillar-body {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .pillar-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillar-title { min-height: 0; }
}

/* ============================================================
   ASSET CLASS GRID
   ============================================================ */
.ac-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.ac-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 2rem;
  transition: border-color 0.15s, transform 0.15s;
}
.ac-card:hover { border-color: var(--accent); }
.ac-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  color: var(--navy-mid);
}
.ac-icon svg { width: 28px; height: 28px; }
.ac-card:hover .ac-icon { color: var(--navy); }
.ac-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 0.85rem;
  font-weight: 400;
}
.ac-card p { margin: 0; color: var(--text); line-height: 1.65; }

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

/* ============================================================
   PORTFOLIO / DEAL CARDS
   ============================================================ */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.deal-grid > .deal-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 1rem);
  margin: 0 auto;
}
.deal-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 26, 44, 0.12);
  border-color: var(--steel-light);
}
.deal-img {
  height: 200px;
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: background-size 0.4s ease;
}
.deal-img::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(15,26,44,0.45), rgba(15,26,44,0));
  pointer-events: none;
}
.deal-card:hover .deal-img {
  background-size: 108%;
}
@media (prefers-reduced-motion: reduce) {
  .deal-card, .deal-img { transition: none; }
  .deal-card:hover { transform: none; }
  .deal-card:hover .deal-img { background-size: cover; }
}
.deal-img--fox-run     { background-image: url('../assets/deals/fox-run.jpg'); }
.deal-img--yeilding    { background-image: url('../assets/deals/yeilding.jpg'); }
.deal-img--market-lofts{ background-image: url('../assets/deals/market-lofts.jpg'); }
.deal-img--lofts       { background-image: url('../assets/deals/lofts-american-life.jpg'); }
.deal-img--neighbors   { background-image: url('../assets/deals/neighbors.jpg'); }
.deal-img--neighbors-bham { background-image: url('../assets/deals/neighbors-bham.jpg'); }
.deal-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
}
.deal-status--dev {
  background: var(--steel);
  color: #FFFFFF;
}
.deal-status--ops {
  background: #4F7A4F;
  color: #FFFFFF;
}
.deal-body {
  padding: 1.5rem 1.75rem 1.75rem;
}
.deal-type {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.deal-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
  font-weight: 400;
}
.deal-loc {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.deal-desc {
  margin: 0 0 1.25rem;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.deal-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
}
.deal-meta dt { color: var(--text-muted); }
.deal-meta dd { margin: 0; font-weight: 600; color: var(--text); text-align: right; }

@media (max-width: 768px) {
  .deal-grid { grid-template-columns: 1fr; }
  .deal-grid > .deal-card:last-child:nth-child(odd) {
    max-width: 100%;
    grid-column: auto;
    margin: 0;
  }
}

/* ============================================================
   APPROACH / PHASE FLOW
   ============================================================ */
.phase-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.phase-flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--rule);
  z-index: 0;
}
.phase {
  text-align: center;
  position: relative;
  z-index: 1;
}
.phase-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.phase-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-weight: 400;
}
.phase p {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .phase-flow { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .phase-flow::before { display: none; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.team-photo {
  background: linear-gradient(135deg, var(--navy) 0%, #36465E 100%);
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-light);
  font-size: var(--fs-micro);
  letter-spacing: 0.15em;
}
.team-photo--david {
  background: url('../assets/team/david-creasy.jpg') center top / cover no-repeat;
}
.team-photo--brad {
  background: url('../assets/team/brad-creasy.jpg') center top / cover no-repeat;
}
.team-photo--graham {
  background: url('../assets/team/graham-patterson.jpg') center top / cover no-repeat;
}
.team-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.team-body p.team-email {
  margin-top: auto;
  padding-top: 0.5rem;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 0.25rem;
  font-weight: 400;
}
.team-title {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.team-body p {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.team-email a {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--rule);
}
.team-email a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .team-grid { gap: 1.5rem; }
  .team-body { padding: 1.5rem; }
}

/* ============================================================
   INVESTOR PORTAL SECTION
   ============================================================ */
.portal-section {
  background: var(--navy);
  color: #FFFFFF;
}
.portal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.portal-text .section-title {
  color: #FFFFFF;
}
.portal-lede {
  font-size: var(--fs-lede);
  color: #C9CDD4;
  margin: 0 0 1.5rem;
}
.portal-status { margin: 0 0 1.5rem; }
.portal-badge {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
}
.portal-current {
  font-size: var(--fs-small);
  color: var(--steel-light);
  margin: 0;
  line-height: 1.65;
}
.portal-current a {
  color: #FFFFFF;
  border-bottom: 1px solid var(--steel);
}

.portal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.portal-feat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
}
.portal-feat h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #FFFFFF;
  margin: 0 0 0.5rem;
  font-weight: 400;
}
.portal-feat p {
  margin: 0;
  color: #C9CDD4;
  font-size: var(--fs-small);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .portal-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .portal-features { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
  font-weight: 400;
}
.contact-role {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.contact-address {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
}
.contact-email a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
}
.contact-email a:hover { border-color: var(--accent); color: var(--accent); }

.contact-form {
  max-width: 680px;
  margin: 3rem auto 0;
}
.hidden-field { display: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(74, 96, 136, 0.12);
}

/* ----- Accessible keyboard focus (visible on light and navy backgrounds) ----- */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible,
.btn:focus-visible,
.deal-card:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--steel-light);
  outline-offset: 3px;
  border-radius: 2px;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-submit {
  border: none;
  cursor: pointer;
  margin-top: 0.25rem;
}
.form-note {
  font-size: var(--fs-micro);
  color: var(--text-light);
  text-align: center;
  margin: 1rem 0 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: var(--steel-light);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  margin: 1rem 0 0;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--steel-light);
  max-width: 540px;
}
.footer-meta { text-align: right; }
.footer-meta p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--steel-light);
}
.footer-meta p + p { margin-top: 0.5rem; }

.footer-disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
}
.footer-disclaimer p {
  margin: 0;
  font-size: var(--fs-micro);
  font-style: italic;
  color: #8A8FA0;
  line-height: 1.6;
  max-width: 920px;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-meta { text-align: left; }
}

/* ============================================================
   SCROLL-REVEAL ENTRANCE ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children within a revealed group */
[data-reveal-group].is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
