:root {
  --navy: #0b1730;
  --navy-2: #111f3d;
  --gold: #c8a25e;
  --gold-soft: #e6cf9e;
  --ivory: #f7f4ee;
  --paper: #fffdf9;
  --ink: #182033;
  --muted: #687083;
  --line: rgba(11, 23, 48, .14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 23, 48, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-dark { color: var(--white); background: var(--navy); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 16px; background: #fff; color: #000; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(11,23,48,.82);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(11,23,48,.97); box-shadow: 0 10px 35px rgba(0,0,0,.2); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; color: #fff; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-soft); font-family: Georgia, serif; font-weight: 700; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.65); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: rgba(255,255,255,.78); font-size: 13px; letter-spacing: .04em; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-soft); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 780px; padding: 190px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 45%, rgba(200,162,94,.13), transparent 28%), linear-gradient(135deg, transparent 0 60%, rgba(255,255,255,.025) 60% 61%, transparent 61%); }
.hero-lines { position: absolute; width: 500px; height: 500px; right: -150px; top: 100px; border: 1px solid rgba(200,162,94,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(200,162,94,.035), 0 0 0 140px rgba(200,162,94,.025); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 20px; color: var(--gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.dark { color: #9b7536; }
.hero h1, .section-heading h2, .statement h2, .social h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero h1 { margin: 0; font-size: clamp(58px, 8vw, 104px); line-height: .92; letter-spacing: -.045em; }
.hero h1 span { color: var(--gold-soft); }
.hero-intro { max-width: 570px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; font-size: 13px; font-weight: 700; letter-spacing: .05em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy); background: var(--gold-soft); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.34); }
.btn-outline:hover { color: var(--navy); background: #fff; }
.hero-art { display: grid; place-items: center; }
.legal-emblem { width: min(430px, 90vw); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.emblem-circle { position: absolute; inset: 12%; border: 1px solid rgba(230,207,158,.5); border-radius: 50%; box-shadow: inset 0 0 80px rgba(200,162,94,.05); }
.scale { position: relative; width: 230px; height: 260px; }
.beam,.stem,.base,.chain,.pan { position: absolute; display: block; background: var(--gold-soft); }
.stem { width: 4px; height: 180px; left: 113px; top: 40px; }
.beam { width: 210px; height: 4px; left: 10px; top: 70px; }
.base { width: 100px; height: 5px; left: 65px; bottom: 24px; }
.chain { width: 2px; height: 73px; top: 72px; transform-origin: top; }
.chain-left { left: 43px; transform: rotate(14deg); }
.chain-right { right: 43px; transform: rotate(-14deg); }
.pan { width: 76px; height: 38px; top: 140px; background: transparent; border-bottom: 3px solid var(--gold-soft); border-radius: 0 0 70px 70px; }
.pan-left { left: 4px; }.pan-right { right: 4px; }
.hero-footer { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; justify-content: center; align-items: center; gap: 18px; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hero-footer i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

.section-heading { max-width: 730px; }
.section-heading.centered { margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -.03em; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.intro { background: var(--ivory); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.intro-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 48px; border-left: 4px solid var(--gold); background: var(--white); box-shadow: var(--shadow); }
.intro-index { color: var(--gold); font-family: Georgia, serif; font-size: 32px; }
.intro-label { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.intro-card h3 { margin: 0 0 30px; color: var(--navy); font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.location-text { margin: 0; font-size: 20px; }

.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.practice-card { position: relative; min-height: 290px; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.practice-card::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.practice-card:hover { transform: translateY(-8px); border-color: rgba(200,162,94,.55); box-shadow: var(--shadow); }
.practice-card:hover::after { transform: scaleX(1); }
.practice-number { color: #9ba1ad; font-size: 11px; letter-spacing: .14em; }
.practice-icon { width: 76px; height: 76px; margin-top: 58px; display: grid; place-items: center; border: 1px solid var(--gold); color: #9b7536; font-family: Georgia, serif; font-size: 28px; transform: rotate(45deg); }
.practice-icon::first-letter { transform: rotate(-45deg); }
.practice-card h3 { margin: 35px 0 0; color: var(--navy); font-family: Georgia, serif; font-size: 28px; font-weight: 400; }

.statement { padding: 90px 0; text-align: center; }
.statement h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.25; }
.statement h2 span { color: var(--gold); }
.gallery { background: var(--ivory); }
.gallery-empty { margin-top: 45px; display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 46px; padding: 42px; border: 1px dashed rgba(11,23,48,.25); background: rgba(255,255,255,.55); }
.gallery-frame { aspect-ratio: 4/3; position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #e9e3d6, #fff); }
.gallery-frame span { position: absolute; width: 70px; height: 70px; border: 1px solid rgba(200,162,94,.5); transform: rotate(45deg); }
.gallery-frame span:nth-child(1){ left: 28px; top: 40px; }.gallery-frame span:nth-child(2){ left: 84px; top: 72px; }.gallery-frame span:nth-child(3){ right: 20px; top: 25px; }
.gallery-empty h3 { margin: 0 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.gallery-empty p { margin: 0; color: var(--muted); }
.gallery-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { border: 0; padding: 0; cursor: zoom-in; background: #fff; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f1eee8; }
.social { padding: 0; background: var(--paper); }
.social-card { min-height: 290px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 60px; color: #fff; background: var(--navy-2); box-shadow: var(--shadow); transform: translateY(35px); }
.social h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); }
.social-symbol { width: 120px; height: 120px; display: grid; place-items: center; border: 1px solid rgba(230,207,158,.45); color: var(--gold-soft); border-radius: 50%; font-family: Georgia, serif; font-size: 58px; }
.contact { padding-top: 150px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-list { border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-row span { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.contact-row strong { color: var(--navy); font-family: Georgia, serif; font-size: 21px; font-weight: 400; }
.site-footer { padding: 48px 0; color: rgba(255,255,255,.72); background: #071024; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid strong { color: #fff; font-family: Georgia, serif; font-size: 21px; }
.footer-grid p { margin: 5px 0 0; font-size: 13px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 12px; }
.lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 70px; background: rgba(3,8,18,.94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 88vw); max-height: 82vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; color: #fff; background: transparent; cursor: pointer; }
.lightbox-close { top: 18px; right: 25px; font-size: 44px; }
.lightbox-prev,.lightbox-next { top: 50%; transform: translateY(-50%); font-size: 64px; }
.lightbox-prev { left: 20px; }.lightbox-next { right: 20px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 78px; left: 0; right: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; background: var(--navy); transition: max-height .3s ease; }
  .main-nav.open { max-height: 420px; border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav a { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 120px; }
  .hero-art { margin-top: 10px; }
  .legal-emblem { width: 330px; }
  .intro-grid, .contact-grid { gap: 46px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 8px; }
  .hero { padding-top: 145px; }
  .hero-grid { gap: 20px; }
  .hero h1 { font-size: clamp(48px, 16vw, 72px); }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .hero-art { display: none; }
  .hero-footer { width: calc(100% - 30px); flex-wrap: wrap; gap: 10px; }
  .intro-card { grid-template-columns: 1fr; padding: 30px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 230px; }
  .practice-icon { margin-top: 32px; }
  .gallery-empty { grid-template-columns: 1fr; padding: 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .social-card { padding: 36px 28px; transform: translateY(24px); }
  .social-symbol { display: none; }
  .contact { padding-top: 115px; }
  .contact-row { grid-template-columns: 1fr; gap: 7px; }
  .footer-grid { flex-direction: column; }
  .footer-grid nav { display: grid; gap: 12px; }
  .lightbox { padding: 50px 14px; }
  .lightbox-prev,.lightbox-next { font-size: 48px; }
}

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