:root {
  --night: #07111b;
  --navy: #0b1b2a;
  --navy-soft: #10283c;
  --gold: #c9a84c;
  --gold-light: #e9d697;
  --ivory: #f7f4ed;
  --paper: #fffdf8;
  --ink: #17212b;
  --muted: #68727a;
  --line: rgba(17, 40, 58, .13);
  --green: #1f8f57;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 168, 76, .15), transparent 30rem),
    radial-gradient(circle at 90% 70%, rgba(39, 75, 105, .26), transparent 34rem),
    #07111b;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; color: var(--night); }
.skip-link:focus { top: 1rem; }

.shell { width: min(100%, 850px); margin: 0 auto; padding: 44px 22px 28px; position: relative; }
.card { overflow: hidden; border-radius: 28px; background: var(--paper); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 100px rgba(0,0,0,.38); }

.hero { position: relative; overflow: hidden; min-height: 530px; padding: 48px 52px 128px; color: white; background: linear-gradient(145deg, #07131f 0%, #0e263a 58%, #0a1825 100%); isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.hero::before { inset: 18px; border: 1px solid rgba(201, 168, 76, .23); border-radius: 18px 18px 0 0; }
.hero::after { width: 380px; height: 380px; right: -170px; bottom: -170px; border-radius: 50%; border: 1px solid rgba(201, 168, 76, .2); box-shadow: 0 0 0 42px rgba(201,168,76,.025), 0 0 0 86px rgba(201,168,76,.018); }
.hero-glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 82% 16%, rgba(201,168,76,.17), transparent 30%), linear-gradient(90deg, transparent 49.85%, rgba(201,168,76,.06) 50%, transparent 50.15%); }
.justice-mark { position: absolute; right: 8px; top: 46px; width: 340px; opacity: .09; color: var(--gold-light); fill: none; stroke: currentColor; stroke-width: 2; z-index: -1; }

.brand { display: flex; align-items: center; gap: 18px; }
.brand > img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.24)); }
.brand-copy { display: grid; gap: 4px; }
.eyebrow, .kicker, .qr-kicker, .section-heading span, .detail-row small, .map-copy small { text-transform: uppercase; letter-spacing: .19em; }
.eyebrow { font-size: 10px; color: var(--gold-light); font-weight: 600; }
.brand-name { font: 600 23px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }

