/* Transparent scrollbar on hero section */
/* body.hero-active .shell::-webkit-scrollbar {
  width: 8px;
  background: blue;
  scrollbar-color: blue blue;
}

body.hero-active .shell::-webkit-scrollbar-track {
  background: blue;
  scrollbar-color: blue blue;
}

body.hero-active .shell::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

body.hero-active .shell::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
} */

body .shell {
  --scrollbar-foreground: yellow;
  --scrollbar-background: red;
  
  /*scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-foreground) var(--scrollbar-background);*/
} 

 body.hero-active .shell {
  /*scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-foreground) var(--scrollbar-background);*/
  scrollbar-gutter: stable;
} 

/* Hide native scrollbar - keep left progress bar unchanged */
.shell::-webkit-scrollbar {
  display: none;
}

.shell {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* DO NOT TOUCH .progress or any left progress bar styles */

/* Custom scrollbar styles - completely separate from progress bar */
.custom-scrollbar {
  position: fixed;
  top: var(--topbar-h, 88px);
  right: 0;
  width: 16px;
  height: calc(100vh - var(--topbar-h, 88px));
  z-index: 50;
  pointer-events: none;
}

.custom-scrollbar-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.custom-scrollbar-thumb {
  position: absolute;
  height:15%;
  right: 0;
  width: 16px;
  background: var(--gold);
  border-radius: 4px;
  transition: background 0.2s;
  pointer-events: auto;
  cursor: pointer;
}

.custom-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Make transparent on hero */
/* body.hero-active .custom-scrollbar-thumb {
  background: var(--brand);
} */

/* Shared chapter layout system */
.chapter-layout {
  display: flex;
  flex-direction: column;
  gap: var(--chapter-gap-desktop);
  align-items: stretch;
}

@media (max-width: 980px) {
  .chapter-layout {
    gap: var(--chapter-gap-tablet);
  }
}

@media (max-width: 720px) {
  .chapter-layout {
    gap: var(--chapter-gap-mobile);
  }
}

.chapter-6-layout-a .chapter-6-top {
  text-align: left;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.chapter-6-layout-a .chapter-6-bottom {
  align-items: stretch;
}

.chapter-6-layout-a .outcome-blocks {
  grid-template-columns: repeat(2, 1fr);
  max-width: none;
  align-items: stretch;
}

.chapter-6-layout-a .outcome-block {
  height: 100%;
}

.chapter-6-layout-a .outcome-block.outcome-image {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.chapter-6-layout-a .outcome-block.outcome-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chapter-6-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.chapter-6-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-main-area > .chapter-6-bottom {
  grid-column: 1 / -1;
}

.outcome-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.outcome-block {
  text-align: center;
  position: relative;
}

.outcome-icon {
  font-size: 40px;
  margin-bottom: 0;
  display: block;
  align-self: center;
}

.outcome-metric {
  background: var(--gold);
  color: white;
  font-weight: 800;
  font-size: var(--font-body-sm);
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .chapter-6-layout-a .outcome-blocks {
    grid-template-columns: 1fr;
  }
}

.reassurance-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 980px) {
  .outcome-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .outcome-blocks {
    gap: 16px;
  }

  .outcome-icon {
    font-size: 40px;
  }
}

.chapter-5-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chapter-5-right {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(48, 47, 123, 0.18);
}

.checklist-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.supervision-checklist .checklist-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: transparent;
  border: 2px solid rgb(191, 158, 79);
  border-radius: 6px;
  position: relative;
  margin-top: 2px;
}

.supervision-checklist .checklist-icon::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 12px;
  border-right: 3px solid rgb(191, 158, 79);
  border-bottom: 3px solid rgb(191, 158, 79);
  transform: rotate(40deg);
}

.checklist-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 720px) {
  .checklist-item {
    gap: 12px;
  }
  
  .checklist-icon {
    width: 20px;
    height: 20px;
  }
}

.section .section-inner .pills {
  flex-direction: column;
  align-items: stretch;
}
.section .section-inner .pills .pill {
  width: 100%;
}

 .section.chapter-trust .content-main-area > .weekly-structure {
  grid-column: 1 / -1;
 }

 .section.chapter-trust .content-main-area > .chapter-4-actions {
  grid-column: 1 / -1;
 }

 @media (max-width: 980px) {
  .section.chapter-trust .chapter-4-right {
    padding-top: 0;
  }
 }

