:root {
  color-scheme: light;
  --navy: #0b1f36;
  --navy-deep: #081524;
  --blue: #4682b4;
  --blue-dark: #2c5f8a;
  --ice: #d6e4f0;
  --ice-bright: #e2ebf3;
  --ice-muted: #c3d4e4;
  --pale: #f2f7fc;
  --pale-blue: #e7f0f8;
  --paper: #ffffff;
  --ink: #1b2430;
  --muted: #3d4a57;
  --gold: #d5ad58;
  --line: rgba(11, 31, 54, 0.16);
  --content: 1160px;
  --header-height: 82px;
  font-family: "Jost", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: "Jost", Arial, sans-serif;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.page-width {
  width: min(var(--content), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  min-height: var(--header-height);
  background: rgba(8, 21, 36, 0.97);
  border-bottom: 1px solid rgba(214, 228, 240, 0.16);
}

.header-inner {
  position: relative;
  display: flex;
  width: min(1320px, calc(100% - 48px));
  min-height: var(--header-height);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
}

.brand-motto {
  color: var(--ice);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.625rem;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 38px);
}

.nav-links a {
  color: var(--ice-bright);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ice);
}

.nav-links .nav-contact {
  padding: 11px 16px;
  border: 1px solid rgba(214, 228, 240, 0.45);
  color: var(--ice);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(790px, 100svh);
  padding: calc(var(--header-height) + 28px) 0 56px;
  background: var(--pale);
  color: var(--navy);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(118deg, transparent 0 57%, rgba(70, 130, 180, 0.11) 57.1%, transparent 57.35%),
    linear-gradient(118deg, transparent 0 61%, rgba(11, 31, 54, 0.05) 61.1%, transparent 61.25%);
}

.hero::after {
  top: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(44, 95, 138, 0.35), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.78fr);
  align-items: start;
  gap: clamp(36px, 7vw, 100px);
}

.hero-copy {
  max-width: 620px;
  padding-block: 18px;
}

.hero-practice-motifs {
  display: grid;
  margin: 36px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.8vw, 20px);
  list-style: none;
}

.hero-practice-motifs li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--blue-dark);
}

.hero-practice-motifs svg {
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
}

