/* =========================================================
   UR Law Firm — Design System
   Luxury courthouse: deep navy, warm gold, mahogany.
   --------------------------------------------------------
   PALETTE REVISION:
   The previous warm cream/terracotta palette has been
   replaced. Token NAMES are kept (--cream-*, --terracotta-*)
   so existing component CSS that references them still
   works — they now map to the new palette values.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Neutral surfaces (ivory / off-white, slightly warm so gold reads) */
  --cream-50:  #FBF9F4;  /* page background */
  --cream-100: #F4EFE3;  /* alternating sections */
  --cream-200: #E6DAC1;  /* dividers / soft gold tint */
  --cream-300: #D6C49C;  /* deeper gold tint */

  /* Inks — deep navy stack (pulled from the logo) */
  --ink-900: #0E1A3A;    /* primary brand navy — headings, dark sections */
  --ink-800: #15224A;    /* secondary navy */
  --ink-700: #283566;    /* tertiary navy, body text */
  --ink-500: #5A6892;    /* muted navy-grey, helper text */
  --ink-400: #8E97B5;    /* placeholders, subtle labels */

  /* Brand accents — mahogany / rich red (formal CTA emphasis) */
  --terracotta-700: #5A1622;  /* deepest mahogany, hover state */
  --terracotta-600: #7A2030;  /* primary CTA mahogany */
  --terracotta-500: #9A3344;  /* lighter accent */
  --terracotta-100: #F2DCE0;  /* faint accent backgrounds */

  /* Gold — warm metallic tones (pulled from the logo) */
  --gold-600: #A07832;       /* deeper, formal */
  --gold-500: #C19A55;       /* primary gold accent */
  --gold-400: #D7B576;       /* lighter highlights */
  --gold-100: #F1E4C7;       /* faint gold wash */

  --white: #FFFFFF;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.05);
  --shadow-md: 0 6px 18px rgba(31, 41, 55, 0.08);
  --shadow-lg: 0 18px 40px rgba(31, 41, 55, 0.12);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Type scale */
  --f-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gap-1: 4px;
  --gap-2: 8px;
  --gap-3: 12px;
  --gap-4: 16px;
  --gap-5: 24px;
  --gap-6: 32px;
  --gap-7: 48px;
  --gap-8: 64px;
  --gap-9: 96px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink-900); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }
button { font-family: inherit; cursor: pointer; }

/* Headings — warm serif */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 var(--gap-4);
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 var(--gap-4); }
.lede { font-size: 1.18rem; color: var(--ink-700); }

/* Containers / sections */
.container { width: 92%; max-width: var(--container); margin: 0 auto; }
.container-narrow { width: 92%; max-width: var(--container-narrow); margin: 0 auto; }
section { padding: var(--gap-8) 0; }
.section-tight { padding: var(--gap-7) 0; }
.section-alt   { background: var(--cream-100); }
.section-dark  { background: var(--ink-900); color: var(--cream-100); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream-50); }

/* Eyebrows — gold for a courtroom-formal feel */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: var(--gap-3);
}

/* ---------- Buttons ---------------------------------------------------
   Primary CTA = deep navy with subtle gold border on hover.
   Mahogany kept for high-stakes secondary CTAs ("Get help now").
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-2);
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink-900);
  color: var(--gold-100);
  border-color: var(--ink-900);
}
.btn-primary:hover {
  background: var(--ink-800);
  color: var(--white);
  border-color: var(--gold-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn-secondary:hover { background: var(--ink-900); color: var(--gold-100); }
/* Mahogany emphasis variant — use sparingly for urgency */
.btn-accent { background: var(--terracotta-600); color: var(--white); border-color: var(--terracotta-600); }
.btn-accent:hover { background: var(--terracotta-700); color: var(--white); border-color: var(--terracotta-700); }
.btn-ghost { background: transparent; color: var(--ink-900); padding: 10px 0; }
.btn-ghost:hover { color: var(--gold-600); }
.btn-ghost::after { content: "→"; transition: transform .2s ease; }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gold-500);
}
/* Single-row header: logo left, nav right. */
.nav-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-5);
  padding: 14px 0;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--ink-900);
}
/* ----------------------------------------------------------
   Brand assembly: enlarged UR mark + horizontal "UR LAW" text
   ----------------------------------------------------------
   We re-use the same logo.png file but show ONLY the top
   portion (the UR pediment + monogram) by scaling the image
   up inside an overflow-hidden window. The "UR LAW" wordmark
   beside it is rendered as HTML text in the brand serif so
   it crispens at any size and stretches across the header.

   mix-blend-mode: darken makes the image's white background
   disappear into the cream header — the UR mark appears to
   sit directly on the page instead of in a white card.
   ---------------------------------------------------------- */
