:root {
  --bg: #F5F5F2;
  --bg-alt: #FFFFFF;
  --heading: #CF9582;
  --accent-heading: #423F30;
  --text: #423F30;
  --muted: #797563;
  --details: #E6D5CF;
  --btn-bg: #CF9582;
  --btn-text: #FFFFFF;
  --btn-hover-bg: #423F30;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Raleway', sans-serif;
  --max-width: 1200px;
  --nav-h: 76px;
  --banner-crop: 42px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141412;
  --bg-alt: #201f1b;
  --heading: #d8a08d;
  --accent-heading: #f0ece3;
  --text: #e7e2d9;
  --muted: #aaa596;
  --details: #39352f;
  --btn-bg: #d8a08d;
  --btn-text: #141412;
  --btn-hover-bg: #eee9df;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ---------- Header (Morgan style) ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.hidden { transform: translateY(-100%); }

.site-header.scrolled,
.site-header.solid {
  background: transparent;
}

/* white text over the hero by default; dark once solid/scrolled */
.site-header .logo,
.site-header .logo span,
.site-header .site-nav a { color: #fff; }

.site-header.solid .logo,
.site-header.solid .logo span,
.site-header.solid .site-nav a { color: var(--accent-heading); }
.site-header.solid .logo span { color: var(--heading); }

.site-header.scrolled .logo,
.site-header.scrolled .logo span,
.site-header.scrolled .site-nav a { color: var(--accent-heading); }
.site-header.scrolled .logo span { color: var(--heading); }

.site-header .nav-toggle span { background: #fff; }
.site-header.solid .nav-toggle span { background: var(--accent-heading); }
.site-header.scrolled .nav-toggle span { background: var(--accent-heading); }

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-heading);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo span { color: var(--heading); }

.site-logo-img {
  display: none;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-logo-img.loaded { display: block; }

.logo.has-logo .site-logo-text { display: none; }

.site-header:not(.solid):not(.scrolled) .site-logo-img.loaded {
  filter: invert(1);
}

.footer-logo img {
  display: block;
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.theme-toggle {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.theme-toggle svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header.solid .theme-toggle,
.site-header.scrolled .theme-toggle {
  color: var(--accent-heading);
}

html[data-theme="dark"] .site-logo-img.loaded,
html[data-theme="dark"] .footer-logo img {
  filter: invert(1);
}

html[data-theme="dark"] .site-header:not(.solid):not(.scrolled) .site-logo-img.loaded {
  filter: invert(1);
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-heading);
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.2s ease-out, color 0.25s ease;
}

.site-nav a:hover { opacity: 0.5; }

.site-nav a.active { color: var(--heading); opacity: 1; }
.site-header .site-nav a.active { color: #E6D5CF; }
.site-header.solid .site-nav a.active { color: var(--heading); }
.site-header.scrolled .site-nav a.active { color: var(--heading); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--accent-heading);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.45) 0%, rgba(20, 18, 12, 0.25) 50%, rgba(20, 18, 12, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 24px;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 18px;
}

.hero .eyebrow { color: #E6D5CF; }

.display {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.subtitle {
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 38px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-light:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }

/* ---------- Sections ---------- */

.section {
  padding: 96px 24px;
}

.section-alt { background: var(--bg-alt); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-inner.flipped .text-col { order: 2; }
.section-inner.flipped .media-col { order: 1; }

.text-col { max-width: 520px; }

.heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 20px;
}

.heading.center { text-align: center; }

.body {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
}

.body.center { text-align: center; }
.body.muted { color: var(--muted); }

.media-col img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(66, 63, 48, 0.18);
}

.about-grid {
  align-items: stretch;
  grid-template-columns: 1.9fr 1fr;
  gap: 64px;
}

@media (min-width: 901px) {
  .about-grid.about-builder-enabled {
    display: grid;
    position: relative;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    grid-auto-rows: 30px;
    gap: 12px;
    align-items: stretch;
  }

  .about-grid.about-builder-enabled > [data-about-item] {
    grid-column: var(--about-x, 1) / span var(--about-w, 12);
    grid-row: var(--about-y, 1) / span var(--about-h, 12);
    min-width: 0;
    min-height: 0;
    position: relative;
  }

  .about-grid.about-builder-enabled .about-text {
    align-self: stretch;
  }

  .about-grid.about-builder-enabled .about-photo {
    align-self: stretch;
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.about-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  line-height: 1.4;
  color: var(--heading);
  margin: 0 0 14px;
}

.about-subtitle {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.875rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 40px;
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-cols .body {
  font-size: 0.95rem;
  line-height: 1.88;
}

.about-photo {
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--bg-alt);
  transform: scale(1.08);
  transform-origin: center;
}

.about-stack-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-testimonials-section {
  padding-top: 64px;
  padding-bottom: 36px;
}

.about-facts-section {
  padding-top: 20px;
  padding-bottom: 40px;
}

/* ---------- Portals ---------- */

.portals .section-inner { display: block; max-width: var(--max-width); }

.portals .eyebrow { text-align: center; }

.portal-intro {
  max-width: 620px;
  margin: 0 auto;
}

.portals-page {
  padding-top: calc(var(--nav-h) + 28px);
  min-height: calc(100vh - 180px);
}

.portals-page .portal-grid { margin-top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portal-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portals-page .portal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-cards.cms-loading {
  visibility: hidden;
  min-height: 310px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid rgba(66, 63, 48, 0.08);
  padding: 48px 32px 40px;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(66, 63, 48, 0.14);
  border-color: var(--details);
}

.portal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--details);
  color: var(--accent-heading);
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.portal-card:hover .portal-icon {
  background: var(--btn-bg);
  color: var(--btn-text);
  transform: scale(1.06);
}

.portal-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--accent-heading);
  margin-bottom: 12px;
}

.portal-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.portal-link {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heading);
  margin-top: auto;
  transition: color 0.3s ease;
}

.portal-card:hover .portal-link { color: var(--accent-heading); }

/* ---------- Banner ---------- */

.banner {
  background: var(--accent-heading);
  color: #fff;
  text-align: center;
  padding: 110px 24px;
}

.banner-inner { max-width: 760px; margin: 0 auto; }

.pullquote {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.4;
  color: var(--heading);
  margin-bottom: 18px;
}

.banner .muted { color: rgba(255, 255, 255, 0.7); }

/* ---------- Subpage hero ---------- */

.page-hero {
  padding: calc(var(--nav-h) + 40px) 24px 44px;
  text-align: center;
  background: var(--bg);
}

.page-hero .eyebrow { margin-bottom: 10px; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 12px;
}

.page-hero .subtitle {
  color: var(--muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

/* ---------- Contact banner ---------- */

.contact-banner {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-heading);
}

.contact-banner-video,
.contact-banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-banner-video {
  display: none;
}

.contact-banner.has-video .contact-banner-photo { display: none; }
.contact-banner.has-video .contact-banner-video { display: block; }

.contact-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 12px;
  text-align: center;
}

.contact-heading + .subtitle {
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--muted);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

.contact-section {
  padding: calc(var(--nav-h) + 28px) 24px 48px;
}

.contact-inner {
  max-width: 1320px;
  display: block;
}

.contact-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 18px 22px 20px;
  background: var(--bg-alt);
  border: 1px solid rgba(66, 63, 48, 0.1);
}

.contact-panel-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.3;
  color: var(--heading);
  margin: 0;
}

.contact-card {
  background: transparent;
  border: 0;
  padding: 0;
}

.contact-card-label {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 12px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid rgba(66, 63, 48, 0.1);
  color: var(--text);
  text-decoration: none;
}

.contact-line:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.contact-line:hover {
  color: var(--heading);
}

.contact-line-static:hover {
  color: var(--text);
}

.contact-line-key {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-heading);
  flex: 0 0 auto;
}

