/* THE GATSBY GRAND — deco emerald & gold, est. 1928 */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --emerald: #0E1A16;
  --emerald-2: #14271F;
  --emerald-3: #0A130F;
  --gold: #C9A227;
  --gold-bright: #E8C766;
  --gold-dim: #7c621b;
  --champagne: #F3E3C3;
  --noir: #0B0B0B;
  --velvet: cubic-bezier(.65,0,.15,1);
  --velvet-soft: cubic-bezier(.22,.61,.16,1);
}

body {
  background:
    radial-gradient(120vmax 70vmax at 50% -12%, rgba(201,162,39,.10), transparent 55%),
    radial-gradient(90vmax 60vmax at 100% 110%, rgba(201,162,39,.06), transparent 50%),
    linear-gradient(180deg, var(--emerald) 0%, var(--emerald-3) 100%);
  color: var(--champagne);
  font-family: "Lora", Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: rgba(201,162,39,.35); color: var(--noir); }

h1, h2, h3, .deco-caps {
  font-family: "Marcellus", "Times New Roman", serif;
  font-weight: 400;
  color: var(--champagne);
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }

/* ---------- grain texture ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--gold); color: var(--noir);
  padding: 10px 16px; border-radius: 2px;
  font-family: "Marcellus", serif; letter-spacing: .08em;
  z-index: 1000; transition: top .3s var(--velvet);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ================= custom cursor ================= */
.cursor-ring {
  position: fixed; left: 0; top: 0; width: 26px; height: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none; z-index: 900;
  opacity: 0; transition: opacity .4s var(--velvet-soft), width .35s var(--velvet-soft), height .35s var(--velvet-soft), border-color .35s;
  mix-blend-mode: normal;
}
.cursor-ring.active { opacity: .8; }
.cursor-ring.hover { width: 44px; height: 44px; border-color: var(--gold-bright); background: rgba(201,162,39,.08); }
@media (pointer: coarse) { .cursor-ring { display: none; } }

/* ================= elevator dial nav ================= */
.dial {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 500; display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity .6s var(--velvet-soft);
}
.dial.dial-hide { opacity: 0; pointer-events: none; }
.dial-face {
  position: relative; width: 92px; height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(232,199,102,.25), rgba(10,19,15,.2) 60%),
    linear-gradient(155deg, #16302645, #0a130f88);
  box-shadow:
    0 0 0 1px rgba(201,162,39,.55),
    inset 0 0 0 5px rgba(11,11,11,.55),
    inset 0 0 14px rgba(0,0,0,.6),
    0 8px 24px rgba(0,0,0,.5);
  backdrop-filter: blur(6px);
}
.dial-ring circle:first-child { fill: none; stroke: rgba(201,162,39,.35); stroke-width: 1; }
.dial-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial-hub { fill: var(--gold); }
.dial-needle {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 30px;
  background: linear-gradient(to top, var(--gold-dim), var(--gold-bright));
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(0deg);
  transition: transform .8s var(--velvet);
  box-shadow: 0 0 6px rgba(232,199,102,.6);
  border-radius: 2px;
}
.dial-btn {
  position: absolute; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  font-family: "Marcellus", serif; font-size: .68rem; letter-spacing: .02em;
  color: var(--champagne); opacity: .55;
  transition: opacity .4s var(--velvet-soft), color .4s, text-shadow .4s;
}
.dial-btn:hover, .dial-btn:focus-visible { opacity: 1; color: var(--gold-bright); }
.dial-btn[aria-current="true"] { opacity: 1; color: var(--gold-bright); text-shadow: 0 0 8px rgba(232,199,102,.7); }
.dial-btn[data-floor="L"] { top: -2px; left: 50%; transform: translateX(-50%); }
.dial-btn[data-floor="2"] { right: -2px; top: 50%; transform: translateY(-50%); }
.dial-btn[data-floor="3"] { bottom: -2px; left: 50%; transform: translateX(-50%); }
.dial-btn[data-floor="P"] { left: -2px; top: 50%; transform: translateY(-50%); }
.dial-caption {
  font-family: "Marcellus", serif; font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); opacity: .85;
  writing-mode: vertical-rl; text-orientation: mixed;
  height: 130px;
}

@media (max-width: 640px) {
  .dial { right: 14px; left: auto; top: auto; bottom: 18px; transform: none; gap: 6px; }
  .dial-face { width: 56px; height: 56px; }
  .dial-needle { height: 18px; }
  .dial-btn { width: 15px; height: 15px; font-size: .52rem; }
  .dial-caption { display: none; }
}

/* ================= layout shells ================= */
main { position: relative; z-index: 1; }
.floor { position: relative; padding: clamp(4rem, 9vh, 7rem) clamp(1.25rem, 5vw, 3rem); }