.brand { gap: 18px; }

/* Single luxury banner — UR mark + UR LAW wordmark + corporation
   line + tagline. The source PNG is 3.38:1 and has a transparent
   background so it sits seamlessly on the cream header. The blend
   mode catches any remaining pale halo at the anti-aliased edges. */
.brand-banner {
  display: block;
  width: auto;
  max-width: 420px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
/* Legacy mark/wordmark rules kept harmless in case any cached HTML
   references them, but they no longer affect layout. */
.brand-mark-wrap, .brand-wordmark, .brand-text,
.brand-fineprint, .brand-tagline { display: none; }

/* Big horizontal "UR LAW" wordmark beside the mark */
.brand-wordmark {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.10em;
  color: var(--ink-900);
  white-space: nowrap;
}
.brand-wordmark .gold { color: var(--gold-600); }

.site-header .nav-inner { padding: 14px 0; }

@media (max-width: 1100px) {
  .brand-banner { max-height: 72px; max-width: 320px; }
}
@media (max-width: 880px) {
  .brand-banner { max-height: 58px; max-width: 240px; }
}
@media (max-width: 520px) {
  /* On phones the wide banner text becomes illegible. Swap to the
     compact UR mark only — the firm name still appears in nav copy. */
  .brand-banner {
    content: url('../img/logo-mark.png');
    height: 44px;
    width: 44px;
    max-width: 44px;
    max-height: 44px;
  }
}
/* Legacy brand-mark kept for footer fallback (text "UR" disc) */
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-900), var(--gold-500));
  display: grid; place-items: center;
  color: var(--gold-100); font-family: var(--f-serif); font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gold-500);
}
.brand-name { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-tag  { font-size: 0.72rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.16em; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a { color: var(--ink-800); font-weight: 500; font-size: 0.97rem; position: relative; }
.nav-links a:hover { color: var(--gold-600); }
.nav-links a.active { color: var(--ink-900); }
.nav-links a.active::after {
  /* Gold underline for the current section */
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gold-500); border-radius: 2px;
}
.nav-cta { margin-left: var(--gap-2); }
.nav-cta .btn-primary {
  background: var(--ink-900);
  color: var(--gold-500);
  border-color: var(--gold-500);
}
.nav-cta .btn-primary:hover {
  background: var(--gold-500);
  color: var(--ink-900);
  border-color: var(--gold-500);
}

/* Mobile nav */
.hamburger {
  display: none;
  background: transparent; border: 0; padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block; width: 26px; height: 2px; background: var(--ink-900); margin: 5px 0; border-radius: 2px;
  transition: all .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  /* Mobile: hamburger replaces the inline nav links */
  .nav-inner {
    gap: var(--gap-3);
    padding: 8px 0;
  }
  .brand { width: auto; justify-content: flex-start; }
  .hamburger { display: block; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: auto;
    flex-direction: column; align-items: flex-start;
    justify-content: flex-start;
    background: var(--cream-50);
    padding: var(--gap-4) var(--gap-5);
    gap: var(--gap-4);
    min-width: 220px;
    border: 1px solid var(--gold-500);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; align-self: flex-start; }
  .brand-tag { display: none; }
}

/* ---------- Hero — gold-glow over ivory, with subtle navy at bottom ---------- */
.hero {
  position: relative;
  padding: var(--gap-9) 0 var(--gap-8);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(193, 154, 85, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(14, 26, 58, 0.08), transparent 60%),
    var(--cream-50);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gap-8);
  align-items: center;
}
.hero-copy h1 { margin-bottom: var(--gap-5); }
.hero-copy .lede { max-width: 56ch; }
.hero-actions { display: flex; gap: var(--gap-3); margin-top: var(--gap-5); flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--gap-6); margin-top: var(--gap-7); flex-wrap: wrap; }
.hero-stat .num { font-family: var(--f-serif); font-size: 2.2rem; color: var(--ink-900); line-height: 1; }
.hero-stat .lbl { font-size: 0.86rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.14em; }

/* ---- Hero visual: navy "courtroom card" with testimony beneath ----
   The visible navy card is now its own rounded box (the ::before).
   The illustration text sits centred within that card. The
   testimony "floater" sits BELOW the card as a separate centred
   block — no more being cut off by overflow:hidden. */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
