:root {
  --ink: #16130f;
  --ink-2: #26211b;
  --paper: #f5efe5;
  --paper-2: #fffbf3;
  --line: rgba(22, 19, 15, 0.14);
  --muted: #70685d;
  --gold: #b98643;
  --red: #8a2d24;
  --green: #405342;
  --blue: #143b5a;
  --display: "Literata", Georgia, serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(22, 19, 15, .055) 1px, transparent 1px),
    linear-gradient(rgba(22, 19, 15, .055) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.58;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.page-shell { overflow: clip; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(240px, .8fr);
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: .75rem clamp(1rem, 2.8vw, 3rem);
  background: rgba(22, 19, 15, .94);
  color: var(--paper-2);
  border-bottom: 1px solid rgba(255, 251, 243, .14);
  backdrop-filter: blur(18px);
}
.brand-lockup { display: flex; align-items: center; gap: .75rem; min-width: 0; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.brand-lockup img { width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); }
.brand-lockup span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-nav { display: flex; justify-content: center; gap: clamp(.65rem, 1.25vw, 1.4rem); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.main-nav a { opacity: .72; transition: opacity .18s ease, color .18s ease; }
.main-nav a:hover { opacity: 1; color: var(--gold); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: .75rem; }
.lang-switch { display: grid; grid-template-columns: repeat(3, 1fr); padding: .2rem; border: 1px solid rgba(255, 251, 243, .18); }
.lang-switch button { min-width: 2.4rem; min-height: 2rem; border: 0; background: transparent; color: rgba(255, 251, 243, .62); cursor: pointer; font-size: .72rem; font-weight: 900; }
.lang-switch button.active { background: var(--gold); color: var(--ink); }
.phone-pill, .primary-cta, .secondary-cta { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .78rem 1rem; font-size: .74rem; font-weight: 950; text-transform: uppercase; }
.phone-pill, .primary-cta { background: var(--gold); color: var(--ink); }
.secondary-cta { border: 1px solid rgba(255, 251, 243, .26); color: var(--paper-2); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 251, 243, .2); background: transparent; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--paper-2); }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  gap: clamp(1rem, 4vw, 4rem);
  min-height: calc(100vh - 72px);
  padding: clamp(1.2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 86% 12%, rgba(185, 134, 67, .2), transparent 24rem),
    linear-gradient(125deg, #17130f 0%, #2a241d 66%, #47331e 100%);
  color: var(--paper-2);
}
.hero-copy { align-self: center; max-width: 980px; min-width: 0; }
.eyebrow, .section-label { margin: 0 0 1rem; color: var(--gold); font-size: .72rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; max-width: 760px; font-family: var(--display); font-size: clamp(3rem, 4.45vw, 5.05rem); line-height: .9; font-weight: 800; letter-spacing: 0; overflow-wrap: normal; word-break: normal; hyphens: none; }
.lead { max-width: 760px; margin: 1.6rem 0 0; color: rgba(255, 251, 243, .76); font-size: clamp(1rem, 1.35vw, 1.25rem); }
.hero-dossier { align-self: center; padding: 1rem; border: 1px solid rgba(255, 251, 243, .2); background: linear-gradient(145deg, rgba(255, 251, 243, .12), rgba(255, 251, 243, .045)); box-shadow: 0 26px 80px rgba(0, 0, 0, .24); backdrop-filter: blur(12px); }
.dossier-top { display: flex; gap: .8rem; align-items: center; padding: .8rem .8rem 1.2rem; border-bottom: 1px solid rgba(255, 251, 243, .18); background: linear-gradient(90deg, rgba(185, 134, 67, .13), transparent); }
.dossier-top img { width: 58px; height: 58px; border-radius: 50%; background: var(--paper-2); }
.dossier-top span { display: block; color: rgba(255, 251, 243, .58); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.dossier-top strong { display: block; line-height: 1.15; }
.lawyer-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 1rem 0; }
.lawyer-stack article { position: relative; min-height: 390px; overflow: hidden; border: 1px solid rgba(255, 251, 243, .16); background: rgba(22, 19, 15, .68); }
.lawyer-stack article::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(14, 12, 9, .26) 58%, rgba(14, 12, 9, .88) 100%); }
.lawyer-stack img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.04) contrast(1.04); }
.lawyer-stack article > div { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; }
.lawyer-stack h2 { margin: 0; font-family: var(--display); font-size: clamp(1.75rem, 2.35vw, 2.6rem); line-height: .92; }
.lawyer-stack p { margin: .45rem 0 0; color: rgba(255, 251, 243, .72); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.matter-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 251, 243, .14); background: rgba(255, 251, 243, .06); }
.matter-grid a { min-height: 132px; padding: 1.1rem; border-right: 1px solid rgba(255, 251, 243, .14); transition: background .18s ease, color .18s ease; }
.matter-grid a:last-child { border-right: 0; }
.matter-grid a:hover { background: var(--gold); color: var(--ink); }
.matter-grid span { display: block; margin-bottom: 1.2rem; font-family: var(--display); font-size: 2rem; line-height: 1; }
.matter-grid strong { display: block; font-size: .86rem; line-height: 1.22; }
.matter-grid small { display: block; margin-top: .45rem; opacity: .65; font-weight: 800; text-transform: uppercase; }

