/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Great+Vibes&family=Alex+Brush&family=Pristina&family=Dancing+Script&family=Roboto&family=Lobster&display=swap');

/* CSS variables */
:root {
  --gold: #C28840;
  --bg-start: #1A0000;
  --bg-mid: #130101;
  --bg-end: #000000;
  --nav-bg: rgba(20, 1, 1, 0.96);
  --white: #FFFFFF;
  --testimonial-photo-size: 120px; /* adjust if you change .testimonial-photo size elsewhere */
}

/* Reset / Mobile basics */
* {
  box-sizing: border-box
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  font-family: 'Pristina', cursive;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  color: #fff;
  scroll-behavior: smooth;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block
}


/* Typography */
h1,
h2,
h3 {
  font-family: 'Noto Serif', serif;
  color: var(--gold)
}

p {
  line-height: 1.6
}

/* Watermark */
/*
.watermark {
  position: fixed;
  top: 305px;
  left: 91%;
  transform: translateX(-50%);
  width: auto;
  height: calc(100dvh - 50px);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.watermark img {
  height: 125%;
  width: 210%;
  opacity: 1;
  object-fit: contain;
}*/

/* Default watermark (desktop / larger screens) */
.watermark {
  position: fixed;
  left: 20px;
  top: 80%;
  transform: translateY(-50%);
  width: auto;
  max-width: 260px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: none;
  z-index: 1;

  opacity: 0;                /* hidden by default */
  transition: opacity 0.6s ease-in-out; /* smooth fade-in */
}

.watermark.visible {
  opacity: 1; /* show when class is added */
}

.watermark img {
  height: 125%;
  width: 210%;
  object-fit: contain;
  display: block;
  background: none;
  box-shadow: none;
  border-radius: 0;
  filter:
    drop-shadow(0 22px 50px rgba(228, 157, 72, 0.22))
    drop-shadow(0 0 40px rgba(228, 157, 72, 0.22))
    drop-shadow(0 0 80px rgba(228, 157, 72, 0.22))
    brightness(1.06) saturate(1.25);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .watermark {
    left: 10px;
    top: 85%;
    max-width: 160px;
  }

  .watermark img {
    height: 100%;
    width: 150%;
    filter:
      drop-shadow(0 10px 20px rgba(228, 157, 72, 0.2))
      drop-shadow(0 0 20px rgba(228, 157, 72, 0.18))
      brightness(1.05) saturate(1.15);
  }
}


/* ensure page sections sit above the watermark */
.section { position: relative; z-index: 1; }

/* hide watermark on narrow screens */
@media (max-width: 900px) {
  .watermark { display: none; }
}

/* Header & Logo */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 10000;
  box-shadow: none;
  transition: background-color .3s;
}

header.scrolled {
  background-color: #140101ee;
  opacity: 1;
}

/* logo centered under nav by default, moves when header.scrolled */
.logo {
  position: relative;
  /*top: 90px;*/
  left: 20px;
  top: 20px;
  display: flex;
  justify-content:center;
  align-items: center;
  margin: 0 auto;
  height: 250px;
  width: 470px;
  z-index: 10001;
  transition: all 1.5s cubic-bezier(0.77, 0, 0.175, 1);
  transform: scale(1.2);
  background: transparent;
}

header.scrolled .logo {
  position: absolute;
  left: 20px;
  top: 10px;
  height: 80px;
  width: 160px;
  transform: scale(1);
  margin: 0;
}

.logo img {
  max-height: 100%;
  width: 100%;
  object-fit: contain
}

/* Navigation */
nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  padding: 10px 0;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: color .3s;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
}

nav a:hover {
  color:var(--gold);
  background: rgba(194, 136, 64, 0.1)
}

/* Hamburger / mobile nav (kept in stylesheet for mobile) */
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0
}

.hamburger {
  display: none;
  width: 44px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 6px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 10002
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--gold);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 300ms ease, opacity 200ms ease
}

@media (max-width:768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--nav-bg);
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 400ms ease, padding 300ms ease;
    padding: 0 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 10001
  }

  .nav-links li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.03)
  }

  .nav-links a {
    display: block;
    padding: 14px 12px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700
  }

  /* move hamburger to top-right on mobile */
  .hamburger {
    display: block;
    position: absolute;
    right: 12px;
    left: auto;
    top: 8px;
    padding: 8px;
    z-index: 10002
  }

  .main-nav.open .nav-links {
    max-height: 480px;
    padding: 8px 1rem 12px 1rem
  }

  .main-nav.open .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg)
  }

  .main-nav.open .hamburger span:nth-child(2) {
    opacity: 0
  }

  .main-nav.open .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg)
  }

  .nav-links li {
    transform-origin: top center;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 300ms ease, transform 300ms ease
  }

  .main-nav.open .nav-links li {
    opacity: 1;
    transform: translateY(0)
  }
}

/* Ensure header stacks correctly on small screens so logo appears between nav and hero */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: stretch; /* let children take full width */
  }

  .main-nav { order: 1; }        /* nav stays first */
  .logo { 
    order: 2;                    /* logo placed after nav */
    position: static !important; /* flow in document, not absolute */
    transform: none !important;
    margin: 8px auto;
    height: 80px;
    width: auto;
    max-width: 220px;
    align-self: center;
  }

  /* keep hamburger at top-right and above header content */
  .hamburger {
    display: block;
    position: absolute;
    right: 12px;
    top: 8px;
    z-index: 10003;
  }
}

