:root {
  --espresso: #1c080e;
  --brown: #3a1118;
  --cocoa: #4a1823;
  --tobacco: #a6787d;
  --ivory: #f1e8da;
  --muted: #cbb7b2;
  --line: rgba(241, 232, 218, .22);
  --title: "Monolith", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--espresso); }
body { margin: 0; background: var(--espresso); color: var(--ivory); font-family: var(--sans); font-weight: 300; }
a { color: inherit; text-decoration: none; }

.site-shell { position: relative; min-height: 100vh; overflow: clip; isolation: isolate; }
.photo-backdrop { position: fixed; inset: 0; z-index: -4; background: url('/legal-collage-dark.png') center 15% / cover no-repeat; transform: scale(1.02); filter: grayscale(.12) sepia(.05) saturate(.72); }
.veil { position: fixed; inset: 0; z-index: -3; background: rgba(63, 14, 27, .52); }
.site-shell::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(31,6,13,.86), rgba(67,15,30,.47) 58%, rgba(31,7,14,.69)); }

.justice-wrap { position: fixed; right: -3vw; top: 9vh; width: clamp(330px, 36vw, 580px); height: 86vh; z-index: -1; pointer-events: none; opacity: .64; mix-blend-mode: screen; }
.justice-vector { width: 100%; height: 100%; filter: invert(91%) sepia(22%) saturate(460%) hue-rotate(342deg) brightness(103%); }
.justice-vector svg { width: 100%; height: 100%; display: block; }

