/* ===== Shared redesign utilities ===== */
.live:not(.is-live) *, .live:not(.is-live) *::before, .live:not(.is-live) *::after { animation-play-state: paused !important; }
.crop { position: relative; display: block; overflow: hidden; background: #15130f; }
.crop img { position: absolute; max-width: none; transition: transform 1.4s var(--ease); }
.crop--fill { position: absolute; inset: 0; }
.star { color: var(--gold); flex: none; }
.chapter { position: absolute; z-index: 0; top: clamp(1.2rem, 3vw, 3rem); right: clamp(0.6rem, 3vw, 3rem); font-family: var(--f-head); font-weight: 400; font-size: clamp(7rem, 18vw, 18rem); line-height: 0.8; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, 0.24); pointer-events: none; user-select: none; }
.chapter--ink { -webkit-text-stroke-color: rgba(26, 23, 19, 0.13); }
.sep { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-bottom: 2.6rem; color: var(--gold); }
.sep__line { height: 1px; width: clamp(60px, 14vw, 180px); background: linear-gradient(90deg, transparent, var(--gold)); transform: scaleX(0); transform-origin: right; transition: transform 1.3s var(--ease) 0.2s; }
.sep__line:last-child { background: linear-gradient(270deg, transparent, var(--gold)); transform-origin: left; }
.sep.in .sep__line { transform: none; }
@media (prefers-reduced-motion: reduce) { .sep__line { transform: none; transition: none; } }

/* illustrative photo strip */
.pstrip { width: 100%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45)); }
.pstrip__paper { display: grid; gap: 6px; padding: 7px 7px 0; background: linear-gradient(180deg, #fcf9f2, #eee6d6); border: 1px solid rgba(201, 164, 92, 0.9); border-radius: 3px; box-shadow: inset 0 0 0 4px #f6f1e6, inset 0 0 0 5px rgba(201, 164, 92, 0.4); }
.pstrip__frame { box-shadow: 0 0 0 1px rgba(26, 23, 19, 0.16); margin-inline: 4px; }
.pstrip__frame:first-child { margin-top: 4px; }
.pstrip__foot { display: grid; justify-items: center; gap: 2px; padding: 4px 0 11px; color: #1a1713; }
.pstrip__foot img { height: 13px; width: auto; }
.pstrip__foot span { font-family: var(--f-accent); font-style: italic; font-size: 12px; line-height: 1.2; letter-spacing: 0.02em; }

/* gold cursor ring */
.gcursor { position: fixed; left: -14px; top: -14px; width: 28px; height: 28px; z-index: 150; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.3s, width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background-color 0.35s; will-change: transform; }
.gcursor.is-on { opacity: 0.9; }
.gcursor.is-link { width: 52px; height: 52px; margin: -12px 0 0 -12px; background: rgba(201, 164, 92, 0.14); }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .gcursor { display: none; } }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; background: var(--black); }
.hero__silk { position: absolute; inset: 0; background: url('../img/silk-black-1536.webp') center / cover; opacity: 0.38; mix-blend-mode: screen; }
.hero__silk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 6%, rgba(8, 8, 8, 0.35) 70%, var(--black)); }
.hero__chapter { position: absolute; z-index: 1; left: clamp(0.5rem, 2vw, 2rem); bottom: 0.5rem; font-family: var(--f-head); font-size: clamp(6rem, 14vw, 14rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, 0.18); pointer-events: none; }
.hero__side { display: none; }

