:root {
  --ink: #0d1720;
  --ink-soft: #172630;
  --paper: #f4f0e8;
  --cream: #fbf9f4;
  --gold: #b8955e;
  --gold-light: #d8bd8f;
  --line: rgba(184, 149, 94, .34);
  --muted: #69737b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(9, 18, 25, .14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { display: block; width: 100%; height: 100%; }
img { max-width: 100%; display: block; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad { padding: 110px 0; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(184,149,94,.14);
  background: rgba(13, 23, 32, .92);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(1240px, calc(100% - 36px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold-light);
}
.brand-mark svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; color: #bfc7cc; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: #d8dde0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle at 85% 18%, rgba(184,149,94,.16), transparent 30%),
    radial-gradient(circle at 14% 84%, rgba(184,149,94,.1), transparent 34%),
    linear-gradient(135deg, #0c161e, #14242f 56%, #0d1720);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-orb {
  position: absolute;
  border: 1px solid rgba(216,189,143,.14);
  border-radius: 50%;
}
.orb-one { width: 390px; height: 390px; top: -180px; right: 8%; }
.orb-two { width: 240px; height: 240px; bottom: -110px; left: 5%; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.3rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .82;
}
.hero h1 span { color: var(--gold-light); }

.professional-name {
  margin: 28px 0 0;
  color: #d8dde0;
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.hero-lead {
  max-width: 640px;
  margin: 21px 0 0;
  color: #b8c0c6;
  font-size: 1.04rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-light); color: #101820; }
.btn-ghost { border: 1px solid rgba(255,255,255,.22); color: #fff; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.hero-tags span {
  padding: 8px 13px;
  border: 1px solid rgba(216,189,143,.24);
  border-radius: 999px;
  color: #cbd1d5;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  padding: 38px;
  border: 1px solid rgba(216,189,143,.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}
.panel-topline {
  position: absolute;
  top: 0;
  left: 38px;
  right: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.justice-emblem {
  width: 115px;
  height: 115px;
  margin-bottom: 22px;
  color: var(--gold-light);
}
.justice-emblem svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-panel > p {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.04;
  font-weight: 600;
}
.panel-list { display: grid; gap: 10px; margin-top: 27px; }
.panel-list span {
  padding: 12px 0 12px 18px;
  border-left: 1px solid var(--gold);
  color: #c9d0d5;
  font-size: .82rem;
}

.section-heading { max-width: 690px; margin-bottom: 45px; }
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: .95;
}
.section-heading > p:last-child { color: var(--muted); max-width: 620px; margin-top: 18px; }
.section-heading.light h2 { color: #fff; }
.section-heading.light > p:last-child { color: #aeb8be; }

.areas { background: var(--cream); }
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.area-card {
  position: relative;
  min-height: 340px;
  padding: 31px 25px 27px;
  border: 1px solid rgba(13,23,32,.09);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.area-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: var(--line);
}
.area-number {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #c6b79f;
  font-family: var(--serif);
  font-size: 1.35rem;
}
.icon-wrap {
  width: 52px;
  height: 52px;
  margin: 43px 0 34px;
  color: var(--gold);
}
.icon-wrap svg *, .service-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.area-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
}
.area-card p { margin: 0; color: var(--muted); font-size: .85rem; }

.services {
  background:
    radial-gradient(circle at 90% 0%, rgba(184,149,94,.11), transparent 32%),
    var(--ink);
}
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}
.featured-service {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 44px;
  border: 1px solid rgba(216,189,143,.2);
  border-radius: 28px;
  background:
    linear-gradient(to top, rgba(13,23,32,.96), rgba(13,23,32,.2)),
    linear-gradient(135deg, rgba(184,149,94,.2), rgba(255,255,255,.025));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.featured-service::before {
  content: "§";
  position: absolute;
  top: -15px;
  right: 23px;
  color: rgba(216,189,143,.08);
  font-family: var(--serif);
  font-size: 15rem;
  line-height: 1;
}
.service-kicker {
  color: var(--gold-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.featured-service h3 {
  max-width: 430px;
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  line-height: .94;
}
.featured-service p { max-width: 460px; margin: 0; color: #bdc5ca; }
.service-line { width: 100%; height: 1px; margin: 28px 0 16px; background: rgba(216,189,143,.19); }
.featured-service > span { color: #d9c6a8; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.service-stack { display: grid; gap: 17px; }
.service-card {
  min-height: 142px;
  padding: 26px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(216,189,143,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.045);
  color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.service-card:hover { transform: translateX(5px); background: rgba(255,255,255,.075); }
.service-icon {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(216,189,143,.09);
  color: var(--gold-light);
}
.service-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}
.service-card p { margin: 0; color: #aeb8be; font-size: .83rem; }

.family { background: var(--paper); }
.family-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: 80px;
}
.family-copy > h2 {
  margin: 0;
  max-width: 620px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: .92;
}
.family-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); }
.family-list { margin-top: 35px; border-top: 1px solid rgba(13,23,32,.11); }
.family-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(13,23,32,.11);
}
.family-item > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
}
.family-item h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.45rem; }
.family-item p { margin: 0; color: var(--muted); font-size: .82rem; }

.family-visual {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
}
.document-card {
  position: absolute;
  width: min(380px, 88%);
  aspect-ratio: .76;
  border-radius: 24px;
}
.card-back {
  transform: rotate(7deg) translate(24px, 4px);
  background: linear-gradient(145deg, #ac8957, #d4ba8e);
  box-shadow: var(--shadow);
}
.card-front {
  padding: 38px;
  transform: rotate(-3deg);
  background: #fff;
  box-shadow: 0 24px 60px rgba(13,23,32,.16);
}
.doc-seal {
  width: 80px;
  height: 80px;
  margin-bottom: 36px;
  color: var(--gold);
}
.doc-seal svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-front > span {
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.card-front h3 {
  margin: 11px 0 36px;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1;
}
.doc-lines { display: grid; gap: 12px; }
.doc-lines i { display: block; height: 1px; background: #d8dad8; }
.doc-lines i:nth-child(2) { width: 92%; }
.doc-lines i:nth-child(3) { width: 76%; }
.doc-lines i:nth-child(4) { width: 84%; }

.profile { background: var(--cream); }
.profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 35px;
  padding: 48px;
  border-radius: 30px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.profile-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -110px;
  border: 1px solid rgba(216,189,143,.15);
  border-radius: 50%;
}
.profile-label {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}
.profile-copy { border-left: 1px solid rgba(216,189,143,.25); padding-left: 34px; }
.profile-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: .98;
}
.profile-copy p:last-child { margin: 13px 0 0; color: #abb6bc; font-size: .85rem; }
.profile-matters { display: grid; grid-template-columns: repeat(2, auto); gap: 8px; position: relative; z-index: 2; }
.profile-matters span {
  padding: 8px 12px;
  border: 1px solid rgba(216,189,143,.2);
  border-radius: 999px;
  color: #d4dadd;
  font-size: .68rem;
  text-align: center;
}

.site-footer { padding: 36px 0; background: #091117; color: #aeb8be; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 26px;
}
.site-footer strong { color: #fff; font-family: var(--serif); font-size: 1.35rem; }
.site-footer p { margin: 3px 0; font-size: .75rem; }
.back-top {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,189,143,.22);
  border-radius: 50%;
  color: var(--gold-light);
}

.reveal {
  opacity: 1;
  transform: none;
}
.js-ready .reveal {
  animation: riseIn .65s ease both;
}
.js-ready .delay-1 { animation-delay: .08s; }
.js-ready .delay-2 { animation-delay: .16s; }
.js-ready .delay-3 { animation-delay: .24s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid,
  .family-grid,
  .service-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .hero { min-height: auto; }
  .hero-panel { max-width: 700px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .family-grid { gap: 40px; }
  .family-visual { min-height: 500px; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-copy { border-left: 0; border-top: 1px solid rgba(216,189,143,.25); padding: 26px 0 0; }
  .profile-matters { grid-template-columns: repeat(4, auto); justify-content: start; }
}

@media (max-width: 760px) {
  .section-pad { padding: 82px 0; }
  .container { width: min(100% - 28px, 1160px); }
  .header-shell { width: calc(100% - 26px); height: 70px; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-mark { width: 38px; height: 38px; }

  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(9, 17, 23, .98);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    width: 100%;
    padding: 18px 2px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-family: var(--serif);
    font-size: 1.8rem;
  }
  .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { min-height: calc(100svh - 70px); }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.8rem); }
  .hero-grid { gap: 42px; }
  .hero-panel { padding: 28px; }
  .justice-emblem { width: 92px; height: 92px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }

  .area-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 270px; }
  .icon-wrap { margin-top: 24px; }

  .featured-service { min-height: 420px; padding: 30px; }
  .service-card { grid-template-columns: 52px 1fr; padding: 22px; }

  .family-visual { min-height: 430px; }
  .document-card { width: min(310px, 83%); }
  .card-front { padding: 29px; }
  .card-front h3 { font-size: 1.95rem; }

  .profile-card { padding: 32px 24px; }
  .profile-matters { grid-template-columns: repeat(2, 1fr); width: 100%; }

  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 430px) {
  .brand-copy small { display: none; }
  .hero-tags { gap: 7px; }
  .hero-tags span { padding: 7px 10px; font-size: .63rem; }
  .section-heading h2 { font-size: 2.7rem; }
  .service-card { grid-template-columns: 1fr; }
  .service-icon { width: 46px; height: 46px; }
}

@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; }
}