.section-inner.narrow { max-width: 860px; }
.section-inner.block { display: block; }

.eyebrow.center { text-align: center; }

/* ---------- Photo strip (testimonials top) ---------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 4vw, 60px);
  padding: clamp(36px, 5vw, 60px) 24px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.photo-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #fff;
}

/* ---------- Block heading (h5 section label) ---------- */

.block-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.875rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--heading);
  text-align: center;
  margin: 0 0 44px;
}

/* ---------- FAQ ---------- */

.faq-inner {
  grid-template-columns: 1fr 3fr;
  gap: 56px;
  align-items: start;
}

.faq-title {
  margin: 0;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  border-top: 1px solid rgba(66, 63, 48, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(66, 63, 48, 0.1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.875rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--heading);
  padding: 20px 40px 20px 0;
  position: relative;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--heading);
  transition: transform 0.3s ease;
}

.faq-item[open] summary { color: var(--heading); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item p {
  padding: 0 40px 22px 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.88;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 60px);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  margin: 0;
  text-align: center;
}

.testimonial-card img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
}

.testimonial-card blockquote {
  padding: 28px 6px 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
}

.testimonial-card figcaption {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--heading);
  padding: 20px 6px 0;
}

/* ---------- Stats ---------- */

.stats-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat { padding: 12px 20px; }

