@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600&family=IM+Fell+English:ital@0;1&display=swap');

:root {
  --black: #0a0705;
  --deep: #110e0a;
  --bark: #1e1710;
  --rum: #3d2b1a;
  --gold: #c8922a;
  --gold-light: #e8b84b;
  --ember: #c0390a;
  --lava: #ff4500;
  --smoke: #8a7a6a;
  --parchment: #d4c5a0;
  --pale: #e8dfc8;
  --teal-float: #2ab8a0;
  --green-float: #4a9e2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--parchment);
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 18px;
  line-height: 1.8;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--rum); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,7,5,0.97), transparent);
  border-bottom: 1px solid rgba(200,146,42,0.15);
}

.nav-brand {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-shadow: 0 0 20px rgba(200,146,42,0.4);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--smoke);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(232,184,75,0.5);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(192,57,10,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(42,184,160,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 20%, rgba(74,158,42,0.04) 0%, transparent 40%),
    var(--black);
  z-index: 0;
}

.ember-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ember {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lava);
  box-shadow: 0 0 6px var(--lava);
  animation: rise linear infinite;
  opacity: 0;
}

@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(var(--drift)) scale(0.2); opacity: 0; }
}

.ember:nth-child(1)  { left: 15%; animation-duration: 8s;  animation-delay: 0s;  --drift: 20px; }
.ember:nth-child(2)  { left: 25%; animation-duration: 11s; animation-delay: 2s;  --drift: -15px; width:2px; height:2px; background:var(--gold); box-shadow:0 0 4px var(--gold); }
.ember:nth-child(3)  { left: 40%; animation-duration: 9s;  animation-delay: 4s;  --drift: 30px; }
.ember:nth-child(4)  { left: 55%; animation-duration: 13s; animation-delay: 1s;  --drift: -25px; width:2px; height:2px; }
.ember:nth-child(5)  { left: 70%; animation-duration: 7s;  animation-delay: 6s;  --drift: 10px; background:var(--gold-light); box-shadow:0 0 5px var(--gold-light); }
.ember:nth-child(6)  { left: 80%; animation-duration: 10s; animation-delay: 3s;  --drift: -20px; }
.ember:nth-child(7)  { left: 35%; animation-duration: 12s; animation-delay: 7s;  --drift: 15px; width:2px; }
.ember:nth-child(8)  { left: 60%; animation-duration: 8s;  animation-delay: 5s;  --drift: -10px; background:var(--gold); }
.ember:nth-child(9)  { left: 10%; animation-duration: 15s; animation-delay: 2s;  --drift: 25px; width:2px; }
.ember:nth-child(10) { left: 90%; animation-duration: 9s;  animation-delay: 8s;  --drift: -30px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-greeting {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--teal-float);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 1.5s ease both;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--gold);
  line-height: 1.1;
  text-shadow:
    0 0 40px rgba(200,146,42,0.5),
    0 0 80px rgba(200,146,42,0.2),
    2px 2px 0 rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
  animation: fadeUp 1.5s ease 0.3s both;
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--smoke);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  animation: fadeUp 1.5s ease 0.6s both;
}

.hero-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 2.5rem;
  animation: fadeIn 2s ease 0.9s both;
}

.hero-lore {
  font-style: italic;
  font-size: 1rem;
  color: var(--smoke);
  max-width: 560px;
  margin: 0 auto 3rem;
  animation: fadeUp 1.5s ease 1.2s both;
}

.btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,146,42,0.4);
  padding: 0.8rem 2.5rem;
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,146,42,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.btn:hover::before { transform: translateX(0); }
.btn:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(200,146,42,0.2);
}

.hero-enter { animation: fadeUp 1.5s ease 1.5s both; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(200,146,42,0.15);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(192,57,10,0.15) 0%, transparent 60%),
    var(--black);
  z-index: 0;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.page-header .section-label { margin-bottom: 0.5rem; }
.page-header .section-title { margin-bottom: 0; }

