:root {
  --ink: #16211d;
  --ink-soft: #31413a;
  --paper: #f5f1e8;
  --paper-2: #eee8db;
  --white: #fffdf8;
  --forest: #173f35;
  --forest-2: #0f3129;
  --gold: #b39154;
  --gold-soft: #d5c39b;
  --muted: #6d756f;
  --line: rgba(23, 63, 53, .16);
  --shadow: 0 26px 70px rgba(22, 33, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { font: inherit; }
button { color: inherit; }

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 89% 8%, rgba(179,145,84,.10), transparent 24%),
    linear-gradient(180deg, #f8f5ee 0%, var(--paper) 58%, #efe8dc 100%);
}
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--forest); color: var(--forest);
  font-family: "Libre Baskerville", serif; font-size: 13px; font-weight: 700;
}
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-family: "Libre Baskerville", serif; font-size: 17px; letter-spacing: -.01em; }
.brand-copy span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.text-nav, .secondary-link {
  border: 0; background: transparent; cursor: pointer; font-weight: 600;
}
.text-nav { color: var(--ink-soft); }
.text-nav:hover, .secondary-link:hover { color: var(--gold); }
.outline-button { padding: 11px 18px; border: 1px solid var(--forest); font-weight: 700; }
.outline-button:hover { background: var(--forest); color: var(--white); }

.hero {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center;
  min-height: 690px; padding: 80px 0 100px;
}
.eyebrow, .kicker {
  text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; color: var(--gold);
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }
.hero h1, .section-heading h2, .notice h2, .contact-panel h2 {
  font-family: "Libre Baskerville", serif; font-weight: 400; letter-spacing: -.045em;
}
.hero h1 {
  max-width: 760px; margin: 24px 0 28px; font-size: clamp(52px, 6.5vw, 88px); line-height: 1.03;
}
.hero h1 em { font-style: italic; color: var(--forest); }
.hero-text { max-width: 690px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.primary-button {
  display: inline-flex; align-items: center; gap: 18px; padding: 16px 22px;
  background: var(--forest); color: var(--white); font-weight: 700; transition: .25s ease;
}
.primary-button:hover { background: var(--forest-2); transform: translateY(-2px); }
.secondary-link { padding: 14px 0; color: var(--ink-soft); }
.status-row { display: flex; align-items: center; gap: 11px; margin-top: 44px; color: var(--muted); font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(179,145,84,.12); animation: pulse 2s infinite; }

.hero-panel {
  position: relative; min-height: 495px; padding: 54px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--forest); color: var(--white); box-shadow: var(--shadow); overflow: hidden;
}
.hero-panel::before {
  content: ""; position: absolute; inset: 18px; border: 1px solid rgba(213,195,155,.34); pointer-events: none;
}
.hero-panel::after {
  content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(213,195,155,.12);
  border-radius: 50%; right: -120px; top: -95px;
}
.panel-copy { position: relative; z-index: 2; }
.panel-copy span { display: block; color: var(--gold-soft); font-size: 10px; letter-spacing: .22em; font-weight: 700; margin-bottom: 14px; }
.panel-copy strong { font-family: "Libre Baskerville", serif; font-size: clamp(26px, 3vw, 39px); line-height: 1.35; font-weight: 400; }

.justice-mark { position: relative; z-index: 2; width: 230px; height: 220px; margin: 25px auto 20px; opacity: .92; }
.scale-top { position:absolute; width:16px; height:16px; border:2px solid var(--gold-soft); border-radius:50%; top:8px; left:107px; }
.scale-stem { position:absolute; width:2px; height:145px; background:var(--gold-soft); left:114px; top:24px; }
.scale-arm { position:absolute; width:180px; height:2px; background:var(--gold-soft); top:60px; left:25px; }
.scale-arm::after { content:""; position:absolute; width:9px; height:9px; border-radius:50%; background:var(--gold-soft); left:85px; top:-3px; }
.scale-cord { position:absolute; width:1px; height:72px; background:var(--gold-soft); top:61px; }
.scale-cord.left { left:49px; } .scale-cord.right { right:49px; }
.scale-bowl { position:absolute; width:76px; height:31px; border-bottom:2px solid var(--gold-soft); border-radius:0 0 70px 70px; top:112px; }
.scale-bowl.left { left:11px; } .scale-bowl.right { right:11px; }
.scale-base { position:absolute; width:88px; height:2px; background:var(--gold-soft); bottom:22px; left:71px; box-shadow:0 9px 0 var(--gold-soft); }

.principles-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.28); }
.principles { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.principles i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.services { padding: 120px 0 110px; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2 { margin: 12px 0 18px; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.1; }
.section-heading > p:last-child { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative; min-height: 315px; padding: 32px; background: rgba(255,255,255,.40);
  border: 1px solid var(--line); transition: .28s ease;
}
.service-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 20px 48px rgba(22,33,29,.08); }
.service-number { color: var(--gold); font-family: "Libre Baskerville", serif; font-size: 13px; }
.service-rule { width: 44px; height: 1px; margin: 64px 0 24px; background: var(--gold); }
.service-card h3 { margin: 0 0 15px; font-family: "Libre Baskerville", serif; font-size: 24px; font-weight: 400; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; }

.notice { padding-bottom: 100px; }
.notice-inner {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center;
  padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.notice h2 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.notice-inner > p { color: var(--muted); font-size: 16px; line-height: 1.8; }

.contact-section { padding-bottom: 90px; }
.contact-panel {
  padding: 55px; display: flex; align-items: center; justify-content: space-between; gap: 45px;
  background: var(--forest); color: var(--white); box-shadow: var(--shadow);
}
.light-kicker { color: var(--gold-soft); }
.contact-panel h2 { margin: 10px 0 12px; font-size: clamp(38px, 4vw, 54px); }
.contact-copy > p:last-child { margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.contact-button {
  min-width: 300px; padding: 19px 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px;
  border: 1px solid rgba(213,195,155,.45); transition: .25s ease;
}
.contact-button span { color: var(--gold-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.contact-button strong { grid-column: 1; font-size: 14px; }
.contact-button b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 20px; color: var(--gold-soft); }
.contact-button:hover { background: rgba(255,255,255,.06); border-color: var(--gold-soft); }

.site-footer {
  min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 11px;
}
.footer-brand { transform: scale(.9); transform-origin: left center; }
.footer-note { text-transform: uppercase; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-one { transition-delay: .13s; }
.delay-two { transition-delay: .24s; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.42} }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 60px; }
  .hero-panel { min-height: 430px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-rule { margin-top: 42px; }
  .notice-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 78px; }
  .brand-copy strong { font-size: 15px; }
  .text-nav { display: none; }
  .outline-button { padding: 9px 13px; font-size: 13px; }
  .hero { min-height: auto; padding: 58px 0 70px; }
  .hero h1 { font-size: clamp(45px, 14vw, 66px); }
  .hero-text { font-size: 16px; }
  .status-row { align-items: flex-start; line-height: 1.5; }
  .hero-panel { min-height: 385px; padding: 38px; }
  .justice-mark { transform: scale(.8); margin-left: auto; margin-right: auto; }
  .principles { overflow-x: auto; justify-content: flex-start; }
  .principles span { white-space: nowrap; }
  .services { padding: 90px 0 80px; }
  .notice { padding-bottom: 75px; }
  .contact-panel { padding: 34px 25px; }
  .contact-button { min-width: 0; width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 32px 0; }
}

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