/* ROOM360 header: one floating glass capsule.
   Brand panel (logo + crumb) | editorial line | elevator buttons L-10 | elevator sound, MAP, BOOK.
   Blue-grey metallic glass, chalk text, coral light. The header itself stays transparent. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,700;1,500&display=swap');

#r360-top header.r360-gnav {
  --cap-chalk: #F1EDE5;
  --cap-coral: #FF6246;
  --cap-hot: linear-gradient(180deg, #FF7A3E 0%, #FF5A1F 52%, #F04A10 100%);
  --cap-ink: #20252B;
  --cap-rim: rgba(226, 234, 238, 0.62);
  --cap-serif: 'Cormorant Garamond', 'Bodoni Moda', Georgia, serif;
  background: transparent !important; border: 0 !important; padding: 10px 16px 0; pointer-events: none;
}
#r360-top header.r360-gnav * { box-sizing: border-box; }
#r360-top header.r360-gnav .r360-cap > * { pointer-events: auto; }

/* the capsule */
#r360-top .r360-cap {
  position: relative; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px);
  height: clamp(62px, 4.4vw, 88px); padding: 7px 8px 7px 7px; border-radius: 999px; color: var(--cap-chalk); pointer-events: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(100deg, rgba(58, 74, 86, 0.86) 0%, rgba(74, 90, 102, 0.82) 38%, rgba(62, 78, 90, 0.84) 70%, rgba(48, 62, 74, 0.88) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--cap-rim);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 22px 44px -10px rgba(6, 14, 22, 0.45), 0 6px 14px rgba(6, 14, 22, 0.22);
}

/* brand panel with the curved right edge */
#r360-top .r360-cap-brand {
  position: relative; flex: none; align-self: stretch; width: clamp(210px, 12.4vw, 248px); padding: 0 clamp(36px, 2.3vw, 46px) 0 clamp(20px, 1.4vw, 28px);
  display: flex; flex-direction: column; justify-content: center; gap: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 78' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23163646'/%3E%3Cstop offset='.6' stop-color='%230F2A38'/%3E%3Cstop offset='1' stop-color='%230B2230'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M39 .5H232C248 .5 254 8 259 20L272 52C278 68 286 77.5 299.5 77.5H39A38.5 38.5 0 0 1 .5 39 38.5 38.5 0 0 1 39 .5Z' fill='url(%23g)' stroke='rgba(190,220,230,0.38)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  box-shadow: none;
}
#r360-top .r360-cap-logo { background: none; border: 0; padding: 0; color: var(--cap-chalk); font-size: clamp(18px, 1.1vw, 23px); line-height: 1; display: flex; align-items: center; cursor: pointer; align-self: flex-start; }
#r360-top .r360-cap-crumb {
  background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  font-family: var(--r360-sans); font-size: clamp(8px, .47vw, 9.5px); letter-spacing: 1.7px; color: rgba(241, 237, 229, 0.86); white-space: nowrap; max-width: 100%;
}
#r360-top .r360-cap-crumb span { overflow: hidden; text-overflow: ellipsis; }
#r360-top .r360-cap-crumb svg { color: var(--cap-coral); flex: none; }

/* the elevator buttons */
#r360-top .r360-cap-floors { flex: 1; min-width: 0; display: flex; justify-content: center; }
#r360-top .r360-cap-floors { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
#r360-top .r360-cap-rail {
  display: flex; align-items: center; gap: clamp(4px, .32vw, 7px); padding: 4px 6px 4px 4px; border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  border: 1.5px solid rgba(232, 238, 240, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(20, 30, 38, 0.22));
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 18px rgba(255, 255, 255, 0.06);
}
#r360-top .r360-cap-rail::-webkit-scrollbar { display: none; }
#r360-top .r360-fl {
  flex: none; width: clamp(34px, 2.35vw, 46px); height: clamp(34px, 2.35vw, 46px); border-radius: 50%; padding: 0; cursor: pointer; color: var(--cap-chalk);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cap-serif); font-weight: 700; font-size: clamp(18px, 1.3vw, 25px); line-height: 1; font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1;
  border: 1px solid rgba(222, 230, 234, 0.55);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(16, 26, 34, 0.25) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -2px 6px rgba(0, 0, 0, 0.18);
  transition: background .45s, border-color .45s, box-shadow .45s, transform .45s cubic-bezier(.2, .8, .2, 1), color .45s;
}
#r360-top .r360-fl span { display: block; line-height: 1; transform: translateY(.04em); letter-spacing: -.02em; }
#r360-top .r360-fl { display: inline-grid !important; place-items: center; }
#r360-top .r360-fl:hover { border-color: rgba(255, 255, 255, 0.9); background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 60%, rgba(16, 26, 34, 0.2) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 14px rgba(255, 255, 255, 0.16); }
#r360-top .r360-fl[aria-current="true"] {
  color: #FF6A2E; border-color: rgba(255, 140, 90, 0.75);
  background: radial-gradient(circle at 50% 45%, rgba(255, 98, 40, 0.16) 0%, rgba(255, 98, 40, 0.04) 55%, rgba(16, 26, 34, 0.25) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 10px rgba(255, 90, 30, 0.22), 0 0 10px rgba(255, 90, 30, 0.25);
  animation: r360flOn .7s cubic-bezier(.2, .8, .2, 1);
}
#r360-top .r360-fl[aria-current="true"] span {
  text-shadow: 0 0 1px #FFE2D2, 0 0 6px rgba(255, 106, 46, 0.95), 0 0 14px rgba(255, 90, 30, 0.75), 0 0 26px rgba(255, 80, 20, 0.45);
}
@keyframes r360flOn { 0% { color: #F1EDE5; } 100% { color: #FF6A2E; } }
#r360-top .r360-cap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* right controls */
#r360-top .r360-cap-div { flex: none; width: 1px; height: clamp(28px, 2.1vw, 44px); background: linear-gradient(180deg, transparent, rgba(241, 237, 229, 0.5), transparent); }
#r360-top .r360-cap-ico {
  position: relative; flex: none; width: clamp(38px, 2.6vw, 52px); height: clamp(38px, 2.6vw, 52px); border-radius: 50%; padding: 0; cursor: pointer; color: var(--cap-chalk);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 1px solid rgba(214, 228, 234, 0.42);
  background: radial-gradient(circle at 40% 28%, #2C4858 0%, #163242 55%, #0D2230 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px -6px rgba(4, 12, 18, 0.6);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s;
}
#r360-top .r360-cap-ico:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 14px 24px -8px rgba(4, 12, 18, 0.7), 0 0 16px rgba(255, 255, 255, 0.1); }
#r360-top .r360-cap-map span { font-family: var(--r360-sans); font-size: 7.5px; letter-spacing: 2px; line-height: 1; }
#r360-top .r360-cap-dot { position: absolute; top: 9px; right: 10px; width: 6px; height: 6px; border-radius: 50%; }
#r360-top .r360-cap-book {
  flex: none; height: clamp(38px, 2.5vw, 50px); min-width: clamp(96px, 5.8vw, 118px); padding: 0 clamp(16px, 1.1vw, 24px); border-radius: 999px; border: 0; cursor: pointer; color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--r360-sans); font-size: clamp(10px, .58vw, 12px); letter-spacing: 2.8px; font-weight: 600;
  background: var(--cap-hot);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 6px rgba(150, 30, 0, 0.3), 0 10px 26px -6px rgba(255, 80, 20, 0.6);
  transition: box-shadow .45s, transform .45s cubic-bezier(.2, .8, .2, 1);
}
#r360-top .r360-cap-book:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 6px rgba(150, 30, 0, 0.3), 0 14px 34px -6px rgba(255, 80, 20, 0.75), 0 0 30px rgba(255, 98, 70, 0.4); }
#r360-top .r360-cap-book svg { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
#r360-top .r360-cap-book:hover svg { transform: translateX(3px); }

