:root {
  --navy: #070b3f;
  --navy-2: #101759;
  --blue: #183873;
  --cyan: #42d9ef;
  --cyan-dark: #0c8fa6;
  --ink: #18233a;
  --muted: #647087;
  --line: #dbe1e9;
  --paper: #f5f7fa;
  --white: #ffffff;
  --font-manrope: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-libre: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-manrope), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.utility-bar { background: var(--navy); color: #dbe5ff; font-size: 12px; letter-spacing: .035em; }
.utility-inner { height: 38px; display: flex; align-items: center; justify-content: space-between; }
.utility-contact { display: flex; gap: 12px; align-items: center; }
.utility-bar a:hover { color: var(--cyan); }
.utility-login { text-transform: uppercase; font-weight: 800; font-size: 11px; letter-spacing: .12em; display: flex; gap: 9px; align-items: center; }

.site-header { height: 96px; background: rgba(255,255,255,.98); position: relative; z-index: 10; box-shadow: 0 1px 0 rgba(13,26,58,.09); }
.header-inner { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand > img { width: 69px; height: 69px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; max-width: 295px; }
.brand-copy strong { color: var(--navy); font-family: var(--font-libre), Georgia, serif; font-size: 25px; letter-spacing: .08em; line-height: 1.1; }
.brand-copy span { color: #5f687b; font-size: 9.5px; font-weight: 700; letter-spacing: .055em; line-height: 1.35; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 33px); font-size: 13px; font-weight: 750; color: #34405a; }
.desktop-nav > a:not(.nav-button) { padding: 39px 0 35px; border-bottom: 3px solid transparent; }
.desktop-nav > a:hover, .desktop-nav > a.active { color: var(--navy); border-color: var(--cyan); }
.nav-button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; transition: transform .2s, background .2s; }
.nav-button { color: white; background: var(--navy); padding: 14px 19px; }
.nav-button:hover, .button:hover { transform: translateY(-2px); }
.mobile-nav { display: none; }

.hero { min-height: 590px; position: relative; background: var(--navy); overflow: hidden; color: white; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,63,1) 0%, rgba(7,11,63,.97) 43%, rgba(7,11,63,.48) 68%, rgba(7,11,63,.10) 100%); }
.hero-photo { position: absolute; inset: 0 0 0 39%; background: url("images/courthouse-pillars.jpg") center 42%/cover no-repeat; filter: saturate(.55) contrast(1.06); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(7,11,63,.25)); }
.hero-inner { min-height: 590px; display: flex; align-items: center; position: relative; z-index: 2; }
.hero-copy { max-width: 680px; padding: 70px 0 82px; }
.eyebrow { margin: 0 0 19px; color: var(--cyan-dark); font-size: 11px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.light { color: var(--cyan); }
.eyebrow span { margin: 0 8px; opacity: .65; }
.hero h1 { max-width: 770px; margin: 0; font-family: var(--font-libre), Georgia, serif; font-size: clamp(45px, 5.25vw, 72px); line-height: 1.06; letter-spacing: -.035em; font-weight: 400; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 610px; margin: 28px 0 0; color: #d9e0ef; font-size: 17px; line-height: 1.8; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 24px; }
.button-accent { background: var(--cyan); color: var(--navy); box-shadow: 0 10px 30px rgba(66,217,239,.18); }
.button-accent:hover { background: #76e7f7; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(7,11,63,.25); padding-bottom: 5px; }
.light-link { color: white; border-color: rgba(255,255,255,.35); }

.quick-links { position: relative; z-index: 4; margin-top: -30px; }
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); background: white; box-shadow: 0 18px 55px rgba(15,28,66,.15); }
.quick-grid > a { min-height: 126px; padding: 27px 30px; display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 14px; border-right: 1px solid var(--line); transition: background .2s; }
.quick-grid > a:last-child { border: 0; }
.quick-grid > a:hover { background: #f2fbfd; }
.quick-number { color: var(--cyan-dark); font-size: 10px; font-weight: 900; letter-spacing: .12em; align-self: start; padding-top: 4px; }
.quick-grid strong, .quick-grid small { display: block; }
.quick-grid strong { color: var(--navy); font-family: var(--font-libre), Georgia, serif; font-size: 17px; }
.quick-grid small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.quick-grid > a > span:last-of-type + span { color: var(--cyan-dark); }

.section-pad { padding: 118px 0; }
.two-column { display: grid; grid-template-columns: .92fr 1.08fr; gap: 105px; align-items: center; }
.photo-frame { position: relative; min-height: 500px; }
.flag-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; filter: saturate(.77); }
.photo-frame::before { content: ""; position: absolute; width: 72%; height: 80%; left: -18px; bottom: -18px; background: var(--cyan); z-index: -1; }
.state-mark { position: absolute; width: 145px; height: 145px; right: -34px; bottom: -30px; display: grid; place-items: center; background: white; box-shadow: 0 14px 40px rgba(19,33,67,.17); }
.state-mark img { width: 66px; height: 94px; object-fit: contain; }
.section-copy h2, .section-intro h2, .event-heading h2, .join-content h2 { margin: 0; font-family: var(--font-libre), Georgia, serif; color: var(--navy); font-size: clamp(36px,4vw,52px); line-height: 1.15; letter-spacing: -.035em; font-weight: 400; }
.section-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.85; }
.section-copy .lead-quote { color: var(--blue) !important; font-family: var(--font-libre), Georgia, serif; font-size: 19px !important; line-height: 1.65 !important; margin-top: 28px; }
.section-copy .text-link { margin-top: 17px; }

