/* ============================================
   Jeeves Takes Charge — stylesheet
   Palette:
     cream    #FBF8F1
     ink      #23211D
     vermilion#E1443C
     petrol   #3D7C86
     mustard  #E3B93F
     navy     #1B2350
   Type: Josefin Sans (display) / Work Sans (body & UI)
   ============================================ */

:root {
  --cream: #FBF8F1;
  --cream-deep: #F2ECDD;
  --ink: #23211D;
  --ink-soft: #4A4740;
  --vermilion: #D6392F;
  --vermilion-dark: #B22C24;
  --petrol: #3D7C86;
  --mustard: #E3B93F;
  --navy: #1B2350;
  --navy-deep: #12183A;
  --line: rgba(35,33,29,0.14);
  --radius: 3px;
  --max-width: 1180px;

  --font-display: "Josefin Sans", "Work Sans", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.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;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: 760px; }

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,248,241,0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(35,33,29,0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand span { color: inherit; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); border-color: var(--vermilion); }
.site-nav a.nav-cta {
  background: var(--vermilion);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius);
  border: none;
  font-weight: 500;
}
.site-nav a.nav-cta:hover { background: var(--vermilion-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding: 0;
  text-align: center;
  background: #fff;
}
.hero-frame {
  margin: 0;
}
.hero-poster { width: 85%; height: auto; display: block; margin: 0 auto; }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 4px 16px 56px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--vermilion);
  color: #fff;
}
.btn-primary:hover { background: var(--vermilion-dark); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

/* ---------- Sections (shared) ---------- */
.section { padding: 96px 0; position: relative; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--vermilion);
  margin: 0 0 12px;
}
.eyebrow-light { color: var(--mustard); }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 32px;
  max-width: 26ch;
}
.light-heading { color: var(--cream); }

.prose p {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.prose .west-end-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  font-size: 1.2rem;
  margin-top: 28px;
}

/* ---------- About ---------- */
.about { background: var(--cream); }
.press-highlights { background: var(--navy); }
.review-cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.review-cards img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  align-self: center;
}
.review-cards img:last-child {
  grid-column: span 2;
  width: 92%;
  margin: 0 auto;
}
.wodehouse-aside {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wodehouse-aside img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(15%);
}
.wodehouse-aside p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.aside-name {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Performer ---------- */
.performer { background: var(--cream-deep); }
.performer-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.performer-photo img { border: 1px solid var(--line); }
.performer-copy p { color: var(--ink-soft); font-size: 1.03rem; }

.credits-strip {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
}
.credit { display: flex; flex-direction: column; gap: 4px; }
.credit-role {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--petrol);
  font-weight: 600;
}
.credit-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.heritage {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.heritage img { border: 1px solid var(--line); }
.heritage p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gallery-header { text-align: center; }
.gallery-header h2 { margin-left: auto; margin-right: auto; }
.gallery-grid-wrap {
  padding: 0 32px;
}
.gallery-grid {
  column-count: 3;
  column-gap: 14px;
}
.gallery-item {
  margin: 0 0 14px;
  overflow: hidden;
  background: var(--ink);
  break-inside: avoid;
  border-radius: 2px;
}
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.photo-credit {
  margin: 20px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: right;
}

/* ---------- Reviews (carousel) ---------- */
.reviews { background: var(--navy); }

.review-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 64px;
}

.review-track {
  position: relative;
  min-height: 220px;
}

.review {
  margin: 0;
  padding: 20px 0;
  text-align: center;

  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.455s ease, transform 0.455s ease, visibility 0.455s;
}
.review.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.review p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 16px;
}
.review .stars {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--mustard);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.review cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(251,248,241,0.65);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(251,248,241,0.3);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.carousel-arrow:hover { background: rgba(251,248,241,0.1); border-color: var(--mustard); }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(251,248,241,0.3);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.is-active { background: var(--mustard); }
.reviews-full-link {
  text-align: center;
  margin-top: 32px;
}
.reviews-full-link a {
  color: var(--mustard);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.reviews-full-link a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact { background: var(--cream-deep); }
.contact-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
}
.contact-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.contact-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.contact-title {
  color: var(--petrol);
  font-size: 0.92rem;
  margin: 0 0 18px;
}
.contact-details address { font-style: normal; color: var(--ink-soft); margin: 8px 0; }
.contact-details a { color: var(--vermilion); text-decoration: none; font-weight: 500; }
.contact-details a:hover { text-decoration: underline; }
.contact-details p { margin: 6px 0; }
.contact-details .contact-enquiries { margin-top: 32px; color: var(--ink-soft); }

/* ---------- Reviews page (full text) ---------- */
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.back-link:hover { color: var(--vermilion); }
h1.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 26ch;
}
.page-intro {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 60ch;
  margin: 0 0 8px;
}
.review-articles { margin-top: 32px; }
.review-article {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.review-article:last-child { border-bottom: none; }
.review-article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 4px;
  max-width: none;
}
.review-stars {
  color: var(--mustard);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-left: 10px;
  vertical-align: middle;
}
.review-meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0 0 20px;
}
.review-article blockquote.review-quote {
  background: var(--cream-deep);
  border-left: 4px solid var(--mustard);
  margin: 0 0 20px;
  padding: 28px 32px;
}
.review-article blockquote.review-quote p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
.review-article blockquote.review-quote p:last-child { margin-bottom: 0; }
.review-article .lead-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
}
.review-article .quote-source {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 6px;
}
.review-article p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
.review-footnote {
  font-size: 0.88rem !important;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 24px !important;
}
.archive-divider {
  margin: 64px 0 40px;
  border: none;
  border-top: 1px solid var(--line);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 44px 0;
  text-align: center;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.footer-inner p { margin: 4px 0; font-size: 0.9rem; color: rgba(251,248,241,0.72); }
.footer-fine { font-size: 0.8rem !important; color: rgba(251,248,241,0.5) !important; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18,15,10,0.88);
}
.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  z-index: 2;
}
.lightbox-content video {
  width: 100%;
  max-height: 80vh;
  background: #000;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}

.image-lightbox-content {
  max-width: 92vw;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.image-lightbox-content img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  background: #000;
  pointer-events: auto;
}
.image-lightbox-content .lightbox-close,
.image-lightbox-content .lightbox-nav {
  pointer-events: auto;
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.15s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .performer-grid,
  .heritage,
  .wodehouse-aside,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .performer-photo img,
  .heritage img { margin: 0 auto; max-width: 260px; }
  .wodehouse-aside img { margin: 0 auto; }
  .wodehouse-aside { text-align: center; }
  .contact-photo { margin: 0 auto; }
  .contact { text-align: center; }
  .review-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 32px 24px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 10px 0; }
  .site-nav a.nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .gallery-grid { column-count: 2; }
  .credits-strip { gap: 24px 40px; }

  .review-carousel { padding: 0 8px; }
  .review { padding: 36px 24px; }
  .review p { font-size: 1.1rem; }
  .carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }
  .carousel-arrow {
    position: static;
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .gallery-grid { column-count: 1; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}