.weekly-structure {
  position: relative;
  padding-top: 56px;
  padding-left: 42px;
}

.weekly-structure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: linear-gradient(90deg, rgba(48,47,123,0.12), rgba(152,39,137,0.10), rgba(241,193,124,0.16));
  border-bottom: 1px solid rgba(48, 47, 123, 0.12);
}

.weekly-structure::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(48,47,123,0.18), rgba(48,47,123,0.06));
  box-shadow: inset 0 0 0 1px rgba(48,47,123,0.10);
}

.weekly-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.weekly-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  contain: layout style paint;
}

.day-card {
  --day-card-pad: 28px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(48, 47, 123, 0.1);
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.day-name {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95rem;
}

.day-icon {
  font-size: 1.2rem;
  opacity: 0.7;
}

.day-content {
  font-size: 0.889rem;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  --title-pad: 10px;
  --title-height: calc(2.6em + (var(--title-pad) * 2));
}

.day-content::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--day-card-pad));
  right: calc(-1 * var(--day-card-pad));
  top: 0;
  height: var(--title-height);
  background: rgba(241, 193, 124, 0.18);
  z-index: 0;
}

.day-content strong {
  color: var(--brand);
  font-weight: 700;
  display: block;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: var(--title-height);
  padding: var(--title-pad) 8px;
  margin-bottom: 8px;
  line-height: 1.2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

@media (max-width: 980px) {
  .weekly-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .weekly-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .day-card {
    --day-card-pad: 20px;
    padding: 14px;
  }

  .day-content {
    --title-pad: 8px;
  }
}

.day-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(48, 47, 123, 0.10);
  padding-left: 14px;
  position: relative;
}

.day-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(48,47,123,0.18);
  border: 1px solid rgba(48,47,123,0.32);
}



.day-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.weekly-note {
  margin: 0;
  font-size: var(--font-body-sm);
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}

.chapter-3-left {
  display: flex;
  flex-direction: column;
}

.trust-block {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.panel.trust-block {
  flex-direction: row;
}

.trust-block-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.trust-block-image {
  flex: 1;
  position: relative;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
  margin: -28px -28px -28px 0;
}

.trust-block-image img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, rgba(48,47,123,0.08), rgba(152,39,137,0.08));
}

@media (max-width: 980px) {
  .trust-block {
    gap: 16px;
  }
  
  .trust-block-image img {
    height: 100px;
  }
}

@media (max-width: 720px) {
  .trust-block {
    flex-direction: column;
    gap: 12px;
  }
  
  .trust-block-image img {
    height: 140px;
  }
}

.trust-blocks-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.trust-block-overlay {
  position: relative;
  z-index: 1;  /* ADD THIS */
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  --trust-image-h: 220px;
  --trust-panel-min: 140px;
  --trust-panel-shift: 110px;
  min-height: calc(var(--trust-image-h) + var(--trust-panel-min));
}

.trust-block-bg {
  position: static;
  width: 100%;
  height: var(--trust-image-h);
  object-fit: cover;
  display: block;
}

.trust-block-overlay-content {
  position: relative;
  padding: 20px 22px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #2f2f87;
  min-height: var(--trust-panel-min);
  transform: translateY(0);
  transition: transform 0.3s ease; 
}

.trust-block-overlay-content h3 {
  color: #fff;
}

.trust-block-overlay-content p {
  color: rgba(255, 255, 255, 0.9);
}

.trust-block-overlay:hover .trust-block-overlay-content {
  transform: translateY(calc(-1 * var(--trust-panel-shift)));
}

@media (max-width: 980px) {
  .trust-blocks-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .trust-blocks-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .trust-block-overlay {
    --trust-image-h: 200px;
    --trust-panel-min: 120px;
    --trust-panel-shift: 90px;
  }
}

.image-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.image-break {
  background: #ffffff;
}

.image-break-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: repeat(3, minmax(140px, 1fr));
  gap: 1px;
  background-color: white;
  height: 80vh;
  width: 82.5vw;
}

.image-break-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(24, 28, 65, 0.18);
}

.image-break-item--large {
  grid-row: span 2;
}

.image-break-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.35s ease;
  display: block;
}

.image-break-item:hover img {
  transform: scale(1.06);
}

.image-break-item--brand {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 24px 28px;
  gap: 16px;
}

