/* ============================================================
   PowerVisa / SpouseVisa — site stylesheet
   Design system v2: editorial typography, restrained accent
   ============================================================ */

:root {
  /* Color */
  --color-navy:       #0b2545;
  --color-navy-dark:  #061a36;
  --color-navy-soft:  #1c3a64;
  --color-gold:       #d4af37;
  --color-gold-dark:  #9c7c1f;
  --color-cream:      #faf7f1;
  --color-cream-2:    #f3eee1;
  --color-text:       #1c2a3a;
  --color-muted:      #5b6b80;
  --color-muted-2:    #8493ab;
  --color-line:       #e2e6ee;
  --color-line-2:     #cfd5e0;
  --color-white:      #ffffff;
  --color-success:    #2f6f4f;

  /* Type */
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;

  /* Type scale — editorial */
  --fs-display: clamp(2.75rem, 4.5vw + 1rem, 4.25rem);   /* hero h1 only */
  --fs-h1:      clamp(2.25rem, 3vw + 1rem, 3.25rem);     /* page h1 */
  --fs-h2:      clamp(1.6rem, 1.8vw + 1rem, 2.4rem);
  --fs-h3:      1.3rem;
  --fs-h4:      1.05rem;
  --fs-body:    17px;
  --fs-small:   14px;
  --fs-eyebrow: 12.5px;

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --max-width:        1160px;
  --max-width-narrow: 760px;
  --max-width-prose:  68ch;

  /* Shape */
  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow-md: 0 6px 22px rgba(11, 37, 69, .08);
  --shadow-lg: 0 16px 48px rgba(11, 37, 69, .12);

  /* Motion */
  --ease:        cubic-bezier(.2, .8, .2, 1);
  --dur-fast:    .15s;
  --dur-normal:  .25s;
}

/* ============================================================
   Reset / base
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;   /* in-page anchors clear the sticky header */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--color-gold-dark); }

/* Headings — editorial serif, tight tracking */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  line-height: 1.15;
  margin: 0 0 .55em;
  font-weight: 600;
  letter-spacing: -.015em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.005em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: 0; }

p { margin: 0 0 1em; }

ul, ol { padding-left: 22px; }
li { margin-bottom: .35em; }

strong { font-weight: 600; }

hr {
  border: 0;
  border-top: 1px solid var(--color-line);
  margin: var(--space-7) 0;
}

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

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container-narrow { max-width: var(--max-width-narrow); }

.section          { padding: var(--space-9) 0; }
.section-tight    { padding: var(--space-7) 0; }
.section-alt      { background: var(--color-cream); }
.section-dark     { background: var(--color-navy); color: var(--color-white); }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--color-white); }
.section-dark p  { color: rgba(255,255,255,.85); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
}
.section-dark .section-eyebrow { color: var(--color-gold); }

.section-intro {
  max-width: var(--max-width-prose);
  margin-bottom: var(--space-7);
  color: var(--color-muted);
  font-size: 1.075rem;
}
.section-dark .section-intro { color: rgba(255,255,255,.78); }

/* ============================================================
   Skip link / accessibility
   ============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  position: static;
  display: inline-block;
  margin: 8px;
  background: var(--color-navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

/* ============================================================
   Topbar
   ============================================================ */

.topbar {
  background: var(--color-navy-dark);
  color: #cfd8e6;
  font-size: var(--fs-small);
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--color-gold); }
.topbar-phone { font-weight: 600; }

/* ============================================================
   Site header + navigation
   ============================================================ */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-navy);
  line-height: 1;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
/* Compact logo: mark-only (shown on small screens or where space is tight) */
.brand-logo-mark {
  display: none;
  height: 40px;
  width: 40px;
}
@media (max-width: 480px) {
  .brand-logo      { display: none; }
  .brand-logo-mark { display: block; }
}

