/* ===== TYCHE BREW — Design Tokens ===== */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8rem);
  --text-sm:   clamp(0.8rem,  0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem  + 0.25vw, 1.075rem);
  --text-lg:   clamp(1.125rem, 1rem   + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,  1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,    1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,  1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,    0.5rem  + 7vw,    8rem);

  /* 4px Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

/* ===== Color Palette — Red + White + Dark Charcoal ===== */
:root, [data-theme="light"] {
  --color-bg:             #faf8f6;
  --color-surface:        #ffffff;
  --color-surface-2:      #f5f2ef;
  --color-surface-offset: #f0ece8;
  --color-surface-offset-2: #e8e3dd;
  --color-surface-dynamic: #ddd8d2;
  --color-divider:        #d8d2cb;
  --color-border:         #c8c1b9;

  --color-text:           #2D3436;
  --color-text-muted:     #5f6366;
  --color-text-faint:     #9a9da0;
  --color-text-inverse:   #faf8f6;

  --color-primary:        #C41E24;
  --color-primary-hover:  #a8191e;
  --color-primary-active: #8e1419;

  --color-accent:         #C41E24;
  --color-accent-hover:   #a8191e;
  --color-accent-soft:    #C41E2415;

  --color-charcoal:       #2D3436;
  --color-charcoal-light: #3d4244;

  --shadow-sm: 0 1px 3px rgba(45,52,54,0.06);
  --shadow-md: 0 4px 16px rgba(45,52,54,0.08);
  --shadow-lg: 0 12px 40px rgba(45,52,54,0.12);
}

[data-theme="dark"] {
  --color-bg:             #151617;
  --color-surface:        #1c1d1e;
  --color-surface-2:      #232425;
  --color-surface-offset: #1e1f20;
  --color-surface-offset-2: #282a2b;
  --color-surface-dynamic: #303233;
  --color-divider:        #2c2e2f;
  --color-border:         #3c3e3f;

  --color-text:           #e4e2df;
  --color-text-muted:     #8c8985;
  --color-text-faint:     #5c5a57;
  --color-text-inverse:   #151617;

  --color-primary:        #e05a5c;
  --color-primary-hover:  #ea7072;
  --color-primary-active: #f08688;

  --color-accent:         #e05a5c;
  --color-accent-hover:   #ea7072;
  --color-accent-soft:    #e05a5c20;

  --color-charcoal:       #e4e2df;
  --color-charcoal-light: #d4d2cf;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #151617;
    --color-surface:        #1c1d1e;
    --color-surface-2:      #232425;
    --color-surface-offset: #1e1f20;
    --color-surface-offset-2: #282a2b;
    --color-surface-dynamic: #303233;
    --color-divider:        #2c2e2f;
    --color-border:         #3c3e3f;
    --color-text:           #e4e2df;
    --color-text-muted:     #8c8985;
    --color-text-faint:     #5c5a57;
    --color-text-inverse:   #151617;
    --color-primary:        #e05a5c;
    --color-primary-hover:  #ea7072;
    --color-primary-active: #f08688;
    --color-accent:         #e05a5c;
    --color-accent-hover:   #ea7072;
    --color-accent-soft:    #e05a5c20;
    --color-charcoal:       #e4e2df;
    --color-charcoal-light: #d4d2cf;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  }
}


/* ===== Layout ===== */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}


/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #C41E24;
  z-index: 101;
  pointer-events: none;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo:hover .logo__img {
  opacity: 0.8;
}

/* Light mode: show dark logo, hide light logo */
.logo__img--dark { display: block; }
.logo__img--light { display: none; }

