/* ===========================================================
   CüL (シウル) yohaku. — shared styles (TOP + PDP)
   =========================================================== */

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes heroFloatA {
  0%, 100% { transform: translateY(0px) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}
@keyframes heroFloatB {
  0%, 100% { transform: translateY(0px) rotate(3deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}
@keyframes bokeh1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -12px); }
}
@keyframes bokeh2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -16px); }
}
@keyframes bokeh3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
@keyframes blobMorph {
  0%, 100% { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
  50% { border-radius: 42% 58% 40% 60% / 58% 42% 62% 38%; }
}
@keyframes decoDrift1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(5deg); }
}
@keyframes decoDrift2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-11px) rotate(-4deg); }
}
@keyframes decoDrift3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes waterFlow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes shimmerPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.7; }
}
@keyframes pearlRise {
  0%   { transform: translateY(0) rotate(0deg) scale(0.88); opacity: 0; }
  15%  { opacity: var(--pearl-opacity, 0.75); }
  85%  { opacity: var(--pearl-opacity, 0.75); }
  100% { transform: translateY(-620px) rotate(16deg) scale(1.04); opacity: 0; }
}
@keyframes ingredientBlobBreathe {
  0%, 100% { scale: 1; }
  50%      { scale: 1.03; }
}
@keyframes iconPulse {
  0%, 100% { scale: 1; }
  50%      { scale: 1.1; }
}
@keyframes checkPop {
  0%, 100% { scale: 1; }
  50%      { scale: 1.18; }
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}
@keyframes closingBottleFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Hero section layout (mobile: stacked/centered, desktop: asymmetric split) ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #FAF7F2;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.hero-text { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(48px, 10vw, 80px); letter-spacing: 0.35em; color: #3D3428; }
.hero-sublogo { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(12px, 2.5vw, 16px); letter-spacing: 0.25em; color: #8B7E6E; margin-top: 10px; }
.hero-headline { font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: clamp(28px, 6vw, 48px); letter-spacing: 0.08em; line-height: 1.5; color: #3D3428; margin: 36px 0 12px; }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: clamp(16px, 3vw, 22px); letter-spacing: 0.06em; color: #8B7E6E; margin: 0 0 40px; }
.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-note { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; color: #A89B8C; letter-spacing: 0.05em; animation: pulseSubtle 2s ease-in-out infinite; }

/* ---- Hero photo panel: full-bleed on desktop (right side), banner on mobile, curtain-wipe reveal ---- */
.hero-photo-panel {
  position: relative;
  width: calc(100% + 48px);
  margin: 0 -24px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(61,52,40,0.14);
}
.hero-photo-panel[data-anim] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.3s cubic-bezier(0.16,1,0.3,1);
}
.hero-photo-panel[data-anim].revealed { clip-path: inset(0 0 0 0%); }
@media (prefers-reduced-motion: reduce) {
  .hero-photo-panel[data-anim] { clip-path: inset(0 0 0 0%); transition: none; }
}
.hero-photo-img { display: block; width: 100%; height: 320px; object-fit: cover; object-position: center 35%; }

/* ---- Flowing water band: layered ripple with soft depth blur, right-to-left current, gold shimmer line ---- */
.hero-water {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(80px, 12vh, 140px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-water-track {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
}
.hero-water-track--back  { animation: waterFlow 34s linear infinite; opacity: 0.7; }
.hero-water-track--front { animation: waterFlow 19s linear infinite; }
.hero-water-shimmer      { animation: waterFlow 19s linear infinite, shimmerPulse 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-water-track--back, .hero-water-track--front, .hero-water-shimmer { animation: none; }
}

/* ---- Rising pearls: real rendered orb assets in varied sizes, the sole ambient-motion device ---- */
.hero-pearls { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-pearl {
  position: absolute;
  bottom: -80px;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(61,52,40,0.10));
  animation: pearlRise linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-pearl { animation: none; opacity: 0; }
}

.hero-anim { opacity: 0; animation-name: fadeInUp; animation-duration: 0.8s; animation-timing-function: cubic-bezier(0.16,1,0.3,1); animation-fill-mode: forwards; }

.hero-bokeh { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-bokeh--1 { top: 8%; left: 10%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(163,189,206,0.12) 0%, transparent 70%); animation: bokeh1 10s ease-in-out infinite; }
.hero-bokeh--2 { top: 50%; right: 5%; width: 220px; height: 220px; background: radial-gradient(circle, rgba(196,162,101,0.10) 0%, transparent 70%); animation: bokeh2 12s ease-in-out infinite 2s; }
.hero-bokeh--3 { bottom: 10%; left: 20%; width: 180px; height: 180px; background: radial-gradient(circle, rgba(163,189,206,0.08) 0%, transparent 70%); animation: bokeh3 14s ease-in-out infinite 4s; }

.watermark.hero-watermark {
  position: absolute;
  font-size: clamp(120px, 22vw, 320px);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: 0.07;
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1) 0.15s;
}
.watermark.hero-watermark.revealed { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .watermark.hero-watermark { transition: none; opacity: 0; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 60px 48px; }
  .hero-grid { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .hero-text { flex: 1 1 44%; align-items: flex-start; text-align: left; }
  .hero-headline, .hero-tagline { text-align: left; }
  .hero-cta-wrap { align-items: flex-start; }
  .hero-photo-panel { width: 100%; margin: 0; border-radius: 18px; height: min(70vh, 620px); flex: 1 1 52%; }
  .hero-photo-img { height: 100%; }

  /* Cluster decoration around the bottle side so it reads as one composition, not scattered noise */
  .hero-bokeh--1 { left: -2%; top: 6%; }
  .hero-bokeh--2 { right: 4%; top: 58%; }
  .hero-bokeh--3 { left: 40%; bottom: 4%; }
  .watermark.hero-watermark { left: 66%; top: 50%; font-size: clamp(160px, 15vw, 260px); opacity: 0.06; }
}

* { box-sizing: border-box; }
body { margin: 0; padding: 0; background: #FAF7F2; color: #3D3428; font-family: 'Noto Sans JP', sans-serif; }
img { max-width: 100%; }
a { color: #8B7E6E; }
a:hover { color: #5C5245; }

[data-anim] { opacity: 0; transform: translateY(12px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
[data-anim].revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* ---- Staggered reveal for grouped items (cards/lists that sit side by side) ---- */
.stagger-group > [data-anim]:nth-child(1) { transition-delay: 0s; }
.stagger-group > [data-anim]:nth-child(2) { transition-delay: 0.1s; }
.stagger-group > [data-anim]:nth-child(3) { transition-delay: 0.2s; }
.stagger-group > [data-anim]:nth-child(4) { transition-delay: 0.3s; }
.stagger-group > [data-anim]:nth-child(5) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .stagger-group > [data-anim] { transition-delay: 0s; }
}

/* ---- Card hover-lift micro-interaction (pointer devices only, avoids sticky hover on touch) ---- */
.hover-lift { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1); }
@media (hover: hover) and (pointer: fine) {
  .hover-lift:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(61,52,40,0.14); }
}

/* ---- Content-driven motion (motion expressed through the real elements, not floating decoration) ---- */
.feature-icon { display: inline-block; animation: iconPulse 4s ease-in-out infinite; }
.check-icon { display: inline-flex; animation: checkPop 3.4s ease-in-out infinite; }
.badge-pulse { animation: badgePulse 3s ease-in-out infinite; }
.closing-bottle { animation: closingBottleFloat 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .feature-icon, .check-icon, .badge-pulse, .closing-bottle { animation: none; }
}

/* ---- PDP sticky header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,247,242,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(61,52,40,0.06); }
.site-header__inner { max-width: 1080px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__logo { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 24px; letter-spacing: 0.3em; color: #3D3428; text-decoration: none; }
.site-header__nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav-link { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; }
.nav-link__en { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 11px; letter-spacing: 0.12em; color: #A89B8C; transition: color 0.2s ease; }
.nav-link__ja { font-family: 'Noto Sans JP', sans-serif; font-weight: 400; font-size: 11px; letter-spacing: 0.02em; color: #3D3428; transition: color 0.2s ease; }
.nav-link:hover .nav-link__en { color: #C4A265; }
.nav-link:hover .nav-link__ja { color: #5C5245; }

.header-hamburger {
  display: none;
  position: relative;
  z-index: 102;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  flex: none;
}
.header-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #3D3428;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header-hamburger.is-open span:nth-child(2) { opacity: 0; }
.header-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61,52,40,0.28);
  z-index: 99;
}
.nav-backdrop.is-open { display: block; }

@media (max-width: 860px) {
  .header-hamburger { display: flex; }
  .site-header__nav {
    position: fixed;
    z-index: 101;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #FAF7F2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding: 32px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
    box-shadow: -8px 0 32px rgba(61,52,40,0.14);
  }
  .site-header__nav.is-open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-link { flex-direction: row; gap: 10px; align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header__nav, .header-hamburger span { transition: none; }
}

/* ---- Buttons ---- */
.btn-cta {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  background: #3D3428;
  text-decoration: none;
  border-radius: 40px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cta:hover { transform: scale(1.03); box-shadow: 0 8px 32px rgba(61,52,40,0.18); }
.btn-cta--hero { font-size: 15px; padding: 18px 48px; }
.btn-cta--set { font-size: 14px; padding: 16px 48px; margin-top: 8px; }
.btn-cta--header { font-size: 12px; padding: 10px 24px; letter-spacing: 0.1em; }
.btn-cta--card { font-size: 13px; padding: 12px 32px; margin-top: 4px; }
.btn-cta--card:hover { box-shadow: 0 6px 20px rgba(61,52,40,0.15); }
.btn-cta--reprise { font-size: 14px; padding: 16px 40px; }
.btn-cta--reprise:hover { box-shadow: 0 8px 28px rgba(61,52,40,0.18); }

.btn-outline {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #3D3428;
  border: 1px solid #3D3428;
  padding: 12px 32px;
  border-radius: 40px;
  text-decoration: none;
  margin-top: 8px;
  transition: all 0.2s ease;
}
.btn-outline:hover { background: #3D3428; color: #FFFFFF; }

/* ---- Purchase tabs (PDP) ---- */
.tab-btn { font-family: 'Noto Sans JP', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.08em; padding: 10px 24px; border-radius: 40px; cursor: pointer; transition: all 0.2s ease; background: transparent; color: #3D3428; border: 1px solid #C4B8A8; }
.tab-btn.is-active { color: #FFFFFF; background: #3D3428; border-color: #3D3428; }

/* ---- Ingredients accordion (PDP) ---- */
.accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; background: #FFFFFF; border: 1px solid rgba(61,52,40,0.08); border-radius: 10px; padding: 20px 24px; cursor: pointer; transition: all 0.2s ease; font: inherit; }
.accordion-toggle.is-open { border-radius: 10px 10px 0 0; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-icon { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #A89B8C; line-height: 1; }
.ec-link { font-family: 'Noto Sans JP', sans-serif; font-weight: 400; font-size: 13px; color: #8BA7B8; text-decoration: underline; }

/* ---- Footer links ---- */
.footer-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(245,240,234,0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover { color: #F5F0EA; }

/* ---- Footer (TOP: Contents / Official SNS / giant logo) ---- */
.footer-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #C4A265;
  text-transform: uppercase;
}
.footer-nav-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-nav-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(245,240,234,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-link:hover { color: #F5F0EA; }
.footer-sns-row { display: flex; gap: 14px; margin-top: 20px; }
.footer-sns-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,234,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5F0EA;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-sns-icon:hover { background: rgba(245,240,234,0.12); border-color: rgba(245,240,234,0.5); }
.footer-giant-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(64px, 16vw, 160px);
  letter-spacing: 0.08em;
  color: rgba(245,240,234,0.9);
  margin: 0;
  line-height: 1;
}

/* ---- Floating back-to-top (TOP) ---- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #C4A265;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 24px rgba(61,52,40,0.2);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: #A8883E; }
.back-to-top svg { margin-bottom: 2px; }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.01ms, background 0.01ms; }
}

/* ---- Kaminii-inspired abstract decoration: organic blobs ---- */
.blob {
  position: absolute;
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  pointer-events: none;
  z-index: 0;
}
.blob--blue {
  background: radial-gradient(circle at 32% 32%, rgba(139,167,184,0.24), rgba(139,167,184,0.02) 72%);
}
.blob--gold {
  background: radial-gradient(circle at 62% 38%, rgba(196,162,101,0.22), rgba(196,162,101,0.02) 72%);
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
}

/* ---- Real abstract decoration images (icon/ library) ---- */
.deco-icon {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .deco-icon { animation: none !important; }
}

/* ---- Kaminii-inspired abstract decoration: rotated watermark text ---- */
.watermark {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  color: #8BA7B8;
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ---- Kaminii-inspired decoration: hand-drawn ingredient callout badge ---- */
.ingredient-badge {
  position: absolute;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(61,52,40,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: #3D3428;
  z-index: 3;
  line-height: 1.3;
}
