@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --ink: #17221d;
  --ink-soft: #46514b;
  --paper: #f4f0e7;
  --paper-deep: #e9e1d2;
  --accent: #9a7650;
  --line: rgba(23, 34, 29, 0.18);
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 240, 231, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  border: 1px solid var(--ink);
}

.nav-links a {
  min-width: 116px;
  padding: 13px 22px;
  text-align: center;
  text-decoration: none;
  font-size: 0.92rem;
  border-right: 1px solid var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:last-child {
  border-right: 0;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding-top: 70px;
  padding-bottom: 80px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.profile-card {
  max-width: 500px;
  padding: 34px 36px;
  border: 1px solid var(--ink);
  background: rgba(255, 253, 248, 0.35);
}

.profile-label,
.section-eyebrow,
.small-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
}

.profile-card h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 0.98;
}

.role {
  margin: 14px 0 2px;
  font-size: 1.15rem;
  font-weight: 600;
}

.firm {
  margin: 0;
  color: var(--ink-soft);
}

.contact-lines {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.contact-lines a {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  text-decoration: none;
}

.contact-lines span,
.contact-box span {
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.contact-lines strong {
  font-weight: 500;
}

.focus-list {
  display: grid;
  gap: 0;
}

.focus-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}

.focus-item:first-child {
  border-top: 1px solid var(--line);
}

.focus-item span {
  color: var(--accent);
  font-size: 0.72rem;
}

.focus-item h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 500;
}

.hero-message {
  display: flex;
  justify-content: center;
}

.message-frame {
  width: min(100%, 540px);
  min-height: 570px;
  padding: clamp(46px, 7vw, 78px);
  border: 1px solid var(--ink);
  background:
    linear-gradient(rgba(23,34,29,.88), rgba(23,34,29,.88)),
    radial-gradient(circle at 20% 20%, #6e7b68, #17221d 60%);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.message-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244, 240, 231, 0.28);
  pointer-events: none;
}

.message-frame h2 {
  margin: 0;
  max-width: 420px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 5.8vw, 5.5rem);
  line-height: 0.99;
  font-weight: 500;
}

.message-copy {
  max-width: 410px;
  margin: 28px 0 34px;
  color: rgba(244, 240, 231, 0.77);
  line-height: 1.7;
}

.cta {
  width: fit-content;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 240, 231, 0.65);
  padding-bottom: 6px;
  font-weight: 500;
}

.cta span {
  margin-left: 10px;
}

.about-section,
.contact-section {
  padding-top: 120px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}

.about-section {
  display: grid;
  grid-template-columns: 130px 1fr;
}

.section-number {
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

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

.section-copy h2,
.contact-intro h2 {
  margin: 0 0 26px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.04;
  font-weight: 500;
}

.section-copy p:last-child {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
}

.contact-box {
  border: 1px solid var(--ink);
  background: var(--white);
}

.contact-box a {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 25px 28px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-box a:last-child {
  border-bottom: 0;
}

.contact-box strong {
  font-size: 1.05rem;
  font-weight: 500;
}

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

@media (max-width: 850px) {
  .shell {
    width: min(100% - 30px, 720px);
  }

  .nav-wrap {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 15px;
    right: 15px;
    flex-direction: column;
    background: var(--paper);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-left {
    gap: 36px;
  }

  .profile-card {
    max-width: none;
  }

  .message-frame {
    min-height: 460px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .footer-inner {
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .profile-card {
    padding: 28px 24px;
  }

  .contact-lines a,
  .contact-box a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .message-frame {
    padding: 42px 30px;
  }

  .message-frame::before {
    inset: 9px;
  }
}

