/* Palette: forest #183B35, sand #F4EBDD, terracotta #C96B4B, gold #D4A84F, charcoal #252525, off-white #FFFDF8 */
:root {
  --forest: #183b35;
  --sand: #f4ebdd;
  --sand2: #eadfcb;
  --terra: #c96b4b;
  --gold: #d4a84f;
  --ink: #252525;
  --card: #fffdf8;
  --sage: #e1ebe4;
  --pgold: #f6ebcb;
  --bs-body-font-family: Manrope, Tahoma, Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--sand);
  --bs-link-color: #a5502f;
  --bs-link-hover-color: #8a4024;
}
body {
  font-family: Manrope, Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  background: var(--sand);
  color: var(--ink);
}
h1,
h2,
h3,
h4,
h5,
.h5,
.navbar-brand {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--forest);
  letter-spacing: 0.2px;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}
h3 {
  font-size: 1.35rem;
}
a {
  color: #a5502f;
}
:focus-visible {
  outline: 3px solid var(--gold) !important;
  outline-offset: 2px;
}
.site-nav {
  background: var(--forest);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
  color: var(--card) !important;
  font-size: 1.5rem;
}
.navbar-brand small {
  display: block;
  font-family: Manrope, Tahoma, Arial, sans-serif;
  font-size: 0.68rem;
  color: #d9e3dc;
}
.nav-link {
  color: var(--card) !important;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  font-size: 0.98rem;
}
.nav-link:hover,
.nav-link.active {
  border-bottom-color: var(--gold);
}
.btn {
  font-family: Manrope, Tahoma, Arial, sans-serif;
}
.btn-sun {
  background: var(--terra);
  color: #fff;
  font-weight: 800;
  font-size: 1.17rem;
  border: 0;
  border-radius: 10px;
}
.btn-sun:hover,
.btn-sun:focus {
  background: #b65c3d;
  color: #fff;
}
.btn-outline {
  border: 2px solid var(--forest);
  color: var(--forest);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.17rem;
}
.btn-outline:hover {
  background: var(--forest);
  color: #fff;
}
.btn-outline-plum {
  border: 2px solid var(--forest);
  color: var(--forest);
  border-radius: 10px;
  font-weight: 800;
}
.btn-outline-plum:hover {
  background: var(--forest);
  color: #fff;
}
.hero {
  padding: 56px 0 76px;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand2) 100%);
  border-bottom: 4px solid var(--gold);
}
.hero-img {
  max-width: 100%;
  height: auto;
}
.hero .lead {
  max-width: 52ch;
}
.stats {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--card);
  border-radius: 14px;
  padding: 18px 10px;
  box-shadow: 0 6px 20px rgba(24, 59, 53, 0.14);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 4px solid var(--gold);
}
.stat i {
  font-size: 1.7rem;
  color: var(--terra);
}
.stat strong {
  color: var(--forest);
  font-size: 1.2rem;
  font-weight: 800;
}
.stat span {
  font-size: 0.88rem;
}
.sec {
  padding: 68px 0;
}
.soft {
  background: var(--sand2);
}
.feat {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(24, 59, 53, 0.08);
}
.c1 {
  background: var(--card);
}
.c2 {
  background: var(--pgold);
}
.c3 {
  background: var(--sage);
}
.c4 {
  background: #f8e4d9;
}
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.svc {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(24, 59, 53, 0.12);
}
.mintc {
  background: var(--sage);
}
.peachc {
  background: #f8e4d9;
}
.svc h3 {
  font-size: 1.6rem;
}
.svc h3 i {
  color: var(--terra);
}
.portrait {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  border: 6px solid var(--card);
  box-shadow: 0 6px 20px rgba(24, 59, 53, 0.2);
}
.timeline {
  max-width: 820px;
  margin: 0 auto;
  border-left: 4px dotted var(--gold);
  padding-left: 26px;
}
.tl-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.tl-item .ico {
  margin: 0;
}
.pill {
  background: var(--card);
  border: 2px solid var(--sand2);
  border-radius: 16px;
  padding: 18px 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pill i {
  font-size: 1.8rem;
  color: var(--terra);
}
.pill span {
  font-weight: 800;
  color: var(--forest);
}
.accordion-item {
  border: 0;
  margin-bottom: 10px;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(24, 59, 53, 0.1);
  background: var(--card);
}
.accordion-button {
  font-weight: 800;
  color: var(--forest);
  background: var(--card);
}
.accordion-button:not(.collapsed) {
  background: var(--pgold);
  color: var(--forest);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(212, 168, 79, 0.5);
}
.cta-band {
  background: var(--forest);
  padding: 60px 0;
  color: #f4ebdd;
}
.cta-band h2 {
  color: var(--card);
}
.cta-band .lead {
  color: #e7eee9;
}
.enq,
.info {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(24, 59, 53, 0.12);
  background: var(--card);
}
.info {
  background: var(--pgold);
}
.info .ico {
  margin-bottom: 0;
}
.form-control,
.form-select {
  border-radius: 10px;
  border-color: #cdbfa7;
  background-color: #fff;
}
.form-label {
  font-weight: 800;
  color: var(--forest);
}
.site-footer {
  background: var(--forest);
  padding: 48px 0 24px;
  color: #e7eee9;
}
.site-footer a {
  color: var(--gold);
  font-weight: 700;
}
.site-footer h2 {
  color: var(--card);
}
/* sliders */
.hero .carousel-item {
  padding: 8px 0 46px;
}
.carousel-indicators {
  bottom: -6px;
}
.carousel-indicators [data-bs-target] {
  background-color: var(--forest);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  margin: 0 5px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 2rem;
  height: 2rem;
}
.carousel-control-prev,
.carousel-control-next {
  width: 6%;
}
.snap-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.snap {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
  padding: 6px 2px 14px;
}
.snap::-webkit-scrollbar {
  display: none;
}
.snap-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .snap-item {
    flex-basis: calc(50% - 10px);
  }
}
@media (min-width: 992px) {
  .snap-item {
    flex-basis: calc(33.333% - 14px);
  }
}
.snap-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--terra);
  color: #fff;
  font-size: 1.2rem;
}
.snap-btn:hover {
  background: #b65c3d;
}
@media (max-width: 575px) {
  .snap-btn {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
}
/* profile photo slot */
.photo-slot {
  display: inline-block;
  background: var(--card);
  padding: 14px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(24, 59, 53, 0.2);
  max-width: 340px;
  border: 3px solid var(--gold);
}
.photo-slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.photo-slot p {
  margin-top: 8px;
  color: #5c5c5c;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* v5: alternating white / sand sections, musical background, blob photos */
body {
  background: #fffdf8;
}
.sec {
  background: #fffdf8;
}
.soft {
  background:
    url(../images/music-pattern.svg) 0 0/360px,
    var(--sand);
}
.hero {
  background:
    radial-gradient(
      circle at 72% 45%,
      rgba(255, 253, 248, 0.75),
      rgba(255, 253, 248, 0) 55%
    ),
    url(../images/music-pattern.svg) 0 0/360px,
    var(--sand);
  border-bottom: 0;
}
.cta-band {
  background:
    url(../images/music-pattern-light.svg) 0 0/360px,
    var(--forest);
}
.feat,
.feat.c1,
.feat.c2,
.feat.c3,
.feat.c4 {
  background: #fff;
  border: 1px solid rgba(24, 59, 53, 0.08);
}
.c2 .ico {
  background: var(--terra);
  color: #fff;
}
.c3 .ico {
  background: var(--gold);
  color: var(--forest);
}
.c4 .ico {
  background: #2f6b5f;
  color: #fff;
}
.mintc,
.peachc {
  background: #fff;
}
.svc .card-img-top {
  background: var(--sand);
  padding: 8px;
}
.blob-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.bl {
  position: absolute;
  display: block;
}
.b1 {
  width: 70%;
  height: 70%;
  right: 0;
  top: 0;
  background: var(--terra);
  opacity: 0.9;
  border-radius: 52% 48% 40% 60%/55% 45% 55% 45%;
}
.b2 {
  width: 42%;
  height: 42%;
  left: 0;
  bottom: 2%;
  background: var(--gold);
  border-radius: 60% 40% 50% 50%/50% 60% 40% 50%;
}
.blob-photo {
  position: absolute;
  inset: 7% 7% 7% 7%;
  overflow: hidden;
  border-radius: 58% 42% 52% 48%/48% 56% 44% 52%;
  background: var(--sand2);
  border: 6px solid #fff;
  box-shadow: 0 10px 30px rgba(24, 59, 53, 0.22);
}
.blob-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fl {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--terra);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 16px rgba(24, 59, 53, 0.2);
}
.f1 {
  top: 2%;
  left: 10%;
}
.f2 {
  bottom: 6%;
  right: 4%;
}
.f3 {
  top: 42%;
  right: -1%;
  color: var(--forest);
}
@media (max-width: 575px) {
  .blob-wrap {
    max-width: 320px;
  }
  .fl {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.checks li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}
.checks i {
  color: var(--terra);
  font-size: 1.3rem;
  line-height: 1.5;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.num {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.hero .carousel-item {
  padding: 8px 0 50px;
}
/* v6: type scale (UI/UX), masthead, social icons, quick-contact buttons */
html {
  font-size: 100%;
}
body {
  font-size: 1rem;
  line-height: 1.7;
}
@media (min-width: 992px) {
  body {
    font-size: 1.0625rem;
  }
}
h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.15;
}
h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.25;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}
h4,
h5,
.h5 {
  font-size: 1.125rem;
  line-height: 1.35;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}
small,
.small {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1rem;
}
.masthead {
  background: #fffdf8;
  border-bottom: 1px solid #e5d9c4;
  padding: 12px 0;
}
.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.brand-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-top img {
  width: 44px;
  height: 44px;
}
.brand-name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--forest);
}
.brand-slogan {
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 700;
  color: #4a4a4a;
  letter-spacing: 0.2px;
}
.mast-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mast-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  min-height: 44px;
}
.mast-mail:hover {
  color: var(--terra);
}
.mast-mail i {
  color: var(--terra);
}
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  color: #fffdf8;
  font-size: 1.15rem;
  text-decoration: none;
  transition: background 0.2s;
}
.social a:hover {
  background: var(--terra);
  color: #fff;
}
.site-footer .social a {
  background: var(--gold);
  color: var(--forest);
}
.site-footer .social a:hover {
  background: #fffdf8;
}
.site-footer .social {
  margin-top: 12px;
}
.site-nav {
  padding: 0;
}
.site-nav .container {
  min-height: 52px;
}
.menu-label {
  color: #fffdf8;
  font-weight: 800;
  font-size: 1rem;
}
.nav-link {
  font-size: 1rem;
  padding: 0.85rem 1rem !important;
}
.navbar-toggler {
  border-color: rgba(255, 253, 248, 0.6);
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    padding-bottom: 12px;
  }
  .site-nav .btn-sun {
    display: block;
    margin-top: 8px;
  }
}
@media (max-width: 575.98px) {
  .masthead .container {
    justify-content: flex-start !important;
  }
  .brand-name {
    font-size: 1.5rem;
  }
  .brand-slogan {
    font-size: 0.78rem;
  }
  .mast-mail {
    font-size: 0.875rem;
  }
}
.float-contact {
  position: fixed;
  right: 14px;
  bottom: 22px;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s;
}
.fc:hover {
  transform: scale(1.08);
  color: #fff;
}
.fc span {
  display: none;
}
.fc-wa {
  background: #02241e;
}
.fc-call {
  background: #02241e;
}
.fc-mail {
  background: #02241e;
  color: var(--forest);
}
.fc-mail:hover {
  color: var(--forest);
}
@media (max-width: 767.98px) {
  .float-contact {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 8px 16px 22px;
    max-width: 560px;
    margin: 0 auto;
  }
  .fc {
    width: auto;
    height: auto;
    border-radius: 14px;
    padding: 14px 6px;
    gap: 4px;
    box-shadow: none;
  }
  .fc span {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
  }
  .fc:hover {
    transform: none;
  }
}
/* v7: photos and videos page */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-link {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    font-size: 0.95rem;
  }
}
.gal-tabs .nav-link {
  color: var(--forest) !important;
  background: #fff;
  border: 2px solid var(--forest);
  border-radius: 10px;
  font-weight: 800;
  padding: 0.6rem 1.5rem !important;
  font-size: 1.05rem;
}
.gal-tabs .nav-link.active,
.gal-tabs .nav-link:hover {
  background: var(--forest);
  color: #fffdf8 !important;
  border-color: var(--forest);
}
.gal-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(24, 59, 53, 0.12);
  height: 100%;
}
.gal-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gal-btn img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gal-btn:hover img {
  transform: scale(1.04);
}
.gal-btn {
  overflow: hidden;
}
.zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  display: grid;
  place-items: center;
}
.gal-card figcaption {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--forest);
}
.vid-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(24, 59, 53, 0.12);
  height: 100%;
}
.vid {
  background: var(--sand2);
}
.vid-play {
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: none;
  cursor: pointer;
}
.vid-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.vid iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.vid-note {
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--forest);
}
.modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}
.modal-title {
  font-family: Manrope, Tahoma, Arial, sans-serif;
  font-weight: 800;
  color: var(--forest);
}
@media (prefers-reduced-motion: reduce) {
  .gal-btn img {
    transition: none;
  }
}
/* v9: PHP enquiry form */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.req {
  color: #b65c3d;
  font-weight: 800;
}
.cap-img {
  border-radius: 10px;
  border: 2px solid var(--gold);
  max-width: 100%;
  height: auto;
  background: var(--sand);
}
.cap-input {
  max-width: 200px;
}
.cap-math {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--forest);
}
.enq .alert,
.alert {
  border-radius: 12px;
  border: 0;
}
.enq .form-control:focus,
.enq .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(212, 168, 79, 0.35);
}
.enq .form-check-input:checked {
  background-color: var(--forest);
  border-color: var(--forest);
}
/* Sessions & Media: card titles, hover polish */
.gal-card,
.vid-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(24, 59, 53, 0.06);
  box-shadow: 0 4px 14px rgba(24, 59, 53, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.gal-card:hover,
.vid-card:hover,
.gal-card:focus-within,
.vid-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(24, 59, 53, 0.2);
}
.gal-card .card-info,
.vid-card .card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  padding: 16px 18px 18px;
  text-align: left;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
}
.card-info:before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
  margin-bottom: 4px;
}
.card-title {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--forest);
  margin: 0;
}
.gal-card .card-info p,
.vid-card .card-info p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4a4a4a;
}
.more,
.more-static {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 10px 0 0;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #a5502f;
  background: none;
  border: 0;
}
.more {
  cursor: pointer;
  min-height: 44px;
}
.more:hover {
  color: #8a4024;
}
.more i {
  transition: transform 0.2s;
}
.more:hover i {
  transform: translateX(4px);
}
.more-static {
  color: var(--forest);
}
.more-static i {
  color: var(--terra);
  font-size: 1.1rem;
}
.vid-play:hover .play {
  background: #b65c3d;
  transform: translate(-50%, -50%) scale(1.08);
}
.play {
  transition:
    transform 0.2s,
    background 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  .gal-card,
  .vid-card,
  .more i,
  .play {
    transition: none;
  }
  .gal-card:hover,
  .vid-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Responsive Video Cards
   ========================================================================== */

/* 1. Base Card Styling */
.vid-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.vid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 2. Responsive 16:9 Video Container */
.vid-card .ratio {
  position: relative;
  width: 100%;
  background-color: #000000; /* Dark background while video loads */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}

/* 3. HTML5 Video Player Stretch & Fill */
.vid-card .ratio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video fills the 16:9 box without stretching */
  border: none;
  outline: none;
}

/* 4. Card Information Content */
.vid-card .card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vid-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.vid-card .card-info p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.5;
}