/* Legacy text-based brand support (used if SVG logo is unavailable) */
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--color-navy); color: var(--color-gold);
  border-radius: var(--radius);
  font-weight: 700; font-size: 15px;
  font-family: var(--font-serif);
}
.brand-name {
  margin-left: var(--space-3);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Light vs dark logo variants */
.brand-logo-light { display: none; }
.site-footer .brand-logo-dark,
.cta-band .brand-logo-dark,
.spotlight .brand-logo-dark { display: none; }
.site-footer .brand-logo-light,
.cta-band .brand-logo-light,
.spotlight .brand-logo-light { display: block; }

.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  color: var(--color-navy);
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 2px;
  align-items: center;
}
.site-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.site-nav a:hover { background: var(--color-cream); color: var(--color-navy-dark); }
.site-nav a.active { color: var(--color-gold-dark); }
.site-nav .btn {
  margin-left: 10px;
  display: inline-flex;          /* override .site-nav a inline-block so text centers */
  align-items: center;           /* vertical centering within the 44px min-height */
  justify-content: center;       /* horizontal centering */
  padding: 10px 18px;
}

/* Dropdown nav for Practice/Resources */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              visibility 0s linear var(--dur-fast);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-navy);
  border-radius: var(--radius-sm);
}
.dropdown a:hover { background: var(--color-cream); }
.dropdown-divider {
  height: 1px;
  background: var(--color-line);
  margin: 6px 4px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;            /* WCAG / Apple minimum tap target */
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-dark);
  color: #fff;
  border-color: var(--color-gold-dark);
}
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: #fff;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--color-navy-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: transparent;
  padding-left: 8px;
  padding-right: 8px;
}
.btn-ghost:hover { color: var(--color-gold-dark); }

.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ============================================================
   Hero (homepage)
   ============================================================ */

.hero {
  position: relative;
  background-color: var(--color-navy-dark);
  color: #fff;
  padding: var(--space-10) 0 var(--space-9);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  z-index: -2;
}
.hero::after {
  /* Gradient overlay so text remains readable over photography.
     Dark behind the left-aligned text, fading to near-clear on the right
     so the photograph (and the Statue of Liberty) stays visible. */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(6, 26, 54, .90) 0%,
      rgba(6, 26, 54, .70) 32%,
      rgba(11, 37, 69, .40) 62%,
      rgba(11, 37, 69, .12) 100%
    );
  z-index: -1;
}
.hero .container { position: relative; z-index: 1; }

/* "Featured specialty" pill that sits in the hero, above the fold */
.hero-specialty-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  margin-bottom: var(--space-5);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.hero-specialty-pill:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.hero-specialty-pill-tag {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.hero-specialty-pill .arrow { color: var(--color-gold); font-weight: 600; }

.hero-eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-display);
  max-width: 18ch;
  margin-bottom: var(--space-5);
  font-weight: 600;
}
.hero h1 em {
  color: var(--color-gold);
  font-style: normal;
}
.hero .lead {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 62ch;
  color: rgba(255, 255, 255, .86);
  margin-bottom: var(--space-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ============================================================
   Credential strip — sits directly under hero
   ============================================================ */

.cred-strip {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-line);
  padding: var(--space-5) 0;
}
.cred-strip-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
}
.cred-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-4);
}
.cred-chip strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.1;
}
.cred-chip span {
  font-size: var(--fs-small);
  color: var(--color-muted);
}
.cred-chip-with-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-4);
}
.cred-chip-with-badge .badge-slot {
  flex: 0 0 auto;
}

/* Generic badge slot — placeholder for AILA / BBB logos */
.badge-slot {
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--color-muted);
  text-decoration: none;
  text-align: center;
  line-height: 1.1;
  min-width: 56px;
  min-height: 40px;
}
.badge-slot:hover {
  border-color: var(--color-gold);
  color: var(--color-navy);
}
.badge-slot-lg { min-width: 90px; min-height: 56px; font-size: 12px; }

/* ============================================================
   Spotlight band — the 319(b) prominence section
   ============================================================ */

.spotlight {
  background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: #fff;
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% -10%, rgba(201, 160, 74, .15), transparent 50%),
    radial-gradient(circle at 0% 110%, rgba(201, 160, 74, .08), transparent 40%);
  pointer-events: none;
}
.spotlight .container { position: relative; z-index: 1; }

.spotlight-eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.spotlight h2 {
  color: #fff;
  font-size: clamp(2rem, 2.8vw + 1rem, 3rem);
  max-width: 22ch;
  margin-bottom: var(--space-5);
}
.spotlight .lead {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 70ch;
  color: rgba(255, 255, 255, .85);
  margin-bottom: var(--space-7);
}

.spotlight-grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
}
@media (max-width: 880px) {
  .spotlight-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
}
.checklist li {
  position: relative;
  padding-left: 44px;
  color: rgba(255, 255, 255, .92);
  font-size: 1rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gold);
  /* checkmark in navy */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.checklist li strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}