#r360-top header.r360-gnav button:focus-visible { outline: 1px solid var(--cap-chalk); outline-offset: 3px; }

/* narrower desktops: drop the editorial line first, then tighten */
@media (max-width: 1100px) {
  #r360-top .r360-cap { height: 80px; }
  #r360-top .r360-cap-brand { width: 200px; padding: 0 44px 0 24px; }
  #r360-top .r360-fl { width: 40px; height: 40px; font-size: 18px; }
  #r360-top .r360-cap-ico { width: 50px; height: 50px; }
  #r360-top .r360-cap-book { height: 54px; min-width: 0; padding: 0 22px; }
}
/* phone: brand + controls on top, the elevator buttons on a second row that scrolls sideways */
@media (max-width: 760px) {
  #r360-top header.r360-gnav { padding: 10px 10px 0; }
  #r360-top .r360-cap { height: auto; flex-wrap: wrap; row-gap: 8px; column-gap: 8px; border-radius: 30px; padding: 6px; }
  #r360-top .r360-cap-brand { width: auto; flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 30px 0 16px; gap: 4px; }
  #r360-top .r360-cap-logo { font-size: 20px; }
  #r360-top .r360-cap-crumb { font-size: 8.5px; letter-spacing: 1.8px; }
  #r360-top .r360-cap-crumb svg { display: none; }
  #r360-top .r360-cap-div { display: none; }
  #r360-top .r360-cap-ico { width: 44px; height: 44px; }
  #r360-top .r360-cap-map span { display: none; }
  #r360-top .r360-cap-book { height: 42px; min-width: 0; padding: 0 14px; font-size: 10.5px; letter-spacing: 1.8px; gap: 6px; }
  #r360-top .r360-cap-book svg { display: none; }
  #r360-top .r360-cap-ico { width: 40px !important; height: 40px !important; }
  #r360-top .r360-cap-floors { order: 10; flex-basis: 100%; justify-content: flex-start; }
  #r360-top .r360-cap-rail { width: 100%; }
  #r360-top .r360-fl { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #r360-top header.r360-gnav *, #r360-top header.r360-gnav *::before, #r360-top header.r360-gnav *::after { transition: none !important; animation: none !important; }
}

/* ---------- transparent header: no bar behind the controls ---------- */
#r360-top header.r360-gnav .r360-cap { background: none !important; border-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* the glass rail carries its own glass so it reads over any floor */
#r360-top header.r360-gnav .r360-cap-rail {
  background: linear-gradient(180deg, rgba(78, 94, 106, 0.78) 0%, rgba(44, 58, 70, 0.84) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 28px -10px rgba(6, 14, 22, 0.5);
}
#r360-top header.r360-gnav .r360-cap-brand { filter: drop-shadow(0 10px 18px rgba(6, 14, 22, 0.35)); }

/* scrolling down: only the elevator buttons stay */
#r360-top header.r360-gnav .r360-cap-brand, #r360-top header.r360-gnav .r360-cap-div, #r360-top header.r360-gnav .r360-cap-ico,
#r360-top header.r360-gnav .r360-cap-book {
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s;
}
#r360-top header.r360-gnav.r360-down .r360-cap-brand, #r360-top header.r360-gnav.r360-down .r360-cap-div, #r360-top header.r360-gnav.r360-down .r360-cap-ico,
#r360-top header.r360-gnav.r360-down .r360-cap-book {
  opacity: 0; transform: translateY(-14px); visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .5s;
}
@media (max-width: 760px) {
  #r360-top header.r360-gnav.r360-down .r360-cap-floors { transform: translateY(calc(-100% - 8px)); }
}
