@font-face {
  font-family: "DM Serif Display";
  src: url("assets/dm-serif-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("assets/dm-serif-display-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Material Symbols Outlined";
  src: url("assets/material-symbols-subset.woff2") format("woff2");
  font-display: block;
}

:root {
  --serif: "DM Serif Display", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --white: #fffdfb;
  --cream: #f8f4f0;
  --ink: #29191e;
  --muted: #594c50;
  --burgundy: #661f37;
  --burgundy-dark: #481426;
  --burgundy-deep: #32101c;
  --on-dark: #eededc;
  --gold: #e5bfa1;
  --line: #e8dcd8;
  --focus: #925225;
  --shell: 77rem;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --section-space: clamp(4rem, 7vw, 6.25rem);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.55rem, 4.4vw, 4rem);
  letter-spacing: -0.028em;
  line-height: 1.05;
}

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

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

button {
  font: inherit;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-block-start: 1rem;
}

.shell {
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section-space {
  padding-block: var(--section-space);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset: 0.5rem auto auto 0.5rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--burgundy-dark);
  font-weight: 650;
}

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

.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  overflow: hidden;
  font-family: "Material Symbols Outlined";
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: "liga";
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

.utility-bar, .hero, .contact, .site-footer {
  --focus: var(--gold);
}

.utility-bar {
  background: var(--burgundy-deep);
  color: #f8eae7;
  font-size: 0.875rem;
}

.utility-inner {
  min-height: 2.375rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding-block: 0.25rem;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.utility-item .icon {
  color: var(--gold);
  font-size: 1rem;
}

a.utility-item:hover {
  text-decoration: underline;
}

.site-header {
  position: relative;
  z-index: 2;
  background: var(--white);
}

.header-inner {
  min-height: 5.125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  color: var(--burgundy-dark);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: none;
  width: 2.875rem;
  aspect-ratio: 1;
  place-items: center;
  background: var(--burgundy-dark);
  color: #f6e4d2;
}

.brand-mark .icon {
  font-size: 1.75rem;
}

.brand-name {
  font: 400 1.42rem/1.03 var(--serif);
  letter-spacing: -0.021em;
}

.brand-prefix {
  display: block;
  margin-bottom: 0.25rem;
  font: 600 0.75rem/1.2 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.5rem);
  font-size: 0.875rem;
  font-weight: 600;
}

.main-nav a {
  text-decoration: none;
}