.stat-number {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  color: var(--heading);
  margin-bottom: 0;
}

.stat-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--details);
  margin: 16px 0;
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

/* ---------- Films (double slider) ---------- */

.films-section {
  padding: 0;
}

.film-slider {
  position: relative;
}

.film-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  max-height: 1100px;
  overflow: hidden;
  background: #14120c;
  touch-action: pan-y;
}

.film-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.film-card {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 46px) clamp(24px, 6vw, 80px) clamp(180px, 26vh, 270px);
  overflow: hidden;
  background: #1b1913;
  color: #fff;
}

.film-card.hidden { display: none; }

.film-card-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.film-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.film-card.is-active .film-card-media img { transform: scale(1.035); }

.film-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.5) 0%, rgba(20, 18, 12, 0.3) 42%, rgba(20, 18, 12, 0.72) 100%);
  pointer-events: none;
}

.film-meta {
  position: relative;
  z-index: 2;
  pointer-events: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 clamp(14px, 2vw, 22px);
}

.film-meta .film-date { color: #fff; }

.film-title {
  position: relative;
  z-index: 2;
  pointer-events: none;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 clamp(16px, 2.2vw, 28px);
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.film-desc {
  position: relative;
  z-index: 2;
  pointer-events: none;
  max-width: 52ch;
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.film-funtext {
  position: absolute;
  left: clamp(16px, 4vw, 56px);
  bottom: clamp(8px, 2vh, 26px);
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(4rem, 13vw, 15rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.film-filters {
  position: absolute;
  top: calc(var(--nav-h) + 18px);
  left: 50%;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(100% - 32px);
}

.film-filters button {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 14px;
  transition: color 0.25s ease;
}

.film-filters button + button { border-left: 1px solid rgba(255, 255, 255, 0.25); }

.film-filters button.active,
.film-filters button:hover { color: #fff; }

.film-sub {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(18px, 4vh, 44px);
  z-index: 7;
  width: clamp(220px, 26vw, 340px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.film-sub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.film-sub-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.film-sub-label {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.film-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.film-counter span:first-child { color: #fff; }

.film-counter-line {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.film-controls { display: flex; gap: 8px; }

.film-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 18, 12, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.film-arrow:hover {
  background: #fff;
  border-color: #fff;
  color: var(--accent-heading);
}

.film-arrow svg { width: 18px; height: 18px; }

.film-sub-viewport {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4);
}

.film-thumbs {
  display: flex;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.film-thumb {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
  display: block;
  padding: 0;
  border: 0;
  background: #222;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.film-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 19, 19, 0.78), transparent 62%);
  pointer-events: none;
}

.film-thumb-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.film-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.film-thumb:hover .film-thumb-media img { transform: scale(1.05); }

.film-thumb-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.film-thumb-tag {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.film-thumb-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #fff;
}

@media (max-width: 900px) {
  .film-title { font-size: clamp(2rem, 8vw, 3.6rem); }
  .film-desc { max-width: 46ch; }
  .film-sub { width: clamp(200px, 34vw, 280px); }
}

@media (max-width: 700px) {
  .film-stage { min-height: 560px; }
  .film-card {
    padding: calc(var(--nav-h) + 40px) 24px 260px;
  }
  .film-title {
    font-size: clamp(1.8rem, 8.6vw, 2.8rem);
    letter-spacing: 0.07em;
  }
  .film-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .film-funtext { display: none; }
  .film-filters { top: calc(var(--nav-h) + 12px); }
  .film-filters button { padding: 5px 9px; font-size: 0.64rem; }
  .film-sub {
    left: 50%;
    right: auto;
    bottom: 18px;
    width: min(280px, 72vw);
    transform: translateX(-50%);
  }
  .film-sub-head { align-items: center; }
  .film-arrow { width: 38px; height: 38px; }
  .film-arrow svg { width: 15px; height: 15px; }
}

@media (min-width: 701px) and (max-height: 760px) {
  .film-card { padding-bottom: 250px; }
  .film-title { font-size: clamp(1.8rem, 4.4vw, 3.2rem); }
  .film-desc { max-width: 46ch; font-size: 0.9rem; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  .film-track,
  .film-thumbs,
  .film-card-media img,
  .film-thumb-media img { transition: none; }
}

/* ---------- Gallery ---------- */

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-cards.hidden,
.gallery-view.hidden { display: none; }

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  text-align: left;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(20, 18, 12, 0.78), rgba(20, 18, 12, 0) 62%);
  color: #fff;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.gallery-card-tag {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
  margin-top: 3px;
}

.gallery-view { margin-top: 8px; }

.gallery-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.gallery-view-head h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--accent-heading);
}

.gallery-empty { margin: 0; }

.gallery-grid {
  columns: 3;
  column-gap: 14px;
}

.gallery-item {
  margin: 0 0 14px;
  break-inside: avoid;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

.gallery-item.hidden { display: none; }

.gallery-cta {
  margin-top: 56px;
  text-align: center;
}

.gallery-cta-buttons { margin-top: 24px; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 18, 12, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover { color: var(--heading); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.6rem;
  cursor: pointer;
  padding: 12px;
  line-height: 1;
  transition: color 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.lightbox-nav:hover { color: var(--heading); opacity: 1; }

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------- Contact form ---------- */

.contact-intro {
  max-width: none;
  margin: 0;
  text-align: left;
}

.contact-intro .body {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-form {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid rgba(66, 63, 48, 0.1);
  padding: 20px 24px 22px;
  justify-self: end;
  display: flex;
  flex-direction: column;
}

.event-type-field {
  padding: 14px;
  margin-bottom: 16px;
  background: rgba(207, 149, 130, 0.1);
  border-left: 3px solid var(--heading);
}

.form-section-label {
  margin: 4px 0 12px;
  font-family: var(--font-heading);
  color: var(--heading);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.common-label {
  padding-top: 16px;
  margin-top: 10px;
  border-top: 1px solid rgba(66, 63, 48, 0.14);
}

.event-list { display: grid; gap: 12px; }

.inquiry-event {
  position: relative;
  margin: 0;
  padding: 14px 14px 8px;
  border: 1px solid rgba(66, 63, 48, 0.14);
}

.inquiry-event legend {
  padding: 0 7px;
  font-family: var(--font-heading);
  color: var(--heading);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.add-event-btn,
.event-remove {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--accent-heading);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.add-event-btn { margin: 10px 0 2px; padding: 5px 0; }
.event-remove { display: block; margin: 1px 0 4px auto; padding: 4px 0; color: #8b493e; }
.add-event-btn:hover, .event-remove:hover { color: var(--heading); }

.service-check {
  display: flex !important;
  align-items: center;
  min-height: 32px;
  gap: 7px;
  margin: 0 !important;
  padding: 3px 0;
  cursor: pointer;
}

.service-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--heading);
}

.form-row.service-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.service-options .service-check { min-height: 40px; font-size: 0.82rem; letter-spacing: 0.08em; }
.event-common-grid { grid-template-columns: repeat(3, 1fr); }
.event-heading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-heading-grid.has-muhurat,
.event-heading-grid.has-event-coverage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-location-grid { grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.7fr); }
.event-location-grid.has-session-duration { grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr) minmax(180px, 0.8fr); }
.event-attendance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-attendance-grid.has-batu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-specific-fields { padding-top: 4px; }

.venue-setting-field { margin: 0 0 8px; padding: 0; border: 0; }
.venue-toggle { display: grid; grid-template-columns: 1fr 1fr; }
.form-field .venue-toggle label { display: block; margin: 0; cursor: pointer; }
.venue-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.venue-toggle span { display: grid; place-items: center; min-height: 38px; padding: 7px; border: 1px solid rgba(66, 63, 48, 0.18); color: var(--muted) !important; font-size: 0.76rem; letter-spacing: 0.06em; }
.venue-toggle label + label span { border-left: 0; }
.venue-toggle input:checked + span { background: var(--heading); border-color: var(--heading); color: var(--bg-alt) !important; }
.venue-toggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(207, 149, 130, 0.2); }

.muhurat-inputs { display: grid; grid-template-columns: minmax(88px, 1fr) 104px; gap: 6px; }
.muhurat-inputs select { min-width: 0; padding-left: 8px; padding-right: 8px; }
.coverage-hours-field input { max-width: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row-venue {
  grid-template-columns: minmax(150px, 0.65fr) minmax(0, 1.35fr);
}

.form-row-stories {
  grid-template-columns: 1fr 1fr;
}

.form-field { margin-bottom: 8px; }

.form-field label,
.form-field .form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent-heading);
  margin-bottom: 4px;
}

.form-field label span,
.form-field .form-label span { color: var(--heading); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field input[type="time"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 7px 11px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid rgba(66, 63, 48, 0.18);
  border-radius: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--heading);
  box-shadow: 0 0 0 3px rgba(207, 149, 130, 0.18);
}

.form-field input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-field textarea { resize: vertical; min-height: 58px; }

.form-time-range > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.form-time-range > div > span { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; }
.form-time-range > .single-time { display: block; }
.time-unavailable { display: flex !important; align-items: center; gap: 7px; margin-top: 7px !important; font-size: 0.7rem !important; letter-spacing: 0.08em !important; text-transform: none !important; cursor: pointer; }
.time-unavailable input { accent-color: var(--heading); }

.ritual-fieldset { margin: 0 0 12px; padding: 0; border: 0; }
.ritual-fieldset.is-invalid { outline: 1px solid #a64032; outline-offset: 6px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; margin: 0; letter-spacing: 0.04em; text-transform: none; cursor: pointer; }
.checkbox-grid input { accent-color: var(--heading); }

.event-fields[hidden], .shoot-detail[hidden], #parents-field[hidden], .referral-field[hidden], .event-remove[hidden] { display: none; }

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: inline-block;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid rgba(66, 63, 48, 0.18);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pill input:checked + span,
.pill span:hover {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-text);
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  width: 100%;
}

.btn-primary:hover { background: var(--btn-hover-bg); color: var(--btn-text-hover); }

.btn-outline {
  background: transparent;
  border-color: var(--heading);
  color: var(--heading);
}

.btn-outline:hover {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-text);
}

.contact-actions {
  max-width: none;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 420px;
}

.form-status {
  margin: 2px 0 8px;
}

.form-status:empty {
  display: none;
}

.inquiry-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 18, 12, 0.62);
  backdrop-filter: blur(8px);
}

.inquiry-success-card {
  width: min(520px, 100%);
  padding: 42px;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--details);
  box-shadow: 0 28px 80px rgba(20, 18, 12, 0.28);
}

.inquiry-success-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--heading);
  color: var(--bg-alt);
  font-size: 1.5rem;
}

.inquiry-success-card h2 { margin: 0 0 12px; font-family: var(--font-heading); font-weight: 300; color: var(--heading); }
.inquiry-success-card p:not(.form-section-label) { margin-bottom: 24px; color: var(--muted); }
.inquiry-success-card .btn { width: auto; min-width: 150px; }
.inquiry-success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-alt);
  padding: 56px 24px;
  border-top: 1px solid rgba(66, 63, 48, 0.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--accent-heading);
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--heading); }