.checklist-light li { color: var(--color-text); }
.checklist-light li strong { color: var(--color-navy); }
.checklist-light li::before {
  background-color: var(--color-navy);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

.spotlight-aside {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.spotlight-aside h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}
.spotlight-aside p {
  color: rgba(255, 255, 255, .85);
  font-size: .98rem;
  margin: 0 0 var(--space-4);
}
.spotlight-aside .btn-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ============================================================
   Practice-page header (white band) + navy spotlight pairing
   ============================================================ */

/* White top band with header text + feature image in the right margin */
/* All-navy header: continuous with the spotlight band below (no white/navy split) */
.practice-head {
  background: var(--color-navy-dark);
  padding: var(--space-7) 0 var(--space-3);
}
.practice-head h1 { color: #fff; margin-bottom: var(--space-3); }
.practice-head .lead { margin-bottom: 0; color: rgba(255, 255, 255, .85); }
.practice-head .section-eyebrow { color: var(--color-gold); }
.practice-head .breadcrumbs { color: rgba(255, 255, 255, .65); margin-bottom: var(--space-3); }
.practice-head .breadcrumbs a { color: rgba(255, 255, 255, .85); }
.practice-head .breadcrumbs a:hover { color: var(--color-gold); }
.practice-head .practice-grid { align-items: start; }

/* Shared grid so the right column (image) lines up with the quick-facts card below */
.practice-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 880px) {
  .practice-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

.practice-figure {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;   /* centered horizontally → aligns with quick-facts box center */
}
.practice-figure img {
  width: 50%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
@media (max-width: 880px) {
  .practice-head .practice-grid { align-items: start; }
  .practice-figure img { height: auto; width: 100%; max-height: 220px; }
}

/* Navy spotlight band sits directly beneath the header */
.practice-spotlight {
  padding-top: var(--space-3);
  padding-bottom: var(--space-8);
}
/* Quick-facts card: 20% smaller, centered in its column (aligns under the centered image) */
.practice-spotlight .spotlight-aside {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: var(--space-5);
}

/* Centered, all-caps quick-facts heading */
.qf-heading {
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: .14em;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

/* ============================================================
   Three ways to start
   ============================================================ */

.tri-row {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) { .tri-row { grid-template-columns: 1fr; } }

.tri-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.tri-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}
.tri-card-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-gold-dark);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.tri-card h3 {
  margin-bottom: var(--space-2);
  font-size: 1.2rem;
}
.tri-card p {
  color: var(--color-muted);
  margin: 0 0 var(--space-4);
  font-size: .98rem;
  flex-grow: 1;
}
.tri-card .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold-dark);
}

/* ============================================================
   Differentiators (How we're different)
   ============================================================ */

.diff-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) { .diff-grid { grid-template-columns: 1fr; } }

.diff-item {
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-gold);
}
.diff-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}
.diff-item p {
  color: var(--color-muted);
  margin: 0;
}

/* ============================================================
   Services / practice-area grid
   ============================================================ */

.services-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service-card {
  display: block;
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}
.service-card h3 { margin-bottom: var(--space-2); font-size: 1.2rem; }
.service-card p { color: var(--color-muted); margin: 0 0 var(--space-3); font-size: .98rem; }
.service-card .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold-dark);
}

/* Icon block at top of practice cards.
   Uses a square block with light cream background and gold-tinted SVG inside. */
.service-card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--color-cream);
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
  border: 1px solid var(--color-line);
}
.service-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-navy);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card-featured .service-card-icon {
  background: var(--color-navy);
  border-color: var(--color-navy);
}
.service-card-featured .service-card-icon svg { stroke: var(--color-gold); }
.service-card-featured {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, #fff 0%, var(--color-cream) 100%);
}
.service-card-featured::before {
  content: "Specialty";
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}

/* ============================================================
   Two-column layouts (practice page main+aside)
   ============================================================ */

.two-col {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1.4fr .9fr;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* Sticky aside */
.aside-sticky {
  position: sticky;
  top: calc(72px + var(--space-4)); /* under sticky header */
}
@media (max-width: 880px) {
  .aside-sticky { position: static; }
}

.quick-facts {
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}
.quick-facts h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line);
}
.quick-facts dl {
  margin: 0;
  display: grid;
  gap: var(--space-3);
}
.quick-facts dt {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-muted);
}
.quick-facts dd {
  margin: 2px 0 0;
  color: var(--color-text);
  font-size: .98rem;
}

