:root {
  --burgundy: #6B1D2A;
  --burgundy-deep: #4A121C;
  --burgundy-soft: #8E3A47;
  --beige: #D8C3A0;
  --beige-light: #F3ECE0;
  --beige-mist: #FAF7F1;
  --ink: #2A2124;
  --muted: #6E6266;
  --white: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--burgundy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--burgundy-deep); line-height: 1.1; margin: 0 0 .5em; }
h1 em, h2 em { color: var(--burgundy); font-style: italic; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--burgundy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.4em;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--beige); }
.eyebrow-light { color: var(--beige); }
.eyebrow-light::before { background: var(--beige); opacity: .6; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 17px 32px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: inset 0 0 0 0 var(--burgundy-deep);
}
.btn:hover, .btn:focus-visible { background: var(--burgundy-deep); box-shadow: inset 0 -3px 0 0 var(--beige); }
.btn-small { padding: 11px 20px; font-size: 11px; }
.btn-ghost { background: transparent; color: var(--burgundy); }
.btn-ghost:hover { color: var(--white); }
.btn-full { width: 100%; }
.link-arrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid var(--beige);
  padding-bottom: 4px;
  transition: border-color .3s;
}
.link-arrow:hover { border-color: var(--burgundy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--beige-light); box-shadow: 0 6px 30px -20px rgba(74, 18, 28, .35); }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--burgundy); }
.wm-text { display: flex; flex-direction: column; line-height: 1; }
.wm-name { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .06em; color: var(--burgundy-deep); margin: 0; }
.wm-name em { font-style: italic; font-weight: 500; color: var(--burgundy); letter-spacing: 0; }
.wm-name small { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wm-tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--burgundy-soft); margin: 6px 0 0; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--burgundy);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.active { color: var(--burgundy); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--burgundy); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* Hero */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 80px 28px 110px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center;
}
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); font-weight: 400; letter-spacing: -.01em; }
.lede { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-meta { display: flex; gap: 48px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--beige-light); }
.hero-meta dt { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--burgundy); }
.hero-meta dd { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.hero-figure { margin: 0; position: relative; }
.hero-figure::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; background: var(--beige-light); z-index: -1;
}
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-top-left-radius: 220px; border-top-right-radius: 220px; background: var(--beige-light); }
.hero-figure figcaption { margin-top: 44px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }
.hero-figure figcaption span { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .25em; color: var(--burgundy); margin-right: 10px; }

/* Promise strip */
.promise { background: var(--burgundy); color: var(--beige-light); text-align: center; padding: 22px 20px; overflow: hidden; }
.promise p { margin: 0; font-family: var(--serif); font-size: clamp(18px, 2.4vw, 26px); font-style: italic; letter-spacing: .04em; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.promise i { font-style: normal; font-size: 10px; color: var(--beige); }

/* Section heads */
.section-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--beige); }
.section-head h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 400; }
.section-head p:not(.eyebrow) { color: var(--muted); }

/* Services */
.services { max-width: var(--wrap); margin: 0 auto; padding: 120px 28px 60px; }
.practice { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.practice-alt .practice-media { order: 2; }
.practice-media { position: relative; }
.practice-media::after { content: ""; position: absolute; inset: -18px auto auto -18px; width: 120px; height: 120px; border-top: 1px solid var(--beige); border-left: 1px solid var(--beige); }
.practice-alt .practice-media::after { inset: auto -18px -18px auto; border: 0; border-bottom: 1px solid var(--beige); border-right: 1px solid var(--beige); }
.practice-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--beige-light); }
.practice-num { font-family: var(--serif); font-size: 64px; font-style: italic; color: var(--beige); line-height: 1; margin-bottom: 8px; }
.practice h3 { font-size: clamp(30px, 3.2vw, 42px); }
.practice-sub { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--burgundy-soft); margin-top: -6px; }
.practice-body > p:not(.practice-num):not(.practice-sub) { color: var(--muted); }
.offer-list { list-style: none; margin: 28px 0 0; padding: 0; }
.offer-list li { padding: 18px 0; border-top: 1px solid var(--beige-light); font-size: 15px; color: var(--muted); }
.offer-list li:last-child { border-bottom: 1px solid var(--beige-light); }
.offer-list strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--burgundy-deep); margin-bottom: 2px; }

/* About */
.about { background: var(--beige-mist); border-top: 1px solid var(--beige-light); border-bottom: 1px solid var(--beige-light); }
.about { display: grid; grid-template-columns: .9fr 1.1fr; }
.about-quote { background: var(--beige-light); padding: 110px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.quote-mark { font-family: var(--serif); font-size: 180px; line-height: .6; color: var(--burgundy); opacity: .9; display: block; height: 70px; }
.about-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-style: italic; line-height: 1.25; color: var(--burgundy-deep); }
.sig { margin-top: 28px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--burgundy-soft); }
.about-body { padding: 110px 64px; max-width: 720px; }
.about-body h2 { font-size: clamp(34px, 3.8vw, 50px); font-weight: 400; }
.about-body > p:not(.eyebrow) { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.values div { padding-top: 20px; border-top: 2px solid var(--burgundy); }
.values h3 { font-size: 24px; }
.values p { font-size: 15px; color: var(--muted); }

/* Process */
.process { max-width: var(--wrap); margin: 0 auto; padding: 130px 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 0; right: 0; height: 1px; background: var(--beige); }
.steps li { padding: 0 22px 0 0; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--burgundy); color: var(--burgundy);
  font-family: var(--serif); font-size: 24px; font-style: italic; margin-bottom: 26px; position: relative;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.steps li:hover .step-num { background: var(--burgundy); color: var(--beige-light); }
.steps h3 { font-size: 23px; }
.steps p { font-size: 15px; color: var(--muted); }

/* Engage */
.engage { max-width: var(--wrap); margin: 0 auto 120px; padding: 0 28px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; align-items: stretch; }
.contact-card { background: var(--burgundy); color: var(--beige-light); padding: 72px 56px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(216, 195, 160, .35); pointer-events: none; }
.contact-card h2 { color: var(--white); font-size: clamp(32px, 3.4vw, 44px); font-weight: 400; }
.contact-card > p:not(.eyebrow) { color: rgba(243, 236, 224, .8); }
.contact-list { margin: 40px 0 0; }
.contact-list div { padding: 18px 0; border-top: 1px solid rgba(216, 195, 160, .3); }
.contact-list dt { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--beige); }
.contact-list dd { margin: 4px 0 0; font-family: var(--serif); font-size: 24px; color: var(--white); line-height: 1.3; }
.contact-list a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(216, 195, 160, .5); position: relative; z-index: 1; }
.contact-list a:hover { border-color: var(--beige); }

