:root {
  color-scheme: light;
  --navy: #111d2a;
  --cream: #f7f5f0;
  --ink: #1b2a37;
  --muted: #45545f;
  --gold: #e0c29a;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: -5rem; padding: .5rem 1rem; background: white; }
.skip:focus { top: .75rem; }
.header { color: var(--navy); background: var(--cream); }
.footer { color: #fffaf2; background: var(--navy); }
.bar { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header .bar { min-height: 7rem; }
.footer .bar { flex-wrap: wrap; padding-block: 1rem; }
.contact { font-style: normal; }
.brand { font: 1.4rem/1.1 var(--serif); text-decoration: none; }
.brand-logo { flex: 0 1 17rem; min-width: 0; }
.brand-logo img { display: block; width: 100%; height: auto; }
nav { display: flex; gap: clamp(1rem, 4vw, 2.5rem); }
nav a, .footer .bar > a:last-child { font-size: .94rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"], .footer a:hover { text-decoration: underline; }
.hero {
  color: #fffaf2;
  background: var(--navy);
  position: relative;
  isolation: isolate;
  min-height: 38rem;
  display: grid;
  align-items: center;
}
.hero-images { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; opacity: 0; }
.hero-images img.is-current { opacity: 1; }
.hero-images img.is-entering { z-index: 1; }
.hero-images::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(10, 21, 34, .92), rgba(10, 21, 34, .72) 58%, rgba(10, 21, 34, .13)); }
.hero-controls { position: absolute; right: max(1rem, calc((100% - 72rem) / 2)); bottom: 1rem; }
.hero-controls button { min-height: 2.75rem; padding: .4rem .7rem; border: 1px solid #e0c29a; border-radius: .15rem; background: var(--navy); color: inherit; font: inherit; font-size: .875rem; cursor: pointer; }
.hero-controls button:hover { background: #24394e; }
.hero-controls button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero-content { padding-block: 5rem; }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #735537; }
.hero .eyebrow { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(3rem, 7vw, 6.25rem); letter-spacing: -.042em; margin-top: 1rem; max-width: 12em; }
.intro { max-width: 31rem; font-size: 1.125rem; color: #f1f1ef; margin-top: 1.3rem; }
.button { display: inline-flex; align-items: center; min-height: 3rem; color: var(--navy); background: var(--gold); margin-top: 2rem; padding: .55rem 1.35rem; font-weight: 650; text-decoration: none; }
.button:hover { background: #f2dbc0; }
.services, .about-content { padding-block: clamp(4rem, 8vw, 7rem); }
h2 { margin-top: .7rem; font-size: clamp(2.5rem, 5vw, 4.35rem); letter-spacing: -.035em; }
.practice-grid, .about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.practice-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-top: 2.5rem; }
.practice-grid article { border-top: 1px solid #a98c6b; padding-top: 1.4rem; }
h3 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.practice-grid p { color: var(--muted); margin-top: .75rem; max-width: 30rem; }
.about { background: #e9edf0; }
.about h1 { margin-top: 0; font-size: clamp(3rem, 6vw, 5rem); }
.about-intro, .bio { max-width: 38rem; margin-top: 1.1rem; font-size: 1.125rem; }
.about-grid { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); align-items: center; margin-top: clamp(2rem, 5vw, 4rem); }
.portrait { display: block; width: 100%; height: auto; }
@media (max-width: 42rem) {
  .desktop { display: none; }
  .hero { min-height: 32rem; }
  .hero-images img:first-child { object-position: 78% center; }
  .hero-images::after { background: rgba(10, 21, 34, .75); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .portrait { max-width: 20rem; }
}
@media (max-width: 24rem) {
  .wrap { width: calc(100% - 2rem); }
  .brand { font-size: 1.15rem; }
  h1 { font-size: clamp(2.4rem, 12vw, 3rem); }
  nav { gap: .75rem; }
}

@media (max-width: 30rem) {
  .footer .bar { flex-direction: column; gap: .65rem; }
  .header .bar { flex-direction: column; justify-content: center; padding-block: .55rem .85rem; gap: .35rem; }
  .brand-logo { flex: none; width: min(100%, 15rem); }
  .header nav { justify-content: center; }
}
