/* ============================================================
   Charles E. Smith Immigration Law Office
   Design system: Counsel Navy / Brand Gold / Linen Ivory
   ============================================================ */

:root {
  --gold: #C2A678;
  --gold-deep: #B08F5E;
  --tan: #C59A71;
  --navy: #1C2E3E;
  --navy-deep: #14232F;
  --ivory: #FAF6EF;
  --ink: #2B2A28;
  --muted: #6C655A;
  --white: #FFFFFF;

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1180px;
  --gutter: 24px;
  --radius: 4px;

  --line-light: rgba(28, 46, 62, 0.14);
  --line-dark: rgba(250, 246, 239, 0.18);
  --shadow-soft: 0 18px 40px -24px rgba(20, 35, 47, 0.45);
  --shadow-frame: 14px 14px 0 rgba(28, 46, 62, 0.16);

  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--navy); }

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

.on-navy :focus-visible,
.navy :focus-visible,
.site-footer :focus-visible,
.section--navy :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--ivory);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 3000;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { max-width: 68ch; }

.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.display-xl { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.03; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section--navy .lede,
.navy-band .lede { color: rgba(250, 246, 239, 0.78); }

.section--navy .eyebrow,
.navy-band .eyebrow { color: var(--gold); }

/* ---------- Files / labels ---------- */
.file-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.file-tab .stamp {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 166, 120, 0.22);
  transform-origin: center;
  transition: transform 0.4s var(--ease-spring);
}
.file-tab.is-visible { animation: tabSlide 0.55s var(--ease) both; }
.file-tab.is-visible .stamp { animation: stamp 0.5s var(--ease-spring) both; }
.section--navy .file-tab,
.hero .file-tab { color: var(--gold); }

.section-head { max-width: 780px; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }

.gold-rule {
  width: 68px; height: 1px;
  background: var(--tan);
  border: 0;
  margin-top: 22px;
}
.section-head--center .gold-rule { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s,
              transform 0.25s var(--ease), box-shadow 0.25s;
  transform: translate(var(--mx), var(--my));
  will-change: transform;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 22px -14px rgba(194, 166, 120, 0.9);
}
.btn-primary:hover { background: var(--tan); transform: translate(var(--mx), calc(var(--my) - 2px)); }
.btn-primary:active { transform: translate(var(--mx), calc(var(--my) + 1px)); }

.btn-secondary { background: var(--navy); color: var(--ivory); }
.btn-secondary:hover { background: var(--navy-deep); transform: translate(var(--mx), calc(var(--my) - 2px)); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(250, 246, 239, 0.4);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translate(var(--mx), calc(var(--my) - 2px));
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: var(--ivory); }

.btn-sm { min-height: 44px; padding: 11px 20px; font-size: 0.82rem; }

.btn-block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--tan);
  transition: gap 0.25s var(--ease), color 0.25s, border-color 0.25s;
}
.arrow-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.arrow-link:hover { gap: 12px; color: var(--navy); border-color: var(--gold); }
.section--navy .arrow-link { color: var(--ivory); border-color: var(--gold); }
.section--navy .arrow-link:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

.utility-bar {
  background: var(--navy);
  color: rgba(250, 246, 239, 0.86);
  font-size: 0.74rem;
  max-height: 44px;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
}
.utility-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.utility-right > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.utility-right > a:hover { color: var(--gold); }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.status-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: breathe 3s ease-in-out infinite;
}
.status-chip--light .status-dot { background: #6FBF8E; }
.status-chip--light .status-dot::after { border-color: #6FBF8E; }
.status-chip--light { color: var(--ink); }
.status-chip[data-open="false"] { color: rgba(250, 246, 239, 0.74); }
.status-chip[data-open="false"] .status-dot { background: rgba(250, 246, 239, 0.5); }
.status-chip[data-open="false"] .status-dot::after { border-color: rgba(250, 246, 239, 0.38); }
.hours-table .status-chip { color: var(--navy); }
.hours-table .status-chip[data-open="false"] { color: var(--muted); }
.hours-table .status-chip[data-open="false"] .status-dot { background: rgba(28, 46, 62, 0.4); }
.hours-table .status-chip[data-open="false"] .status-dot::after { border-color: rgba(28, 46, 62, 0.3); }

.main-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 88px;
  transition: min-height 0.35s var(--ease);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  width: clamp(132px, 13vw, 172px);
  height: auto;
}
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(20, 35, 47, 0.45); }
.site-header.scrolled .utility-bar { max-height: 0; }
.site-header.scrolled .header-inner { min-height: 64px; }
.site-header.scrolled .main-bar {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 4px 2px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link:hover { color: var(--navy); }

.caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}
.has-dropdown.is-open .caret { transform: rotate(225deg) translateY(-1px); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  width: 286px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 26px 50px -26px rgba(20, 35, 47, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s var(--ease), visibility 0.22s;
  z-index: 40;
}
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 12px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.dropdown a:hover { background: var(--ivory); color: var(--navy); padding-left: 18px; }
.dropdown a span { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold-deep); }

.header-phone-icon {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--navy);
}
.header-phone-icon:hover { border-color: var(--gold); color: var(--gold-deep); }
.header-phone-icon svg { width: 19px; height: 19px; }

