:root {
  --ace-ink: #0c1b2a;
  --ace-navy: #10263b;
  --ace-deep: #081524;
  --ace-gold: #b98a44;
  --ace-gold-light: #d9b878;
  --ace-ivory: #faf8f3;
  --ace-pearl: #f5f2eb;
  --ace-mist: #e9e4d8;
  --ace-teal: #14535c;
  --ace-error: #b45309;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--ace-ivory);
  color: var(--ace-ink);
  overflow-x: hidden;
}

.ace-display {
  font-family: "Cormorant Garamond", serif;
}

.ace-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ace-gold);
}

.ace-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ace-gold));
}

.ace-eyebrow.is-centered::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--ace-gold), transparent);
}

.ace-eyebrow.on-dark {
  color: var(--ace-gold-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(
    135deg,
    var(--ace-gold) 0%,
    var(--ace-gold-light) 100%
  );
  color: var(--ace-ink);
  box-shadow: 0 12px 30px -8px rgba(185, 138, 68, 0.55);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(185, 138, 68, 0.6);
}

.btn-dark {
  background: var(--ace-ink);
  color: var(--ace-ivory);
}

.btn-dark:hover {
  background: var(--ace-navy);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(12, 27, 42, 0.5);
}

.btn-outline {
  border: 1px solid rgba(12, 27, 42, 0.25);
  color: var(--ace-ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ace-gold);
  color: var(--ace-gold);
  transform: translateY(-3px);
}

.btn-outline-light {
  border: 1px solid rgba(250, 248, 243, 0.35);
  color: var(--ace-ivory);
  background: transparent;
}

.btn-outline-light:hover {
  border-color: var(--ace-gold-light);
  color: var(--ace-gold-light);
  transform: translateY(-3px);
}

.btn .fa-arrow-right,
.btn .fa-arrow-up-right-from-square {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover .fa-arrow-right,
.btn:hover .fa-arrow-up-right-from-square {
  transform: translateX(4px);
}

.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ace-gold);
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.link-underline:hover::after {
  transform: scaleX(1);
}

.bg-grain {
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(185, 138, 68, 0.05) 0,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(20, 83, 92, 0.06) 0,
      transparent 45%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(12, 27, 42, 0.015) 0 2px,
      transparent 2px 8px
    );
}

.bg-deep {
  background: linear-gradient(
    160deg,
    var(--ace-deep) 0%,
    var(--ace-navy) 55%,
    #0d3049 100%
  );
}

.bg-gold-radial {
  background:
    radial-gradient(
      ellipse at top right,
      rgba(217, 184, 120, 0.18),
      transparent 55%
    ),
    linear-gradient(160deg, var(--ace-deep), var(--ace-navy));
}

.card-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--ace-mist);
  border-radius: 1.25rem;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s;
}

.card-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 138, 68, 0.5);
  box-shadow: 0 28px 56px -20px rgba(12, 27, 42, 0.25);
}

.frame-corner {
  position: relative;
}

.frame-corner::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border: 1px solid rgba(185, 138, 68, 0.35);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.4s,
    inset 0.4s;
}

.frame-corner:hover::before {
  opacity: 1;
  inset: -0.4rem;
}