/* The navy card itself — 4:5 portrait, contains illustration */
.hero-visual::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(241,228,199,0.18), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(193,154,85,0.28), transparent 50%),
    linear-gradient(145deg, rgba(14,26,58,0.55), rgba(160,120,50,0.25)),
    var(--ink-900);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-500);
}
/* Illustration is overlaid on top of the navy card area only */
.hero-visual-illustration {
  position: absolute;
  top: 0; left: 0; right: 0;
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  text-align: center;
  padding: var(--gap-7) var(--gap-6);
  color: var(--gold-100);
}
.hero-visual-illustration em { color: var(--gold-400); }
.hero-visual-illustration > div { max-width: 280px; }
/* (Old duplicate .hero-visual-illustration rule removed —
   the canonical one is above. The previous duplicate had
   color: var(--ink-900) which made the text invisible
   against the dark navy gradient.) */

/* Testimony quote sits beneath the navy card.
   It's a flex child of .hero-visual so it stays centred
   horizontally without absolute positioning gymnastics. */
.hero-card-floater {
  position: relative;
  width: 92%;
  max-width: 360px;
  background: var(--white);
  padding: var(--gap-4) var(--gap-5);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-200);
  text-align: center;
}
.hero-card-floater p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-700);
  line-height: 1.5;
  font-style: italic;
}
.hero-card-floater .name {
  font-weight: 600;
  color: var(--ink-900);
  margin-top: 8px;
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-style: normal;
}

@media (max-width: 880px) {
  .hero { padding: var(--gap-7) 0; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--gap-6); }
  .hero-card-floater { width: 100%; max-width: none; }
}

/* ---------- Explainer Slideshow Section ---------- */
.explainer-section {
  padding: var(--gap-8) 0 var(--gap-9);
  background: var(--cream-50);
}
.explainer-label {
  text-align: center;
  margin-bottom: var(--gap-5);
}
.explainer-heading {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink-900);
  margin-top: var(--gap-2);
}
.explainer-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14, 26, 58, 0.18), 0 0 0 1px rgba(193, 154, 85, 0.3);
}
.explainer-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
}
/* Tablet — give the slideshow more vertical room */
@media (max-width: 900px) {
  .explainer-frame-wrap {
    aspect-ratio: auto;
    height: clamp(420px, 70vh, 620px);
  }
}
/* Phone — the 16:9 ratio would crush the content. Use a near-portrait
   box with a generous min-height so headings, body text, indicator
   dots, and controls all fit without being chopped off. */
@media (max-width: 600px) {
  .explainer-frame-wrap {
    aspect-ratio: auto;
    height: clamp(520px, 82vh, 680px);
    border-radius: 12px;
  }
  .explainer-iframe { border-radius: 12px; }
}

/* ---------- Service Cards ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto var(--gap-7); }
.section-head p { color: var(--ink-700); }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-5);
}
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--gap-6);
  border: 1px solid rgba(31, 41, 55, 0.05);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; gap: var(--gap-3);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.service-icon {
  /* Gold-on-navy: courthouse seal feel */
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--ink-900);
  display: grid; place-items: center;
  color: var(--gold-400);
  margin-bottom: var(--gap-3);
  border: 1px solid var(--gold-500);
}
.service-card h3 { margin: 0; }
.service-card p { color: var(--ink-700); font-size: 0.97rem; flex: 1; }