/* Dark mode: show light logo, hide dark logo */
[data-theme="dark"] .logo__img--dark { display: none; }
[data-theme="dark"] .logo__img--light { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo__img--dark { display: none; }
  :root:not([data-theme]) .logo__img--light { display: block; }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav a:hover::after {
  width: 100%;
}

.nav a.active {
  color: #C41E24 !important;
}

.nav a.active::after {
  width: 100% !important;
  background: #C41E24 !important;
}

.nav__store {
  color: var(--color-accent) !important;
}

.theme-toggle {
  display: flex;
  align-items: center;
  padding: var(--space-2);
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.theme-toggle:hover {
  color: var(--color-accent);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #FAF8F6;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    color: #2D3436;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    padding: var(--space-2) 0;
  }
  .nav a::after {
    display: none;
  }
  .nav__store {
    color: var(--color-accent) !important;
  }
  .nav .theme-toggle {
    margin-top: var(--space-3);
  }

  /* Dark mode mobile nav */
  [data-theme="dark"] .nav {
    background: #1a1b1c;
  }
  [data-theme="dark"] .nav a {
    color: #FAF8F6;
  }


}


/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(45,52,54,0.92) 0%,
    rgba(45,52,54,0.4) 40%,
    rgba(45,52,54,0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-16) var(--space-6) var(--space-16);
  max-width: var(--content-wide);
  margin-inline: auto;
  width: 100%;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-8);
}

.hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  line-height: 1.8;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.85);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { top: -100%; }
  40% { top: 100%; }
  100% { top: 100%; }
}

/* Scroll text fade animation */
.hero__scroll-text {
  animation: scrollTextFade 2s ease-in-out infinite;
}

@keyframes scrollTextFade {
  0%, 100% { opacity: 0.35; }
  20% { opacity: 1; }
  50% { opacity: 0.35; }
}


/* ===== Section Common ===== */
.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}

.section--dark {
  background: var(--color-surface-offset);
}

.section--wine {
  background: var(--color-primary);
  color: #fff;
}

.section__label {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.section--wine .section__label {
  color: rgba(255,255,255,0.5);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.section--wine .section__title {
  color: #fff;
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.8;
}

.section--wine .section__desc {
  color: rgba(255,255,255,0.65);
}

.section__header {
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

/* Wine accent line */
.section__accent-line {
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-6);
}

.section--wine .section__accent-line {
  background: rgba(255,255,255,0.3);
}


/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover img {
  transform: scale(1.08);
}



.about-text {
  padding: var(--space-4) 0;
}

.about-text p {
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-image {
    aspect-ratio: 4/3;
  }
}


/* ===== Store Section ===== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.store-card {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  position: relative;
}

.store-card__img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.05);
  margin-bottom: var(--space-5);
}

.store-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.store-card:hover .store-card__img img {
  transform: scale(1.06);
}

/* Subtle overlay on hover */
.store-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(196,30,36,0);
  transition: background 0.4s ease;
  border-radius: var(--radius-md);
  pointer-events: none;
}
.store-card:hover .store-card__img::after {
  background: rgba(196,30,36,0.08);
}

.store-card__info {
  padding: 0 var(--space-1);
}

.store-card__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 200;
  color: var(--color-red);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.store-card__name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: var(--space-1);
}

.store-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
}

.store-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.store-card__discount {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-red);
}

.store-card__price-now {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.store-card__price-og {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.store-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: 0 auto;
  padding: var(--space-3) var(--space-8);
  width: fit-content;
  font-size: var(--text-sm);
  font-weight: 500;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-full);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.store-cta:hover {
  background: #a8181d;
  transform: translateY(-1px);
}

.store-cta svg {
  transition: transform 0.25s ease;
}

.store-cta:hover svg {
  transform: translate(2px, -2px);
}

/* Store CTA centering wrapper */
#store .store-cta {
  display: flex;
}

@media (max-width: 768px) {
  .store-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .store-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: var(--space-4);
  }

  .store-card__img {
    aspect-ratio: 1;
    margin-bottom: 0;
    border-radius: var(--radius-sm);
  }

  .store-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }

  .store-card__num {
    font-size: 1rem;
    margin-bottom: var(--space-1);
  }

  .store-card__name {
    font-size: var(--text-sm);
  }

  .store-card__desc {
    display: none;
  }

  .store-card__price-now {
    font-size: var(--text-base);
  }

  .store-card__discount {
    font-size: var(--text-xs);
  }
}


/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(196,30,36,0);
  transition: background 0.5s ease;
}

