:root {
  --paper: #ffffff;
  --ink: #171615;
  --muted: #66625d;
  --line: #e7e2dc;
  --soft: #f8f7f5;
  --sage: #627268;
  --sage-dark: #303f38;
  --brass: #9b7a44;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  min-height: min(780px, calc(88svh - 75px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 56px;
}

.hero-copy {
  padding-bottom: clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 8vw, 7.1rem);
}

.hero-statement {
  max-width: 880px;
  font-size: clamp(2.85rem, 4.4vw, 4.9rem);
  line-height: 1.02;
}

h1 span {
  display: block;
}

.hero-credentials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--brass);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-credentials span {
  width: clamp(46px, 8vw, 94px);
  height: 1px;
  background: var(--brass);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 5vw, 5.25rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 800;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0 20px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--soft);
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5.35;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--soft);
}

.portrait figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.portrait figcaption a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.portrait figcaption a:hover,
.portrait figcaption a:focus-visible {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.intro {
  display: grid;
  grid-template-columns: 120px minmax(0, 820px);
  gap: clamp(24px, 6vw, 88px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.intro-rule {
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: var(--brass);
}

.intro p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.45vw, 3.35rem);
  font-weight: 500;
  line-height: 1.1;
}

.split-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.section-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label span {
  position: sticky;
  top: 100px;
}

.section-content {
  min-width: 0;
}

.section-content > p {
  max-width: 760px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 1.08rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principles article {
  min-height: 198px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles p,
.practice-grid p,
.timeline p,
.testimonial-grid blockquote,
.story-copy p,
.site-footer p {
  color: var(--muted);
}

.testimonials-section {
  align-items: start;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
  min-width: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.testimonial-grid figure {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.testimonial-grid blockquote {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}

.testimonial-grid figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.testimonial-grid figcaption span {
  color: var(--brass);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credentials-section {
  background:
    linear-gradient(var(--soft), var(--soft)) center / 100vw 100% no-repeat;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-inline: clamp(18px, 3vw, 52px);
}

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

.timeline article {
  padding: 30px 34px 34px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: block;
  margin-bottom: 16px;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-grid article {
  min-height: 248px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.practice-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.72fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 130px) 0;
  border-top: 1px solid var(--line);
}

.story-copy p {
  max-width: 620px;
  font-size: 1.06rem;
}

.family-art {
  margin: 0;
}

.family-art img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
}

.family-art figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.6fr);
  gap: clamp(32px, 8vw, 100px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 118px) 0;
  border-top: 1px solid var(--line);
}

.contact-link {
  display: flex;
  min-height: 104px;
  flex: 1 1 260px;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--ink);
  padding: 18px 0;
  transition: color 180ms ease;
}

.contact-link span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--sage-dark);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 32px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  section[id] {
    scroll-margin-top: 82px;
  }

  .site-header {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    display: none;
  }

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

  .hero {
    width: min(var(--max), calc(100% - 28px));
    min-height: 0;
    padding-top: 46px;
  }

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

  .portrait {
    max-width: 440px;
  }

  .portrait figcaption {
    text-align: left;
  }

  .intro,
  .split-section {
    grid-template-columns: 1fr;
    width: min(var(--max), calc(100% - 28px));
  }

  .intro-rule {
    width: 78px;
    margin-top: 0;
  }

  .principles,
  .practice-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .principles article,
  .practice-grid article {
    min-height: auto;
  }

  .testimonial-grid {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    border: 0;
    padding: 0 0 12px;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-grid figure {
    min-height: 420px;
    flex: 0 0 100%;
    border: 1px solid var(--line);
    scroll-snap-align: start;
  }

  .story-section,
  .contact-section,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: clamp(3.2rem, 13vw, 4.35rem);
  }

  .hero-statement {
    font-size: clamp(2.35rem, 9.6vw, 3.3rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(2.35rem, 10.8vw, 3.1rem);
  }

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

  .button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .testimonial-grid figure {
    padding: 24px;
  }

  .testimonial-grid blockquote {
    font-size: 1.72rem;
  }

  .testimonial-grid figcaption {
    display: block;
  }

  .testimonial-grid figcaption span {
    display: block;
    margin-top: 6px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
