/* ==========================================================================
   Janković — home: mirror-glaze hero, the menu as a tiered cake, vitrine strip,
   one voice, builder teaser
   ========================================================================== */

/* ---------- Hero: the glaze ---------- */
.hero { position: relative; z-index: 2; height: 100vh; height: 100svh; min-height: 540px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.hero__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--nav-h) var(--gutter) 6rem;
  background: radial-gradient(120% 90% at 50% 40%, #3D1E13 0%, var(--ganache) 55%, #1A0B07 100%);
  color: var(--malina-hi);
}
.hero__fallback .wordmark { width: min(78vw, 1100px); filter: drop-shadow(0 2px 0 rgba(255, 220, 190, 0.18)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
.hero.is-live .hero__fallback { opacity: 0; visibility: hidden; transition: opacity 600ms, visibility 0s 600ms; }
.hero.is-fallback .hero__canvas { visibility: hidden; }

.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(2.25rem, 6vh, 3.75rem); z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; pointer-events: none;
}
.hero__line {
  font-family: var(--f-display); font-style: italic; font-weight: 300; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.6rem); line-height: 1.25; color: var(--cream); max-width: 22ch;
}
.hero__line span {
  display: block; margin-top: 0.6rem; font-family: var(--f-sans); font-style: normal; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--karamel-hi);
}
.hero__hint {
  display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247, 235, 221, 0.62); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.hero__hint::before {
  content: ''; width: 9px; height: 12px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--karamel-hi);
  animation: hintDrop 2.4s var(--ease-io) infinite;
}
@keyframes hintDrop { 0%, 100% { transform: translateY(-3px) scaleY(0.9); } 50% { transform: translateY(3px) scaleY(1.1); } }
.hero__hint.is-gone { opacity: 0; transform: translateY(8px); }
.hero:not(.is-live) .hero__hint { display: none; }
.hero__drips { height: 176px; }
@media (max-width: 600px) {
  .hero__foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- The menu as a three-tier cake ---------- */
.mc { position: relative; z-index: 1; padding: calc(var(--space-xl) + 110px) 0 var(--space-xl); }
.mc__head { display: grid; gap: 1.2rem; max-width: 46rem; margin-bottom: var(--space-l); }
.mc__head .h2 { max-width: 15ch; }

.tiers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: end; }
.tiers__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-dome); overflow: hidden; background: var(--slag-2); box-shadow: 0 40px 80px -40px rgba(42, 20, 13, 0.45); }
.tiers__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 700ms var(--ease-out), transform 1600ms var(--ease-out);
}
.tiers__img.is-on { opacity: 1; transform: scale(1); }

.tiers__cake { display: flex; flex-direction: column; align-items: center; padding-bottom: 0.5rem; }
.tiers__stack { display: grid; justify-items: center; width: 100%; }
.tier { width: 100%; }
.tier--1 { width: 56%; }
.tier--2 { width: 79%; margin-top: -2px; }
.tier--3 { width: 100%; margin-top: -2px; }
.tier__link {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem;
  min-height: clamp(104px, 9.5vw, 142px); padding: 1.9rem clamp(1.1rem, 2vw, 2rem) 1.2rem;
  border-radius: 18px 18px 10px 10px; color: var(--cream);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 18%, rgba(255, 220, 190, 0.07) 42%, transparent 64%, rgba(0, 0, 0, 0.36)),
    var(--ganache);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 0 24px 40px -26px rgba(42, 20, 13, 0.7);
}
.tier__drip { position: absolute; left: 0; top: 0; width: 100%; height: 34px; fill: var(--kakao); z-index: 0; }
.tier__pour {
  position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: 1; background: var(--glaze);
  transform: translateY(calc(-100% - 50px)); transition: transform 760ms var(--ease-pour);
}
.tier__pour-drips { position: absolute; left: 0; top: calc(100% - 1px); width: 100%; height: 50px; fill: var(--glaze); }
.tier__title, .tier__line, .tier__go { position: relative; z-index: 2; transition: color 300ms ease 200ms; }
.tier__title {
  grid-column: 1; font-family: var(--f-display); font-variation-settings: 'SOFT' 100; font-weight: 360;
  font-size: clamp(1.35rem, 0.9rem + 1.3vw, 2.3rem); line-height: 1.02; letter-spacing: -0.015em;
}
.tier__line { grid-column: 1; margin-top: 0.4rem; font-size: 0.86rem; line-height: 1.4; color: rgba(247, 235, 221, 0.66); }
.tier__go {
  grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor; transition: color 300ms ease 200ms, transform var(--t-med) var(--ease-out);
}
.tier__link:hover .tier__pour, .tier__link:focus-visible .tier__pour { transform: translateY(0); }
.tier__link:hover, .tier__link:focus-visible { color: var(--ink); }
.tier__link:hover .tier__line, .tier__link:focus-visible .tier__line { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.tier__link:hover .tier__go { transform: rotate(-35deg); }
.tier--1 .tier__line { display: none; }
.tiers__stand {
  width: 108%; height: 22px; margin-top: -8px; border-radius: 50%;
  background: linear-gradient(90deg, #8C6428, #E9C88D 45%, #F6E2B6 52%, #A7783A);
  box-shadow: 0 14px 22px -10px rgba(42, 20, 13, 0.55);
}

@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
  .tiers__frame { display: none; }
  .tier--1 { width: 74%; }
  .tier--2 { width: 88%; }
  .tier--1 .tier__line { display: block; }
}

/* ---------- Vitrine strip ---------- */
.vs { padding: var(--space-xl) 0; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.strip__item:nth-child(even) { margin-top: clamp(1.5rem, 4vw, 4rem); }
.strip__link { display: grid; gap: 0.35rem; }
.strip__media { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-dome); overflow: hidden; background: var(--ganache-3); margin-bottom: 0.8rem; }
.strip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease-out), filter 700ms; filter: saturate(0.92); }
.strip__link:hover .strip__media img { transform: scale(1.06); filter: saturate(1.08); }
.strip__name { font-family: var(--f-display); font-variation-settings: 'SOFT' 100; font-weight: 380; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.1; }
.strip__short { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 860px) {
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip__item { flex: 0 0 68%; scroll-snap-align: start; }
  .strip__item:nth-child(even) { margin-top: 0; }
}

/* ---------- One voice ---------- */
.voice { padding: var(--space-2xl) 0; text-align: center; }
.voice__inner { display: grid; justify-items: center; gap: 2rem; }
.voice__quote { display: grid; justify-items: center; gap: 1.5rem; }
.voice__quote p {
  font-family: var(--f-display); font-style: italic; font-weight: 300; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(2.1rem, 0.9rem + 4.6vw, 5.6rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 17ch;
}
.voice__quote em { color: var(--malina); }
.voice__quote footer { font-size: var(--fs-small); color: var(--muted); }
.voice__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; font-size: 0.85rem; color: var(--muted); }
.voice__more span { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--fg); margin-right: 0.35rem; }

/* ---------- Builder teaser ---------- */
.bt { padding: var(--space-xl) 0; overflow: hidden; }
.bt__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: var(--space-m); }
.bt__copy { display: grid; justify-items: start; gap: 1.3rem; }
.bt__copy .lead { color: var(--muted); }
.bt__copy .h2 em { color: #FFF4F0; }
.bt__cake { justify-self: center; width: min(100%, 440px); }
.tc { width: 100%; height: auto; overflow: visible; }
.tc__pearls circle { fill: #FFF8F4; }
@media (max-width: 860px) { .bt__grid { grid-template-columns: 1fr; } .bt__cake { width: min(80%, 360px); } }