.aside-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ============================================================
   Process steps (numbered)
   ============================================================ */

.steps {
  display: grid;
  gap: var(--space-4);
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.step {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--color-navy);
  color: var(--color-gold);
  font-family: var(--font-serif);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { font-size: .94rem; color: var(--color-muted); margin: 0; }

/* ============================================================
   Comparison table (K-1 vs CR-1 etc.)
   ============================================================ */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .98rem;
  margin: var(--space-5) 0;
}
.compare-table th,
.compare-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line);
}
.compare-table thead th {
  background: var(--color-cream);
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 2px solid var(--color-line);
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-cream);
  width: 30%;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }

/* ============================================================
   Fee table
   ============================================================ */

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .98rem;
  margin: var(--space-4) 0;
}
.fee-table th,
.fee-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-line);
}
.fee-table thead th {
  background: var(--color-cream);
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 600;
}
.fee-table td.fee-num {
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
}
.fee-note {
  font-size: var(--fs-small);
  color: var(--color-muted);
  margin: 0;
}

/* ============================================================
   FAQ accordion
   ============================================================ */

.faq {
  max-width: 820px;
}
.faq details {
  border-top: 1px solid var(--color-line);
  padding: var(--space-4) 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--color-line);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--color-gold-dark);
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 auto;
  transition: transform var(--dur-fast) var(--ease);
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p,
.faq details ul,
.faq details ol {
  margin-top: var(--space-3);
  color: var(--color-text);
}

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  background: var(--color-navy);
  color: #fff;
  padding: var(--space-8) 0;
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-bottom: var(--space-3); }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 60ch; margin-bottom: 0; }
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: space-between;
  align-items: center;
}
.cta-band-text { flex: 1 1 380px; }
.cta-band-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ============================================================
   Page header (non-home pages)
   ============================================================ */

.page-head {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: #fff;
  padding: var(--space-8) 0 var(--space-7);
}
.page-head h1 {
  color: #fff;
  margin-bottom: var(--space-3);
  max-width: 24ch;
}
.page-head .lead {
  color: rgba(255, 255, 255, .85);
  max-width: 60ch;
  font-size: 1.1rem;
  margin: 0;
}

/* Split page header — text left, feature image right (flagship pages) */
.page-head-split .container {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: var(--space-7);
  align-items: center;
}
.page-head-split .page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.page-head-figure {
  margin: 0;
}
.page-head-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .12);
}
.page-head-figure figcaption {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  margin-top: var(--space-2);
  text-align: center;
}
@media (max-width: 820px) {
  .page-head-split .container { grid-template-columns: 1fr; }
  .page-head-figure { max-width: 360px; margin: var(--space-4) 0 0; }
}

.breadcrumbs {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .65);
  margin-bottom: var(--space-4);
}
.breadcrumbs a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--color-gold); }

/* ============================================================
   Prose (long-form content blocks)
   ============================================================ */

.prose {
  max-width: var(--max-width-prose);
}
.prose h2 {
  margin-top: 1.7em;
}
.prose h3 {
  margin-top: 1.4em;
  color: var(--color-navy-dark);
}
.prose blockquote {
  margin: 1.5em 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--color-gold);
  background: var(--color-cream);
  color: var(--color-navy-dark);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
}
.prose ul li,
.prose ol li { margin-bottom: .4em; }

/* ============================================================
   Forms
   ============================================================ */

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

