:root {
  --ink: #181716;
  --muted: #665f56;
  --paper: #f6f1e8;
  --paper-strong: #fffdf9;
  --gold: #c9a45c;
  --gold-dark: #9a7433;
  --charcoal: #25221e;
  --warm-black: #11100f;
  --line: rgba(23, 23, 23, 0.14);
  --shadow: 0 24px 70px rgba(25, 20, 15, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--paper-strong);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 12px 40px rgba(20, 18, 16, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.brand img {
  display: block;
  width: clamp(168px, 14vw, 230px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.site-header:not(.is-scrolled):not(.is-open) .site-nav a:hover,
.site-header:not(.is-scrolled):not(.is-open) .site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(112deg, var(--warm-black) 0 45%, var(--charcoal) 45% 100%);
  padding: 132px clamp(20px, 5vw, 72px) 118px;
  color: var(--paper-strong);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 16, 15, 0.76), rgba(17, 16, 15, 0.2) 56%, rgba(17, 16, 15, 0));
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58vw, 780px);
}

.hero-media img {
  width: 100%;
  height: calc(100% - 28px);
  margin-top: 28px;
  object-fit: cover;
  object-position: 50% top;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  transform: translateY(32px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 5.1rem;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 253, 249, 0.9);
  font-size: 1.22rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid rgba(255, 253, 249, 0.58);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.btn.secondary {
  color: var(--paper-strong);
}

.hero-card {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 44px;
  z-index: 3;
  width: min(220px, calc(100% - 40px));
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
}

.hero-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(58px, 7vw, 104px) clamp(20px, 5vw, 72px);
  position: relative;
}

.section-heading {
  width: min(980px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  width: min(760px, 100%);
}

.section-heading h2,
.showcase-copy h2,
.contact-panel h2 {
  font-size: 3.45rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.portrait {
  position: relative;
}

.portrait::before {
  position: absolute;
  inset: 24px -24px -24px 24px;
  content: "";
  border: 1px solid var(--gold);
}

.portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% 20%;
  box-shadow: var(--shadow);
}

.intro-copy {
  font-size: 1.12rem;
}

.intro-copy p {
  max-width: 760px;
  color: var(--muted);
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credential-list span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.timeline {
  background: var(--paper-strong);
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline-list article {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(25, 20, 15, 0.07);
  overflow: hidden;
}

.timeline-image {
  width: calc(100% + 44px);
  height: 190px;
  margin: auto -22px -28px;
  object-fit: cover;
  object-position: center 30%;
}

.timeline-list article:nth-child(1) .timeline-image {
  object-position: center 46%;
}

.timeline-list article:nth-child(2) .timeline-image {
  object-position: center 36%;
}

.timeline-list article:nth-child(3) .timeline-image {
  object-position: center 35%;
}

.timeline-list article:nth-child(4) .timeline-image {
  object-position: center 34%;
}

.timeline-list span,
.practice-grid span,
.contact-link span {
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-list h3,
.practice-grid h3 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: 1.65rem;
}

.timeline-list p,
.practice-grid p,
.showcase-copy p,
.contact-panel p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--charcoal);
  box-shadow: inset 0 36px 70px rgba(17, 16, 15, 0.16);
}

.carousel {
  width: 100%;
}

.carousel-slides {
  position: relative;
  height: min(74vh, 680px);
  min-height: 460px;
  background: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.slide::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.slide figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: var(--paper-strong);
  font-family: var(--serif);
  font-size: 2.05rem;
  line-height: 1.12;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.carousel-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 253, 249, 0.48);
  color: var(--paper-strong);
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 253, 249, 0.36);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--gold);
}

.showcase-copy {
  width: 100%;
}