/* language pill */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(194, 166, 120, 0.6);
  border-radius: 999px;
  background: rgba(250, 246, 239, 0.08);
}
.lang-btn {
  min-width: 34px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 239, 0.72);
  transition: background 0.25s, color 0.25s;
}
.lang-btn[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.lang-toggle--light { background: transparent; border-color: rgba(194, 166, 120, 0.75); }
.lang-toggle--light .lang-btn { color: var(--muted); }
.lang-toggle--light .lang-btn[aria-pressed="true"] { background: var(--gold); color: var(--navy); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.menu-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.progress-hairline {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.progress-hairline span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--ivory);
  padding: 22px 24px 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ivory);
  padding: 8px 12px;
  border-radius: var(--radius);
}
.mobile-brand img { width: 120px; }
.mobile-close {
  width: 46px; height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--ivory);
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav { padding: 22px 0 6px; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(250, 246, 239, 0.1); }
.mobile-nav a,
.mobile-nav .mobile-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ivory);
  text-align: left;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-sub {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.mobile-acc-trigger[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-1px); }
.mobile-sub a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 10px 2px 10px 16px;
  color: rgba(250, 246, 239, 0.8);
  border-left: 1px solid rgba(194, 166, 120, 0.5);
  margin-left: 4px;
}
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 16px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-contact {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(250, 246, 239, 0.8);
}
.mobile-contact a { color: var(--gold); }
.mobile-menu .lang-toggle { justify-self: start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(36px, 5.5vw, 70px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 620px at 78% 30%, rgba(194, 166, 120, 0.16), transparent 62%),
    radial-gradient(760px 520px at 10% 90%, rgba(194, 166, 120, 0.07), transparent 70%),
    linear-gradient(180deg, #1C2E3E 0%, #192A39 62%, #16242F 100%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(250, 246, 239, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.5rem, 7.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.7;
  color: rgba(250, 246, 239, 0.82);
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 28px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(250, 246, 239, 0.76);
}
.hero-trust span + span::before {
  content: "·";
  color: var(--gold);
  margin-right: 16px;
  margin-left: -6px;
}
.hero-lang {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(194, 166, 120, 0.28);
  max-width: 340px;
}
.hero-lang .lang-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.66);
}

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--tan);
  box-shadow: 16px 16px 0 rgba(10, 18, 25, 0.55), 0 0 0 1px rgba(194, 166, 120, 0.16);
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-slides {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
  transform: scale(1.001);
}
.hero-slide.is-active {
  opacity: 1;
  animation: kenburns 8s ease-out both;
}
.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: var(--navy-deep);
  border-top: 1px solid rgba(194, 166, 120, 0.35);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.72);
}
.hero-caption em { color: var(--gold); font-style: normal; }

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 20px;
  border-top: 1px solid rgba(250, 246, 239, 0.12);
}
.dot-road {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.dot-road::before {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  top: 50%;
  height: 1px;
  background: rgba(194, 166, 120, 0.3);
  z-index: 0;
}
.dot-road .road-fill {
  position: absolute;
  left: 8px;
  top: 50%;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.6s var(--ease);
  z-index: 0;
}
.dot {
  position: relative;
  z-index: 1;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dot span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(250, 246, 239, 0.35);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.dot[aria-selected="true"] span {
  background: var(--gold);
  transform: scale(1.28);
  box-shadow: 0 0 0 4px rgba(194, 166, 120, 0.2);
}
.hero-count {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: rgba(250, 246, 239, 0.6);
}
.hero-count span { color: var(--gold); }

/* ---------- Stats strip ---------- */
.stats-band {
  padding: clamp(40px, 5vw, 62px) 0 clamp(34px, 4vw, 46px);
  background: var(--navy-deep);
  color: var(--ivory);
  border-top: 1px solid rgba(194, 166, 120, 0.22);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(194, 166, 120, 0.28);
  border-block: 1px solid rgba(194, 166, 120, 0.28);
}
.stat {
  background: var(--navy-deep);
  padding: 26px 18px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.72);
  line-height: 1.5;
}
.admissions-line {
  margin-top: 26px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.9;
  letter-spacing: 0.045em;
  color: rgba(250, 246, 239, 0.62);
  max-width: none;
}
.admissions-line em { color: var(--gold); font-style: normal; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
  scroll-margin-top: 100px;
}
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--navy h2 { color: var(--ivory); }
.section--ivory::before,
.section--white::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section > .container { position: relative; z-index: 1; }
.section--navy {
  background:
    radial-gradient(820px 520px at 82% 10%, rgba(194, 166, 120, 0.13), transparent 65%),
    radial-gradient(760px 520px at 5% 95%, rgba(194, 166, 120, 0.07), transparent 70%),
    var(--navy);
}

.two-col {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}
.two-col--narrow { max-width: 980px; margin-inline: auto; }

.photo-frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--tan);
  box-shadow: var(--shadow-frame);
  background: var(--white);
  overflow: hidden;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame figcaption {
  padding: 10px 14px;
  background: var(--white);
  border-top: 1px solid rgba(194, 166, 120, 0.4);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--navy .photo-frame figcaption { background: var(--navy-deep); color: rgba(250, 246, 239, 0.7); }
.photo-note {
  display: block;
  margin-top: 10px;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Promise cards ---------- */
.grid-2 { display: grid; gap: 22px; }
.grid-3 { display: grid; gap: 22px; }
.grid-4 { display: grid; gap: 18px; }

.promise-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.promise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.promise-card .icon {
  width: 38px; height: 38px;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.promise-card h3 { margin-bottom: 10px; }
.promise-card p { font-size: 0.93rem; line-height: 1.65; color: var(--muted); max-width: 44ch; }
.promise-card .card-index {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--tan);
  letter-spacing: 0.08em;
}

/* ---------- Pathways ---------- */
.pathways { overflow: hidden; }
.road-wrap { position: relative; }
.road-track {
  display: flex;
  gap: 22px;
  padding: 6px 2px 46px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(194, 166, 120, 0.6) transparent;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}
.road-track::-webkit-scrollbar { height: 6px; }
.road-track::-webkit-scrollbar-thumb { background: rgba(194, 166, 120, 0.5); border-radius: 99px; }
.road-svg {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: -38px;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.road-svg path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.9;
}

.pathway-card {
  position: relative;
  flex: 0 0 292px;
  scroll-snap-align: start;
  background: var(--ivory);
  border: 1px solid rgba(194, 166, 120, 0.42);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.pathway-card:hover,
.pathway-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -28px rgba(0, 0, 0, 0.6);
}
.pathway-card .card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(194, 166, 120, 0.42);
}
.pathway-card .card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pathway-card:hover .card-photo img { transform: scale(1.035); }
.pathway-body { padding: 20px 22px 22px; color: var(--ink); }
.pathway-body .pathway-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.pathway-body h3 { font-size: 1.24rem; margin-bottom: 8px; }
.pathway-body p { font-size: 0.86rem; line-height: 1.6; color: var(--muted); min-height: 3.1em; }
.pathway-body .arrow-link { margin-top: 16px; font-size: 0.7rem; }
.urgent-flag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 999px;
}
.urgent-flag .status-dot { background: var(--navy); }
.urgent-flag .status-dot::after { border-color: var(--navy); }