/* Hero */
.hero {
  width: 100%;
  min-height: 600px;
  position: relative;
  padding-top: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.2cm solid var(--gold);
  z-index: 1000;
  background-color: rgba(34, 16, 16, 0.973);
  overflow: visible;
}

/* hero image (was background-image) */
.hero-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20%;
  max-width: 900px;
  height: auto;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  filter:
    drop-shadow(0 22px 50px rgba(194,136,64,0.22))
    drop-shadow(0 0 40px rgba(194,136,64,0.18));
}

/* decorative header image (was .hero::after) */
.hero-decor {
  position: absolute;
  left: -30px;
  top: -120px;
  width: 35%;
  max-width: 530px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
  /*filter:
    drop-shadow(0 22px 50px rgba(241,170,82,0.22))
    drop-shadow(0 0 40px rgba(241,170,82,0.18))
    drop-shadow(0 0 80px rgba(241,170,82,0.10));*/
  filter:
    drop-shadow(0 22px 50px rgba(216, 184, 41, 0.342))
    drop-shadow(0 0 40px rgba(185, 158, 38, 0.315))
    drop-shadow(0 0 80px rgba(194, 171, 39, 0.253));
  opacity: 1;
}

/* hero-decor transition and hidden state (vanish smoothly on scroll) */
.hero-decor {
  transition: opacity 330ms ease, transform 330ms ease, filter 330ms ease;
  will-change: opacity, transform;
  z-index: 0;
  pointer-events: none;
}

.hero-decor.is-hidden {
  opacity: 0;
  transform: translateY(-8px) scale(0.985);
  filter: blur(0.2px) saturate(0.9);
  pointer-events: none;
  /* keep element in flow visually as absolute/fixed so layout doesn't jump */
}

/* keep overlay content above images */
.hero-overlay {
  position: relative;
  z-index: 2;
}

/* Hero placeholder (styles moved to CSS) */
.hero-placeholder {
  position: absolute;
  left: 50%;
  top: 79%;
  transform: translate(-50%, -50%);
  width: 130px;
  max-width: 36%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 1; /* sits beneath hero-overlay (z-index:2) so heading remains on top */
  opacity: 0.95;
}

/* make placeholder responsive */
@media (max-width: 900px) {
  .hero-placeholder {
    width: 160px;
    max-width: 60%;
    top: 46%;
  }
}

@media (max-width: 480px) {
  .hero-placeholder {
    display: none; /* hide on very small screens to keep layout clean */
  }
}

/* Mobile adjustments: reduce/hide large images so header and overlay remain readable */
@media (max-width: 900px) {
  .hero {
    min-height: 160px;
    padding-top: 40px;
  }

  .hero-img {
    display: none; /* hide large hero image on mobile */
  }

  .hero-decor {
    display: none; /* hide decorative fixed image on mobile */
  }
}

/* --- Mobile hero fixes: show hero.png & header.png on phones and avoid overlap with logo --- */
/* This block intentionally overrides earlier rules that hid the images. */

@media (max-width: 900px) {
  /* Ensure header + logo space is reserved so hero content doesn't sit underneath */
  .hero {
    /* increase top padding so hero content clears the stacked header/logo on mobile */
    padding-top: 140px !important;
    min-height: 220px !important;
    max-height: none;
  }

  /* show the large hero image but much smaller and positioned to the right */
  .hero-img {
    display: block !important;
    position: absolute !important;
    /*right: 8px !important;*/
    right: 0px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38% !important;
    max-width: 320px !important;
    height: auto !important;
    opacity: 0.95 !important;
    z-index: 0 !important;
    pointer-events: none;
    filter: drop-shadow(0 10px 24px rgba(194,136,64,0.18));
  }

  /* show decorative header.png but reduce size / opacity so it doesn't clash */
  .hero-decor {
    display: block !important;
    position: absolute !important;
    left: 6px !important;
    top: -40px !important;
    width: 34% !important;
    max-width: 240px !important;
    height: auto !important;
    opacity: 0.65 !important;
    z-index: 0 !important;
    transform: none !important;
    filter: blur(0.3px) drop-shadow(0 8px 20px rgba(241,170,82,0.12));
  }

  /* move placeholder slightly lower on mobile */
  .hero-placeholder {
    top: 52% !important;
    width: 140px !important;
    max-width: 48% !important;
    z-index: 1 !important;
  }

  /* push heading down so it never overlaps the logo */
  .hero-overlay {
    position: relative;
    z-index: 2;
    padding-top: 0.6rem !important;
  }

  .hero-overlay h1 {
    margin-top: 0.8rem;
    padding-top: 50px;
    text-align: center;
    z-index: 2;
  }
}

/* very small screens: scale images down further and keep plenty of top padding */
@media (max-width: 480px) {
  .hero {
    padding-top: 110px !important;
    min-height: 160px !important;
  }

  .hero-img {
    width: 44% !important;
    max-width: 180px !important;
    /*right: 6px !important;*/
    right: 0px !important;
    top: 62% !important;
    opacity: 0.92 !important;
  }

  .hero-decor {
    left: -6px !important;
    top: -28px !important;
    width: 36% !important;
    max-width: 160px !important;
    opacity: 0.55 !important;
  }

  .hero-placeholder { display: none !important; }
}

