@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --navy: #08244a;
  --navy-2: #0b315f;
  --navy-3: #041a35;
  --gold: #c98527;
  --gold-light: #e2b15c;
  --cream: #fbf8f3;
  --paper: #fff;
  --ink: #17202d;
  --muted: #667080;
  --line: #e3e5e8;
  --shadow: 0 18px 50px rgba(8, 36, 74, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 15px;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
}

.skip-link:focus {
  transform: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 92px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(8, 36, 74, 0.08);
  box-shadow: 0 4px 18px rgba(8, 36, 74, 0.04);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: var(--navy);
}

.brand-mark {
  display: block;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.03;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav > a,
.nav-dropdown > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  color: var(--navy);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.site-nav > a:not(.button)::after,
.nav-dropdown > button::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 3px;
  left: 13px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after,
.nav-dropdown > button:hover::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button span {
  margin-left: 6px;
  font-size: 10px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: 320px;
  padding: 10px;
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: var(--navy);
  border-bottom: 1px solid #edf0f3;
  font-size: 13px;
  font-weight: 600;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: var(--cream);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 24px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(8, 36, 74, 0.18);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.site-nav > .button {
  min-height: 44px;
  margin-left: 10px;
  padding: 11px 20px;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  border-radius: 4px;
  box-shadow: 0 5px 12px rgba(8, 36, 74, 0.24);
  font-size: 13px;
}

.button-gold {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: none;
}

.button-outline-navy {
  color: var(--navy);
  border-color: var(--navy);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: var(--serif);
  line-height: 1.05;
}

h1 {
  font-size: clamp(50px, 6vw, 77px);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(35px, 4vw, 50px);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 28px;
}

p {
  margin: 0 0 18px;
}

.home-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #d6d4cf url("compass-hero-v2.webp") center / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.92) 34%, rgba(255, 253, 249, 0.18) 60%, rgba(4, 19, 36, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(5, 25, 49, 0.14));
}

.home-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 590px;
}

.hero-copy {
  width: min(670px, 58%);
  padding: 64px 0;
}

.hero-copy h1 {
  max-width: 670px;
}

.hero-subhead {
  margin: 0 0 20px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
}

.hero-copy > p:not(.hero-subhead):not(.location-line) {
  max-width: 525px;
  color: #2c3440;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 15px;
}

.hero-actions-centered {
  justify-content: center;
}

.location-line {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #303744;
  font-size: 14px;
}

.location-line span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 12px;
}

.section {
  padding: 78px 0;
}

.section-cream {
  background: var(--cream);
}

.section-heading {
  max-width: 930px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading p:last-child {
  max-width: 690px;
  margin-inline: auto;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 27px 18px 22px;
  text-align: center;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  color: var(--navy);
  border: 0;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
}

.service-card h3 {
  min-height: 62px;
  margin-bottom: 8px;
  font-size: 23px;
}

.service-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.credential-band {
  color: #fff;
  background: linear-gradient(115deg, var(--navy-3), #073b6d);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.credential {
  position: relative;
  padding: 36px 24px 34px;
  text-align: center;
}

.credential:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 0;
  bottom: 25%;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.credential-icon {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.credential strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.credential p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
}

.transition-section {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 65%);
  min-height: 450px;
}

.transition-photo {
  min-height: 450px;
  background: #f1eee7 url("advisor-desk.webp") center / cover no-repeat;
}

.transition-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px max(48px, calc((100vw - 1180px) / 2));
  padding-left: 60px;
  background: #fff;
}

.transition-copy p {
  max-width: 740px;
}

.transition-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.transition-point {
  padding: 10px 24px;
  color: var(--navy);
  text-align: center;
}

.transition-point:not(:last-child) {
  border-right: 1px solid var(--line);
}

.transition-point span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 30px;
}

.transition-point strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
}

.journey-cta {
  position: relative;
  padding: 62px 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--navy) url("treasure-valley-dusk.webp") center 54% / cover no-repeat;
}

.journey-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 28, 57, 0.71);
}

.journey-cta .container {
  position: relative;
  z-index: 1;
}

.journey-cta h2,
.journey-cta p {
  color: #fff;
}

.journey-cta p {
  max-width: 850px;
  margin: 0 auto 25px;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  color: #fff;
  text-align: center;
  background: var(--navy) url("treasure-valley-dusk.webp") center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 20, 40, 0.55), rgba(3, 26, 54, 0.88)),
    linear-gradient(90deg, rgba(3, 28, 57, 0.35), transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-block: 74px;
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.page-hero h1 {
  max-width: 930px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(45px, 6vw, 68px);
}

.page-hero .lede {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.89);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.45;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 70px;
  align-items: start;
}

.article {
  min-width: 0;
}

.article .article-intro {
  color: #394453;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.55;
}

.article h2 {
  margin-top: 48px;
  padding-top: 4px;
  font-size: clamp(32px, 4vw, 43px);
}

.article h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 14px;
  background: var(--gold);
}

.article p {
  color: #394453;
}

.sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 20px;
}

.sidebar-card {
  padding: 28px;
  background: var(--cream);
  border: 1px solid #eee7dd;
  border-top: 4px solid var(--gold);
}

.sidebar-card h3 {
  font-size: 28px;
}

.sidebar-card p,
.sidebar-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.sidebar-card ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.sidebar-card li {
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid #e7e1d7;
}

.sidebar-card li::before {
  content: "✦";
  float: left;
  margin-left: -18px;
  color: var(--gold);
}

.sidebar-contact {
  color: #fff;
  background: var(--navy);
  border: 0;
  border-top: 4px solid var(--gold);
}

