:root {
  --bg: #0d1117;
  --ink: #f5f1e8;
  --muted: #a99f91;
  --panel: rgba(20, 25, 34, .86);
  --panel-soft: rgba(255, 255, 255, .055);
  --line: rgba(245, 241, 232, .14);
  --gold: #d5aa5f;
  --gold-soft: #f0d7a8;
  --burgundy: #5d2632;
  --slate: #151b24;
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 22% 0%, rgba(213, 170, 95, .16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(93, 38, 50, .28), transparent 30%),
    linear-gradient(180deg, #0d1117 0%, #111722 52%, #0d1117 100%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 17, 23, .82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(213, 170, 95, .45);
  color: var(--gold);
  font-weight: 900;
  font-family: "Playfair Display", serif;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
nav,
.hero-copy p,
.case-panel dt,
.case-panel dd,
.section-head p,
.practice-main p,
.method-grid p,
.team-copy p,
.team-grid span,
.insights-grid p,
.ethics-section p,
.footer {
  color: var(--muted);
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  color: var(--gold);
}

.top-cta,
.primary,
.secondary,
.practice-main a,
.floating-cta,
.footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(213, 170, 95, .35);
  color: var(--ink);
  background: rgba(213, 170, 95, .08);
  font-weight: 900;
}

.primary,
.practice-main a,
.floating-cta {
  color: #111;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 16px 38px rgba(213, 170, 95, .18);
}

.secondary {
  background: rgba(255, 255, 255, .04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.hero-copy {
  max-width: 850px;
}

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

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 94px);
  line-height: .94;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.hero-copy > p:not(.eyebrow),
.ethics-section p,
.team-copy p {
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.case-panel {
  padding: 26px;
  border: 1px solid rgba(213, 170, 95, .26);
  background:
    linear-gradient(145deg, rgba(20, 25, 34, .94), rgba(17, 23, 34, .78)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 1px, transparent 1px, transparent 14px);
  box-shadow: var(--shadow);
}

.case-header {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.case-header span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-header strong {
  font-family: "Playfair Display", serif;
  font-size: 36px;
}

.case-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.case-panel div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.case-panel dd {
  margin: 0;
  text-align: right;
}

.authority-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.authority-strip span {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--gold-soft);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 32px;
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(330px, 1.05fr);
  gap: 18px;
}

.practice-main,
.practice-list article,
.method-grid article,
.team-grid article,
.insights-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
}

.practice-main {
  min-height: 430px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(13,17,23,.18), rgba(13,17,23,.92)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.practice-main span,
.practice-list span,
.insights-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.practice-main h3 {
  max-width: 560px;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 48px);
}

.practice-main p {
  max-width: 600px;
  line-height: 1.65;
}

.practice-main a {
  width: fit-content;
}

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

.practice-list article {
  min-height: 205px;
  padding: 24px;
}

.practice-list strong {
  display: block;
  margin-top: 18px;
  line-height: 1.45;
  font-size: 20px;
}

.method-section,
.insights-section {
  background: rgba(255, 255, 255, .025);
}

.method-grid,
.team-section,
.insights-grid {
  display: grid;
  gap: 18px;
}

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

.method-grid article {
  min-height: 230px;
  padding: 24px;
}

.method-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 1px solid rgba(213, 170, 95, .45);
  color: var(--gold);
  font-weight: 900;
}

.method-grid p,
.insights-grid p {
  line-height: 1.65;
}

.team-section {
  grid-template-columns: minmax(0, .9fr) minmax(330px, 1.1fr);
  align-items: center;
}

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

.team-grid article {
  overflow: hidden;
}

.team-grid img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
}

.team-grid strong,
.team-grid span {
  display: block;
  margin: 18px 20px;
}

.team-grid strong {
  margin-bottom: 6px;
}

.team-grid span {
  margin-top: 0;
}

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

.insights-grid article {
  min-height: 250px;
  padding: 24px;
}

.ethics-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(50px, 7vw, 88px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(213, 170, 95, .1), rgba(93, 38, 50, .16));
}

.ethics-section > div {
  max-width: 820px;
}

.ethics-section .primary {
  min-width: min(100%, 280px);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

@media (max-width: 1050px) {
  nav {
    display: none;
  }

  .hero,
  .authority-strip,
  .practice-layout,
  .practice-list,
  .method-grid,
  .team-section,
  .team-grid,
  .insights-grid,
  .ethics-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar,
  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }
}
