@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy-deep:   #0A1628;
  --navy-mid:    #1B3A6B;
  --navy-light:  #2E5FA3;
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --cream:       #F8F5EE;
  --cream-dark:  #EDE9DF;
  --text:        #1A1A2E;
  --text-muted:  #5A6070;
  --white:       #FFFFFF;
  --border:      #D8D2C4;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text); }
a { color: var(--navy-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

/* ── HEADER / NAV ── */
.site-header {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo__mark {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-deep);
  flex-shrink: 0;
}

.nav-logo__text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 3px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy-deep) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  background: var(--navy-deep);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(46,95,163,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: 'UA';
  position: absolute;
  right: -1rem;
  bottom: -3rem;
  font-family: 'Playfair Display', serif;
  font-size: 20rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover { border-color: var(--white); color: var(--white); }
.btn--navy {
  background: var(--navy-mid);
  color: var(--white);
  border-color: var(--navy-mid);
}
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

/* ── SECTION ── */
.section { padding: 5rem 2rem; }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy-deep); }

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section__title { margin-bottom: 1rem; }
.section__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── PILLARS GRID ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar {
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 2rem 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.pillar__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--navy-deep); }
.pillar p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* ── FEATURED BILL ── */
.bill-card {
  background: var(--navy-mid);
  color: var(--white);
  padding: 3rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}
.bill-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.15), transparent 70%);
  pointer-events: none;
}
.bill-card__badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.bill-card h2 { color: var(--white); margin-bottom: 1rem; }
.bill-card p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.bill-card__content { flex: 1; min-width: 260px; }

/* ── BLOG GRID ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.post-card__meta {
  padding: 1.5rem 1.5rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.post-card__title {
  padding: 0.5rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy-deep);
  line-height: 1.35;
}
.post-card__excerpt {
  padding: 0.25rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}
.post-card__link {
  display: block;
  padding: 0.75rem 1.5rem;
  background: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-mid);
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.post-card__link:hover { background: var(--cream-dark); color: var(--navy-mid); }

/* ── MEMBERS GRID ── */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.member-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.member-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid var(--gold);
  background: var(--cream-dark);
}
.member-card__avatar--placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy-mid);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}
.member-card__name { font-size: 1.1rem; margin-bottom: 0.25rem; }
.member-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.member-card__bio { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.member-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.member-card__link:hover { color: var(--gold); }

/* ── MEMBER PROFILE PAGE (linktree style) ── */
.profile-hero {
  background: var(--navy-deep);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  object-fit: cover;
  margin: 0 auto 1.25rem;
  display: block;
  background: var(--navy-mid);
}
.profile-name { color: var(--white); margin-bottom: 0.25rem; }
.profile-role {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.profile-bio { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 1.5rem; font-size: 0.95rem; }

.profile-links {
  max-width: 480px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.profile-link-btn {
  display: block;
  padding: 0.9rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 3px;
  transition: all 0.2s;
}
.profile-link-btn:hover { border-color: var(--navy-mid); background: var(--cream); color: var(--navy-mid); }
.profile-link-btn--primary {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}
.profile-link-btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

/* ── BLOG POST ── */
.post-header {
  background: var(--navy-deep);
  padding: 5rem 2rem 4rem;
}
.post-header .post-meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.post-header h1 { color: var(--white); max-width: 700px; }
.post-author { color: rgba(255,255,255,0.6); margin-top: 1rem; font-size: 0.9rem; }

.post-body {
  padding: 4rem 2rem;
}
.post-body .container--narrow h2 { margin: 2.5rem 0 1rem; }
.post-body .container--narrow h3 { margin: 2rem 0 0.75rem; color: var(--navy-mid); }
.post-body .container--narrow p { font-size: 1.05rem; line-height: 1.8; }
.post-body .container--narrow ul, 
.post-body .container--narrow ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-body .container--narrow li { margin-bottom: 0.4rem; font-size: 1.05rem; }
blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--cream);
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy-mid);
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy-deep);
  padding: 4rem 2rem 3rem;
}
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.65); margin-top: 0.75rem; font-size: 1.05rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-deep);
  border-top: 3px solid var(--gold);
  padding: 4rem 2rem 2rem;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── UTILITY ── */
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--cream-dark);
  color: var(--navy-mid);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep); padding: 1.5rem 2rem; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bill-card { flex-direction: column; gap: 1.5rem; }
  .hero { padding: 4rem 1.5rem 3.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container, .container--narrow { padding: 0 1.25rem; }
}