.gallery-item:hover::after {
  background: rgba(196,30,36,0.12);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--wide img {
  aspect-ratio: 2/1;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--tall img {
  aspect-ratio: 1/2;
}

/* Gallery category tabs */
.gallery-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.gallery-tab {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: transparent;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: all 0.25s ease;
}

.gallery-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.gallery-tab.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
  .gallery-item--tall {
    grid-row: span 1;
  }
  .gallery-item--tall img {
    aspect-ratio: 1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--wide {
    grid-column: span 1;
  }
  .gallery-item--wide img {
    aspect-ratio: 16/9;
  }
}

/* Gallery collapse/expand */
.gallery-grid.collapsed .gallery-item {
  display: none;
}
.gallery-grid.collapsed .gallery-item:nth-child(-n+6) {
  display: block;
}
.gallery-grid.collapsed .gallery-item:nth-child(-n+6) {
  animation: gallery-fade-in 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
.gallery-grid:not(.collapsed) .gallery-item {
  animation: gallery-fade-in 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes gallery-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-8) auto 0;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.gallery-toggle:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.gallery-toggle__icon {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.gallery-toggle[aria-expanded="true"] .gallery-toggle__icon {
  transform: rotate(180deg);
}


/* ===== Menu Tabs ===== */
.menu-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.menu-tab {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: transparent;
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.menu-tab.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ===== Menu Panels ===== */
.menu-panels {
  position: relative;
}

.menu-panel {
  display: none;
  animation: menuFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-panel.active {
  display: block;
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-panel__grid {
  max-width: var(--content-default);
  margin-inline: auto;
}

.menu-panel__grid--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}

.menu-panel__note {
  max-width: var(--content-default);
  margin-inline: auto;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid oklch(from var(--color-divider) l c h / 0.3);
  letter-spacing: 0.02em;
}

/* ===== Menu Category & Items ===== */
.menu-category__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* Column headers for HOT/ICE */
.menu-category__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}

.menu-category__header-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.menu-category__prices {
  display: flex;
  gap: var(--space-6);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: 1px solid oklch(from var(--color-divider) l c h / 0.2);
  transition: background 0.2s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__name {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 400;
}

.menu-item__tag {
  display: inline-block;
  font-size: 0.65rem;
  color: #fff;
  background: var(--color-accent);
  margin-left: var(--space-2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.menu-item__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-left: var(--space-2);
  font-style: italic;
}

.menu-item__price {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  margin-left: var(--space-4);
  flex-shrink: 0;
}

/* HOT/ICE price columns */
.menu-item__prices {
  display: flex;
  gap: var(--space-6);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.menu-item__prices .price-col {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 52px;
  text-align: right;
}

.menu-item__prices .price-col--hot {
  color: var(--color-accent);
}

.menu-item__prices .price-col--ice {
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .menu-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: var(--space-2);
    margin-inline: calc(var(--space-6) * -1);
    padding-inline: var(--space-6);
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-panel__grid--2col {
    grid-template-columns: 1fr;
  }
}


/* ===== Reviews ===== */
.reviews-strip {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: var(--space-2) 0;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews-strip::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 280px;
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-card__keyword {
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.review-card__count {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.review-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.review-summary {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.review-summary__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  font-weight: 400;
}

.review-summary__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}


/* =========================================
   Story Section — Cinematic Philosophy
   ========================================= */

.story {
  position: relative;
}

/* --- Hero & Quote panels (full-viewport, image bg) --- */
.story__panel--hero,
.story__panel--quote {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.story__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}

.story__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(45,52,54,0.35) 0%,
    rgba(45,52,54,0.65) 100%
  );
}

.story__overlay--vignette {
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%),
    linear-gradient(to bottom, rgba(45,52,54,0.25) 0%, rgba(45,52,54,0.6) 100%);
}

.story__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8);
  max-width: 800px;
}

/* Decorative hero line */
.story__hero-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto var(--space-5);
}
.story__hero-line.visible {
  animation: line-draw 1s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes line-draw {
  from { height: 0; opacity: 0; }
  to { height: 60px; opacity: 1; }
}

.story__label {
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-5);
  font-weight: 500;
}

.story__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.story__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Scroll hint */
.story__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-10);
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Split panels (image + text side by side) --- */
.story__panel--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.story__split-image {
  position: relative;
  overflow: hidden;
}

.story__split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.story__split-image:hover img {
  transform: scale(1.04);
}

.story__split-text {
  display: flex;
  align-items: center;
  padding: var(--space-12) var(--space-10);
  background: var(--color-surface);
}

.story__text-inner {
  max-width: 480px;
}

.story__number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 200;
  color: var(--color-red);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  line-height: 1;
  opacity: 0.2;
}

.story__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: var(--space-5);
}

.story__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-4);
}