.sidebar-contact h3,
.sidebar-contact p {
  color: #fff;
}

.sidebar-contact p {
  color: rgba(255, 255, 255, 0.76);
}

.sidebar-contact a:not(.button) {
  display: block;
  margin: 5px 0;
  color: var(--gold-light);
  font-weight: 700;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 25px 0 10px;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 16px 18px 16px 47px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid #eee7dd;
  font-weight: 600;
  line-height: 1.45;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--gold);
  border-radius: 50%;
  font-size: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.process-card {
  position: relative;
  padding: 28px 26px 22px 78px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(8, 36, 74, 0.06);
}

.process-number {
  position: absolute;
  top: 26px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.process-card h3 {
  margin-bottom: 9px;
  font-size: 23px;
}

.process-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.local-callout {
  margin-top: 50px;
  padding: 38px 42px;
  background: linear-gradient(125deg, var(--navy-3), var(--navy-2));
  border-left: 5px solid var(--gold);
}

.local-callout h2,
.local-callout p {
  color: #fff;
}

.local-callout h2 {
  margin-top: 0;
}

.local-callout h2::after {
  background: var(--gold-light);
}

.local-callout p {
  color: rgba(255, 255, 255, 0.83);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 19px 52px 19px 22px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.related-card span {
  color: var(--gold);
  font-size: 26px;
}

.related-card h3 {
  margin-top: 10px;
  font-size: 25px;
}

.related-card p {
  color: var(--muted);
  font-size: 13px;
}

.article-disclaimer {
  margin-top: 34px;
  padding-top: 18px;
  color: #7a8290 !important;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-style: italic;
}

.site-footer {
  color: #fff;
  background: linear-gradient(125deg, #03162d, #062d58);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 1.7fr 0.62fr;
  gap: 28px;
  padding-block: 38px 30px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-mark {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.footer-brand .brand-mark img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.94;
}

.footer-brand .brand-copy strong {
  font-size: 23px;
}

.footer-brand .brand-copy small {
  font-size: 11px;
}

.footer-brand p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-heading {
  margin-bottom: 16px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li,
.footer-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a:hover {
  color: var(--gold-light);
}

.service-area-map {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  background: url("treasure-valley-map-v2.webp") center / contain no-repeat;
}

.map-city {
  position: absolute;
  color: rgba(255, 255, 255, 0.88);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-shadow: 0 1px 4px rgba(2, 20, 42, 0.9);
  text-transform: uppercase;
}

.map-city.payette {
  top: 10%;
  left: 35%;
}

.map-city.gem {
  top: 67%;
  left: 8%;
}

.map-city.canyon {
  top: 50%;
  right: 9%;
}

.map-city.meridian {
  top: 47%;
  left: 42%;
}

.map-city.boise {
  right: 27%;
  bottom: 11%;
}

.map-city.nampa {
  bottom: 24%;
  left: 38%;
}

.map-compass {
  position: absolute;
  top: 43%;
  left: 53%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.92;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0 24px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 92px;
    right: 0;
    bottom: 0;
    width: min(410px, 92vw);
    display: block;
    padding: 18px 22px 40px;
    overflow-y: auto;
    transform: translateX(105%);
    background: #fff;
    box-shadow: -20px 20px 45px rgba(8, 36, 74, 0.2);
    transition: transform 180ms ease;
  }

  .site-nav.open {
    transform: none;
  }

  .site-nav > a,
  .nav-dropdown > button {
    width: 100%;
    justify-content: space-between;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .button {
    margin-top: 16px;
    color: #fff;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    box-shadow: none;
    transition: max-height 180ms ease, padding 180ms ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 560px;
    padding-block: 8px;
    transform: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .credential:nth-child(3)::after {
    display: none;
  }

  .transition-section {
    grid-template-columns: 1fr 1.2fr;
  }

  .transition-copy {
    padding: 48px 38px;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 34px, 680px);
  }

  .brand-copy strong {
    font-size: 23px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .home-hero,
  .home-hero .container {
    min-height: 620px;
  }

  .home-hero {
    background-position: 70% center;
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 253, 249, 0.98), rgba(255, 253, 249, 0.86)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(5, 25, 49, 0.1));
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 620px;
  }

  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential:nth-child(3)::after {
    display: block;
  }

  .credential:nth-child(even)::after {
    display: none;
  }

  .transition-section {
    grid-template-columns: 1fr;
  }

  .transition-photo {
    min-height: 360px;
    background-position: 38% center;
  }

  .transition-copy {
    padding: 52px 28px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header,
  .nav-wrap {
    min-height: 78px;
  }

  .site-nav {
    top: 78px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small {
    margin-top: 3px;
    font-size: 9px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .section {
    padding: 56px 0;
  }

  .home-hero,
  .home-hero .container {
    min-height: 650px;
  }

  .hero-subhead {
    font-size: 27px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .service-grid,
  .credential-grid,
  .transition-points,
  .checklist,
  .sidebar,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .credential::after {
    top: auto !important;
    right: 20% !important;
    bottom: 0 !important;
    left: 20%;
    width: auto !important;
    height: 1px;
    display: block !important;
  }

  .credential:last-child::after {
    display: none !important;
  }

  .transition-point {
    padding: 18px 12px;
  }

  .transition-point:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-hero {
    min-height: 490px;
  }

  .page-hero h1 {
    font-size: 45px;
  }

  .page-hero .lede {
    font-size: 20px;
  }

  .process-card {
    padding-left: 24px;
    padding-top: 78px;
  }

  .process-number {
    top: 24px;
    left: 24px;
  }

  .local-callout {
    padding: 30px 24px;
  }

  .footer-main {
    gap: 34px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