.field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease), outline-color var(--dur-fast) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 1px;
  border-color: var(--color-gold);
}
.form-note {
  font-size: var(--fs-small);
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

/* Honeypot field — visually hidden */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

/* ============================================================
   Calendly callout (footer + contact)
   ============================================================ */

.callout-calendly {
  background: var(--color-cream);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}
.callout-calendly h3 {
  font-size: 1.1rem;
  margin: 0 0 var(--space-3);
}
.callout-calendly p {
  margin: 0 0 var(--space-3);
  color: var(--color-muted);
  font-size: .98rem;
}
.callout-calendly p strong { color: var(--color-navy); }
.callout-calendly .btn { font-size: 14px; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-navy-dark);
  color: #cfd8e6;
  font-size: 15px;
  padding: var(--space-8) 0 var(--space-5);
}
.footer-pre {
  background: var(--color-navy);
  padding: var(--space-6) 0;
  margin-bottom: var(--space-8);
}
.footer-pre .callout-calendly {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}
.footer-pre .callout-calendly h3 { color: #fff; }
.footer-pre .callout-calendly p { color: rgba(255, 255, 255, .8); }
.footer-pre .callout-calendly p strong { color: #fff; }

.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover { color: var(--color-gold); text-decoration: underline; }

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: 6px; }

.footer-brand-block p {
  color: #cfd8e6;
  max-width: 34ch;
  margin: var(--space-3) 0;
}
.footer-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.footer-disclaimer {
  max-width: 80ch;
  margin: var(--space-7) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: #8493ab;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: 13px;
  color: #8493ab;
}

/* ============================================================
   Attorney portrait / placeholder (About page)
   ============================================================ */

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
.portrait-caption {
  font-size: 12px;
  color: var(--color-muted);
  text-align: center;
  margin-top: var(--space-2);
  font-style: italic;
}
.portrait-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
}
.portrait-placeholder .pp-initials {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.portrait-placeholder .pp-note {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-top: var(--space-3);
}

/* Credentials list (About sidebar) */
.cred-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
}
.cred-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: var(--space-2);
  font-size: .96rem;
  color: var(--color-text);
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   Topic cards (photo + heading + text) — USCIS-style hub tiles
   ============================================================ */

.topic-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}
.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.topic-card-featured { border-color: var(--color-gold); border-width: 2px; }
.topic-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.topic-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}
.topic-card-photo {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--color-cream-2);
}
.topic-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.topic-card-body h3 {
  font-size: 1.2rem;
  margin: 0 0 var(--space-2);
}
.topic-card-body p {
  color: var(--color-muted);
  font-size: .96rem;
  margin: 0 0 var(--space-4);
  flex-grow: 1;
}
.topic-card-body .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold-dark);
}
/* Optional caption strip for photo credit (public-domain attribution) */
.photo-credit {
  font-size: 11px;
  color: var(--color-muted-2);
  margin-top: var(--space-2);
}

/* ============================================================
   Subpage navigation tile grid (green-card / citizenship hub)
   ============================================================ */

.subpage-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.subpage-tile {
  display: block;
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.subpage-tile:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}
.subpage-tile h3 {
  font-size: 1.1rem;
  margin: 0 0 var(--space-2);
}
.subpage-tile p {
  font-size: .94rem;
  color: var(--color-muted);
  margin: 0;
}
.subpage-tile .more {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold-dark);
}

/* ============================================================
   Tools / utility links list (resources page)
   ============================================================ */

.tools-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.tool-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.tool-card-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--color-cream);
  border-radius: var(--radius);
  color: var(--color-navy);
}
.tool-card-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tool-card-body { flex: 1 1 auto; min-width: 0; }
.tool-card h3 { font-size: 1rem; margin: 0 0 4px; }
.tool-card p { font-size: 14px; color: var(--color-muted); margin: 0; }
.tool-card-host {
  display: inline-block;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 6px;
  font-family: monospace;
}

/* ============================================================
   Reveal-on-scroll animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Utility classes
   ============================================================ */

.text-center { text-align: center; }
.text-muted  { color: var(--color-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.lead { font-size: 1.1rem; line-height: 1.6; color: var(--color-muted); }
.divider { border-top: 1px solid var(--color-line); margin: var(--space-6) 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Mobile nav
   ============================================================ */

@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--space-4) var(--space-4);
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 8px;          /* ~46px tap target */
    border-radius: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .btn { margin-top: var(--space-3); margin-left: 0; text-align: center; }
  .site-header { position: relative; }
  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--color-cream);
  }
  .has-dropdown .dropdown a {
    padding-left: var(--space-5);
  }
}

/* ============================================================
   Print
   ============================================================ */

@media print {
  .site-header,
  .topbar,
  .cta-band,
  .site-footer,
  .nav-toggle { display: none; }
  body { color: #000; background: #fff; font-size: 12pt; }
  a { color: #000; text-decoration: none; }
  .hero { background: none; color: #000; padding: 24pt 0; }
  .hero h1 { color: #000; }
}