.bg-cover-center {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.bg-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.glass-panel {
  background: rgba(250, 248, 243, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(250, 248, 243, 0.14);
  border-radius: 1.25rem;
}

.glass-panel:hover {
  border-color: rgba(217, 184, 120, 0.4);
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: ace-marquee 32s linear infinite;
  will-change: transform;
}

.marquee-track.is-slow {
  animation-duration: 55s;
}

.marquee-track.is-fast {
  animation-duration: 22s;
}

.marquee:hover .marquee-track,
.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}

@keyframes ace-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1.1s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-slide .hero-slide-bg {
  transform: scale(1.12);
  transition: transform 6s ease-out;
}

.hero-slide.is-active .hero-slide-bg {
  transform: scale(1);
}

.hero-dots {
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 2.4rem;
  height: 3px;
  background: rgba(250, 248, 243, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.hero-dot.is-active {
  background: var(--ace-gold-light);
}

.ace-arrow {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(250, 248, 243, 0.3);
  color: var(--ace-ivory);
  transition: all 0.3s;
  cursor: pointer;
  background: transparent;
}

.ace-arrow:hover {
  background: var(--ace-gold);
  border-color: var(--ace-gold);
  color: var(--ace-ink);
}

.ace-arrow.on-light {
  border-color: rgba(12, 27, 42, 0.25);
  color: var(--ace-ink);
}

.ace-arrow.on-light:hover {
  background: var(--ace-ink);
  border-color: var(--ace-ink);
  color: var(--ace-ivory);
}

.h-scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.h-scroller::-webkit-scrollbar {
  display: none;
}

.h-scroller > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.scroll-progress {
  height: 3px;
  background: rgba(12, 27, 42, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.scroll-progress.on-dark {
  background: rgba(250, 248, 243, 0.15);
}

.scroll-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ace-gold), var(--ace-gold-light));
  border-radius: 9999px;
  transition: width 0.2s ease-out;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(217, 184, 120, 0.22),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s;
  z-index: 1;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.tab-btn {
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}

.tab-btn.is-active {
  color: var(--ace-gold);
}

.tab-panel {
  display: none;
  animation: ace-fade-in 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-panel.is-active {
  display: block;
}

@keyframes ace-fade-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fleet-item {
  position: relative;
  cursor: pointer;
  transition: padding 0.35s;
}

.fleet-item .fleet-name {
  transition:
    color 0.35s,
    transform 0.35s;
}

.fleet-item.is-active .fleet-name,
.fleet-item:hover .fleet-name {
  color: var(--ace-gold);
  transform: translateX(0.75rem);
}

.fleet-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--ace-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fleet-item.is-active::after,
.fleet-item:hover::after {
  transform: scaleX(1);
}

details.ace-acc {
  border-bottom: 1px solid var(--ace-mist);
}

details.ace-acc.on-dark {
  border-color: rgba(250, 248, 243, 0.14);
}

details.ace-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

details.ace-acc summary::-webkit-details-marker {
  display: none;
}

.acc-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(185, 138, 68, 0.45);
  color: var(--ace-gold);
  font-size: 0.75rem;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    color 0.3s;
}

details[open] .acc-icon {
  transform: rotate(45deg);
  background: var(--ace-gold);
  color: var(--ace-ink);
}

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

details[open] .acc-body {
  grid-template-rows: 1fr;
}

.acc-body-inner {
  overflow: hidden;
}

.timeline-rail {
  position: relative;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.35rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--ace-gold) 0%,
    rgba(185, 138, 68, 0.12) 100%
  );
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--ace-gold);
  color: var(--ace-gold);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.timeline-step.is-active .timeline-dot {
  background: var(--ace-gold);
  color: var(--ace-ink);
  box-shadow: 0 0 0 6px rgba(185, 138, 68, 0.15);
}

.count-cell {
  position: relative;
  text-align: center;
  padding: 1.4rem 1rem;
  border-radius: 1rem;
  background: rgba(250, 248, 243, 0.06);
  border: 1px solid rgba(250, 248, 243, 0.12);
  backdrop-filter: blur(10px);
  min-width: 4.6rem;
}

.count-cell .count-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ace-gold-light);
}

.quiz-step {
  display: none;
  animation: ace-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-step.is-active {
  display: block;
}

.quiz-option {
  transition: all 0.3s;
  cursor: pointer;
}

.quiz-option:hover {
  border-color: var(--ace-gold);
  transform: translateY(-3px);
}

.quiz-option.is-selected {
  border-color: var(--ace-gold);
  background: rgba(185, 138, 68, 0.1);
}

.field-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--ace-mist);
  border-radius: 0.75rem;
  padding: 0.95rem 1.15rem;
  font-size: 0.95rem;
  color: var(--ace-ink);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
}

.field-input:focus {
  border-color: var(--ace-gold);
  box-shadow: 0 0 0 4px rgba(185, 138, 68, 0.14);
}

.field-input.error {
  border-color: var(--ace-error);
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.12);
}

.field-input.on-dark {
  background: rgba(250, 248, 243, 0.06);
  border-color: rgba(250, 248, 243, 0.18);
  color: var(--ace-ivory);
}

.field-input.on-dark::placeholder {
  color: rgba(250, 248, 243, 0.45);
}

.field-error {
  display: none;
  font-size: 0.78rem;
  color: var(--ace-error);
  margin-top: 0.35rem;
}

.field-error.show {
  display: block;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-loader {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(12, 27, 42, 0.2);
  border-top-color: var(--ace-ink);
  border-radius: 50%;
  animation: ace-spin 0.7s linear infinite;
}

.btn.is-loading .form-loader {
  display: inline-block;
}

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

@keyframes ace-spin {
  to {
    transform: rotate(360deg);
  }
}

.ace-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 150%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--ace-ink);
  color: var(--ace-ivory);
  padding: 1rem 1.6rem;
  border-radius: 0.9rem;
  border-left: 3px solid var(--ace-gold);
  box-shadow: 0 20px 50px -12px rgba(8, 21, 36, 0.5);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: min(92vw, 30rem);
}

