/* ============ OHAI COUNCIL - SHARED STYLES ============ */
:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E5A;
  --navy-pale: #EEF1F6;
  --gold: #C5981B;
  --gold-light: #D4AE3A;
  --gold-pale: #FAF6EB;
  --dark: #1A1A1A;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg: #FAFAF8;
  --white: #FFFFFF;
  --border: #E8E6E1;
  --red: #8B1A1A;
  --red-pale: #FFF5F5;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans); color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 30px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 8px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--serif); font-size: 18px; font-weight: 700;
}
.nav-logo-text { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-light); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 8px !important;
  font-weight: 600 !important; font-size: 13px !important;
  letter-spacing: 0.03em !important; transition: all 0.25s !important;
}
.nav-cta:hover { background: var(--navy-light) !important; transform: translateY(-1px); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after {
  content: ''; width: 0; height: 0; border-left: 4px solid transparent;
  border-right: 4px solid transparent; border-top: 4px solid var(--text-lighter);
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: -16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 0; min-width: 240px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  margin-top: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 24px; font-size: 14px; color: var(--text-light);
  transition: all 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--navy-pale); color: var(--navy); }
.nav-dropdown-menu a small { display: block; font-size: 11px; color: var(--text-lighter); margin-top: 2px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: all 0.3s; }

/* PAGE HERO (interior) */
.page-hero {
  padding: 140px 40px 80px; text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197,152,27,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.1;
  color: var(--navy); margin-bottom: 20px; letter-spacing: -0.02em;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.page-hero p {
  font-size: 18px; line-height: 1.7; color: var(--text-light);
  max-width: 600px; margin: 0 auto;
}

/* CONTENT SECTIONS */
.content-section {
  max-width: 860px; margin: 0 auto; padding: 80px 40px;
}
.content-section.wide { max-width: 1200px; }
.content-section h2 {
  font-family: var(--serif); font-size: 32px; font-weight: 600;
  color: var(--navy); margin: 48px 0 16px; line-height: 1.2;
}
.content-section h2:first-child { margin-top: 0; }
.content-section h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  color: var(--navy); margin: 32px 0 12px;
}
.content-section h4 {
  font-size: 16px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.05em; margin: 24px 0 8px;
}
.content-section p {
  font-size: 17px; line-height: 1.8; color: var(--text); margin-bottom: 16px;
}
.content-section p.lead {
  font-size: 20px; line-height: 1.7; color: var(--text-light);
}
.content-section ul, .content-section ol {
  margin: 16px 0 24px 24px; font-size: 16px; line-height: 1.7; color: var(--text);
}
.content-section li { margin-bottom: 8px; }

/* ARTICLE CARDS (for Bill of Rights, Constitution articles) */
.article-block {
  padding: 40px; margin: 32px 0; border-radius: 16px;
  border: 1px solid var(--border); background: var(--white);
}
.article-block-num {
  font-family: var(--serif); font-size: 14px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 8px;
}
.article-block h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  color: var(--navy); margin: 0 0 16px; line-height: 1.3;
}
.article-block p { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 12px; }
.article-block p:last-child { margin-bottom: 0; }

/* IRON RULE CARDS */
.iron-card {
  padding: 32px; margin: 20px 0; border-radius: 14px;
  border-left: 5px solid var(--red); background: var(--red-pale);
}
.iron-card h4 {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--red); margin: 0 0 8px; letter-spacing: 0;
}
.iron-card p { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0; }

/* CALLOUT BOX */
.callout {
  padding: 32px 36px; margin: 32px 0; border-radius: 14px;
  border: 1px solid var(--border); background: var(--gold-pale);
  border-left: 5px solid var(--gold);
}
.callout.navy { background: var(--navy-pale); border-left-color: var(--navy); }
.callout.red { background: var(--red-pale); border-left-color: var(--red); }
.callout h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0 0 8px; letter-spacing: 0; }
.callout p { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0; }
.callout p + p { margin-top: 12px; }

/* QUOTE BLOCK */
.quote-block {
  padding: 48px; margin: 48px 0; border-radius: 20px;
  background: var(--navy); text-align: center;
}
.quote-block p {
  font-family: var(--serif); font-size: 24px; line-height: 1.5;
  color: var(--white); font-style: italic; margin-bottom: 16px;
}
.quote-block p:last-child { color: var(--gold); font-weight: 600; font-style: normal; margin-bottom: 0; }

