/* ==========================================================================
   venue-shell.css
   Header, navigation, footer, global scaffolding, hero systems, containers.
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.rail-block {
  border-inline-start: var(--rail) solid var(--cobalt);
  padding-inline-start: 1.1rem;
}

.rail-block--signal {
  border-inline-start-color: var(--signal);
}

/* ---- Masthead ---- */

.dispatch-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: var(--edge);
}

.dispatch-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.dispatch-header__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.dispatch-header__brand img {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
}

.dispatch-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.dispatch-header__brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.dispatch-header__brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.dispatch-nav {
  display: none;
}

.dispatch-header__cta {
  display: none;
}

.dispatch-header__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: var(--edge);
  background: var(--paper-raised);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-card);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dispatch-header__toggle-icon {
  width: 1.15rem;
  height: 0.82rem;
  position: relative;
  display: inline-block;
}

.dispatch-header__toggle-icon span {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: var(--ink);
  transition: transform var(--motion-med) var(--ease), opacity var(--motion-med) var(--ease);
}

.dispatch-header__toggle-icon span:nth-child(1) {
  top: 0;
}
.dispatch-header__toggle-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.dispatch-header__toggle-icon span:nth-child(3) {
  bottom: 0;
}

[data-venue-menu-open="true"] .dispatch-header__toggle-icon span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}
[data-venue-menu-open="true"] .dispatch-header__toggle-icon span:nth-child(2) {
  opacity: 0;
}
[data-venue-menu-open="true"] .dispatch-header__toggle-icon span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.dispatch-menu-panel {
  position: fixed;
  inset: 0;
  top: var(--panel-offset, 3.9rem);
  background: var(--paper);
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.6rem);
  transition: opacity var(--motion-med) var(--ease), transform var(--motion-med) var(--ease), visibility var(--motion-med) var(--ease);
  overflow-y: auto;
}

.dispatch-menu-panel[data-venue-open="true"] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dispatch-menu-panel__list {
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--pad-inline) 2rem;
  gap: 0.1rem;
}

.dispatch-menu-panel__list a {
  display: block;
  padding: 1rem 0;
  border-bottom: var(--edge-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.dispatch-menu-panel__cta {
  margin: 1.4rem var(--pad-inline) 0;
}

body[data-venue-scroll-lock="true"] {
  overflow: hidden;
}

/* ---- Generic page hero band ---- */

.dispatch-stage {
  padding-block: clamp(2.2rem, 5vw, 4rem);
  border-bottom: var(--edge);
}

.dispatch-stage__grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}

.dispatch-stage__intro {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.dispatch-stage__intro h1 {
  text-align: left;
}

.dispatch-stage__lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 34rem;
}

.dispatch-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.dispatch-stage__figure {
  position: relative;
  border: var(--edge);
  background: var(--soft);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dispatch-stage__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dispatch-stage__figure figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
}

.dispatch-stage__notes {
  display: grid;
  gap: 0.9rem;
  padding-top: 0.6rem;
}

.dispatch-stage__note {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  border-top: var(--edge-soft);
  padding-top: 0.7rem;
}

.dispatch-stage__note strong {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt-ink);
  flex-shrink: 0;
  width: 5.4rem;
}

.dispatch-stage__note span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---- Simple hero band used on internal pages ---- */

.page-hero {
  padding-block: clamp(2.2rem, 5vw, 3.6rem);
  border-bottom: var(--edge);
  background: var(--paper-raised);
}

.page-hero__grid {
  display: grid;
  gap: 1rem;
}

.page-hero__grid h1 {
  text-align: left;
}

.page-hero__lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 40rem;
}

/* ---- Section scaffolding shared across pages ---- */

.dispatch-section {
  padding-block: clamp(2.4rem, 6vw, 4.6rem);
  border-bottom: var(--edge-soft);
}

.dispatch-section--muted {
  background: var(--paper-raised);
}

.dispatch-section--dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
}

.dispatch-section--dark h2,
.dispatch-section--dark h3,
.dispatch-section--dark p {
  color: var(--paper);
}

.dispatch-section--dark .eyebrow {
  color: var(--mist);
}

.dispatch-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.dispatch-section__head h2 {
  margin-top: 0.5rem;
}

.dispatch-section__kicker {
  max-width: 30rem;
  color: var(--ink-soft);
}

.dispatch-section--dark .dispatch-section__kicker {
  color: var(--mist);
}

/* ---- Footer: event dispatch manifest ---- */

.dispatch-footer {
  background: #000000 !important;
  color: #ffffff !important;
  padding-block: 4rem 3rem;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border-top: none !important;
}

.dispatch-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.dispatch-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.dispatch-footer__logo-col a {
  display: inline-block;
}

.dispatch-footer__logo-col img {
  height: auto;
  width: clamp(80px, 12vw, 130px);
  display: block;
}

.dispatch-footer__nav-cols {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.dispatch-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dispatch-footer__nav-col a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 500;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.dispatch-footer__nav-col a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.dispatch-footer__middle {
  text-align: center;
  color: #ffffff !important;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.6;
  margin-top: 1rem;
}

.dispatch-footer__middle p {
  margin: 0;
}

.dispatch-footer__bottom-disclaimer {
  text-align: center;
  color: #888888 !important;
  font-size: clamp(0.65rem, 1vw, 0.72rem);
  line-height: 1.8;
  max-width: 960px;
  margin-inline: auto;
}

.dispatch-footer__bottom-disclaimer a {
  color: #888888 !important;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.dispatch-footer__bottom-disclaimer a:hover {
  color: #ffffff !important;
}

/* ---- Cookie banner & preference panel ---- */

.dispatch-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 300;
  background: var(--paper-raised);
  border-top: 2px solid var(--ink);
  padding: 1.1rem var(--pad-inline) 1.3rem;
  transform: translateY(100%);
  transition: transform var(--motion-med) var(--ease);
}