.image-break-brand-text,
.image-break-brand-logo {
  flex: 1 1 50%;
}

.image-break-brand-text {
  font-family: "Merriweather", serif;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.image-break-brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-break-item--brand img {
  width: min(220px, 90%);
  height: auto;
  object-fit: contain;
  transform: none;
  transition: none;
}

.image-break-caption {
  position: absolute;
  top: 16px;
  left: 27%;
  transform: translateX(-10%);
  z-index: 2;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
  text-decoration: none;
  font-size: 1.5rem;
}

@media (max-width: 980px) {
  .image-break-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .image-break-item--large {
    grid-row: span 2;
  }
}

@media (max-width: 720px) {
  .image-break-grid {
    grid-template-columns: 1fr;
  }

  .image-break-item--large {
    grid-row: span 1;
    min-height: 220px;
  }
}

.image-stack-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
}

.image-stack-item img {
  width: 100%;
  height: 42vh;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, rgba(48,47,123,0.08), rgba(152,39,137,0.08));
}

.credibility-cta {
  display: flex;
  gap: 12px;
}

@media (max-width: 980px) {
  .image-stack-item img {
    height: 240px;
  }
}

@media (max-width: 720px) {
  .image-stack {
    flex-direction: column;
    gap: 16px;
  }
  
  .image-stack-item img {
    height: 200px;
  }
  
  .credibility-cta {
    flex-direction: column;
  }
  
  .credibility-cta .btn {
    width: 100%;
  }
}

.chapter-top {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 246, 255, 0.9));
  border: 1px solid rgba(48, 47, 123, 0.12);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.panel p, .panel strong, .panel span {
  font-size: 0.889rem;
}

.panel.weekly-structure {
  padding-top: 56px;
  padding-left: 42px;
}

.panel.image-stack-item {
  padding: 0;
}

.panel.trust-block-overlay {
  padding: 0;
}

.panel.outcome-block.outcome-image {
  padding: 0;
  overflow: hidden;
}

.section-inner .content-left,
.section-inner .content-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.section-inner .content-left {
  padding-right: 1.5vw;
}
.section-inner .content-right {
  padding-left: 1.5vw;
}

.content-right--sticky {
  position: sticky;
  top: 120px;
}

.content-main-area {
  display: grid;
  gap: var(--chapter-gap-desktop);
  align-items: start;
}

.content-main-area--ratio-equal {
  grid-template-columns: 1fr 1fr;
}

.content-main-area--ratio-left {
  grid-template-columns: 1.7fr 1fr;
}

.content-main-area--ratio-right {
  grid-template-columns: 1fr 1.7fr;
}

.content-main-area--full {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .content-main-area {
    grid-template-columns: 1fr;
    gap: var(--chapter-gap-tablet);
  }
}

@media (max-width: 720px) {
  .content-main-area {
    gap: var(--chapter-gap-mobile);
  }
}

.primary-cta {
  margin-top: 0;
}

.glance-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.programme-glance-card .glance-facts::before {
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 1px;
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(48, 47, 123, 0),
    rgba(48, 47, 123, 0.2),
    rgba(48, 47, 123, 0)
  );
}

.programme-glance-card .glance-facts::after {
  content: none;
}

.programme-glance-card .glance-divider {
  grid-column: 1 / -1;
  height: 1px;
  margin: 0 6px;
  margin-top: -10px;
  margin-bottom: -10px;
  background: linear-gradient(
    to right,
    rgba(48, 47, 123, 0),
    rgba(48, 47, 123, 0.2),
    rgba(48, 47, 123, 0)
  );
  pointer-events: none;
  z-index: 0;
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .glance-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .programme-glance-card .glance-facts::before,
  .programme-glance-card .glance-facts::after {
    content: none;
  }

  .programme-glance-card .glance-divider {
    display: none;
  }
}

@media (max-width: 980px) {
  .content-right--sticky {
    position: static;
  }
}

@media (max-width: 720px) {
  .panel {
    padding: 20px;
  }
}

.placeholder-media {
  margin: 18px 0;
  display: block;
}

.placeholder-media img {
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(48,47,123,0.08), rgba(152,39,137,0.08));
  border: 1px solid rgba(48,47,123,0.12);
  object-fit: cover;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.placeholder-card img {
  height: 100%;
  min-height: 220px;
}

.section-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.section-col {
  flex: 1 1 320px;
  min-width: 280px;
  padding-top: 26px;
}