.footer-social {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(66, 63, 48, 0.18);
  border-radius: 50%;
  color: var(--accent-heading);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-icon:hover {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-text);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.btn svg { margin-right: 8px; vertical-align: -4px; }

.copyright {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- App embed modal ---------- */

body.modal-open { overflow: hidden; }

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: #000;
}

.app-modal.open { display: block; }

.app-modal-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(18, 17, 12, 0.55);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.app-modal-close:hover {
  background: rgba(18, 17, 12, 0.85);
  transform: rotate(90deg);
}

.app-modal-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#app-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  position: relative;
  z-index: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-panel,
  .contact-form {
    width: 100%;
    max-width: none;
    height: auto;
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  :root { --banner-crop: 56px; }
  .section-inner { grid-template-columns: 1fr; gap: 40px; }
  .section-inner.flipped .text-col { order: 1; }
  .section-inner.flipped .media-col { order: 2; }
  .portal-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .portals-page .portal-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .form-row.service-options { grid-template-columns: 1fr; gap: 6px; }
  .event-heading-grid.has-muhurat,
  .event-heading-grid.has-event-coverage,
  .event-location-grid.has-session-duration,
  .event-attendance-grid.has-batu { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .about-cols { grid-template-columns: 1fr; gap: 18px; }
  .faq { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .about-photo img { transform: scale(1.04); }
  .contact-form { padding: 20px 22px 22px; }
}

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

@media (max-width: 600px) {
  .photo-strip { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-grid { max-width: 420px; }
  .hs-heading { bottom: 96px; }
  .contact-panel,
  .contact-form { padding: 16px; }
  .contact-line { flex-direction: column; gap: 6px; align-items: flex-start; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #F7F7F2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    z-index: 98;
  }

  .site-nav.open { max-height: 100vh; }

  .site-nav a {
    color: var(--accent-heading) !important;
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .site-nav a.active { color: var(--heading) !important; }

  .logo { z-index: 99; }
}

/* ---------- Morgan home layout ---------- */

.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
}

.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.5) 0%, rgba(20, 18, 12, 0.28) 50%, rgba(20, 18, 12, 0.6) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
  animation: fadeUp 1s ease both;
}

.hero-banner .eyebrow { color: #E6D5CF; }

/* ---------- Pixieset-style hero slideshow ---------- */

.hero-slideshow {
  padding: 0;
  display: block;
}

.hs-slides {
  position: absolute;
  inset: 0;
}

.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hs-slide.active {
  opacity: 1;
  visibility: visible;
}

.hs-slide-img,
.hs-slide-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.18) 0%, rgba(20, 18, 12, 0.1) 36%, rgba(20, 18, 12, 0.34) 100%);
}

