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

:root {
  --bg: #16120f;
  --panel: #1c1814;
  --sand: #c8b6a0;
  --cream: #f3ece2;
  --gold: #b08d57;
  --muted: rgba(243, 236, 226, 0.6);
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Jost", sans-serif;
  color: var(--cream);
  background: var(--bg);
}

/* ===== Split Layout ===== */
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ===== Left Panel ===== */
.panel {
  position: relative;
  background:
    radial-gradient(circle at 15% 10%, rgba(176, 141, 87, 0.16), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(200, 182, 160, 0.1), transparent 50%),
    linear-gradient(160deg, #221d18 0%, #14100c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}

.panel__inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  text-align: center;
  align-items: center;
}

/* ===== Brand ===== */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  animation: fade-down 1s ease both;
}

.brand__logo {
  width: 170px;
  max-width: 60vw;
  height: auto;
  /* logo art is black — invert to cream for the dark panel */
  filter: invert(1) sepia(0.18) saturate(0.7) brightness(1.05);
}

.brand__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 0.45em;
}

/* ===== Hero ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  animation: fade-up 1.2s ease both;
}

.hero__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding: 0 1.8rem;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero__eyebrow::before { left: 0; }
.hero__eyebrow::after { right: 0; }

.hero__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
}

.hero__text {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 420px;
}

/* ===== Story ===== */
.story {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 440px;
  padding-top: 0.4rem;
}

.story__title {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-bottom: 0.8rem;
}
.story__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 38px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.story p {
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ===== Countdown ===== */
.countdown {
  display: flex;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  margin-top: 0.3rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 60px;
}

.countdown__num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(176, 141, 87, 0.25);
  border-radius: 10px;
  padding: 0.55rem 0.4rem;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== Thumbnails ===== */
.thumbs {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.thumb {
  width: 56px;
  height: 72px;
  padding: 0;
  border: 1px solid rgba(176, 141, 87, 0.3);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.55;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb:hover { opacity: 0.85; transform: translateY(-2px); }

.thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

/* ===== Footer ===== */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  animation: fade-up 1.4s ease both;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.social a {
  color: var(--sand);
  text-decoration: none;
  transition: color 0.3s ease;
}
.social a:hover { color: var(--gold); }
.social__dot { color: var(--muted); }

.footer__copy {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ===== Showcase (right) ===== */
.showcase {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: hidden;
  background: #0e0b09;
}

.showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.25s ease, transform 8s ease;
  animation: slow-zoom 14s ease-in-out infinite alternate;
}

.showcase__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(20, 16, 12, 0.55) 0%,
    rgba(20, 16, 12, 0.1) 35%,
    transparent 70%
  );
}

/* ===== Animations ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .layout { grid-template-columns: 1fr; }
  .showcase {
    order: -1;
    position: relative;
    height: auto;
    min-height: 42vh;
    max-height: 50vh;
  }
  .showcase__shade {
    background: linear-gradient(
      to bottom,
      transparent 40%,
      rgba(20, 16, 12, 0.85) 100%
    );
  }
  .panel { padding: 2.5rem 1.5rem 3rem; }
  .panel__inner { gap: 1.8rem; }
}

@media (max-width: 420px) {
  .thumb { width: 48px; height: 62px; }
  .countdown__unit { min-width: 52px; }
}