.kicker {
  font-family: "Marcellus", serif; font-size: .72rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .9rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.6rem, 6vh, 4rem); }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .1em; text-transform: uppercase;
  text-shadow: 0 0 30px rgba(201,162,39,.12);
}
.section-lede { margin-top: 1.2rem; color: var(--champagne); opacity: .88; font-size: 1.05rem; }

/* chevron divider */
.chevron { display: block; width: clamp(160px, 32vw, 300px); height: 26px; margin: 1.3rem auto 0; overflow: visible; }
.chevron-line { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.chevron-diamond { fill: var(--gold); opacity: 0; transform: scale(.4); transform-origin: 170px 14px; transition: opacity .6s var(--velvet-soft) .5s, transform .6s var(--velvet-soft) .5s; }
.reveal.in-view .chevron-diamond { opacity: 1; transform: scale(1); }

.draw-path { transition: stroke-dashoffset .9s var(--velvet); }

/* ================= hero / lobby ================= */
#lobby { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: clamp(3rem,8vh,5rem); }
.bubbles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; }
.hero-frame { position: relative; width: min(94vw, 900px); padding: clamp(3rem,9vh,5.5rem) clamp(1.5rem,6vw,4rem); }
.deco-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.deco-svg .ray { stroke: var(--gold); stroke-width: 1.4; opacity: .8; }
.deco-svg .corner { fill: none; stroke: var(--gold); stroke-width: 2.2; vector-effect: non-scaling-stroke; }

@media (prefers-reduced-motion: no-preference) {
  .reveal.in-view .deco-svg .corner,
  .reveal.in-view .deco-svg .ray {
    animation: brasspulse 5.5s ease-in-out .9s infinite;
  }
}
@keyframes brasspulse { 0%,100% { opacity: .8; } 50% { opacity: 1; filter: drop-shadow(0 0 5px rgba(232,199,102,.5)); } }

.hero-copy { position: relative; text-align: center; }
.hero-kicker { font-family: "Marcellus", serif; font-size: clamp(.68rem,1.4vw,.82rem); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-bright); opacity: .9; margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(2.6rem, 9vw, 5.8rem);
  line-height: 1.02; letter-spacing: .045em; text-transform: uppercase;
  background: linear-gradient(110deg, var(--gold-dim) 0%, var(--gold) 22%, var(--gold-bright) 45%, #fff6de 52%, var(--gold-bright) 58%, var(--gold) 78%, var(--gold-dim) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 22px rgba(201,162,39,.25));
  animation: sheen 8s linear infinite;
}
@keyframes sheen { 0% { background-position: 220% 0; } 100% { background-position: -60% 0; } }

.hero-sub { max-width: 46ch; margin: 1.7rem auto 0; font-size: clamp(1rem,1.4vw,1.12rem); color: var(--champagne); opacity: .92; }
.hero-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 2.4rem; padding: .85rem 2rem;
  font-family: "Marcellus", serif; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--noir); background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  text-decoration: none; border-radius: 1px;
  box-shadow: 0 10px 26px rgba(201,162,39,.25);
  transition: transform .5s var(--velvet), box-shadow .5s var(--velvet), letter-spacing .5s var(--velvet);
}
.hero-cta:hover, .hero-cta:focus-visible { transform: translateY(-3px); letter-spacing: .32em; box-shadow: 0 16px 34px rgba(201,162,39,.4); }
.hero-cta span { transition: transform .5s var(--velvet); }
.hero-cta:hover span { transform: translateY(3px); }

/* ================= suites ================= */
.suites-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); max-width: 1180px; margin: 0 auto; }
@media (max-width: 900px) { .suites-grid { grid-template-columns: 1fr; max-width: 460px; } }

.suite-card { position: relative; opacity: 0; transform: translateY(28px); transition: opacity .8s var(--velvet-soft), transform .8s var(--velvet-soft); }
.suite-card.in-view { opacity: 1; transform: translateY(0); }
.suite-card:nth-child(2) { transition-delay: .12s; }
.suite-card:nth-child(3) { transition-delay: .24s; }

.suite-frame {
  position: relative; padding: 2.6rem 1.8rem 2.2rem; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(165deg, rgba(20,39,31,.7), rgba(10,19,15,.55));
  border: 1px solid rgba(201,162,39,.18);
  overflow: hidden;
  transition: border-color .6s var(--velvet-soft), box-shadow .6s var(--velvet-soft);
}
.suite-frame:hover, .suite-card:focus-within .suite-frame { border-color: rgba(201,162,39,.5); box-shadow: 0 20px 46px rgba(0,0,0,.45), 0 0 0 1px rgba(201,162,39,.12); }

.suite-frame .deco-svg .corner-sm { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .suite-card.in-view .corner-sm { animation: brasspulse 6s ease-in-out infinite; }
  .suite-card:nth-child(2) .corner-sm { animation-delay: .6s; }
  .suite-card:nth-child(3) .corner-sm { animation-delay: 1.2s; }
  .reveal.in-view .chevron-diamond { animation: diamondpulse 4.5s ease-in-out 1.4s infinite; }
}
@keyframes diamondpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); filter: drop-shadow(0 0 4px rgba(232,199,102,.6)); } }

