/* Shared public carousel component */
.pc-carousel {
  --pc-height: min(100vh, 860px);
  --pc-overlay-top: rgba(20, 19, 16, 0.14);
  --pc-overlay-bottom: rgba(20, 19, 16, 0.56);
  --pc-accent: #c5a26a;
  --pc-accent-strong: #8a6a35;
  --pc-text: #fffdfa;
  --pc-muted: rgba(255, 253, 250, 0.86);
  --pc-surface: rgba(255, 255, 255, 0.14);
  position: relative;
  min-height: var(--pc-height);
  background: #d9d2c5;
  color: var(--pc-text);
  overflow: hidden;
  isolation: isolate;
}

.pc-carousel[data-pc-height="compact"] { --pc-height: clamp(380px, 58vh, 560px); }
.pc-carousel[data-pc-height="short"] { --pc-height: clamp(260px, 42vh, 380px); }
.pc-carousel[data-pc-height="mini"] { --pc-height: clamp(180px, 30vh, 260px); }

.pc-carousel--maroon {
  --pc-overlay-top: rgba(24, 20, 16, 0.16);
  --pc-overlay-bottom: rgba(24, 20, 16, 0.62);
  --pc-accent: #d5b07a;
  --pc-accent-strong: #8f6b3b;
  --pc-text: #fffdfa;
  --pc-muted: rgba(255, 253, 250, 0.82);
  --pc-surface: rgba(255, 255, 255, 0.16);
  background: #d8cfbf;
}

.pc-track {
  position: relative;
  min-height: inherit;
}

.pc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
  min-height: inherit;
}

.pc-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.pc-slide-bg,
.pc-slide::before,
.pc-slide::after {
  position: absolute;
  inset: 0;
}

.pc-slide-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.pc-slide.is-active .pc-slide-bg {
  animation: pcKenBurns 24s ease-in-out infinite alternate;
}

.pc-slide::before {
  content: "";
  background: linear-gradient(180deg, rgba(14,14,14,0.06) 0%, var(--pc-overlay-top) 18%, rgba(0,0,0,0.08) 42%, var(--pc-overlay-bottom) 100%);
  z-index: 1;
}

.pc-slide::after {
  content: "";
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 35%);
  z-index: 1;
}

.pc-slide[data-pc-kind="copy"] .pc-slide-bg {
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.16)),
    linear-gradient(135deg, #1f3a2e 0%, #2d4a3a 48%, #0f2118 100%);
}

.pc-carousel--maroon .pc-slide[data-pc-kind="copy"] .pc-slide-bg {
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.2), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(0,0,0,0.12)),
    linear-gradient(135deg, #6f5a3a 0%, #8a744b 30%, #4a3e31 100%);
}

.pc-slide-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3.25rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem) clamp(6.5rem, 10vw, 8rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.pc-carousel[data-pc-height="compact"] .pc-slide-content,
.pc-carousel[data-pc-height="short"] .pc-slide-content,
.pc-carousel[data-pc-height="mini"] .pc-slide-content {
  justify-content: center;
}

.pc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--pc-accent);
}

.pc-eyebrow::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: currentColor;
}

.pc-title {
  margin: 0;
  max-width: 17ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--pc-text);
}

.pc-carousel[data-pc-height="compact"] .pc-title { font-size: clamp(2rem, 4.5vw, 3.75rem); }
.pc-carousel[data-pc-height="short"] .pc-title,
.pc-carousel[data-pc-height="mini"] .pc-title { font-size: clamp(1.7rem, 3.8vw, 2.9rem); max-width: 24ch; }

.pc-title em {
  color: var(--pc-accent);
  font-style: italic;
}

.pc-copy {
  margin: 0;
  max-width: 56ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.72;
  color: var(--pc-muted);
}

.pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: .35rem;
}

.pc-btn,
.pc-btn-ghost {
  appearance: none;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 1.25rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.pc-btn {
  border: 1px solid transparent;
  background: rgba(255,255,255,0.96);
  color: #2e271c;
}

.pc-btn-ghost {
  border: 1px solid rgba(255,255,255,.34);
  background: transparent;
  color: var(--pc-text);
  backdrop-filter: blur(8px);
}

.pc-btn:hover,
.pc-btn-ghost:hover,
.pc-nav:hover,
.pc-dot:hover {
  transform: translateY(-1px);
}

.pc-controls {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(1rem, 2.8vw, 1.5rem);
  z-index: 3;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pc-controls[hidden],
.pc-progress[hidden] { display: none !important; }

.pc-nav-group {
  display: flex;
  gap: .65rem;
}

.pc-nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: var(--pc-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.pc-dots {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.pc-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.pc-dot.is-active {
  background: var(--pc-accent);
  transform: scale(1.12);
}

.pc-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  height: 3px;
  background: rgba(255,255,255,.12);
}

.pc-progress-bar {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--pc-accent);
}

.pc-progress-bar.is-animating {
  animation: pcProgress linear forwards;
  animation-duration: var(--pc-progress-duration, 6000ms);
}

.pc-slide > #hero {
  min-height: inherit;
  height: 100%;
  padding-top: 0;
  background: transparent;
}

.pc-slide > #hero .hero-pattern,
.pc-slide > #hero .hero-grain,
.pc-slide > #hero .hero-scroll {
  display: none;
}

