@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/Lora-Variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/Jost-Variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --navy: #081b33;
  --coral: #e54a35;
  --page: #f2f2f2;
  --white: #ffffff;
  --text: rgba(8, 27, 51, 0.8);
  --line: rgba(8, 27, 51, 0.18);
  --sans: "Jost", "Century Gothic", Arial, sans-serif;
  --serif: "Lora", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
body.attorney-gate-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h2 { font-size: 36px; }
h3 {
  color: var(--coral);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.attorney-gate {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.48);
}
.attorney-gate[hidden] { display: none; }
.attorney-gate__dialog {
  width: min(466px, 100%);
  padding: 44px 38px 20px;
  border: 2px solid var(--navy);
  border-radius: 3px;
  background: var(--page);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.attorney-gate__dialog p { margin: 0; text-align: center; }
.attorney-gate__actions { display: flex; gap: 30px; margin-top: 44px; }
.attorney-gate__button {
  display: inline-flex;
  width: 170px;
  padding: 6px 1px;
  align-items: center;
  justify-content: center;
  border: 1px solid #404040;
  border-radius: 2px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.attorney-gate__button--deny { background: #cccccc; }
.attorney-gate__button--accept { background: #b3ffb3; }
.attorney-gate__button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { transform: translateY(0); }
.container { width: 84%; margin-inline: auto; }
.narrow { width: min(69.5%, 1325px); margin-inline: auto; }
.section { padding: 112px 0; }
.section--white, .section--mist { background: var(--page); }
.eyebrow {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lede { max-width: 780px; color: var(--text); font-size: 17px; }
.rule { width: 72px; height: 1px; margin: 28px 0 34px; border: 0; background: var(--line); }
.button {
  display: inline-flex;
  min-width: 154px;
  min-height: 68px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  border-radius: 0;
  color: var(--navy);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover, .button:focus-visible { color: var(--white); background: var(--navy); }
.button--light { border-color: var(--white); color: var(--white); }
.button--light:hover, .button--light:focus-visible { color: var(--navy); background: var(--white); }

.site-header { position: relative; z-index: 20; padding: 68px 8%; background: var(--page); }
.masthead {
  position: relative;
  display: grid;
  height: 259px;
  grid-template-columns: 1fr 308px 1fr;
  align-items: center;
}
.utility-links { display: flex; justify-self: start; gap: 18px; }
.utility-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand { width: 308px; justify-self: center; }
.brand img { width: 308px; height: 175px; object-fit: contain; }
.site-nav { display: flex; justify-self: end; align-items: center; gap: 18px; }
.site-nav > a, .site-nav summary {
  padding: 12px 0;
  border: 0;
  color: var(--coral);
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  list-style: none;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav > a[aria-current="page"], .site-nav summary[aria-current="page"] { color: var(--navy); }
.nav-services { position: relative; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary span::after { content: ""; }
.nav-dropdown {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  right: -24px;
  width: 315px;
  padding: 16px 0;
  border: 1px solid rgba(8, 27, 51, 0.08);
  background: var(--page);
  box-shadow: 0 12px 32px rgba(8, 27, 51, 0.11);
}
.nav-dropdown a {
  display: block;
  padding: 8px 24px;
  color: var(--coral);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; color: var(--navy); background: transparent; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  height: 236px;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: var(--navy);
}
.hero::before, .hero::after { position: absolute; inset: 0; content: ""; z-index: 0; }
.hero::after { background: rgba(8, 27, 51, 0.1); }
.hero__content { position: relative; z-index: 1; width: 77%; padding: 0; text-align: center; transform: translateY(8px); }
.hero h1 {
  max-width: 1272px;
  margin: 0 auto;
  color: var(--page);
  font-size: 100px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}
.hero .eyebrow { margin-bottom: 0; color: var(--coral); }
.hero--home {
  height: 236px;
  min-height: 0;
  background-image: url("/assets/home-hero.png");
  background-position: center 78%;
  background-size: cover;
}
.hero--home::after { background: rgba(8, 27, 51, 0.08); }
.hero--home .hero__content { padding: 0; }
.hero--home h1 { max-width: 1272px; font-size: 100px; line-height: 100px; }
.hero--home .button { display: none; }
.hero--plain::before { background: var(--navy); }
.hero--global { height: 339px; }
.hero--us, .hero--services, .hero--apostille { height: 236px; }
.hero--notary, .hero--passport, .page-training .hero--plain { height: 234px; }
.hero--global::before { background: url("/assets/global-immigration.png") center 58% / cover; }
.hero--notary::before { background: url("/assets/notary.png") center 47% / cover; }
.hero--us::before { background: url("/assets/us-immigration.png") center 50% / cover; }
.hero--passport::before, .hero--services::before, .hero--apostille::before { background: url("/assets/home-hero.png") center 78% / cover; }
.hero--global::after, .hero--notary::after, .hero--us::after, .hero--passport::after, .hero--services::after, .hero--apostille::after { background: rgba(8, 27, 51, 0.34); }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.79fr) minmax(360px, 1fr);
  gap: 10.625%;
  align-items: start;
}
.prose p { margin-bottom: 28px; }
.contact-card { padding: 0; color: var(--text); background: transparent; box-shadow: none; }
.contact-card::after { display: none; }
.contact-card .eyebrow {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;
}
.contact-card h2, .contact-card h3 {
  margin: 38.86px 0 29.88px;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-card a { color: var(--navy); font-family: var(--serif); font-size: 36px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }

.section-heading { display: block; margin-bottom: 42px; }
.section-heading .eyebrow { display: none; }
.section-heading h2 { margin: 0; font-size: 58px; }
.section-heading p { color: var(--text); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 34px;
}
.service-card {
  min-height: 0;
  padding: 42px 0 41.8px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.service-card:hover { border-color: var(--line); box-shadow: none; transform: none; }
.service-card::before { display: none; }
.service-card h3 { margin-bottom: 20px; font-family: var(--sans); font-size: 18px; line-height: 1.2; }
.service-card h3 { color: var(--coral); }
.service-card p { margin: 0; color: var(--text); font-size: 16px; }
.service-column:first-child .service-card:first-child p { min-height: 96px; }

.quote {
  width: 55.3%;
  padding: 91px 0 74px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--navy);
  background: transparent;
  text-align: center;
}
.quote blockquote {
  max-width: 479px;
  margin: 0 auto 57.6px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 48px;
  font-style: normal;
  line-height: 1.3;
}
.quote cite {
  display: block;
  margin-top: 0;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 14.4px;
  text-transform: uppercase;
}

body[data-page="home"] main > .section--white { padding: 119px 0 88px; }
body[data-page="home"] main > .section--mist { padding-top: 119px; padding-bottom: 0; }

.profile-grid {
  display: grid;
  width: min(69.5%, 1325px);
  margin-inline: auto;
  grid-template-columns: 374px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.portrait-frame { position: static; padding: 0; background: transparent; }
.portrait-frame h2 {
  margin-bottom: 17px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}
.portrait-frame img { width: 299px; height: 421.05px; margin-left: 36.5px; border-radius: 0; object-fit: cover; }
.profile-copy .role {
  margin: 86.6px 0 20px;
  color: var(--coral);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.profile-copy p { margin-bottom: 25.6px; }
.profile-copy p:last-child { margin-bottom: 0; }
.credential-grid {
  display: grid;
  width: min(69.5%, 1325px);
  margin-inline: auto;
  grid-template-columns: 374px 374px minmax(0, 1fr);
  column-gap: 34px;
  row-gap: 13.9px;
}
.credential-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.credential-card:nth-child(1) { grid-column: 2; grid-row: 1 / span 2; }
.credential-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.credential-card:nth-child(3) { grid-column: 3; grid-row: 2; }
.credential-card h2 { margin-bottom: 29.88px; font-size: 36px; font-weight: 400; line-height: 1.4; }
.credential-card ul { padding-left: 20px; margin: 0; }
.credential-card li + li { margin-top: 8px; }
.member-badge { width: 200px; height: 136px; grid-column: 3; grid-row: 3; margin: 28px 0 0 142px; }

body[data-page="about"] main > .section--white { padding: 68px 0 0; }
body[data-page="about"] main > .section--mist { padding: 0 0 24px; margin-top: -52.6px; }
body[data-page="about"] .credential-grid { width: min(76.75%, 1462px); margin-left: calc((100% - min(69.5%, 1325px)) / 2); margin-right: 0; }
body[data-page="about"] .site-footer { margin-top: 153.6px; }

.content-stack > * + * { margin-top: 64px; }
.content-block { padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.content-block h2 { margin-bottom: 28px; font-size: 48px; }
.content-block h3 { margin-top: 44px; margin-bottom: 28px; }
.content-block p { margin-bottom: 25px; }
.content-block p:last-child { margin-bottom: 0; }

body[data-page="services"] main > .section { padding-top: 68px; padding-bottom: 0; }
body[data-page="services"] .narrow { width: 84%; max-width: none; }
body[data-page="services"] .content-block h2 { margin: 0; font-size: 36px; font-weight: 400; line-height: 1.4; }
body[data-page="services"] .content-block p { margin-bottom: 25.6px; }
body[data-page="services"] .content-block p:last-child { margin-bottom: 0; }
body[data-page="services"] .content-stack { display: flex; flex-direction: column; gap: 68px; }
body[data-page="services"] .content-stack > * + * { margin-top: 0; }
body[data-page="services"] .site-footer { margin-top: 153.6px; }
.page-passport .content-block,
.page-apostille .content-block {
  display: grid;
  grid-template-columns: 374px minmax(0, 1fr);
  column-gap: 34px;
  align-items: start;
}
.page-passport .content-block h2,
.page-apostille .content-block h2 { grid-column: 1; grid-row: 1 / span 4; }
.page-passport .content-block p,
.page-apostille .content-block p { grid-column: 2; }
.page-passport main > .section { padding-bottom: 68px; }
.page-passport .content-block:nth-child(3) { margin-top: 17px; }
.page-apostille main > .section { padding-bottom: 17px; }
.page-notary .narrow { width: 55.3%; margin-left: 36.6%; margin-right: 0; }
.page-notary main > .section { padding-bottom: 134px; }
.page-us main > .section { padding-bottom: 49.6px; }
.page-global main > .section { padding-bottom: 0; }
body.page-passport main > .section { padding-bottom: 68px; }
body.page-apostille main > .section { padding-bottom: 17px; }
body.page-notary .narrow { width: 55.3%; }
body.page-notary main > .section { padding-bottom: 134px; }
body.page-notary .content-block h2 { margin-bottom: 29.88px; }
body.page-us main > .section { padding-bottom: 49.6px; }
body.page-services main > .section:nth-of-type(3) { padding-bottom: 51px; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 70px; }
.overview-card { padding: 36px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.overview-card h3 { margin-bottom: 24px; }
.overview-card ul { padding: 0; margin: 0; list-style: none; }
.overview-card li { padding: 8px 0; }
.overview-card li span { display: block; font-size: 14px; }
.overview-card--wide { grid-column: 1 / -1; }

.page-services main > .section:nth-of-type(2) .content-block h2 {
  margin: 0 0 38.86px;
  font-size: 58px;
  font-weight: 400;
  line-height: 1.2;
}
.page-services main > .section:nth-of-type(2) .content-block p:last-child { min-height: 168px; }
.page-services main > .section:nth-of-type(3) { padding-top: 85px; }
.page-services main > .section:nth-of-type(3) .section-heading { margin-bottom: 98px; }
.page-services .overview-grid {
  display: block;
  width: 799px;
  margin: 0 auto;
}
.page-services .overview-card,
.page-services .overview-card--wide {
  width: 100%;
  padding: 0;
  border: 0;
}
.page-services .overview-card h3 {
  display: flex;
  min-height: 44px;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #8b8b8b;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
}
.page-services .overview-card .case-type {
  display: flex;
  height: 26px;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #bdbdbd;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.page-services .overview-card li {
  display: flex;
  min-height: 27px;
  padding: 1px 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-top: 1px solid #c5c5c5;
  background: #e2e2e2;
  line-height: 24px;
  text-align: center;
}
.page-services .overview-card li:nth-child(even) { background: var(--page); }
.page-services .overview-card li span { font-size: 16px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.75fr);
  gap: 12%;
  align-items: start;
}
.rates h2 { margin-bottom: 32px; font-size: 58px; }

body[data-page="contact"] .hero--plain { height: 234px; }
body[data-page="contact"] main > .section { padding-top: 68px; }
body[data-page="contact"] .contact-layout { grid-template-columns: minmax(0, 1.79fr) minmax(360px, 1fr); gap: 10.625%; }
body[data-page="contact"] .contact-card h2 {
  margin: 0 0 29.88px;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer {
  width: 84%;
  padding: 46px 0 123.5px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.7fr); gap: 80px; }
.footer-left { display: flex; align-items: flex-start; flex-direction: column; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 7px; margin-bottom: 32px; }
.footer-nav a, .footer-nav span { color: var(--coral); font-size: 14px; text-decoration: none; }
.footer-email { margin-bottom: 30px; color: var(--text); font-size: 14px; text-decoration: none; }
.social-nav { display: flex; align-items: center; gap: 24px; }
.social-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #191919;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}
.social-icon--linkedin { font-size: 17px; }
.social-icon--instagram svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-icon--instagram .instagram-dot { fill: currentColor; stroke: none; }
.footer-copy { max-width: 410px; margin: 0 0 0 auto; font-size: 15px; text-align: center; }
.reveal, .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .site-header { padding: 34px 6%; }
  .masthead { height: 150px; grid-template-columns: 1fr 210px 1fr; }
  .brand, .brand img { width: 210px; }
  .brand img { height: 120px; }
  .utility-links { flex-direction: column; gap: 5px; }
  .site-nav { gap: 12px; }
  .site-nav > a, .site-nav summary { font-size: 13px; }
  .hero h1 { font-size: 74px; }
  .intro-grid, .contact-layout { gap: 7%; }
  .profile-grid, .credential-grid { width: 84%; }
  .credential-grid { grid-template-columns: 280px 1fr 1.35fr; }
}

@media (max-width: 820px) {
  .site-header { padding: 20px 24px; }
  .masthead { height: 104px; grid-template-columns: 1fr auto; }
  .utility-links { display: none; }
  .brand { width: 170px; justify-self: start; }
  .brand img { width: 170px; height: 96px; }
  .nav-toggle { display: block; justify-self: end; }
  .site-nav {
    position: fixed;
    inset: 144px 0 0;
    display: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 24px;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    justify-self: stretch;
    background: var(--page);
    border-top: 1px solid rgba(8, 27, 51, 0.08);
    box-shadow: 0 12px 30px rgba(8, 27, 51, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .site-nav summary {
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 12px 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(8, 27, 51, 0.1);
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: 0;
    text-transform: none;
  }
  .nav-services { width: 100%; }
  .nav-services summary span { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .nav-services summary span::after { content: "+"; font-family: var(--sans); font-size: 24px; font-weight: 400; }
  .nav-services[open] summary span::after { content: "-"; }
  .nav-dropdown { position: static; width: 100%; padding: 8px 0 14px 16px; border: 0; box-shadow: none; }
  .nav-dropdown a { padding: 8px 0; font-size: 16px; line-height: 1.35; }
  .hero, .hero--home, .hero--global, .hero--notary, .hero--us, .hero--passport, .hero--services, .hero--apostille { height: auto; min-height: 300px; }
  .hero__content { width: calc(100% - 48px); padding: 58px 0; }
  .hero h1, .hero--home h1 { font-size: clamp(46px, 12vw, 68px); }
  .section { padding: 72px 0; }
  .container, .narrow, .profile-grid, .credential-grid, .site-footer { width: calc(100% - 48px); }
  .intro-grid, .contact-layout, .profile-grid, .credential-grid, .overview-grid, .footer-grid { grid-template-columns: 1fr; }
  body[data-page="contact"] .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .contact-card { padding-top: 24px; }
  .service-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .service-column { display: contents; }
  .page-passport .content-block,
  .page-apostille .content-block { grid-template-columns: 1fr; row-gap: 24px; }
  .page-passport .content-block h2,
  .page-apostille .content-block h2,
  .page-passport .content-block p,
  .page-apostille .content-block p { grid-column: 1; grid-row: auto; }
  body.page-notary .narrow { width: calc(100% - 48px); margin-inline: auto; }
  .page-services .overview-grid { width: 100%; }
  .quote { width: calc(100% - 48px); }
  .quote blockquote { font-size: 40px; }
  .portrait-frame h2 { white-space: normal; }
  .portrait-frame img { width: min(100%, 330px); margin-left: 0; }
  .profile-copy .role { margin-top: 38px; }
  body[data-page="about"] .credential-grid { width: calc(100% - 48px); margin-inline: auto; }
  body[data-page="about"] main > .section--mist { padding-top: 72px; margin-top: 0; }
  .credential-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .member-badge { grid-column: 1; grid-row: auto; margin: 28px 0 0; }
  .footer-copy { max-width: 100%; margin: 0; text-align: left; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 16px; }
  .container, .narrow, .profile-grid, .credential-grid, .site-footer, .quote { width: calc(100% - 32px); }
  body[data-page="about"] .credential-grid { width: calc(100% - 32px); }
  .section-heading h2, .rates h2, .contact-card .eyebrow, .portrait-frame h2 { font-size: 44px; }
  .contact-card a { font-size: 27px; }
  .attorney-gate__dialog { padding: 34px 24px 24px; }
  .attorney-gate__actions { flex-direction: column; gap: 14px; margin-top: 32px; }
  .attorney-gate__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Brand-led modern visual refresh */
:root {
  --navy: #102a35;
  --coral: #079caf;
  --teal: #079caf;
  --teal-dark: #067887;
  --teal-soft: #e8f7f8;
  --page: #f7fafb;
  --surface: #ffffff;
  --white: #ffffff;
  --text: #40535d;
  --line: rgba(16, 42, 53, 0.14);
}

body {
  background: var(--page);
  color: var(--text);
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.65;
}

h1, h2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h3 {
  color: var(--teal-dark);
  letter-spacing: 0.05em;
}

a { text-underline-offset: 3px; }
.container { width: min(1200px, calc(100% - 96px)); }
.narrow { width: min(1060px, calc(100% - 96px)); }
.section { padding: 96px 0; }
.section--white { background: var(--surface); }
.section--mist { background: var(--teal-soft); }
.eyebrow { color: var(--teal); }
.lede { font-size: 18px; }
.rule { height: 2px; background: var(--teal); }

.button {
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 8px 22px rgba(6, 120, 135, 0.18);
}
.button:hover, .button:focus-visible { color: var(--white); background: var(--navy); }

.site-header {
  padding: 18px clamp(28px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.masthead {
  height: 110px;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  grid-template-rows: 38px 1fr;
  column-gap: 48px;
}
.brand {
  width: 245px;
  grid-column: 1;
  grid-row: 1 / 3;
  justify-self: start;
}
.brand img { width: 245px; height: 108px; }
.utility-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  gap: 24px;
}
.utility-links a {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  gap: 30px;
}
.site-nav > a, .site-nav summary {
  position: relative;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.site-nav > a:hover, .site-nav summary:hover,
.site-nav > a:focus-visible, .site-nav summary:focus-visible,
.site-nav > a[aria-current="page"], .site-nav summary[aria-current="page"] { color: var(--teal); }
.nav-dropdown {
  top: calc(100% + 10px);
  right: -16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(16, 42, 53, 0.14);
}
.nav-dropdown a { padding: 10px 22px; color: var(--navy); font-size: 14px; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { color: var(--teal-dark); background: var(--teal-soft); }
.mobile-immigration-links { display: none; }

@media (min-width: 821px) {
  .nav-services::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    content: "";
  }
  .nav-services:hover .nav-dropdown { display: block; }
}

.hero,
.hero--home,
.hero--global,
.hero--notary,
.hero--us,
.hero--passport,
.hero--services,
.hero--apostille,
.page-training .hero--plain {
  height: 360px;
  min-height: 360px;
}
.hero--home { height: 500px; min-height: 500px; }
.hero::after { background: linear-gradient(110deg, rgba(16, 42, 53, 0.76), rgba(6, 120, 135, 0.28)); }
.hero--home::after { background: linear-gradient(110deg, rgba(16, 42, 53, 0.78), rgba(7, 156, 175, 0.24)); }
.hero--plain::before { background: linear-gradient(125deg, var(--navy), #0b5d69); }
.hero__content { width: min(1060px, calc(100% - 96px)); padding: 0; text-align: left; transform: none; }
.hero h1,
.hero--home h1 {
  max-width: 980px;
  margin: 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(54px, 6.4vw, 88px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero .eyebrow {
  margin-bottom: 18px;
  color: #7cdee6;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
  gap: 72px;
}
.prose p { margin-bottom: 24px; }
.contact-card {
  padding: 36px;
  border: 1px solid rgba(7, 156, 175, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--surface), var(--teal-soft));
  box-shadow: 0 20px 46px rgba(16, 42, 53, 0.08);
}
.contact-card .eyebrow {
  margin-bottom: 24px;
  color: var(--teal-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.contact-card h2, .contact-card h3 {
  margin: 0 0 24px;
  color: var(--teal-dark);
  font-size: 15px;
}
.contact-card a { color: var(--navy); font-family: var(--sans); font-size: 26px; font-weight: 600; }

.section-heading { margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(40px, 4vw, 58px); }
.service-grid { column-gap: 24px; }
.service-column { display: grid; gap: 24px; align-content: start; }
.service-card {
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 42, 53, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.service-card:hover {
  border-color: rgba(7, 156, 175, 0.42);
  box-shadow: 0 20px 44px rgba(16, 42, 53, 0.11);
  transform: translateY(-3px);
}
.service-card h3 { margin-bottom: 16px; font-size: 16px; }
.service-card h3 { color: var(--teal-dark); }
.service-card__link {
  display: block;
  height: 100%;
  padding: 30px;
  color: inherit;
  text-decoration: none;
}
.service-card__link:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: -4px;
}
.service-column:first-child .service-card:first-child p { min-height: 0; }

.quote {
  width: min(1200px, calc(100% - 96px));
  padding: 72px clamp(36px, 8vw, 120px);
  margin: 96px auto;
  border: 0;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(125deg, var(--navy), #0b5d69);
  box-shadow: 0 24px 60px rgba(16, 42, 53, 0.18);
}
.quote blockquote {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
}
.quote cite { color: #7cdee6; }
body[data-page="home"] main > .section--white { padding: 96px 0; }
body[data-page="home"] main > .section--mist { padding: 96px 0 48px; }

.profile-grid {
  width: min(1100px, calc(100% - 96px));
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 72px;
}
.portrait-frame h2 { margin-bottom: 24px; font-size: 42px; white-space: normal; }
.portrait-frame img {
  width: 100%;
  height: 430px;
  margin: 0;
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(16, 42, 53, 0.14);
}
.profile-copy .role { margin: 70px 0 18px; color: var(--teal-dark); }
.credential-grid {
  width: min(1100px, calc(100% - 96px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.credential-card {
  padding: 30px;
  border: 1px solid rgba(7, 156, 175, 0.16);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 42, 53, 0.06);
}
.credential-card:nth-child(1),
.credential-card:nth-child(2),
.credential-card:nth-child(3) { grid-column: auto; grid-row: auto; }
.credential-card h2 { margin-bottom: 22px; font-size: 30px; }
.member-badge { grid-column: 3; grid-row: 2; margin: 8px auto 0; }
body[data-page="about"] main > .section--white { padding: 96px 0; }
body[data-page="about"] main > .section--mist { padding: 80px 0; margin-top: 0; }
body[data-page="about"] .credential-grid { width: min(1100px, calc(100% - 96px)); margin-inline: auto; }
body[data-page="about"] .site-footer { margin-top: 0; }

.content-stack > * + * { margin-top: 32px; }
.content-block {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(16, 42, 53, 0.06);
}
.content-block h2 { margin-bottom: 24px; font-size: clamp(34px, 4vw, 48px); }
.content-block h3 { color: var(--teal-dark); }
body[data-page="services"] main > .section { padding: 88px 0; }
body[data-page="services"] .narrow { width: min(1100px, calc(100% - 96px)); }
body[data-page="services"] .content-block h2 { font-size: 36px; }
body[data-page="services"] .content-stack { gap: 32px; }
body[data-page="services"] .site-footer { margin-top: 0; }
.page-passport .content-block,
.page-apostille .content-block { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
.page-notary .narrow,
body.page-notary .narrow { width: min(900px, calc(100% - 96px)); margin-inline: auto; }

.page-services main > .section:nth-of-type(2) .content-block h2 { font-size: clamp(40px, 4vw, 56px); }
.page-services main > .section:nth-of-type(2) .content-block p:last-child { min-height: 0; }
.page-services main > .section:nth-of-type(3) { padding-top: 88px; }
.page-services main > .section:nth-of-type(3) .section-heading { margin-bottom: 48px; }
.page-services .overview-grid {
  display: grid;
  width: 100%;
  max-width: 1100px;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.page-services .overview-card,
.page-services .overview-card--wide {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 42, 53, 0.06);
}
.page-services .overview-card--wide { grid-column: 1 / -1; }
.page-services .overview-card h3 {
  min-height: 62px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--navy);
}
.page-services .overview-card .case-type {
  height: 36px;
  color: var(--teal-dark);
  background: #cfeef1;
}
.page-services .overview-card li {
  min-height: 40px;
  padding: 8px 16px;
  border-color: var(--line);
  background: var(--surface);
  line-height: 1.35;
}
.page-services .overview-card li:nth-child(even) { background: var(--teal-soft); }

.contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr); gap: 64px; }
.rates h2 { font-size: clamp(40px, 4vw, 58px); }
body[data-page="contact"] main > .section { padding: 96px 0; }
body[data-page="contact"] .contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr); gap: 64px; }
body[data-page="contact"] .contact-card h2 { color: var(--teal-dark); }

.attorney-gate { background: rgba(16, 42, 53, 0.74); backdrop-filter: blur(6px); }
.attorney-gate__dialog {
  padding: 40px;
  border: 1px solid rgba(7, 156, 175, 0.32);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(16, 42, 53, 0.28);
}
.attorney-gate__button {
  min-height: 46px;
  border: 0;
  border-radius: 9px;
  color: var(--white);
  background: var(--navy);
}
.attorney-gate__button--deny { color: var(--navy); background: #dfe8eb; }
.attorney-gate__button--accept { background: var(--teal-dark); }

.site-footer {
  width: 100%;
  padding: 64px max(8%, calc((100% - 1200px) / 2));
  margin: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}
.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); gap: 80px; }
.footer-nav a, .footer-nav span { color: #7cdee6; }
.footer-email { color: var(--white); }
.social-icon { color: var(--white); }
.footer-copy { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 900px) {
  .container, .narrow, .profile-grid, .credential-grid, .quote,
  body[data-page="about"] .credential-grid,
  body[data-page="services"] .narrow,
  .page-notary .narrow,
  body.page-notary .narrow { width: calc(100% - 48px); }
  .intro-grid, .contact-layout, .profile-grid, .credential-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  body[data-page="contact"] .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-column { display: contents; }
  .profile-copy .role { margin-top: 0; }
  .portrait-frame { max-width: 420px; }
  .member-badge { grid-column: 1; grid-row: auto; margin: 8px 0 0; }
  .page-passport .content-block,
  .page-apostille .content-block { grid-template-columns: 1fr; gap: 24px; }
  .page-passport .content-block h2,
  .page-apostille .content-block h2,
  .page-passport .content-block p,
  .page-apostille .content-block p { grid-column: 1; grid-row: auto; }
  .page-services .overview-grid { grid-template-columns: 1fr; }
  .page-services .overview-card--wide { grid-column: 1; }
}

@media (max-width: 820px) {
  .site-header { padding: 12px 20px; }
  .masthead { height: 82px; grid-template-columns: 1fr auto; grid-template-rows: 1fr; }
  .brand { width: 170px; grid-column: 1; grid-row: 1; }
  .brand img { width: 170px; height: 82px; }
  .nav-toggle { grid-column: 2; grid-row: 1; color: var(--navy); }
  .site-nav { inset: 107px 0 0; padding: 22px 24px 40px; background: var(--surface); }
  .site-nav > a, .site-nav summary { color: var(--navy); font-family: var(--sans); font-size: 27px; font-weight: 600; letter-spacing: -0.01em; }
  .nav-dropdown { border-radius: 0; background: transparent; }
  .nav-dropdown a { color: var(--teal-dark); }
  .mobile-immigration-links {
    display: grid;
    width: 100%;
    gap: 12px;
    padding: 16px 0 0 16px;
  }
  .mobile-immigration-links a {
    color: var(--teal-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
  }
  .hero,
  .hero--home,
  .hero--global,
  .hero--notary,
  .hero--us,
  .hero--passport,
  .hero--services,
  .hero--apostille,
  .page-training .hero--plain { height: auto; min-height: 390px; }
  .hero--home { min-height: 500px; }
  .hero__content { width: calc(100% - 48px); padding: 64px 0; }
  .hero h1, .hero--home h1 { font-size: clamp(46px, 13vw, 66px); }
  .section { padding: 72px 0; }
  .contact-card { padding: 28px; }
  .quote { padding: 56px 28px; margin: 72px auto; }
  .portrait-frame img { height: auto; aspect-ratio: 3 / 4; }
  .site-footer { padding: 56px 24px; }
  .footer-copy { text-align: left; }
}

@media (max-width: 520px) {
  .container, .narrow, .profile-grid, .credential-grid, .quote,
  body[data-page="about"] .credential-grid,
  body[data-page="services"] .narrow,
  .page-notary .narrow,
  body.page-notary .narrow { width: calc(100% - 32px); }
  .hero__content { width: calc(100% - 32px); }
  .hero h1, .hero--home h1 { font-size: clamp(42px, 13vw, 58px); }
  .service-card, .credential-card, .content-block { padding: 24px; }
  .contact-card a { font-size: 23px; }
  .page-services .overview-card h3 { font-size: 15px; }
}
