@font-face {
  font-family: Inter;
  src: url('/assets/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #0649f5;
  --ink: #090a2d;
  --yellow: #ffeb85;
  --line: #d9dce7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hero a:focus-visible { outline-color: var(--yellow); }
.page-width { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -70px; left: 20px; z-index: 5; padding: 12px; background: #fff; }
.skip-link:focus { top: 12px; }

.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 96px; }
.wordmark { color: var(--blue); font-size: 25px; font-weight: 830; letter-spacing: -.04em; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 27px; font-size: 15px; }
.site-header nav > a:not(.button) { text-decoration: none; }
.site-header nav > a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { background: #003bd2; }
.header-button { padding: 14px 23px; }

.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: start;
  column-gap: 65px;
  width: 100%;
  padding: 54px max(48px, calc((100vw - 1240px) / 2)) 45px;
  background: var(--blue);
  color: #fff;
}
.hero h1 {
  grid-row: 1 / 3;
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(62px, 6.6vw, 99px);
  font-weight: 780;
  line-height: .97;
  letter-spacing: -.065em;
}
.hero h1 span { display: contents; }
.mission { margin: 5px 0 24px; font-size: 26px; line-height: 1.26; letter-spacing: -.03em; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.hero-actions .button { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.hero-actions .button:hover { background: #ffe260; }
.tagline { max-width: 340px; margin: 0; font-size: 14px; line-height: 1.45; letter-spacing: -.015em; }

.intro { display: grid; grid-template-columns: 1fr 1.04fr; max-width: 1400px; margin-inline: auto; background: #fff; }
/* The intro stops at 1400px: cap its inset at (1400 - 1240) / 2. */
.intro-copy { align-self: center; padding: 64px 56px 64px clamp(48px, calc((100vw - 1240px) / 2), 80px); }
.intro h2 { max-width: 530px; margin: 0 0 23px; font-size: 45px; font-weight: 780; line-height: 1.05; letter-spacing: -.055em; }
.intro-copy > p { max-width: 525px; margin: 0 0 23px; font-size: 19px; line-height: 1.55; letter-spacing: -.018em; }
.portrait-frame { align-self: end; height: 560px; margin: 0; overflow: hidden; background: #fff; }
.portrait { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 3px 0 5px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--blue); font-weight: 650; line-height: 1.4; text-decoration: none; }
.text-link:hover { color: #002ea8; }
.toggle-mark { font-size: 23px; font-weight: 450; line-height: 1; }
.philosophy { padding-block: 62px 65px; border-top: 1px solid var(--line); }
.section-kicker { margin: 0 0 19px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.philosophy-grid { display: grid; grid-template-columns: .72fr 1.25fr; align-items: start; gap: 70px; }
.philosophy h2 { margin: 0 0 23px; font-size: 35px; font-weight: 620; line-height: 1.15; letter-spacing: -.04em; }
.prose p { margin: 0 0 18px; font-size: 18px; line-height: 1.6; letter-spacing: -.01em; }
.prose p:last-child { margin-bottom: 0; }

.purpose-band { background: var(--yellow); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding-block: 42px; }
.purpose-item + .purpose-item { padding-left: 44px; border-left: 1px solid #74705b; }
.purpose-item h2 { margin: 0 0 12px; font-size: 40px; font-weight: 750; line-height: 1.1; letter-spacing: -.045em; }
.purpose-item p { margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: -.023em; }
.portal-invitation { display: grid; grid-template-columns: 1.4fr .7fr; align-items: center; gap: 72px; padding-block: 52px; border-bottom: 1px solid var(--line); }
.portal-invitation h2 { margin: 0 0 16px; font-size: 37px; font-weight: 730; line-height: 1.14; letter-spacing: -.04em; }
.portal-invitation p { max-width: 750px; margin: 0 0 15px; font-size: 17px; line-height: 1.55; }
.portal-actions { padding-left: 35px; border-left: 1px solid var(--line); }
.portal-actions .button { width: 100%; max-width: 280px; }
.portal-actions .small { max-width: 270px; margin-top: 12px; color: #52596d; font-size: 13px; line-height: 1.5; }
.custody-section { padding-block: 46px 42px; }
.custody-section h2 { margin: 0 0 16px; font-size: 35px; font-weight: 780; line-height: 1.15; letter-spacing: -.04em; }
.custody-section > p { margin: 0 0 15px; font-size: 19px; line-height: 1.5; letter-spacing: -.015em; }
.financing { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.financing-heading { margin: 0 0 10px; font-size: 17px; font-weight: 650; }
.financing-links { display: flex; align-items: center; gap: 17px; font-size: 16px; }
.financing-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); text-underline-offset: 4px; }
.financing-brand img { display: block; width: 71px; height: auto; }
.financing-links > a { color: var(--blue); text-underline-offset: 4px; }
.link-divider { color: #949cb3; }
.eligibility { margin: 10px 0 0; color: #5a637b; font-size: 12px; }
.site-footer { color: #fff; background: var(--blue); }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 27px; }
.attorney-name { margin: 0 0 9px; font-size: 15px; font-weight: 620; letter-spacing: .13em; }
.attorney-role { font-weight: 400; }
.footer-location { margin: 0; font-size: 14px; }
.footer-location a { text-decoration: none; }
.footer-phone { font-size: 22px; text-decoration: none; white-space: nowrap; }

@media (min-width: 1450px) {
  .intro { min-height: 515px; }
  .intro-copy { padding-right: 75px; }
}

@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .wordmark { font-size: 21px; }
  .site-header nav { gap: 18px; font-size: 14px; }
  .hero { width: 100%; column-gap: 35px; padding-inline: 32px; }
  .hero h1 { font-size: 72px; }
  .mission { font-size: 22px; }
  .intro-copy { padding: 38px 32px; }
  .intro h2 { font-size: 36px; }
  .intro-copy > p { font-size: 17px; }
  .portrait-frame { height: 525px; }
  .philosophy-grid { gap: 36px; }
  .purpose-grid { gap: 30px; }
  .purpose-item + .purpose-item { padding-left: 30px; }
  .purpose-item p { font-size: 18px; }
  .portal-invitation { gap: 36px; }
  .portal-actions { padding-left: 28px; }
}

@media (max-width: 740px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { position: relative; display: block; min-height: 118px; padding-block: 20px 15px; }
  .site-header .wordmark { display: block; width: 158px; max-width: 158px; font-size: 20px; line-height: 1.05; }
  .site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 20px; font-size: 13px; }
  .site-header .header-button { position: absolute; top: 20px; right: 0; padding: 11px 14px; font-size: 13px; }
  .hero { display: block; width: 100%; padding: 32px 20px 30px; }
  .hero h1 { max-width: 500px; margin-bottom: 24px; font-size: 56px; line-height: .97; }
  .hero h1 span { display: block; }
  .mission { max-width: 540px; margin-bottom: 23px; font-size: 23px; }
  .hero-actions { gap: 12px; }
  .hero-actions > .button { padding: 13px 23px; }
  .tagline { max-width: none; }
  .intro { display: flex; flex-direction: column; }
  .intro-copy { padding: 34px 20px 27px; }
  .intro h2 { max-width: 540px; margin-bottom: 19px; font-size: 35px; }
  .intro-copy > p { max-width: 600px; margin-bottom: 18px; }
  .text-link { font-size: 15px; }
  .portrait-frame { width: 100%; max-width: 520px; height: 380px; margin-inline: auto; }
  .philosophy { padding-block: 35px 40px; }
  .philosophy-grid { display: flex; flex-direction: column; gap: 2px; }
  .philosophy h2 { max-width: 550px; margin-bottom: 18px; font-size: 29px; }
  .prose p { font-size: 17px; }
  .purpose-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 29px; }
  .purpose-item + .purpose-item { padding: 24px 0 0; border-top: 1px solid #aaa072; border-left: 0; }
  .purpose-item h2 { font-size: 31px; }
  .purpose-item p { line-height: 1.45; }
  .portal-invitation { grid-template-columns: 1fr; gap: 25px; padding-block: 36px; }
  .portal-invitation h2 { max-width: 520px; font-size: 29px; }
  .portal-invitation p { font-size: 16px; }
  .portal-actions { padding-left: 0; border-left: 0; }
  .portal-actions .button { width: auto; padding: 14px 22px; font-size: 15px; }
  .portal-actions .small { max-width: 500px; }
  .custody-section { padding-block: 34px; }
  .custody-section h2 { font-size: 30px; }
  .custody-section > p { font-size: 17px; }
  .financing-links { flex-wrap: wrap; gap: 10px; font-size: 14px; }
  .financing-brand { gap: 8px; }
  .financing-brand img { width: 63px; }
  .footer-content { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 25px; }
  .attorney-name { font-size: 12px; letter-spacing: .1em; }
  .footer-location { font-size: 13px; }
  .footer-phone { font-size: 21px; }
}

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

@media print {
  .philosophy[hidden] { display: block !important; }
  .page-width { width: 90%; }
  .site-header nav, #approach-toggle { display: none; }
  .hero { width: 100%; }
  .hero h1 { font-size: 64px; }
  .intro-copy { padding: 30px; }
  .portrait-frame { height: 320px; }
  .intro h2 { font-size: 27px; }
  .intro-copy > p { font-size: 15px; }
  .hero, .purpose-band, .site-footer { print-color-adjust: exact; }
  .philosophy-grid { gap: 28px; }
}