/* 5. Mobile Optimization (Screens under 576px) */
@media (max-width: 575.98px) {
  .vid-card .card-info {
    padding: 1rem;
  }

  .vid-card .card-title {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Homepage popup image carousel (responsive: box is sized from the poster's own ratio)
   ========================================================================== */
.promo-modal {
  --promo-r: 0.75;
  --promo-chrome: 172px; /* space for buttons, dots and margins */
}
.promo-modal .modal-dialog {
  max-width: none;
  margin: 12px auto;
  width: min(
    540px,
    calc(100vw - 24px),
    max(260px, calc((100vh - var(--promo-chrome)) * var(--promo-r)))
  );
  width: min(
    540px,
    calc(100vw - 24px),
    max(260px, calc((100dvh - var(--promo-chrome)) * var(--promo-r)))
  );
}
.promo-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fffdf8;
  box-shadow: 0 20px 60px rgba(24, 59, 53, 0.4);
}
.modal-backdrop.show {
  --bs-backdrop-opacity: 0.65;
}

/* Close button: always visible on any poster */
.promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 44px;
  height: 44px;
  padding: 0;
  opacity: 1;
  border-radius: 50%;
  background-color: #fffdf8;
  background-size: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.promo-close:hover {
  background-color: #fff;
}
.promo-close:focus-visible {
  outline: 3px solid var(--gold, #d4a84f);
  outline-offset: 2px;
}

/* Stage: same shape as the poster; image is contained (never cropped) */
.promo-stage {
  position: relative;
  background: var(--sand, #f4ebdd);
}
.promo-modal .carousel-item {
  aspect-ratio: var(--promo-r);
  height: auto;
  background: var(--sand, #f4ebdd);
}
.promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.promo-err {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest, #183b35);
}

/* Arrows sit on the poster edges */
.promo-modal .carousel-control-prev,
.promo-modal .carousel-control-next {
  width: 52px;
  opacity: 1;
}
.promo-modal .carousel-control-prev-icon,
.promo-modal .carousel-control-next-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(24, 59, 53, 0.85);
  background-size: 50%;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Dots sit BELOW the poster so they never cover its text */
.promo-modal .carousel-indicators {
  position: static;
  margin: 0;
  padding: 4px 0 0;
  justify-content: center;
  background: #fffdf8;
}
.promo-modal .carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 11px 6px;
  border: 0;
  border-radius: 0;
  background-color: #b8ab93;
  background-clip: content-box;
  opacity: 1;
  text-indent: -999px;
}
.promo-modal .carousel-indicators [data-bs-target]::before {
  content: none;
}
.promo-modal .carousel-indicators .active {
  width: 26px;
  background-color: var(--forest, #183b35);
}
.promo-modal .carousel-indicators [data-bs-target] {
  -webkit-mask: none;
}

/* Action bar: stays on one row where there is room */
.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px 14px;
  background: #fffdf8;
}
.promo-actions .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.promo-actions .btn-sun {
  flex: 1 1 55%;
  font-size: 1.05rem;
  white-space: nowrap;
}
.promo-actions .btn-outline-plum {
  flex: 1 1 30%;
  font-size: 1rem;
}

@media (max-width: 575.98px) {
  .promo-modal {
    --promo-chrome: 150px;
  }
  .promo-modal .modal-dialog {
    margin: 10px auto;
  }
  .promo-modal .carousel-control-prev,
  .promo-modal .carousel-control-next {
    width: 44px;
  }
  .promo-modal .carousel-control-prev-icon,
  .promo-modal .carousel-control-next-icon {
    width: 34px;
    height: 34px;
  }
  .promo-actions {
    padding: 8px 12px 12px;
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  .promo-modal {
    --promo-chrome: 140px;
  }
}

/* =========================================================
   FINAL MP4 VIDEO FIX
   ========================================================= */

.vid-card .ratio.vid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff !important;
  border-radius: 0;
}

/* Actual MP4 */
.vid-card .ratio.vid video {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  background: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  border: 0 !important;
  outline: 0 !important;
}

/* Remove any pseudo overlay */
.vid-card .ratio.vid::before,
.vid-card .ratio.vid::after {
  display: none !important;
  content: none !important;
}

/* Remove accidental overlay from video container */
.vid-card .ratio.vid > video {
  z-index: 1;
}

/* Mobile */
@media (max-width: 575.98px) {
  .vid-card .ratio.vid {
    aspect-ratio: 16 / 9;
  }

  .vid-card .ratio.vid video {
    object-fit: contain !important;
  }
}

.img-responsive {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Testimonials page (images zoom viewer, video cards, framed cards)
   ========================================================================== */
.t-tabs .nav-link {
  color: #183b35 !important;
  background: #fff;
  border: 2px solid #183b35;
  border-radius: 10px;
  font-weight: 800;
  padding: 0.65rem 1.7rem !important;
  font-size: 1.05rem;
}
.t-tabs .nav-link.active,
.t-tabs .nav-link:hover {
  background: #183b35;
  color: #fffdf8 !important;
  border-color: #183b35;
}
.t-card {
  position: relative;
  height: 100%;
  background: #fffdf8;
  border: 3px solid #d4a84f;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(24, 59, 53, 0.14);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.t-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(24, 59, 53, 0.32);
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}
.t-card:hover,
.t-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(24, 59, 53, 0.24);
}
.t-quote {
  position: absolute;
  top: -18px;
  left: 20px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #c96b4b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  border: 3px solid #fffdf8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.t-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.t-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.t-shot:hover img,
.t-shot:focus-visible img {
  transform: scale(1.1);
}
.t-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #183b35;
  color: #fffdf8;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s;
}
.t-shot:hover .t-zoom {
  transform: scale(1.12);
}
.t-vid {
  border-radius: 12px;
  overflow: hidden;
  background: #183b35;
}
.t-vid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #183b35;
  display: block;
}
.t-cap {
  padding: 14px 8px 6px;
  text-align: center;
}
.t-cap h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: #183b35;
  margin: 6px 0 4px;
}
.t-cap p {
  margin: 0;
  font-size: 0.9375rem;
  color: #4a4a4a;
}
.t-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: #f6ebcb;
  color: #183b35;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  border: 1px solid #d4a84f;
}
.zm .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fffdf8;
}
.zm .modal-title {
  font-family: Manrope, Tahoma, Arial, sans-serif;
  font-weight: 800;
  color: #183b35;
}
.zm-body {
  padding: 0;
  background: #efe7d6;
  text-align: center;
  overflow: auto;
  max-height: 72vh;
  touch-action: pan-x pan-y pinch-zoom;
}
.zm-body img {
  display: inline-block;
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  vertical-align: top;
}
.zm-body.zoomed img {
  max-width: none;
  max-height: none;
  cursor: grab;
}
.zm-body.grab img {
  cursor: grabbing;
}
.btn-zoom {
  background: #fff;
  border: 2px solid #183b35;
  color: #183b35;
  font-weight: 800;
  border-radius: 10px;
  min-height: 44px;
  min-width: 44px;
}
.btn-zoom:hover {
  background: #183b35;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .t-card,
  .t-shot img,
  .t-zoom {
    transition: none;
  }
  .t-card:hover {
    transform: none;
  }
  .t-shot:hover img {
    transform: none;
  }
}