.brand-panel {
  max-width: 760px;
  margin-left: auto;
  padding: clamp(28px, 5vw, 58px);
  border-top: 5px solid var(--gold);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.office-brand {
  width: 100%;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(25, 20, 15, 0.1);
}

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

.practice-grid article {
  min-height: 230px;
  padding: 28px;
  border-top: 4px solid var(--gold);
  background: var(--paper-strong);
  box-shadow: 0 16px 48px rgba(25, 20, 15, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-grid article:hover,
.practice-grid article:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(25, 20, 15, 0.14);
}

.contact {
  background: var(--paper);
  color: var(--ink);
  padding-top: clamp(52px, 6vw, 88px);
  padding-bottom: clamp(34px, 4vw, 56px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-top: 5px solid var(--gold);
  background: var(--charcoal);
  color: var(--paper-strong);
}

.contact-panel p {
  max-width: 580px;
  color: rgba(255, 253, 249, 0.72);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-link {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(210, 170, 89, 0.46);
  background: rgba(255, 253, 249, 0.04);
  overflow-wrap: anywhere;
}

.contact-link span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
}

.contact-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.contact-link.highlight {
  border-color: rgba(210, 170, 89, 0.72);
  background: rgba(255, 253, 249, 0.08);
  box-shadow: inset 4px 0 0 var(--gold);
  color: var(--paper-strong);
}

.contact-link.highlight span {
  color: var(--gold);
}

.contact-link.highlight strong {
  color: var(--paper-strong);
}

.contact-link strong {
  margin-top: 5px;
  font-size: 1.04rem;
}

.location-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 34px;
  padding: 24px clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-left: 5px solid var(--gold);
  background: var(--charcoal);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.location-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.location-card address {
  color: rgba(255, 253, 249, 0.72);
  font-style: normal;
}

.location-card address span,
.location-card address strong {
  display: block;
}

.location-card address span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.location-card address strong {
  margin: 3px 0;
  color: var(--paper-strong);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
}

.location-card a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  color: var(--paper-strong);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(210, 170, 89, 0.42);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.86rem;
  text-align: center;
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1440px) {
  h1 {
    max-width: 700px;
    font-size: 4.65rem;
  }

  .hero-content {
    width: min(620px, 100%);
  }

  .hero-media {
    width: min(58vw, 740px);
  }

  .hero-media img {
    height: calc(100% - 28px);
    margin-top: 28px;
    object-position: 50% top;
  }

  .section-heading h2,
  .showcase-copy h2,
  .contact-panel h2 {
    font-size: 3.2rem;
  }
}

@media (max-width: 1280px) {
  h1 {
    max-width: 640px;
    font-size: 4.3rem;
  }

  .hero-content {
    width: min(590px, 100%);
  }

  .hero-media {
    width: min(60vw, 700px);
  }

  .hero-media img {
    height: calc(100% - 42px);
    margin-top: 42px;
    object-position: 50% top;
  }

  .section-heading h2,
  .showcase-copy h2,
  .contact-panel h2 {
    font-size: 3rem;
  }

  .timeline-list {
    grid-template-columns: repeat(2, 1fr);
    border-top: 0;
  }

  .timeline-list article,
  .timeline-list article:first-child {
    min-height: auto;
    border: 1px solid var(--line);
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding-inline: 28px;
  }

  .brand {
    min-width: 190px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-media img {
    height: calc(100% - 52px);
    margin-top: 52px;
    object-position: 50% top;
  }

  h1 {
    font-size: 3.8rem;
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-card {
    grid-template-columns: auto 1fr;
  }

  .location-card a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .timeline-list,
  .practice-grid,
  .showcase,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .timeline-list {
    gap: 14px;
  }

  .timeline-list article,
  .timeline-list article:first-child {
    min-height: 390px;
  }

  .brand-panel {
    max-width: none;
    margin-left: 0;
  }

  .hero {
    min-height: 820px;
    background: var(--ink);
    padding-bottom: 148px;
  }

  .hero-content {
    transform: translateY(18px);
  }

  .hero-media {
    inset: 0;
    width: auto;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.26) 74%),
      linear-gradient(90deg, rgba(12, 12, 12, 0.64), rgba(12, 12, 12, 0.12));
  }

  .hero-media img {
    height: 100%;
    margin-top: 0;
    object-position: 50% top;
  }

  h1 {
    max-width: 680px;
    font-size: 3.35rem;
  }

  .section-heading h2,
  .showcase-copy h2,
  .contact-panel h2 {
    font-size: 2.55rem;
  }

  .intro-grid {
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  }

  .carousel-slides {
    height: 620px;
    min-height: 520px;
  }

  .slide figcaption {
    font-size: 1.7rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 172px;
    max-height: 44px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    display: none;
    padding: 14px 18px 20px;
    background: rgba(255, 253, 249, 0.98);
    color: var(--ink);
    box-shadow: 0 18px 34px rgba(20, 18, 16, 0.12);
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: 90vh;
    background: var(--ink);
    padding: 112px 20px 148px;
  }

  .hero-content {
    transform: none;
  }

  .hero-media {
    inset: 0;
    width: auto;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(12, 12, 12, 0.78), rgba(12, 12, 12, 0.22) 76%),
      linear-gradient(90deg, rgba(12, 12, 12, 0.58), rgba(12, 12, 12, 0.12));
  }

  .hero-media img {
    object-position: 50% top;
  }

  h1 {
    max-width: 100%;
    font-size: 2.7rem;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(360px, 100%);
  }

  .btn {
    padding-inline: 14px;
  }

  .hero-card {
    right: 20px;
    bottom: 24px;
    left: 20px;
    width: auto;
  }

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

  .section {
    padding: 56px 20px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .showcase-copy h2,
  .contact-panel h2 {
    font-size: 2.15rem;
  }

  .intro-copy {
    font-size: 1rem;
  }

  .portrait::before {
    inset: 16px -12px -16px 12px;
  }

  .carousel-slides {
    height: 560px;
    min-height: 560px;
  }

  .slide figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    font-size: 1.45rem;
  }

  .brand-panel,
  .practice-grid article {
    padding: 24px 20px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 26px 20px;
  }

  .location-card {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    margin-top: 28px;
  }

  .location-card a {
    grid-column: auto;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 148px;
    max-height: 40px;
  }

  .hero {
    min-height: 760px;
    padding: 98px 16px 150px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-card {
    right: 16px;
    left: 16px;
    padding: 18px;
  }

  .hero-card strong {
    font-size: 2.1rem;
  }

  .section {
    padding-inline: 16px;
  }

  .section-heading h2,
  .showcase-copy h2,
  .contact-panel h2 {
    font-size: 1.85rem;
  }

  .portrait::before {
    display: none;
  }

  .timeline-list h3,
  .practice-grid h3 {
    font-size: 1.42rem;
  }

  .timeline-list article,
  .timeline-list article:first-child {
    min-height: 360px;
  }

  .timeline-image {
    height: 170px;
  }

  .carousel-slides {
    height: 500px;
    min-height: 500px;
  }

  .contact-panel {
    padding: 24px 16px;
  }

  .contact-link {
    min-height: 92px;
    padding: 18px 16px;
  }

  .location-card {
    padding: 20px 16px;
  }
}