/* ---------- Service Detail (services page) ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gap-7);
  align-items: start;
  padding: var(--gap-8) 0;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail .side {
  background: var(--cream-100);
  border-radius: var(--r-lg);
  padding: var(--gap-6);
  position: sticky; top: 100px;
}
.service-detail .side .icon-lg {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--ink-900); color: var(--gold-400);
  display: grid; place-items: center; margin-bottom: var(--gap-4);
  border: 1px solid var(--gold-500);
}
.service-detail .side h3 { margin-bottom: var(--gap-3); }
.service-detail .side p { color: var(--ink-700); font-size: 0.95rem; }

.detail-block { margin-bottom: var(--gap-6); }
.detail-block h4 {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.85rem;
  color: var(--gold-600); margin-bottom: var(--gap-3); font-family: var(--f-sans);
}
.detail-block ul { margin: 0; padding-left: 0; list-style: none; }
.detail-block li {
  padding: 10px 0 10px 32px; position: relative;
  border-bottom: 1px solid rgba(14, 26, 58, 0.08);
}
.detail-block li:last-child { border-bottom: 0; }
.detail-block li::before {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 14px; height: 8px; border-left: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .service-detail { grid-template-columns: 1fr; gap: var(--gap-5); }
  .service-detail .side { position: static; }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-6);
}
.team-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--cream-200), var(--cream-300));
  display: grid; place-items: center;
  font-family: var(--f-serif); color: var(--ink-900); font-size: 3.5rem; font-weight: 600;
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.team-body { padding: var(--gap-5); display: flex; flex-direction: column; gap: var(--gap-2); }
.team-body .role {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold-600); font-weight: 600;
}
.team-body h3 { margin: 0; }
.team-body p { color: var(--ink-700); font-size: 0.95rem; margin: 0; }
.team-body .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--gap-4);
}
.team-body .links a {
  font-size: 0.84rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cream-100);
  color: var(--ink-900);
  border: 1px solid var(--cream-200);
  white-space: nowrap;
  font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
}
.team-body .links a:hover {
  background: var(--gold-500);
  color: var(--ink-900);
  border-color: var(--gold-500);
}
.team-body .links a.primary {
  background: var(--ink-900);
  color: var(--gold-100);
  border-color: var(--ink-900);
}
.team-body .links a.primary:hover {
  background: var(--gold-500);
  color: var(--ink-900);
  border-color: var(--gold-500);
}

/* ---------- Why Us ---------- */
.value-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap-5);
}
.value-card {
  padding: var(--gap-5);
  background: var(--white);
  border-radius: var(--r-md);
  border-left: 3px solid var(--gold-500);
}
.value-card h4 { margin-bottom: var(--gap-2); font-family: var(--f-serif); font-size: 1.2rem; }
.value-card p  { font-size: 0.95rem; color: var(--ink-700); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.testimonial blockquote {
  font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.45;
  color: var(--ink-900); margin: 0 0 var(--gap-4); font-style: italic;
}
.testimonial .who { color: var(--ink-500); font-size: 0.92rem; }

/* ---------- CTA Banner — navy background w/ gold glow + gold border ---------- */
.cta-banner {
  background:
    radial-gradient(800px 400px at 80% 30%, rgba(193,154,85,0.28), transparent 60%),
    linear-gradient(135deg, var(--ink-900), var(--ink-800));
  color: var(--cream-100);
  border-radius: var(--r-lg);
  padding: var(--gap-7) var(--gap-7);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gap-5);
  align-items: center;
  border: 1px solid var(--gold-500);
}
.cta-banner h2 { color: var(--gold-100); margin-bottom: var(--gap-3); }
.cta-banner p { color: rgba(241, 228, 199, 0.88); margin: 0; }
.cta-banner .actions { display: flex; gap: var(--gap-3); justify-content: flex-end; flex-wrap: wrap; }
.cta-banner .btn-primary {
  background: var(--gold-500); color: var(--ink-900); border-color: var(--gold-500);
}
.cta-banner .btn-primary:hover {
  background: var(--gold-400); color: var(--ink-900); border-color: var(--gold-400);
}
.cta-banner .btn-secondary { color: var(--gold-100); border-color: var(--gold-500); }
.cta-banner .btn-secondary:hover { background: var(--gold-500); color: var(--ink-900); }

@media (max-width: 880px) {
  .cta-banner { grid-template-columns: 1fr; padding: var(--gap-6); }
  .cta-banner .actions { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900); color: rgba(245, 239, 230, 0.78);
  padding: var(--gap-8) 0 var(--gap-5);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--gap-6);
}
.footer-grid h5 {
  color: var(--cream-50); font-family: var(--f-sans); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.16em; margin: 0 0 var(--gap-4);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(245, 239, 230, 0.78); }
.footer-grid a:hover { color: var(--cream-50); }
.footer-brand .brand-name { color: var(--gold-100); font-size: 1.4rem; }
.footer-brand .brand-mark {
  /* Footer is on navy — flip the disc to gold-on-navy so it pops. */
  background: var(--gold-500);
  color: var(--ink-900);
  border-color: var(--gold-500);
}
.footer-brand p { font-size: 0.94rem; max-width: 32ch; margin-top: var(--gap-3); }
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  margin-top: var(--gap-6); padding-top: var(--gap-4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--gap-3);
  font-size: 0.86rem; color: rgba(245, 239, 230, 0.55);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page Hero (smaller) ---------- */