/* TABLES */
.styled-table {
  width: 100%; border-collapse: collapse; margin: 24px 0 32px;
  font-size: 15px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.styled-table thead th {
  background: var(--navy); color: var(--white); padding: 14px 18px;
  text-align: left; font-weight: 600; font-size: 13px;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.styled-table tbody td {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  color: var(--text); vertical-align: top;
}
.styled-table tbody tr:last-child td { border-bottom: none; }
.styled-table tbody tr:nth-child(even) { background: var(--bg); }
.styled-table tbody tr:hover { background: var(--navy-pale); }

/* STEP FLOW */
.step-flow { display: flex; flex-direction: column; gap: 24px; margin: 32px 0; }
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--white); transition: all 0.3s;
}
.step-item:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--gold);
}
.step-content h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 6px; letter-spacing: 0; }
.step-content p { font-size: 15px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }

/* STAT CARDS */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 32px 0; }
.stat-box {
  padding: 28px; background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; text-align: center;
}
.stat-box .num {
  font-family: var(--serif); font-size: 48px; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.stat-box .label {
  font-size: 13px; color: var(--text-lighter); margin-top: 8px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
}

/* DIVIDERS */
.divider {
  height: 1px; background: var(--border); margin: 48px 0;
}
.divider.gold { background: var(--gold); opacity: 0.3; }

/* BUTTONS */
.btn-primary {
  background: var(--navy); color: var(--white);
  padding: 16px 36px; border-radius: 10px; border: none;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(27,42,74,0.2); }
.btn-secondary {
  background: transparent; color: var(--navy);
  padding: 16px 36px; border-radius: 10px; border: 1.5px solid var(--border);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-secondary:hover { border-color: var(--navy); background: var(--navy-pale); }

/* FORM STYLES */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; color: var(--navy);
  margin-bottom: 8px;
}
.form-group label span { color: var(--red); }
.form-input {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: var(--sans); font-size: 15px;
  color: var(--text); background: var(--white); transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,74,0.08); }
.form-input::placeholder { color: var(--text-lighter); }
textarea.form-input { min-height: 120px; resize: vertical; }
select.form-input { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint { font-size: 13px; color: var(--text-lighter); margin-top: 6px; }
.form-section-title {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--navy); margin: 40px 0 20px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-section-title:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }

/* CHECKBOX / RADIO */
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; cursor: pointer; }
.form-check input { margin-top: 3px; accent-color: var(--navy); }
.form-check span { font-size: 15px; color: var(--text); }

/* BACK LINK */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-light);
  text-decoration: none; margin-bottom: 24px; transition: color 0.2s;
}
.back-link:hover { color: var(--navy); }
.back-link::before { content: '\2190'; }

/* BREADCRUMB */
.breadcrumb {
  max-width: 860px; margin: 0 auto; padding: 100px 40px 0;
  font-size: 13px; color: var(--text-lighter);
}
.breadcrumb.wide { max-width: 1200px; }
.breadcrumb a { color: var(--text-lighter); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 8px; }

/* SECTION BAND */
.band {
  padding: 80px 40px; text-align: center;
}
.band.navy { background: var(--navy); color: var(--white); }
.band.navy .section-title { color: var(--white); }
.band.navy .section-desc { color: rgba(255,255,255,0.6); }
.band.light { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band.gold-pale { background: var(--gold-pale); }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.15;
  color: var(--navy); margin-bottom: 16px; letter-spacing: -0.01em;
}
.section-desc {
  font-size: 18px; line-height: 1.7; color: var(--text-light);
  max-width: 600px; margin: 0 auto;
}

/* CTA SECTION */
.cta-section {
  text-align: center; padding: 100px 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--navy-pale) 100%);
}

/* FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,0.5); padding: 80px 40px 40px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
}
.footer-brand h3 { font-family: var(--serif); font-size: 22px; color: var(--white); margin-bottom: 16px; font-weight: 600; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 60px auto 0; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 24px 40px;
    border-bottom: 1px solid var(--border); gap: 16px;
  }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; margin: 0; display: block !important; }
  .page-hero { padding: 120px 24px 60px; }
  .content-section { padding: 60px 24px; }
  .breadcrumb { padding: 90px 24px 0; }
  .grid-2, .grid-3, .stat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
