/* Life of the Party — shared styles */

:root {
  --navy: #0B1E2A;
  --navy-deep: #081722;
  --gold: #B08437;
  --gold-soft: #C49A52;
  --cream: #F7F3EC;
  --cream-warm: #EFE8DA;
  --slate: #333E51;
  --slate-soft: #5A6478;
  --rule: rgba(176, 132, 55, 0.35);

  --serif: "Source Serif 4", "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --prose: 680px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- NAV ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 40px;
  transition: background-color 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.solid {
  background: var(--navy);
  border-bottom-color: rgba(247, 243, 236, 0.08);
  padding: 16px 40px;
}

.nav__brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__brand-mark {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.nav__links {
  display: flex;
  gap: 36px;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.85);
}

.nav__links a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav__links a:hover { color: var(--gold-soft); }
.nav__links a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
}

.nav__cta {
  justify-self: end;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(176, 132, 55, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 243, 236, 0.25);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn--sm { padding: 10px 18px; font-size: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--gold-soft); border-color: var(--gold); }
.text-link--dark { color: var(--slate); }
.text-link--dark:hover { color: var(--gold); }

/* ---------- TYPE ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0;
}

.subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  color: rgba(247, 243, 236, 0.82);
  margin: 0;
}

.lede {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.78);
  max-width: 52ch;
  margin: 0;
}

h2.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--slate);
}

.section-title--light { color: var(--cream); }

/* ---------- LAYOUT HELPERS ---------- */

.section {
  padding: 120px 40px;
  position: relative;
}

.section--navy { background: var(--navy); color: var(--cream); }
.section--cream { background: var(--cream); color: var(--slate); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
}

.prose {
  max-width: var(--prose);
  margin: 0 auto;
}

/* Smooth color transition between sections */
.transition-band {
  height: 80px;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--cream) 100%);
}
.transition-band--reverse {
  background: linear-gradient(to bottom, var(--cream) 0%, var(--navy) 100%);
}

/* ---------- PULL QUOTE ---------- */

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.4;
  color: var(--slate);
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 32px;
  margin: 48px 0;
}
.pullquote--light { color: var(--cream); }

/* ---------- FOOTER ---------- */

.footer {
  background: var(--navy-deep);
  color: rgba(247, 243, 236, 0.6);
  padding: 64px 40px 40px;
  font-size: 13px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.08);
}
.footer__brand {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 16px;
  display: flex; align-items: center; gap: 10px;
}
.footer__links {
  display: flex; gap: 28px;
  justify-content: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}
.footer__links a:hover { color: var(--gold-soft); }
.footer__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer__publisher {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.45);
  white-space: nowrap;
}
.footer__publisher img {
  height: 100px;
  width: auto;
  display: block;
}
.footer__social {
  display: flex; gap: 16px;
}
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(247, 243, 236, 0.15);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold-soft); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- MOBILE ---------- */

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding: 16px 20px;
  }
  .nav__links { display: none; }
  .section { padding: 80px 24px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__links { flex-wrap: wrap; }
  .footer__right { justify-self: center; flex-direction: column; gap: 20px; }
  .footer__publisher { flex-direction: column; text-align: center; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
