/* ── Reset & Base ─────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --cream: #faf8f4;
  --text-muted: #8a8377;
}

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

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--black);
  color: var(--cream);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Page Layout ─────────────────────────────────────── */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  position: relative;
  padding: 2rem 1.5rem;
}

/* Subtle warm radial glow behind the logo */
.glow {
  position: absolute;
  top: 18%;
  left: 50%;
  translate: -50% -50%;
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero Section ────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
}

/* Logo */
.logo-container {
  margin-bottom: 1.5rem;
}

.logo {
  width: min(260px, 60vw);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(201, 168, 76, 0.15));
  transition: transform 0.4s ease;
}

.logo:hover {
  transform: scale(1.03);
}

/* Tagline */
.tagline {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 280px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.6;
}

/* Coming Soon */
.coming-soon {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 1rem;
}

/* Teaser copy */
.teaser {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ── CTA ─────────────────────────────────────────────── */
.signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.signup-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--black);
  background: var(--gold);
  border: none;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  position: absolute;
  bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ── Homepage Team Link ──────────────────────────────── */
.team-link {
  margin-top: 2rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.team-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.team-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  z-index: 10;
}

.nav-logo img {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(201, 168, 76, 0.2));
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Team Page ───────────────────────────────────────── */
.page--team {
  justify-content: flex-start;
  padding-top: 6rem;
  min-height: auto;
}

.team-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.team-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  padding: 0 1rem;
  margin-bottom: 4rem;
}

/* Member Card */
.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.member-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* Photo / Placeholder */
.member-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201, 168, 76, 0.25);
}

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

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.06);
}

.placeholder-icon {
  width: 50px;
  height: 50px;
  color: var(--gold);
  opacity: 0.35;
}

/* Member Info */
.member-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.member-role {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.member-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Footer variant for non-fullscreen pages */
.footer--static {
  position: static;
  margin-top: auto;
  padding: 2rem 0 1rem;
}

/* ── Accessibility: reduced motion ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .logo:hover {
    transform: none;
  }
}

/* ── Print ───────────────────────────────────────────── */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .glow,
  .divider {
    display: none;
  }
}
