:root {
  --ink: #f7f5ef;
  --accent: #e38c4f;
  --overlay-dark: rgba(17, 13, 11, 0.52);
  --overlay-warm: rgba(88, 43, 17, 0.22);
  --overlay-cool: rgba(31, 52, 62, 0.22);
  --glass: oklch(1 0 0 / 0.02);
  --glass-strong: oklch(1 0 0 / 0.08);
  --night: #070606;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background: var(--night);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Base Liquid Glass */
.liquid-glass {
  background: var(--glass);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px oklch(1 0 0 / 10%);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before,
.liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
      oklch(1 0 0 / 48%) 0%,
      oklch(1 0 0 / 18%) 20%,
      oklch(1 0 0 / 0%) 40%,
      oklch(1 0 0 / 0%) 60%,
      oklch(1 0 0 / 18%) 80%,
      oklch(1 0 0 / 48%) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Strong Liquid Glass Variant */
.liquid-glass-strong {
  background: var(--glass-strong);
  background-blend-mode: luminosity;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 4px 4px 22px oklch(0 0 0 / 16%), inset 0 1px 1px oklch(1 0 0 / 15%);
  position: relative;
  overflow: hidden;
}

.site-nav {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.6rem;
  width: min(92vw, 500px);
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  font-size: smaller;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 1.5rem;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fffdf9;
}

.bg-video {
  margin: 0;
  position: absolute;
  filter: brightness(120%);
  top: -2px;
  left: -2px;
  width: calc(100vw + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  z-index: 0;
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 75%,
      rgba(0, 0, 0, 0.3) 95%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 75%,
      rgba(0, 0, 0, 0.3) 95%,
      rgba(0, 0, 0, 0) 100%);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 25%, var(--overlay-warm), transparent 50%),
    radial-gradient(circle at 78% 72%, var(--overlay-cool), transparent 45%),
    linear-gradient(to bottom, rgba(9, 7, 6, 0.05) 0%, rgba(8, 7, 7, 0.4) 75%, var(--night) 100%);
}

.page {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.4rem;
  animation: fade-up 900ms ease-out both;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.night-section {
  min-height: 100vh;
  padding: 6.5rem 2rem 4rem;
}

.section-head {
  max-width: 900px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.78;
}

.night-section h2 {
  margin: 0;
  color: #fafdf6;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
}

.about-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0 !important;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.about-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 250px;
  pointer-events: none;
  z-index: 4;
}

.gridMotion-container {
  gap: 1rem;
  flex: none;
  position: absolute;
  width: 150vw;
  height: 150vh;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: 100%;
  transform: rotate(-15deg);
  transform-origin: center center;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin-top: -75vh;
  margin-left: -75vw;
}

.row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(7, 1fr);
  will-change: transform, filter;
}

.row__item {
  position: relative;
}

.row__item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-family: "Instrument Serif", serif;
}

.row__item-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.row__item-content {
  padding: 1rem;
  text-align: center;
  z-index: 1;
}

.fullview {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 3;
}

.fullview .row__item-inner {
  border-radius: 0px;
}