.hero__grid { position: relative; z-index: 3; width: min(1480px, 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vh, 2.5rem); padding: calc(var(--header-h) + clamp(1.2rem, 4vh, 3rem)) 0 clamp(2rem, 5vh, 3rem); }
.hero__logo { display: block; --cw: clamp(76px, 6.5vw, 100px); margin-left: calc(var(--cw) * -0.05); width: var(--cw); height: auto; margin-bottom: clamp(1rem, 2.4vh, 1.6rem); -webkit-mask-image: linear-gradient(90deg, #000 0 42%, transparent 58% 100%); mask-image: linear-gradient(90deg, #000 0 42%, transparent 58% 100%); -webkit-mask-size: 320% 100%; mask-size: 320% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.hero.in .hero__logo { animation: sweep 1.1s cubic-bezier(0.5, 0, 0.2, 1) 0.25s both; }
.hero__eyebrow { margin-bottom: clamp(1rem, 2.4vh, 1.5rem); opacity: 0; transform: translateY(10px); transition: opacity 0.8s var(--ease) 0.6s, transform 0.8s var(--ease) 0.6s; }
.hero.in .hero__eyebrow { opacity: 1; transform: none; }
.hero__rule { width: clamp(3.2rem, 7vw, 5.5rem); flex: none; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) 0.5s; }
.hero.in .hero__rule { transform: none; }

.hero__title { font-family: var(--f-head); font-weight: 400; font-size: calc((100vw - 2 * var(--gutter)) / 13.7); line-height: 1.08; letter-spacing: 0.03em; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; white-space: nowrap; }
.hero__title .line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease) var(--d, 0ms); }
.hero.in .hero__title .line > span { transform: none; }
.hero__title .accent { color: var(--gold); font-size: 1.14em; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.08em; }
@media (min-width: 700px) { .hero__title { font-size: min(4.4rem, calc((100vw - 2 * var(--gutter)) / 13.7)); } }
@media (min-width: 1000px) { .hero__title { font-size: clamp(2.1rem, calc((min(100vw, 1480px) - 2 * var(--gutter)) * 0.55 / 13.2), 4.2rem); } }

.hero__sub { max-width: 31rem; margin-top: clamp(1.1rem, 2.6vh, 1.8rem); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: var(--muted); opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease) 1.3s, transform 0.9s var(--ease) 1.3s; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1rem; margin-top: clamp(1.4rem, 3.2vh, 2.2rem); opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease) 1.45s, transform 0.9s var(--ease) 1.45s; }
.hero.in .hero__sub, .hero.in .hero__actions { opacity: 1; transform: none; }
.hero__cue { display: none; }

/* right: the booth */
.hero__screen { position: absolute; z-index: 2; border-radius: 4%/3%; overflow: hidden; transition: box-shadow 0.6s ease; }
.hero[data-step='c1'] .hero__screen, .hero[data-step='flash'] .hero__screen, .hero[data-stage='2'] .hero__screen { box-shadow: 0 0 28px 6px rgba(255, 236, 190, 0.5); }
.hero__flash { position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at 68% 41%, rgba(255, 255, 255, 0.85), rgba(255, 244, 214, 0.3) 32%, transparent 62%); opacity: 0; pointer-events: none; }
.hero[data-step='flash'] .hero__flash { animation: flashpop 0.8s ease-out both; }
@keyframes flashpop { 0% { opacity: 0; } 14% { opacity: 0.7; } 100% { opacity: 0; } }

.hero__float { position: absolute; z-index: 4; transform: translate3d(0, var(--py, 0px), 0); pointer-events: none; }
.hero__floatin { padding: 5px; background: var(--ivory); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(201, 164, 92, 0.7); opacity: 0; transform: translateY(26px) rotate(var(--r)); transition: opacity 1s var(--ease) var(--fd), transform 1.2s var(--ease) var(--fd); }
.hero.in .hero__floatin { opacity: 1; transform: rotate(var(--r)); }
.hero__float--a { left: -12%; bottom: 7%; width: 46%; }
.hero__float--a .hero__floatin { --r: -5deg; --fd: 1.7s; }
.hero__float--b { right: -9%; top: 9%; width: 26%; }
.hero__float--b .hero__floatin { --r: 6deg; --fd: 1.85s; }
.hero__pstrip { position: absolute; z-index: 5; left: 4%; top: 25%; width: 26%; opacity: 0; transform: translate3d(190%, 6%, 0) scale(0.3) rotate(10deg); transform-origin: 50% 30%; transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.hero[data-stage='2'] .hero__pstrip { opacity: 1; transform: perspective(900px) rotateY(12deg) rotate(-4deg); }
.hero__star { position: absolute; z-index: 6; opacity: 0; transition: opacity 1s ease 2s; animation: twinkle 3.6s ease-in-out infinite; }
.hero.in .hero__star { opacity: 1; }
.hero__star--a { right: -5%; top: 48%; }
.hero__star--b { left: -4%; top: 12%; animation-delay: -1.2s; }
.hero__star--c { right: 14%; bottom: 3%; animation-delay: -2.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.55; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
.hero__cap { position: absolute; z-index: 6; right: 6%; bottom: 3.5%; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border: 1px solid rgba(201, 164, 92, 0.55); border-radius: 999px; background: rgba(8, 8, 8, 0.72); backdrop-filter: blur(6px); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity 1s ease 2s; }
.hero.in .hero__cap { opacity: 1; }
.hero__cap b { font-family: var(--f-accent); font-style: italic; font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--gold); }
.hero__meta { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1.1rem; }
.hero__standin { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); }
.hero__pause { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; background: none; color: var(--gold); transition: background-color 0.3s, color 0.3s; }
.hero__pause:hover { background: var(--gold); color: var(--black); }