.proof-strip { display: grid; grid-template-columns: .7fr .7fr 1.6fr; padding: 0; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.proof-strip div { padding: clamp(1.4rem, 3vw, 2.5rem); border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip span { display: block; color: var(--red); font-family: var(--display); font-size: clamp(3rem, 5vw, 5.8rem); font-weight: 800; line-height: .78; }
.proof-strip p { max-width: 620px; margin: .8rem 0 0; color: var(--muted); font-size: .84rem; font-weight: 900; text-transform: uppercase; }

section { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem); }
.proof-strip, .intro-section { display: none; }
.intro-section { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .86fr) minmax(250px, .86fr); gap: clamp(1.2rem, 4vw, 4rem); }
.intro-grid h2, .section-heading h2, .price-copy h2, .contact-intro h2 { margin: 0; font-family: var(--display); font-size: clamp(2.25rem, 4.8vw, 5rem); line-height: .92; font-weight: 800; }
.intro-grid p, .counsel-copy p, .case-board p, .reviews-grid p { color: var(--muted); }
.section-heading { display: grid; grid-template-columns: minmax(170px, .32fr) 1fr; gap: clamp(1rem, 4vw, 4rem); margin-bottom: clamp(2rem, 5vw, 4.5rem); }

.counsel-section { background: var(--paper-2); }
.counsel-card { display: grid; grid-template-columns: minmax(250px, .35fr) 1fr; gap: clamp(1.4rem, 4vw, 4rem); padding: 2rem 0; border-top: 1px solid var(--line); }
.counsel-card.alt { grid-template-columns: 1fr minmax(250px, .35fr); }
.counsel-card.alt figure { grid-column: 2; }
.counsel-card.alt .counsel-copy { grid-column: 1; grid-row: 1; }
.counsel-card figure { margin: 0; min-height: 460px; background: var(--ink); overflow: hidden; }
.counsel-card figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.04) contrast(1.04); }
.counsel-copy { align-self: center; }
.counsel-copy h3 { margin: 0 0 1rem; font-family: var(--display); font-size: clamp(2.1rem, 4.2vw, 4.5rem); line-height: .9; }

.services-section { background: var(--ink); color: var(--paper-2); }
.service-list { display: grid; border-top: 1px solid rgba(255, 251, 243, .15); }
.service-list article { display: grid; grid-template-columns: 90px minmax(220px, .42fr) 1fr; gap: 1rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid rgba(255, 251, 243, .15); }
.service-list span { color: var(--gold); font-family: var(--display); font-size: 2rem; line-height: 1; }
.service-list h3 { margin: 0; font-size: .95rem; line-height: 1.25; }
.service-list p { margin: 0; color: rgba(255, 251, 243, .64); font-size: .84rem; font-weight: 800; }