/* Small mobile tweaks: reduce hero.png, place it directly below hamburger, and push hero heading down */
@media (max-width: 480px) {
  /* ensure header keeps its interactive height */
  header { min-height: 56px; }

  /* place hero image touching the hamburger (hamburger is at right:12px; top:8px) */
  /*.hero-img {
    display: block !important;
    position: absolute !important;
    right: 0px !important;
    top: 0px !important;     */         /* directly below header/hamburger */
    /*transform: translateY(0) !important;*/
    /*width: 140px !important;      */     /* smaller, compact size */
    /*max-width: 44% !important;
    height: 0% !important;
    opacity: 0.98 !important;
    z-index: 0 !important;
    pointer-events: none;
    filter: drop-shadow(0 8px 18px rgba(194,136,64,0.14));
  }*/

  /* reserve space so hero content does not overlap header/logo */
  .hero {
    padding-top: calc(56px + 8px) !important; /* header height + small gap */
    min-height: 180px !important;
  }

  /* push the overlay heading lower so logo remains visible */
  .hero-overlay {
    position: relative;
    z-index: 2;
    padding-top: 1.6rem !important;
  }
  .hero-overlay h1 {
    margin-top: 6.2rem !important;
    font-size: clamp(1rem, 6.5vw, 1.6rem) !important;
    text-align: center;
  }

  /* Hide hero image on very small screens */
  .hero-img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Section container & headings */
.section {
  padding: clamp(1.5rem, 3.5vw, 3.5rem) 10px;
  background-color: rgba(24, 1, 1, 0.349);
  color: #fff;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 1000px;
}

/* Section underline bar (gold, 0.2cm) that animates from center */
.section {
  position: relative; /* pseudo-element positioned relative to section width */
}

/* the line placed just outside the section bottom */
.section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(-0.2cm);          /* place the 0.2cm line immediately below the section */
  width: 100%;                   /* same width as the section */
  height: 0.2cm;                 /* required thickness */
  background: var(--gold);
  transform: scaleX(0);          /* collapsed (center) */
  transform-origin: center;      /* expand equally left/right */
  transition: transform 640ms cubic-bezier(.22,.9,.14,1);
  border-radius: 2px;
  will-change: transform;
  z-index: 2;
}

/* When section gets the in-view class it expands the line */
.section.in-view::after {
  transform: scaleX(1);
}

/* Disable previous section::after underline (if present) */
.section::after { display: none !important; }

/* Ensure section/container sizing for underline width */
.section, .container { position: relative; }

/* Underline inserted after the heading (0.2cm gold bar, expands from center) */
.section-underline {
  display: block;
  width: 100%;               /* match the section container width */
  height: 0.2cm;             /* thickness requested */
  background: var(--gold);   /* GOLD line */
  margin-top: 0.6rem;
  transform: scaleX(0);      /* collapsed center */
  transform-origin: center;
  transition: transform 3000ms cubic-bezier(.22,.9,.14,1);
  will-change: transform;
  border-radius: 2px;
}

/* When in-view, expand from center equally left & right */
.section-underline.in-view {
  transform: scaleX(1);
}

/* prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .section-underline {
    transition: none !important;
    transform: scaleX(1) !important;
  }
}

.section-heading {
  opacity: 0;
  transform: scale(6);
  transition: opacity 2s, transform 2s;
  text-align: center;
  font-family: 'Alex Brush', cursive;
  font-size: 2.2rem;
}

.section-heading.visible {
  opacity: 1;
  transform: scale(2)
}

/* Introduction (big quotes around <h1>) */
.introduction .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
  text-align: center
}

.intro-heading {
  position: relative;
  margin: 0 0 .6rem 0;
  font-family: 'Allura', cursive;
  color: #fff;
  line-height: 1;
  font-size: clamp(2rem, 7.5vw, 2.5rem);
  font-weight: 400;
  z-index: 2;
  padding: 0 .5rem;
}

.intro-heading::before,
.intro-heading::after {
  position: absolute;
  color: var(--gold);
  opacity: .95;
  font-weight: 700;
  font-family: Georgia, serif;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 1;
}

.intro-heading::before {
  content: "“";
  left: -0.6em;
  top: -0.55em;
  font-size: clamp(2.4rem, 12vw, 8rem);
  transform: translateX(-20%);
}

.intro-heading::after {
  content: "”";
  right: -0.6em;
  bottom: -0.55em;
  font-size: clamp(2.4rem, 12vw, 8rem);
  transform: translateX(20%);
}

/* Mobile tweaks to keep quotes from overlapping text */
@media (max-width:900px) {
  .intro-heading::before {
    left: -0.15em;
    top: -0.35em;
    font-size: clamp(1.8rem, 10vw, 4.4rem);
  }

  .intro-heading::after {
    right: -0.15em;
    bottom: -0.35em;
    font-size: clamp(1.8rem, 10vw, 4.4rem);
  }

  .intro-heading {
  font-size: 2rem;
  font-family: 'Allura', cursive;
  }
}

@media (max-width:420px) {
  .intro-heading::before {
    left: -0.15em;
    top: -0.35em;
    font-size: clamp(1.8rem, 10vw, 4.4rem);
  }

  .intro-heading::after {
    right: -0.15em;
    bottom: -0.35em;
    font-size: clamp(1.8rem, 10vw, 4.4rem);
  }

  .intro-heading {
  font-size: 2rem;
  font-family: 'Allura', cursive;
  }
}