.hero-practice-motifs path {
  fill: none;
  stroke: currentColor;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  animation: practice-line-draw 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-practice-motifs li:nth-child(2) path {
  animation-delay: 120ms;
}

.hero-practice-motifs li:nth-child(3) path {
  animation-delay: 240ms;
}

.hero-practice-motifs li:nth-child(4) path {
  animation-delay: 360ms;
}

.hero-practice-motifs .motif-mark {
  fill: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-practice-motifs span {
  color: var(--navy);
  font-size: 0.6875rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.5rem, 2rem + 1.8vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 em,
.section-heading h2 em,
.practice-heading h2 em,
.clients-heading h2 em,
.team-heading h2 em,
.contact-heading h2 em {
  color: var(--ice);
  font-weight: 400;
}

.hero h1 em {
  color: var(--blue-dark);
}

.hero-intro {
  max-width: 52ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero .button-outline {
  border-color: rgba(11, 31, 54, 0.45);
  color: var(--navy);
}

.hero .button-outline:hover {
  border-color: var(--navy);
  background: rgba(11, 31, 54, 0.05);
  color: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-outline {
  border-color: rgba(214, 228, 240, 0.42);
  color: var(--ice-bright);
}

.button-outline:hover {
  border-color: var(--ice);
  background: rgba(214, 228, 240, 0.08);
  color: var(--paper);
}

.hero-panel {
  position: relative;
  display: flex;
  min-height: 530px;
  padding: 28px clamp(24px, 3.2vw, 42px) 25px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(213, 173, 88, 0.72);
  background: var(--navy);
  color: var(--paper);
}

.hero-panel::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(214, 228, 240, 0.14);
  content: "";
  pointer-events: none;
}

.panel-topline,
.panel-index-title,
.hero-index {
  position: relative;
  z-index: 1;
}

.panel-topline {
  display: flex;
  padding-bottom: 12px;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(214, 228, 240, 0.24);
  color: var(--ice);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel-crest {
  display: grid;
  min-height: 215px;
  padding-block: 20px 8px;
  place-items: center;
  text-align: center;
}

.panel-crest img {
  width: clamp(155px, 17vw, 205px);
  height: auto;
  animation: seal-arrive 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.panel-index-title {
  margin: 0 0 8px;
  color: var(--ice);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-index {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-index li {
  border-top: 1px solid rgba(214, 228, 240, 0.22);
}

.hero-index a {
  display: grid;
  min-height: 42px;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  color: var(--ice-bright);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-index a:hover {
  color: var(--paper);
}

.hero-index a span:first-child {
  color: var(--gold);
}

.hero-index a span:last-child {
  color: var(--ice);
  font-size: 0.875rem;
}

.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 29px;
  height: 1px;
  background: var(--blue-dark);
}

.section-light,
.section-paper,
.section-blue,
.section-navy {
  padding-block: clamp(3.5rem, 4vw, 4.5rem);
}

.section-light {
  background: var(--pale);
}

.section-paper {
  background: var(--paper);
}

.section-blue {
  background: var(--pale-blue);
}

.section-navy {
  background: var(--navy-deep);
  color: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(46px, 10vw, 150px);
  align-items: start;
}

.section-heading h2,
.practice-heading h2,
.clients-heading h2,
.team-heading h2,
.contact-heading h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-heading h2 em,
.practice-heading h2 em,
.clients-heading h2 em,
.contact-heading h2 em {
  color: var(--blue-dark);
}

.section-side-note {
  display: inline-flex;
  margin-top: 18px;
  align-items: center;
  gap: 12px;
  color: var(--blue-dark);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-side-note::before {
  width: 28px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.about-copy {
  max-width: 62ch;
  padding-top: 8px;
}

.about-copy p {
  margin-bottom: 1.125rem;
  color: var(--muted);
}

.about-copy .lead {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem);
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  color: var(--blue-dark);
}

.text-link:hover {
  color: var(--blue-dark);
}

.practice-heading {
  display: flex;
  margin-bottom: 2rem;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.practice-heading h2,
.clients-heading h2,
.team-heading h2,
.contact-heading h2 {
  margin-bottom: 0;
}

.practice-heading p,
.clients-heading p {
  max-width: 34ch;
  margin-bottom: 7px;
  color: var(--muted);
}

.practice-list {
  border-top: 1px solid var(--line);
}

.practice-row {
  display: grid;
  min-height: 132px;
  grid-template-columns: 90px minmax(0, 1fr) minmax(150px, 0.32fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.practice-index {
  color: var(--blue-dark);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
}

.practice-detail h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  line-height: 1.3;
}

.practice-detail p {
  max-width: 61ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.practice-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.8125rem;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.practice-link span:last-child {
  color: var(--blue-dark);
  font-size: 1rem;
}

.practice-link:hover {
  color: var(--blue-dark);
}

.clients-heading {
  display: flex;
  margin-bottom: 1.75rem;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.client-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  align-items: center;
  list-style: none;
}

.client-list li {
  display: grid;
  min-height: 132px;
  padding: 24px;
  place-items: center;
  border-right: 1px solid rgba(11, 31, 54, 0.14);
}

.client-list li:last-child {
  border-right: 0;
}

.client-list img {
  width: min(100%, 220px);
  max-height: 76px;
  object-fit: contain;
}

.team-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.team-heading h2 {
  color: var(--paper);
}

.team-heading h2 em {
  color: var(--ice);
}

.team-heading p {
  margin-top: 0.875rem;
  color: var(--ice-muted);
}

.team-list {
  border-top: 1px solid rgba(214, 228, 240, 0.22);
}

.person {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  padding: 1.375rem 0;
  border-bottom: 1px solid rgba(214, 228, 240, 0.22);
}

.person-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(213, 173, 88, 0.78);
  color: var(--ice);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.person-mark-outline {
  border-color: rgba(214, 228, 240, 0.38);
}

.person h3 {
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 1.375rem;
  line-height: 1.3;
}

.person-role {
  margin-bottom: 12px;
  color: var(--ice);
  font-size: 1rem;
}

.person-note {
  margin-bottom: 0;
  color: var(--ice-muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-style: italic;
}

.contact-heading {
  display: grid;
  max-width: 930px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
  align-items: start;
  gap: 24px;
}

.contact.section-light {
  padding-block: clamp(3.5rem, 4vw, 4.5rem);
}

.contact-heading h2 {
  color: var(--navy);
}

.contact-heading p {
  margin-bottom: 7px;
  color: var(--muted);
}

.contact-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.75fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 24px;
}

.contact-form {
  min-width: 0;
  margin: 0;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
}

.form-field label span {
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-block-size: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(11, 31, 54, 0.4);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 1em);
  line-height: 1.4;
}

.form-field textarea {
  min-block-size: 6rem;
  line-height: 1.5;
  resize: vertical;
}

.contact-form-footer {
  display: flex;
  margin-top: 16px;
  align-items: center;
  gap: 16px;
}

.contact-form-footer .button {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
}

.contact-form-footer .button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.contact-form-note {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-form-status:not(:empty) {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 1px solid var(--blue-dark);
  background: var(--pale-blue);
  color: var(--navy);
}

.contact-form-status[data-state="success"] {
  border-color: #2a684a;
  color: #1d5038;
}

.contact-form-status[data-state="error"] {
  border-color: #8b1e2d;
  color: #711c29;
}

.contact-form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-content-grid > * {
  min-inline-size: 0;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 20px;
  margin: 0;
  padding: 6px 0 0 20px;
  border-left: 1px solid var(--line);
}

.contact-details h3 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-address address,
.contact-address .office-hours {
  color: var(--muted);
  font-size: 1rem;
  font-style: normal;
}

.contact-address .office-hours {
  margin: 16px 0 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.contact-methods > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.contact-methods a {
  display: inline-flex;
  min-block-size: 44px;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 1rem;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-methods a[href^="tel:"] {
  white-space: normal;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--blue-dark);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-methods a:hover {
  color: var(--blue-dark);
}

.button-navy {
  background: var(--navy);
  color: var(--paper);
}

.button-navy:hover {
  background: var(--blue-dark);
}

.site-footer {
  padding-top: 42px;
  background: var(--navy-deep);
  color: var(--ice);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer .brand-name {
  font-size: 1rem;
}

.brand-footer img {
  width: 48px;
  height: 48px;
}

.back-to-top {
  color: var(--ice);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-to-top:hover {
  color: var(--gold);
}

.disclaimer {
  margin-top: 1.5rem;
  padding: 1.25rem 0 1.125rem;
  border-top: 1px solid rgba(214, 228, 240, 0.18);
  border-bottom: 1px solid rgba(214, 228, 240, 0.18);
}

.disclaimer h2 {
  margin-bottom: 8px;
  color: var(--ice);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.disclaimer p {
  max-width: 78ch;
  margin-bottom: 0;
  color: var(--ice);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-bottom {
  min-height: 3rem;
  color: var(--ice-muted);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes seal-arrive {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes practice-line-draw {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 60em) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    width: calc(100% - 36px);
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.8125rem;
  }

  .hero {
    min-height: 720px;
    padding-top: calc(var(--header-height) + 24px);
  }

  .hero-inner {
    min-height: 580px;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
    gap: 25px;
  }

  .hero-panel {
    min-height: 505px;
    padding-inline: 24px;
  }

  .panel-crest {
    min-height: 185px;
  }

  .panel-crest img {
    width: min(175px, 68%);
  }

  .practice-row {
    grid-template-columns: 52px minmax(0, 1fr) minmax(130px, 0.35fr);
    gap: 22px;
  }
}

@media (max-width: 46.25em) {
  .page-width {
    width: min(var(--content), calc(100% - 40px));
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 11px 9px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(214, 228, 240, 0.36);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--ice);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: -16px;
    left: -16px;
    display: none;
    padding: 10px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(214, 228, 240, 0.14);
    background: var(--navy-deep);
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    padding: 15px 3px;
    border-bottom: 1px solid rgba(214, 228, 240, 0.12);
    font-size: 0.8125rem;
  }

  .nav-links .nav-contact {
    margin-top: 13px;
    padding-inline: 14px;
    border: 1px solid rgba(214, 228, 240, 0.45);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 18px) 0 64px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    padding-block: 12px 0;
  }

  .hero-practice-motifs {
    margin-top: 32px;
    gap: 10px;
  }

  .hero-practice-motifs svg {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 2.75rem);
  }

  .hero-intro {
    max-width: 55ch;
    font-size: 1rem;
  }

  .hero-panel {
    min-height: 470px;
    padding: 26px 30px 24px;
  }

  .scroll-cue {
    bottom: 24px;
    width: max-content;
    font-size: 0.6875rem;
  }

  .about-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-light,
  .section-paper,
  .section-blue,
  .section-navy {
    padding-block: 3.5rem;
  }

  .contact.section-light {
    padding-block: 3.25rem;
  }

  .section-heading h2,
  .practice-heading h2,
  .clients-heading h2,
  .team-heading h2,
  .contact-heading h2 {
    font-size: clamp(1.9rem, 1.5rem + 2vw, 2.4rem);
  }

  .section-side-note {
    margin-top: 2px;
  }

  .practice-heading,
  .clients-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .practice-row {
    min-height: 0;
    padding: 1.25rem 0;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 18px;
  }

  .practice-index {
    grid-row: 1 / span 2;
    padding-top: 7px;
    font-size: 0.8125rem;
  }

  .practice-detail h3 {
    font-size: 1.25rem;
  }

  .practice-detail p {
    font-size: 1rem;
  }

  .practice-link {
    grid-column: 2;
    justify-content: flex-start;
    gap: 16px;
    padding-top: 2px;
  }

  .client-list {
    grid-template-columns: 1fr;
  }

  .client-list li {
    min-height: 7rem;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 31, 54, 0.14);
  }

  .client-list li:last-child {
    border-bottom: 0;
  }

  .contact-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .contact-details {
    gap: 20px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-form-fields {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 30em) {
  body {
    font-size: 1rem;
  }

  .page-width {
    width: calc(100% - 36px);
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-motto {
    font-size: 0.625rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 455px;
    padding-inline: 23px;
  }

  .panel-crest {
    min-height: 164px;
  }

  .practice-row {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px 12px;
  }

  .person {
    grid-template-columns: 54px 1fr;
    gap: 16px;
  }

  .person-mark {
    width: 52px;
    height: 52px;
    font-size: 0.875rem;
  }

  .person h3 {
    font-size: 1.3rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-footer .button {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    justify-content: center;
    gap: 3px;
    padding-block: 12px;
  }
}

@media (pointer: coarse) {
  .form-field input,
  .form-field select {
    min-block-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-practice-motifs path {
    animation: none;
    stroke-dashoffset: 0;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
