@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --cream: #F7F1E8;
  --cream-deep: #EDE3D4;
  --ink: #1A1008;
  --gold: #B8852A;
  --terra: #C4572A;
  --warm-mid: #7A6248;
  --warm-muted: #A08C74;
  --border: rgba(26,16,8,0.1);
  --border-mid: rgba(26,16,8,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
}

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--warm-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  opacity: 0.6;
}

/* PAGE WRAPPER */
.page-content {
  padding-top: 78px;
}

/* EYEBROW */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* FOOTER */
footer {
  background: var(--cream-deep);
  border-top: 0.5px solid var(--border);
  padding: 0;
  height: 160px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Inner wrapper: same 1295px centering as the hero and universe sections */
.footer-inner {
  max-width: 1295px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px; /* small side padding so content doesn't touch screen edges */
}

.footer-left .footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-left .footer-tagline {
  font-size: 11px;
  color: var(--warm-muted);
  letter-spacing: 0.12em;
  font-weight: 300;
}

.footer-gold-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-top: 12px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--ink); }

.footer-right {
  text-align: right;
}

.footer-email {
  font-size: 11px;
  color: var(--warm-muted);
  letter-spacing: 0.08em;
  font-weight: 300;
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}

.footer-imdb {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 400;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}

.footer-copy {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(160,140,116,0.5);
  letter-spacing: 0.08em;
  font-weight: 300;
  white-space: nowrap;
}

/* BUTTONS */
.btn-primary {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border: 0;
  box-shadow: none;
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 28px;
  height: 48px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-primary:hover { background: var(--terra); }

.btn-secondary {
  /* Makes padding + height behave like a real button, not inline text */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;             /* no fill — ghost / outlined style */
  border: 1px solid var(--warm-muted); /* taupe border, matches the muted site color */
  border-radius: 6px;                  /* softly rounded corners */

  height: 48px;                        /* matches .btn-primary height exactly */
  padding: 0 28px;                     /* same horizontal padding as .btn-primary */

  color: var(--warm-muted);            /* taupe text */
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;               /* removes the underline */
  white-space: nowrap;

  transition: border-color 0.2s, color 0.2s; /* smooth color shift on hover */
}

.btn-secondary:hover {
  border-color: var(--ink); /* border darkens on hover */
  color: var(--ink);        /* text darkens on hover */
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

/* Scroll-triggered reveal — applied by IntersectionObserver */
.scroll-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE NAV */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  padding: 24px 52px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}

.mobile-nav-menu.open { display: flex; }

.mobile-nav-menu a {
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--warm-muted);
  text-decoration: none;
  font-weight: 400;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer {
    height: auto;
    padding: 44px 24px 32px;
    align-items: stretch;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }
  .footer-left,
  .footer-right {
    text-align: left;
  }
  .footer-left .footer-wordmark {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .footer-left .footer-tagline {
    display: block;
    line-height: 1.7;
  }
  .footer-gold-line {
    margin-top: 18px;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    width: 100%;
    padding-top: 4px;
  }
  .footer-nav a {
    display: inline-flex;
    width: fit-content;
    line-height: 1.4;
  }
  .footer-email {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .footer-imdb {
    margin-bottom: 0;
  }
  .footer-copy {
    position: static;
    transform: none;
    margin-top: 28px;
    white-space: nowrap;
    width: 100%;
  }
  .mobile-nav-menu { padding: 24px; }
}

@media (max-width: 479px) {
  nav { padding: 0 20px; height: 60px; }
  .page-content { padding-top: 60px; }
}