.identity { margin-top: 66px; max-width: 580px; }
.kicker { margin: 0 0 16px; color: var(--gold-light); font-size: 10px; font-weight: 600; }
h1 { margin: 0; font: 500 clamp(46px, 7.5vw, 68px)/.9 var(--display); letter-spacing: -.035em; }
h1 em { color: var(--gold-light); font-weight: 500; }
.role { margin: 22px 0 0; font: 500 14px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.76); }
.expertise { list-style: none; padding: 0; margin: 35px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.expertise li { padding: 7px 12px; color: rgba(255,255,255,.84); font-size: 11px; border: 1px solid rgba(233,214,151,.26); background: rgba(255,255,255,.035); border-radius: 999px; backdrop-filter: blur(4px); }

.content { position: relative; margin-top: -84px; padding: 0 44px 38px; z-index: 2; }
.quick-actions { background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 44px rgba(5,17,28,.16); padding: 12px; }
.primary-action { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 66px; border-radius: 13px; padding: 12px 18px; text-decoration: none; color: white; background: linear-gradient(135deg, #187848, var(--green)); box-shadow: 0 9px 20px rgba(31,143,87,.23); transition: transform .2s ease, box-shadow .2s ease; }
.primary-action:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(31,143,87,.32); }
.primary-action strong, .primary-action small { display: block; }
.primary-action strong { font-size: 14px; }
.primary-action small { margin-top: 3px; color: rgba(255,255,255,.76); font-size: 10px; font-weight: 500; }
.action-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: rgba(255,255,255,.13); }
.action-icon svg { width: 21px; fill: currentColor; }
.secondary-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.secondary-actions a, .secondary-actions button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 47px; padding: 8px 5px; color: var(--navy); border: 0; border-radius: 10px; background: transparent; font: 600 11px var(--sans); text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease; }
.secondary-actions a:hover, .secondary-actions button:hover { color: #8f6f1e; background: rgba(201,168,76,.1); }
.secondary-actions svg, .map-link > svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.information-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 26px; margin-top: 42px; }
.section-heading { margin: 0 0 18px; }
.section-heading span { color: #9a7726; font-size: 9px; font-weight: 600; }
.section-heading h2 { margin: 6px 0 0; color: var(--navy); font: 600 29px/1.05 var(--display); }
.detail-row { display: flex; align-items: flex-start; gap: 13px; padding: 15px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: padding-left .2s ease; }
a.detail-row:hover { padding-left: 5px; }
.detail-icon { display: grid; place-items: center; flex: 0 0 37px; width: 37px; height: 37px; border-radius: 50%; color: #9a7726; background: rgba(201,168,76,.1); }
.detail-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.detail-row > span:last-child { min-width: 0; }
.detail-row small, .detail-row strong, .detail-row b { display: block; }
.detail-row small { margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 600; }
.detail-row strong { color: var(--ink); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.detail-row b { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; font-weight: 500; }
.hours { border-bottom: 0; }

.qr-card { align-self: start; padding: 16px 16px 20px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 14px 30px rgba(10,25,38,.08); }
.qr-frame { position: relative; aspect-ratio: 1; padding: 7px; border: 1px solid rgba(201,168,76,.3); border-radius: 13px; background: white; }
.qr-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 4px solid white; border-radius: 50%; background: var(--navy); box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.qr-logo img { width: 36px; height: 36px; object-fit: contain; }
.qr-kicker { display: block; margin-top: 15px; color: #9a7726; font-size: 8px; font-weight: 600; }
.qr-card > strong { display: block; margin-top: 5px; color: var(--navy); font: 600 17px/1.05 var(--display); }
.qr-card p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }

.map-link { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding: 18px 20px; color: white; text-decoration: none; border-radius: 14px; background: linear-gradient(125deg, var(--navy), var(--navy-soft)); transition: transform .2s ease; }
.map-link:hover { transform: translateY(-1px); }
.map-copy small, .map-copy strong { display: block; }
.map-copy small { margin-bottom: 4px; color: var(--gold-light); font-size: 8px; font-weight: 600; }
.map-copy strong { font: 600 16px var(--display); }

footer { margin-top: 28px; padding-top: 23px; text-align: center; border-top: 1px solid var(--line); }
.site-link { color: #8f6f1e; font: 600 17px var(--display); text-decoration: none; }
footer p { margin: 8px 0 0; color: var(--muted); font-size: 9px; }
.privacy-note { margin: 18px 0 0; text-align: center; color: rgba(255,255,255,.5); font-size: 9px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 20; padding: 10px 16px; color: white; font-size: 12px; border-radius: 999px; background: #10283c; box-shadow: 0 8px 25px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 660px) {
  .shell { padding: 0; }
  .card { border: 0; border-radius: 0; box-shadow: none; }
  .hero { min-height: 510px; padding: max(30px, env(safe-area-inset-top)) 24px 112px; }
  .hero::before { inset: 12px; border-radius: 14px 14px 0 0; }
  .justice-mark { width: 280px; right: -70px; top: 85px; }
  .brand > img { width: 58px; height: 58px; }
  .brand-name { font-size: 20px; }
  .identity { margin-top: 60px; }
  h1 { font-size: clamp(41px, 12.5vw, 55px); }
  .role { max-width: 270px; font-size: 11px; line-height: 1.6; }
  .expertise { gap: 6px; margin-top: 27px; }
  .expertise li { padding: 6px 9px; font-size: 9px; }
  .content { margin-top: -75px; padding: 0 16px calc(30px + env(safe-area-inset-bottom)); }
  .quick-actions { border-radius: 18px; }
  .secondary-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .secondary-actions a, .secondary-actions button { flex-direction: column; gap: 4px; font-size: 9px; }
  .information-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 34px; }
  .qr-card { width: min(100%, 250px); margin: 0 auto; }
  .section-heading h2 { font-size: 27px; }
  .detail-row { padding: 14px 2px; }
  .map-link { margin-top: 30px; }
}

@media (max-width: 370px) {
  .brand-copy .eyebrow { letter-spacing: .12em; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .content { padding-left: 12px; padding-right: 12px; }
  .secondary-actions span { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  body { background: white; }
  body::before, .privacy-note, .toast { display: none; }
  .shell { width: 100%; padding: 0; }
  .card { border-radius: 0; box-shadow: none; }
}