.event-band { background: var(--navy); color: white; position: relative; overflow: hidden; }
.event-band::before { content: "AL"; position: absolute; right: -40px; top: -75px; color: rgba(255,255,255,.025); font: 700 340px/1 var(--font-libre), Georgia, serif; }
.event-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 85px; align-items: center; position: relative; }
.event-heading h2 { color: white; font-size: clamp(35px, 4vw, 50px); }
.event-heading > p:not(.eyebrow) { color: #bcc5dc; line-height: 1.75; margin: 22px 0 27px; }
.event-card { display: grid; grid-template-columns: 170px 1fr; background: white; color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.event-date { background: var(--cyan); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; }
.event-date span { font-size: 11px; letter-spacing: .2em; font-weight: 900; }
.event-date strong { font-family: var(--font-libre), Georgia, serif; font-size: 42px; margin: 9px 0 3px; letter-spacing: -.06em; }
.event-date small { font-weight: 800; }
.event-details { padding: 43px 45px; }
.event-tag { color: var(--cyan-dark); text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.event-details h3 { margin: 12px 0 13px; color: var(--navy); font: 400 29px/1.25 var(--font-libre), Georgia, serif; }
.event-details p { color: var(--muted); font-size: 13px; line-height: 1.75; margin-bottom: 25px; }
.button-navy { background: var(--navy); color: white; min-height: 46px; }

.benefits { background: var(--paper); }
.section-intro { max-width: 730px; margin: 0 auto 53px; text-align: center; }
.section-intro > p:last-child { color: var(--muted); line-height: 1.7; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.benefit-grid article { background: white; border-top: 3px solid var(--cyan); padding: 36px 35px 39px; box-shadow: 0 6px 30px rgba(15,28,66,.06); }
.benefit-icon { color: var(--cyan-dark); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.benefit-grid h3 { color: var(--navy); margin: 29px 0 13px; font: 400 21px/1.25 var(--font-libre), Georgia, serif; }
.benefit-grid p { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0; }

.join-banner { min-height: 470px; color: white; position: relative; display: flex; align-items: center; overflow: hidden; }
.join-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,63,.98) 0%, rgba(7,11,63,.88) 48%, rgba(7,11,63,.32) 100%), url("images/court-gavel.png") right center/cover no-repeat; }
.join-content { position: relative; z-index: 1; padding: 80px 0; }
.join-content h2 { color: white; max-width: 690px; }
.join-content > p:not(.eyebrow) { color: #d5dced; max-width: 610px; line-height: 1.7; margin: 22px 0 28px; }

footer { background: #04072b; color: #c1c9dc; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.1fr; gap: 60px; padding-bottom: 55px; }
.footer-brand img { width: 104px; height: 100px; object-fit: contain; background: white; padding: 5px; }
.footer-brand p { max-width: 260px; font-size: 11px; line-height: 1.65; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid h3 { color: white; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; margin: 8px 0 20px; }
.footer-grid > div:not(.footer-brand) > a { display: block; font-size: 12px; margin: 0 0 12px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-grid address, .footer-grid p { font-style: normal; font-size: 12px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); min-height: 65px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #7e89a2; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { width: 44px; height: 44px; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 19px; height: 2px; background: white; }
  .mobile-menu { position: absolute; width: 220px; right: 0; top: 52px; padding: 13px; background: white; box-shadow: 0 15px 45px rgba(8,15,50,.2); }
  .mobile-menu a { display: block; padding: 12px 13px; color: var(--navy); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .two-column { gap: 65px; }
  .event-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); }
  .utility-contact a:nth-of-type(2), .utility-contact span { display: none; }
  .site-header { height: 82px; }
  .brand > img { width: 57px; height: 57px; }
  .brand-copy strong { font-size: 21px; }
  .brand-copy span { display: none; }
  .hero, .hero-inner { min-height: 620px; }
  .hero-photo { inset: 0; opacity: .32; }
  .hero::after { background: linear-gradient(90deg, rgba(7,11,63,.98), rgba(7,11,63,.75)); }
  .hero-copy { padding: 64px 0 98px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 23px; }
  .quick-links { margin-top: -45px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > a { min-height: 104px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-pad { padding: 82px 0; }
  .two-column { grid-template-columns: 1fr; gap: 72px; }
  .photo-frame { min-height: 390px; }
  .state-mark { right: -6px; bottom: -25px; width: 120px; height: 120px; }
  .event-card { grid-template-columns: 1fr; }
  .event-date { min-height: 120px; flex-direction: row; gap: 15px; }
  .event-date strong { font-size: 34px; }
  .event-details { padding: 34px 28px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-grid > div:last-child { grid-column: 1 / 3; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
}

@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .quick-grid > a { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