.road-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.5);
}

/* border-draw svg inside cards */
.draw-border {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}
.draw-border rect {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.45s var(--ease);
  vector-effect: non-scaling-stroke;
}
.promise-card:hover .draw-border rect,
.promise-card:focus-within .draw-border rect,
.pathway-card:hover .draw-border rect,
.pathway-card:focus-within .draw-border rect,
.beyond-card:hover .draw-border rect,
.beyond-card:focus-within .draw-border rect {
  stroke-dashoffset: 0;
}

/* ---------- Beyond cards ---------- */
.beyond-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.beyond-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.beyond-card .icon { width: 40px; height: 40px; color: var(--gold-deep); margin-bottom: 18px; }
.beyond-card h3 { margin-bottom: 10px; }
.beyond-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.beyond-card .arrow-link { font-size: 0.68rem; }

/* icon line draw */
.icon-draw path,
.icon-draw circle,
.icon-draw line,
.icon-draw rect,
.icon-draw polyline {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 0.9s var(--ease);
}
.is-visible .icon-draw path,
.is-visible .icon-draw circle,
.is-visible .icon-draw line,
.is-visible .icon-draw rect,
.is-visible .icon-draw polyline,
.icon-draw.is-visible path,
.icon-draw.is-visible circle,
.icon-draw.is-visible line,
.beyond-card.is-visible .icon-draw path { stroke-dashoffset: 0; }

/* ---------- Process ---------- */
.process {
  position: relative;
  display: grid;
  gap: 30px;
  counter-reset: step;
}
.process li {
  position: relative;
  padding-top: 26px;
  counter-increment: step;
}
.process li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--line-light);
}
.process li::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.8s var(--ease);
}
.process.is-filled li::after,
.process li.is-visible::after { width: 100%; }
.process li:nth-child(2)::after { transition-delay: 0.15s; }
.process li:nth-child(3)::after { transition-delay: 0.3s; }
.process li:nth-child(4)::after { transition-delay: 0.45s; }
.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.process-num::before { content: counter(step, decimal-leading-zero); }
.process h3 { font-size: 1.12rem; margin-bottom: 8px; }
.process p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; }
.process-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 8px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
}

/* ---------- Attorney band ---------- */
.split-media { position: relative; }
.parallax-img { will-change: transform; }

.pull-quote {
  position: relative;
  margin-top: 26px;
  padding-left: 22px;
  border-left: 1px solid rgba(194, 166, 120, 0.6);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--gold);
  max-width: 40ch;
}
.section--ivory .pull-quote { color: var(--navy); border-color: var(--tan); }

/* ---------- Reach ---------- */
.statement-list { display: grid; gap: 26px; margin-top: 26px; }
.statement-list li {
  padding-left: 22px;
  border-left: 1px solid rgba(194, 166, 120, 0.6);
}
.statement-list h3 { margin-bottom: 8px; }
.statement-list p { font-size: 0.93rem; color: var(--muted); line-height: 1.7; }
.section--navy .statement-list p { color: rgba(250, 246, 239, 0.75); }

/* ---------- Testimonials ---------- */
.carousel {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}
.carousel-viewport {
  display: grid;
  transition: height 0.35s var(--ease);
}
.carousel-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease), visibility 0.5s;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; transform: none; }

.case-note {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 54px) clamp(26px, 5vw, 60px);
  box-shadow: 0 24px 50px -40px rgba(20, 35, 47, 0.45);
}
.case-note::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(194, 166, 120, 0.1));
}
.paperclip {
  width: 30px; height: 30px;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.case-note blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.62rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}
