/* React / Framer Motion editorial layout. */
html { scroll-padding-top: 88px; }
.hero--ritual { min-height: 820px; padding: 110px 0 86px; }
.hero--ritual .hero-inner { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.hero--ritual .hero-title { font-size: clamp(48px, 5.3vw, 76px); letter-spacing: -.045em; line-height: 1.05; }
.hero--ritual .hero-title em { display: block; font-size: .78em; margin-top: 16px; }
.hero--ritual .hero-lead { max-width: 395px; line-height: 1.85; }
.hero--ritual .hero-content { padding-bottom: 24px; }
.hero-origin { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; color: #68745a; font-size: 11px; }
.hero-origin i { width: 3px; height: 3px; background: #76855d; border-radius: 50%; }
.hero--ritual .hero-visual { height: auto; margin: 0; }
.hero--ritual .hero-visual::before { display: none; }
.ritual-photo { position: relative; aspect-ratio: 4 / 4.7; overflow: hidden; background: #cecbbf; border-radius: 180px 180px 4px 4px; isolation: isolate; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; will-change: transform; }
.ritual-photo-shade { position: absolute; inset: 50% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(22, 35, 22, .63)); }
.ritual-caption { position: absolute; left: 32px; bottom: 30px; color: #fff; pointer-events: none; }
.ritual-caption span { font-size: 9px; letter-spacing: .22em; }
.ritual-caption p { font-family: var(--f-display); font-size: clamp(25px, 2.6vw, 38px); line-height: 1.2; letter-spacing: -.02em; margin-top: 12px; }
.ritual-caption em { color: #e1ebbf; }
.scene-pause { position: absolute; right: 24px; bottom: 28px; color: #fff; border: 1px solid #ffffff70; border-radius: 50%; width: 40px; height: 40px; font-size: 16px; background: #23341c35; }
.scene-pause:disabled { opacity: .5; cursor: default; }
.ritual-margin { display: flex; justify-content: space-between; margin-top: 16px; font-size: 8px; letter-spacing: .16em; color: #647255; }
.hero--ritual .hero-bottom { justify-content: space-between; align-items: center; bottom: 26px; }
.hero--ritual .hero-bottom a { letter-spacing: .04em; font-size: 11px; }
.hero--ritual .hero-bottom span::before { display: none; }
.hero--ritual .hero-actions .btn { padding-inline: 17px; font-size: 12px; }
.motion-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; padding: 28px var(--gutter); background: var(--cream); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.motion-menu li { border-bottom: 1px solid var(--line); }
.motion-menu li a { display: flex; align-items: center; gap: 20px; padding: 16px 0; font-family: var(--f-display); font-size: 32px; color: var(--emerald); }
.motion-menu small { font-family: var(--f-sans); font-size: 10px; color: var(--matcha-700); }
.motion-menu > .btn { margin-top: 24px; flex-shrink: 0; }
.menu-toggle.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { top: 21px; transform: rotate(-45deg); }
.product-tabs button[aria-pressed="true"] { background: var(--emerald); color: #fff; }
.product-card:hover, .product-card:hover .product-img { transform: none; }
.product-img { transition: none; }
.product-card { transition: box-shadow .4s; }
.faq-question { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 24px; width: 100%; padding: 24px 0; font-family: var(--f-sans); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--emerald); }
.faq-question i { position: relative; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; }
.faq-question i::before, .faq-question i::after { content: ''; position: absolute; width: 12px; height: 1px; background: var(--emerald); left: 10px; top: 16px; }
.faq-question i::after { transform: rotate(90deg); transition: transform .3s; }
.faq-question[aria-expanded="true"] i::after { transform: rotate(0deg); }
.sheet[open] { animation: none; }
.sheet .sheet-inner { min-height: 100%; }
.photo-credit { width: 100%; font-size: 10px; opacity: .75; margin-top: 8px; }
.photo-credit a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-bottom { flex-wrap: wrap; }
@media (max-width: 1100px) and (min-width: 641px) {
  .hero--ritual { min-height: 730px; }
  .hero--ritual .hero-inner { gap: 28px; }
  .hero--ritual .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero--ritual .hero-actions .btn { min-width: 242px; }
  .ritual-photo { aspect-ratio: 3 / 4.7; border-radius: 150px 150px 4px 4px; }
  .ritual-caption { left: 22px; }
  .ritual-margin { font-size: 7px; letter-spacing: .05em; }
}
@media (max-width: 640px) {
  .hero--ritual { min-height: auto; padding: calc(var(--header-h) + 30px) 0 72px; }
  .hero--ritual .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero--ritual .hero-content { padding-bottom: 0; }
  .hero--ritual .hero-title { font-size: clamp(44px, 10.8vw, 66px); margin: 18px 0; }
  .hero--ritual .hero-title em { margin-top: 10px; }
  .hero--ritual .hero-lead { max-width: 390px; }
  .hero--ritual .hero-actions { gap: 8px; }
  .hero--ritual .hero-actions .btn { font-size: 12px; --h: 48px; }
  .hero-origin { margin-top: 22px; font-size: 10px; gap: 9px; }
  .ritual-photo { aspect-ratio: 1 / 1.1; border-radius: 130px 130px 4px 4px; }
  .ritual-caption { left: 24px; bottom: 24px; }
  .ritual-caption p { font-size: 28px; }
  .ritual-margin { font-size: 7px; letter-spacing: .06em; }
  .hero--ritual .hero-bottom { bottom: 22px; font-size: 7px; }
  .hero--ritual .hero-bottom a { font-size: 9px; }
  .faq-question { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo { will-change: auto; } }

/* Hero entrance runs from first paint (before hydration), so there is no flash on reload. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-settle { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero--ritual .hero-content > * { animation: hero-rise .9s cubic-bezier(.22, 1, .36, 1) both; }
.hero--ritual .hero-content > :nth-child(2) { animation-delay: .08s; }
.hero--ritual .hero-content > :nth-child(3) { animation-delay: .18s; }
.hero--ritual .hero-content > :nth-child(4) { animation-delay: .28s; }
.hero--ritual .hero-content > :nth-child(5) { animation-delay: .38s; }
.ritual-photo { animation: hero-reveal 1.3s cubic-bezier(.77, 0, .18, 1) .1s both; }
.ritual-photo > .hero-photo-wrap { width: 100%; height: 100%; animation: hero-settle 2s cubic-bezier(.22, 1, .36, 1) .1s both; }
.ritual-caption, .scene-pause, .ritual-margin { animation: hero-rise .8s cubic-bezier(.22, 1, .36, 1) 1s both; }
@media (prefers-reduced-motion: reduce) {
  .hero--ritual .hero-content > *, .ritual-photo, .ritual-photo > .hero-photo-wrap, .ritual-caption, .scene-pause, .ritual-margin { animation: none; }
}
