/* ============================================================
   Premier Hotels Australia — Global Stylesheet
   Ivory + burgundy luxury casino-resort design system
   ============================================================ */

:root {
  --ivory: #f8f5f0;
  --paper: #fffdf9;
  --ink: #16181d;
  --ink-soft: #2a2e37;
  --navy: #101828;
  --navy-2: #182338;
  --burgundy: #701a2b;
  --burgundy-2: #8a2334;
  --burgundy-soft: #f3e6e8;
  --steel: #475569;
  --mist: #eef0f3;
  --line: rgba(22, 24, 29, 0.09);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 2px 10px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 14px 40px rgba(16, 24, 40, 0.12);
  --shadow-lg: 0 30px 80px rgba(16, 24, 40, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Layout primitives ---------- */

.x-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

.x-section {
  position: relative;
  padding: clamp(72px, 9vw, 130px) 0;
}

.x-section-tight {
  padding: clamp(48px, 6vw, 88px) 0;
}

.section-dark {
  background: var(--navy);
  color: #f1f3f7;
}

.section-ink {
  background: #14161b;
  color: #f1f3f7;
}

.section-paper {
  background: var(--paper);
}

.section-mist {
  background: var(--mist);
}

.section-burgundy {
  background: linear-gradient(150deg, #5c1424, #701a2b 55%, #4c101e);
  color: #faf5f2;
}

.bg-media {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f5f3ee;
}

.bg-media .x-muted {
  color: rgba(245, 243, 238, 0.72);
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--burgundy);
}

.section-dark .eyebrow,
.bg-media .eyebrow,
.section-burgundy .eyebrow,
.section-ink .eyebrow {
  color: #d8a3ad;
}

.section-dark .eyebrow::before,
.bg-media .eyebrow::before,
.section-burgundy .eyebrow::before,
.section-ink .eyebrow::before {
  background: #d8a3ad;
}

.display-1 {
  font-family: var(--serif);
  font-size: clamp(42px, 7.2vw, 96px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.display-2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.display-3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 500;
}

.display-4 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  font-weight: 500;
}

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--burgundy-2);
  font-weight: 400;
}

.section-dark .lead,
.bg-media .lead,
.section-ink .lead,
.section-burgundy .lead {
  color: rgba(241, 243, 247, 0.75);
}

.x-muted {
  color: var(--steel);
}

.text-serif {
  font-family: var(--serif);
}

.mono-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.section-dark .mono-label,
.bg-media .mono-label,
.section-ink .mono-label,
.section-burgundy .mono-label {
  color: rgba(241, 243, 247, 0.6);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.3s,
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
  white-space: nowrap;
}

.btn i {
  font-size: 12px;
  transition: transform 0.3s;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 14px 34px rgba(112, 26, 43, 0.32);
}

.btn-primary:hover {
  background: var(--burgundy-2);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(22, 24, 29, 0.25);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 11px;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-bottom: 1px solid rgba(112, 26, 43, 0.35);
  padding-bottom: 4px;
  transition:
    border-color 0.3s,
    gap 0.3s;
}

.link-underline:hover {
  border-color: var(--burgundy);
  gap: 14px;
}

.section-dark .link-underline,
.bg-media .link-underline {
  color: #e7b8c0;
  border-color: rgba(231, 184, 192, 0.4);
}

/* ---------- Chips / tags / badges ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s;
}

.chip:hover,
.chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.chip-scroll::-webkit-scrollbar {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge-burgundy {
  background: var(--burgundy-soft);
  color: var(--burgundy);
}

.badge-steel {
  background: var(--mist);
  color: var(--steel);
}

.doc-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-link:hover {
  color: var(--burgundy);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
}

.glass-light {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.media-frame:hover img {
  transform: scale(1.05);
}

.hairline-box {
  border: 1px solid var(--line);
}

.hairline-top {
  border-top: 1px solid var(--line);
}

.section-dark .hairline-box,
.section-ink .hairline-box,
.bg-media .hairline-box {
  border-color: var(--line-light);
}

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--burgundy-soft);
  color: var(--burgundy);
  flex-shrink: 0;
}

.section-dark .icon-tile,
.section-ink .icon-tile,
.bg-media .icon-tile,
.section-burgundy .icon-tile {
  background: rgba(255, 255, 255, 0.1);
  color: #e7b8c0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: padding 0.4s;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
}

.site-header.is-scrolled .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header:not(.is-scrolled) .header-nav a,
.site-header:not(.is-scrolled) .header-contact,
.site-header:not(.is-scrolled) .header-burger {
  color: #fff;
}

.site-header:not(.is-scrolled) .header-contact {
  border-color: rgba(255, 255, 255, 0.3);
}

.header-logo img {
  height: 44px;
  width: auto;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transition: width 0.3s;
}

.site-header:not(.is-scrolled) .header-nav a::after {
  background: #fff;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 16px;
  border-left: 1px solid var(--line);
  line-height: 1.4;
}

.header-contact .sub {
  font-weight: 400;
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.header-burger {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(16, 20, 26, 0.98);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px clamp(24px, 6vw, 60px);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  background: transparent;
}

.mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu nav a span.idx {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}

.mobile-menu-contacts {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.menu-contact-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0c0e12;
  color: rgba(241, 243, 247, 0.72);
}

.footer-time {
  border-bottom: 1px solid var(--line-light);
  padding: 22px 0;
}

.footer-time .time-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-time .time-item b {
  color: #fff;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 80px) 0;
}

.footer-logo img {
  height: 52px;
  margin-bottom: 18px;
}

.footer-title {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(241, 243, 247, 0.65);
  font-size: 13px;
  text-decoration: none;
  transition:
    color 0.25s,
    padding-left 0.25s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: #d8a3ad;
  margin-top: 3px;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  border-top: 1px solid var(--line-light);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.footer-about {
  max-width: 320px;
}

.footer-dim {
  color: rgba(241, 243, 247, 0.4);
}

.footer-reg {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(241, 243, 247, 0.4);
  line-height: 1.8;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s;
}

.social-row a:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  transform: translateY(-3px);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
  box-shadow: var(--shadow-md);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero slider ---------- */