.story__body:last-child {
  margin-bottom: 0;
}

/* Reversed split: text left, image right */
.story__panel--reverse {
  direction: rtl;
}
.story__panel--reverse > * {
  direction: ltr;
}

/* --- Seasons panel (2x2 grid + text) --- */
.story__panel--seasons {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 80vh;
}

.story__seasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.story__season-card {
  position: relative;
  overflow: hidden;
}

.story__season-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1),
              filter 0.8s cubic-bezier(0.16,1,0.3,1);
  filter: saturate(0.85);
}

.story__season-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.story__season-label {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.story__seasons-text {
  display: flex;
  align-items: center;
  padding: var(--space-12) var(--space-8);
  background: var(--color-surface);
}

/* --- Quote panel --- */
.story__quote-line {
  width: 40px;
  height: 1px;
  background: var(--color-red);
  margin: 0 auto var(--space-8);
}
.story__quote-line.visible {
  animation: quote-line-draw 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes quote-line-draw {
  from { width: 0; opacity: 0; }
  to { width: 40px; opacity: 1; }
}

.story__blockquote {
  margin: 0;
  padding: 0;
}

.story__blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.story__caption {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  margin-top: var(--space-8);
  letter-spacing: 0.08em;
}

/* --- Mobile responsive --- */
@media (max-width: 768px) {
  .story__panel--hero,
  .story__panel--quote {
    min-height: 80vh;
  }

  .story__headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .story__panel--split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story__split-image {
    height: 50vh;
    min-height: 300px;
  }

  .story__split-text {
    padding: var(--space-10) var(--space-6);
  }

  .story__panel--reverse {
    direction: ltr;
  }

  .story__panel--seasons {
    grid-template-columns: 1fr;
  }

  .story__seasons-grid {
    grid-template-columns: 1fr 1fr;
    height: 50vh;
    min-height: 300px;
  }

  .story__seasons-text {
    padding: var(--space-8) var(--space-6);
  }

  .story__blockquote p {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .story__content {
    padding: var(--space-6);
  }

  .story__number {
    font-size: 2.4rem;
  }

  .story__scroll-hint {
    display: none;
  }
}


/* ===== Parallax / Full-bleed Image ===== */
.fullbleed-image {
  position: relative;
  height: 50vh;
  min-height: 360px;
  overflow: hidden;
}

.fullbleed-image img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.3s ease;
}

.fullbleed-image__caption {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Wine-tinted overlay for full-bleed */
.fullbleed-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(196,30,36,0.1) 0%,
    rgba(45,52,54,0.3) 100%
  );
  pointer-events: none;
}


/* ===== Info / Visit ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-10);
}

.info-block__title {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.info-block__content {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
}

.info-block__content a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.info-block__content a:hover {
  opacity: 0.7;
}

.info-block__hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-1) 0;
}

.hours-row__day {
  min-width: 60px;
  font-weight: 500;
  color: var(--color-text);
}

.hours-row--closed .hours-row__day {
  color: var(--color-text-faint);
}

.hours-row--closed .hours-row__time {
  color: var(--color-accent);
  font-weight: 500;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}


/* ===== Facilities ===== */
.facility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.facility-tag {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  font-weight: 500;
  transition: all 0.2s ease;
}

.facility-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Visit external links */
.visit-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

.visit-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.visit-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.visit-link svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.visit-link:hover svg {
  opacity: 1;
}

@media (max-width: 480px) {
  .visit-links {
    flex-direction: column;
  }
  .visit-link {
    justify-content: center;
  }
}


/* ===== Footer ===== */
.footer {
  padding: var(--space-12) 0 var(--space-6);
  background: #2D3436;
  color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .footer {
  background: #1a1b1c;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-10);
}

.footer__brand {
  margin-bottom: var(--space-3);
}

.footer__brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.footer__company {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: var(--space-8);
}

.footer-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer__bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: var(--space-8);
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

/* View toggle (mobile/PC) */
.footer__view-toggle {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.view-toggle:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}

/* Default: show PC icon + "PC 버전" text (means user is on mobile, offer PC) */
.view-toggle__icon--pc { display: none; }
.view-toggle__icon--mobile { display: block; }

/* When in PC forced mode: show mobile icon + "모바일 버전" text */
html.force-pc .view-toggle__icon--pc { display: block; }
html.force-pc .view-toggle__icon--mobile { display: none; }


/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(21,22,23,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  z-index: 201;
  transition: color 0.2s ease;
}

.lightbox__close:hover {
  color: #fff;
}


/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }


/* ===== Scroll-to-Top Button ===== */
.top-btn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease;
}

