/* Set base font size to 80% of default (16px * 0.8 = 12.8px) */
html {
  font-size: 12.8px;
}

body .normal-bg {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1;
}

.section {
  margin: 0;
  padding: 0;
}

.contact-link {
  text-align: center;
  width: 100%;
  margin: 40px 0 16px 0; /* 80% of 50px and 20px */
  font-family: "Cormorant Garamond", "Cormorant Garamond Placeholder", serif;
}

.contact-link p {
  margin: 0;
  font-size: 32px; /* 80% of 40px */
  color: rgb(0, 0, 0);
  text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
}

.contact-link a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s ease;
  font-size: 32px; /* 80% of 40px */
}

.contact-link a:hover {
  opacity: 0.3;
}

.header_text {
    font-family: "Cormorant Garamond", "Cormorant Garamond Placeholder", serif;
    font-size: 96px; /* 80% of 120px */
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0em;
    line-height: 1em;
    color: rgb(0, 0, 0);
    text-align: left;
    padding: 12px; /* 80% of 15px */
    margin: 0;
    width: 100%;
    max-width: 560px; /* 80% of 700px */
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.intro-section {
    text-align: center;
    padding: 40px; /* 80% of 50px */
    border-radius: 8px; /* 80% of 10px */
    min-height: 120px; /* 80% of 150px */
    display: block;
}

.second-intro-section .subhead3 {
    display: none;
}

.intro-section p{
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
    text-align: left;
    font-weight: 500;
}

.intro-section .headline {
   font-size: 64px; /* 80% of 80px */
   margin: 120px 0 0 0; /* 80% of 80px */
   font-style: italic;
}

.intro-section .subhead {
   font-size: 32px; /* 80% of 40px */
}

.intro-section .subhead2 {
  font-size: 24px; /* 80% of 30px */
  text-align: center;
}

.second-intro-section .supporting-line {
    margin: 120px; /* 80% of 150px */
    font-size: 24px; /* 80% of 30px */
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
    font-weight: 500;
    text-align: center;
}

.carousel-container {
    perspective: 960px; /* 80% of 1200px */
    width: min(90vw, 672px); /* 80% of 840px */
    height: calc(min(80vw, 672px) * 0.857);
    position: relative;
    margin: 10% 0 0 0;
}

.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    /* animation: rotate 30s infinite linear; */
    backface-visibility: visible;
    z-index: 1;
}

.carousel.paused {
    animation-play-state: paused;
}

.panel {
    position: absolute;
    width: calc(min(90vw, 800px) * 0.314); /* 80% of 1000px */
    height: calc(min(90vw, 800px) * 0.457);
    left: calc(min(80vw, 672px) * 0.343); /* 80% of 840px */
    top: calc(min(90vw, 800px) * 0.15);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px; /* 80% of 15px */
    box-shadow: 0 4px 20px rgba(222, 217, 217, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: transform 0.5s ease, width 0.5s ease, height 0.5s ease;
    cursor: pointer;
    border: none;
    transform-style: flat;           /* or just delete the line completely */
    isolation: isolate;
    z-index: 1;
}

.panel.active {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform-style: flat !important;
    perspective: none !important;
    background: rgba(255, 255, 255);
    overflow-y: auto;
}

.panel img.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
    opacity: 0.7;
    /* DELETE THESE TWO LINES COMPLETELY */
    /* backface-visibility: hidden; */
    /* -webkit-backface-visibility: hidden; */
}

.prompt {
    font-size: 16px;
    color: #2f2f2f;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    z-index: 999;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    backface-visibility: visible !important;
    transform: translateZ(20px) scale(1.001);   /* tiny scale forces new layer */
    will-change: transform;                     /* optional: hints GPU */
}

.panel.active .prompt {
    display: none;
}

.panel.active .image-slider {
    display: flex;
    transform: none !important;
    perspective: none !important;
    width: 100%;
    height: 100%;
}