.ace-toast.show {
  transform: translate(-50%, 0);
}

.ace-toast i {
  color: var(--ace-gold-light);
  font-size: 1.15rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(185, 138, 68, 0.35);
  border-radius: 1.1rem;
  padding: 1.15rem 1.5rem;
  box-shadow: 0 24px 60px -18px rgba(8, 21, 36, 0.35);
}

.cookie-banner.show {
  display: flex;
}

.ace-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ace-modal.show {
  display: flex;
}

.ace-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 21, 36, 0.72);
  backdrop-filter: blur(6px);
  animation: ace-fade-in 0.4s;
}

.ace-modal-box {
  position: relative;
  z-index: 1;
  animation: ace-modal-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes ace-modal-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .header-topbar {
  max-height: 3rem;
  overflow: hidden;
  transition:
    max-height 0.4s,
    opacity 0.3s;
}

.site-header.scrolled {
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px -14px rgba(8, 21, 36, 0.25);
}

.site-header.scrolled .header-topbar {
  max-height: 0;
  opacity: 0;
}

.site-header.scrolled .nav-link {
  color: var(--ace-ink);
}

.site-header.scrolled .header-brand-name,
.site-header.scrolled .header-icon {
  color: var(--ace-ink);
}

.site-header.scrolled .burger-btn {
  color: var(--ace-ink);
  border-color: rgba(12, 27, 42, 0.25);
}

.nav-link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.85);
  transition: color 0.3s;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ace-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.nav-link:hover {
  color: var(--ace-gold-light);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 26rem);
  background: linear-gradient(165deg, var(--ace-deep), var(--ace-navy));
  z-index: 99995;
  transform: translateX(105%);
  visibility: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 0.5s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 21, 36, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99994;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--ace-ivory);
  border-bottom: 1px solid rgba(250, 248, 243, 0.08);
  transition:
    color 0.3s,
    padding-left 0.3s;
}

.mobile-nav-link:hover {
  color: var(--ace-gold-light);
  padding-left: 0.5rem;
}

.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.testi-slide {
  min-width: 100%;
}

.swiper-dots {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}

.swiper-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(12, 27, 42, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.swiper-dot.is-active {
  background: var(--ace-gold);
  width: 1.8rem;
}

.swiper-dot.on-dark {
  background: rgba(250, 248, 243, 0.25);
}

.swiper-dot.on-dark.is-active {
  background: var(--ace-gold-light);
}

.range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    var(--ace-gold) var(--fill, 50%),
    rgba(12, 27, 42, 0.12) var(--fill, 50%)
  );
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  background: var(--ace-ink);
  border: 3px solid var(--ace-gold-light);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(8, 21, 36, 0.3);
}

.range-input::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 9999px;
  background: var(--ace-ink);
  border: 3px solid var(--ace-gold-light);
  cursor: pointer;
}

.check-card input {
  position: absolute;
  opacity: 0;
}

.check-card .check-box {
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(250, 248, 243, 0.35);
  border-radius: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.6rem;
  transition: all 0.25s;
  flex-shrink: 0;
}

.check-card input:checked ~ .check-box {
  background: var(--ace-gold);
  border-color: var(--ace-gold);
  color: var(--ace-ink);
}

.check-card input:checked ~ .check-label {
  color: var(--ace-gold-light);
}

.pulse-ring {
  position: relative;
}

.pulse-ring::before {
  content: "";
  position: absolute;
  inset: -0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(217, 184, 120, 0.6);
  animation: ace-pulse 2.2s ease-out infinite;
}

@keyframes ace-pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.float-soft {
  animation: ace-float 6s ease-in-out infinite;
}

@keyframes ace-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.divider-gold {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.divider-gold::before,
.divider-gold::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(185, 138, 68, 0.5),
    transparent
  );
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(250, 248, 243, 0.6);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-hint .hint-line {
  width: 1px;
  height: 3.4rem;
  background: rgba(250, 248, 243, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll-hint .hint-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--ace-gold-light);
  animation: ace-scroll-hint 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes ace-scroll-hint {
  to {
    top: 110%;
  }
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
}

.map-pin .pin-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--ace-gold);
  border: 2px solid var(--ace-ivory);
  box-shadow: 0 0 0 4px rgba(185, 138, 68, 0.3);
  transition: transform 0.3s;
}

.map-pin:hover .pin-dot,
.map-pin.is-active .pin-dot {
  transform: scale(1.35);
}