.cases-section { background: var(--paper-2); }
.case-board { display: grid; grid-template-columns: 1.2fr .75fr .75fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-board article { padding: 1rem; background: #fffdf8; }
.case-lead { display: grid; grid-template-columns: minmax(180px, .42fr) 1fr; gap: 1.2rem; }
.case-board img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f1ece3; border: 1px solid var(--line); }
.case-board h3 { margin: .9rem 0 0; color: var(--red); font-size: .98rem; line-height: 1.3; text-transform: uppercase; }
.case-lead h3 { margin-top: 0; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); line-height: .94; }
.case-rail { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 1rem; align-items: center; margin-top: 2rem; }
.case-rail button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--ink); color: var(--paper-2); cursor: pointer; }
.case-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(185px, 15vw); gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.case-strip figure { margin: 0; padding: .7rem; background: #fffdf8; border: 1px solid var(--line); scroll-snap-align: start; }
.case-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #f1ece3; }
.case-strip figcaption { margin-top: .65rem; color: var(--muted); font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.case-board img, .case-strip img { cursor: zoom-in; }
.scan-lightbox { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(9, 8, 7, .86); backdrop-filter: blur(12px); }
.scan-lightbox.open { display: flex; }
.scan-lightbox__panel { position: relative; width: min(980px, 100%); max-height: 92vh; padding: 1rem; background: #f8f1e7; box-shadow: 0 30px 100px rgba(0, 0, 0, .42); }
.scan-lightbox__panel img { width: 100%; max-height: calc(92vh - 4.5rem); object-fit: contain; background: #fff; }
.scan-lightbox__caption { margin: .75rem 3rem 0 0; color: var(--muted); font-size: .82rem; font-weight: 900; text-transform: uppercase; }
.scan-lightbox__close { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--ink); color: var(--paper-2); cursor: pointer; font-size: 1.35rem; line-height: 1; }

.price-section { display: grid; grid-template-columns: minmax(260px, .42fr) 1fr; gap: clamp(1rem, 5vw, 5rem); align-items: center; background: var(--blue); color: var(--paper-2); }
.price-image { margin: 0; padding: 1rem; border: 1px solid rgba(255, 251, 243, .18); background: rgba(255, 251, 243, .08); }
.price-image img { width: 100%; background: #fff; }
.reviews-section { background: var(--paper); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.reviews-grid article { display: grid; grid-template-columns: 112px 1fr; gap: 1.2rem; padding: clamp(1rem, 2.4vw, 2rem); background: rgba(255, 251, 243, .82); }
.reviews-grid img { grid-row: span 5; width: 112px; height: 144px; object-fit: cover; }
.reviews-grid h3 { margin: 0 0 .6rem; font-family: var(--display); font-size: 1.65rem; line-height: .95; }
.reviews-grid p { margin: 0 0 .65rem; font-size: .9rem; }

.contact-section { display: grid; grid-template-columns: minmax(420px, .36fr) 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem); background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-intro { align-self: start; }
.contact-intro h2 { max-width: 100%; font-size: clamp(2.7rem, 5vw, 4.6rem); overflow-wrap: anywhere; }
.contact-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-directory article { min-height: 170px; padding: clamp(1.1rem, 2.3vw, 2rem); background: #fffdf8; }
.contact-directory .contact-primary { grid-column: 1 / -1; display: grid; gap: .7rem; background: var(--ink); color: var(--paper-2); }
.contact-directory span { display: block; margin-bottom: .85rem; color: var(--muted); font-size: .76rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.contact-directory .contact-primary span { margin-bottom: 0; color: rgba(255, 251, 243, .6); }
.contact-directory strong { max-width: 760px; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 4.8rem); line-height: .95; }
.contact-directory p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1rem; font-weight: 850; line-height: 1.45; }
.contact-directory a { display: block; width: fit-content; margin: .45rem 0; color: var(--red); font-weight: 950; }
.contact-directory .contact-primary a { color: var(--gold); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1rem, 4vw, 4rem); background: #0d0b09; color: rgba(255, 251, 243, .72); }
.site-footer p { margin: .35rem 0 0; }
.site-footer a { color: var(--gold); font-weight: 950; text-transform: uppercase; }

.content-panel { display: none; }
.content-panel.active { display: block; }
.intro-grid.content-panel.active, .service-list.content-panel.active, .reviews-grid.content-panel.active { display: grid; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: minmax(190px, 1fr) auto auto; }
  .main-nav { position: fixed; inset: 72px 0 auto; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: rgba(22, 19, 15, .98); }
  .main-nav.open { display: flex; }
  .menu-button { display: block; }
  .phone-pill { display: none; }
  .hero-section, .proof-strip, .intro-grid, .section-heading, .price-section { grid-template-columns: 1fr; }
  .matter-grid, .case-board { grid-template-columns: repeat(2, 1fr); }
  .case-lead { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; }
  .brand-lockup span { max-width: 190px; }
  .header-actions { grid-column: 1 / -1; justify-content: start; }
  .hero-section { padding: 1rem; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(1.75rem, 7.45vw, 2.7rem); line-height: .96; overflow-wrap: normal; word-break: normal; }
  .lead { max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
  .matter-grid, .case-board, .case-lead, .reviews-grid, .contact-section, .counsel-card, .counsel-card.alt { grid-template-columns: 1fr; }
  .counsel-card.alt figure, .counsel-card.alt .counsel-copy { grid-column: auto; grid-row: auto; }
  .counsel-card figure { min-height: 350px; }
  .service-list article { grid-template-columns: 56px 1fr; }
  .service-list p { grid-column: 2; }
  .lawyer-stack { grid-template-columns: 1fr; }
  .lawyer-stack article { min-height: 300px; }
  .lawyer-stack h2 { font-size: 2rem; }
  .contact-directory { grid-template-columns: 1fr; }
  .contact-directory .contact-primary { grid-column: auto; }
  .contact-directory strong { font-size: clamp(1.8rem, 9vw, 3rem); }
  .reviews-grid article { grid-template-columns: 1fr; }
  .reviews-grid img { grid-row: auto; }
  .case-rail { grid-template-columns: 1fr; }
  .case-rail button { display: none; }
  .site-footer { flex-direction: column; }
}