.panel.active .slider-image {
    filter: none;
    transform: none !important;
    width: auto;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

.panel.active .slider-text {
    filter: none;
    transform: translate(-50%, 0) !important;
    top: auto;
    bottom: 16px; /* 80% of 20px */
    font-size: 19.2px; /* 80% of 24px */
    max-width: 90%;
    padding: 12px 16px; /* 80% of 15px and 20px */
}

.panel.active .close-button {
    transform: none !important;
}

.panel.active .image-scroll {
    transform: none !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.panel:not(.active) .image-slider {
    display: none;
}

.panel:not(.active) .background-image {
    display: block;
}

.panel.active .background-image {
    display: none;
}

.panel:nth-child(1) {
    transform: rotateY(0deg) translateZ(calc(min(80vw, 672px) * 0.5));
}

.panel:nth-child(2) {
    transform: rotateY(120deg) translateZ(calc(min(80vw, 672px) * 0.5));
}

.panel:nth-child(3) {
    transform: rotateY(240deg) translateZ(calc(min(80vw, 672px) * 0.5));
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: calc(min(95vw, 880px) * -0.095); /* 80% of 1100px */
    width: calc(min(95vw, 880px) * 0.952);
    height: calc(min(95vw, 880px) * 0.018);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 0 25px rgba(149, 87, 90);
    animation: sparkle 2s infinite;
    display: block;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-container::after {
    content: '';
    position: absolute;
    width: calc(min(95vw, 880px) * 0.06);
    height: calc(min(95vw, 880px) * 0.06);
    top: calc(min(95vw, 880px) * -0.155);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 0 25px rgba(149, 87, 90);
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.image-slider {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: none;
    flex-direction: column;
}

.image-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgb(0, 0, 0);
}

.image-scroll::-webkit-scrollbar {
    width: 4px;
}

.image-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.image-scroll::-webkit-scrollbar-thumb {
    background: rgba(129, 129, 129, 0.5);
    border-radius: 2px;
}

.slider-image {
    width: 100%;
    height: auto;
    display: block;
}

.slider-text {
    font-size: 14.4px; /* 80% of 18px */
    position: absolute;
    top: 16px; /* 80% of 20px */
    left: 50%;
    transform: translateX(-50%);
    color: #000000;
    font-weight: 700;
    text-align: center;
    border-radius: 4px; /* 80% of 5px */
    z-index: 2;
    white-space: pre-line;
    overflow: hidden;
    line-height: 1.4;
    opacity: 0;
    transition: color 0.3s ease;
    max-width: 90%;
    padding: 8px 16px; /* 80% of 10px and 20px */
}

.slider-text.fade-in {
    animation: fadeIn 1s ease-in forwards;
}

.slider-text.scrolled {
    color: #000000;
    background: rgba(255, 255, 255, 0.95);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.close-button {
    position: absolute;
    top: 12px; /* 80% of 15px */
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: rgb(42, 19, 67);
    border: none;
    cursor: pointer;
    font-size: 19.2px; /* 80% of 24px */
    z-index: 3;
    border-radius: 50%;
    width: 32px; /* 80% of 40px */
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.close-button:hover {
    background: rgba(255, 255, 255, 1);
    color: #3219ab;
    transform: scale(1.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.2px; /* 80% of 14px */
    color: #666;
    font-weight: bold;
    z-index: 1;
    border: none;
}

.panel-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.panel-backdrop.active {
    display: block;
}

.footer-section {
    font-family: "Space Grotesk", sans-serif;
    padding: 80px 16px 40px; /* 80% of 100px, 20px, 50px */
    width: 400px; /* 80% of 500px */
    margin: auto auto;
    border-radius: 9.6px; /* 80% of 12px */
}

.footer-section .text {
    font-weight: 300;
    letter-spacing: 0.3px;
    font-size: 17.6px; /* 80% of 22px */
    color: #7f7c7c;
    margin: 12px 4px 12px; /* 80% of 15px and 5px */
}

.footer-section input[type="text"], input[type="email"] {
    font-family: "Space Grotesk", sans-serif;
    color: #575555;
    width: 100%;
    padding: 12.8px 14.4px; /* 80% of 16px and 18px */
    border: 1px solid #ddd;
    border-radius: 6.4px; /* 80% of 8px */
    font-size: 16px; /* 80% of 20px */
    letter-spacing: 0.4px;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.footer-section input[type="text"]:focus {
    color: #575555;
    border-color: #421111;
    box-shadow: 0 0 0 3px rgba(131, 135, 141, 0.1);
    outline: none;
}

.footer-section .submit-button {
    font-family: "Space Grotesk", sans-serif;
    margin-top: 32px; /* 80% of 40px */
    padding: 12.8px 14.4px; /* 80% of 16px and 18px */
    border: none;
    background:#552525;
    color: #fff;
    font-size: 22.4px; /* 80% of 28px */
    border-radius: 6.4px; /* 80% of 8px */
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.footer-section .submit-button:hover {
    background: #714a4a;
}

.footer-section input[type="text"]::placeholder {
    color: #898484;
    font: inherit;
}

.quote {
    margin: 24px 0 0 0; /* 80% of 30px */
    font-size: 16px; /* 80% of 20px */
    color: #695f5f;
    text-align: center;
}

/* ========================================
   PANEL OVERLAY - MULTI-IMAGE LAYOUT
   ======================================== */
.panel-overlay {
  position: fixed;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; /* 80% of 30px */
  color: #535151;
  font-weight: 600;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  justify-content: center;
  align-items: center;
}

.panel-overlay.active {
  display: flex;
}

.overlay-content {
  position: relative;
  width: 90%;
  max-width: 1280px; /* 80% of 1600px */
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 16px; /* 80% of 20px */
}

.overlay-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.overlay-prompt {
  font-size: 1.44rem; /* 80% of 1.8rem */
  font-weight: 500;
  margin-bottom: 24px; /* 80% of 30px */
  color: #fff;
  text-align: center;
}

/* Horizontal layout of all 3 images */
.overlay-slider {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px; /* 80% of 50px */
  flex-wrap: nowrap;
  overflow: visible;
  width: 100%;
}

.overlay-item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 32%;
}

/* Proper proportional sizing for overlay images */
.overlay-item img.overlay-bg {
  display: block;
  width: auto;
  height: auto;
  max-height: 80vh;
  max-width: 28vw;
  object-fit: contain;
  border-radius: 9.6px; /* 80% of 12px */
}

.overlay-item:nth-child(1) img.overlay-bg {
  transform: scale(1);
}
.overlay-item:nth-child(2) img.overlay-bg {
  transform: scale(1);
}

/* TEXT BELOW IMAGE - NOT OVERLAY */
.overlay-item .overlay-text {
  position: relative;
  font-size: 18.4px; /* 80% of 23px */
  background: transparent;
  padding: 12px 8px 0; /* 80% of 15px and 10px */
  text-align: center;
  width: 280px; /* 80% of 350px */
  margin-top: 8px; /* 80% of 10px */
  color:#000000;
}

.overlay-panel-description{
  margin: 0;
}

.overlay-close {
  position: absolute;
  top: 16px; /* 80% of 20px */
  right: 24px; /* 80% of 30px */
  font-size: 2.4rem; /* 80% of 3rem */
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.overlay-close:hover {
  opacity: 0.7;
}

/* Optional scrollbar styling */
.overlay-content::-webkit-scrollbar {
  width: 6.4px; /* 80% of 8px */
}

.overlay-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.overlay-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.image-hotspot {
  position: absolute;
  display: block;
  text-decoration: none;
  z-index: 10;
}

.panel.active .image-slider {
  display: block !important;
  position: relative;
}

.header-logo {
  position: fixed;
  top: 12px; /* 80% of 15px */
  left: 12px;
  height: 160px; /* 80% of 200px */
  width: auto;
  z-index: 1000;
  object-fit: contain;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

/* ========================================
   FAQ SECTION – COLLAPSIBLE
   ======================================== */
.faq-section {
  padding: 0px 16px; /* 80% of 20px */
  width: 100%;
  max-width: 720px; /* 80% of 900px */
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
}

.faq-title {
  margin: 80px auto; /* 80% of 100px */
  font-size: 32px; /* 80% of 40px */
  font-style: italic;
  font-weight: 500;
  color: rgb(0, 0, 0);
  margin-bottom: 24px; /* 80% of 30px */
  text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3)
}

/* Question button */
.faq-question {
  width: 100%;
  padding: 17.6px 0; /* 80% of 22px */
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22.4px; /* 80% of 28px */
  font-weight: 500;
  color: rgba(78, 54, 58);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(78, 54, 58, 0.15);
}

.faq-question:hover {
  color: rgb(69, 20, 23);
}

.faq-question span {
  padding-right: 16px; /* 80% of 20px */
  line-height: 1.35;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.4px; /* 80% of 18px */
  line-height: 1.7;
  color: #575555;
}

.faq-answer p {
  margin: 0;
  padding: 0 0 24px 0; /* 80% of 30px */
}

/* Open state */
.faq-item.active .faq-answer {
  max-height: 640px; /* 80% of 800px */
  padding: 12px 0 28px 0; /* 80% of 15px and 35px */
}

.faq-item {
  margin-bottom: 16px; /* 80% of 20px */
  border-bottom: 1px solid rgba(78, 54, 58, 0.2);
}

.back-link {
  text-align: center;
  font-style: italic;
  width: 100%;
  margin: 40px 0 120px 0; /* 80% of 50px and 150px */
  font-family: "Cormorant Garamond", "Cormorant Garamond Placeholder", serif;
}

.back-link p {
  margin: 0;
  font-size: 24px; /* 80% of 30px */
  color: rgb(0, 0, 0);
  text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
}

.back-link a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s ease;
  font-size: 24px; /* 80% of 30px */
}

.back-link a:hover {
  opacity: 0.3;
}

.faq-tab {
  text-align: center;
  font-style: italic;
  width: 100%;
  margin: 40px 0 120px 0; /* 80% of 50px and 150px */
  font-family: "Cormorant Garamond", "Cormorant Garamond Placeholder", serif;
}

.faq-tab p {
  margin: 0;
  font-size: 24px; /* 80% of 30px */
  color: rgb(0, 0, 0);
  text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
}

.faq-tab a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s ease;
  font-size: 24px; /* 80% of 30px */
}

.faq-tab a:hover {
  opacity: 0.3;
}


/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }
  .header_text{
    font-size: 40px;
    padding: 10px;
    max-width: 100%;
  }

  .intro-section {
    padding: 60px 0 40px 0 !important; /* Remove side padding from parent */
    margin: 0 auto 0 0;
  }

  .second-intro-section .subhead3 {
    color: rgb(0, 0, 0);
    padding: 30px 50px;
    text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
    text-align: left;
    font-weight: 500;
    display: block !important;
    font-size: 20px;

  }

  .intro-section .headline {
    display: none !important;
  }

  .intro-section .subhead {
    display: none !important;
  }

  .intro-section .subhead2 {
    font-size: 19px !important;
    text-align: center !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 50px 0 0 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }


  .second-intro-section .supporting-line{
    /* font-size: 20px;
    margin: 10% auto 20px;
    padding: 30px 20px;
    text-align: left; */
    display: none;
  }

  .carousel-container {
    width: 85vw;
    height: calc(85vw * 0.857);
    margin: 0 auto 0;
    perspective: 1000px;
  }

  .panel {
    width: calc(85vw * 0.45);
    height: calc(85vw * 0.65);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .panel-overlay {
    font-size: 15px;
  }

  .prompt {
    font-size: 30px;
    padding: 10px;
  }

  .panel.active {
    width: 100vw !important;
    height: 100vh !important;
    transform: translate(-50%, -50%) !important;
    transform-style: flat !important;
    perspective: none !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
  }

  .panel.active .image-slider {
    display: flex !important;
  }

  .panel.active .slider-image {
    max-height: 70vh;
    width: 100%;
    object-fit: contain;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    display: block !important;
  }

  .panel.active .slider-text {
    font-size: 16px;
    bottom: 10px;
  }

  .panel:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(calc(85vw * 0.35));
  }

  .panel:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(120deg) translateZ(calc(85vw * 0.35));
  }

  .panel:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(240deg) translateZ(calc(85vw * 0.35));
  }

  .carousel-container::before {
    top: calc(85vw * -0.095);
    width: calc(85vw * 0.952);
    height: calc(85vw * 0.018);
  }

  .carousel-container::after {
    width: calc(85vw * 0.06);
    height: calc(85vw * 0.06);
    top: calc(85vw * -0.155);
  }

  /* MOBILE OVERLAY - VERTICAL LAYOUT */
  .overlay-content {
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 15px;
  }

  .overlay-prompt {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .overlay-panel-description {
    margin: 0;
  }

  .overlay-slider {
    flex-direction: column !important;
    gap: 30px;
    align-items: center;
  }

  .overlay-item {
    max-width: 100% !important;
    width: 100%;
  }

  .overlay-item:nth-child(1) img.overlay-bg,
  .overlay-item:nth-child(2) img.overlay-bg {
    transform: none !important;
    max-width: 120vw !important;
    max-height: 80vh !important;
  }

  .overlay-item .overlay-text {
    font-size: 20px;
    padding: 15px 10px;
    white-space: normal; /* allow wrapping */
    word-wrap: break-word; /* break long words if needed */
    overflow-wrap: anywhere; /* force wrap on mobile */
    text-align: center;
    max-width: 90vw;
    margin: 0 auto;
  }

  .overlay-close {
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
  }

  .overlay-body {
    overflow-y: visible;
  }

  .footer-section {
    width: 83%;
    max-width: 320px;
    padding: 20px 30px;
    margin: auto auto;
  }

  .footer-section .text {
    font-size: 15px;
  }

  .footer-section input[type="text"], input[type="email"] {
    font-size: 14px;
    padding: 10px 12px;
  }

  .footer-section .submit-button {
    font-size: 18px;
    padding: 10px 12px;
    margin-top: 25px;
  }

  .contact-link {
    margin: 20px 0 20px;
  }

  .contact-link p {
    font-size: 20px;
  }

  .contact-link a {
    font-size: 20px;
    word-break: break-word;
  }

  .slider-text {
    font-size: 14px;
    left: 50%;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
  }
  
  .slider-text.scrolled {
    background: rgba(255, 255, 255, 0.95);
  }

  .quote {
    margin: 30px 0 0 0;
    font-size: 11px;
    color: #695f5f;
    text-align: center;
  }
  .overlay-item .image-hotspot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: hidden !important;
  }

  .overlay-item img.overlay-bg {
    width: 100% !important;
    max-width: 120vw !important;
    height: auto !important;
    object-fit: contain;
  }
  .overlay-item .image-hotspot-container {
    display: block;
    width: 100%;
    text-align: center;
  }

  .overlay-item img.overlay-bg {
    width: 100% !important;
    max-width: 90vw !important;
    height: auto !important;
    object-fit: contain;
    display: inline-block;
  }

  /* Ensure hotspots scale correctly */
  .image-hotspot {
    min-width: 44px !important;
    min-height: 44px !important;
    touch-action: manipulation;
  }

  .header-logo {
    height: 60px;
    top: 10px;
    left: 10px;
  }

  .faq-tab {
    margin: 20px 0 60px;
  }

  .faq-tab p {
    font-size: 15px;
  }

  .faq-tab a {
    font-size: 15px;
    word-break: break-word;
  }

  .back-link {
    margin: 20px 0 20px;
  }

  .back-link p {
    font-size: 15px;
  }

  .back-link a {
    font-size: 15px;
    word-break: break-word;
  }

  .prompt, .slider-text {
      font-size: 4vw; /* scales text dynamically */
      line-height: 1.3em;
      padding: 0 5vw;
    }
  .back-link {
    text-align: center;
    margin: 60px auto 60px auto;
    font-size: 30px;
    font-style: italic;
  }
}

@media screen and (max-width: 400px) {
  body {
    overflow-x: hidden !important;
  }
  .header_text {
    font-size: 40px;
  }
  .second-intro-section .subhead3 {
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
    padding: 50px 30px;
    text-align: left;
    font-weight: 500;
    display: block !important;
    font-size: 20px;
    text-align: left;
  }
  .intro-section {
    padding: 60px 0 40px 0 !important;
  }

  .intro-section .headline {
    display: none !important;
  }

  .intro-section .subhead {
    display: none !important;
  }
s

  .intro-section .subhead2 {
    font-size: 20px !important;
    text-align: center !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 50px 0 0 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  .second-intro-section .supporting-line {
    /* font-size: 20px; */
    display: none;
  }

  .carousel-container {
    width: 90vw;
    height: calc(90vw * 0.857);
    margin: 0 auto 0;
    perspective: 800px;
  }

  .panel {
    width: calc(90vw * 0.5);
    height: calc(90vw * 0.72);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .prompt {
    font-size: 14px;
    padding: 8px;
  }

  .panel.active {
    width: 100vw !important;
    height: 100vh !important;
    transform: translate(-50%, -50%) !important;
    transform-style: flat;
  }

  .panel.active .image-slider {
    display: flex !important;
  }

  .panel.active .slider-image {
    max-height: 65vh;
    width: 100%;
    object-fit: contain;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    display: block !important;
  }

  .panel.active .slider-text {
    font-size: 14px;
    bottom: 5px;
  }

  .panel:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(calc(90vw * 0.38));
  }

  .panel:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(120deg) translateZ(calc(90vw * 0.38));
  }

  .panel:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(240deg) translateZ(calc(90vw * 0.38));
  }

  .contact-link p,
  .contact-link a{
    font-size: 20px;
  }

  .faq-tab, .back-link {
    font-size: 15px;
  }


  .footer-section {
    max-width: 300px;
    padding: 15px 25px;
  }

  .footer-section .text {
    font-size: 13px;
  }

  .footer-section input[type="text"], input[type="email"] {
    font-size: 13px;
    padding: 9px 11px;
  }

  .footer-section .submit-button {
    font-size: 16px;
    padding: 9px 11px;
  }

  .close-button {
    top: 10px;
    right: 10px;
    font-size: 20px;
    width: 30px;
    height: 30px;
  }

  /* MOBILE OVERLAY - VERTICAL LAYOUT */
  .overlay-content {
    width: 95%;
    padding: 10px;
  }
  .overlay-body {
    overflow-y: visible;
  }

  .overlay-prompt {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .overlay-panel-description {
    margin: 0;
  }

  .overlay-slider {
    flex-direction: column !important;
    gap: 25px;
  }

  .overlay-item:nth-child(1) img.overlay-bg,
  .overlay-item:nth-child(2) img.overlay-bg {
    max-height: 90vh !important;
  }

  .overlay-item .overlay-text {
    font-size: 18px;
  }

  .overlay-close {
    font-size: 2rem;
  }
  
  .overlay-item img.overlay-bg {
    max-width: 94vw !important;   /* a little more breathing room */
  }

  .overlay-item .overlay-text {
    font-size: 18px;
    padding: 12px 8px;
  }

  .image-hotspot {
    min-width: 40px !important;
    min-height: 40px !important;
  }
  .image-hotspot-container {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
    overflow-x: hidden !important;
  }

  .image-hotspot-container img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
  }

  .header-logo {
    height: 90px;
    top: 10px;
    left: 0px;
  }
  

}

/* ========================================
   ELEGANT SECTION DIVIDER
   ======================================== */
.section-divider {
  width: 100%;
  max-width: 900px;
  margin: 100px auto;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.divider-line {
  display: inline-block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, 
    transparent 0%, 
    rgba(78, 54, 58, 0.4) 30%, 
    rgba(78, 54, 58, 0.4) 70%, 
    transparent 100%
  );
  position: relative;
}

.divider-line::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: rgba(149, 87, 90);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(149, 87, 90);
  animation: sparkle 2s infinite;
}

 /* .footer-section,
  .footer-section::before,
  .footer-section::after,
  .section-divider,
  .divider-line,
  .divider-line::before,
  .divider-line::after,
  .faq-item::after {
    display: none !important;
    height: 0 !important;
    background: transparent !important;
    border: none !important;
  } */