.gallery-section {
  display: grid;
  align-content: center;
  gap: 1.15rem;
  background: radial-gradient(ellipse at center, #2e1a10 0%, #0a0604 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 -20px 40px rgba(0, 0, 0, 0.5);
}

.premium-kicker {
  color: #c98e60;
  letter-spacing: 0.35em;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.premium-heading {
  color: #f7ede2;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem) !important;
  opacity: 1 !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Floating Images */
.floating-img {
  position: absolute;
  width: clamp(120px, 20vw, 250px);
  opacity: 0.35;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
  z-index: 1;
  pointer-events: none;
  animation: float-up-down 8s ease-in-out infinite alternate;
}

.float-left {
  left: -5%;
  top: 15%;
  transform: rotate(-12deg);
}

.float-right {
  right: -5%;
  bottom: 15%;
  transform: rotate(8deg);
  animation-delay: -3s;
}

@keyframes float-up-down {
  0% {
    transform: translateY(0) rotate(var(--rotation, 0deg));
  }

  100% {
    transform: translateY(-30px) rotate(calc(var(--rotation, 0deg) + 5deg));
  }
}

.float-left {
  --rotation: -12deg;
}

.float-right {
  --rotation: 8deg;
}

.bestseller-gallery {
  width: min(1120px, 94vw);
  margin: 0 auto;
  min-height: 370px;
  display: flex;
  gap: 0.75rem;
}

.gallery-item {
  flex: 1;
  min-width: 70px;
  border-radius: 22px;
  padding: 0;
  background: #000;
  border: 1px solid rgba(201, 142, 96, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: grid;
  align-content: end;
  justify-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: flex-grow 380ms cubic-bezier(0.4, 0, 0.2, 1), transform 240ms ease, border-color 240ms ease;
}

.gallery-item:hover {
  border-color: rgba(201, 142, 96, 0.4);
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.1);
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1), opacity 600ms ease;
  z-index: 0;
}

.gallery-item p {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem 1rem 1.4rem;
  margin: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
  pointer-events: none;
}

.gallery-item.is-active {
  flex: 5;
  background: #000;
  border-color: rgba(201, 142, 96, 0.6);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), inset 0 2px 10px rgba(201, 142, 96, 0.1);
}

.gallery-item.is-active img {
  opacity: 1;
  transform: scale(1);
}

.gallery-item.is-active p {
  opacity: 0.95;
  transform: translateY(0);
}

.reviews-section {
  display: grid;
  align-content: center;
  gap: 1.2rem;
}

.reviews-carousel {
  width: min(920px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
}

.reviews-track-wrap {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 350ms ease;
}

.review-card {
  min-width: 100%;
  border-radius: 20px;
  padding: 1.7rem 1.6rem;
  text-align: center;
}

.review-card p {
  margin: 0 0 0.9rem;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.1rem, 2.1vw, 1.7rem);
  line-height: 1.35;
}

.review-card span {
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  opacity: 0.82;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
}

.site-footer {
  padding: 2.5rem 1.4rem 2.8rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #050404;
}

.site-footer p {
  margin: 0.25rem 0;
  opacity: 0.8;
  font-size: 0.92rem;
}

.site-footer p:first-child {
  font-family: "Instrument Serif", serif;
  font-size: 1.5rem;
  opacity: 0.96;
}

.kicker {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.92;
}

h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  font-size: clamp(2.4rem, 9vw, 11.6rem);
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tagline {
  margin: 0.25rem 0 1.6rem;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  opacity: 0.95;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .site-nav {
    width: min(96vw, 400px);
    padding: 0.4rem 0.8rem;
    gap: 0.2rem;
    top: 1rem;
  }

  .site-nav a {
    flex: 1 1 auto;
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
  }

  .hero {
    padding: 1rem;
    justify-content: center;
    align-content: center;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.5rem);
    line-height: 0.95;
  }

  .tagline {
    font-size: 1.05rem;
    margin-top: 0.5rem;
  }

  .night-section {
    min-height: auto;
    padding: 5rem 1.25rem 4rem;
  }

  .about-section {
    height: 85vh;
    /* Shorter for mobile browsers */
  }

  .gridMotion-container {
    width: 250vw;
    /* More dramatic zoom for mobile */
    height: 250vh;
    margin-top: -125vh;
    margin-left: -125vw;
  }

  .row__item-inner {
    font-size: 1.1rem;
  }

  .bestseller-gallery {
    min-height: 0;
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-item,
  .gallery-item.is-active {
    flex: none;
    height: 240px;
    min-height: 240px;
  }

  .gallery-item p,
  .gallery-item.is-active p {
    opacity: 1;
    transform: none;
    padding: 3rem 1rem 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  }

  .gallery-item img {
    opacity: 0.8;
    /* Slightly brighter on mobile for visibility */
    transform: scale(1);
  }

  .reviews-carousel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .carousel-btn {
    display: none;
  }

  .review-card {
    padding: 1.5rem 1.2rem;
  }

  .site-footer {
    padding: 3rem 1.5rem;
  }

  .site-footer p {
    font-size: 0.86rem;
  }
}