.pc-slide > #hero .hero-inner,
.pc-slide > #hero .hero-visual {
  position: relative;
  z-index: 2;
}

.pc-slide > #hero .hero-inner {
  min-height: inherit;
  justify-content: flex-end;
  padding-block: clamp(3.25rem, 8vw, 6rem) clamp(6.5rem, 10vw, 8rem);
  max-width: 780px;
}

.pc-slide > #hero .hero-visual {
  align-self: flex-end;
  padding-bottom: clamp(6.5rem, 10vw, 8rem);
}

.pc-carousel[data-pc-height="short"] .pc-slide > #hero .hero-inner,
.pc-carousel[data-pc-height="mini"] .pc-slide > #hero .hero-inner {
  justify-content: flex-end;
}

.pc-carousel--embedded-pad {
  margin-bottom: 0;
}

.pc-order-wrap {
  margin: 0 0 1rem;
}

@keyframes pcKenBurns {
  0% { transform: scale(1.05) translate3d(0,0,0); }
  100% { transform: scale(1.12) translate3d(-1.2%, -1%, 0); }
}

@keyframes pcProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .pc-controls {
    align-items: flex-end;
  }

  .pc-title { max-width: 22ch; }
}

@media (max-width: 640px) {
  .pc-carousel { --pc-height: min(100vh, 720px); }
  .pc-carousel[data-pc-height="compact"] { --pc-height: 420px; }
  .pc-carousel[data-pc-height="short"] { --pc-height: 300px; }
  .pc-carousel[data-pc-height="mini"] { --pc-height: 220px; }
  .pc-slide-content {
    padding: 2.25rem 1rem 4.75rem;
  }
  .pc-controls {
    bottom: .8rem;
    padding-inline: 1rem;
  }
  .pc-nav-group {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-slide,
  .pc-slide-bg,
  .pc-btn,
  .pc-btn-ghost,
  .pc-nav,
  .pc-dot {
    transition: none !important;
    animation: none !important;
  }
}


/* Shangri-La inspired homepage refinements */
.pc-carousel--maroon {
  box-shadow: inset 0 -120px 120px rgba(0, 0, 0, 0.08);
}

.pc-slide > #hero {
  background: transparent;
}

.pc-slide > #hero .hero-pattern {
  display: block;
  opacity: .3;
}

.pc-slide > #hero .hero-grain,
.pc-slide > #hero .hero-scroll {
  display: none;
}

.pc-slide > #hero .hero-eyebrow {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff6ea;
}

.pc-slide > #hero .hero-title {
  font-size: clamp(2.9rem, 5.5vw, 5.2rem);
  line-height: 1.05;
  max-width: 10ch;
}

.pc-slide > #hero .hero-subtitle {
  max-width: 52ch;
  color: rgba(255, 252, 247, 0.88);
}

.pc-slide > #hero .hero-pill {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}

.pc-slide > #hero .hero-btns .btn-primary {
  background: rgba(255,255,255,0.96);
  color: #2e271c;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.pc-slide > #hero .hero-btns .btn-outline {
  background: transparent;
  color: #fffdfa;
  border-color: rgba(255,255,255,0.36);
}

.pc-slide > #hero .hero-logo-ring {
  width: clamp(260px, 30vw, 420px);
  height: clamp(360px, 44vw, 540px);
  border-radius: 28px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 26px 60px rgba(0,0,0,0.18);
  overflow: hidden;
}

.pc-slide > #hero .hero-logo-img {
  width: 76%;
  max-width: 260px;
}

.pc-slide[data-pc-kind="copy"] .pc-slide-content {
  max-width: 760px;
}

.hero-explore-rail {
  position: relative;
  z-index: 4;
  margin-top: -2.75rem;
  padding: 0 1rem;
}

.hero-explore-shell {
  max-width: 1320px;
  margin: 0 auto;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(63, 52, 38, 0.10);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(44, 36, 25, 0.12);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
}

.hero-explore-item {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .32rem;
  text-decoration: none;
  color: #3a3229;
  background: #fffdfa;
  transition: background-color .2s ease;
}

.hero-explore-item + .hero-explore-item {
  border-left: 1px solid rgba(63, 52, 38, 0.08);
}

.hero-explore-item:hover {
  background: #f7f1e8;
}

.hero-explore-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8a6a35;
}

.hero-explore-copy {
  font-size: .95rem;
  line-height: 1.45;
  color: #4d4338;
}

@media (max-width: 980px) {
  .hero-explore-shell {
    grid-template-columns: 1fr 1fr;
  }
  .hero-explore-item:nth-child(odd) {
    border-left: 0;
  }
  .hero-explore-item:nth-child(n+3) {
    border-top: 1px solid rgba(63, 52, 38, 0.08);
  }
}

@media (max-width: 640px) {
  .pc-slide > #hero .hero-visual {
    display: none;
  }
  .pc-slide > #hero .hero-inner {
    padding-bottom: 7rem;
  }
  .hero-explore-rail {
    margin-top: -1.5rem;
    padding-inline: .75rem;
  }
  .hero-explore-shell {
    grid-template-columns: 1fr;
  }
  .hero-explore-item + .hero-explore-item,
  .hero-explore-item:nth-child(n+2) {
    border-left: 0;
    border-top: 1px solid rgba(63, 52, 38, 0.08);
  }
}