.case-note blockquote p { max-width: 60ch; }
.case-note figcaption {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-note figcaption strong { color: var(--ink); font-weight: 600; }
.matter-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(194, 166, 120, 0.16);
  color: var(--navy);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.carousel-btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.carousel-btn:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.carousel-dots { display: flex; align-items: center; gap: 4px; }
.carousel-dot {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel-dot span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(28, 46, 62, 0.25);
  transition: background 0.25s, transform 0.25s;
}
.carousel-dot[aria-selected="true"] span { background: var(--gold-deep); transform: scale(1.35); }

/* ---------- Bilingual band ---------- */
.bilingual-band {
  background: var(--tan);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.bilingual-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(28, 46, 62, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.bilingual-grid {
  position: relative;
  display: grid;
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(28, 46, 62, 0.2);
  background: rgba(250, 246, 239, 0.16);
}
.bilingual-copy { padding: clamp(30px, 5vw, 56px); align-self: center; }
.bilingual-copy .file-tab { color: rgba(28, 46, 62, 0.7); }
.bilingual-copy .file-tab .stamp { background: var(--navy); box-shadow: 0 0 0 3px rgba(28, 46, 62, 0.15); }
.bilingual-copy h2 { color: var(--navy); }
.bilingual-copy p { margin-top: 16px; color: rgba(28, 46, 62, 0.84); font-size: 1rem; line-height: 1.7; }
.bilingual-copy .btn { margin-top: 24px; background: var(--navy); color: var(--ivory); }
.bilingual-copy .btn:hover { background: var(--navy-deep); }
.bilingual-photo { position: relative; min-height: 260px; overflow: hidden; }
.bilingual-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bilingual-spanish {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(28, 46, 62, 0.84);
  margin-top: 10px;
}

/* ---------- FAQ ---------- */
.accordion { border-top: 1px solid var(--line-light); }
.accordion-item { border-bottom: 1px solid var(--line-light); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.2s, box-shadow 0.2s, padding-left 0.25s;
}
.accordion-trigger:hover { color: var(--navy); padding-left: 10px; }
.accordion-trigger .plus {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
}
.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.accordion-trigger .plus::before { width: 13px; height: 1.5px; }
.accordion-trigger .plus::after { width: 1.5px; height: 13px; }
.accordion-trigger[aria-expanded="true"] { color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); padding-left: 14px; }
.accordion-trigger[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion-trigger[aria-expanded="true"] .plus::before { background: var(--gold-deep); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-panel-inner { padding: 0 4px 24px; font-size: 0.93rem; line-height: 1.75; color: var(--muted); }
.accordion-panel-inner p { max-width: 72ch; }
.accordion-panel-inner p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--ivory);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 560px at 30% 40%, rgba(194, 166, 120, 0.16), transparent 66%);
}
.cta-band .file-tab { color: var(--gold); }
.urgent-band .file-tab { color: var(--gold); }
.urgent-band .lede { color: rgba(250, 246, 239, 0.78); }
.urgent-band p { color: rgba(250, 246, 239, 0.7); }
.cta-grid {
  position: relative;
  display: grid;
  gap: 0;
  align-items: stretch;
}
.cta-copy { padding: clamp(48px, 7vw, 86px) 0; }
.cta-copy h2 { color: var(--ivory); max-width: 14ch; }
.cta-copy p { margin-top: 18px; color: rgba(250, 246, 239, 0.78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-hours { margin-top: 22px; }
.cta-media { position: relative; min-height: 320px; }
.cta-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(1);
  transition: filter 1.2s ease;
}
.cta-band.is-visible .cta-media img { filter: brightness(1.06); }
.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 46, 62, 0.55), transparent 45%);
}

/* ---------- Page heroes ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(760px 520px at 82% 16%, rgba(194, 166, 120, 0.16), transparent 64%),
    var(--navy);
  color: var(--ivory);
  padding: clamp(54px, 7vw, 96px) 0 clamp(48px, 6vw, 82px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(250, 246, 239, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); max-width: 18ch; }
.page-hero .lede { color: rgba(250, 246, 239, 0.8); margin-top: 20px; }
.page-hero .file-tab { color: var(--gold); }
.page-hero .gold-rule { background: var(--gold); }

.page-hero--ivory {
  background: var(--ivory);
  color: var(--ink);
}
.page-hero--ivory::after { opacity: 0.5; }
.page-hero--ivory h1 { color: var(--ink); }
.page-hero--ivory .lede { color: var(--muted); }
.page-hero--ivory .file-tab { color: var(--muted); }
.page-hero--ivory .gold-rule { background: var(--tan); }

.page-hero-grid {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

/* ---------- Ledger / lists ---------- */
.ledger-grid { display: grid; gap: 36px; }
.ledger-block {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px;
}
.ledger-block h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-light);
}
.ledger-block h3 span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger-list li {
  position: relative;
  padding: 13px 0 13px 18px;
  border-left: 1px solid rgba(194, 166, 120, 0.5);
  margin-left: 2px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.ledger-list li + li { border-top: 1px solid rgba(28, 46, 62, 0.07); }
.ledger-list strong { display: block; font-weight: 600; color: var(--ink); }
.ledger-list span { color: var(--muted); font-size: 0.84rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.4;
}
.chip--gold { border-color: rgba(194, 166, 120, 0.7); background: rgba(194, 166, 120, 0.12); }
.section--navy .chip { background: rgba(250, 246, 239, 0.06); border-color: var(--line-dark); color: var(--ivory); }

/* ---------- Immigration page ---------- */
.finder-grid { display: grid; gap: 14px; }
.finder-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.finder-card:hover { border-left-color: var(--gold); transform: translateX(3px); box-shadow: var(--shadow-soft); }
.finder-card span:first-child { font-weight: 600; font-size: 0.94rem; }
.finder-card .finder-arrow { color: var(--tan); font-size: 1.1rem; }
.finder-card--urgent { border-left-color: var(--gold); }
.time-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(194, 166, 120, 0.18);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  margin-left: 10px;
}
.time-dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
  display: inline-block;
}
.time-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  animation: breathe 2.4s ease-in-out infinite;
}