.media-col {
  flex: 0 1 50%;
  max-width: 50%;
}

.media-col .placeholder-media {
  margin: 0;
}

.step-title {
  margin: 0 0 6px;
}

.enquiry-summary {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(48,47,123,.03);
  border: 1px solid rgba(48,47,123,.12);
  overflow: auto;
}

.modal-actions-stack {
  margin-top: 14px;
}

.section-inner > .end-of-content-row{
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 1.25em;
}

.footer .end-of-content {
  display: none;
}

.end-of-content {
    height: 90px;
    margin: 0 auto;
  pointer-events: none;
  display: flex;
  align-items:flex-start;
  justify-content: center;
  width: 20%;
  max-width: 400px;
}

.section-inner > .end-of-content {
  grid-column: 1 / -1;
  justify-self: center;
}

.end-of-content::before,
.end-of-content::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(48, 47, 123, 0.15);
  margin: 8px 12px;
}

.end-of-content-icon {
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 4px;
  background-image: url("../images/sapphire-education-sign-sm.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .9;
  pointer-events: none;
  flex-shrink: 0;
}

.hero-preroll {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 0s linear 700ms;
}

body.hero-preroll-active .hero-preroll {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms ease, visibility 0s linear 0s;
}

body.preroll-locked {
  background: #fff;
}

body.preroll-locked .topbar,
body.preroll-locked .nav-fab,
body.preroll-locked .nav-drawer {
  visibility: hidden;
  opacity: 0;
}

body.preroll-locked .shell,
body.preroll-locked .hero,
body.preroll-locked .hero-content,
body.preroll-locked .hero-video,
body.preroll-locked .hero-preroll,
body.preroll-locked .concierge-panel,
body.preroll-locked .concierge-hero-dock {
  visibility: hidden;
  opacity: 0;
}

body.hero-preroll-active .hero-content {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body.hero-preroll-active.hero-preroll-fade .hero-content {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.hero-preroll-active .hero-video {
  opacity: 0;
  visibility: hidden;
}

body.hero-preroll-active.hero-preroll-fade .hero-video {
  opacity: 1;
  visibility: visible;
}

body.hero-preroll-active.hero-preroll-fade .hero-preroll {
  opacity: 0;
  transition: opacity 700ms ease;
}

body.hero-preroll-active .topbar {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

body.hero-preroll-active.hero-preroll-fade .topbar {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

body.hero-preroll-active .section-nav {
  display: none;
}

body.hero-preroll-active .concierge-panel {
  display: none;
}

.hero-video {
  transition: opacity 1100ms ease;
}

.hero-actions {
  display:none; /* flex*/
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 10;
  width: 100%;
  max-width: 700px;
  margin: 0 !important;
}

.hero .helper {
  font-size: 32px;
  font-weight: 900;
  color: rgb(191, 158, 79);
  display: block;
  width: 100vw;
  background: rgba(255, 255, 255, 0.55);
  padding: 12px 18px;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  z-index: 10;
}

.hero-content {
  transition: opacity 1100ms ease;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
  box-sizing: border-box;
  padding: 0 0 60px;
  overflow: hidden;
}

.hero-content .hero-title {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  pointer-events: none;
}

.hero-sparks {
  transition: opacity 1100ms ease;
}

.hero-preroll-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preroll-logo-image {
  width: 280px;
  height: auto;
  max-width: 60vw;
  opacity: 0;
  transform: scale(0.7);
  filter: drop-shadow(0 0 0px transparent);
}

body.hero-preroll-active .preroll-logo-image {
  animation:
    logoScale 3100ms linear forwards,
    logoGlow 3100ms cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes logoScale {
  0% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(1.3);
  }
}

@keyframes logoGlow {
  0% {
    opacity: 0;
    filter: drop-shadow(0 0 0px transparent);
  }
  15% {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(191, 158, 79, 0.4));
  }
  60% {
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(191, 158, 79, 0.5)) 
            drop-shadow(0 0 40px rgba(152, 39, 137, 0.3));
  }
  85% {
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(191, 158, 79, 0.45)) 
            drop-shadow(0 0 35px rgba(152, 39, 137, 0.25));
  }
  100% {
    opacity: 0;
    filter: drop-shadow(0 0 15px rgba(191, 158, 79, 0.3));
  }
}

@media (max-width: 800px) {
  .preroll-logo-image {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .preroll-logo-image {
    width: 160px;
  }
}

.hero-active .nav-fab {
  display: none;
}

.nav-fab {
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px 15px;
    z-index: 90;
    display: flex;
    gap: 10px;
    align-items: center;
    background-color: #ffffff;
    border: 1px rgba(0, 0, 0, 0.25) solid;
    border-bottom-left-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.nav-fab-logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
 /* background: rgba(255,255,255,.86);*/
  border: 1px solid rgba(48,47,123,.14);
  /*backdrop-filter: blur(14px);*/
}

.nav-fab-logo img {
  width: 22px;
  height: 22px;
  display: block;
}

.nav-fab-logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(48,47,123,1), rgba(152,39,137,1) 62%, rgba(241,193,124,1));
  box-shadow: 0 0 0 6px rgba(48,47,123,.06);
}

.nav-fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 25px;
  border: 1px solid rgba(48,47,123,.14);
  background: rgb(191, 158, 79);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
 /* backdrop-filter: blur(14px);*/
  color:#ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.nav-fab-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}

.nav-fab-icon::before,
.nav-fab-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgb(255,255,255);
}

