:root {
  --navy: #071d42;
  --navy-2: #0b2b61;
  --blue: #1769df;
  --blue-soft: #eaf3ff;
  --cyan: #14a8ea;
  --green: #11a84b;
  --ink: #122033;
  --muted: #5f6d7d;
  --line: #dfe6ec;
  --paper: #ffffff;
  --off: #f5f8fa;
  --warm: #f9f7f2;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(7, 29, 66, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

button, summary, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: white;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.page-width {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section-pad { padding: 108px 0; }

.section-pad-sm { padding: 72px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(7,29,66,.06);
}

.nav-shell {
  height: 96px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 180px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  padding-left: 20px;
}

.brand img {
  width: 165px;
  height: 165px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  text-decoration: none;
  color: #354359;
  transition: color .2s ease;
}

.desktop-nav a:hover { color: var(--blue); }

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: white !important;
}

.menu-button {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

.mobile-nav { display: none; }

.hero {
  position: relative;
  padding-top: 68px;
  overflow: hidden;
}

.ribbon-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 260;
  overflow: hidden;
  margin-bottom: 44px;
}

.ribbon-wrap img {
  position: absolute;
  width: 100%;
  height: auto;
  max-width: none;
  left: 0;
  top: 0;
  transform: translateY(-13.5%);
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 84px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--navy);
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0 0 28px;
  max-width: 780px;
}

.hero-kicker {
  font-size: 20px;
  font-weight: 760;
  line-height: 1.35;
  max-width: 640px;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero-subhead {
  font-size: 16px;
  color: var(--muted);
  max-width: 660px;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, *background* .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 28px rgba(23,105,223,.22);
}

.button.primary:hover { background: #0f59c3; }

.button.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid #cad4df;
}

.hero-intro {
  border-left: 1px solid var(--line);
  padding-left: 42px;
  font-size: 17px;
  color: #334258;
  align-self: start;
  margin-top: -10px;
}

.hero-intro p {
  margin: 0 0 24px;
}

.hero-intro p:last-child {
  margin-bottom: 0;
}

.stats {
  margin-top: 82px;
  display: grid;
  grid-template-columns: 1.15fr repeat(3,1fr);
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats > * {
  padding: 30px 26px;
}

.stats > * + * {
  border-left: 1px solid var(--line);
}

.stats-label p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stat strong {
  color: var(--blue);
  font-size: 36px;
  letter-spacing: -.04em;
  line-height: 1;
}

.stat span {
  color: #536277;
  font-size: 12px;
  line-height: 1.45;
}

.family {
  background: var(--warm);
  border-top: 1px solid #eee9df;
  border-bottom: 1px solid #eee9df;
}

.family-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 118px;
}

.section-heading h2,
.founder h2,
.professionals h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--navy);
  font-size: clamp(38px,4vw,58px);
  line-height: 1.05;
  margin: 0 0 26px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 12px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.prose-large {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.52;
  color: #2b384b;
}

.prose-large p {
  margin: 0 0 34px;
}

.prose-large p:last-child {
  margin-bottom: 0;
}

.services {
  background: #fff;
}

.section-heading.centered {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 58px;
}