/* ==========================================================================
   Testimonials page: written testimonial cards (add to the END of custom.css)
   ========================================================================== */
.t-written {
  display: flex;
  flex-direction: column;
}
.t-body {
  flex: 1;
  padding: 24px 10px 6px;
  position: relative;
  z-index: 2;
}
.t-pull {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #183b35;
  margin: 6px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #c96b4b;
}
.t-text {
  position: relative;
  max-height: 9.5em;
  overflow: hidden;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #333;
}
.t-text p {
  margin: 0 0 0.8em;
}
.t-text:not(.open)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.4em;
  background: linear-gradient(to bottom, rgba(255, 253, 248, 0), #fffdf8);
}
.t-text.open {
  max-height: none;
}
.t-mr {
  font-family:
    Manrope, "Noto Sans Devanagari", "Nirmala UI", Mangal, Tahoma, sans-serif;
  line-height: 1.85;
}
.t-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 0;
  margin-top: 6px;
  border: 0;
  background: none;
  font-weight: 800;
  color: #a5502f;
  cursor: pointer;
}
.t-more:hover {
  color: #8a4024;
}
.t-by {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 10px 6px;
  border-top: 1px dashed rgba(24, 59, 53, 0.3);
}
.t-by strong {
  display: block;
  color: #183b35;
  font-size: 1.05rem;
}
.t-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #183b35;
  color: #d4a84f;
  font-size: 1.3rem;
}