.map-pin .pin-pulse {
  position: absolute;
  inset: -0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(185, 138, 68, 0.55);
  animation: ace-pulse 2s ease-out infinite;
}

.map-pin.is-active .pin-label {
  color: var(--ace-gold-light);
}

.table-lux {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table-lux th {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ace-gold);
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(185, 138, 68, 0.35);
}

.table-lux td {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--ace-mist);
  font-size: 0.92rem;
}

.table-lux tr:hover td {
  background: rgba(185, 138, 68, 0.05);
}

.price-card {
  position: relative;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s;
}

.price-card:hover {
  transform: translateY(-8px);
}

.price-card.is-featured {
  background: linear-gradient(165deg, var(--ace-deep), var(--ace-navy));
  color: var(--ace-ivory);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid var(--ace-mist);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ace-ink);
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.chip:hover,
.chip.is-active {
  border-color: var(--ace-gold);
  color: var(--ace-gold);
  background: rgba(185, 138, 68, 0.08);
}

.deck-zone {
  cursor: pointer;
  transition: all 0.35s;
  border: 1px solid rgba(250, 248, 243, 0.16);
}

.deck-zone:hover {
  border-color: rgba(217, 184, 120, 0.55);
}

.deck-zone.is-active {
  border-color: var(--ace-gold);
  background: rgba(185, 138, 68, 0.14);
}

.badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.zoom-img {
  overflow: hidden;
}

.zoom-img img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.zoom-img:hover img {
  transform: scale(1.08);
}

.legal-body h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--ace-ink);
  margin-top: 2.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ace-mist);
  scroll-margin-top: 8rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ace-ink);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.legal-body p {
  color: rgba(12, 27, 42, 0.7);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.legal-body ul {
  margin: 0 0 1.2rem;
  padding-left: 0;
  list-style: none;
}

.legal-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: rgba(12, 27, 42, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--ace-gold);
}

.legal-body ol {
  margin: 0 0 1.2rem;
  padding-left: 1.4rem;
}

.legal-body ol li {
  margin-bottom: 0.55rem;
  color: rgba(12, 27, 42, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-body strong {
  color: var(--ace-ink);
  font-weight: 700;
}

.legal-body a {
  color: var(--ace-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.4rem 0;
  font-size: 0.88rem;
  border: 1px solid var(--ace-mist);
  border-radius: 0.75rem;
  overflow: hidden;
}

.legal-body th {
  background: var(--ace-pearl);
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: var(--ace-ink);
  border-bottom: 1px solid var(--ace-mist);
}

.legal-body td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--ace-mist);
  color: rgba(12, 27, 42, 0.7);
}

.legal-body tr:last-child td {
  border-bottom: none;
}

.legal-callout {
  background: var(--ace-pearl);
  border-left: 3px solid var(--ace-gold);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.15rem 1.4rem;
  margin: 1.4rem 0;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.footer-glow-gold {
  background: radial-gradient(
    circle,
    rgba(185, 138, 68, 0.12) 0%,
    transparent 65%
  );
}

.footer-glow-teal {
  background: radial-gradient(
    circle,
    rgba(20, 83, 92, 0.25) 0%,
    transparent 65%
  );
}

.glow-gold {
  background: radial-gradient(
    circle,
    rgba(185, 138, 68, 0.14) 0%,
    transparent 65%
  );
}

.glow-teal {
  background: radial-gradient(
    circle,
    rgba(20, 83, 92, 0.14) 0%,
    transparent 65%
  );
}

.glow-ivory {
  background: radial-gradient(
    circle,
    rgba(250, 248, 243, 0.08) 0%,
    transparent 60%
  );
}

.diag-lines {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(185, 138, 68, 0.07) 0 1px,
    transparent 1px 10px
  );
}

.dot-grid {
  background-image: radial-gradient(
    rgba(185, 138, 68, 0.22) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

.dot-grid-dark {
  background-image: radial-gradient(
    rgba(250, 248, 243, 0.09) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

.rotate-slow {
  animation: ace-rotate 22s linear infinite;
}

@keyframes ace-rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .marquee-track {
    animation-duration: 44s;
  }
  .marquee-track.is-fast {
    animation-duration: 30s;
  }
  .btn {
    padding: 0.9rem 1.6rem;
    font-size: 0.75rem;
  }
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}

@media (min-width: 1024px) and (hover: hover) {
  .parallax-bg {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .float-soft,
  .rotate-slow,
  .pulse-ring::before,
  .scroll-hint .hint-line::after {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