.inquiry { background: var(--white); border: 1px solid var(--beige-light); border-left: 0; padding: 72px 60px; }
.inquiry h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 400; }
.client-type { border: 0; padding: 0; margin: 28px 0 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.client-type legend { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.client-type label { cursor: pointer; }
.client-type input { position: absolute; opacity: 0; }
.client-type span { display: inline-block; padding: 12px 24px; border: 1px solid var(--beige); font-family: var(--serif); font-size: 19px; color: var(--burgundy-deep); transition: all .3s var(--ease); }
.client-type input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.client-type input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--beige-mist);
  border: 0; border-bottom: 1px solid var(--beige); padding: 12px 14px; border-radius: 0; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); background: var(--white); box-shadow: 0 1px 0 0 var(--burgundy); }
.field .invalid { border-color: #A3283A; background: #FBF1F1; }
.form-error { color: #A3283A; font-size: 14px; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; font-style: italic; }
.inquiry-done { animation: fadeUp .6s var(--ease); }
.inquiry-done:focus { outline: none; }
.inquiry-done h3 { font-size: 30px; margin-top: 20px; }
.inquiry-summary { white-space: pre-wrap; font-family: var(--sans); font-size: 14px; background: var(--beige-mist); border-left: 2px solid var(--burgundy); padding: 18px 20px; color: var(--ink); margin: 20px 0 26px; max-height: 260px; overflow: auto; }
.done-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.inquiry-done .link-arrow { margin-right: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--beige-light); background: var(--beige-mist); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 48px 28px; display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; align-items: center; }
.footer-name { font-size: 30px; }
.footer-contact { margin: 0; text-align: right; font-size: 14px; color: var(--muted); }
.footer-contact a { color: var(--burgundy); text-decoration: none; }
.copy { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--beige-light); font-size: 12px; letter-spacing: .1em; color: var(--muted); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2) { transition-delay: .1s; }
.steps li.reveal:nth-child(3) { transition-delay: .2s; }
.steps li.reveal:nth-child(4) { transition-delay: .3s; }
.steps li.reveal:nth-child(5) { transition-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .steps::before { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-body { max-width: none; }
  .engage { grid-template-columns: 1fr; }
  .inquiry { border-left: 1px solid var(--beige-light); border-top: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--beige-light); padding: 8px 28px 24px;
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path .45s var(--ease), opacity .3s;
  }
  .site-nav.open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--beige-light); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-figure { max-width: 460px; margin: 0 auto; width: calc(100% - 28px); }
  .practice { grid-template-columns: 1fr; gap: 40px; margin-bottom: 90px; }
  .practice-alt .practice-media { order: 0; }
  .values { grid-template-columns: 1fr; }
  .about-quote, .about-body { padding: 80px 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wm-name { font-size: 22px; }
  .wm-tag { font-size: 8.5px; letter-spacing: .22em; }
  .monogram svg { width: 34px; height: 34px; }
  .hero-meta { flex-direction: column; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card, .inquiry { padding: 56px 26px; }
  .services, .process { padding-top: 90px; padding-bottom: 60px; }
}

/* Clandestine motifs */
.stamp {
  position: absolute; top: 34px; right: -14px; z-index: 2;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--burgundy); background: rgba(255, 255, 255, .92);
  border: 2px solid var(--burgundy); outline: 1px solid var(--burgundy); outline-offset: 3px;
  padding: 8px 14px; transform: rotate(-6deg);
}
.file-tag {
  display: inline-block; vertical-align: middle; margin-left: 10px;
  font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--burgundy); border: 1px solid var(--burgundy); padding: 4px 10px;
}
.hero h1 em { position: relative; }
.hero-figure img, .practice-media img { filter: saturate(.9) contrast(1.05); }
@media (max-width: 560px) { .stamp { right: 6px; font-size: 10px; } }

/* Law-office framing */
.hero-figure img { border-radius: 0; border: 1px solid var(--burgundy); padding: 10px; background: var(--white); outline: 1px solid var(--beige); outline-offset: -5px; }
.practice-media img { border: 1px solid var(--burgundy); padding: 8px; background: var(--white); }
.hero-figure img, .practice-media img { filter: none; }

/* Portal links & counsel note */
.counsel-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--beige); font-size: 15px; color: var(--muted); font-style: normal; font-family: var(--sans); }
.counsel-note strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--burgundy-deep); font-weight: 600; margin-bottom: 4px; }
.contact-card .portal-cta { color: var(--white); border-color: var(--beige); position: relative; z-index: 1; margin-top: 8px; }
.contact-card .portal-cta:hover { background: var(--beige); color: var(--burgundy-deep); }
.copy a { color: var(--burgundy); }