/* About */
.about .content {
  position: relative;
  z-index: 500; /* higher than the fixed image */
}

.about .text {
  text-align: center;
  font-family:'Trebuchet MS', sans-serif;
}

.about p {
  font-size: 1.30rem;
}

/* About image: fixed background and rotation, behind content on all sizes */
.about .image {
  position: fixed;
  top: 50%;               /* vertically center relative to viewport */
  left: 50%;              /* horizontally center */
  transform: translate(-50%, -50%);
  width: 640px;
  max-width: 70vw;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0.12;          /* subtle when behind content */
  z-index: 0;             /* behind .about .content */
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(194,136,64,0.45));
}

.about .image img {
  width: 100%;
  border-radius: 10px;
  animation: rotate 18s linear infinite;
  display: block;
}

/* Mobile / small screens: smaller, slightly more transparent and nudged down so it doesn't clash with header */
@media (max-width: 900px) {
  .about .image {
    top: 55%;             /* nudge slightly down on phones */
    width: 420px;
    max-width: 85vw;
    opacity: 0.10;        /* lower opacity for legibility */
    filter: blur(0.2px) drop-shadow(0 0 6px rgba(194,136,64,0.25));
  }

  /* Keep about content readable by adding a soft backdrop */
  .about .content {
    background: linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.04));
    padding: 1rem;
  }

  .about p{    
  font-size: 1rem;
  }
}

/* Very small screens: reduce image size and opacity further */
@media (max-width: 480px) {
  .about .image {
    top: 60%;
    width: 300px;
    max-width: 90vw;
    opacity: 0.08;
    filter: blur(0.6px) drop-shadow(0 0 4px rgba(194,136,64,0.18));
  }

  .about .content {
    padding: 0.75rem;
  }
}

/* Testimonials (full-screen panel option) */
.testimonials-vertical {
  flex: 1 1 100vw;
  min-width: 0;
  max-width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  margin-top: 0;
}

.testimonials-vertical h2 {
  font-size: 2rem;
  margin-bottom: 8px
}

.testimonial-carousel-vertical {
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.testimonial-carousel-vertical .testimonial-list {
  display: flex;                         /* horizontal row */
  flex-direction: row;
  align-items: stretch;
  transition: transform 800ms cubic-bezier(.77,0,.175,1); /* slide easing */
  will-change: transform;
}

/* each item takes full carousel viewport */
.testimonial-carousel-vertical .testimonial-item {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* keep photo overlap/look unchanged, but ensure it doesn't break layout */
.testimonial-carousel-vertical .testimonial-photo {
  left: 50%;
  transform: translate(-50%, -50%);
}

.testimonial-list {
  transition: transform 10s;
     /*cubic-bezier(0.77, 0, 0.175, 1)*/
}

.testimonial-item {
  width: 550px;
  text-align: center;
  /*padding: 16px 8px;*/
  /*box-sizing: border-box;*/
  min-height: 550px;
  background: transparent;
  opacity: 1;
  position: relative;
}

.testimonial-item p {
  font-size: 1.3rem;
  font-family: 'Noto Serif', serif;
}

.testimonial-item span {
  font-weight: bold;
  margin-top: 5px;
  display: block;
  font-size: 1.25rem;
}

.testimonial-photo {
  width: var(--testimonial-photo-size);
  height: var(--testimonial-photo-size);
  z-index: 3;
  /* ensure photo is circular and covers the area */
  border-radius: 50%;
  object-fit: cover;
  margin: 5rem auto 2rem auto;
}

/* Testimonials: card style similar to the provided image */
/*#testimonials {
  background: linear-gradient(180deg, #270f01 0%, #0e0804 100%);
  padding: 0;
}*/

/* testimonial list center and spacing */
.testimonial-carousel-vertical,
.testimonial-list {
  display: flex;
  flex-direction: row;
  gap: 1.6rem;
  align-items: center;
  justify-content: center;
}

/* card */
.testimonial-item {
  position: relative;
  width: min(550px, 92%);
  max-height: 550px;
  background: #1a0605; 
  color: #fff;
  border-radius: 22px;
  /*padding: 3.2rem 2rem 2rem;*/
  padding: 10rem 2rem 5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  text-align: center;
  overflow: visible;
}

/* circular photo overlapping top center */
.testimonial-photo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,0.95);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ensure text clears the overlapping image */
.testimonial-item > p {
  margin: 1.6rem 0 0.8rem;
  line-height: 1.6;
  color: #f5f7f5;
  padding: 0 0.6rem;
  text-align: center;
}

/* author */
.testimonial-item > span {
  display: block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: #e6f0df;
}

/* big decorative quotes */
.testimonial-item::before,
.testimonial-item::after {
  position: absolute;
  color: --gold;/*rgba(255,255,255,0.12);*/
  font-size: clamp(3.2rem, 10vw, 6rem);
  line-height: 1;
  font-family: serif;
  pointer-events: none;
}
.testimonial-item::before {
  content: "“";
  left: 12%;
  top: 10%;
  transform: translateY(-10%);
}
.testimonial-item::after {
  content: "”";
  right: 12%;
  bottom: 8%;
  transform: translateY(10%);
}

/* smaller screens: reduce sizes */
@media (max-width: 900px) {
  #testimonials .section-heading { font-size: clamp(1.6rem, 6vw, 2.6rem); }
  .testimonial-item { padding: 2.6rem 1.2rem 1.2rem; border-radius: 16px; }
  .testimonial-photo { width: 96px; height: 96px; border-width: 5px; }
  .testimonial-item::before,
  .testimonial-item::after { font-size: clamp(2.2rem, 12vw, 4rem); }
  .testimonial-item > p { font-size: 0.98rem; }
}

/* fallback for very small screens */
@media (max-width: 420px) {
  .testimonial-item { width: 100%; padding-top: 2.2rem; }
  .testimonial-photo { width: 84px; height: 84px; }
}

/* Classes / Gallery */
.class-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two columns */
  grid-auto-rows: auto;
  gap: 16px;
  justify-items: stretch;
  align-items: start;
  max-width: 800px; /* keep grid centered and constrained */
  margin: 0 auto;
}