@media (min-width: 700px) and (max-width: 999px) { .hero__stagewrap { width: min(52vw, 400px); } }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 3vw, 4rem); }
  .hero__meta { margin-top: clamp(2.6rem, 7vh, 4rem); }
  .hero__cue { display: inline-flex; align-items: center; gap: 1rem; margin-top: clamp(1.8rem, 6vh, 3.5rem); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; color: var(--muted); opacity: 0; transition: opacity 1s ease 1.9s, color 0.3s; }
  .hero.in .hero__cue { opacity: 1; }
  .hero__cue:hover { color: var(--gold); }
  .hero__cue i { position: relative; width: 1px; height: 56px; background: rgba(201, 164, 92, 0.3); overflow: hidden; }
  .hero__cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 22px; background: var(--gold); animation: cue 2.2s var(--ease-io) infinite; }
  .hero__float--a { left: -16%; }
  .hero__float--b { right: -11%; }
}
@keyframes cue { from { transform: translateY(-110%); } to { transform: translateY(260%); } }
@media (min-width: 1280px) {
  .hero__side { display: block; position: absolute; z-index: 3; right: clamp(0.6rem, 1.4vw, 1.6rem); top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
}
@media (max-width: 699px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__float--a { left: -8%; width: 44%; }
  .hero__float--b { right: -7%; }
  .hero__standin { max-width: 14rem; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .line > span { transform: none; transition: none; }
  .hero__logo { -webkit-mask-image: none; mask-image: none; animation: none !important; }
  .hero__floatin { transform: rotate(var(--r)); }
}

/* ===== Marquee A: elegant ===== */
.mqa { position: relative; z-index: 5; overflow: hidden; background: var(--black); border-block: 1px solid var(--hairline); padding: clamp(1rem, 2vw, 1.5rem) 0; }
.mqa__track { display: flex; width: max-content; animation: mq 52s linear infinite; will-change: transform; }
.mqa:hover .mqa__track, .mqa:focus-within .mqa__track { animation-play-state: paused; }
.mqa__set { display: flex; flex: none; align-items: center; }
.mqa__set li { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); padding-right: clamp(1.4rem, 3vw, 2.6rem); font-family: var(--f-head); font-size: clamp(0.85rem, 0.9vw + 0.5rem, 1.2rem); letter-spacing: 0.34em; text-transform: uppercase; white-space: nowrap; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }

/* ===== Marquee B: closing statement, oversized, reverse ===== */
.mqb { position: relative; z-index: 2; overflow: hidden; background: var(--black); border-top: 1px solid var(--hairline); padding: clamp(2.4rem, 5vw, 4.5rem) 0; }
.mqb__track { display: flex; width: max-content; animation: mqb 80s linear infinite reverse; will-change: transform; }
.mqb:hover .mqb__track { animation-play-state: paused; }
.mqb__set { display: flex; flex: none; align-items: center; }
.mqb__set li { display: flex; align-items: center; gap: clamp(2rem, 4vw, 4rem); padding-right: clamp(2rem, 4vw, 4rem); font-family: var(--f-head); font-size: clamp(2.6rem, 7.2vw, 7.4rem); line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.mqb__set .is-outline span { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.mqb__set .is-solid span { font-family: var(--f-accent); font-style: italic; text-transform: none; font-size: 1.12em; color: var(--ivory); letter-spacing: 0; }
.mqb__set li i { flex: none; width: clamp(2.5rem, 6vw, 5.5rem); height: 1px; background: var(--gold-grad); }
.mqb__static { display: none; }
@keyframes mqb { to { transform: translate3d(-33.3333%, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  .mqa__track { animation: none; width: auto; justify-content: center; }
  .mqa__set[aria-hidden='true'] { display: none; }
  .mqa__set { flex-wrap: wrap; justify-content: center; row-gap: 0.6rem; }
  .mqb__track { display: none; }
  .mqb__static { display: grid; justify-items: center; gap: 0.4rem; text-align: center; font-family: var(--f-head); font-size: clamp(1.8rem, 6vw, 4rem); text-transform: uppercase; line-height: 1.15; }
  .mqb__static span:nth-child(2) { font-family: var(--f-accent); font-style: italic; text-transform: none; color: var(--gold); }
}
