/* September 2026: atmospheric depth, readable hierarchy and native controls. */
:root { color-scheme: dark; --primary: #8cebd9; --secondary: #a597ff; }
body { background-color: #0b0f12; }
body.magenta-mode { --primary: #dcaaff; --secondary: #8cebd9; }
html { scroll-padding-top: 100px; }
button, input, select { font: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
[hidden] { display: none !important; }
header { background: rgba(11,15,18,.92); }
.hero { min-height: 760px; height: 100svh; padding-top: 105px; isolation: isolate; }
.hero-content { text-align: center; transform: translateY(-15px); }
.hero .hero-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero .floating-logo { display: block; width: min(68vw, 590px); aspect-ratio: 2.8; overflow: hidden; margin: 0 auto 24px; }
.hero .floating-logo img { position: absolute; top: -90%; left: 0; height: auto; aspect-ratio: 1; }
.hero-eyebrow { font-size: .7rem; letter-spacing: .28em; color: var(--primary); margin-bottom: 24px; }
.hero-headline { font-size: clamp(3.3rem, 7.8vw, 7.5rem); line-height: 1.04; letter-spacing: -.065em; max-width: 920px; margin: 0 0 28px; }
.hero-headline span { color: var(--primary); }
.hero #heroSubtitle { font-size: clamp(.95rem, 1.4vw, 1.2rem); max-width: 650px; color: #c8cdd4; margin-inline: auto; }
.hero-buttons { justify-content: center; margin-top: 32px; }
.btn { border-radius: 10px; box-shadow: none; background: var(--primary); color: #071716; min-height: 48px; }
.btn-secondary, .btn-tertiary { background: rgba(15,23,27,.55); color: #eef4f4; border: 1px solid #60706e; }
.hero-utilities { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 38px; font-size: .8rem; color: #b7c5c8; }
.hero-utilities button { border: 0; background: transparent; color: inherit; cursor: pointer; min-height: 44px; }
.hero-utilities a { display: inline-flex; align-items: center; min-height: 44px; }
.page-video-bg { opacity: .58; }
.page-video-overlay { background: linear-gradient(90deg,rgba(11,15,18,.52),rgba(11,15,18,.34)); }
.hero-overlay { background: linear-gradient(rgba(10,10,10,.15),rgba(5,5,5,.42)); }
.scanline-overlay { display: none; }
.feature-card, .rent-feature, .rent-content { border-radius: 18px; background: linear-gradient(140deg,#172224ee,#101519ee); border: 1px solid #ffffff1a; box-shadow: 0 20px 50px #0003; }
.feature-card { transform: perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); }
.section-title h2 { letter-spacing: -.035em; }
.events-empty { width: 100%; max-width: none; padding: 40px; border: 1px solid #8cebd933; border-radius: 16px; background: #111c20; text-align: left; }
.events-empty a { color: var(--primary); text-decoration: underline; }
.events-archive { margin-top: 28px; }
.events-archive summary { cursor: pointer; padding: 16px 0; color: #c7d0d7; }
.events-archive .events-grid-3d { margin-top: 24px; }
.event-card-3d .card-back { overflow-y: auto; }
.embed-consent { width: 100%; min-height: 180px; height: 100%; display: grid; place-content: center; gap: 14px; padding: 24px; text-align: center; background: #10191f; color: #cbd4dc; }
.embed-consent button { color: #081414; background: var(--primary); border: 0; padding: 12px 22px; border-radius: 9px; cursor: pointer; }
.embed-consent small { max-width: 320px; }
.booking-tools, .menu-search-wrap { margin: 24px auto; padding: 24px; border: 1px solid #8cebd936; border-radius: 16px; background: #111b20; max-width: 950px; }
.booking-tools p { color: #c7d0d7; margin: 12px 0 20px; }
.booking-tools label, .menu-search-wrap label { display: block; margin-bottom: 8px; }
.booking-tools select, .menu-search-wrap input { width: 100%; border: 1px solid #72818a; border-radius: 8px; padding: 14px; background: #0b1218; color: white; min-height: 48px; }
.booking-tools select { max-width: 440px; }
.menu-search-wrap input { margin-bottom: 12px; }
.menu-search-results { display: grid; gap: 12px; }
.menu-search-result { display: block; text-align: left; padding: 18px; background: #15262c; color: #f3f8fa; border: 1px solid #40555d; border-radius: 10px; cursor: pointer; }
.menu-search-result small { display: block; color: #bdcbd0; margin-top: 8px; }
.subpage-nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 20px; }
.subpage-nav a { min-height: 44px; padding: 10px 12px; color: var(--primary); }
.offline-banner { position: fixed; top: 0; left: 0; right: 0; padding: 8px; background: #674e19; color: white; text-align: center; z-index: 100000; font-size: .8rem; }
.cookie-reset { display: inline-flex; padding: 12px 16px; background: #182329; border: 1px solid #61727c; color: white; border-radius: 8px; margin-top: 20px; cursor: pointer; }
.reveal, .reveal-left, .reveal-right, .reveal-text .word { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
@media(min-width: 1051px) { header .container { max-width: 1440px; width: 96%; } .nav-links { gap: 2px; margin-left: 110px; } }
@media(max-width: 768px) {
 .hero { min-height: 680px; padding: 100px 0 60px; }
 .hero-headline { font-size: clamp(3.1rem,12vw,5rem); }
 .hero-content { width: 94%; }
 .hero .floating-logo { width: min(88vw, 380px); margin-bottom: 18px; }
 .hero-buttons { gap: 10px; }
 .hero-buttons .btn { padding: 13px 18px; font-size: .85rem; }
 .hero-utilities { margin-top: 20px; gap: 16px; }
 .mobile-nav { padding-bottom: env(safe-area-inset-bottom,0px); }
 .booking-tools { margin: 16px 0; padding: 18px; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] #particleCanvas { display: none; }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal,.reveal-text .word { opacity: 1 !important; transform: none !important; } }

/* Home, events and residents */
h1, h2, h3, .event-info time { font-family: 'Barlow Condensed', 'Montserrat', sans-serif; }
.hero .floating-logo { order: -1; }
.events-list { display: grid; gap: 18px; }
.events-list > p a { text-decoration: underline; }
.event-card { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); border: 1px solid #30434c; border-radius: 18px; overflow: hidden; background: #10171b; }
.event-poster { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #0a1014; display: block; }
.event-info { align-self: center; padding: clamp(16px, 4vw, 42px); overflow-wrap: anywhere; }
.event-info time { display: block; color: var(--primary); font-weight: 700; font-size: 1.5rem; }
.event-info h3 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; margin: 8px 0 12px; }
.event-info p + p { margin-top: 6px; }
.event-info .btn { margin-top: 16px; min-height: 44px; }
.events-archive[hidden] { display: none; }
.events-archive .events-list { margin-top: 10px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #eventsGrid .event-card:first-child { transition: transform .2s ease, box-shadow .2s ease; }
  #eventsGrid .event-card:first-child:hover { transform: perspective(900px) rotateX(1deg) translateY(-2px); box-shadow: 0 12px 24px #0007; }
}
@media (max-width: 640px) {
  .residents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-card { grid-template-columns: 1fr; }
  .event-poster { max-height: 460px; }
  .mobile-nav a { min-height: 44px; flex: 1 1 0; }
}

.hero .floating-logo { width: clamp(135px, 26vw, 300px); margin-bottom: 12px; }
@media (max-width: 768px) { .hero { min-height: 620px; } .hero .floating-logo { width: min(48vw, 200px); } }