.class-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: transparent;
}

.class-item h3 {
  margin: 8px 0 0;
  text-align: center;
  color: var(--gold);
  font-size: 2.0rem;
  font-family: 'Alex Brush', cursive;
}

/* Merge additions: classes two-column layout and gallery card sizing */
.classes-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.classes-list {
  flex: 1 1 360px;
  min-width: 260px;
}

.class-info { margin-bottom: 12px; padding: 12px; border-radius: 8px; background: rgba(0,0,0,0.03); }
.class-info h4 { 
  margin: 0 0 6px;
  color: whitesmoke;
  font-size: 3.0rem;
  font-family: 'Alex Brush', cursive;
}

.classes-gallery-grid {
  flex: 1 1 360px;
  min-width: 260px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ensure performance-card / photo visuals match existing styles */
.performances-card { padding: 10px; border-radius: 10px; background: rgba(0,0,0,0.03); text-align: center; }
.performances-photo { width:100%; height:140px; overflow:hidden; border-radius:8px; display:flex; align-items:center; justify-content:center; background:#120000; }
.performances-photo img { width:100%; height:100%; object-fit:cover; display:block; }

/* Merge additions: classes second-row two-column layout + column headings */
.class-columns {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
  flex-wrap: wrap;
}

.class-column {
  flex: 1 1 320px;
  min-width: 260px;
}

.column-heading {
  /* same visual family as section heading but smaller and white */
  display: block;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem; /* slightly smaller than .section-heading */
  margin: 0 0 10px;
  padding-bottom: 4px;
  position: relative;
  text-align: center;
  /*font-family: 'Pristina', cursive;*/
  font-family:'Trebuchet MS', sans-serif;
  font-size: 2.0rem;;
}

/* Keep small decorative underline/dot minimal and consistent with heading animation if present */
.column-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.95;
}

.column-items .class-info {
  background: rgba(0,0,0,0.03);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Center-align text in Classes section and remove decorative dot under column headings */
.classes-container,
.classes-list,
.classes-gallery-grid,
.class-columns,
.class-column,
.column-items,
.column-items .class-info {
  text-align: center;
}

/* Ensure each class-info block is centered and constrained */
.class-info {
  margin: 0 auto 12px;
  display: block;
  max-width: 420px;
}

.class-info p {
  margin: 0;
  font-size: 1.0rem;
  font-family:'Trebuchet MS', sans-serif;
  color: rgb(243, 233, 179);
}

/* Center headings and card labels within Classes */
.class-info h4,
.column-heading,
.class-item h3,
.performances-name,
.performances-title {
  text-align: center;
}

/* Remove the small dot below Face-to-Face and On-line headings */
.column-heading::before {
  display: none !important;
  content: none !important;
}

/* Keep centered layout on small screens */
@media (max-width: 900px) {
  .classes-container,
  .class-columns {
    align-items: center;
  }
  .class-info {
    max-width: 100%;
  }
}

/* Contact */
.contact {
  text-align: center;
  background-color: rgb(3, 0, 0);
  position: relative;
  z-index: 10002
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 24px;
  opacity: 1;
  position: relative;
  z-index: 10002
}

.contact-details {
  flex: 1 1 260px;
  min-width: 220px;
  font-size: 1rem
}

.contact-details a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700
}

.social-media {
  margin-top: 12px;
  display: flex;
  gap: 16px
}

.social-media img {
  width: 32px;
  height: 32px;
  filter: grayscale(60%);
  transition: filter .3s
}

.social-media a:hover img {
  filter: none
}

.contact-form {
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(24, 1, 1, 0.15);
  padding: 18px 16px;
  border-radius: 10px
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: #1a0000;
  color: #fff;
  font-size: 1rem;
  resize: vertical
}

.contact-form input[type="tel"],
.contact-form input[type="text"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(194,136,64,0.18);
  border-radius: 6px;
  background: rgba(26,0,0,0.55);
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--gold);
  background: rgba(26,0,0,0.65);
}

.contact-form button {
  width: 100%;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s
}

/* feedback message */
.contact-feedback {
  margin-top: 8px;
  color: #fa0505;
  min-height: 1.2em;
}

/* small helper for screen-reader-only labels */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Locations section styles (moved from inline) */
#locations .section-heading {
  text-align: center;
}

.locations-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.location-row {
  width: 100%;
  max-width: 1200px;
}