.check-list { display: grid; gap: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 1px solid rgba(28, 46, 62, 0.08);
}
.check-list li:last-child { border-bottom: 0; }
.check-mark {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 0.66rem;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.4s;
}
.is-visible .check-mark,
.check-list.is-visible .check-mark { transform: scale(1); opacity: 1; }
.check-list li:nth-child(2) .check-mark { transition-delay: 0.05s; }
.check-list li:nth-child(3) .check-mark { transition-delay: 0.1s; }
.check-list li:nth-child(4) .check-mark { transition-delay: 0.15s; }
.check-list li:nth-child(5) .check-mark { transition-delay: 0.2s; }
.check-list li:nth-child(6) .check-mark { transition-delay: 0.25s; }
.check-list li:nth-child(7) .check-mark { transition-delay: 0.3s; }
.check-list li:nth-child(8) .check-mark { transition-delay: 0.35s; }
.check-list li:nth-child(9) .check-mark { transition-delay: 0.4s; }
.check-list li:nth-child(10) .check-mark { transition-delay: 0.45s; }

.mini-grid { display: grid; gap: 14px; }
.mini-card {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.mini-card strong { display: block; font-size: 0.86rem; margin-bottom: 4px; }
.mini-card span { font-size: 0.82rem; color: var(--muted); line-height: 1.6; display: block; }

/* removal */
.urgent-band {
  background:
    radial-gradient(700px 480px at 20% 10%, rgba(194, 166, 120, 0.17), transparent 64%),
    var(--navy-deep);
  color: var(--ivory);
}
.urgent-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 26px;
}
.urgent-head h2 { color: inherit; }
.urgent-band .urgent-head h2 { color: var(--ivory); }
.urgent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(194, 166, 120, 0.6);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.case-cards { display: grid; gap: 18px; margin-top: 30px; }
.case-card {
  background: rgba(250, 246, 239, 0.055);
  border: 1px solid rgba(194, 166, 120, 0.34);
  border-radius: var(--radius);
  padding: 24px 24px;
}
.case-card h3 { color: var(--ivory); font-size: 1.1rem; margin-bottom: 10px; }
.case-card p { font-size: 0.9rem; color: rgba(250, 246, 239, 0.76); line-height: 1.7; }
.case-card .case-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* nationwide */
.map-band { text-align: center; }
.pin-icon { display: block; width: 44px; height: 44px; color: var(--gold); margin: 0 auto 20px; }
.map-band h2 { max-width: 16ch; margin-inline: auto; }
.map-band p { margin: 18px auto 0; max-width: 60ch; color: rgba(250, 246, 239, 0.78); }

/* ---------- About ---------- */
.story-copy p { margin-top: 18px; color: var(--muted); font-size: 0.97rem; line-height: 1.8; }
.story-copy .story-lead { margin-top: 22px; }
.story-copy .story-lead::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 3.4rem;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--navy);
}
.story-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  line-height: 1.5;
  color: var(--ink) !important;
  font-style: italic;
}
.portrait-wrap { position: relative; }
.scales-emblem {
  position: absolute;
  right: -14px; bottom: 30px;
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  border: 1px solid var(--tan);
  border-radius: 50%;
  color: var(--navy);
  box-shadow: 0 10px 24px -16px rgba(20, 35, 47, 0.6);
  transition: transform 0.6s var(--ease-spring);
  z-index: 3;
}
.scales-emblem svg { width: 32px; height: 32px; transition: transform 0.7s var(--ease-spring); }
.scales-emblem:hover svg,
.scales-emblem:focus-visible svg { transform: rotate(6deg); }
.scales-emblem:hover { transform: translateY(-2px); }
.emblem-tooltip {
  position: absolute;
  right: 0;
  bottom: -46px;
  width: 230px;
  padding: 10px 12px;
  background: var(--navy);
  color: var(--ivory);
  font-size: 0.7rem;
  line-height: 1.5;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.scales-emblem:hover + .emblem-tooltip,
.scales-emblem:focus-visible + .emblem-tooltip { opacity: 1; transform: translateY(0); }

.guarantee-band { text-align: center; }
.guarantee-quote {
  position: relative;
  max-width: 26ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ivory);
}
.guarantee-mark {
  font-family: var(--font-display);
  display: block;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 18px;
}
.guarantee-cite {
  display: block;
  margin-top: 30px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.word-rise span { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.word-rise.is-visible span { opacity: 1; transform: none; }

.approach-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.approach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.approach-card .icon { width: 36px; height: 36px; color: var(--gold-deep); margin-bottom: 16px; }
.approach-card h3 { margin-bottom: 8px; }
.approach-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.award-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
}
.award-badge {
  flex: 0 0 218px;
  scroll-snap-align: start;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.award-badge:nth-child(odd):hover { transform: perspective(600px) rotateY(3deg) translateY(-3px); }
.award-badge:nth-child(even):hover { transform: perspective(600px) rotateY(-3deg) translateY(-3px); }
.award-badge:hover { box-shadow: var(--shadow-soft); }
.award-badge img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.award-badge figcaption { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted); line-height: 1.5; }

.team-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.team-chip {
  position: relative;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(197, 154, 113, 0.18);
  border: 1px solid rgba(194, 166, 120, 0.55);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.team-chip:hover { background: rgba(197, 154, 113, 0.3); }
.team-chip.bounce { animation: chipBounce 0.7s var(--ease-spring); }
.chip-dot {
  position: absolute;
  top: -10px;
  left: 50%;
  font-size: 0.9rem;
  pointer-events: none;
  animation: chipDot 0.8s ease-out forwards;
}

/* ---------- Family law ---------- */
.compare-grid { display: grid; gap: 18px; margin-top: 28px; }
.compare-card {
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--white);
}
.compare-card h3 { margin-bottom: 10px; }
.compare-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.compare-card ul { margin-top: 12px; display: grid; gap: 6px; }
.compare-card li { font-size: 0.85rem; color: var(--muted); padding-left: 16px; position: relative; }
.compare-card li::before { content: "—"; position: absolute; left: 0; color: var(--tan); }
.compare-card--accent { border-top: 3px solid var(--gold); }

.grounds-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.grounds-card h3 { margin-bottom: 8px; }
.grounds-card p { font-size: 0.9rem; color: var(--muted); }
.fault-list { display: grid; gap: 0; margin-top: 22px; }
.fault-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 46, 62, 0.08);
  font-size: 0.88rem;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.fault-list li span { color: var(--tan); font-family: var(--font-display); font-size: 0.8rem; }
