/* ============================================
   Global Business Club — CU Boulder
   Design system: navy/gold, sleek corporate
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #050a30;
  --navy-light: #0d1650;
  --navy-pale: #131c5c;
  --gold: #e4be63;
  --gold-dark: #c9a04d;
  --gold-pale: #f3e4c2;
  --white: #ffffff;
  --off-white: #f7f6f2;
  --ink: #14183a;
  --ink-soft: #4a4f72;
  --line: rgba(5, 10, 48, 0.12);
  --line-on-dark: rgba(228, 190, 99, 0.28);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Latitude/longitude grid motif ---------- */
/* A quiet nod to the globe on the crest — used as a background texture, never decoration for its own sake */
.grid-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-on-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.current { color: var(--gold); }

.nav-links a.current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.btn-join {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 12px 30px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-join:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p.lede {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover { background: var(--white); transform: translateY(-2px); }

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-block;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(228,190,99,0.08);
}

/* ---------- Section basics ---------- */
section { padding: 84px 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold-dark);
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 20px;
  line-height: 1.2;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0 0 16px;
}

.about-media {
  position: relative;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--white);
}

.about-media img { width: 100%; }

/* ---------- Meeting info strip ---------- */
.info-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.info-item {
  padding: 40px 32px;
  border-left: 1px solid var(--line);
  text-align: left;
}

.info-item:first-child { border-left: none; }

.info-item .info-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.info-item .info-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 600;
}

.info-item .info-sub {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-on-dark);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img { height: 40px; width: 40px; object-fit: contain; }

.footer-brand-text {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero-inner { position: relative; z-index: 2; }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin: 0 0 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0;
}

/* ---------- Exec board ---------- */
.board-group-photo {
  margin-bottom: 64px;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--white);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.board-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.board-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.board-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-pale);
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-info { padding: 20px 22px 24px; }

.board-info h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--navy);
  margin: 0 0 4px;
  font-weight: 600;
}

.board-role {
  color: var(--gold-dark);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.board-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.board-contact a:hover { color: var(--navy); }

/* ---------- Calendar ---------- */
.cal-note {
  color: var(--ink-soft);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.cal-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.cal-card-label {
  padding: 14px 20px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.cal-card img { width: 100%; }

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-details {
  background: var(--navy);
  color: var(--white);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.contact-details h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 20px;
  position: relative;
  z-index: 2;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.contact-row .c-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.contact-row a, .contact-row span {
  font-size: 0.95rem;
}

.contact-row span {
  color: rgba(255,255,255,0.85);
}

.contact-row a {
  color: var(--gold-pale);
  text-decoration: underline;
  text-decoration-color: rgba(228,190,99,0.45);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-row a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 2px;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
}

.btn-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn-submit:hover { background: var(--navy-light); }

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
    display: none;
    border-bottom: 1px solid var(--line-on-dark);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .nav-toggle { display: block; }

  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item { border-left: none; border-top: 1px solid var(--line); }
  .info-item:first-child { border-top: none; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .board-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .nav { padding: 12px 20px; }
  .container { padding: 0 20px; }
}

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