.nav-fab-icon::before {
  top: 0;
  box-shadow: 0 5px 0 #ffffff, 0 10px 0 #ffffff; /*0 5px 0 rgba(48,47,123,1), 0 10px 0 rgba(48,47,123,1);*/
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
}

body.nav-open .nav-drawer {
  display: block;
}

.nav-drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48,47,123,.28);
}

.nav-drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 92vw);
  background: rgba(255,255,255,.98);
  border-left: 1px solid rgba(48,47,123,.14);
  box-shadow: 0 24px 80px rgba(48,47,123,.18);
  padding: 16px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-drawer-links {
  display: grid;
  gap: 10px;
}

.nav-drawer-links a {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(48,47,123,.12);
  background: rgba(48,47,123,.03);
  text-decoration: none;
  color: rgba(26,24,61,.86);
  font-weight: 800;
}

.nav-drawer-ctas {
  display: grid;
  gap: 10px;
  align-content: end;
}

/* Concierge Hero Dock */
.concierge-hero-dock {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  width: 90%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.9);
  /*backdrop-filter: blur(10px);*/
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.concierge-selectors {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.selector-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.selector-group label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 2px;
  font-weight: 700;
  text-align: left;
  padding-left: 0.4vw;
}

.selector-group select {
  background: transparent;
  border: none;
  padding: 4px 0;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  width: 100%;
}

/* Concierge Panel (Sidebar) */
.concierge-panel {
  position: fixed;
  right: 5%;
  bottom: 4.5%;
  min-width: 25px;
  width: 25%;
  z-index: 100;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, width 0.3s ease, height 0.3s ease, visibility 0.3s ease, right 0.3s ease, bottom 0.3s ease;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
}

body:not(.hero-active) .concierge-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.concierge-panel[data-collapsed="true"] {
  width: auto;
  height: auto;
  border-radius: 15px;
  right: 22px;
  bottom: 0;
  transform: translateX(0);
}

.concierge-panel[data-collapsed="true"] .concierge-inner {
  display: none;
}

.concierge-open-toggle {
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px 16px;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transform: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.58em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 20px;
}

.concierge-panel[data-collapsed="true"] .concierge-open-toggle {
  display: flex;
}

.concierge-open-toggle .status-dot {
  width: 9px;
  height: 10px;
  background: url("../images/menu-diamond.png") no-repeat center/contain;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  margin-right: 0;
}

.concierge-inner {
  display: flex;
  flex-direction: column;
}

.concierge-header {
  padding: 16px;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.concierge-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 0 10px #4caf50;
}

.concierge-selections-summary {
  display: flex;
  gap: 4px;
  font-size: 10px;
  opacity: 0.8;
  margin-top: 2px;
}

.summary-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
}

.concierge-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.concierge-body {
  padding: 20px;
}

.concierge-section-info {
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--muted);
}

.concierge-section-info h4 {
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-body-sm);
}

@media (max-width: 800px) {
  .concierge-hero-dock {
    border-radius: 20px;
    top: auto;
    bottom: 100px;
  }
  .concierge-selectors {
    flex-direction: column;
    gap: 12px;
  }
  .concierge-btn {
    width: 100%;
  }
  .concierge-panel {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
  }
}