.fault-list li:last-child { border-bottom: 0; }

.time-sensitive {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px rgba(194, 166, 120, 0.55), var(--shadow-soft);
}
.time-sensitive h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.time-sensitive p { font-size: 0.94rem; color: var(--muted); line-height: 1.75; max-width: 70ch; }
.time-sensitive p + p { margin-top: 12px; }
.time-sensitive .btn { margin-top: 20px; }

/* ---------- Contact ---------- */
.action-tiles { display: grid; gap: 14px; margin-bottom: 38px; }
.action-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(250, 246, 239, 0.06);
  border: 1px solid rgba(194, 166, 120, 0.38);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.action-tile:hover,
.action-tile:focus-visible {
  transform: translateY(-3px);
  background: rgba(250, 246, 239, 0.1);
  border-color: var(--gold);
}
.action-tile .icon { width: 26px; height: 26px; color: var(--gold); flex: none; }
.action-tile strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ivory); font-weight: 600; }
.action-tile span { display: block; font-size: 0.8rem; color: rgba(250, 246, 239, 0.72); margin-top: 2px; overflow-wrap: anywhere; }
.action-tile .ext { margin-left: auto; color: var(--gold); }

.form-shell {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 46px);
  box-shadow: 0 30px 60px -48px rgba(20, 35, 47, 0.4);
}
.form-grid { display: grid; gap: 20px; }
.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(28, 46, 62, 0.22);
  border-radius: var(--radius);
  padding: 20px 14px 8px;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 24px; }
