:root {
  --ink: #101214;
  --ink-soft: #181b1d;
  --paper: #f3f0e8;
  --paper-strong: #fcfaf5;
  --gold: #b89962;
  --gold-light: #d0b57c;
  --line-dark: rgba(243, 240, 232, 0.19);
  --line-light: rgba(16, 18, 20, 0.2);
  --text-muted: #a7a7a3;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 9vw, 9rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--sans); overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
button, a { touch-action: manipulation; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.sr-only { 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 { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.8rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.demo-rail { min-height: 2.25rem; padding: 0.45rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--gold-light); background: #090b0c; border-bottom: 1px solid rgba(184, 153, 98, 0.25); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.demo-rail a { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.demo-rail svg { width: 1rem; }

.site-header { position: absolute; top: 2.25rem; left: 0; right: 0; z-index: 20; height: 6rem; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
.brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand__monogram { font: 400 2.2rem/1 var(--serif); letter-spacing: -0.08em; color: var(--paper); }
.brand__monogram span { margin-left: 0.28rem; padding-left: 0.48rem; color: var(--gold-light); border-left: 1px solid var(--gold); }
.brand__name { padding-left: 1rem; border-left: 1px solid rgba(243,240,232,.26); font: 400 1.1rem/1 var(--serif); letter-spacing: .05em; }
.brand__name i { color: var(--gold-light); font-style: normal; }
.site-nav { display: flex; gap: clamp(1.25rem, 2.2vw, 2.5rem); align-items: center; }
.site-nav a { position: relative; padding: .75rem 0; color: #d9d7d0; font-size: .72rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .4rem; height: 1px; background: var(--gold); transition: right .3s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; width: 3rem; height: 3rem; border: 1px solid var(--line-dark); color: var(--paper); background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 1.25rem; height: 1px; margin: .35rem auto; background: currentColor; transition: transform .25s ease; }

.hero { position: relative; min-height: min(58rem, 100svh); padding: 8.25rem 0 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(23rem, .95fr); border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.hero::before { content: ""; position: absolute; left: calc(var(--gutter) - 1px); top: 8.25rem; bottom: 0; width: 1px; background: var(--gold); opacity: .75; }
.hero__copy { align-self: center; max-width: 59rem; padding: clamp(4rem, 8vh, 7rem) clamp(2rem, 5vw, 5.5rem) 7rem 2.5rem; }
.hero h1 { max-width: 14ch; margin: 0; color: var(--paper); font: 400 clamp(4rem, 6.7vw, 7.3rem)/.94 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
.hero__copy > p { max-width: 42rem; margin: 2rem 0 0; color: #c7c5be; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.8; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.75rem; align-items: center; }
.button { min-height: 3.8rem; padding: 1rem 1.65rem; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border: 1px solid var(--gold); border-radius: 0; color: var(--gold-light); background: transparent; font-size: .74rem; font-weight: 600; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: color .25s ease, background .25s ease; }
.button svg { width: 1.25rem; }
.button:hover { color: var(--ink); background: var(--gold-light); }
.button--gold { color: var(--ink); background: var(--gold-light); }
.button--gold:hover { color: var(--paper); background: transparent; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--gold); color: var(--gold-light); font: 500 .78rem/1 var(--sans); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.text-link svg { width: 1.15rem; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(.35rem); }
.hero__media { position: relative; margin: 0; border-left: 1px solid var(--gold); min-height: 100%; overflow: hidden; }
.hero__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 6rem 0 8rem -7rem #000; pointer-events: none; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.05); }
.hero__folio { position: absolute; left: var(--gutter); right: 0; bottom: 0; height: 3.6rem; padding: 0 1.25rem 0 2.5rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-dark); color: var(--gold); font: 400 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.hero__folio b { font-weight: 400; }

.section-light { color: var(--ink); background: var(--paper); }
.section-wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.document-margin { position: absolute; inset: 0 auto 0 0; width: var(--gutter); display: flex; align-items: center; border-right: 1px solid var(--gold); color: #5e5548; }
.document-margin span { transform: rotate(-90deg); white-space: nowrap; font: 400 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.document-margin b { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); font: 400 .68rem/1 var(--sans); }
.document-margin--dark { color: var(--gold); }
.practice, .team { position: relative; padding: var(--section) 0 var(--section) var(--gutter); }
.practice__header { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: end; }
.practice h2, .team h2, .journal h2, .closing h2 { margin: 0; font: 400 clamp(3rem, 5.2vw, 5.5rem)/1 var(--serif); letter-spacing: -.045em; }
.practice__header p { max-width: 28rem; margin: 0 0 .5rem; color: #4e4e4a; font-size: 1rem; line-height: 1.75; }
.practice__list { margin-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line-light); }
.practice-row { display: grid; grid-template-columns: 3rem minmax(15rem, .95fr) minmax(17rem, 1fr) 2rem; gap: 2rem; align-items: center; min-height: 7rem; border-bottom: 1px solid var(--line-light); }
.practice-row > span { color: #8c6d3c; font: 400 .8rem/1 var(--sans); }
.practice-row h3 { margin: 0; font: 400 clamp(1.7rem, 2.5vw, 2.65rem)/1.05 var(--serif); letter-spacing: -.035em; }
.practice-row p { margin: 0; color: #4b4b47; font-size: .88rem; line-height: 1.65; }
.practice-row svg { width: 1.4rem; color: var(--gold); transition: transform .25s ease; }
.practice-row:hover svg { transform: translateX(.4rem); }

.approach { position: relative; padding: var(--section) 0 var(--section) var(--gutter); background: var(--ink-soft); }
.approach__grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: 5rem; }
.section-label { margin: 0 0 1.3rem; color: var(--gold-light); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.approach h2 { margin: 0; font: 400 clamp(3rem, 4.6vw, 5rem)/1 var(--serif); letter-spacing: -.045em; }
.approach__steps { margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--gold); }
.approach__steps li { position: relative; padding: 3.75rem 1.5rem 0 0; }
.approach__steps li::before { content: ""; position: absolute; top: -.35rem; left: 0; width: 1px; height: .7rem; background: var(--gold); }
.approach__steps span { position: absolute; top: -2.1rem; color: var(--gold-light); font: 400 1rem/1 var(--serif); }
.approach__steps h3 { margin: 0 0 1rem; font: 400 2rem/1 var(--serif); }
.approach__steps p { margin: 0; color: #bcbab3; font-size: .85rem; line-height: 1.75; }

.team__intro { display: flex; justify-content: space-between; gap: 3rem; align-items: end; }
.team__intro p { max-width: 20rem; margin: 0 0 .6rem; color: #655f56; font-size: .76rem; letter-spacing: .06em; }
.team__layout { margin-top: 4.5rem; display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; }
.team__photo { margin: 0; aspect-ratio: 3/2; overflow: hidden; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.04); }
.team__profiles { display: grid; grid-template-rows: 1fr 1fr; border-top: 1px solid var(--line-light); }
.profile { position: relative; padding: 2rem 0 2rem 3.4rem; border-bottom: 1px solid var(--line-light); }
.profile > span { position: absolute; left: 0; top: 2.35rem; color: #876b3d; font: 400 .72rem/1 var(--sans); }
.profile h3 { margin: 0; font: 400 2.2rem/1.05 var(--serif); }
.profile__area { margin: .85rem 0 1rem !important; color: #775e34 !important; font-size: .65rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.profile p { max-width: 26rem; margin: 0; color: #56524c; font-size: .84rem; line-height: 1.7; }

.journal { padding: var(--section) 0; color: var(--ink); background: var(--paper-strong); }
.journal__grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 5rem; }
.journal h2 { font-size: clamp(2.7rem, 4vw, 4.5rem); }
.journal__list { border-top: 1px solid var(--line-light); }
.journal-row { display: grid; grid-template-columns: 2.25rem minmax(17rem, 1.35fr) minmax(12rem, .65fr) 1.5rem; gap: 1.5rem; min-height: 6.6rem; align-items: center; border-bottom: 1px solid var(--line-light); text-decoration: none; }
.journal-row > span { color: #8c6d3c; font-size: .74rem; }
.journal-row h3 { margin: 0; font: 400 clamp(1.4rem, 2vw, 2rem)/1.18 var(--serif); transition: color .2s ease; }
.journal-row p { margin: 0; color: #5b5852; font-size: .78rem; line-height: 1.55; }
.journal-row svg { width: 1.3rem; color: var(--gold); transition: transform .2s ease; }
.journal-row:hover h3 { color: #81683f; }
.journal-row:hover svg { transform: translateX(.35rem); }

.closing { padding: var(--section) 0; border-top: 1px solid var(--line-dark); background: linear-gradient(110deg, var(--ink-soft), var(--ink) 70%); }
.closing__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(4rem, 8vw, 9rem); }
.faq { padding-right: clamp(1rem, 4vw, 4rem); border-right: 1px solid var(--gold); }
.faq h2 { margin-bottom: 2.5rem; font-size: clamp(2.7rem, 4vw, 4.4rem); }
.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq summary { position: relative; padding: 1.25rem 2.5rem 1.25rem 0; color: #e6e3db; font-size: .9rem; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; right: .25rem; top: 50%; width: .8rem; height: 1px; background: var(--gold); transition: transform .2s ease; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 2.5rem 1.4rem 0; color: var(--text-muted); font-size: .82rem; line-height: 1.7; }
.contact { align-self: center; }
.contact h2 { max-width: 12ch; }
.contact > p { max-width: 38rem; margin: 1.6rem 0 2.3rem; color: #aaa9a4; font-size: .9rem; line-height: 1.7; }
.contact .button { margin: 0 .7rem .7rem 0; }

.site-footer { min-height: 7rem; padding: 1.5rem var(--gutter); display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; border-top: 1px solid rgba(184,153,98,.55); color: #a9a79f; background: #0b0d0e; font-size: .7rem; }
.brand--footer .brand__monogram { font-size: 1.75rem; }
.brand--footer .brand__name { font-size: .95rem; color: var(--paper); }
.site-footer p { margin: 0; }
.site-footer > a:last-child { text-decoration: none; }
.site-footer strong { color: var(--gold-light); font-weight: 500; }

.demo-dialog { width: min(34rem, calc(100% - 2rem)); padding: 3rem; border: 1px solid var(--gold); border-radius: 0; color: var(--paper); background: var(--ink-soft); box-shadow: 0 2rem 6rem rgba(0,0,0,.55); }
.demo-dialog::backdrop { background: rgba(4,5,6,.82); backdrop-filter: blur(5px); }
.demo-dialog h2 { margin: 0; font: 400 2.65rem/1.05 var(--serif); letter-spacing: -.04em; }
.demo-dialog > p:not(.section-label) { margin: 1.4rem 0 2rem; color: #b7b5ae; font-size: .88rem; line-height: 1.75; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border: 0; color: var(--paper); background: transparent; cursor: pointer; }
.dialog-close svg { width: 1.25rem; }

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

@media (max-width: 980px) {
  .menu-button { display: block; position: relative; z-index: 22; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(.175rem) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-.175rem) rotate(-45deg); }
  .site-nav { position: fixed; inset: 2.25rem 0 0; z-index: 21; padding: 8rem var(--gutter) 3rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; background: var(--ink); transform: translateX(100%); transition: transform .35s ease; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); font: 400 2.2rem/1 var(--serif); letter-spacing: -.02em; text-transform: none; }
  .hero { grid-template-columns: 1.2fr .8fr; }
  .hero h1 { font-size: clamp(3.5rem, 7.5vw, 5.4rem); }
  .practice__header, .team__intro { align-items: start; }
  .practice-row { grid-template-columns: 2.5rem 1fr 1fr 1.5rem; gap: 1.3rem; }
  .approach__grid, .journal__grid { grid-template-columns: 1fr; }
  .approach__steps { margin-top: 4rem; }
  .team__layout { grid-template-columns: 1fr; }
  .team__profiles { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .profile:first-child { border-right: 1px solid var(--line-light); padding-right: 2rem; }
  .profile:last-child { padding-left: 5rem; }
  .profile:last-child > span { left: 2rem; }
  .closing__grid { gap: 4rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > a:last-child { text-align: right; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 720px) {
  :root { --gutter: 1.25rem; --section: 5rem; }
  .demo-rail { font-size: .55rem; letter-spacing: .13em; }
  .site-header { height: 5rem; }
  .brand__name { display: none; }
  .hero { min-height: auto; padding: 7.25rem var(--gutter) 0; display: block; }
  .hero::before { left: var(--gutter); top: 7.25rem; }
  .hero__copy { padding: 4rem 1rem 3.5rem 1.5rem; }
  .hero h1 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .hero__copy > p { font-size: .94rem; line-height: 1.7; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .hero__actions .button, .hero__actions .text-link { width: 100%; }
  .hero__media { height: 29rem; margin-left: 1.5rem; border-top: 1px solid var(--gold); }
  .hero__folio { left: var(--gutter); padding-left: 1.5rem; }
  .practice, .team, .approach { padding-left: calc(var(--gutter) + .9rem); }
  .document-margin { width: calc(var(--gutter) + .25rem); }
  .document-margin span { display: none; }
  .section-wrap { width: calc(100% - 2 * var(--gutter)); }
  .practice__header, .team__intro { display: block; }
  .practice h2, .team h2, .journal h2, .closing h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .practice__header p, .team__intro p { margin-top: 1.5rem; }
  .practice-row { padding: 1.5rem 0; display: grid; grid-template-columns: 2rem 1fr 1.2rem; gap: .8rem; align-items: start; }
  .practice-row h3 { font-size: 1.75rem; }
  .practice-row p { grid-column: 2 / -1; }
  .approach__steps { display: block; border-top: 0; }
  .approach__steps li { padding: 2.2rem 0 2.2rem 3rem; border-top: 1px solid var(--line-dark); }
  .approach__steps span { top: 2.65rem; left: 0; }
  .approach__steps li::before { display: none; }
  .team__layout { margin-top: 2.5rem; gap: 2rem; }
  .team__photo { aspect-ratio: 4/3; }
  .team__profiles { grid-template-columns: 1fr; }
  .profile:first-child { border-right: 0; padding-right: 0; }
  .profile:last-child { padding-left: 3.4rem; }
  .profile:last-child > span { left: 0; }
  .journal__grid { gap: 2.5rem; }
  .journal-row { padding: 1.4rem 0; grid-template-columns: 2rem 1fr 1.25rem; gap: .8rem; }
  .journal-row p { grid-column: 2 / -1; }
  .closing__grid { grid-template-columns: 1fr; }
  .faq { padding-right: 0; padding-bottom: 4rem; border-right: 0; border-bottom: 1px solid var(--gold); }
  .contact .button { width: 100%; margin-right: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; }
  .site-footer > a:last-child { text-align: left; }
  .site-footer p { grid-column: auto; grid-row: auto; }
  .brand--footer .brand__name { display: inline; }
  .demo-dialog { padding: 3rem 1.5rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
