/* The header options (js/header-options.js). Nothing here applies without a switch. */

/* ---- the brand ---- */
.brand-stack .b-stack { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand-stack .brand span { font-size: 15px; letter-spacing: .3em; }
.brand-stack .brand em { margin: 0; font-size: 9px; letter-spacing: .32em; opacity: .55; }
.brand-stack .brand svg { width: 26px; height: 26px; }
.brand-word .brand { gap: 12px; }
.brand-word .brand span { font-family: var(--sans); text-transform: none; font-weight: 300; font-size: 24px; letter-spacing: -.01em; }
.brand-word .brand svg { width: 20px; height: 20px; }
.brand-lat .brand em { display: inline-flex; align-items: center; gap: 12px; margin-left: 4px; font-size: 11px; letter-spacing: .14em; opacity: .7; }
.brand-lat .brand em i { width: 1px; height: 16px; background: currentColor; opacity: .5; display: block; }

/* ---- the nav ---- */
.top nav { position: relative; }
.nav-ind { position: absolute; left: 0; pointer-events: none; opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), width .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.top nav a { position: relative; transition: opacity .3s, color .3s; }
/* Index: sentence case, a red number before each, one line slides under the one you point at */
.nav-index .top nav { opacity: 1; gap: 30px; font-family: var(--sans); text-transform: none; letter-spacing: .01em; font-size: 15px; }
.nav-index .top nav a { opacity: .62; display: inline-flex; align-items: baseline; gap: 7px; }
.nav-index .top nav a i { font-style: normal; font-family: var(--caps); font-size: 10px; letter-spacing: .14em; color: var(--red); opacity: .95; }
.nav-index .top nav a.on { opacity: 1; }
.nav-index .nav-ind { bottom: -9px; height: 1px; background: currentColor; }
/* Pill: the four links in a frosted pill, a paper pill slides behind the one you point at */
.nav-pill .top nav { opacity: 1; gap: 0; padding: 5px; border-radius: 999px; border: 1px solid rgba(244, 241, 233, .22); background: rgba(27, 26, 25, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 11.5px; }
.nav-pill .top nav a { padding: 9px 16px 8px; border-radius: 999px; z-index: 1; opacity: .75; }
.nav-pill .top nav a.on { opacity: 1; color: var(--ink); }
.nav-pill .nav-ind { top: 5px; bottom: 5px; border-radius: 999px; background: var(--paper); }
.nav-pill .top.ink nav { border-color: rgba(23, 22, 21, .16); background: rgba(244, 241, 233, .7); }
.nav-pill .top.ink nav a.on { color: var(--paper); }
.nav-pill .top.ink .nav-ind { background: var(--ink); }
/* Dots: small caps with dots between, a red square drops onto the one you point at */
.nav-dots .top nav { opacity: 1; gap: 0; font-size: 12px; }
.nav-dots .top nav a { opacity: .6; padding: 0 16px; }
.nav-dots .top nav a + a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; transform: translateY(-50%); }
.nav-dots .top nav a.on { opacity: 1; }
.nav-dots .nav-ind { top: -12px; height: 5px; background: none; display: flex; justify-content: center; }
.nav-dots .nav-ind::before { content: ""; width: 5px; height: 5px; background: var(--red); }

/* ---- Book a stay ---- */
.cta-ticket .cta, .cta-roll .cta, .cta-lantern .cta { border: 0; padding: 0; background: none; display: inline-flex; align-items: stretch; }
.cta-ticket .cta:hover, .cta-roll .cta:hover, .cta-lantern .cta:hover { background: none; }
/* Ticket: the label and a red stub with a perforation between; on hover the stub tears a little and the arrow leaves */
.cta-ticket .cta .t { padding: 11px 16px 10px 18px; border: 1px solid currentColor; border-right: 0; }
.cta-ticket .cta .stub { position: relative; width: 40px; display: grid; place-items: center; background: var(--red); color: #fff; transform-origin: left bottom; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.cta-ticket .cta .stub::before { content: ""; position: absolute; left: -1px; top: 3px; bottom: 3px; border-left: 2px dotted rgba(255, 255, 255, .75); }
.cta-ticket .cta .stub svg { width: 12px; height: 12px; transition: transform .35s; }
.cta-ticket .cta:hover .stub, .cta-ticket .cta.is-hover .stub { transform: rotate(7deg) translate(3px, -2px); }
.cta-ticket .cta:hover .stub svg, .cta-ticket .cta.is-hover .stub svg { transform: translate(3px, -3px); }
.cta-ticket .top.ink .cta .t { border-color: var(--ink); }
.cta-ticket .top.ink .cta { background: none; color: var(--ink); }
/* Roll: a red dot, the label rolls up to the next step while paper fills the button from below */
.cta-roll .cta { position: relative; align-items: center; gap: 10px; padding: 11px 18px 10px 16px; border: 1px solid currentColor; overflow: hidden; }
.cta-roll .cta::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(101%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); z-index: 0; }
.cta-roll .cta .dot { position: relative; z-index: 1; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.cta-roll .cta .roll { position: relative; z-index: 1; display: block; height: 1.15em; overflow: hidden; line-height: 1.15em; }
.cta-roll .cta .roll span { display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cta-roll .cta:hover::before, .cta-roll .cta.is-hover::before { transform: translateY(0); }
.cta-roll .cta:hover, .cta-roll .cta.is-hover { color: var(--ink); }
.cta-roll .cta:hover .roll span, .cta-roll .cta.is-hover .roll span { transform: translateY(-100%); }
.cta-roll .top.ink .cta { background: none; color: var(--ink); }
.cta-roll .top.ink .cta::before { background: var(--ink); }
.cta-roll .top.ink .cta:hover, .cta-roll .top.ink .cta.is-hover { color: var(--paper); }
/* Lantern: a rounded button with a warm light in it, like a cabin window at dusk; on hover the light fills it */
.cta-lantern .cta { position: relative; align-items: center; gap: 12px; padding: 10px 20px 9px 14px; border-radius: 999px; border: 1px solid rgba(244, 241, 233, .45); overflow: hidden; isolation: isolate; }
.cta-lantern .cta .glow { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #e4493b; box-shadow: 0 0 10px 3px rgba(214, 62, 48, .65); animation: lantern 3.2s ease-in-out infinite; }
.cta-lantern .cta .glow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 80, 64, .95), rgba(200, 55, 45, .5) 45%, rgba(200, 55, 45, 0) 70%); transform: scale(1); transition: transform .7s cubic-bezier(.2, .8, .2, 1); z-index: -1; }
.cta-lantern .cta:hover .glow::after, .cta-lantern .cta.is-hover .glow::after { transform: scale(46); }
.cta-lantern .cta:hover, .cta-lantern .cta.is-hover { color: var(--paper); border-color: rgba(226, 80, 64, .8); }   /* red fill, paper label */
.cta-lantern .cta .from { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; opacity: .7; padding-left: 12px; border-left: 1px solid currentColor; }
.cta-lantern .top.ink .cta { background: none; color: var(--ink); border-color: rgba(23, 22, 21, .35); }
@keyframes lantern { 0%, 100% { opacity: .85; box-shadow: 0 0 8px 2px rgba(214, 62, 48, .5); } 50% { opacity: 1; box-shadow: 0 0 14px 5px rgba(214, 62, 48, .75); } }
.shoot .cta-lantern .cta .glow { animation: none; }
@media (max-width: 760px) {
  .cta-lantern .cta .from { display: none; }
  .brand-stack .brand em { display: block; }
  .brand-lat .brand em { display: inline-flex; }
}
/* fixes after the first look: the lantern's label sits over its light; the index numbers bright enough on the dark hero */
.cta-lantern .cta .t, .cta-lantern .cta .from { position: relative; z-index: 2; }
.cta-lantern .cta .glow { z-index: 1; animation-name: lanternGlow; }
@keyframes lanternGlow { 0%, 100% { box-shadow: 0 0 8px 2px rgba(214, 62, 48, .5); } 50% { box-shadow: 0 0 14px 5px rgba(214, 62, 48, .78); } }
.nav-index .top:not(.ink) nav a i { color: #ef8a7d; }
.cta-lantern .top.ink .cta:hover, .cta-lantern .top.ink .cta.is-hover { color: var(--paper); }