.field label {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.2s var(--ease), font-size 0.2s, color 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 166, 120, 0.22);
}
.field > input:focus + label,
.field > input:not(:placeholder-shown) + label,
.field > textarea:focus + label,
.field > textarea:not(:placeholder-shown) + label,
.field > select:focus + label,
.field > select:valid + label {
  transform: translateY(-10px);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input:not(:placeholder-shown):invalid { border-color: rgba(163, 59, 43, 0.6); }
.field-hint { display: block; margin-top: 6px; font-size: 0.7rem; color: var(--muted); }
.field-error { display: none; margin-top: 6px; font-size: 0.72rem; color: #9A3527; }
.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #9A3527; }
.field select {
  cursor: pointer;
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C2E3E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field--static label {
  position: static;
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field--static select { padding: 13px 38px 13px 14px; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.field legend {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 0;
}
.radio-option { position: relative; }
.radio-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-option label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: static;
  color: var(--ink);
}
.radio-option input:checked + label { border-color: var(--gold); background: rgba(194, 166, 120, 0.16); font-weight: 600; }
.radio-option input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.form-note { font-size: 0.74rem; color: var(--muted); margin-top: 4px; }
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.is-visible { display: block; text-align: center; }
.success-envelope {
  width: 74px; height: 52px;
  margin: 0 auto 22px;
  position: relative;
  color: var(--gold);
  animation: envelopeIn 0.9s var(--ease) both;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { margin: 0 auto; color: var(--muted); font-size: 0.93rem; max-width: 46ch; }
.form-success .es { font-family: var(--font-display); font-style: italic; color: var(--navy); margin-top: 6px; }

.visit-list { display: grid; gap: 22px; margin-top: 22px; }
.visit-item { display: flex; gap: 14px; align-items: flex-start; }
.visit-item .icon { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.visit-item strong { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.visit-item p, .visit-item a { font-size: 0.93rem; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.visit-item a:hover { color: var(--gold-deep); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.88rem; }
.hours-table caption { text-align: left; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.hours-table th, .hours-table td { padding: 9px 4px; border-bottom: 1px solid rgba(28, 46, 62, 0.08); text-align: left; font-weight: 400; }
.hours-table td:last-child { text-align: right; }
.hours-table tr.is-today { background: rgba(194, 166, 120, 0.14); }
.hours-table tr.is-today th { font-weight: 600; }
.today-marker { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-left: 8px; }

.expect-list { counter-reset: expect; display: grid; gap: 0; margin-top: 24px; }
.expect-list li {
  position: relative;
  counter-increment: expect;
  padding: 18px 0 18px 54px;
  border-bottom: 1px solid rgba(28, 46, 62, 0.1);
}
.expect-list li:last-child { border-bottom: 0; }
.expect-list li::before {
  content: counter(expect, decimal-leading-zero);
  position: absolute;
  left: 0; top: 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--tan);
  letter-spacing: 0.04em;
}
.expect-list strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.expect-list span { font-size: 0.87rem; color: var(--muted); line-height: 1.6; display: block; max-width: 56ch; }

.spotlight {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}
.spotlight blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.spotlight blockquote p { max-width: 34ch; margin-inline: auto; }
.spotlight .quote-underline {
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
  transition: width 1s var(--ease);
}
.spotlight.is-visible .quote-underline { width: 90px; }
.spotlight cite {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 246, 239, 0.78);
  position: relative;
}
.footer-tagline {
  padding: 38px 0 34px;
  border-bottom: 1px solid rgba(194, 166, 120, 0.25);
  text-align: center;
}
.footer-tagline p {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ivory);
  max-width: none;
}
.footer-tagline span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-main {
  display: grid;
  gap: 10px;
  padding: 44px 0 30px;
}
.footer-col { border-bottom: 1px solid rgba(250, 246, 239, 0.1); padding-bottom: 6px; }
.footer-col--brand { border-bottom: 0; }
.footer-brand-logo {
  display: inline-block;
  background: var(--ivory);
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.footer-brand-logo img { width: 150px; height: auto; }
.footer-promise { font-size: 0.86rem; line-height: 1.75; color: rgba(250, 246, 239, 0.72); max-width: 34ch; }
.es-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(194, 166, 120, 0.55);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 2px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
}
.footer-toggle .plus { position: relative; width: 14px; height: 14px; }
.footer-toggle .plus::before,
.footer-toggle .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--gold); transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
.footer-toggle .plus::before { width: 12px; height: 1px; }
.footer-toggle .plus::after { width: 1px; height: 12px; }
.footer-toggle[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.footer-links { display: grid; gap: 2px; max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.footer-links a, .footer-links span {
  display: block;
  padding: 5px 0;
  font-size: 0.84rem;
  color: rgba(250, 246, 239, 0.72);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-links--sub { padding-left: 12px; }
.footer-links--sub a { font-size: 0.79rem; color: rgba(250, 246, 239, 0.58); }
.footer-contact { display: grid; gap: 12px; margin-top: 12px; font-size: 0.85rem; line-height: 1.6; }
.footer-contact strong { display: block; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250, 246, 239, 0.5); margin-bottom: 2px; }
.footer-contact a { color: rgba(250, 246, 239, 0.85); overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold); }
.footer-hours { margin-top: 10px; font-size: 0.8rem; }
.footer-hours .status-chip { margin-top: 8px; }
.footer-portal { margin-top: 18px; }
.footer-portal .btn { width: 100%; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 246, 239, 0.22);
  border-radius: 50%;
  color: rgba(250, 246, 239, 0.78);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.social-icon svg { width: 17px; height: 17px; }
.footer-admissions {
  padding: 20px 0;
  border-top: 1px solid rgba(194, 166, 120, 0.2);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  line-height: 1.9;
  color: rgba(250, 246, 239, 0.58);
  text-align: center;
}
.footer-admissions em { color: var(--gold); font-style: normal; }
.footer-listening {
  padding: 30px 0 34px;
  border-top: 1px solid rgba(194, 166, 120, 0.2);
  text-align: center;
}
.footer-listening p {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ivory);
  max-width: none;
}
.footer-listening span {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
}
.footer-legal {
  padding: 16px 0 22px;
  border-top: 1px solid rgba(250, 246, 239, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  color: rgba(250, 246, 239, 0.55);
}

/* logo hover rotation */
.footer-brand-logo img { transition: transform 8s linear; transform-origin: center; }
.footer-brand-logo:hover img { transform: rotate(360deg); }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: flex;
  gap: 1px;
  background: var(--line-dark);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, 0.4);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar .btn {
  flex: 1;
  border-radius: 0;
  min-height: 54px;
  font-size: 0.8rem;
}
.sticky-bar .btn-primary { flex: 1.15; }
.sticky-bar .btn-secondary { background: var(--navy); }

/* ---------- Reveal animations ---------- */
.reveal,
.animate-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease), filter 0.75s ease;
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible,
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.reveal--left { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }
.reveal--scale { transform: scale(0.97); }

.hero .reveal { transition-duration: 0.9s; }

/* word rise */
.word-rise span { transition-delay: var(--d, 0ms); }

/* familia hearts */
.familia-heart {
  position: fixed;
  z-index: 2500;
  color: var(--gold);
  pointer-events: none;
  animation: heartDrift 2.4s ease-out forwards;
  font-size: 14px;
}

/* ---------- Keyframes ---------- */
@keyframes kenburns {
  from { transform: scale(1.001); }
  to { transform: scale(1.055); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.6); opacity: 0; }
}
@keyframes stamp {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@keyframes tabSlide {
  from { opacity: 0.3; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes chipBounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-7px); }
  65% { transform: translateY(0); }
  80% { transform: translateY(-3px); }
}
@keyframes chipDot {
  0% { transform: translate(-50%, 0) scale(0.6); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, -38px) scale(1.1); opacity: 0; }
}
@keyframes envelopeIn {
  0% { transform: translate(120px, -60px) rotate(8deg); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translate(0, 0) rotate(0); opacity: 1; }
}
@keyframes heartDrift {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translate(var(--dx, 0), -140px) scale(1.1); opacity: 0; }
}

/* ---------- Responsive: tablet ---------- */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 30px 12px; }

  .process { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .process li:nth-child(3)::before { background: transparent; }
  .process li:nth-child(3) { padding-top: 26px; }

  .ledger-grid { grid-template-columns: repeat(2, 1fr); }
  .finder-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .case-cards { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .action-tiles { grid-template-columns: repeat(3, 1fr); }

  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 26px 34px; }
  .footer-col { border-bottom: 0; }
  .footer-toggle { pointer-events: none; }
  .footer-toggle .plus { display: none; }
  .footer-links { max-height: none !important; overflow: visible; }

  .bilingual-grid { grid-template-columns: 1fr 1fr; }
  .bilingual-photo { min-height: 100%; }

  .cta-grid { grid-template-columns: 1.15fr 0.85fr; }
  .cta-copy { padding-right: clamp(20px, 4vw, 56px); }

  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .field--full { grid-column: 1 / -1; }

  .header-phone { display: inline-flex; }
}

