.brand.brand-logo { display: inline-flex; flex-direction: row; align-items: center; flex: 0 0 auto; line-height: 1; }
.brand.brand-logo img { display: block; width: 190px; height: auto; }
.footer-brand.brand-logo img { width: 235px; }
.main-nav a { font-size: 15px; font-weight: 900; letter-spacing: 1.3px; }
.panto-hero h1 { color: #f7f8ff; font-size: clamp(34px, 4.25vw, 60px); line-height: 1.04; letter-spacing: -2.5px; margin-bottom: 18px; }
.panto-hero h1 span { color: inherit; font-size: 1em; letter-spacing: inherit; }
.panto-hero .panto-kicker { color: #e8edf9; font: 700 clamp(16px, 1.6vw, 22px)/1.4 var(--display); letter-spacing: .1px; margin: 20px 0 22px; }
.panto-hero-actions > .button { font-size: 15px; font-weight: 900; letter-spacing: 1.5px; }
.cast-card > div { padding-bottom: 22px; }
.cast-card .cast-bio { color: #c6cee0; font: 400 13px/1.6 var(--font); margin: 13px 0 0; letter-spacing: normal; }
.visit-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 55px; }
.visit-detail { background: #192340; border: 1px solid #34466d; padding: 28px 25px 30px; }
.visit-detail > span { display: block; color: var(--gold); font: 800 10px/1.4 var(--display); letter-spacing: 1.6px; }
.visit-detail h3 { color: #fff; font: 800 19px/1.18 var(--display); letter-spacing: .1px; margin: 14px 0 0; }
.visit-detail p { color: #c6cee0; font: 400 15px/1.65 var(--font); margin: 13px 0 0; }
.visit-detail a { display: inline-block; color: var(--gold); font: 800 11px/1.5 var(--display); letter-spacing: 1px; border-bottom: 1px solid var(--gold); margin-top: 19px; padding-bottom: 4px; }
.visit-detail .visit-contact-email { display: block; color: var(--gold); font: 700 14px/1.5 var(--font); letter-spacing: normal; margin-top: 16px; overflow-wrap: anywhere; user-select: text; }

/* Your Visit: understated theatre-programme frames, not corporate tiles. */
.panto-page.subpage .visit-detail {
  position: relative;
  background: linear-gradient(145deg, #192341 0%, #111b35 100%);
  border: 1px solid #8b754c;
  box-shadow: inset 0 0 0 1px #f0c7770b;
  overflow: hidden;
}
.panto-page.subpage .visit-detail::after {
  content: none;
}
.panto-page.subpage .visit-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(100deg, #0b1432f4 0%, #101a38e6 57%, #111a36b8 100%), url('assets/portobello-town-hall.jpg') center center / cover no-repeat;
  border: 1px solid #d4ab59;
  box-shadow: inset 0 0 0 3px #0c1631, inset 0 0 0 4px #d4ab594a, 0 14px 34px #03091e3d;
}
.panto-page.subpage .visit-box::before {
  content: none;
}
.panto-page.subpage .visit-box-pin { display: none; }
.panto-page.subpage .visit-box-kicker { display: block; margin-bottom: 27px; color: #ffd166; }
.panto-page.subpage .visit-box h3 { line-height: 1.05; }
@media (max-width: 900px) { .visit-details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .brand.brand-logo img { width: 145px; }
  .footer-brand.brand-logo img { width: 205px; }
  .main-nav a { font-size: 13px; }
  .panto-hero h1 { font-size: clamp(30px, 7.5vw, 45px); letter-spacing: -1.4px; }
  .visit-details { grid-template-columns: 1fr; margin-top: 36px; }
  .visit-detail { padding: 24px; }
}
.ticket-skyline { border-bottom: 0 !important; }
.schedule-intro .eyebrow { color: #ffd166; font-size: clamp(18px, 2.25vw, 27px); font-weight: 900; line-height: 1.15; letter-spacing: .045em; margin-bottom: 12px; }

/* Immersive opening: show artwork and skyline lead, while all page sections remain unchanged. */
.panto-page .site-header { position: absolute; top: 0; left: 0; width: 100%; background: linear-gradient(#02091bc4, transparent); border-bottom: 0; z-index: 40; }
.panto-page .header-inner { min-height: 112px; }
.panto-page .site-header .brand-logo img { filter: brightness(0) invert(1) drop-shadow(0 4px 5px #010721b3) drop-shadow(0 0 10px #07153a80); }
@media (min-width: 701px) { .panto-page .header-inner { position: relative; } .panto-page .main-nav { position: absolute; left: 50%; transform: translateX(-50%); } }
.cinematic-hero { position: relative; min-height: clamp(730px,70svh,960px); background: #07318a url('assets/edinburgh-skyline.png') center bottom / cover no-repeat; overflow: hidden; isolation: isolate; }
.cinematic-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#02071b91 0%,transparent 18%,#0010390d 42%,#01082478 71%,#02071beb 100%); }
.cinematic-inner { position: relative; min-height: clamp(730px,70svh,960px); max-width: 1580px; width: 90%; margin: auto; padding: 132px 0 145px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.cinematic-eyebrow { margin: 0; color: #fff; font: 900 clamp(12px,1.15vw,17px)/1.3 var(--display); letter-spacing: .22em; text-align: center; text-shadow: 0 3px 12px #001637; }
.cinematic-title { width: min(1250px, 96%); margin: 16px auto 0; line-height: 0; filter: drop-shadow(0 15px 19px #001027c9); }
.cinematic-title img { width: 100%; height: auto; display: block; }
.cinematic-title .cinematic-title-stacked { display: none; }
.cinematic-footer { position: absolute; left: 0; right: 0; bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 25px; text-shadow: 0 2px 10px #000814; }
.cinematic-kicker { color: #fff; font: 800 clamp(18px,2vw,29px)/1.15 var(--display); margin: 0 0 13px; }
.cinematic-facts { color: #f5f7ff; font: 800 clamp(13px,1.1vw,18px)/1.4 var(--display); letter-spacing: .055em; margin: 0; }
.cinematic-facts span { padding: 0 13px; }
.cinematic-book { padding: 21px 34px; white-space: nowrap; flex: none; font: 900 17px/1 var(--display); letter-spacing: .05em; text-shadow: none; }
.ticket-cta { gap: 12px; }
.ticket-cta::before { content: ''; display: block; flex: 0 0 23px; width: 23px; height: 23px; background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a3 3 0 0 0 0 6v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a3 3 0 0 0 0-6Z'/%3E%3Cpath d='M13 5v2m0 4v2m0 4v2'/%3E%3C/svg%3E"); transform: rotate(-25deg); }
.ticket-cta.header-book::before { flex-basis: 19px; width: 19px; height: 19px; }
.ticket-cta.performance-book::before { flex-basis: 18px; width: 18px; height: 18px; }
@media(max-width: 850px) {
  .panto-page .header-inner { min-height: 82px; }
  .cinematic-hero, .cinematic-inner { min-height: 760px; }
  .cinematic-hero { background-position: 54% bottom; }
  .cinematic-inner { padding: 155px 0 210px; }
  .cinematic-title { width: 100%; }
  .cinematic-title .cinematic-title-wide { display: none; }
  .cinematic-title .cinematic-title-stacked { display: block; max-height: 350px; object-fit: contain; }
  .cinematic-footer { display: block; text-align: center; bottom: 27px; }
  .cinematic-kicker { font-size: 21px; }
  .cinematic-facts { font-size: 12px; margin-bottom: 24px; }
  .cinematic-book { display: inline-flex; padding: 19px 28px; }
}
@media(max-width: 460px) {
  .cinematic-hero, .cinematic-inner { min-height: 710px; }
  .cinematic-inner { padding-bottom: 190px; }
  .cinematic-title { width: 98%; }
  .cinematic-facts span { padding: 0 6px; }
}

/* A compact, coherent multi-page panto site. */
.panto-page.subpage .site-header { position: relative; background: #06122f; border-bottom: 1px solid #293b66; }
.panto-page .header-inner { min-height: 88px; }
.panto-page .main-nav { display: flex; gap: clamp(14px, 1.7vw, 28px); }
.panto-page .main-nav a { font-size: clamp(11px, .85vw, 14px); white-space: nowrap; }
.panto-page .main-nav a[aria-current="page"] { color: #ffd166; }
.subpage-intro { background: #091b4a url('assets/edinburgh-skyline.png') center 70%/cover; padding: 105px 0 90px; box-shadow: inset 0 -100px 90px #071028bd; }
.subpage-intro .eyebrow { color: #ffd166; }
.subpage-intro h1 { color: #fff; font: 900 clamp(40px,6.5vw,90px)/1.05 var(--display); margin: 17px 0; }
.subpage-intro p:last-child { color: #e1e7f6; font-size: clamp(17px,1.6vw,23px); }
.panto-page.subpage .cast-section, .panto-page.subpage .visit-section { padding-top: 65px; padding-bottom: 75px; }
.panto-page.home-page .panto-story { padding-top: 70px; padding-bottom: 75px; }
.panto-page.home-page .cinematic-hero, .panto-page.home-page .cinematic-inner { min-height: clamp(650px,74svh,850px); }
.panto-page.home-page .cinematic-inner { padding-top: 105px; }
.home-tickets { background: #081330; padding: 50px 0 55px; text-align: center; }
.home-tickets h2 { color: #fff; font: 900 clamp(32px,4.4vw,66px)/1.07 var(--display); margin: 12px 0; }
.home-tickets p:not(.eyebrow) { color: #cbd4eb; margin: 0 0 23px; }
.home-tickets .button { display: inline-flex; }
.quick-links { padding-top: 45px; padding-bottom: 60px; }
.quick-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quick-links-grid a { background: #182447; border: 1px solid #34446e; padding: clamp(24px,3vw,45px); color: #fff; text-decoration: none; }
.quick-links-grid a { display: flex; flex-direction: column; align-items: flex-start; }
.quick-links-grid a {
  background: linear-gradient(145deg, #192341 0%, #111b35 100%);
  border: 1px solid #8b754c;
  box-shadow: inset 0 0 0 1px #f0c7770b;
}
.quick-links-grid a:hover,
.quick-links-grid a:focus-visible {
  border-color: #dbba74;
  background: linear-gradient(145deg, #202c4d 0%, #16203c 100%);
}
.quick-links-grid span, .quick-links-grid strong { color: #ffd166; font: 900 12px var(--display); letter-spacing: .11em; }
.quick-links-grid h2 { color: #fff; font: 900 clamp(28px,3vw,43px)/1.08 var(--display); margin: 14px 0; }
.quick-links-grid p { color: #cad3e7; line-height: 1.65; }
.quick-links-grid strong { display: block; margin-top: auto; padding-top: 24px; }
.community-band { background: #132657; padding: 68px 0; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,7vw,110px); }
.community-grid h2 { color: #fff; font: 900 clamp(26px,3vw,43px)/1.06 var(--display); margin: 13px 0; }
.community-grid p:not(.eyebrow) { color: #d5def0; line-height: 1.7; }
.community-grid .button { display: inline-flex; font-size: 14px; padding: 17px 23px; margin-top: 14px; background: #ec2388; color: #fff; }
.micro-note { font-size: 12px !important; color: #aebbd9 !important; margin-top: 12px !important; }
.contact-section { padding: 70px 0 90px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.contact-grid h2 { font: 900 clamp(31px,4vw,56px)/1.05 var(--display); color: #fff; }
.contact-grid p { color: #cbd4e9; font-size: 17px; line-height: 1.7; }
.contact-email-link { color: #ffd166; overflow-wrap: anywhere; }
.contact-form { background: #182447; border: 1px solid #34446e; padding: 35px; display: flex; flex-direction: column; }
.contact-form label { color: #f4f6ff; font-weight: 700; margin: 0 0 9px; }
.contact-form input, .contact-form select, .contact-form textarea { background: #091430; border: 1px solid #64769c; border-radius: 0; color: #fff; padding: 13px 15px; font: 500 16px var(--font); margin-bottom: 21px; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form button { cursor: pointer; justify-content: center; }
.sticky-book { position: fixed; z-index: 80; right: 22px; top: 14px; padding: 15px 22px; font-size: 13px; letter-spacing: .07em; box-shadow: 0 9px 25px #0007; opacity: 0; visibility: hidden; transform: translateY(-15px); transition: opacity .2s,transform .2s,visibility .2s; }
.sticky-book.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.subpage .sticky-book { top: auto; bottom: 20px; }
.panto-page.subpage .ticket-skyline { min-height: 380px; }
.panto-page.subpage .ticket-skyline-copy { padding-top: 110px; }
.panto-page.subpage .performance-list-wrap { padding-top: 55px; }
@media(max-width: 1050px) { .panto-page .main-nav { gap: 12px; } .panto-page .main-nav a { letter-spacing: .02em; } .brand.brand-logo img { width: 160px; } }
@media(max-width: 700px) { .panto-page .header-inner { min-height: 76px; } .panto-page .main-nav { display: none; } .panto-page .main-nav.is-open { display: flex; } .panto-page.home-page .cinematic-hero,.panto-page.home-page .cinematic-inner { min-height: 690px; } .panto-page.home-page .cinematic-inner { padding-top: 115px; } .subpage-intro { padding: 80px 0 60px; } .quick-links-grid,.community-grid,.contact-grid { grid-template-columns: 1fr; } .community-band { padding: 48px 0; } .sticky-book { top: auto; bottom: 15px; right: 15px; } .contact-form { padding: 22px; } }
.donation-band { background: #0a1641; padding: 42px 0; border-top: 1px solid #32406f; }
.donation-band .shell { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.donation-band h2 { color: #fff; font: 900 clamp(23px,2.7vw,39px)/1.1 var(--display); margin: 6px 0; }
.donation-band p:not(.eyebrow) { color: #cbd4e7; margin: 10px 0; }
.donation-band .button { white-space: nowrap; flex: none; }
.newsletter-footer { background: linear-gradient(110deg,#0e1c4c,#132e7c 55%,#10204f); padding: 48px 0 46px; border-top: 1px solid #314c95; }
.newsletter-footer .shell { max-width: 1120px; }
.newsletter-footer h2 { color: #ffd166; font: 800 clamp(25px,2.8vw,38px)/1.1 var(--display); margin: 0 0 30px; }
.newsletter-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: end; }
.newsletter-form label { display: flex; flex-direction: column; color: #fff; font: 700 16px/1.4 var(--font); }
.newsletter-form input { background: transparent; border: none; border-bottom: 2px solid #ffd166; color: #fff; border-radius: 0; outline-offset: 5px; padding: 13px 0; font: 500 17px var(--font); width: 100%; }
.newsletter-form input::placeholder { color: #b6c5e5; }
.newsletter-form button { cursor: pointer; background: #ffd166; color: #091637; border: 2px solid #fff; font: 900 16px var(--display); padding: 16px 32px; min-width: 164px; }
.newsletter-footer p { color: #e3e8fa; font-size: 14px; line-height: 1.65; margin-top: 20px; max-width: 900px; }
@media(max-width:700px) { .donation-band .shell { flex-direction: column; align-items: flex-start; } .newsletter-form { grid-template-columns: 1fr; gap: 18px; } .newsletter-form button { width: 100%; } .newsletter-footer { padding: 39px 0; } }
.form-feedback { color: #e8edf9; font-size: 14px; margin: 8px 0; grid-column: 1/-1; }
.form-feedback[hidden] { display: none; }
.form-error, .field-error { color: #ffd1df !important; }
.field-error { display: block; font: 500 12px/1.4 var(--font); margin-top: 5px; }
.wix-field { display: flex; flex-direction: column; color: #f7f8ff; font-weight: 700; gap: 7px; }
.wix-field-checkbox { flex-direction: row; align-items: start; grid-column: 1/-1; gap: 12px; font-weight: 500; font-size: 13px; }
.wix-field-checkbox input { width: 19px !important; height: 19px; flex: none; margin: 1px 0 0; accent-color: #ffd166; }
.wix-field-checkbox .field-error { align-self: end; }
.contact-form .wix-field { margin-bottom: 20px; }
.contact-form .wix-field input, .contact-form .wix-field textarea { margin: 0; }
.newsletter-form .wix-field { min-width: 0; }
.newsletter-form .wix-field input:not([type='checkbox']) { margin-bottom: 0; }
.newsletter-form .wix-field-checkbox { grid-column: 1/3; grid-row: 2; }
.newsletter-form .wix-submit { grid-column: 3; grid-row: 1; }
.newsletter-form .wix-submit:disabled, .contact-form .wix-submit:disabled { opacity: .6; cursor: wait; }
@media(max-width:700px) { .newsletter-form .wix-field-checkbox,.newsletter-form .wix-submit { grid-column: 1; grid-row: auto; } }

/* One consistent, compact opening treatment for every inner page. */
.panto-page.subpage .site-header { background: #06122f; }
.panto-page.subpage .subpage-intro {
  min-height: 278px;
  display: flex;
  align-items: center;
  padding: 48px 0 52px;
  background: linear-gradient(90deg, #071735a8 0%, #07173570 57%, #07173550 100%),
              linear-gradient(0deg, #07132b8a 0%, transparent 54%),
              url('assets/edinburgh-skyline.png') center 88% / cover no-repeat;
  box-shadow: inset 0 -18px 28px #070d2059;
}
.subpage-intro .eyebrow { margin: 0 0 13px; font-size: 11px; letter-spacing: .17em; }
.subpage-intro h1 { font: 900 clamp(44px, 5vw, 70px)/1.05 var(--display); margin: 0 0 10px; letter-spacing: -.035em; }
.subpage-intro p:last-child { font: 500 clamp(16px, 1.4vw, 19px)/1.5 var(--font); margin: 0; }
.panto-page.subpage .panto-ticket-section { padding: 0; }
.panto-page.subpage .performance-list-wrap { padding: 42px 0 74px; }
.panto-page.subpage .schedule-intro h2 { font: 900 clamp(25px, 2.7vw, 38px)/1.1 var(--display); letter-spacing: -.025em; margin: 0; }
.panto-page.subpage .schedule-intro .eyebrow { font-size: 11px; letter-spacing: .13em; margin-bottom: 9px; }

/* Donation and newsletter belong to the footer, not another full-screen section. */
.donation-band { padding: 21px 0; background: #0b1740; }
.donation-band .shell { gap: 24px; }
.donation-band h2 { font: 900 clamp(18px, 1.8vw, 25px)/1.2 var(--display); letter-spacing: -.015em; margin: 0 0 2px; }
.donation-band p:not(.eyebrow) { color: #c8d3eb; margin: 0; font-size: 13px; line-height: 1.45; }
.donation-band .donation-button { min-height: 43px; padding: 0 22px; font-size: 11px; }
.newsletter-footer { padding: 26px 0 20px; }
.newsletter-footer .shell { max-width: 1200px; display: grid; grid-template-columns: 235px minmax(0,1fr); align-items: center; gap: 34px; }
.newsletter-footer h2 { font: 900 clamp(20px, 1.9vw, 26px)/1.1 var(--display); margin: 0 0 5px; }
.newsletter-footer .newsletter-heading p { margin: 0; font-size: 12px; color: #e1e7f5; line-height: 1.45; }
.newsletter-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 10px 20px; align-items: end; }
.newsletter-form .wix-field { font-size: 13px; gap: 3px; }
.newsletter-form .wix-field input:not([type='checkbox']) { font-size: 15px; padding: 6px 0; }
.newsletter-form .wix-field-checkbox { grid-column: 1/3; grid-row: 2; font-size: 11px; line-height: 1.4; gap: 8px; }
.newsletter-form .wix-field-checkbox input { width: 16px !important; height: 16px; }
.newsletter-form .wix-submit { grid-column: 3; grid-row: 1; min-width: 110px; min-height: 40px; padding: 9px 15px; font-size: 12px; }
.newsletter-form .form-feedback { margin: 0; font-size: 12px; }
.footer-top { padding: 36px 0 38px; }
.footer-top p { margin-top: 16px; }
@media (max-width: 900px) {
  .newsletter-footer .shell { grid-template-columns: 1fr; gap: 18px; }
  .newsletter-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
}
@media (max-width: 700px) {
  .panto-page.subpage .subpage-intro { min-height: 240px; padding: 42px 0; }
  .subpage-intro h1 { font-size: clamp(36px, 9vw, 56px); }
  .donation-band .shell { flex-direction: row; align-items: center; }
  .donation-band .donation-button { padding: 0 14px; }
  .newsletter-heading { display: block; }
  .newsletter-form { grid-template-columns: 1fr 1fr; gap: 12px; }
  .newsletter-form .wix-field-checkbox { grid-column: 1/-1; grid-row: auto; }
  .newsletter-form .wix-submit { grid-column: 1/-1; grid-row: auto; width: 100%; }
}
@media (max-width: 450px) {
  .donation-band .shell { gap: 12px; }
  .donation-band h2 { font-size: 16px; }
  .donation-band p:not(.eyebrow) { font-size: 11px; }
  .donation-band .donation-button { font-size: 10px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .wix-field-checkbox, .newsletter-form .wix-submit { grid-column: 1; }
}

/* The home artwork is the opening poster: the story begins after the first viewport. */
.panto-page.home-page .cinematic-hero,
.panto-page.home-page .cinematic-inner {
  min-height: max(740px, 100svh);
}
.panto-page.home-page .cinematic-inner {
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 175px;
}
@media (max-width: 700px) {
  .panto-page.home-page .cinematic-hero,
  .panto-page.home-page .cinematic-inner { min-height: max(690px, 100svh); }
  .panto-page.home-page .cinematic-inner {
    justify-content: flex-start;
    padding-top: clamp(100px, 19svh, 170px);
    padding-bottom: 210px;
  }
}

/* A restrained, theatre-style finish: one slim signup and one dark footer. */
.newsletter-footer { background: linear-gradient(115deg, #0b1636, #13275d 62%, #0b1636); border-top: 1px solid #283b68; padding: 24px 0 19px; }
.newsletter-footer .shell { grid-template-columns: 250px minmax(0,1fr); gap: 30px; }
.newsletter-footer h2 { color: #ffd166; font: 700 22px/1.2 Georgia, serif; letter-spacing: 0; margin: 0 0 4px; }
.newsletter-footer .newsletter-heading p { font-size: 12px; color: #cdd7eb; }
.newsletter-form { gap: 8px 17px; }
.newsletter-form .wix-field { color: #f7f7fa; font-size: 12px; font-weight: 500; }
.newsletter-form .wix-field input:not([type='checkbox']) { border-bottom: 1px solid #c5a96c; padding: 4px 0 8px; font-size: 15px; }
.newsletter-form .wix-field-checkbox { font-size: 11px; color: #c5cee1; font-weight: 400; }
.newsletter-form .wix-submit { color: #f5f5f8; background: transparent; border: 1px solid #ffd166; font: 800 11px var(--display); letter-spacing: .09em; min-height: 40px; padding: 8px 20px; }
.newsletter-form .wix-submit:hover { background: #ffd166; color: #09122b; }
.footer { background: #05070c; border-top: 1px solid #283048; }
.footer-top { align-items: start; padding: 44px 0 38px; gap: 40px; }
.footer-brand.brand-logo img { width: 177px; filter: brightness(0) invert(1); }
.footer-identity p { font: 400 12px/1.65 var(--font); color: #afb4c2; margin-top: 15px; }
.footer-identity p { color: #ffd166; font: 700 12px/1.5 var(--display); letter-spacing: .14em; max-width: 260px; }
.footer-links { gap: clamp(35px, 6vw, 90px); }
.footer-links > div { gap: 10px; }
.footer-links span { color: #ffd166; font-size: 10px; margin-bottom: 5px; letter-spacing: .15em; }
.footer-links a { color: #d7d8df; font-size: 13px; }
.footer-links a:hover { color: #ffd166; }
.footer-links .footer-donate { color: #ffd166; }
.footer-bottom { padding: 16px 0 22px; font-size: 9px; color: #858b9b; border-top: 1px solid #232937; }
.footer-bottom .pink { color: #ffd166; }
@media (max-width: 900px) {
  .newsletter-footer .shell { grid-template-columns: 1fr; gap: 13px; }
  .newsletter-heading { display: block; }
}
@media (max-width: 700px) {
  .footer-top { display: flex; flex-wrap: wrap; gap: 24px; }
  .footer-identity { flex: 1 1 190px; }
  .footer-links { flex: 1 1 230px; justify-content: space-between; gap: 22px; margin: 0; }
  .newsletter-footer { padding: 23px 0; }
  .newsletter-form { grid-template-columns: 1fr 1fr; }
  .newsletter-form .wix-submit { grid-column: 1/-1; grid-row: auto; }
}
@media (max-width: 450px) {
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .wix-field-checkbox { grid-column: 1; }
  .footer-links { gap: 24px; }
  .footer-bottom span { display: inline; }
}

/* The cast gallery opens individual, atmospheric biography pages. */
.cast-profile-link { display: block; color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.cast-profile-link:hover, .cast-profile-link:focus-visible { transform: translateY(-5px); border-color: #e8c276; }
.cast-profile-link:focus-visible { outline: 2px solid #ffd166; outline-offset: 4px; }
.cast-read-more { display: inline-block; margin-top: 19px; color: #ffd166; font: 700 11px/1.4 var(--font); letter-spacing: .13em; }
.cast-read-more span { margin-left: 7px; }
.cast-profile-link > div { display: flex; flex-direction: column; align-items: flex-start; min-height: 178px; padding: 22px 18px 20px; }
.cast-profile-link h3, .cast-profile-link .cast-character { font: 800 clamp(15px, 1.4vw, 19px)/1.22 var(--display); letter-spacing: -.01em; margin: 0; }
.cast-profile-link h3 { color: #fff; }
.cast-profile-link .cast-character { color: #ffd166; margin-top: 7px; }
.cast-profile-link .cast-read-more { display: inline-flex; align-items: center; gap: 11px; margin-top: auto; padding: 12px 16px; background: #ed2187; color: white; font: 800 11px/1.25 var(--display); letter-spacing: .09em; min-height: 42px; transition: background .2s ease; }
.cast-profile-link .cast-read-more span { display: inline; min-height: 0; margin: 0; font: inherit; color: inherit; letter-spacing: 0; }
.cast-profile-link:hover .cast-read-more, .cast-profile-link:focus-visible .cast-read-more { background: #c9186f; }
@media (max-width: 700px) { .cast-profile-link > div { padding: 16px 12px; min-height: 176px; } .cast-profile-link h3, .cast-profile-link .cast-character { font-size: 15px; } .cast-profile-link .cast-read-more { font-size: 9px; padding: 10px; } }
.cast-biography { background: linear-gradient(90deg, rgba(4,9,29,.82), rgba(4,9,29,.67)), url('assets/edinburgh-skyline.png') center center / cover fixed; min-height: max(770px, 95svh); padding: clamp(54px, 7vw, 110px) 0 115px; }
.cast-biography .shell { max-width: 1250px; }
.bio-back { display: inline-block; color: #ffd166; font: 700 12px var(--font); letter-spacing: .11em; text-decoration: none; margin-bottom: 55px; }
.bio-back:hover, .bio-more:hover { text-decoration: underline; }
.bio-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1fr); align-items: center; gap: clamp(35px, 7vw, 115px); }
.bio-portrait { text-align: center; }
.bio-portrait img { display: block; width: min(100%, 510px); max-height: 640px; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 15px 35px rgba(0,0,0,.3)); }
.bio-eyebrow { display: none; }
.bio-copy h1 { font: 800 clamp(48px, 5.8vw, 86px)/.98 var(--display); color: white; margin: 0 0 15px; }
.bio-copy h2 { color: #ffd166; font: 800 clamp(19px, 2vw, 27px)/1.25 var(--display); letter-spacing: .015em; margin: 0 0 32px; }
.bio-prose { max-width: 620px; color: #e5e9f4; font: 400 clamp(16px, 1.35vw, 19px)/1.75 var(--font); }
.bio-prose p { margin: 0; }
.bio-prose p + p { margin-top: 1.25em; }
.bio-prose strong { color: #fff; font-weight: 700; }
.bio-prose em { font-style: italic; }
.bio-layout { align-items: start; }
.bio-more { display: inline-block; margin-top: 45px; color: #ffd166; font: 700 11px var(--font); letter-spacing: .1em; text-decoration: none; }
@media (max-width: 760px) {
  .cast-biography { background-attachment: scroll; min-height: auto; padding: 37px 0 72px; }
  .bio-back { margin-bottom: 25px; }
  .bio-layout { grid-template-columns: 1fr; gap: 24px; }
  .bio-portrait img { max-height: 440px; width: min(80%, 360px); }
  .bio-copy h1 { font-size: clamp(42px, 11vw, 68px); }
  .bio-copy h2 { margin-bottom: 25px; }
}

/* Phone-first rhythm shared across every page. */
@media (max-width: 600px) {
  .panto-page { overflow-x: clip; }
  .panto-page .header-inner { min-height: 70px; }
  .panto-page .site-header .brand-logo img { width: 142px; }
  .panto-page .menu-toggle { min-width: 44px; min-height: 44px; }
  .panto-page .main-nav.is-open { background: #07132f; padding: 15px 24px 22px; border-bottom: 1px solid #334b80; box-shadow: 0 18px 30px #01071ad9; }
  .panto-page .main-nav.is-open a { font-size: 14px; padding: 12px 0; }
  .panto-page.subpage .subpage-intro { min-height: 205px; padding: 37px 0 43px; background-position: center 88%; }
  .subpage-intro h1 { font-size: clamp(37px, 9vw, 52px); line-height: 1.05; margin-bottom: 12px; overflow-wrap: normal; }
  .subpage-intro p:last-child { font-size: 16px; line-height: 1.45; }
  .panto-page.subpage .cast-section, .panto-page.subpage .visit-section { padding-top: 46px; padding-bottom: 57px; }
  .cast-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 440px; margin-inline: auto; }
  .cast-profile-link img { aspect-ratio: 1/1; object-fit: contain; object-position: center center; }
  .cast-profile-link > div { min-height: auto; padding: 21px 22px 23px; }
  .cast-profile-link h3, .cast-profile-link .cast-character { font-size: clamp(19px, 5vw, 24px); }
  .cast-profile-link .cast-read-more { margin-top: 23px; min-height: 45px; padding: 13px 17px; font-size: 11px; }
  .panto-page.subpage .performance-list-wrap { padding: 32px 0 56px; }
  .panto-page.subpage .schedule-intro h2 { font-size: clamp(25px, 7vw, 34px); }
  .performance-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 18px 0; }
  .performance-row .performance-book { min-height: 44px; padding: 12px 14px; font-size: 11px; white-space: nowrap; }
  .contact-section { padding: 45px 0 60px; }
  .contact-grid { gap: 26px; }
  .contact-grid h2 { font-size: clamp(32px, 9vw, 45px); }
  .contact-form { padding: 20px; }
  .visit-details { gap: 14px; }
  .visit-detail { padding: 22px 20px; }
  .quick-links { padding-top: 28px; padding-bottom: 42px; }
  .quick-links-grid { gap: 15px; }
  .newsletter-footer { padding: 27px 0 29px; }
  .newsletter-footer .shell { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-footer h2 { font-size: 23px; }
  .newsletter-form { grid-template-columns: 1fr; gap: 16px; }
  .newsletter-form .wix-field-checkbox, .newsletter-form .wix-submit { grid-column: 1; grid-row: auto; }
  .newsletter-form .wix-submit { width: 100%; min-height: 45px; }
  .footer-top { flex-direction: column; gap: 25px; padding: 35px 0 28px; }
  .footer-identity, .footer-links { flex: none; width: 100%; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin: 0; }
  .footer-links > div { gap: 12px; }
  .footer-bottom { display: flex; flex-wrap: wrap; gap: 9px 22px; line-height: 1.6; }
  .footer-bottom span { display: inline; margin: 0; }
  .subpage .sticky-book { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 11px 15px; font-size: 11px; }
}
@media (max-width: 390px) {
  .panto-page .site-header .brand-logo img { width: 134px; }
  .cinematic-facts { font-size: 11px; letter-spacing: 0; }
  .cinematic-facts span { padding: 0 3px; }
  .cinematic-kicker { font-size: 19px; }
  .subpage-intro h1 { font-size: clamp(33px, 9vw, 38px); }
}

/* A closer, less empty opening composition on phones. */
@media (max-width: 700px) {
  .panto-page.home-page .cinematic-hero,
  .panto-page.home-page .cinematic-inner { min-height: max(720px, 100svh); }
  .panto-page.home-page .cinematic-hero {
    background-size: auto 155%;
    background-position: center bottom;
  }
  .panto-page.home-page .cinematic-inner {
    padding-top: clamp(74px, 10svh, 100px);
    padding-bottom: 130px;
  }
  .panto-page.home-page .cinematic-title {
    margin-top: 0;
    width: 110%;
    max-width: 430px;
    transform: translateX(-20px);
  }
  .panto-page.home-page .cinematic-title-stacked { max-height: 340px; }
  .panto-page.home-page .cinematic-footer { bottom: 220px; }
  .panto-page.home-page .cinematic-footer > div { transform: translateY(-36px); }
  .panto-page.home-page .cinematic-footer .cinematic-book { transform: translateY(24px); }
}

/* A consistent chapter opening beneath each castle banner. */
.panto-page.subpage .cast-section,
.panto-page.subpage .visit-section,
.panto-page.subpage .contact-section,
.panto-page.subpage .panto-ticket-section { background: #090e20; }
.panto-page.subpage .cast-section,
.panto-page.subpage .visit-section,
.panto-page.subpage .contact-section { padding-top: 58px; }
.panto-page.subpage .performance-list-wrap { padding-top: 58px; }
.panto-page.subpage .visit-grid { align-items: start; }
.panto-page.subpage .schedule-intro { align-items: start; }
.panto-page.subpage .cast-section .section-heading { align-items: start; margin-top: 0; padding-top: 0; }
.panto-page.subpage .schedule-intro { margin-top: 0; padding-top: 0; }
.panto-page.subpage .cast-section .section-heading h2,
.panto-page.subpage .visit-grid h2,
.panto-page.subpage .contact-grid h2,
.panto-page.subpage .schedule-intro h2 {
  font: 900 clamp(34px, 3.2vw, 54px)/1.05 var(--display);
  letter-spacing: -.035em;
  color: #f8f8fc;
  margin-top: 0;
}
.panto-page.subpage .schedule-intro h2 .gold,
.panto-page.subpage .cast-section h2 .gold,
.panto-page.subpage .visit-grid h2 .gold,
.panto-page.subpage .contact-grid h2 .gold { color: #ffd166; }
.panto-page.subpage .schedule-intro p:last-child,
.panto-page.subpage .cast-section .section-heading > p,
.panto-page.subpage .visit-grid > div:first-child > p,
.panto-page.subpage .contact-grid > div:first-child > p {
  color: #c7cee0;
  font: 400 17px/1.65 var(--font);
}
@media (max-width: 700px) {
  .panto-page.subpage .cast-section,
  .panto-page.subpage .visit-section,
  .panto-page.subpage .contact-section { padding-top: 45px; }
  .panto-page.subpage .performance-list-wrap { padding-top: 45px; }
  .panto-page.subpage .cast-section .section-heading h2,
  .panto-page.subpage .visit-grid h2,
  .panto-page.subpage .contact-grid h2,
  .panto-page.subpage .schedule-intro h2 { font-size: clamp(32px, 8.4vw, 42px); }
}

/* Brighter, gently dimensional gold: illuminated print, not metallic 3D. */
.panto-page { --gold: #ffe082; }
.panto-page .gold,
.panto-page.subpage .schedule-intro h2 .gold,
.panto-page.subpage .cast-section h2 .gold,
.panto-page.subpage .visit-grid h2 .gold,
.panto-page.subpage .contact-grid h2 .gold {
  color: #ffe082;
  background: linear-gradient(180deg, #fff2ae 4%, #ffdf77 45%, #f4bb49 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 1px #130d2066);
}
.panto-page .quick-links-grid span,
.panto-page .quick-links-grid strong,
.panto-page .visit-detail > span,
.panto-page .visit-detail a,
.panto-page .visit-box a,
.panto-page .visit-box-kicker,
.panto-page .footer-links > div > span {
  color: #ffe082;
}

/* Align the venue feature card with the three-column information cards. */
@media (min-width: 901px) {
  .panto-page.subpage .visit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .panto-page.subpage .visit-grid > div:first-child {
    grid-column: span 2;
  }
  .panto-page.subpage .visit-box {
    min-width: 0;
    padding: clamp(25px, 2.5vw, 45px);
  }
}

/* Gentle emphasis on information panels, without suggesting a click target. */
.panto-page.subpage .visit-detail,
.panto-page.subpage .visit-box {
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
  transform-origin: center;
}
.panto-page.subpage .visit-detail .visit-contact-button {
  display: inline-block;
  width: auto;
  margin-top: 19px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid #ffd166;
  color: #ffe082;
  font: 800 11px/1.5 var(--display);
  letter-spacing: 1px;
  text-decoration: none;
}
.panto-page.subpage .visit-detail .visit-contact-button:hover,
.panto-page.subpage .visit-detail .visit-contact-button:focus-visible {
  background: transparent;
  color: #fff0ad;
  border-bottom-color: #fff0ad;
}
@media (hover: hover) and (pointer: fine) {
  .panto-page.subpage .visit-detail:hover,
  .panto-page.subpage .visit-box:hover {
    transform: translateY(-4px) scale(1.012);
    border-color: #f4cf7b;
    box-shadow: inset 0 0 0 1px #f4cf7b2c, 0 13px 30px #00072570, 0 0 18px #efbd4725;
  }
}
@media (prefers-reduced-motion: reduce) {
  .panto-page.subpage .visit-detail,
  .panto-page.subpage .visit-box { transition: none; }
}

/* Social links: compact in the header, warmer and conversational on Contact. */
.panto-page .main-nav .nav-socials {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: clamp(4px, 1.1vw, 15px);
  padding-left: 16px;
  border-left: 1px solid #435173;
}
.panto-page .main-nav .nav-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 29px;
  height: 29px;
  padding: 5px;
  border: 1px solid #a58a57;
  border-radius: 50%;
  color: #ffe082;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.panto-page .main-nav .nav-socials a:hover,
.panto-page .main-nav .nav-socials a:focus-visible {
  background: #e92386;
  color: #fff;
  border-color: #e92386;
}
.nav-socials svg, .contact-social-eyebrow svg {
  width: 100%; height: 100%;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.nav-socials a:last-child svg { fill: currentColor; stroke: none; }
.nav-socials .icon-dot, .contact-social-eyebrow .icon-dot { fill: currentColor; stroke: none; }
.contact-social-feature {
  max-width: 470px;
  margin-top: 48px;
  padding: 27px 29px 31px;
  background: linear-gradient(130deg, #172444, #111b35);
  border: 1px solid #8b754c;
  box-shadow: inset 0 0 0 1px #f0c7770b;
}
.contact-social-eyebrow { display: flex; align-items: center; gap: 11px; color: #ffe082; font: 800 11px var(--display); letter-spacing: .13em; }
.contact-social-eyebrow svg { width: 24px; height: 24px; color: #f02588; }
.contact-social-feature h3 { color: #fff; font: 900 clamp(21px, 2vw, 27px)/1.1 var(--display); margin: 19px 0 0; }
.panto-page.subpage .contact-social-feature p { color: #c5cee0; font: 400 15px/1.6 var(--font); margin: 14px 0 19px; }
.contact-social-feature > a { color: #ffe082; display: inline-block; padding-bottom: 5px; border-bottom: 1px solid #ffe082; font: 800 11px/1.4 var(--display); letter-spacing: .07em; }
.contact-social-feature > a:hover, .contact-social-feature > a:focus-visible { color: #fff0ad; border-bottom-color: #fff0ad; }
@media (max-width: 700px) {
  .panto-page .main-nav .nav-socials { margin: 15px 0 0; padding: 19px 0 0; border-left: 0; border-top: 1px solid #435173; gap: 15px; }
  .panto-page .main-nav .nav-socials a { width: 40px; height: 40px; padding: 10px; }
  .panto-page .main-nav.is-open .nav-socials a { padding: 10px; }
  /* On mobile, let the Instagram feature follow the entire contact form. */
  .panto-page.subpage .contact-grid { display: flex; flex-direction: column; gap: 0; }
  .panto-page.subpage .contact-grid > div:first-child { display: contents; }
  .panto-page.subpage .contact-grid > div:first-child > h2,
  .panto-page.subpage .contact-grid > div:first-child > p { order: 0; }
  .panto-page.subpage .contact-grid > .contact-form { order: 1; width: 100%; margin-top: 27px; }
  .panto-page.subpage .contact-social-feature { order: 2; width: 100%; max-width: none; margin-top: 27px; padding: 23px 22px; }
}

/* Keep the menu centred independently of right-anchored social links. */
.panto-page .header-inner { position: relative; }
.panto-page .main-nav .nav-socials { display: none; }
.panto-page .header-socials {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}
.panto-page .header-socials a {
  width: 31px;
  height: 31px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #a58a57;
  border-radius: 50%;
  color: #ffe082;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.panto-page .header-socials a:hover,
.panto-page .header-socials a:focus-visible { color: #fff; background: #e92386; border-color: #e92386; }
.header-socials svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.header-socials a:last-child svg { fill: currentColor; stroke: none; }
.header-socials .icon-dot { fill: currentColor; stroke: none; }
@media (max-width: 700px) {
  .panto-page .header-socials { display: none; }
  .panto-page .main-nav.is-open .nav-socials { display: flex; }
}

/* Sample performance availability: gentle jewel tones against the navy. */
.performance-row.has-availability { grid-template-columns: minmax(0, 1fr) auto auto; }
.availability-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font: 800 10px/1.2 var(--display);
  letter-spacing: .07em;
  white-space: nowrap;
}
.availability-good { color: #a4d8b5; background: #23493680; }
.availability-moderate { color: #f5bb75; background: #65401c66; }
.availability-limited { color: #efa5a3; background: #652f3c66; }
@media (max-width: 700px) {
  .performance-row.has-availability { grid-template-columns: minmax(0, 1fr) auto; }
  .performance-row.has-availability .performance-date { grid-column: 1; grid-row: 1; }
  .performance-row.has-availability .availability-label { grid-column: 1; grid-row: 2; justify-self: start; }
  .performance-row.has-availability .performance-book { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 380px) {
  .availability-label { font-size: 9px; letter-spacing: .03em; padding: 7px 9px; }
}
/* Panto availability: compact three-column mobile alignment, preserving desktop layout. */
@media (min-width:381px) and (max-width:700px){
  .panto-page.subpage .performance-row.has-availability{grid-template-columns:minmax(62px,1fr) auto auto;align-items:center;column-gap:9px;row-gap:0;}
  .panto-page.subpage .performance-row.has-availability .performance-date{grid-column:1;grid-row:1;align-self:center;}
  .panto-page.subpage .performance-row.has-availability .availability-label{grid-column:2;grid-row:1;justify-self:end;padding:7px 8px;font-size:9px;letter-spacing:.025em;}
  .panto-page.subpage .performance-row.has-availability .performance-book{grid-column:3;grid-row:1;min-height:44px;padding:11px 12px;font-size:10px;gap:7px;}
  .panto-page.subpage .performance-row.has-availability .performance-book::before{flex-basis:16px;width:16px;height:16px;}
}
@media (max-width:380px){
  .panto-page.subpage .performance-row.has-availability{grid-template-columns:minmax(0,1fr) auto;gap:9px 8px;align-items:center;}
  .panto-page.subpage .performance-row.has-availability .performance-date{grid-column:1;grid-row:1;}
  .panto-page.subpage .performance-row.has-availability .availability-label{grid-column:1;grid-row:2;justify-self:start;font-size:9px;padding:6px 8px;}
  .panto-page.subpage .performance-row.has-availability .performance-book{grid-column:2;grid-row:1 / span 2;}
}
