.home-ritual { padding: .75rem 0 1.5rem; }
.home-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.home-scene { margin: 0; background: #45382e; }
.home-scene img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 68%; }
.home-message { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(1.3rem, 5vw, 4.5rem); background: #e6d8c6; }
body.sm-studio .home-message h3 { font: 400 clamp(2.2rem, 5vw, 4.2rem)/1.06 var(--serif); }
.home-message p { max-width: 33ch; margin: .75rem 0 1.1rem; }
.home-switch { display: flex; gap: .55rem; margin: 1.4rem 0 0; border-bottom: 1px solid var(--line); }
.home-switch[hidden], .home-panel[hidden] { display: none; }
.home-switch button { min-height: 44px; min-width: 5rem; background: transparent; border: 1px solid transparent; color: var(--ink); }
.home-switch [aria-selected="true"] { background: var(--ink); color: var(--paper); }
.home-switch button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.home-products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.65rem, 2vw, 1.5rem); padding-top: 1rem; }
.home-products img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.home-products a { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 740px) {
  .home-spread { grid-template-columns: minmax(0, 1fr); }
  .home-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Animate the actual photographed flame, softly feathered into the original frame. */
.home-scene > img { aspect-ratio: auto; }
.home-flame-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 1.25% 2.6% at 41.65% 49.56%, #000 48%, transparent 100%);
  display: none;
}
.home-flame-motion img { aspect-ratio: auto; transform-origin: 41.65% 50.7%; }
@media (prefers-reduced-motion: no-preference) {
  #home-ritual[open] .home-flame-motion { display: block; }
  #home-ritual[open] .home-flame-motion img { animation: home-candle-flicker 4.6s ease-in-out both; }
}
@keyframes home-candle-flicker {
  0%, 100% { transform: none; filter: brightness(1); }
  12%, 59% { transform: scale(.95, 1.16) skewX(4deg); filter: brightness(1.2); }
  26%, 78% { transform: scale(1.07, .91) skewX(-5deg); filter: brightness(.96); }
  38%, 92% { transform: scale(.97, 1.12) skewX(2deg); filter: brightness(1.14); }
}