.top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.top-btn:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.top-btn:active {
  transform: translateY(0);
}

.top-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .top-btn {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 44px;
    height: 44px;
  }
  .top-btn__ring circle {
    stroke-dasharray: 126.92;
    stroke-dashoffset: 126.92;
  }
}


/* ===== Stamp text under menu note ===== */
.menu-panel__stamp {
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: var(--space-2);
}


/* ===== PREMIUM UPGRADES ===== */

/* --- Smooth scroll body --- */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* Custom cursor removed — using native cursor for reliability */

/* --- Hero enhancements --- */
.hero__bg img {
  will-change: transform;
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: heroCharReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCharReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__tagline {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero__subtitle {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.hero__scroll {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Override for tagline (no translateX) */
.hero__tagline {
  animation-name: heroTaglineFade;
}
@keyframes heroTaglineFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__subtitle {
  animation-name: heroTaglineFade;
}



/* --- Gallery caption overlay --- */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(45,52,54,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transform: translateY(10px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item__overlay span {
  transform: translateY(0);
}

/* --- Parallax fullbleed images --- */
.fullbleed-image {
  clip-path: inset(0);
}
.fullbleed-image img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center 30%;
  will-change: auto;
}

/* --- Section title split animation --- */
.section__title .word {
  display: inline-block;
  overflow: hidden;
}

.section__title .word-inner {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible .section__title .word-inner {
  transform: translateY(0);
}

.section__title .word-inner:nth-child(1) { transition-delay: 0s; }
.section__title .word:nth-child(2) .word-inner { transition-delay: 0.06s; }
.section__title .word:nth-child(3) .word-inner { transition-delay: 0.12s; }
.section__title .word:nth-child(4) .word-inner { transition-delay: 0.18s; }
.section__title .word:nth-child(5) .word-inner { transition-delay: 0.24s; }

/* --- Image reveal clip animation --- */
.about-image {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image.visible {
  clip-path: inset(0 0% 0 0);
}

/* --- Horizontal rule accent --- */
.hr-accent {
  border: none;
  height: 1px;
  background: linear-gradient(to right, var(--color-accent), transparent 60%);
  margin: var(--space-16) 0;
  opacity: 0.3;
}

/* --- Loading screen --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  height: 40px;
  opacity: 0;
  animation: loaderPulse 1.5s ease-in-out infinite, loaderFadeIn 0.5s ease forwards;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes loaderFadeIn {
  to { opacity: 0.4; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero__title .char,
  .hero__tagline,
  .hero__subtitle,
  .hero__scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .section__title .word-inner {
    transform: none !important;
    transition: none !important;
  }
  /* cursor removed */
  .loader { display: none !important; }
}


/* === Performance: image loading smoothness === */
.story__split-image,
.story__season-card,
.story__bg {
  background: var(--color-charcoal);
}
.story__split-image img,
.story__season-card img,
.story__bg img,
.gallery-item img {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.story__split-image img[complete],
.story__season-card img[complete],
.story__bg img[complete],
.gallery-item img[complete],
.story__split-image img.loaded,
.story__season-card img.loaded,
.story__bg img.loaded,
.gallery-item img.loaded {
  opacity: 1;
}

/* === Performance: offscreen rendering optimization === */
#menu,
#gallery,
#reviews,
#visit,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