.row-subheading {
  text-align: center;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 1.25rem;
}

.row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: start;
  text-align: center;
}

/* Basic styling for individual columns */
.location-col .location-name,
.location-col h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-family: 'Trebuchet MS', sans-serif;
}

.location-col p {
  margin: 0;
  line-height: 1.4;  
  font-size: 1rem;
  font-family: 'Trebuchet MS', sans-serif;
}

/* Underlines for contact heading, location row headings and location column names */
/*.contact .section-heading::after,*/
/*.row-subheading::after,*/
.location-name::after {
  content: "";
  display: block;
  height: 0.01cm;                 /* same thickness used site-wide */
  background: var(--white);
  margin: 0.6rem auto 0;         /* spacing below the heading */
  width: 75%;                   /* fill the available block width */
  max-width: 75%;               /* clamp to container/column width */
  border-radius: 2px;
  transform: scaleX(1);
  transform-origin: center;
  will-change: transform;
}

/* Make .location-name underline slightly narrower so it visually sits under the text on small columns */
.location-name::after {
  width: 70%;
  max-width: 320px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .contact .section-heading::after,
  .row-subheading::after,
  .location-name::after {
    transition: none;
    transform: none;
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .row-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-row {
    padding: 0 16px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .row-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero overlay heading: responsive sizing and inside-container spacing */
.hero-overlay {
  padding: 1.5rem 1rem 2.5rem; /* keep content inside and avoid large bottom padding */
  box-sizing: border-box;
}

.hero-overlay h1 {
  margin: 0;
  color: #fff;
  line-height: 1.05;
  font-family: 'Alex Brush', cursive;
  font-size: clamp(1.6rem, 5.5vw, 3.2rem); /* responsive size */
  max-width: 1100px;
  width: 100%;
  padding: 0 1rem;
  text-align: center;
  z-index: 2;
}

/* Make sure hero overlay content doesn't overlap the fixed header on small screens */
@media (max-width: 900px) {
  .hero {
    min-height: 160px; /* reduce height for mobile */
    max-height: 160px;
  }
  .hero-overlay {
    padding-bottom: 1.5rem;
    justify-content: bottom; /* vertically center on small screens if desired */
  }
  .hero-overlay h1 {
    font-size: clamp(1.25rem, 6.5vw, 2.2rem);
    padding-bottom: 3.5rem;
  }
}

/* ensure header (logo/nav) sits above hero */
header { z-index: 10010; }
.hero { z-index: 1000; }

/* Animations */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Team section */
.team-section {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.04));
}

.team-section .section-heading {
  margin-bottom: 1.25rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

/* Team layout: force two-up top row and flexible bottom row */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
  justify-content: center;
}

/* row container */
.team-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* top row: two items side-by-side */
.team-row.top .team-card {
  flex: 0 1 48%;
  max-width: 520px;
}

/* bottom row: up to four items; will wrap on smaller screens */
.team-row.bottom .team-card {
  flex: 0 1 calc(25% - 1rem);
  max-width: 260px;
}

/* fallback / mobile: stack vertically, keep spacing */
@media (max-width: 900px) {
  .team-row.top .team-card,
  .team-row.bottom .team-card {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .team-row {
    gap: 0.9rem;
  }
}

/* small tweak to keep consistent card styling (if not already present) */
.team-card {
  text-align: center;
  background: rgba(0,0,0,0.03);
  padding: 0.9rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* oval photo placeholder */
.team-photo {
  width: clamp(120px, 20vw, 180px);
  height: clamp(140px, 22vw, 200px); /* height > width to create oval */
  margin: 0 auto 0.85rem auto;
  overflow: hidden;
  border-radius: 50% / 45%;
  background: linear-gradient(180deg, rgba(194,136,64,0.06), rgba(0,0,0,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(194,136,64,0.12);
}

/* image inside oval */
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text */
.team-name {
  margin: 0.35rem 0 0.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gold);
}

.team-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #f0e9d8;
}

/* small screens adjustments */
@media (max-width: 540px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
  }

  .team-card {
    padding: 0.65rem;
  }

  .team-photo {
    width: clamp(100px, 28vw, 140px);
    height: clamp(120px, 30vw, 160px);
  }

  .team-name { font-size: 1rem; }
  .team-title { font-size: 0.9rem; }
}

/* keep team behind any fixed decorative image but above background */
.team-section { position: relative; z-index: 4; }

/* Team section */
.team-section {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.04));
}

.team-section .section-heading {
  margin-bottom: 1.25rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

/* Performances layout: top row and bottom row */
.performances-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
  justify-content: center;
}

/* row container */
.performances-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* top row: two items side-by-side */
.performances-row.top .performances-card {
  flex: 0 1 calc(25% - 1rem);
  max-width: 520px;
}

/* bottom row: up to four items; will wrap on smaller screens */
.performances-row.bottom .performances-card {
  flex: 0 1 calc(25% - 1rem);
  max-width: 520px;
}