.section-heading.compact h2 {
  font-size: clamp(38px,4.2vw,56px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  align-items: start;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-card:hover {
  border-color: #c9d8e8;
  box-shadow: 0 14px 36px rgba(7,29,66,.07);
  transform: translateY(-2px);
}

.service-card.featured {
  grid-column: 1/-1;
}

.service-card summary {
  list-style: none;
  cursor: pointer;
  padding: 28px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  grid-template-areas:
    "number title action"
    ". preview action";
  gap: 7px 16px;
  align-items: start;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-number {
  grid-area: number;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
}

.service-title {
  grid-area: title;
  font-family: Georgia,"Times New Roman",serif;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.15;
}

.service-preview {
  grid-area: preview;
  color: var(--muted);
  font-size: 14px;
  max-width: 580px;
}

.summary-action {
  grid-area: action;
  align-self: center;
  white-space: nowrap;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  gap: 10px;
}

.summary-action span {
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease;
}

details[open] .summary-action span {
  transform: rotate(45deg);
}

.service-body {
  border-top: 1px solid var(--line);
  padding: 26px 28px 30px 92px;
  color: #415066;
  font-size: 15px;
}

.service-body p:first-child {
  margin-top: 0;
}

.service-body p:last-child {
  margin-bottom: 0;
}

.service-body ul {
  padding-left: 20px;
}

.nested-details {
  margin-top: 24px;
  border: 1px solid #cddcf0;
  background: #f7fbff;
  border-radius: 12px;
  overflow: hidden;
}

.nested-details summary {
  padding: 14px 16px;
  font-weight: 800;
  color: var(--navy);
  display: block;
}

.question-list {
  padding: 0 16px 16px;
}

.question-list p {
  background: white;
  border: 1px solid #e1e8ef;
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.professionals {
  background: var(--navy);
  color: white;
}

.professionals-heading {
  display: block;
  max-width: 950px;
  margin-bottom: 48px;
}

.professionals h2 {
  color: white;
  margin-bottom: 0;
}

.professionals-tagline {
  color: #91dbc0;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 850;
  margin: 18px 0 0;
}

.eyebrow.light {
  color: #7de0bc;
}

.professional-accordions {
  border-top: 1px solid rgba(255,255,255,.18);
}

.professional-accordions details {
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.professional-accordions summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  font-family: Georgia,"Times New Roman",serif;
  font-size: 27px;
  line-height: 1.2;
}

.professional-accordions summary::-webkit-details-marker {
  display: none;
}

.professional-accordions .plus {
  font-family: Inter,sans-serif;
  font-size: 30px;
  transition: transform .2s ease;
}

.professional-accordions details[open] .plus {
  transform: rotate(45deg);
}

.professional-accordions details p {
  max-width: 920px;
  color: #cbd5e2;
  font-size: 16px;
  margin: 0 0 32px;
}

/* NEW: spacing for the attorney CTA buttons */
.professional-cta {
  margin-bottom: 30px;
}

.founder {
  background: var(--off);
}

.founder-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 84px;
  align-items: center;
}

.founder-image-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/4.35;
}

.founder-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.founder-copy > p:not(.eyebrow) {
  color: #445267;
  font-size: 17px;
  line-height: 1.72;
  max-width: 680px;
}

.founder-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.affiliations {
  background: white;
  border-top: 1px solid var(--line);
}

.affiliations-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 26px;
}

.affiliations-head p {
  margin: 0;
}

.affiliations-head p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.logo-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr .8fr 1.6fr 1.45fr;
  gap: 14px;
}

.logo-tile {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: white;
}

.logo-tile img {
  max-height: 58px;
  max-width: 100%;
  object-fit: contain;
}

.logo-tile.seal img {
  max-height: 72px;
}

.logo-tile.wide img {
  max-height: 52px;
}

.site-footer {
  background: #051632;
  color: #d6dfeb;
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr;
  gap: 80px;
}

.footer-brand img {
  width: 138px;
  height: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
  margin-left: -18px;
}

.footer-brand p {
  max-width: 390px;
  color: #96a5ba;
  margin: 8px 0 0;
}

.footer-label {
  color: white;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: #d6dfeb;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-links span {
  color: #91a0b5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 56px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #8797ad;
  font-size: 13px;
}

.footer-bottom a {
  color: #b6c2d2;
  text-decoration: none;
}

@media (max-width: 980px) {

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    display: none;
    padding: 0 24px 22px;
    background: white;
    border-top: 1px solid var(--line);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f4;
    font-weight: 700;
  }

  .hero-grid,
  .family-grid,
  .founder-grid,
  .professionals-heading {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-intro {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats > * + * {
    border-left: 0;
  }

  .stats > * {
    border-bottom: 1px solid var(--line);
  }

  .stats > *:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .stats > *:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .sticky-heading {
    position: static;
  }

  .professional-accordions summary {
    font-size: 24px;
  }

  .professionals-heading > p {
    text-align: left;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 700px) {

  .page-width {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-shell {
    width: calc(100% - 32px);
    height: 70px;
  }

  .section-pad {
    padding: 76px 0;
  }

  .section-pad-sm {
    padding: 56px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .ribbon-wrap {
    height: auto;
    aspect-ratio: 2048 / 260;
    margin-bottom: 36px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-kicker {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .stats > * {
    border-bottom: 1px solid var(--line) !important;
    border-left: 0 !important;
  }

  .stats > *:last-child {
    border-bottom: 0 !important;
  }

  .family-grid {
    gap: 40px;
  }

  .prose-large {
    font-size: 20px;
  }

  .section-heading h2,
  .founder h2,
  .professionals h2 {
    font-size: 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: auto;
  }

  .service-card summary {
    grid-template-columns: 42px 1fr;
    grid-template-areas:
      "number title"
      ". preview"
      ". action";
    padding: 22px;
  }

  .summary-action {
    margin-top: 8px;
  }

  .service-body {
    padding: 22px;
  }

  .professionals-heading {
    gap: 24px;
  }

  .professional-accordions summary {
    font-size: 21px;
    padding: 22px 0;
  }

  .founder-grid {
    gap: 36px;
  }

  .founder-image-wrap {
    aspect-ratio: 4/4.5;
  }

  .founder-actions {
    align-items: stretch;
  }

  .affiliations-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .logo-row {
    grid-template-columns: 1fr 1fr;
  }

  .logo-tile {
    min-height: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .brand {
    width: 135px;
    height: 70px;
    padding-left: 4px;
  }

  .brand img {
    width: 125px;
    height: 125px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}