:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --amber: #f2a51a;
  --amber-dark: #c9850a;
  --text: #3d4a57;
  --heading: #12263a;
  --muted: #6b7785;
  --bg-alt: #f3f5f8;
  --line: #dfe4ea;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(15, 42, 68, .08);
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--font-head); color: var(--heading); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.eyebrow {
  margin-bottom: .5rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.muted { color: var(--muted); }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { color: var(--navy); background: var(--amber); }
.btn-primary:hover { background: #ffb933; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn-ghost:hover { color: var(--navy); background: var(--white); border-color: var(--white); }

/* Top bar & header */
.top-bar { font-size: .85rem; color: rgba(255, 255, 255, .85); background: var(--navy); }
.top-bar-inner { display: flex; justify-content: flex-end; gap: 24px; padding-top: 6px; padding-bottom: 6px; }
.top-bar a { color: inherit; text-decoration: none; }
.top-bar a:hover { color: var(--amber); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--heading); }
.brand-tag { font-size: .8rem; color: var(--muted); }

.nav-list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  position: relative;
  display: block;
  padding: 26px 0;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  color: var(--heading);
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  background: var(--white);
  transition: transform .3s, background .3s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(110deg, rgba(15, 42, 68, .96) 35%, rgba(15, 42, 68, .7)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 0h80v80H0z' fill='none' stroke='%23ffffff' stroke-opacity='.07'/%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--navy-2), var(--navy));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -6%; bottom: -10%;
  width: min(620px, 60vw);
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23f2a51a' stroke-width='1.2' stroke-opacity='.55'%3E%3Cpath d='M20 180h160M40 180V70l50-40 50 40v110M40 70h100M60 180V90h30v90M110 180v-60h20v60'/%3E%3Cpath d='M150 180V40l30-10v150M150 60l30-10M150 90l30-10M150 120l30-10M150 150l30-10'/%3E%3Cpath d='M0 120l60-30M0 140l60-30' stroke-opacity='.3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .9;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 1180px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { max-width: 720px; font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--white); }
.hero-lead { max-width: 640px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Sections */
.section { padding: clamp(64px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.about > * { min-width: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.fact {
  padding: 22px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.fact dt { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--heading); }

/* Documents */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.doc-grid > * { min-width: 0; }
.doc-card {
  padding: 28px;
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.doc-card-wide { grid-column: 1 / -1; }
.doc-grid-small { margin-top: 24px; }
.doc-card-note { grid-column: span 2; }
.doc-card h3 { margin-bottom: 14px; }
.doc-card p { margin: 0; font-size: .95rem; }
.doc-year {
  margin: 14px 0 8px !important;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--amber-dark);
}
.doc-year:first-of-type { margin-top: 0 !important; }
.doc-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.doc-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy-2);
  text-decoration: none;
  background: var(--bg-alt);
  transition: border-color .2s, background .2s, color .2s;
}
.doc-list a:hover { border-color: var(--amber); background: #fff7e6; color: var(--navy); }
.doc-icon { flex: none; color: #c0392b; }

/* Board */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.board-table { width: 100%; border-collapse: collapse; background: var(--white); }
.board-table th,
.board-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.board-table th { font-family: var(--font-head); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--navy); }
.board-table tbody tr:last-child td { border-bottom: 0; }
.board-table td:first-child { font-weight: 600; color: var(--heading); }

/* Registrar */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-cols > * { min-width: 0; }
.info-card { padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.info-card address { margin-bottom: 18px; }
.info-list { margin: 0; }
.info-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.info-list dt { font-weight: 600; color: var(--heading); }
.info-list dd { margin: 0; overflow-wrap: anywhere; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.contact-grid > * { min-width: 0; }
.contact-card { padding: 32px 26px; border-radius: var(--radius); text-align: center; background: var(--bg-alt); }
.contact-card svg { margin: 0 auto 14px; color: var(--amber-dark); }
.contact-card p, .contact-card address { margin: 0; }
.contact-card a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { color: rgba(255, 255, 255, .8); background: var(--navy); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { margin: 0; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--white); }
.footer-tag { margin: 0; font-size: .9rem; color: var(--amber); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: inherit; text-decoration: none; }
.footer-nav a:hover { color: var(--amber); }
.copyright { padding-top: 18px; padding-bottom: 18px; font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.copyright p { margin: 0; }

/* Responsive */
@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    padding: 8px 24px 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .about, .contact-cols { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
  .container { padding: 0 16px; }
  .top-bar-inner { justify-content: center; flex-wrap: wrap; gap: 4px 16px; }
  .brand-name { font-size: 1rem; }
  .doc-grid, .contact-grid, .facts { grid-template-columns: 1fr; }
  .doc-card-note { grid-column: auto; }
  .doc-card, .info-card { padding: 22px; }
  .info-list div { grid-template-columns: 70px 1fr; }
  .board-table th, .board-table td { padding: 12px 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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

.release-not-found main { display: block; width: 100%; max-width: 640px; min-height: 0; margin: 10vh auto; padding: 32px; box-sizing: border-box; }
.release-not-found h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.2; letter-spacing: normal; }