/* ── SECTIONS ── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(200,146,42,0.3);
}

.section-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, var(--ember), var(--gold), transparent);
  margin-bottom: 3rem;
}

/* ── LORE TEXT ── */
.lore-text p {
  margin-bottom: 1.5rem;
}

.lore-text.two-col {
  columns: 2;
  column-gap: 3rem;
}

.lore-text.two-col p { break-inside: avoid; }

.lore-text p:first-child::first-letter {
  font-family: 'Cinzel Decorative', serif;
  font-size: 4rem;
  color: var(--gold);
  float: left;
  line-height: 0.8;
  margin-right: 0.1em;
  text-shadow: 0 0 20px rgba(200,146,42,0.5);
}

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 3rem 0;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: sepia(20%) contrast(110%);
  transition: filter 0.4s, transform 0.4s;
  display: block;
}

.photo-grid img:hover {
  filter: sepia(0%) contrast(115%);
  transform: scale(1.02);
  z-index: 1;
  position: relative;
}

.photo-hero {
  grid-column: span 2;
  aspect-ratio: 16/9 !important;
}

.photo-full {
  grid-column: span 3;
  aspect-ratio: 21/9 !important;
}

/* ── COCKTAIL CARDS ── */
.cocktail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cocktail-card {
  background: linear-gradient(145deg, var(--deep), var(--bark));
  border: 1px solid rgba(200,146,42,0.2);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cocktail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--ember), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.cocktail-card:hover { border-color: rgba(200,146,42,0.5); box-shadow: 0 0 30px rgba(200,146,42,0.1); }
.cocktail-card:hover::before { opacity: 1; }

.cocktail-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.cocktail-lore {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--smoke);
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--ember);
  padding-left: 1rem;
}

.cocktail-ingredients {
  list-style: none;
  font-size: 0.9rem;
  color: var(--parchment);
}

.cocktail-ingredients li {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cocktail-ingredients li:last-child { border-bottom: none; }

.cocktail-method {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--smoke);
}

/* ── UNITY COCKTAIL ── */
.unity-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.unity-half {
  background: linear-gradient(145deg, var(--deep), var(--bark));
  border: 1px solid rgba(200,146,42,0.2);
  padding: 2rem;
}

.unity-half h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal-float);
  margin-bottom: 1rem;
}

.unity-join {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--gold);
  text-align: center;
  text-shadow: 0 0 20px rgba(200,146,42,0.5);
}

/* ── TECH ── */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.tech-category { margin-bottom: 2rem; }

.tech-category-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--teal-float);
  margin-bottom: 0.75rem;
}

.tech-list { list-style: none; }
.tech-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.tech-list li::before { content: '▸ '; color: var(--ember); }

.tech-note {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--smoke);
  margin-top: 1rem;
  padding: 1rem;
  border-left: 2px solid var(--teal-float);
}

/* ── BUILDOUT TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--ember), var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.timeline-date {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.timeline-photo-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: sepia(30%) contrast(105%);
  transition: filter 0.3s;
}

.timeline-photo-row img:hover { filter: sepia(0%) contrast(110%); }

/* ── CREDITS ── */
.credits {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(200,146,42,0.15);
  background: linear-gradient(to bottom, transparent, rgba(61,43,26,0.3));
}

.credits-title {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 2rem;
}

.credits-list {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.credit-item { text-align: center; }

.credit-role {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.3rem;
}

.credit-name { font-size: 1rem; color: var(--gold); }

/* ── SEPARATOR ── */
.skull-sep {
  text-align: center;
  color: var(--rum);
  font-size: 1.5rem;
  margin: 1rem 0;
  letter-spacing: 1rem;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: rgba(138,122,106,0.5);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.2em;
}

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

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .lore-text.two-col { columns: 1; }
  .tech-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-hero { grid-column: span 2; }
  .photo-full { grid-column: span 2; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.65rem; }
  .credits-list { gap: 2rem; }
  .unity-split { grid-template-columns: 1fr; }
  .unity-join { display: none; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-hero, .photo-full { grid-column: span 1; aspect-ratio: 16/9 !important; }
  .timeline-photo-row { grid-template-columns: 1fr 1fr; }
}