.hero-slider {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-bottom: clamp(150px, 18vh, 210px);
  padding-top: 160px;
}

.hero-nav {
  position: absolute;
  z-index: 10;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(120px, 16vh, 170px);
  display: flex;
  gap: 10px;
}

.hero-arrow {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-arrow:hover {
  background: #fff;
  color: var(--ink);
}

.hero-dots {
  position: absolute;
  z-index: 10;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(120px, 16vh, 170px);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.hero-dot.is-active {
  background: #fff;
}

.booking-island {
  position: absolute;
  z-index: 12;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(24px, 4vh, 44px);
  width: min(1120px, calc(100% - 40px));
}

/* ---------- Marquee / kinetic strip ---------- */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

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

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

/* ---------- Accordion (seo.js scrapes these classes) ---------- */

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.section-dark .accordion-item,
.section-ink .accordion-item,
.bg-media .accordion-item {
  border-color: var(--line-light);
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: inherit;
  min-height: 54px;
}

.accordion-button .acc-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.section-dark .accordion-button .acc-icon,
.section-ink .accordion-button .acc-icon,
.bg-media .accordion-button .acc-icon {
  border-color: var(--line-light);
}

.accordion-item.is-open .acc-icon {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.accordion-body > div,
.accordion-body > p {
  padding: 0 4px 26px;
  color: var(--steel);
  line-height: 1.75;
  font-size: 15px;
}

.section-dark .accordion-body > div,
.section-dark .accordion-body > p,
.section-ink .accordion-body > div,
.section-ink .accordion-body > p,
.bg-media .accordion-body > div,
.bg-media .accordion-body > p {
  color: rgba(241, 243, 247, 0.7);
}

/* ---------- Tabs ---------- */

.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: inherit;
  transition: all 0.3s;
}

.tab-btn.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.section-dark .tab-btn,
.bg-media .tab-btn {
  border-color: var(--line-light);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Snap rails / scrollers ---------- */

.snap-rail {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.snap-rail::-webkit-scrollbar {
  display: none;
}

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

.rail-progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.rail-progress .bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20%;
  background: var(--burgundy);
  border-radius: 2px;
  transition:
    width 0.2s,
    transform 0.2s;
}

/* ---------- Timeline ---------- */

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--burgundy);
  box-shadow: 0 0 0 5px var(--burgundy-soft);
}

.section-dark .timeline::before,
.section-ink .timeline::before {
  background: var(--line-light);
}

.section-dark .timeline-item::before,
.section-ink .timeline-item::before {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

/* ---------- Stats ---------- */

.stat-value {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1;
}

/* ---------- Forms ---------- */

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  appearance: none;
}

.field select {
  background-image: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(112, 26, 43, 0.1);
}

.field input.is-error,
.field select.is-error,
.field textarea.is-error {
  border-color: #c2263a;
  box-shadow: 0 0 0 4px rgba(194, 38, 58, 0.1);
}

.field .field-error {
  display: none;
  font-size: 12px;
  color: #c2263a;
  margin-top: 6px;
}

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

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
  cursor: pointer;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--burgundy);
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-note {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.form-note.is-visible {
  display: flex;
  animation: fadeUp 0.5s ease;
}

.form-note.success {
  background: #eef6f0;
  color: #205c38;
  border: 1px solid #cfe3d5;
}

.form-note.error {
  background: #fbeeee;
  color: #8a2334;
  border: 1px solid #eccdd2;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

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

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

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

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  z-index: 1200;
  background: var(--ink);
  color: #fff;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  max-width: calc(100vw - 40px);
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.toast i {
  color: #9fd6ae;
}

/* ---------- Cookie banner (redesigned, homepage only) ---------- */

.cookie-banner {
  position: fixed;
  z-index: 1300;
  left: 20px;
  bottom: 20px;
  width: min(430px, calc(100vw - 40px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: cookieIn 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--burgundy-soft);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

/* ---------- Masonry gallery ---------- */

.masonry {
  columns: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.masonry-item img {
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.masonry-item:hover img {
  transform: scale(1.06);
}

/* ---------- Polaroid / journal ---------- */

.polaroid {
  background: #fff;
  padding: 14px 14px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
  transition: transform 0.4s;
}

.polaroid:nth-child(even) {
  transform: rotate(2.4deg);
}

.polaroid:hover {
  transform: rotate(0) translateY(-6px);
}

.polaroid img {
  border-radius: 4px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.polaroid figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  margin-top: 12px;
  color: var(--ink-soft);
}

/* ---------- Audio player / soundscape ---------- */

.audio-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.play-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: var(--burgundy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.play-btn:hover {
  transform: scale(1.08);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.eq-bars span {
  width: 3px;
  background: var(--burgundy);
  border-radius: 2px;
  height: 30%;
}

.eq-bars.is-playing span {
  animation: eq 0.9s ease-in-out infinite alternate;
}

.eq-bars span:nth-child(2) {
  animation-delay: 0.15s;
}
.eq-bars span:nth-child(3) {
  animation-delay: 0.3s;
}
.eq-bars span:nth-child(4) {
  animation-delay: 0.45s;
}
.eq-bars span:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes eq {
  from {
    height: 20%;
  }
  to {
    height: 100%;
  }
}

input[type="range"].volume {
  accent-color: var(--burgundy);
  width: 110px;
}

/* ---------- Misc components ---------- */

.video-fab {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.35s;
}

.video-fab:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  transform: scale(1.08);
}

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  font-size: 13px;
  color: #fff;
}

.price-tag {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  color: var(--burgundy);
}

.section-dark .price-tag,
.section-ink .price-tag,
.bg-media .price-tag {
  color: #e7b8c0;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.num-marker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--burgundy);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
}

.check-list li i {
  color: var(--burgundy);
  margin-top: 4px;
  font-size: 13px;
}

.section-dark .check-list li i,
.section-ink .check-list li i,
.bg-media .check-list li i {
  color: #e7b8c0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.rate-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.rate-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table tr:last-child td {
  border-bottom: none;
}

.rate-table tbody tr {
  transition: background 0.25s;
}

.rate-table tbody tr:hover {
  background: rgba(112, 26, 43, 0.03);
}

.text-rose {
  color: #e7b8c0;
}

.text-rose-dim {
  color: #d8a3ad;
}

.dim-white {
  color: rgba(255, 255, 255, 0.6);
}

.dot-sep {
  font-size: 6px;
  margin-top: 9px;
}

/* ---------- Article / legal doc ---------- */

.doc-toc {
  position: sticky;
  top: 110px;
}

.doc-toc a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--steel);
  border-left: 2px solid var(--line);
  text-decoration: none;
  transition: all 0.25s;
}

.doc-toc a:hover {
  color: var(--burgundy);
  border-left-color: var(--burgundy);
}

.prose-block h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 40px 0 14px;
}

.prose-block p {
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 15.5px;
}

.prose-block ul {
  margin: 0 0 16px 18px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 15px;
}

.quote-bar {
  border-color: var(--burgundy-2);
}

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  border-left: 3px solid var(--burgundy);
  padding-left: 28px;
  margin: 44px 0;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding-top: clamp(150px, 20vh, 210px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-2 {
    grid-template-columns: 1fr;
  }
  .header-nav,
  .header-contact {
    display: none;
  }
  .header-burger {
    display: inline-flex;
  }
  .masonry {
    columns: 2;
  }
  .doc-toc {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
  }
  .doc-toc a {
    border-left: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-content {
    padding-top: 130px;
    padding-bottom: 90px;
  }
  .hero-slide {
    overflow-y: auto;
  }
  .hero-nav {
    display: none;
  }
  .hero-dots {
    bottom: auto;
    top: 110px;
    left: 20px;
  }
  .booking-island {
    bottom: 14px;
    width: calc(100% - 24px);
  }
  .masonry {
    columns: 1;
  }
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  .footer-time .time-row {
    justify-content: flex-start !important;
  }
  .footer-time .time-item.hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .display-1 {
    font-size: 40px;
  }
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

.quote-block {
  border-left: 3px solid var(--burgundy);
  background: var(--paper);
  padding: 30px 32px;
  border-radius: 0 18px 18px 0;
}
.section-dark .quote-block,
.section-ink .quote-block {
  border-left-color: #d8a3ad;
  background: rgba(255, 255, 255, 0.05);
}

.map-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(112, 26, 43, 0.18);
  cursor: pointer;
}
.map-dot::after {
  content: attr(title);
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.map-dot:hover::after {
  opacity: 1;
}
.map-dot[data-dot="r"] {
  top: 30%;
  left: 38%;
}
.map-dot[data-dot="c"] {
  top: 55%;
  left: 62%;
}
.map-dot[data-dot="t"] {
  top: 68%;
  left: 28%;
}
.map-dot[data-dot="j"] {
  top: 82%;
  left: 70%;
}