/* fallback / mobile: stack vertically, keep spacing */
@media (max-width: 900px) {
  .performances-row.top .performances-card,
  .performances-row.bottom .performances-card {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .performances-row {
    gap: 0.9rem;
  }
}

/* small tweak to keep consistent card styling (if not already present) */
.performances-card {
  text-align: center;
  background: rgba(0,0,0,0.03);
  padding: 0.9rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* oval photo placeholder */
.performances-photo {
  width: clamp(120px, 20vw, 180px);
  height: clamp(140px, 22vw, 200px); /* height > width to create oval */
  margin: 0 auto 0.85rem auto;
  overflow: hidden;
  border-radius: 50% / 45%;
  background: linear-gradient(180deg, rgba(194,136,64,0.06), rgba(0,0,0,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(194,136,64,0.12);
}

/* image inside oval */
.performances-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text */
.performances-name {
  margin: 0.35rem 0 0.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gold);
}

.performances-title {
  margin: 0;
  font-size: 0.95rem;
  color: #f0e9d8;
}

/* small screens adjustments */
@media (max-width: 540px) {
  .performances-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
  }

  .performances-card {
    padding: 0.65rem;
  }

  .performances-photo {
    width: clamp(100px, 28vw, 140px);
    height: clamp(120px, 30vw, 160px);
  }

  .performances-name { font-size: 1rem; }
  .performances-title { font-size: 0.9rem; }
}

/* keep performances behind any fixed decorative image but above background */
.performances-section { position: relative; z-index: 4; }

/* Gallery modal / carousel */
.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
  z-index: 20000;
  padding: 20px;
  box-sizing: border-box;
}

.gallery-modal.open { display: flex; }

.gallery-modal .gm-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}

.gallery-modal .gm-stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-modal .gm-image {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  object-fit: contain;
  background: #000;
}

.gallery-modal .gm-caption {
  color: #ffdca6;
  margin-top: 8px;
  text-align: center;
  font-size: 0.95rem;
}

/* nav buttons */
.gallery-modal .gm-prev,
.gallery-modal .gm-next {
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.gallery-modal .gm-prev:hover,
.gallery-modal .gm-next:hover { background: rgba(194,136,64,0.95); color: #000; }

/* close */
.gallery-modal .gm-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  z-index: 20010;
}

/* thumbs */
.gallery-modal .gm-thumbs {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: calc(100% - 40px);
  padding: 6px;
}

.gallery-modal .gm-thumbs img {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: .8;
  border: 2px solid transparent;
}
.gallery-modal .gm-thumbs img.active {
  opacity: 1;
  border-color: var(--gold);
}

/* responsive */
@media (max-width: 900px) {
  .gallery-modal .gm-inner { gap: 8px; max-width: 96vw; }
  .gallery-modal .gm-prev, .gallery-modal .gm-next { width:44px; height:44px; font-size:22px; }
  .gallery-modal .gm-thumbs img { width:56px; height:40px; }
}

/* ensure performance-link looks clickable */
.performance-link { color: inherit; text-decoration: underline; cursor: pointer; }

/* Center the first row in Classes section */
.classes-row.top {
  display: flex;              /* already set inline — ensure in CSS too */
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;    /* center horizontally */
  align-items: center;        /* center vertically */
  text-align: center;         /* center text inside cards */
}

.classes-row.top .performances-card {
  margin: 0 auto;             /* ensure each card is centered in its flex cell */
}

/* Production detail / video styles (merge into existing file) */
.production-page {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
}

.production-hero {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.production-hero .thumb {
  flex: 0 0 320px;
  max-width: 320px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(194,136,64,0.12);
}

.production-hero .thumb img { width:100%; height:auto; display:block; object-fit:cover; }

.production-meta {
  flex: 1 1 360px;
}

.production-meta h1 {
  margin: 0 0 .5rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

.production-desc {
  margin-top: 8px;
  color: #f3efde;
  line-height: 1.6;
}

/* Responsive video wrapper */
.production-video {
  margin-top: 18px;
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 8px 26px rgba(0,0,0,0.6);
}

.production-video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border: 0;
}

/* small screens */
@media (max-width:900px) {
  .production-hero { flex-direction: column; }
  .production-hero .thumb { max-width: 100%; width: 100%; }
}

/* Production iframe modal (overlay) - matches page colour tone */
.prod-iframe-modal { 
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30000;
  pointer-events: none;
}
.prod-iframe-modal.open { display: flex; pointer-events: auto; }

/* Backdrop uses same dark tone as site but slightly translucent */
.prod-iframe-modal .pim-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,1,1,0.88); /* dark tone consistent with main theme */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 280ms ease;
}

/* inner container keeps the section width feel */
.pim-inner {
  width: 100%;
  max-width: 1100px; /* same scale used elsewhere */
  background: linear-gradient(180deg, rgba(8,2,1,0.92), rgba(4,1,1,0.96));
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  position: relative;
}

/* close button */
.pim-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: transparent;
  color: var(--gold);
  border: 0;
  font-size: 1.6rem;
  padding: 6px 10px;
  cursor: pointer;
}