.dispatch-consent[data-venue-visible="true"] {
  transform: translateY(0);
}

.dispatch-consent__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  justify-content: space-between;
}

.dispatch-consent__text {
  font-size: 0.86rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.dispatch-consent__text a {
  font-weight: 600;
}

.dispatch-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dispatch-consent__actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.72rem;
}

.dispatch-panel {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(24, 27, 32, 0.55);
}

.dispatch-panel[data-venue-visible="true"] {
  display: flex;
}

.dispatch-panel__card {
  background: var(--paper);
  border: var(--edge);
  max-width: 30rem;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 2rem);
}

.dispatch-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dispatch-panel__close {
  border: var(--edge);
  background: var(--paper-raised);
  border-radius: 50%;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.dispatch-panel__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  border-top: var(--edge-soft);
}

.dispatch-panel__row-text strong {
  display: block;
  font-size: 0.92rem;
}

.dispatch-panel__row-text span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.dispatch-panel__actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

/* ---- Toggle switch used in the consent panel ---- */

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 2.6rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}

.switch__track {
  width: 2.6rem;
  height: 1.5rem;
  border-radius: var(--radius-tag);
  background: var(--soft);
  border: var(--edge);
  position: relative;
  transition: background var(--motion-fast) var(--ease);
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  inset-inline-start: 0.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--ink);
  transition: transform var(--motion-fast) var(--ease);
}

.switch input:checked + .switch__track {
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.switch input:checked + .switch__track::after {
  transform: translateX(1.1rem);
  background: var(--paper);
}

.switch input:disabled + .switch__track {
  opacity: 0.6;
}

.switch input:focus-visible + .switch__track {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
}

/* ---- New Hero Section ---- */
.dispatch-stage-new {
  background-color: #efefef;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  min-height: 600px;
}

.dispatch-stage-new__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.hero-image.left {
  justify-content: flex-start;
}

.hero-image.right {
  justify-content: flex-end;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-content {
  flex: 0 1 650px;
  text-align: center;
  padding: 3rem 1rem;
  z-index: 2;
  align-self: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #111;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.dispatch-stage-new__lede {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.dispatch-stage-new__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-hero:hover {
  transform: translateY(-2px);
}

.btn-hero-primary {
  background-color: #ff5b9c;
  color: #fff;
  border: 2px solid #ff5b9c;
}

.btn-hero-outline {
  background-color: transparent;
  color: #ff5b9c;
  border: 2px solid #ff5b9c;
}

@media (max-width: 900px) {
  .dispatch-stage-new__hero-container {
    flex-direction: column;
    padding-top: 3rem;
  }
  .hero-content {
    align-self: center;
    padding-bottom: 2rem;
  }
  .hero-image {
    display: none;
  }
}

/* ---- Info Sections ---- */
.new-info-section {
  padding: 4rem 1rem;
  background-color: #efefef;
}
.new-info-section.mb-large {
  padding-bottom: 6rem;
}

.new-section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: #111;
  letter-spacing: -0.02em;
}
.text-center {
  text-align: center;
}

/* Grid Reasons */
.new-grid-reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #777;
  background-color: #efefef;
  max-width: 1200px;
  margin: 0 auto;
}
.reason-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #777;
  margin: -1px 0 0 -1px;
  gap: 0.8rem;
}
.reason-item p {
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 600;
  color: #111;
  margin: 0;
}
.star-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Grid Machines */
.new-grid-machines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.machine-card {
  background-color: #f858a7;
  padding: 1.5rem 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.machine-card h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
}
.machine-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Grid Events */
.new-grid-events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #777;
  max-width: 1000px;
  margin: 0 auto;
}
.event-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #777;
  margin: -1px 0 0 -1px;
  gap: 0.8rem;
}
.event-item p {
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 600;
  color: #111;
  margin: 0;
}

@media (max-width: 900px) {
  .new-grid-reasons {
    grid-template-columns: repeat(2, 1fr);
  }
  .new-grid-machines {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .new-grid-reasons {
    grid-template-columns: 1fr;
  }
  .new-grid-machines {
    grid-template-columns: 1fr;
  }
  .new-grid-events {
    grid-template-columns: 1fr;
  }
}

/* ---- Process & Gallery Sections ---- */
.collaboration-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.collaboration-row:last-child {
  margin-bottom: 0;
}
.collab-item {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.collab-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.collab-line {
  flex: 1;
  border-bottom: 1px dashed #999;
  margin: 0 1rem;
}
.gallery-single {
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-single img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .collaboration-row {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .collab-line {
    border-bottom: none;
    border-right: 1px dashed #999;
    height: 40px;
    margin: 1rem 0;
  }
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.testimonial-card {
  background-color: #f858a7;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* ---- FAQ Grid ---- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.faq-card {
  display: flex;
  flex-direction: column;
}
.faq-card-header {
  border: 1px solid #777;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #e5e5e5;
  min-height: 80px;
  gap: 1rem;
}
.faq-card-header h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}
.faq-card-header img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.faq-card p {
  padding: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

/* ---- Contact Section ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}
.contact-form-container {
  margin-bottom: 1rem;
}
.custom-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.custom-contact-form input,
.custom-contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #111;
  background-color: #eaeaea;
  font-family: inherit;
  font-size: 0.9rem;
  color: #111;
}
.custom-contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.custom-contact-form button {
  background-color: #f858a7;
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}
.custom-contact-form button:hover {
  opacity: 0.9;
}
.contact-image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
