/* =========================================================
   The Plush Loop — Coming Soon
   Palette inspired by emerald-green hand-woven leather + gold
   ========================================================= */

:root {
  --emerald-deep: #0c3b2e;
  --emerald: #14543e;
  --emerald-light: #1d6b50;
  --gold: #c9a96a;
  --gold-soft: #d9c39a;
  --ivory: #f7f3ec;
  --cream: #efe7da;
  --ink: #1a1f1c;
  --muted: #6f7a72;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(201,169,106,0.08), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(20,84,62,0.10), transparent 60%);
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--emerald-deep); margin-bottom: 1rem; }
.section-lead { max-width: 46ch; color: var(--muted); margin: 0 auto; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--emerald);
  color: var(--ivory);
  box-shadow: 0 10px 30px -10px rgba(12,59,46,0.6);
}
.btn-primary:hover {
  background: var(--emerald-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(12,59,46,0.7);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.2rem, 5vw, 4rem);
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.brand-name { font-family: var(--serif); font-size: 1.4rem; color: var(--ivory); letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 2rem; }
.site-nav a {
  color: var(--ivory);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
}
.site-nav a:hover { opacity: 1; color: var(--gold-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, var(--emerald) 0%, var(--emerald-deep) 60%, #082019 100%); }
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero-img.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,30,23,0.55) 0%, rgba(8,30,23,0.35) 40%, rgba(8,30,23,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; animation: rise 1s var(--ease) both; }
.hero-title {
  font-size: clamp(3.2rem, 11vw, 7rem);
  letter-spacing: 0.01em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero-sub { font-size: clamp(1rem, 2.4vw, 1.35rem); color: var(--cream); margin: 1rem auto 0; max-width: 40ch; font-weight: 300; }
.coming-soon {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--gold-soft);
  margin: 1.8rem 0 1.4rem;
  letter-spacing: 0.04em;
}

/* Countdown */
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 0.6rem; margin: 0 0 2.2rem; }
.count-item { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.count-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--ivory);
  line-height: 1;
}
.count-label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-top: 0.5rem; }
.count-sep { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--gold); opacity: 0.6; line-height: 1; }

/* ---------- Countdown band (embedded section) ---------- */
.countdown-section {
  background: linear-gradient(160deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  color: var(--ivory);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.2rem, 5vw, 4rem);
}
.countdown-section .section-title { color: var(--ivory); margin-bottom: 2.2rem; }
.countdown-section .countdown { margin: 0; }

.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1px solid rgba(247,243,236,0.5); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: var(--gold-soft);
  animation: scrolldot 1.8s var(--ease) infinite;
}

/* ---------- Gallery carousel ---------- */
.gallery-section { padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; }
.section-head { margin-bottom: 3.5rem; padding: 0 clamp(1.2rem, 5vw, 4rem); }

.carousel { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 clamp(3rem, 7vw, 5.5rem); }
.carousel-track {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.gallery-item {
  position: relative;
  flex: 0 0 auto;
  width: calc((100% - 3.2rem) / 3);   /* 3 across on desktop */
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  box-shadow: 0 18px 40px -22px rgba(12,59,46,0.5);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 28px 55px -22px rgba(12,59,46,0.6); }

/* Uniform, centered frame for every bag */
.gallery-item .frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  background: var(--cream);
}
.gallery-item img,
.gallery-item video {
  width: 100%; height: 100%;
  object-fit: cover;            /* all bags are 3:4 — fills the frame uniformly */
  object-position: center;
}
.gallery-item .play-badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(8,30,23,0.25);
}
.gallery-item .play-badge::after {
  content: ""; width: 0; height: 0;
  border-left: 20px solid var(--ivory);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 5px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.gallery-item .caption {
  padding: 1rem 1.1rem 1.2rem;
  background: var(--emerald-deep);
  color: var(--ivory);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
  min-height: 3.4em;
  display: flex; align-items: center; justify-content: center;
}

/* Arrows */
.carousel-arrow {
  position: absolute; top: calc(50% - 1.4rem); transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--ivory);
  color: var(--emerald-deep);
  font-size: 1.7rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -12px rgba(12,59,46,0.5);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-arrow:hover { background: var(--emerald); color: var(--ivory); transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: clamp(0.4rem, 1.5vw, 1rem); }
.carousel-arrow.next { right: clamp(0.4rem, 1.5vw, 1rem); }
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }

/* Dots */
.carousel-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.6rem; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(20,84,62,0.25); cursor: pointer; transition: background 0.3s, transform 0.3s;
}
.carousel-dots button.active { background: var(--gold); transform: scale(1.3); }

/* Placeholder tiles (shown when no media added yet) */
.gallery-placeholder {
  display: grid; place-items: center; text-align: center;
  border: 1px dashed rgba(20,84,62,0.4);
  color: var(--emerald);
  padding: 2rem;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  font-family: var(--serif);
  font-style: italic;
}

/* ---------- About ---------- */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 5vw, 4rem);
  background: var(--emerald-deep);
  color: var(--ivory);
}
.about-section .section-title { color: var(--ivory); }
.about-section .section-lead { margin: 0; }
.about-portrait { display: flex; justify-content: center; }
.about-portrait img {
  width: 80%; max-width: 400px; border-radius: 16px; object-fit: cover; object-position: center 30%; aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6);
}
.about-text p { color: var(--cream); margin-bottom: 1rem; max-width: 52ch; }
.about-sign { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold-soft); }

/* ---------- Notify ---------- */
.notify-section { padding: clamp(4rem, 10vw, 8rem) 1.5rem; text-align: center; }
.notify-inner { max-width: 600px; margin: 0 auto; }
.notify-form { display: flex; gap: 0.8rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.notify-form input {
  flex: 1 1 260px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--cream);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.notify-form input:focus { border-color: var(--gold); }
.notify-msg { margin-top: 1.2rem; font-size: 0.92rem; min-height: 1.2em; color: var(--emerald); }
.notify-msg.error { color: #b3402e; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem clamp(1.2rem, 5vw, 4rem) 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.3rem; text-align: center;
}
.site-footer .brand-name { color: var(--ivory); }
.footer-tag { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.08em; }
.footer-social { display: flex; gap: 1.6rem; }
.social-link {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); transition: color 0.3s;
}
.social-link:hover { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,22,17,0.92);
  display: none; place-items: center; padding: 2rem;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.lightbox.open { display: grid; opacity: 1; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox-content { display: flex; max-width: 88vw; max-height: 78vh; }
.lightbox-content img,
.lightbox-content video { max-width: 88vw; max-height: 78vh; border-radius: 10px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); }
.lightbox-caption {
  text-align: center; color: var(--ivory); max-width: 46ch;
}
.lightbox-caption strong {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 1.5rem; color: var(--gold-soft); letter-spacing: 0.02em; margin-bottom: 0.2rem;
}
.lightbox-caption span { font-size: 0.95rem; color: var(--cream); font-weight: 300; }
.lightbox-close {
  position: absolute; top: 1.4rem; right: 1.8rem;
  background: none; border: none; color: var(--ivory);
  font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: 0.8; z-index: 2;
}
.lightbox-close:hover { opacity: 1; color: var(--gold-soft); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(217,195,154,0.6); background: rgba(12,59,46,0.55);
  color: var(--ivory); font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-nav:hover { background: var(--emerald); transform: translateY(-50%) scale(1.08); }
.lightbox-nav.prev { left: clamp(0.8rem, 3vw, 2.2rem); }
.lightbox-nav.next { right: clamp(0.8rem, 3vw, 2.2rem); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes scrolldot { 0% { top: 8px; opacity: 1; } 70% { top: 24px; opacity: 0; } 100% { top: 8px; opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gallery-item { width: calc((100% - 1.6rem) / 2); }   /* 2 across on tablet */
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .about-section { grid-template-columns: 1fr; text-align: center; }
  .about-text p { margin-left: auto; margin-right: auto; }
  .about-portrait { max-width: 340px; margin: 0 auto; }
  .count-item { min-width: 52px; }
  .gallery-item { width: 82%; }                         /* ~1 across on mobile */
  .carousel { padding: 0 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
