:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ink: #1c1917;
  --muted: #78716c;
  --line: rgba(28, 25, 23, 0.08);
  --paper: #fffdf8;
  --cream: #faf6ef;
  --orange: #ea580c;
  --orange-hot: #f97316;
  --header-h: 4.25rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: #fed7aa;
  color: var(--ink);
}

.site-bg {
  background:
    radial-gradient(920px 480px at 6% -12%, rgba(234, 88, 12, 0.09), transparent 58%),
    radial-gradient(720px 380px at 100% 0%, rgba(245, 158, 11, 0.07), transparent 52%),
    var(--cream);
}
.site-bg.is-home::after {
  content: "";
  position: fixed;
  width: 28rem;
  height: 28rem;
  left: var(--mx, 42%);
  top: var(--my, 18%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(253, 186, 116, 0.22), transparent 68%);
  transition: left 0.9s var(--ease), top 0.9s var(--ease);
}
.site-header,
main,
.site-footer { position: relative; z-index: 1; }

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(1040px, calc(100% - 2.75rem));
  margin-inline: auto;
}
@media (min-width: 640px) {
  .site-header__inner,
  .site-footer__inner,
  .wrap {
    width: min(1040px, calc(100% - 4.5rem));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  height: 2.15rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-pill:hover {
  border-color: #fdba74;
  background: #fff;
}

.kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-hot); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #fdba74; background: #fffdf8; }
.btn-icon {
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-icon:hover { border-color: #fdba74; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  color: #57534e;
  text-decoration: none;
  white-space: nowrap;
}
.chip:hover { border-color: #fdba74; color: var(--ink); }
.chip.is-on {
  border-color: #fdba74;
  background: #fff7ed;
  color: var(--ink);
  font-weight: 600;
}

.room-block {
  padding-bottom: 3.25rem;
}
.room-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.room-block__title {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-top: 0.15rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px -22px rgba(28, 25, 23, 0.35);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.guide-card:hover {
  transform: translateY(-5px);
  border-color: #fdba74;
  box-shadow: 0 18px 40px -24px rgba(28, 25, 23, 0.38);
}
.guide-card__media {
  position: relative;
  height: 13.5rem;
  overflow: hidden;
  background: #e7e5e4;
}
.guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.guide-card:hover .guide-card__media img { transform: scale(1.05); }
.guide-card__body { padding: 1.25rem 1.35rem 1.4rem; }
.guide-card__title {
  margin: 0.35rem 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.guide-card:hover .guide-card__title { color: #9a3412; }

.rank-card {
  display: grid;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -24px rgba(28, 25, 23, 0.28);
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}
@media (min-width: 768px) {
  .rank-card {
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 22rem;
  }
}
.rank-card__media {
  position: relative;
  background: #e7e5e4;
  min-height: 16rem;
}
.rank-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.rank-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.rank-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.92);
  color: #fde68a;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  backdrop-filter: blur(8px);
}
.rank-badge.is-inline {
  position: static;
  background: #fde68a;
  color: #1c1917;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}
.metrics > div {
  padding: 0.7rem 0.75rem 0.8rem;
}
.metrics > div + div { border-left: 1px solid var(--line); }
.metrics dt {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.metrics dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  background: #1c1917;
  height: clamp(16rem, 42vw, 22rem);
  margin-bottom: 1.75rem;
}
.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.82) 8%, rgba(28, 25, 23, 0.12) 55%, transparent);
}
.hero-frame__caption {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.1rem;
  z-index: 1;
  color: #ffedd5;
  font-size: 0.875rem;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
}
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

[data-slider] {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
[data-slider]::-webkit-scrollbar { display: none; }

body.has-lp-dock { padding-bottom: 5.5rem; }

.lp-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  color: #fffbeb;
  background: rgba(28, 25, 23, 0.9);
  backdrop-filter: blur(18px) saturate(1.15);
  border-top: 1px solid rgba(253, 186, 116, 0.28);
  box-shadow: 0 -18px 40px -28px rgba(28, 25, 23, 0.55);
}
.lp-dock__inner {
  width: min(720px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.lp-dock__thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: #44403c;
  flex-shrink: 0;
}

.lp-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
}
.lp-cta:hover { background: var(--orange-hot); }

.mark-svg .bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: bar-rise 0.7s var(--ease) both;
}
.mark-svg .bar:nth-child(2) { animation-delay: 0.08s; }
.mark-svg .bar:nth-child(3) { animation-delay: 0.16s; }

@keyframes bar-rise {
  from { transform: scaleY(0.2); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, 18px, 0) scale(1.08); }
}
@keyframes drift-back {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to { transform: translate3d(-24px, 16px, 0) scale(1); }
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding-top: 3.25rem;
  padding-bottom: 2.75rem;
}
@media (min-width: 768px) {
  .home-hero {
    padding-top: 5rem;
    padding-bottom: 3.75rem;
  }
}
.home-hero .display {
  max-width: 18ch;
  text-wrap: balance;
}
.blob-field {
  position: absolute;
  inset: -20% -8% auto -8%;
  height: 28rem;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.home-hero > *:not(.blob-field) { position: relative; z-index: 1; }

.hero-copy { animation: fade-up 0.9s var(--ease) both; }
.hero-copy.delay-1 { animation-delay: 0.1s; }
.hero-copy.delay-2 { animation-delay: 0.2s; }
.hero-copy.delay-3 { animation-delay: 0.3s; }
.chip-row .chip {
  animation: fade-up 0.8s var(--ease) both;
}
.chip-row .chip:nth-child(1) { animation-delay: 0.22s; }
.chip-row .chip:nth-child(2) { animation-delay: 0.28s; }
.chip-row .chip:nth-child(3) { animation-delay: 0.34s; }
.chip-row .chip:nth-child(4) { animation-delay: 0.4s; }
.chip-row .chip:nth-child(5) { animation-delay: 0.46s; }
.chip-row .chip:nth-child(6) { animation-delay: 0.52s; }
.chip-row .chip:nth-child(n+7) { animation-delay: 0.58s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.cta-live {
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.cta-live:hover { transform: translateY(-1px); }

.blob {
  pointer-events: none;
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.42;
  background: #fdba74;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob--one { top: -4rem; left: -3rem; }
.blob--two {
  top: 2rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  background: #fed7aa;
  opacity: 0.5;
  animation: drift-back 26s ease-in-out infinite alternate;
}
.blob--three {
  top: 8rem;
  left: 28%;
  width: 16rem;
  height: 16rem;
  background: #fb923c;
  opacity: 0.18;
  animation: drift 30s ease-in-out infinite alternate-reverse;
}

.jump-row {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}
.jump-row::-webkit-scrollbar { display: none; }

.preview-bar {
  background: #1c1917;
  color: #fde68a;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.25rem;
}
.preview-drop {
  margin-top: 0.7rem;
  align-self: flex-start;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 18, 57, 0.28);
  background: #fff7f7;
  color: #9f1239;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.preview-drop:hover { background: #ffe4e6; }
.preview-drop:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  color: #78716c;
  border-color: var(--line);
  background: #f5f5f4;
}

@media (prefers-reduced-motion: reduce) {
  .mark-svg .bar,
  .hero-copy,
  .chip-row .chip,
  .blob { animation: none !important; }
  .site-bg.is-home::after { transition: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html,
  [data-slider] { scroll-behavior: auto; }
  .guide-card,
  .guide-card__media img,
  .cta-live,
  .btn { transition: none; }
  .guide-card:hover { transform: none; }
}
