/* ===== Header ===== */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.hdr::before { content: ''; position: absolute; inset: 0 0 -40px 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 8, 0.82), transparent); pointer-events: none; transition: opacity 0.5s; }
.hdr--solid::before { opacity: 0; }
.hdr--solid { background: rgba(8, 8, 8, 0.96); box-shadow: 0 1px 0 var(--hairline); }
.hdr__in { width: min(1480px, 100% - 2 * var(--gutter)); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.hdr__logo { display: block; flex: none; line-height: 0; }
.hdr__logo img { height: 52px; width: auto; }
.hdr__nav { display: none; margin-left: auto; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.hdr__nav a { position: relative; padding: 0.5rem 0; text-decoration: none; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.hdr__nav a:hover, .hdr__nav a.is-active { color: var(--ivory); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); }
.hdr__cta { display: none; padding: 0.7rem 1.4rem; font-size: 0.75rem; }
.hdr__burger { margin-left: auto; display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; }
@media (min-width: 1100px) {
  .hdr__nav, .hdr__cta { display: flex; }
  .hdr__burger { display: none; }
}

.mnav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--black); padding: 2.5rem var(--gutter) 3rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { display: flex; align-items: baseline; gap: 1.2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--hairline); text-decoration: none; font-family: var(--f-head); font-size: clamp(1.5rem, 6.4vw, 2.1rem); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; transform: translateY(14px); animation: mnav-in 0.7s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 60ms); }
.mnav__n { font-family: var(--f-accent); font-style: italic; font-size: 1.1rem; color: var(--gold); letter-spacing: 0; }
.mnav__cta { align-self: stretch; margin-top: 2rem; }
@keyframes mnav-in { to { opacity: 1; transform: none; } }
@media (min-width: 1100px) { .mnav { display: none; } }
@media (prefers-reduced-motion: reduce) { .mnav nav a { animation: none; opacity: 1; transform: none; } }

/* ===== Intro: the logo reveal ===== */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--black); display: grid; place-items: center; transition: opacity 0.45s ease; cursor: pointer; }
.intro.is-leaving { opacity: 0; pointer-events: none; }
.intro__logo { position: relative; width: min(560px, 74vw); aspect-ratio: 1774 / 740; }
.intro__band { position: absolute; inset: 0; width: 100%; height: 100%; -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; animation: sweep 0.75s cubic-bezier(0.5, 0, 0.2, 1) both; }
.intro__band--crown { clip-path: inset(0 0 73.8% 0); animation-delay: 0.1s; }
.intro__band--ql { clip-path: inset(25.4% 0 31.6% 0); animation-delay: 0.45s; }
.intro__band--word { clip-path: inset(67.8% 0 0 0); animation-delay: 0.8s; }
@keyframes sweep { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.intro__flash { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 233, 186, 0.5), rgba(212, 175, 55, 0.12) 45%, transparent 72%); opacity: 0; animation: flash 0.7s ease-in-out 1.05s both; pointer-events: none; }
@keyframes flash { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
.intro__skip { position: absolute; bottom: clamp(1.5rem, 5vh, 3rem); left: 50%; transform: translateX(-50%); background: none; border: 0; padding: 0.7rem 1rem; font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.intro__skip:hover { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