.main-nav > a:not(.button):hover {
  color: var(--burgundy);
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  min-height: 3.375rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button-outline {
  min-height: 2.75rem;
  padding-inline: 1rem;
  border-color: #b48391;
  color: var(--burgundy-dark);
  font-size: 0.875rem;
}

.button-outline:hover {
  border-color: var(--burgundy-dark);
  background: var(--burgundy-dark);
  color: var(--white);
}

.button-light {
  background: #fcf6ee;
  color: var(--burgundy-dark);
}

.button-light:hover {
  background: #f2dfcf;
}

.button .icon {
  font-size: 1.125rem;
}

.text-link {
  width: fit-content;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(110deg, #571b31, #4c1528 41%);
  color: var(--white);
}

.hero-art {
  position: absolute;
  inset: 0 0 0 49%;
  z-index: -1;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 36%;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #4c1528, rgb(76 21 40 / 43%) 20%, transparent 53%);
  content: "";
}

.hero-inner {
  display: grid;
  align-items: center;
  min-height: 32.75rem;
  padding-block: clamp(4.25rem, 7vw, 5rem);
}

.hero-copy {
  max-width: 53%;
  padding-right: 1rem;
}

.eyebrow {
  color: var(--burgundy);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  color: var(--gold);
}

.hero-eyebrow::before {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  font-size: clamp(3.2rem, 5.55vw, 5.25rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.hero h1 em {
  display: block;
  color: var(--gold);
  font-weight: 400;
}

.hero-description {
  max-width: 29rem;
  margin-top: 1.6rem;
  color: #f4e7e6;
  font-size: clamp(1rem, 1.45vw, 1.175rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  margin-top: 1.9rem;
}

.hero-actions .text-link {
  color: var(--white);
  text-decoration-color: #d6acb5;
}

.practice {
  padding-top: clamp(3.5rem, 4.6vw, 4.5rem);
  background: var(--cream);
}

.section-heading {
  margin-bottom: clamp(1.8rem, 3.2vw, 2.5rem);
  text-align: center;
}

.section-heading::before {
  display: block;
  width: 2.25rem;
  height: 2px;
  margin: 0 auto 1rem;
  background: #a77253;
  content: "";
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.practice-card {
  display: flex;
  flex-direction: column;
  min-height: 15.15rem;
  padding: clamp(1.25rem, 2.25vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.practice-card:focus-within, .practice-card:hover {
  border-color: #c8a4af;
}

.practice-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  margin-bottom: 0.95rem;
  border-radius: 2px;
  background: #f3e7e8;
  color: var(--burgundy);
}

.practice-card h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.52rem, 2.25vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.practice-card p {
  color: var(--muted);
  line-height: 1.58;
}

.practice-card details {
  margin-top: auto;
  padding-top: 0.65rem;
}

.practice-card summary {
  position: relative;
  display: flex;
  width: fit-content;
  min-height: 2rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--burgundy);
  font-size: 0.875rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

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

.practice-card summary::after {
  width: 0.75rem;
  height: 0.75rem;
  background: linear-gradient(currentColor, currentColor) center / 0.65rem 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 0.65rem no-repeat;
  content: "";
}

.practice-card details[open] summary::after {
  background-size: 0.65rem 1px, 0 0;
}

.practice-card summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.practice-card details p {
  margin-top: 0.55rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.bankruptcy-notice {
  max-width: 45rem;
  margin: 1.6rem auto 0;
  color: var(--muted);
  text-align: center;
}

.about-inner, .contact-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.about-photo {
  position: relative;
  isolation: isolate;
}

.about-photo::before {
  position: absolute;
  z-index: -1;
  top: 0.65rem;
  left: -0.65rem;
  width: 60%;
  height: calc(100% - 2rem);
  border-left: 1px solid #bc8d72;
  border-bottom: 1px solid #bc8d72;
  content: "";
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.7) sepia(0.11);
}

.about-photo figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.about-copy .eyebrow {
  margin-bottom: 0.9rem;
}

.about-copy h2 {
  margin-bottom: 1.25rem;
}

.about-copy p:not(.eyebrow) {
  max-width: 32rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.about-copy .text-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--burgundy);
}

.contact {
  background: linear-gradient(115deg, #561a30, var(--burgundy-dark) 66%);
  color: var(--white);
}

.contact-copy h2 {
  max-width: 14.5ch;
  text-wrap: balance;
}

.contact-copy p {
  max-width: 26rem;
  margin-block: 1.2rem 1.5rem;
  color: var(--on-dark);
}

.office-card {
  max-width: 29rem;
  padding: clamp(1.35rem, 3.4vw, 2.25rem);
  border: 1px solid #936575;
  border-radius: 2px;
  background: rgb(255 255 255 / 4%);
}

.office-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.office-row + .office-row {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #805160;
}

.office-row .icon {
  margin-top: 0.125rem;
  color: var(--gold);
}

.office-row h3 {
  margin-bottom: 0.35rem;
  font: 650 1.025rem/1.4 var(--sans);
}

.office-row address, .office-row p {
  color: var(--on-dark);
  font-style: normal;
}

.office-row .text-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--gold);
}

.site-footer {
  padding-block: 1.5rem;
  background: var(--burgundy-deep);
  color: var(--on-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-mark {
  border: 1px solid #825363;
  background: transparent;
}

.site-footer .brand-name {
  font-size: 1.27rem;
}

.preview-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.05rem;
  font-size: 0.875rem;
}

.preview-note .text-link {
  color: var(--white);
  font-size: inherit;
  font-weight: 500;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .button, .practice-card {
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  }
}

@media (max-width: 980px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-card {
    min-height: 14.25rem;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 4.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 0.7rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-mark {
    width: 2.4rem;
  }

  .brand-mark .icon {
    font-size: 1.45rem;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-prefix {
    margin-bottom: 0.15rem;
  }

  .has-menu-toggle .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 2.75rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: transparent;
    color: var(--burgundy-dark);
    font-size: 0.875rem;
    font-weight: 650;
    cursor: pointer;
  }

  .menu-toggle .icon {
    font-size: 1.125rem;
  }

  .menu-toggle[aria-expanded="false"] .menu-close-icon,
  .menu-toggle[aria-expanded="true"] .menu-open-icon,
  .has-menu-toggle .menu-toggle[aria-expanded="false"] + .main-nav {
    display: none;
  }

  .main-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 1rem;
  }

  .has-menu-toggle .main-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding-inline: var(--gutter);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 0.65rem 1.25rem rgb(50 16 28 / 14%);
  }

  .main-nav > a:not(.button) {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .button {
    margin-top: 0.8rem;
  }
}

@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-inner {
    min-height: 0;
    padding-block: 3.5rem 3rem;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 9.6vw, 4.65rem);
  }

  .hero-eyebrow {
    margin-bottom: 1.15rem;
  }

  .hero-description {
    margin-top: 1.2rem;
  }

  .hero-actions {
    margin-top: 1.45rem;
  }

  .hero-art {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 1;
    height: clamp(13rem, 49vw, 21rem);
  }

  .hero-art img {
    object-position: 50% 32%;
  }

  .hero-art::after {
    background: linear-gradient(180deg, rgb(76 21 40 / 36%), transparent 40%);
  }

  .about-inner, .contact-inner {
    grid-template-columns: 1fr;
  }

  .about-photo {
    order: 1;
  }

  .about-copy h2 {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    text-wrap: balance;
  }
}

@media (max-width: 540px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: 0;
  }

  .hero-actions .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
  }
}

@media (max-width: 360px) {
  .has-menu-toggle .menu-toggle {
    justify-content: center;
    min-width: 2.75rem;
  }

  .menu-toggle .menu-label {
    display: none;
  }
}