/* Mobile */
@media screen and (max-width: 768px) {
  .section-divider {
    margin: 80px auto;
  }
  .divider-line::before {
    width: 6px;
    height: 6px;
    top: -3px;
  }
}


/* ========================================
   FAQ SECTION – MOBILE-PERFECT
   ======================================== */
.faq-section {
  padding: 0px 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
}

.faq-title {
  margin: 100px auto;
  font-size: 40px;
  font-style: italic;
  font-weight: 500;
  color: rgb(0, 0, 0);
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3)
}

/* Question button */
.faq-question {
  width: 100%;
  padding: 22px 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: rgba(78, 54, 58);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(78, 54, 58, 0.15);
}

.faq-question:hover {
  color: rgb(69, 20, 23);
}

.faq-question span {
  padding-right: 20px;
  line-height: 1.35;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #575555;
}

.faq-answer p {
  margin: 0;
  padding: 0 0 30px 0;
}

/* Open state */
.faq-item.active .faq-answer {
  max-height: 800px;
  padding: 15px 0 35px 0;
}




@media screen and (max-width: 768px) {
  .faq-section { 
    padding: 80px 20px 60px !important; 
    box-sizing: border-box !important;
  }
  .faq-title {
    font-size: 30px;
    margin-top: 0;
  }
  .faq-item {
    padding: 0 20px !important;  /* Add padding to item instead */
    position: relative !important;
    box-sizing: border-box !important;
    border: none !important;
  }
  .faq-item::after {
    content: '';
    position: absolute;
    left: 0;  /* Start from item edge */
    right: 0;  /* End at item edge */
    bottom: 0;
    height: 1px;
    background: rgba(78, 54, 58, 0.25);
  }
  .faq-question { 
    font-size: 20px; 
    padding: 18px 40px 18px 0 !important;  /* No left padding */
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    position: relative !important;
    border-bottom: none !important;
  }
  .faq-answer {
    font-size: 16px; 
    max-height: 0 !important;
    padding: 0 !important;  /* No padding when closed */
    overflow: hidden !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    transition: max-height 0.3s ease, padding 0.3s ease !important;
  }
  .faq-item.active .faq-answer {
    max-height: 1000px !important;
    padding: 12px 0 32px 0 !important;  /* No horizontal padding */
  }
  .faq-icon { 
    width: 15px !important; 
    height: 15px !important;
    position: absolute !important;
    right: 0 !important;  /* Align to content edge */
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

/* Tiny phones */
@media screen and (max-width: 480px) {
  .faq-title {
    font-size: 30px;
  }
  .faq-item { 
    padding: 0 15px !important;  /* Add padding to item instead */
    position: relative !important;
    box-sizing: border-box !important;
    border: none !important;
  }
  .faq-item::after {
    content: '';
    position: absolute;
    left: 0;  /* Start from item edge */
    right: 0;  /* End at item edge */
    bottom: 0;
    height: 1px;
    background: rgba(78, 54, 58, 0.25);
  }
  .faq-question {
    font-size: 20px; 
    padding: 18px 0px 18px 0 !important;  /* No left padding */
    border-bottom: none !important;
  }
  .faq-answer {
    font-size: 16px;
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .faq-item.active .faq-answer {
    max-height: 1000px !important;
    padding: 12px 0 32px 0 !important;  /* No horizontal padding */
  }
  .faq-icon { 
    width: 15px !important; 
    height: 15px !important;
    right: 0 !important;  /* Align to content edge */
  }
  .prompt, .slider-text {
    font-size: 5vw;
    line-height: 1.4em;
  }
  .back-link {
    text-align: center;
    margin: 0 auto 0 auto;
    font-size: 15px;
    font-style: italic;
  }

}

@media screen and (min-width: 401px) and (max-width: 768px) {
  .intro-section .subhead2 {
    font-size: 20px !important;
    text-align: center !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 50px 0 0 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .second-intro-section .subhead3 {
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px 2px rgba(62, 48, 48, 0.3);
    padding: 50px 30px;
    text-align: left;
    font-weight: 500;
    display: block !important;
    font-size: 20px;
  }
}

.panel:not(.active) .prompt {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}