.nav { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 25px 5vw; z-index: 5; border-bottom: 1px solid rgba(239,227,208,.13); }
.brand-mark-link { width: 90px; height: 78px; display: block; color: var(--ivory); }
.brand-mark { position: relative; width: 100%; height: 100%; display: block; overflow: hidden; }
.brand-mark img { position: absolute; width: 122%; height: 122%; left: -21%; top: -7%; object-fit: contain; filter: invert(91%) sepia(22%) saturate(460%) hue-rotate(342deg) brightness(103%); }
.nav-link { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.hero { min-height: 82svh; display: flex; align-items: center; padding: 105px 8vw 55px; position: relative; }
.hero-copy { width: min(760px, 68vw); }
.eyebrow, .section-index { margin: 0 0 24px; color: #d6b7b4; font-size: 10px; letter-spacing: .23em; text-transform: uppercase; }
.hero h1, .brief h2, .application-intro h2 { margin: 0; font-family: var(--title); font-weight: 200; letter-spacing: -.055em; }
.hero h1 { max-width: 870px; font-size: clamp(58px, 7vw, 104px); line-height: .96; }
.hero-text { max-width: 565px; margin: 28px 0 30px; color: #d7c6c2; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.primary-cta { width: fit-content; display: flex; align-items: center; gap: 45px; padding: 15px 18px; border: 1px solid rgba(239,227,208,.64); font-size: 10px; letter-spacing: .19em; text-transform: uppercase; transition: .2s ease; }
.primary-cta:hover { background: var(--ivory); color: var(--espresso); }
.primary-cta span { font-size: 17px; }

.section-pad { position: relative; padding: 78px 8vw; border-top: 1px solid var(--line); }
.brief { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; background: rgba(61,15,27,.74); backdrop-filter: blur(5px); }
.brief-heading { max-width: 710px; }
.brief h2 { font-size: clamp(44px, 5vw, 72px); line-height: .96; }
.brief-heading > p:last-child { max-width: 620px; margin: 24px 0 0; color: #cbb8b3; font-size: 16px; line-height: 1.65; }
.brief-points { display: flex; flex-direction: column; }
.brief-points span { padding: 17px 0; border-top: 1px solid var(--line); color: #e3d2ce; font: 300 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.brief-points span:last-child { border-bottom: 1px solid var(--line); }

.application { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; align-items: start; background: rgba(29,7,14,.92); }
.application-intro { position: sticky; top: 70px; }
.application-intro h2 { max-width: 580px; font-size: clamp(45px, 4.5vw, 70px); line-height: .96; }
.application-intro > p:last-child { max-width: 470px; margin: 25px 0 0; color: #c7b4b1; font-size: 15px; line-height: 1.65; }
.application-form { display: flex; flex-direction: column; gap: 22px; max-width: 700px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.application-form label, .application-form legend { color: #d9c5c1; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.application-form input:not([type="radio"]):not([type="checkbox"]), .application-form select, .application-form textarea { display: block; width: 100%; margin-top: 7px; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(239,227,208,.34); border-radius: 0; outline: 0; background: transparent; color: var(--ivory); font: 300 15px/1.4 var(--sans); }
.application-form input::placeholder, .application-form textarea::placeholder { color: #86656a; }
.application-form select { appearance: none; color-scheme: dark; }
.application-form input:focus, .application-form select:focus, .application-form textarea:focus { border-bottom-color: var(--ivory); }
.application-form fieldset { margin: 0; padding: 2px 0 0; border: 0; }
.application-form legend { margin-bottom: 10px; }
.radio-stack { border-top: 1px solid var(--line); }
.radio-option { display: grid; grid-template-columns: 18px 36px 1fr; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px !important; line-height: 1.35; letter-spacing: 0 !important; text-transform: none !important; }
.radio-option input, .consent input { accent-color: #ad6674; }
.radio-number { color: #9a737b; font-size: 9px; }
.consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: #a58c90 !important; font-size: 11px !important; line-height: 1.45; letter-spacing: 0 !important; text-transform: none !important; }
.consent input { margin-top: 2px; }
.submit-button { width: 100%; margin-top: 2px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--ivory); background: var(--ivory); color: #3a1118; cursor: pointer; font: 400 10px/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; transition: .2s ease; }
.submit-button:hover { background: #d5b8b4; border-color: #d5b8b4; }
.submit-button:disabled { opacity: .55; cursor: wait; }
.submit-button span { font-size: 17px; }
.form-message { margin: -6px 0 0; font-size: 13px; }
.success { color: #dec6c2; }
.error { color: #e0a096; }

footer { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 32px 5vw; border-top: 1px solid var(--line); background: #210910; color: #9e8085; font-size: 10px; }
.footer-mark { width: 82px; height: 71px; }
footer p { margin: 0; }

@media (max-width: 800px) {
  .photo-backdrop { background-position: center top; }
  .site-shell::after { background: rgba(57,13,25,.43); }
  .nav { padding: 20px; }
  .brand-mark-link { width: 78px; height: 68px; }
  .nav-link { font-size: 8px; }
  .justice-wrap { width: 79vw; height: 67svh; right: -27vw; top: 12svh; opacity: .50; }
  .hero { min-height: 84svh; padding: 95px 22px 52px; align-items: flex-end; }
  .hero-copy { width: 100%; padding-bottom: 18px; }
  .hero h1 { max-width: 94%; font-size: clamp(49px, 14.5vw, 68px); }
  .hero-text { max-width: 90%; margin: 22px 0 25px; font-size: 15px; }
  .primary-cta { width: 100%; justify-content: space-between; }
  .section-pad { padding: 60px 22px; }
  .eyebrow, .section-index { margin-bottom: 18px; font-size: 8px; }
  .brief { grid-template-columns: 1fr; gap: 35px; }
  .brief h2 { font-size: 44px; }
  .brief-heading > p:last-child { font-size: 14px; margin-top: 18px; }
  .brief-points span { padding: 13px 0; font-size: 11px; }
  .application { grid-template-columns: 1fr; gap: 38px; }
  .application-intro { position: static; }
  .application-intro h2 { font-size: 43px; }
  .application-intro > p:last-child { font-size: 14px; }
  .two-col { grid-template-columns: 1fr; gap: 22px; }
  .application-form { gap: 20px; }
  .radio-option { padding: 13px 0; font-size: 13px !important; }
  footer { align-items: flex-start; flex-direction: column; padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
