:root {
  color-scheme: light;
  --paper: #fbfbf7;
  --mist: #f4f0fa;
  --sage: #8a78a7;
  --sage-dark: #4f3f69;
  --rose: #8f6bb0;
  --clay: #675078;
  --gold: #a987d8;
  --ink: #292531;
  --muted: #6e6678;
  --line: rgba(41, 37, 49, 0.16);
  --shadow: 0 22px 60px rgba(41, 37, 49, 0.13);
  --radius: 8px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(79, 63, 105, 0.32);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

main,
section,
header,
footer,
.hero-content,
.section-heading,
.feature-panel,
.supervision-highlight,
.contact-copy,
.contact-details,
.supervision-note {
  min-width: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  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: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
  padding: 0.85rem max(1rem, calc((100vw - var(--content)) / 2));
  background: rgba(251, 251, 247, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: grid;
  gap: 0.05rem;
  text-decoration: none;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 0.55rem 0.78rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
  color: var(--sage-dark);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 4rem;
  min-height: calc(100svh - 76px);
  padding: 4rem max(1rem, calc((100vw - var(--content)) / 2)) 5rem;
  background: #f7f5ef;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background:
    url("images/bglaw.jpg") center center / cover no-repeat;
  filter: blur(8px);
  transform: scale(1.04);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 251, 247, 0.9) 0%, rgba(251, 251, 247, 0.76) 48%, rgba(251, 251, 247, 0.44) 74%, rgba(251, 251, 247, 0.18) 100%),
    linear-gradient(0deg, rgba(79, 63, 105, 0.18) 0%, rgba(79, 63, 105, 0.02) 38%, rgba(79, 63, 105, 0.1) 100%);
  z-index: -1;
}

.hero > * {
  position: relative;
  z-index: 1;
}

@supports not (isolation: isolate) {
  .hero {
    background:
      linear-gradient(90deg, rgba(251, 251, 247, 0.9) 0%, rgba(251, 251, 247, 0.76) 48%, rgba(251, 251, 247, 0.44) 74%, rgba(251, 251, 247, 0.18) 100%),
      linear-gradient(0deg, rgba(79, 63, 105, 0.18) 0%, rgba(79, 63, 105, 0.02) 38%, rgba(79, 63, 105, 0.1) 100%),
      url("images/bglaw.jpg");
  background-position: center center;
  background-size: cover;
  }
}

.hero-content {
  display: grid;
  gap: 1.35rem;
}

.eyebrow {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  max-width: 11ch;
  font-size: 4.6rem;
}

h2 {
  max-width: 760px;
  font-size: 2.55rem;
}

h3 {
  color: var(--sage-dark);
  font-size: 1rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 700px;
  color: #3d4943;
  font-size: 1.24rem;
}

blockquote {
  max-width: 690px;
  padding-left: 1.25rem;
  border-left: 4px solid var(--gold);
  color: var(--clay);
}

blockquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.3rem;
  min-width: 0;
  max-width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.2;
  padding: 0.75rem 1rem;
  text-decoration: none;
  max-width: 100%;
}

.button.primary {
  background: var(--sage-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(79, 63, 105, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line);
  color: var(--sage-dark);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-portrait {
  justify-self: end;
  width: min(390px, 100%);
  aspect-ratio: 1;
  border-radius: 28% 8px 28% 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--content);
  margin: -2.4rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.intro-strip > div {
  display: grid;
  gap: 0.25rem;
  min-height: 110px;
  align-content: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.3rem;
  box-shadow: 0 16px 36px rgba(79, 63, 105, 0.08);
}

.intro-strip > div:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.intro-strip > div:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.intro-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.intro-strip strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.supervision-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 2.5rem;
  align-items: center;
  padding: 4.5rem max(1rem, calc((100vw - var(--content)) / 2));
  background: linear-gradient(135deg, rgba(244, 240, 250, 0.98) 0%, rgba(250, 247, 253, 0.94) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.supervision-highlight h2 {
  max-width: 820px;
}

.supervision-copy {
  display: grid;
  gap: 1.2rem;
  padding: 1.6rem;
  border: 1px solid rgba(143, 107, 176, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px rgba(79, 63, 105, 0.1);
}

.supervision-copy .button {
  justify-self: start;
}

.section,
.split-band,
.offer-section,
.contact-section {
  scroll-margin-top: 92px;
}

.section,
.offer-section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 6rem 1rem;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.text-columns {
  columns: 2 340px;
  column-gap: 3rem;
}

.text-columns p {
  break-inside: avoid;
  margin-bottom: 1.05rem;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: 3rem;
  align-items: start;
  padding: 6rem max(1rem, calc((100vw - var(--content)) / 2));
  background: var(--mist);
}

.feature-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(79, 63, 105, 0.07);
  padding: 2rem;
}

.gestalt-section {
  padding-bottom: 4rem;
}

.compact {
  columns: 2 360px;
}

.statement {
  max-width: 840px;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--gold);
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.45;
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  gap: 3rem;
  align-items: start;
  max-width: none;
  background: #fff;
  padding-left: max(1rem, calc((100vw - var(--content)) / 2));
  padding-right: max(1rem, calc((100vw - var(--content)) / 2));
}

.offer-section .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.offer-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-list li {
  position: relative;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0 0.7rem 2rem;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.18rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid var(--rose);
  border-radius: 50%;
  background: #fff;
}

.supervision-note {
  background: var(--sage-dark);
  border-radius: var(--radius);
  color: #fff;
  padding: 2rem;
  position: sticky;
  top: 104px;
}

.supervision-note strong {
  display: block;
  color: #f4d695;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(330px, 1fr);
  gap: 3rem;
  padding: 6rem max(1rem, calc((100vw - var(--content)) / 2));
  background: linear-gradient(135deg, #f7f2fb 0%, #eee7f8 100%);
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.contact-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
}

.contact-details > div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-details p {
  margin-top: 0.8rem;
}

.contact-details a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--sage-dark);
  font-weight: 750;
}

.hours {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(36, 48, 43, 0.1);
  padding-bottom: 0.45rem;
}

.hours dt {
  color: var(--muted);
}

.hours dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem max(1rem, calc((100vw - var(--content)) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.site-footer a {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid rgba(201, 154, 70, 0.72);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 0.65rem 1rem 1rem;
    background: rgba(251, 251, 247, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(79, 63, 105, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: var(--radius);
    padding: 0.9rem 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    padding-top: 3.2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(251, 251, 247, 0.98) 0%, rgba(251, 251, 247, 0.91) 48%, rgba(251, 251, 247, 0.74) 100%),
      linear-gradient(0deg, rgba(79, 63, 105, 0.16), rgba(79, 63, 105, 0.02));
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .hero-portrait {
    justify-self: start;
    width: min(320px, 82vw);
  }

  .intro-strip,
  .supervision-highlight,
  .split-band,
  .offer-section,
  .contact-section,
  .contact-details {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .intro-strip {
    margin-top: 0;
    padding: 0;
  }

  .intro-strip > div,
  .intro-strip > div:first-child,
  .intro-strip > div:last-child {
    border-radius: 0;
    box-shadow: none;
  }

  .supervision-note {
    position: static;
  }
}

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

  .brand span {
    font-size: 1.05rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero,
  .section,
  .supervision-highlight,
  .split-band,
  .offer-section,
  .contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  blockquote p,
  .statement {
    font-size: 1.17rem;
  }

  .button {
    width: 100%;
  }

  .feature-panel,
  .supervision-note,
  .contact-details > div {
    padding: 1.25rem;
  }

  .hours div {
    align-items: flex-start;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
