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

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background: #FBFBF0;
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── VARIABLES ────────────────────────────────────────────────────────────── */
:root {
  --bg:     #FBFBF0;
  --fg:     #0a0a08;
  --fg2:    #333320;
  --accent: #000099;
  --gold:   #DCC48E;
  --mono:   'Space Mono', monospace;
  --sans:   'Space Grotesk', sans-serif;
}

/* ─── NAV ──────────────────────────────────────────────────────────────────── */
#main-nav {
  background: var(--accent);
  border-bottom: 3px solid var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.nav-logo {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: #FBFBF0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0;
}

.nav-links { display: flex; gap: 32px; }

.nav-link {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: #FBFBF0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link.active {
  color: var(--gold);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

/* ─── PAGE SYSTEM ──────────────────────────────────────────────────────────── */
.page {
  display: none;
  flex-direction: column;
  flex: 1;
}

.page.active {
  display: flex;
  animation: fadeUp 0.3s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SHADOW HEADING ───────────────────────────────────────────────────────── */
.shadow-heading { position: relative; }

.h-shadow {
  position: absolute;
  top: 4px;
  left: 4px;
  font-family: var(--mono);
  font-weight: 700;
  line-height: 0.95;
  color: var(--gold);
  user-select: none;
  pointer-events: none;
  text-transform: uppercase;
}

.h-main {
  position: relative;
  font-family: var(--mono);
  font-weight: 700;
  line-height: 0.95;
  color: var(--accent);
  text-transform: uppercase;
}

/* ─── DIVIDER ──────────────────────────────────────────────────────────────── */
.divider {
  height: 3px;
  background: var(--fg);
  margin-bottom: 32px;
  width: 100%;
}

.divider--thin {
  height: 2px;
  margin-bottom: 24px;
}

/* ─── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s;
  cursor: pointer;
}

.btn:hover { opacity: 0.75; }

.btn-filled { background: var(--fg); color: var(--bg); }
.btn-outline { background: transparent; color: var(--fg); }

/* ─── HOME ─────────────────────────────────────────────────────────────────── */
#home { background: var(--bg); }

.home-main {
  padding: 80px 48px 60px;
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.home-heading { margin-bottom: 48px; }

.home-heading .h-shadow,
.home-heading .h-main { font-size: 80px; }

.tagline {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 48px;
}

.home-banner {
  background: var(--accent);
  border-top: 3px solid var(--fg);
  padding: 28px 48px;
  flex-shrink: 0;
}

.home-banner span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ─── PAGE INNER ───────────────────────────────────────────────────────────── */
.page-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 72px 48px;
  width: 100%;
  flex: 1;
}

.page-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg2);
  border-bottom: 2px solid var(--fg);
  padding-bottom: 8px;
  margin-bottom: 40px;
}

/* ─── ABOUT ────────────────────────────────────────────────────────────────── */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--fg);
  display: block;
  filter: contrast(1.08);
}

.about-heading { margin-bottom: 16px; }

.about-heading .h-shadow,
.about-heading .h-main { font-size: 36px; }

.bio {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--fg2);
  margin-bottom: 20px;
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: 32px;
  margin-bottom: 12px;
}

.exp-list { list-style: none; }

.exp-list li {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);
  padding: 8px 0;
  border-bottom: 1.5px solid var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.diamond { color: var(--accent); font-weight: 700; }

/* ─── CONTACT ──────────────────────────────────────────────────────────────── */
#contact { background: var(--bg); }

.contact-heading {
  margin-top: 48px;
  margin-bottom: 40px;
}

.contact-heading .h-shadow,
.contact-heading .h-main { font-size: 64px; }

.contact-body {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ─── FOOTER ───────────────────────────────────────────────────────────────── */
#main-footer {
  background: var(--fg);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#main-footer span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── MOBILE ───────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  #main-nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 16px 20px;
    gap: 10px;
  }

  .nav-links { gap: 20px; }

  .home-main { padding: 40px 24px 32px; }

  .home-heading .h-shadow,
  .home-heading .h-main { font-size: 52px; }

  .home-heading { margin-bottom: 28px; }

  .tagline { font-size: 16px; margin-bottom: 32px; }

  .home-banner { padding: 20px 24px; }
  .home-banner span { font-size: 11px; }

  .page-inner { padding: 36px 24px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }

  .about-heading .h-shadow,
  .about-heading .h-main { font-size: 28px; }

  .contact-heading .h-shadow,
  .contact-heading .h-main { font-size: 36px; }

  .contact-heading { margin-top: 32px; }

  #main-footer { padding: 20px 24px; }

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

.footer-credit {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-top: 6px;
}

#main-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