.illus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.6rem 1.6rem 5.6rem; pointer-events: none; }
.illus svg { width: 62%; max-width: 190px; height: auto; overflow: visible; }
.illus .draw-path {
  fill: none; stroke: var(--gold-bright); stroke-width: 1.6;
  stroke-dasharray: var(--len, 140); stroke-dashoffset: var(--len, 140);
  transition: stroke-dashoffset .85s var(--velvet);
  transition-delay: calc(var(--i, 0) * 65ms);
  opacity: .95;
}
.suite-frame:hover .illus .draw-path,
.suite-card:focus-within .illus .draw-path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .illus .draw-path { transition-duration: .2s; transition-delay: 0s; } }

.suite-copy { position: relative; z-index: 1; }
.suite-copy h3 { font-size: clamp(1.3rem,2vw,1.55rem); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: .7rem; }
.suite-copy p { font-size: .98rem; opacity: .92; }

/* ================= ballroom ================= */
#ballroom { text-align: center; }
.chandelier-wrap { display: flex; justify-content: center; margin: 0 auto 2rem; }
.chandelier { width: min(90vw, 460px); height: auto; overflow: visible; }
.chandelier-swing { transform-origin: 240px 8px; }
@media (prefers-reduced-motion: no-preference) {
  .chandelier-swing { animation: sway 7.5s ease-in-out infinite; }
}
@keyframes sway { 0%,100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }

.chandelier .rod, .chandelier .arm { fill: none; stroke: var(--gold); stroke-width: 2; }
.chandelier .canopy { fill: var(--gold); }
.chandelier .drop { fill: rgba(232,199,102,.85); stroke: var(--gold-bright); stroke-width: .6; }
.chandelier .sparkle { stroke: var(--gold-bright); stroke-width: 1.1; opacity: .25; }
@media (prefers-reduced-motion: no-preference) {
  .chandelier .sparkle { animation: glint 3.2s ease-in-out infinite; }
  .chandelier .sparkle:nth-of-type(3n) { animation-delay: .5s; }
  .chandelier .sparkle:nth-of-type(3n+1) { animation-delay: 1.1s; }
  .chandelier .sparkle:nth-of-type(3n+2) { animation-delay: 1.9s; }
}
@keyframes glint { 0%,100% { opacity: .15; } 50% { opacity: .95; } }

.ballroom-copy { max-width: 62ch; margin: 1.6rem auto 0; font-size: 1.05rem; opacity: .92; }
.ballroom-note { max-width: 56ch; margin: 1rem auto 0; font-size: .92rem; font-style: italic; color: var(--gold-bright); opacity: .82; }

/* ================= promenade / menu ================= */
#promenade { }
.menu { max-width: 640px; margin: 0 auto; }
.menu-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto 2.4rem; }
.menu-rule.bottom { margin: 2.6rem auto 0; }
.course { margin-bottom: 2.1rem; }
.course:last-child { margin-bottom: 0; }
.course-title { font-family: "Marcellus", serif; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: .9rem; }
.menu-item { display: flex; align-items: baseline; gap: .55rem; padding: .38rem 0; }
.mi-name { font-size: 1.02rem; color: var(--champagne); }
.mi-rule { flex: 1; border-bottom: 1px dotted rgba(201,162,39,.4); transform: translateY(-4px); min-width: 12px; }
.mi-sep { color: var(--gold); font-size: .6rem; transform: translateY(-2px); }
.mi-price { font-variant-numeric: tabular-nums; color: var(--gold-bright); font-family: "Marcellus", serif; letter-spacing: .03em; }
.menu-note { text-align: center; margin-top: 2.4rem; font-size: .92rem; font-style: italic; opacity: .78; }

/* ================= reveal (generic, non-svg) ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--velvet-soft), transform .8s var(--velvet-soft); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ================= footer ================= */
.site-foot {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between;
  padding: 2.2rem clamp(1.25rem, 5vw, 3rem) 2.6rem;
  border-top: 1px solid rgba(201,162,39,.18);
  font-family: "Marcellus", serif; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); opacity: .85;
}
.foot-links { display: flex; gap: 1.4rem; }
.foot-links a { text-decoration: none; border-bottom: 1px solid rgba(201,162,39,.4); padding-bottom: 2px; transition: color .4s, border-color .4s; }
.foot-links a:hover, .foot-links a:focus-visible { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ================= reduced motion global ================= */
@media (prefers-reduced-motion: reduce) {
  .hero-title { animation: none; background-position: 40% 0; }
  .reveal, .suite-card { transition-duration: .25s; }
  .draw-path { transition-duration: .01s; }
}

@media (max-width: 640px) {
  .hero-title { letter-spacing: .02em; }
  .suite-frame { min-height: 320px; }
}