.hs-heading {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.3;
  text-align: center;
  max-width: 90vw;
  pointer-events: none;
  text-shadow: 0 6px 22px rgba(20, 18, 12, 0.45), 0 2px 8px rgba(20, 18, 12, 0.35);
}

.hs-heading.is-tag {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.hs-arrow:hover { color: var(--details); opacity: 1; }

.hs-prev { left: 18px; }
.hs-next { right: 18px; }

.hs-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 14px;
}

.hs-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hs-dot.active {
  background: #fff;
  transform: scale(1.15);
}

/* ---------- Story / video section ---------- */

.story .heading {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 14px;
}

.story-tag {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.875rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  text-align: center;
  color: var(--heading);
  margin: 0;
}

.story-video {
  margin: 52px auto 0;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #14120c;
  box-shadow: 0 24px 60px rgba(66, 63, 48, 0.18);
}

.story-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.philosophy .section-inner {
  align-items: center;
}

.philosophy-copy {
  max-width: 520px;
}

.philosophy-copy .btn { margin-top: 32px; }

.philosophy-photos {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.philosophy-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(66, 63, 48, 0.18);
}

.philosophy-photo:first-child {
  margin-top: 48px;
}

.philosophy-photo:last-child {
  margin-bottom: 48px;
}

.works-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.works-item {
  margin: 0;
  overflow: hidden;
}