@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--wide-left { grid-template-columns: 1.06fr 0.94fr; }
  .page-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-grid { grid-template-columns: 0.92fr 1.08fr; }
  .hero-media { padding-right: 12px; }
}

/* ---------- Responsive: desktop ---------- */
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); }
  .process li:nth-child(3)::before { background: var(--line-light); }
  .footer-main { grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 40px; }

  .hero h1 { font-size: clamp(3.1rem, 4.6vw, 4.5rem); }
  .hero-grid { gap: 64px; }
  .hero-slides { aspect-ratio: 5 / 4; }

  .nav-list { gap: 24px; }
}

/* ---------- Mobile header / nav ---------- */
@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-phone { display: inline-flex; }
  .utility-right > a:first-of-type { display: none; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }

  .utility-bar { max-height: 40px; }
  .utility-inner { min-height: 40px; }
  .utility-right { gap: 14px; }
  .utility-right .lang-toggle { display: none; }
  .header-inner { min-height: 74px; }
  .brand img { width: 132px; }
  .header-phone { display: none; }
  .header-phone-icon { display: inline-flex; }
  .menu-toggle { display: inline-flex; }

  .hero { padding-top: 30px; }
  .hero-media { order: -1; }
  .hero-slides { aspect-ratio: 4 / 3; }
  .hero-frame { box-shadow: 10px 10px 0 rgba(10, 18, 25, 0.5); }
  .hero h1 { font-size: clamp(2.3rem, 9.6vw, 3rem); }
  .hero-eyebrow { font-size: 0.6rem; margin-bottom: 16px; }
  .hero-ctas .btn { width: 100%; min-height: 52px; }
  .hero-ctas { gap: 10px; }
  .hero-lang { border-top: 0; padding-top: 0; margin-top: 22px; }
  .hero-foot { margin-top: 26px; }
  .hero-caption { font-size: 0.58rem; }

  .section { padding: 58px 0; }
  .section-head { margin-bottom: 30px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 10px; }
  .stat-num { font-size: 2.2rem; }

  /* pathways vertical timeline on mobile */
  .road-track {
    flex-direction: column;
    overflow: visible;
    padding: 4px 0 0 22px;
    scroll-snap-type: none;
    border-left: 1px solid rgba(194, 166, 120, 0.4);
    margin-left: 6px;
  }
  .road-svg { display: none; }
  .pathway-card {
    flex: 1 1 auto;
    width: 100%;
    position: relative;
  }
  .pathway-card::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 26px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(194, 166, 120, 0.15);
  }
  .road-hint { display: none; }

  .process { gap: 26px; }
  .process li { padding-top: 24px; }
  .process li::before { }
  .process li:nth-child(3)::before { background: var(--line-light); }

  .bilingual-photo { min-height: 240px; order: -1; }
  .cta-media { min-height: 240px; order: -1; }
  .cta-media::after { background: linear-gradient(0deg, rgba(28, 46, 62, 0.6), transparent 55%); }
  .cta-copy { padding: 42px 0 48px; }
  .cta-copy h2 { max-width: none; }

  .footer-tagline { padding: 28px 0 24px; }
  .footer-main { padding-top: 18px; }
  .footer-col { padding-bottom: 0; }
  .footer-col--brand { padding-bottom: 18px; }
  .footer-toggle { cursor: pointer; }
  .footer-legal { flex-direction: column; }

  .form-grid { gap: 18px; }
  .field input, .field textarea, .field select { font-size: 1rem; }
  .action-tiles { gap: 10px; }
  .action-tile { padding: 16px 18px; }
  .case-note figcaption { font-size: 0.66rem; }
  .award-badge { flex-basis: 190px; }
  .award-badge img { height: 150px; }
  .scales-emblem { width: 54px; height: 54px; right: 4px; bottom: 14px; }
  .scales-emblem + .emblem-tooltip { bottom: -52px; }
}

/* sticky bar only mobile */
@media (min-width: 768px) {
  .sticky-bar { display: none; }
}

@media (max-width: 767px) {
  body { padding-bottom: 0; }
  .site-footer { margin-bottom: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-slide { animation: none !important; transform: none !important; }
  .hero-slide:not(.is-active) { opacity: 0; }
  .hero-slide.is-active { opacity: 1; }

  .status-dot::after,
  .time-dot::after { animation: none !important; opacity: 0; }

  .icon-draw path,
  .icon-draw circle,
  .icon-draw line,
  .icon-draw rect,
  .icon-draw polyline { stroke-dashoffset: 0 !important; }

  .check-mark { opacity: 1 !important; transform: none !important; }

  .word-rise span { opacity: 1 !important; transform: none !important; }

  .process li::after { width: 100% !important; }

  .sticky-bar { transition: none; }

  .familia-heart { animation: none !important; opacity: 0.8; }
}

/* height reveal helper for carousel */
.carousel-viewport { position: relative; }
