:root {
  --ink: #101213;
  --ink-soft: #34383c;
  --muted: #687077;
  --line: #d9dde0;
  --paper: #ffffff;
  --paper-soft: #f5f6f4;
  --charcoal: #191c1e;
  --charcoal-2: #24282b;
  --gold: #b9914b;
  --gold-dark: #7d6132;
  --green: #2e5c52;
  --blue: #e6eef2;
  --shadow: 0 24px 70px rgba(16, 18, 19, 0.14);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

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

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 221, 224, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 35px rgba(16, 18, 19, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(145deg, var(--charcoal), var(--green));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

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

.brand strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.05;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 13px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  background: var(--paper-soft);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 10px;
}

.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 132px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 83% 18%, rgba(185, 145, 75, 0.22), transparent 34%),
    linear-gradient(135deg, #0f1213 0%, #1c2022 44%, #2a342f 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: end;
  gap: 64px;
}

.hero-copy {
  max-width: 780px;
  padding-bottom: 42px;
}

.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 5.4vw, 5.35rem);
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.58;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
  margin-right: 9px;
  fill: currentColor;
}

.button-primary {
  color: var(--paper);
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c39c55;
  border-color: #c39c55;
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-portrait {
  position: relative;
  align-self: stretch;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #303234;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-portrait::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 42%);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.86) contrast(1.03);
}

.hero-portrait figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: var(--paper);
}

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

.hero-portrait strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-portrait span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
}

.hero-proof {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.hero-proof div {
  min-height: 128px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

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

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

.hero-proof span {
  max-width: 260px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin: 0 auto 46px;
  text-align: center;
}

.intro {
  background: var(--paper-soft);
}

.intro-text {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.intro-text p:first-child {
  margin-top: 0;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.trajectory {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-item {
  min-height: 290px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f7 100%);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gold-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.timeline-item h3 {
  margin-bottom: 12px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.profile {
  color: var(--paper);
  background: var(--charcoal);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.profile h2 {
  color: var(--paper);
}

.profile-copy p:not(.section-label) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.08rem;
}

.profile-card {
  margin: 0;
  overflow: hidden;
  background: #2d3033;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.profile-card figcaption {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.quote-panel {
  margin-top: 30px;
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-panel p {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.32;
}

.practice {
  background: var(--paper-soft);
}

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

.practice-card {
  min-height: 280px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.practice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 145, 75, 0.55);
  box-shadow: 0 18px 46px rgba(16, 18, 19, 0.08);
}

.practice-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  color: var(--green);
  fill: currentColor;
}

.practice-card h3 {
  margin-bottom: 12px;
}

.practice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.office {
  background:
    linear-gradient(90deg, var(--blue), rgba(230, 238, 242, 0) 62%),
    var(--paper);
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: 64px;
  align-items: center;
}

.office-copy p:not(.section-label) {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.office-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.office-image img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.office-image figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  color: var(--paper);
  background: rgba(16, 18, 19, 0.72);
  border-radius: var(--radius);
  font-size: 0.78rem;
}

.contact {
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  padding: 46px;
  color: var(--paper);
  background:
    radial-gradient(circle at 86% 10%, rgba(185, 145, 75, 0.22), transparent 32%),
    linear-gradient(135deg, var(--charcoal), var(--green));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-panel p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel .button-secondary {
  color: var(--paper);
}

.contact-actions {
  align-self: start;
}

.contact-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 1px;
  width: 100%;
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.contact-list div {
  min-height: 100px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-list dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: var(--paper);
  font-weight: 700;
}

.site-footer {
  padding: 52px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0f1112;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}

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

.footer-brand small {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.footer-links a {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--paper);
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(16, 18, 19, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 32px, 760px);
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 45px rgba(16, 18, 19, 0.12);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-grid,
  .split-layout,
  .profile-grid,
  .office-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-portrait {
    min-height: 520px;
  }

  .hero-portrait img {
    min-height: 520px;
  }

  .hero-proof,
  .timeline,
  .practice-grid,
  .contact-list {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-item:nth-child(2) {
    border-right: 0;
  }

  .timeline-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .practice-grid {
    gap: 14px;
  }

  .contact-actions {
    align-self: start;
    margin-top: 0;
  }

  .contact-list div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 560px);
  }

  .section {
    padding: 70px 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

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

  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-portrait {
    min-height: 460px;
  }

  .hero-portrait img {
    min-height: 460px;
  }

  .hero-proof,
  .timeline,
  .practice-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    min-height: 112px;
  }

  .timeline-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }

  .timeline-item span {
    margin-bottom: 26px;
  }

  .profile-grid,
  .office-grid {
    gap: 40px;
  }

  .office-image img {
    min-height: 300px;
  }

  .contact-panel {
    padding: 28px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@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;
  }

  .motion-ready .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
