/* Stay Hotel Casino — warm stone, deep navy, apricot doorway */
:root {
  --stone: #F1EDE6;
  --card: #FBF9F5;
  --ink: #171C2E;
  --navy: #1D2540;
  --apricot: #E7A57E;
  --rust: #A9552E;
  --muted: #5B6072;
  --rule: rgba(23, 28, 46, .12);
  --clay: #EAD6C8;
  --mist: #D3DEE7;
  --sage: #D9E2D0;
  --frost: #DFDCEE;
  --serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --sans: "SUSE", "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --side: 28px;
  --round: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
p { margin: 0 0 1.05em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.015em; line-height: 1.08; }
ul { margin: 0; padding: 0; list-style: none; }
.shell { max-width: calc(var(--max) + var(--side) * 2); margin: 0 auto; padding: 0 var(--side); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skiplink { position: absolute; left: 12px; top: -80px; z-index: 99; background: var(--navy); color: var(--card); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skiplink:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 6px; }

.tone-clay { background: var(--clay); }
.tone-mist { background: var(--mist); }
.tone-sage { background: var(--sage); }
.tone-frost { background: var(--frost); }

/* ---------- floating bar ---------- */
.bar-slot { position: sticky; top: 14px; z-index: 50; padding: 0 16px; margin-top: 14px; }
.bar {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 62px; padding: 8px 8px 8px 18px;
  background: rgba(251, 249, 245, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--rule);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(23, 28, 46, .35);
}
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__word { font-family: var(--serif); font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.bar__nav ul { display: flex; gap: 4px; }
.bar__nav a {
  display: block; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background-color .2s ease, color .2s ease;
}
.bar__nav a:hover { background: rgba(23, 28, 46, .06); }
.bar__nav a[aria-current="page"] { background: var(--navy); color: var(--card); }
.bar__toggle {
  display: none; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; background: var(--navy); color: var(--card);
  font: 500 15px var(--sans); padding: 11px 16px 11px 18px; cursor: pointer;
}
.bar__toggle-icon, .bar__toggle-icon::before { display: block; width: 14px; height: 1.6px; background: currentColor; position: relative; transition: transform .2s ease; }
.bar__toggle-icon { top: -3px; }
.bar__toggle-icon::before { content: ""; position: absolute; top: 6px; }
.bar__toggle[aria-expanded="true"] .bar__toggle-icon { transform: translateY(3px) rotate(45deg); }
.bar__toggle[aria-expanded="true"] .bar__toggle-icon::before { transform: translateY(-6px) rotate(-90deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 999px;
  font: 500 16px/1 var(--sans); text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: var(--card); }
.btn--ghost { border: 1px solid rgba(23, 28, 46, .28); }
.btn--ghost:hover { background: var(--card); }
.btn--light { background: var(--card); color: var(--navy); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-bottom: 22px; }

/* ---------- photo / hero ---------- */
.photo-slot {
  position: relative; margin: 0; border-radius: var(--round); overflow: hidden;
  background: #0a0614;
}
.photo-slot--wide { aspect-ratio: 21 / 9; }
.photo-slot--filled {
  aspect-ratio: 1 / 1;
  max-width: min(100%, 720px);
  margin-inline: auto;
}
.photo-slot--filled img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* ---------- home ---------- */
.intro { text-align: center; padding-top: 104px; padding-bottom: 60px; }
.intro__title { font-size: clamp(44px, 7.4vw, 94px); line-height: 1.01; letter-spacing: -0.025em; max-width: 13ch; margin: 0 auto 28px; }
.intro__title em { font-style: normal; color: var(--rust); }
.intro__lede { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 36em; margin: 0 auto 36px; }
.intro__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.ways { padding-top: 120px; }
.ways__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.ways__head h2 { font-size: clamp(36px, 4.4vw, 56px); }
.ways__head p { color: var(--muted); max-width: 30em; justify-self: end; margin: 0; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column;
  min-height: 360px; padding: 34px 34px 32px;
  border-radius: var(--round); text-decoration: none; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(23, 28, 46, .45); }
.tile--wide { grid-column: span 4; }
.tile--narrow { grid-column: span 2; }
.tile__count { position: absolute; top: 18px; right: 30px; font-family: var(--serif); font-size: 110px; line-height: 1; color: rgba(23, 28, 46, .1); }
.tile__meta { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: auto; padding-bottom: 48px; }
.tile__name { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 12px; position: relative; }
.tile--narrow .tile__count { font-size: 76px; }
.tile--narrow .tile__name { font-size: clamp(30px, 2.8vw, 38px); }
.tile__text { color: rgba(23, 28, 46, .78); max-width: 26em; margin-bottom: 20px; }
.tile__list { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 60px; }
.tile__list li { font-size: 13.5px; background: rgba(251, 249, 245, .6); padding: 5px 11px; border-radius: 999px; }
.tile__arrow {
  position: absolute; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--card);
  transition: transform .3s ease;
}
.tile__arrow svg { width: 20px; height: 20px; }
.tile:hover .tile__arrow { transform: rotate(-45deg); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 110px; padding-bottom: 110px; }
.principles__item { border-top: 1px solid var(--rule); padding-top: 26px; }
.principles__n { font-family: var(--serif); font-size: 22px; color: var(--rust); display: block; margin-bottom: 14px; }
.principles__item h3 { font-size: 28px; margin-bottom: 10px; }
.principles__item p { color: var(--muted); margin: 0; }

.outro {
  background: var(--navy); color: var(--card); border-radius: 36px;
  padding: 88px 72px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end;
  position: relative; overflow: hidden;
}
.outro::before {
  content: ""; position: absolute; right: 64px; bottom: -2px; width: 200px; height: 280px;
  border-radius: 100px 100px 0 0; background: rgba(231, 165, 126, .12);
}
.outro__text { font-family: var(--serif); font-size: clamp(28px, 3.3vw, 42px); line-height: 1.22; margin: 0; max-width: 22em; position: relative; }
.outro .btn { position: relative; }

/* ---------- category & doc pages ---------- */
.lead-panel { border-radius: 36px; padding: 64px 64px 56px; margin-top: 40px; }
.lead-panel--plain { background: var(--card); border: 1px solid var(--rule); }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: rgba(23, 28, 46, .7); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.lead-panel__title { font-size: clamp(46px, 7.6vw, 104px); line-height: .98; letter-spacing: -0.03em; margin-bottom: 26px; }
.lead-panel__text { font-size: 20px; line-height: 1.6; max-width: 38em; margin: 0; }
.lead-panel__text a { text-underline-offset: 4px; }
.lead-panel__jump { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(23, 28, 46, .14); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lead-panel__jump p { margin: 0; font-size: 14px; font-weight: 600; }
.lead-panel__jump ul { display: flex; gap: 8px; flex-wrap: wrap; }
.lead-panel__jump a {
  display: block; text-decoration: none; font-size: 14.5px; padding: 8px 15px;
  border-radius: 999px; background: rgba(251, 249, 245, .7); transition: background-color .2s ease;
}
.lead-panel__jump a:hover { background: var(--card); }
.lead-panel + .shell, .shell > .photo-slot { margin-top: 16px; }

.entries { padding-top: 40px; }
.entry { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; padding: 72px 0; border-bottom: 1px solid var(--rule); }
.entry:last-child { border-bottom: 0; }
.entry__aside { position: sticky; top: 112px; align-self: start; }
.entry__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-family: var(--serif); font-size: 20px; margin-bottom: 26px; }
.entry__name { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 10px; }
.entry__place { color: var(--muted); margin-bottom: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 13.5px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(23, 28, 46, .2); }
.entry__body { font-size: 17.5px; max-width: 38em; }
.entry__lead { font-family: var(--serif); font-size: 25px; line-height: 1.4; margin-bottom: 1em; }
.entry__body p:last-child { margin-bottom: 0; }

.elsewhere { padding-top: 40px; }
.elsewhere h2 { font-size: 32px; margin-bottom: 22px; }
.elsewhere__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-card { display: flex; flex-direction: column; gap: 36px; padding: 26px 28px; border-radius: 24px; text-decoration: none; transition: transform .25s ease; }
.next-card:hover { transform: translateY(-3px); }
.next-card__meta { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.next-card__name { font-family: var(--serif); font-size: 30px; line-height: 1.1; }

.prose { max-width: calc(760px + var(--side) * 2); padding-top: 40px; font-size: 18px; }
.prose h2 { font-size: 30px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 12px; }
.prose a { text-underline-offset: 4px; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: rgba(251, 249, 245, .82); border-radius: 36px 36px 0 0; margin-top: 120px; padding-top: 72px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--card); text-decoration: underline; text-underline-offset: 4px; }
.site-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; padding-bottom: 60px; }
.logo--foot { color: var(--card); }
.logo--foot .logo__mark rect { fill: #2C3558; }
.site-foot__intro p { max-width: 24em; margin: 20px 0 0; }
.site-foot__label { color: var(--apricot); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-foot ul { display: grid; gap: 10px; }
.site-foot__end { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(251, 249, 245, .14); padding-top: 24px; padding-bottom: 32px; font-size: 14px; }
.site-foot__end p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide, .tile--narrow { grid-column: span 1; }
  .tile__count, .tile--narrow .tile__count { font-size: 72px; }
  .outro::before { right: 24px; width: 150px; height: 210px; }
  .entry { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .entry__aside { position: static; }
  .outro { grid-template-columns: 1fr; padding: 64px 48px; }
}
@media (max-width: 880px) {
  .bar__toggle { display: inline-flex; }
  .bar__nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    background: var(--card); border: 1px solid var(--rule); border-radius: 26px;
    padding: 10px; box-shadow: 0 24px 50px -28px rgba(23, 28, 46, .5);
    display: none;
  }
  .bar__nav.is-open { display: block; }
  .bar__nav ul { flex-direction: column; gap: 2px; }
  .bar__nav a { padding: 14px 18px; font-size: 17px; }
  .ways__head { grid-template-columns: 1fr; gap: 14px; }
  .ways__head p { justify-self: start; }
  .principles { grid-template-columns: 1fr; gap: 28px; padding-top: 88px; padding-bottom: 88px; }
  .elsewhere__row { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-foot__intro { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --side: 16px; --round: 22px; }
  body { font-size: 16px; }
  .bar-slot { padding: 0 10px; top: 10px; margin-top: 10px; }
  .bar { min-height: 56px; padding: 6px 6px 6px 14px; }
  .logo__word { font-size: 18px; }
  .logo__mark { width: 26px; height: 26px; }
  .intro { padding-top: 64px; padding-bottom: 40px; }
  .intro__lede { font-size: 18px; }
  .photo-slot--wide:not(.photo-slot--filled) { aspect-ratio: 4 / 3; }
  .photo-slot--filled { max-width: 100%; }
  .ways { padding-top: 80px; }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 28px 24px 26px; }
  .tile__meta { padding-bottom: 36px; }
  .tile__count { font-size: 84px; right: 22px; }
  .outro { padding: 52px 26px; border-radius: 28px; }
  .lead-panel { padding: 40px 24px 34px; border-radius: 28px; margin-top: 24px; }
  .lead-panel__text { font-size: 18px; }
  .entry { padding: 44px 0; }
  .entry__lead { font-size: 22px; }
  .site-foot { border-radius: 28px 28px 0 0; margin-top: 88px; padding-top: 56px; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