.works-item img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.works-item:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

.home-films {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.home-film {
  margin: 0;
}

.home-film-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #14120c;
}

.home-film-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-film figcaption {
  margin-top: 16px;
  text-align: center;
}

.home-film figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--accent-heading);
}

.home-film figcaption span {
  font-size: 0.9rem;
  color: var(--muted);
}

.connect {
  background: var(--accent-heading);
  color: #fff;
  text-align: center;
}

.connect .heading { color: #fff; }

.connect .connect-text { max-width: 560px; margin: 0 auto 8px; }

.connect .body.muted { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 768px) {
  .philosophy-photos { grid-template-columns: 1fr; }
  .philosophy-photo:first-child { margin-top: 0; }
  .philosophy-photo:last-child { margin-bottom: 0; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .home-films { grid-template-columns: 1fr; }
}

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

#block-area {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.blk {
  position: relative;
  margin: 48px auto;
  max-width: 960px;
}

.blk-heading { text-align: center; }
.blk-heading h2 { font-size: 2rem; }

.blk-text { max-width: 640px; }
.blk-text-p {
  font-family: var(--font-body, inherit);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text, #423F30);
  margin-bottom: 1.1em;
}

.blk-img .blk-fig { margin: 0; }
.blk-img img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  border-radius: 6px;
}
.blk-caption {
  font-size: 0.85rem;
  color: var(--muted, #797563);
  text-align: center;
  margin-top: 10px;
}

.blk-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.blk-gallery-item { margin: 0; }
.blk-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

.blk-video { max-width: 720px; }
.blk-video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.blk-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blk-btnwrap { text-align: center; }

.blk-quote {
  max-width: 640px;
  text-align: center;
}
.blk-quote blockquote {
  font-family: var(--font-heading, inherit);
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--accent-heading, #423F30);
  font-style: italic;
  margin: 0 0 14px;
}
.blk-quote-author {
  color: var(--muted, #797563);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.blk-divider {
  border: none;
  height: 1px;
  background: var(--details, #E6D5CF);
  margin: 48px 0;
}

@media (max-width: 768px) {
  .blk-gallery { grid-template-columns: 1fr 1fr; }
  .blk { margin: 36px auto; }
}

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