/* responsive iframe wrapper */
.pim-frame-wrap {
  width: 100%;
  height: calc(75vh - 40px);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* iframe takes available space */
.pim-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

/* small screens: full height */
@media (max-width: 640px) {
  .pim-inner { border-radius: 6px; max-width: 96%; }
  .pim-frame-wrap { height: calc(86vh - 40px); }
  .pim-close { font-size: 1.4rem; top: 8px; right: 8px; }
}

/* Production modal (inject content into DOM) */
.production-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 32000; }
.production-modal.open { display: flex; }
.production-modal .pm-backdrop { position: absolute; inset: 0; background: rgba(2,1,1,0.92); display:flex; align-items:center; justify-content:center; padding:20px; }
.pm-inner { width:100%; max-width:1100px; background: linear-gradient(180deg, rgba(8,2,1,0.96), rgba(4,1,1,0.98)); border-radius:10px; overflow:hidden; box-shadow:0 14px 50px rgba(0,0,0,0.6); position:relative; }
.pm-close { 
  position:absolute; 
  right:12px; 
  top:10px; 
  z-index:5; 
  background:transparent; 
  color:var(--gold); 
  border:0; 
  font-size:1.8rem; 
  cursor:pointer; 
  padding:6px; 
}

/* Hero area */
.pm-content { padding:20px; color:#fff; }
.pm-hero { display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; }
.pm-thumb { flex:0 0 320px; max-width:320px; border-radius:8px; overflow:hidden; border:3px solid rgba(194,136,64,0.12); background:#000; }
.pm-thumb img{ display:block; width:100%; height:auto; object-fit:cover; }

/* Title: reuse section-heading visuals and center */
.pm-meta { flex:1 1 360px; display:flex; flex-direction:column; align-items:center; text-align:center; }
#pm-title.section-heading { margin:0 0 0.6rem; }

/* Description: Pristina fallback and requested size */
.production-link {
  margin: 0.35rem 0 0.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
}

.production-desc {
  font-family: "Pristina", "Segoe Script", "Comic Sans MS", cursive, serif;
  font-size: 2.2rem;
  color: #f3efde;
  line-height: 1.45;
  margin-top: 6px;
  max-width: 780px;
  text-align: left;
}

.production-span {
  margin: 0.35rem 0 0.25rem;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.95rem;
  color: rgb(243, 233, 179);
}

/* Video area */
.production-video { margin-top:18px; position:relative; width:100%; height:0; padding-bottom:56.25%; overflow:hidden; border-radius:10px; background:#000; }
.production-video iframe{ position:absolute; width:100%; height:100%; left:0; top:0; border:0; }

/* Responsiveness */
@media (max-width:900px) {
  .pm-hero { flex-direction:column; align-items:center; }
  .production-desc { font-size:1.6rem; text-align:left; }
  .pm-thumb { max-width:100%; width:100%; height:auto; }
}

/* Mobile testimonial: show one card at a time, photo centered */
@media (max-width: 968px) {
  .testimonials-vertical {
    height: auto;
    min-height: auto;
    padding-top: 3rem;
  }

  /* ensure carousel reserves vertical space so the circular photo doesn't sit under the section heading */
  .testimonial-carousel-vertical {
    overflow: hidden;
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    padding-top: calc(var(--testimonial-photo-size, 120px) / 2 + 1rem); /* ADDED */
  }

  .testimonial-carousel-vertical .testimonial-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.9rem;
    align-items: stretch;
    transition: transform 600ms cubic-bezier(.77,0,.175,1);
    will-change: transform;
    width: 100%;
  }

  .testimonial-carousel-vertical .testimonial-item,
  .testimonial-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0;
    padding: 3.2rem 1rem 1.2rem;
    position: relative;
    min-height: auto;
  }

  /* center the overlapping photo above each card and ensure it sits on top */
  .testimonial-photo {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 50 !important; /* high so it stays visible */
  }

  /* ensure card content leaves room for the overlapping photo */
  .testimonial-item {
    padding-top: calc(var(--testimonial-photo-size,120px) / 2 + 1.2rem);
  }

  .testimonial-item > p {
    font-size: 1rem;
    padding: 0 0.8rem;
  }

  .testimonial-item span {
    font-size: 1rem;
  }

  /* keep the section heading above background but below the photo */
  #testimonials .section-heading {
    position: relative;
    z-index: 10;
  }
}

/* extra small screens */
@media (max-width: 480px) {
  .testimonial-photo {
    width: 84px !important;
    height: 84px !important;
    top: 0 !important;
    transform: translate(-50%, -50%) !important;
    z-index: 50 !important;
  }

  .testimonial-item {
    padding-top: calc(84px / 2 + 1rem);
  }

  .testimonial-item > p { font-size: 0.98rem; }
  .testimonial-item span { font-size: 0.95rem; }
}

/* Footer */
footer {
  background-color: #000;
  color: var(--gold);
  text-align: center;
  padding: 16px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

/* Footer Section*/
#footer {
	background: transparent;
	padding: 10px 0 10px 0;
}

/* Footer social icons */
footer .social { text-align:center; margin-bottom:4px; }
.social-icons { list-style:none; padding:0; margin:0; display:flex; gap:14px; justify-content:center; align-items:center; }
.social-icons li { display:inline-block; }
.social-icons a { display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; border-radius:50%; background:transparent; text-decoration:none; }
.social-icons svg { width:40px; height:40px; fill:var(--gold); transition: transform .18s ease, fill .18s ease, filter .18s ease; display:block; }
/* hover / focus */
.social-icons a:hover svg,
.social-icons a:focus svg { transform:translateY(-3px) scale(1.07); fill:#fff; filter:drop-shadow(0 2px 6px rgba(0,0,0,0.3)); outline:none; }
/* make icons slightly larger on small screens */
@media (max-width:480px){ .social-icons a{ width:48px; height:48px } .social-icons svg{ width:24px; height:24px } }