.page-hero {
  padding: var(--gap-8) 0 var(--gap-7);
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(193,154,85,0.20), transparent 60%),
    var(--cream-50);
  text-align: center;
  border-bottom: 1px solid var(--cream-200);
}
.page-hero .eyebrow { color: var(--gold-600); }
.page-hero h1 { margin-bottom: var(--gap-3); }
.page-hero p { color: var(--ink-700); max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--gap-6);
  box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--gap-4); }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream-50);
  border: 1.5px solid rgba(31, 41, 55, 0.1);
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: 1rem; color: var(--ink-900);
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(193, 154, 85, 0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-4); }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(31,41,55,0.1);
}
.faq-q {
  width: 100%; background: transparent; border: 0; padding: var(--gap-4) 0;
  text-align: left; font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after {
  content: "+"; font-size: 1.4rem; color: var(--gold-600); transition: transform .25s ease;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  color: var(--ink-700); font-size: 0.98rem;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: var(--gap-4); }

/* ---------- Contact split ---------- */
.contact-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap-7);
  align-items: start;
}
.contact-info {
  background: var(--cream-100);
  border-radius: var(--r-lg);
  padding: var(--gap-6);
}
.contact-info h3 { margin-bottom: var(--gap-4); }
.info-row { display: flex; gap: var(--gap-3); padding: var(--gap-4) 0; border-bottom: 1px solid rgba(31,41,55,0.07); }
.info-row:last-child { border-bottom: 0; }
.info-row .icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink-900); color: var(--gold-400);
  display: grid; place-items: center;
  border: 1px solid var(--gold-500);
}
.info-row .lbl {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-500); margin-bottom: 2px;
}
.info-row .val { font-weight: 600; color: var(--ink-900); }
.info-row .val a { color: var(--ink-900); }
.info-row .val a:hover { color: var(--gold-600); }

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

/* Map */
.map-wrap {
  margin-top: var(--gap-6);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: var(--gap-3); }
.mt-4 { margin-top: var(--gap-4); }
.mt-5 { margin-top: var(--gap-5); }
.mt-6 { margin-top: var(--gap-6); }
.mb-0 { margin-bottom: 0; }
.flex-center { display: flex; justify-content: center; }

/* ---------- Reveal on scroll (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}


/* ---------- Bio detail pages (team/<name>.html) ---------- */
.bio-hero {
  padding: var(--gap-8) 0 var(--gap-7);
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(193,154,85,0.18), transparent 60%),
    var(--cream-50);
  border-bottom: 1px solid var(--cream-200);
}
.bio-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--gap-7);
  align-items: center;
}
.bio-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-500);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-meta .role {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold-600); font-weight: 600;
}
.bio-meta h1 { margin: var(--gap-2) 0 var(--gap-3); font-size: clamp(2rem, 3.6vw, 2.9rem); }
.bio-meta .summary {
  font-size: 1.1rem; color: var(--ink-700); line-height: 1.6; max-width: 60ch;
}
.bio-actions { display: flex; flex-wrap: wrap; gap: var(--gap-3); margin-top: var(--gap-5); }
.bio-body { padding: var(--gap-8) 0; background: var(--white); }
.bio-body .container-narrow p {
  font-size: 1.05rem; line-height: 1.8; color: var(--ink-700); margin-bottom: var(--gap-4);
}
.bio-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.92rem; color: var(--gold-600); font-weight: 600;
  margin-bottom: var(--gap-5);
}
.bio-back::before { content: "←"; }
.bio-back:hover { color: var(--ink-900); }

@media (max-width: 880px) {
  .bio-hero-grid { grid-template-columns: 1fr; gap: var(--gap-5); }
  .bio-photo { max-width: 300px; margin: 0 auto; }
  .bio-meta { text-align: center; }
  .bio-actions { justify-content: center; }
}

/* ---------- Bio detail page: contact card ---------- */
.bio-contact { padding: var(--gap-7) 0 0; background: var(--white); }
.bio-contact-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: var(--r-lg);
  padding: var(--gap-7) var(--gap-6);
  box-shadow: var(--shadow-sm);
}
.bio-contact-card h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: var(--gap-3);
  color: var(--ink-900);
}
.bio-contact-lede {
  font-size: 1rem;
  color: var(--ink-700);
  margin-bottom: var(--gap-5);
  max-width: 56ch;
}
.bio-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--gap-4);
}
.bio-contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--gap-4);
  align-items: start;
  padding: var(--gap-3) 0;
  border-top: 1px solid var(--cream-200);
}
.bio-contact-list li:first-child { border-top: 0; padding-top: 0; }
.bio-contact-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-600);
  font-weight: 600;
  padding-top: 4px;
}
.bio-contact-val {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
  word-break: break-word;
}
.bio-contact-val:hover { color: var(--gold-600); }
@media (max-width: 600px) {
  .bio-contact-list li { grid-template-columns: 1fr; gap: 4px; }
}
