/* Larnangurag Aboriginal Association Incorporated — Landing Page */
:root {
  --flag-black: #171717;
  --flag-red: #c8272a;
  --flag-yellow: #ffb61d;
  --ink: #29241c;
  --ink-soft: #5c5344;
  --cream: #faf6ee;
  --paper: #ffffff;
  --line: #e7dfd0;
  --wall: #2e2923;
  --wall-soft: #3a342c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- Flag stripe ---------- */
.flag-stripe { display: flex; height: 8px; }
.stripe-black, .stripe-red, .stripe-yellow { flex: 1; }
.stripe-black { background: var(--flag-black); }
.stripe-red { background: var(--flag-red); }
.stripe-yellow { background: var(--flag-yellow); }
.footer-stripe .stripe-black { order: 3; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-text { line-height: 1.2; }
.brand-name {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand-sub {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav a:hover { color: var(--flag-red); border-color: var(--flag-yellow); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 50% -10%, var(--wall-soft), transparent 70%),
    var(--wall);
  color: #f6efe2;
  text-align: center;
  padding: 96px 24px 104px;
}
.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--flag-yellow);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  max-width: 20ch;
  margin: 0 auto 20px;
}
.hero-tagline {
  font-size: 1.15rem;
  color: #d8cfbe;
  max-width: 52ch;
  margin: 0 auto 34px;
}
.hero-tagline strong { color: #fff; font-weight: 600; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  text-decoration: none;
  margin: 0 6px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-gold { background: var(--flag-yellow); color: var(--flag-black); font-weight: 700; }
.btn-gold:hover { background: #ffc94d; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #f6efe2; }
.btn-ghost:hover { border-color: var(--flag-yellow); color: var(--flag-yellow); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: 76px 24px; }
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 14px;
}
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--flag-black), var(--flag-red), var(--flag-yellow));
}
.prose p { margin-bottom: 16px; color: var(--ink-soft); max-width: 72ch; }
.prose strong { color: var(--ink); }

.section-about { background: var(--cream); }
.section-history { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-governance { background: var(--cream); }
.section-contact { background: var(--paper); border-top: 1px solid var(--line); }

/* ---------- Facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact-label { font-size: 0.72rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--flag-red);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.fact-value { font-size: 1.05rem; font-weight: 700; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 40px 0 0; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--flag-black), var(--flag-red), var(--flag-yellow));
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--flag-yellow);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--flag-red);
}
.timeline-year {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--flag-red);
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 10px;
}
.timeline-body h3 { font-size: 1.28rem; margin-bottom: 6px; }
.timeline-body p { color: var(--ink-soft); max-width: 72ch; }
.timeline-item:last-child { padding-bottom: 0; }

/* ---------- Roles ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.role {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--flag-red);
  border-radius: 12px;
  padding: 20px;
}
.role-title { display: block; font-size: 1.12rem; font-weight: 700; margin-bottom: 4px; }
.role-desc { font-size: 0.88rem; color: var(--ink-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* ---------- Governance logo ---------- */
.logo-showcase {
  margin-top: 48px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 24px;
}
.logo-showcase img {
  max-width: 240px;
  max-height: 140px;
  width: auto;
  height: auto;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 12px;
}
.contact-block p { margin-bottom: 10px; color: var(--ink-soft); }
.contact-block strong { color: var(--ink); }
.contact-block a { color: var(--flag-red); text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.contact-country {
  border-left: 4px solid var(--flag-yellow);
  padding-left: 22px;
  font-style: italic;
  color: var(--ink-soft);
}
.country-line { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wall);
  color: #cfc6b4;
  text-align: center;
  padding: 34px 24px 26px;
  font-size: 0.9rem;
}
.site-footer a { color: var(--flag-yellow); text-decoration: none; }
.footer-small { margin-top: 6px; font-size: 0.78rem; letter-spacing: 1px; color: #8d8473; text-transform: uppercase; }
.footer-stripe { height: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 16px; flex-wrap: wrap; }
  .hero { padding: 72px 20px 80px; }
  .btn { display: block; margin: 10px auto; max-width: 260px; }
  .timeline { padding-left: 26px; }
  .timeline-item::before { left: -26px; width: 12px; height: 12px; }
}