/*
 * PitaPass brand layer. Loaded after every template stylesheet (see DESIGN.md).
 * Tanzanite is used flat, as ink: no gradients, no glows, no lavender page backgrounds.
 */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/pitapass/outfit-latin-wght.woff2") format("woff2-variations"),
    url("../fonts/pitapass/outfit-latin-wght.woff2") format("woff2");
}

@font-face {
  font-family: "Righteous";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pitapass/righteous-latin-400.woff2") format("woff2");
}

:root {
  --pp-tanzanite: #5b2ee0;
  --pp-tanzanite-press: #4a23c4;
  --pp-tanzanite-light: #9d85ff;
  --pp-night: #120c2b;
  --pp-sunrise: #ff8a5b;
  --pp-sunrise-press: #ff7a45;
  --pp-mist: #f5f3ff;
  --pp-paper: #fcfcfd;
  --pp-chalk: #f2f2f5;
  --pp-line: #e3e1ea;
  --pp-ink-2: #4a4560;
  --pp-ink-3: #6b6680;
  --pp-error: #b42318;

  --pp-font-display: "Righteous", "Outfit", system-ui, sans-serif;
  --pp-font-ui: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pp-radius-card: 16px;
  --pp-radius-input: 12px;
  --pp-shadow-float: 0 8px 24px rgb(18 12 43 / 0.12);

  /* Template variables, mapped onto the brand */
  --base-color: var(--pp-ink-2);
  --heading-color: var(--pp-night);
  --primary-color: var(--pp-tanzanite);
  --light-color: var(--pp-chalk);
  --base-font: var(--pp-font-ui);
  --heading-font: var(--pp-font-ui);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--pp-paper);
  color: var(--pp-ink-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--pp-night);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Righteous is a display face: page titles and large brand headings only (never below 22px). */
h1,
.pp-display {
  font-family: var(--pp-font-display);
  font-weight: 400;
  letter-spacing: 0;
}

a {
  transition: color 0.15s ease;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

input,
textarea {
  caret-color: var(--pp-tanzanite);
}

::selection {
  background: var(--pp-tanzanite);
  color: #fff;
}

/* Dark and Tanzanite bands switch the focus ring to white (Tanzanite on Night is only 2.6:1) */
.pp-hero,
.pp-organizer,
.cookie-consent,
.footer-section {
  --pp-focus: #fff;
}

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

/* Buttons: Tanzanite pill, white text (7.2:1) */
.theme-btn,
a.theme-btn {
  border-color: var(--pp-tanzanite);
  border-radius: 999px;
  background: var(--pp-tanzanite);
  color: #fff;
  font-weight: 600;
  padding: 13px 28px;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.theme-btn:hover,
a.theme-btn:hover,
.theme-btn:focus-visible {
  border-color: var(--pp-tanzanite-press);
  background: var(--pp-tanzanite-press);
  color: #fff;
}

.theme-btn:active {
  transform: scale(0.97);
}

/* Footer: names and links keep their own capitalisation */
.footer-title,
.link-widget li,
.link-widget a:not(:hover) {
  text-transform: none;
}

/*
 * Page banners: a solid Night band. The template painted the title white over a lazy-loaded
 * photo; when the photo didn't load the band stayed white and the h1 was invisible.
 */
.page-banner {
  padding: 88px 0 64px;
  background-color: var(--pp-night) !important;
  background-image: none !important;
  --pp-focus: #fff;
}

.page-banner::before {
  display: none;
}

.page-banner .page-title,
.page-banner .breadcrumb-item.active {
  color: #fff;
}

.page-banner .breadcrumb {
  justify-content: flex-start;
  margin: 18px 0 0;
  padding: 0;
  background: none;
}

.page-banner .banner-inner {
  text-align: start;
}

.page-banner .breadcrumb-item a,
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgb(255 255 255 / 0.75);
}

@media (max-width: 767px) {
  .page-banner {
    padding: 40px 0 36px;
  }
}

/* Page banners: the title is the page's h1, set in Righteous at one size on every page */
.page-title {
  font-family: var(--pp-font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.page-title-item .title {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
}

.breadcrumb-item a,
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  font-family: var(--pp-font-ui);
  font-weight: 500;
}

/*
 * The full-screen preloader hid every page until all images had loaded (5-6 s on phones).
 * It stays hidden on page load; .showLoader buttons (checkout, forms) still show it via jQuery.
 */
.preloader {
  display: none;
}

/* Cookie notice: Night bar with the brand button */
.cookie-consent {
  background: var(--pp-night);
  box-shadow: var(--pp-shadow-float);
}

span.cookie-consent__message,
span.cookie-consent__message * {
  color: rgb(255 255 255 / 0.86);
  font-size: 14px;
}

button.cookie-consent__agree {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--pp-sunrise);
  color: var(--pp-night);
  font-weight: 600;
}

button.cookie-consent__agree:hover {
  background: var(--pp-sunrise-press);
  color: var(--pp-night);
}

/* Phones: 16px inputs so iOS does not zoom into the form */
@media (max-width: 767px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }
}

/* ---------- Shared PitaPass components ---------- */

.pp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 var(--pp-font-ui);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.pp-btn:active {
  transform: scale(0.97);
}

.pp-btn--primary,
.pp-btn--primary:hover {
  color: #fff;
}

.pp-btn--primary {
  background: var(--pp-tanzanite);
}

.pp-btn--primary:hover {
  background: var(--pp-tanzanite-press);
}

/* On Night bands the main button is Sunrise with Night text: Tanzanite on Night is only 2.6:1. */
.pp-btn--sunrise,
.pp-btn--sunrise:hover {
  color: var(--pp-night);
}

.pp-btn--sunrise {
  background: var(--pp-sunrise);
}

.pp-btn--sunrise:hover {
  background: var(--pp-sunrise-press);
}

.pp-btn--ghost-light,
.pp-btn--ghost-light:hover {
  color: #fff;
}

.pp-btn--ghost-light {
  border-color: rgb(255 255 255 / 0.55);
}

.pp-btn--ghost-light:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
}

.pp-btn--light,
.pp-btn--light:hover {
  color: var(--pp-tanzanite);
}

.pp-btn--light {
  background: #fff;
}

.pp-btn--light:hover {
  background: var(--pp-mist);
}

.pp-h2 {
  margin: 0 0 24px;
  color: var(--pp-night);
  font-family: var(--pp-font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.pp-h2--light {
  color: #fff;
}

.pp-textlink {
  color: var(--pp-tanzanite);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.pp-textlink:hover {
  color: var(--pp-tanzanite-press);
  text-decoration: underline;
}

/* Ticket stub: perforated line and side notches where the picture meets the details */
.pp-stub {
  --notch: 11px;
  --cut: 190px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--pp-radius-card);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--pp-line);
  color: var(--pp-night);
  text-decoration: none;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
}

.pp-stub:hover {
  color: var(--pp-night);
}

.pp-stub__media {
  display: block;
  flex: 0 0 var(--cut);
  height: var(--cut);
  overflow: hidden;
  background: var(--pp-chalk);
}

.pp-stub__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--pp-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pp-stub:hover .pp-stub__media img {
    transform: scale(1.03);
  }
}

.pp-stub__body {
  display: flex;
  flex: 1;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 20px;
  border-top: 2px dashed var(--pp-line);
}

.pp-date {
  display: flex;
  flex: 0 0 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60px;
  border-radius: var(--pp-radius-input);
  background: var(--pp-sunrise);
  color: var(--pp-night);
}

.pp-date__day {
  font-family: var(--pp-font-display);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  line-height: 1;
}

.pp-date__mon {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pp-stub__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.pp-stub__title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pp-stub__meta {
  display: -webkit-box;
  overflow: hidden;
  color: var(--pp-ink-3);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pp-stub__price {
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  color: var(--pp-tanzanite);
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Home ---------- */

.pp-hero {
  padding: 56px 0 72px;
  background: var(--pp-night);
  color: #fff;
}

.pp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.pp-hero__title {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(44px, 12vw, 72px);
  line-height: 1.02;
}

.pp-hero__lead {
  max-width: 44ch;
  margin: 0 0 28px;
  color: rgb(255 255 255 / 0.8);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.55;
}

.pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pp-stub--hero {
  --cut: 250px;
  box-shadow: none;
}

/* ---------- Organizers directory ---------- */
.authors-search-filter .form_control {
  min-height: 52px;
  border-radius: var(--pp-radius-input);
  font-size: 16px;
}

.authors-search-filter .theme-btn {
  min-height: 52px;
}

.pp-organizer-name {
  font-family: var(--pp-font-ui);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.pp-organizer-name a {
  color: var(--pp-night);
}

.pp-org-title {
  font-family: var(--pp-font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
}

.pp-org-events__item {
  margin-bottom: 24px;
}

.pp-results-count {
  color: var(--pp-ink-2);
  font-size: 16px;
  font-weight: 600;
}

/* ---------- Help (/faq) ---------- */
.pp-help__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.pp-help__lead {
  margin: 0 0 16px;
  color: var(--pp-ink-2);
  font-size: 18px;
  line-height: 1.5;
}

.pp-help__toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-help__toc a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--pp-line);
  color: var(--pp-night);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.pp-help__toc a:hover {
  background: var(--pp-mist);
  color: var(--pp-tanzanite);
}

.pp-help__group {
  scroll-margin-top: 170px;
}

.pp-help__group + .pp-help__group {
  margin-top: 56px;
}

.pp-help__group .pp-h2 {
  margin-bottom: 12px;
}

.pp-qa {
  border-bottom: 1px solid var(--pp-line);
}

.pp-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  color: var(--pp-night);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.pp-qa summary::-webkit-details-marker {
  display: none;
}

.pp-qa summary::after {
  content: "expand_more";
  flex: 0 0 auto;
  color: var(--pp-tanzanite);
  font-family: "Material Icons";
  font-size: 26px;
  font-weight: 400;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  transition: transform 0.25s var(--pp-ease-out);
}

.pp-qa[open] summary::after {
  transform: rotate(180deg);
}

.pp-qa summary:hover {
  color: var(--pp-tanzanite);
}

.pp-qa__answer {
  max-width: 64ch;
  padding: 0 0 20px;
}

.pp-qa__answer p {
  margin: 0 0 8px;
  color: var(--pp-ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.pp-help__more {
  margin-top: 56px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--pp-radius-card);
  background: var(--pp-night);
  color: #fff;
  --pp-focus: #fff;
}

.pp-help__more-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
}

.pp-help__more p {
  max-width: 48ch;
  margin: 0 0 20px;
  color: rgb(255 255 255 / 0.8);
  font-size: 17px;
}

.pp-help__more .pp-btn--primary {
  background: var(--pp-sunrise);
  color: var(--pp-night);
}

@media (min-width: 992px) {
  .pp-help__grid {
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .pp-help__toc {
    position: sticky;
    top: 170px;
  }

  .pp-help__toc ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-qa summary::after {
    transition: none;
  }
}

/* Venues on PitaPass: logo-only, monochrome until hovered, static */
.pp-venues__list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  align-items: center;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.pp-venues__list img {
  display: block;
  width: auto;
  max-width: 200px;
  height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

/* Dan's organizer band has no top padding so it joins "How tickets work"; when the venues
   section sits between them, give the band its own top space back. */
.pp-venues + .pp-organizer {
  padding-top: 64px;
}

.pp-venues__list a:hover img,
.pp-venues__list a:focus-visible img {
  filter: none;
  opacity: 1;
}

/* Hero ticket on a stack: the featured stub sits tilted on a Sunrise ticket (wide screens) */
.pp-hero {
  overflow-x: clip;
}

.pp-hero__ticket {
  position: relative;
}

@media (min-width: 992px) {
  .pp-hero__title {
    font-size: clamp(64px, 6.6vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }

  .pp-hero__ticket {
    --notch: 11px;
    --cut: 250px;
    transform: rotate(2deg);
    transition: transform 0.5s var(--pp-ease-out);
  }

  .pp-hero__ticket::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--pp-radius-card);
    background: var(--pp-sunrise);
    transform: rotate(-6deg) translate(-10px, 14px);
    -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle var(--notch) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle var(--notch) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
  }

  .pp-hero__ticket .pp-stub {
    position: relative;
  }
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .pp-hero__ticket:hover {
    transform: rotate(0deg);
  }
}

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .pp-hero__ticket::before {
    animation: pp-fade 0.45s var(--pp-ease-out) 0.24s both;
  }
}

@keyframes pp-fade {
  from {
    opacity: 0;
  }
}

.pp-stub--hero .pp-stub__title {
  font-size: 20px;
}

.pp-section {
  padding: 72px 0;
}

.pp-section--coming-up {
  background: #fff0eb;
}

.pp-category-section {
  background: #f1edfc;
  box-shadow: 0px -1px 9px 0px #120c2b;
}

.pp-section--tight {
  padding-top: 0;
}

.pp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.pp-head .pp-h2 {
  margin: 0;
}

.pp-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-category-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  align-items: start;
  gap: 34px;
}

.pp-category-intro .pp-h2 {
  max-width: 390px;
  margin-bottom: 18px;
  font-family: var(--pp-font-ui);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.pp-category-intro p {
  max-width: 340px;
  margin: 0;
  line-height: 1.6;
}

.pp-category-intro .pp-category-intro__lead {
  margin-bottom: 12px;
  color: var(--pp-night);
  font-weight: 700;
}

.pp-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-category-grid li {
  min-width: 0;
}

.pp-category-card {
  position: relative;
  display: block;
  height: 270px;
  overflow: hidden;
  border-radius: var(--pp-radius-card);
  background: var(--pp-chalk);
  color: #fff;
  isolation: isolate;
  text-decoration: none;
}

.pp-category-card:hover,
.pp-category-card:focus {
  color: #fff;
}

.pp-category-card::after {
  position: absolute;
  z-index: 0;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgb(18 12 43 / 0.82));
  content: "";
}

.pp-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--pp-ease-out);
}

.pp-category-card__name {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 18px;
  left: 16px;
  color: #fff;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

@media (hover: hover) and (pointer: fine) {
  .pp-category-card:hover img {
    transform: scale(1.04);
  }
}

.pp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-steps li {
  padding-top: 20px;
  border-top: 0.5px solid var(--pp-night);
}

.pp-how-section {
  background: var(--pp-tanzanite);
  color: #fff;
}

.pp-how-section .pp-h2,
.pp-how-section .pp-steps__verb {
  color: #fff;
}

.pp-how-section .pp-steps li {
  border-color: #fff;
}

.pp-section-divider {
  height: 0.5px;
  margin: 48px 0 0;
  border: 0;
  background: #fff;
  display: none;
}

.pp-steps__verb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pp-tanzanite);
  font-family: var(--pp-font-display);
  font-size: 32px;
  line-height: 1.1;
}

.pp-steps__icon {
  flex: 0 0 auto;
  font-size: 38px;
  line-height: 1;
}

.pp-steps p {
  max-width: 34ch;
  margin: 10px 0 0;
}

.pp-organizer {
  padding: 0px 0 83px 0px;
  background: var(--pp-tanzanite);
  color: #fff;
}

.pp-organizer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.pp-organizer .pp-h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  padding-top: 60px;
}

.pp-organizer__icon {
  flex: 0 0 auto;
  margin-top: 3px;
  font-size: 34px;
  line-height: 1;
}

.pp-organizer p {
  max-width: 52ch;
  margin: 0;
  color: rgb(255 255 255 / 0.88);
}

.pp-empty {
  padding: 32px;
  border: 1.5px dashed var(--pp-line);
  border-radius: var(--pp-radius-card);
}

.pp-empty p {
  margin: 0 0 16px;
}

/* How tickets work: the three steps sit on one white ticket, torn along dashed lines,
   so the Tanzanite band doesn't run straight into the Tanzanite organizer band below */
.pp-how-section .pp-steps--ticket {
  gap: 0;
  border-radius: var(--pp-radius-card);
  background: #fff;
}

.pp-how-section .pp-steps--ticket li {
  padding: 28px 28px 30px;
  border-top: 0;
}

.pp-how-section .pp-steps--ticket li + li {
  border-left: 2px dashed var(--pp-line);
}

.pp-how-section .pp-steps--ticket .pp-steps__verb {
  color: var(--pp-tanzanite);
}

.pp-how-section .pp-steps--ticket p {
  color: var(--pp-ink-2);
}

@media (max-width: 991px) {
  .pp-how-section .pp-steps--ticket li {
    padding: 22px 22px 24px;
  }

  .pp-how-section .pp-steps--ticket li + li {
    border-top: 2px dashed var(--pp-line);
    border-left: 0;
  }
}

.footer-section .footer-widget .pp-footer-about {
  max-width: 40ch;
  text-transform: none;
}

/* Home categories: a tile without a picture is a plain Night tile, not an empty grey box */
.pp-category-card {
  background: var(--pp-night);
}

/* ---------- Header: page links ---------- */

.pp-subnav {
  display: none;
}

.pp-menu-links {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

/* Phone and tablet menu: big, tappable page links; the current page is underlined */
.pp-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  border-bottom: 1px solid var(--pp-line);
  color: var(--pp-night);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.pp-menu-links a::after {
  content: "east";
  color: var(--pp-ink-3);
  font-family: "Material Icons";
  font-size: 22px;
  font-weight: 400;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  transition: transform 0.2s var(--pp-ease-out), color 0.15s ease;
}

.pp-menu-links a:hover {
  color: var(--pp-tanzanite);
}

.pp-menu-links a:hover::after {
  color: var(--pp-tanzanite);
  transform: translateX(4px);
}

.pp-menu-links a[aria-current="page"] {
  color: var(--pp-tanzanite);
}

.pp-menu-links a[aria-current="page"] span {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

/* Header buttons: bigger labels and 44px targets (Dan's colours and shapes kept) */
body .main-header .menu-right .menu-btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
}

body .main-header .menu-right .dropdown > .dropdown-toggle {
  font-size: 15px;
}

body .main-header .menu-right .browse-events-btn[aria-current="page"] {
  border-color: var(--pp-night);
  background: var(--pp-night);
  color: #fff;
}

body .main-header .menu-right .dropdown-menu .dropdown-item {
  padding: 10px 12px;
  color: var(--pp-night);
  font-size: 15px;
}

@media (min-width: 1200px) {
  .pp-menu-links {
    display: none;
  }

  /* Wide screens: the page links are a tab bar on the header's bottom edge */
  body .main-header .header-upper {
    padding-bottom: 0;
  }

  .pp-subnav {
    display: flex;
    gap: 40px;
    margin-top: 18px;
    border-top: 1px solid rgb(18 12 43 / 0.08);
  }

  .pp-subnav a {
    position: relative;
    padding: 14px 0 16px;
    color: var(--pp-night);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .pp-subnav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: var(--pp-tanzanite);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--pp-ease-out);
  }

  .pp-subnav a:hover {
    color: var(--pp-tanzanite);
  }

  .pp-subnav a:hover::after,
  .pp-subnav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .pp-subnav a[aria-current="page"] {
    color: var(--pp-tanzanite);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-subnav a::after,
  .pp-menu-links a::after {
    transition: none;
  }
}

/* ---------- About ---------- */

.pp-about-mark {
  justify-self: center;
  width: clamp(160px, 22vw, 260px);
  height: auto;
}

.pp-why__lead {
  max-width: 50ch;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 19px);
}

.pp-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.pp-compare__col {
  padding: 28px;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
  background: #fff;
}

.pp-compare__col--pitapass {
  border-color: var(--pp-night);
  background: var(--pp-night);
  color: #fff;
}

.pp-compare__title {
  margin: 0 0 18px;
  font-family: var(--pp-font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}

.pp-compare__col--pitapass .pp-compare__title {
  color: #fff;
}

.pp-compare__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pp-compare__list .material-icons {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--pp-ink-3);
  font-size: 22px;
}

.pp-compare__col--pitapass .material-icons {
  color: var(--pp-sunrise);
}

.pp-story {
  background: var(--pp-chalk);
}

.pp-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}

.pp-story__panel {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--pp-radius-card);
  background: #fff;
}

.pp-story__panel svg {
  width: 46%;
  height: auto;
}

.pp-story__list {
  margin: 0;
}

.pp-story__item {
  padding: 20px 0;
  border-top: 1px solid var(--pp-line);
}

.pp-story__term {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--pp-night);
  font-family: var(--pp-font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}

.pp-story__item dd {
  max-width: 52ch;
  margin: 0;
}

.pp-swatch {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
}

.pp-swatch--sunrise {
  background: var(--pp-sunrise);
}

.pp-swatch--tanzanite {
  background: var(--pp-tanzanite);
}

.pp-who__inner {
  max-width: 720px;
}

.pp-who__inner p {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.5vw, 19px);
}

/* ---------- Sell tickets ---------- */

.pp-price {
  justify-self: end;
  width: min(100%, 380px);
  padding: 32px;
  border-radius: var(--pp-radius-card);
  background: #fff;
  color: var(--pp-ink-2);
  --pp-focus: var(--pp-tanzanite);
}

.pp-price__rate {
  margin: 0 0 20px;
  color: var(--pp-night);
  font-size: 18px;
  font-weight: 500;
}

.pp-price__num {
  display: block;
  color: var(--pp-tanzanite);
  font-family: var(--pp-font-display);
  font-size: clamp(64px, 8vw, 96px);
  line-height: 1;
}

.pp-price__list,
.pp-features__grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-price__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--pp-line);
  color: var(--pp-night);
  font-weight: 500;
}

.pp-price__list .material-icons {
  color: var(--pp-tanzanite);
  font-size: 22px;
}

.pp-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
}

.pp-features__grid li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pp-features__grid .material-icons {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--pp-mist);
  color: var(--pp-tanzanite);
  font-size: 24px;
}

.pp-features__grid h3 {
  margin: 4px 0 6px;
  font-size: 19px;
}

.pp-features__grid p {
  max-width: 44ch;
  margin: 0;
}

.pp-fee {
  background: var(--pp-chalk);
}

.pp-fee__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.pp-fee__lead {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 19px);
}

.pp-calc {
  padding: 28px;
  border-radius: var(--pp-radius-card);
  background: #fff;
}

.pp-calc__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pp-calc__field label {
  display: block;
  margin-bottom: 8px;
  color: var(--pp-night);
  font-size: 15px;
  font-weight: 600;
}

.pp-calc__field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-input);
  background: var(--pp-chalk);
  color: var(--pp-night);
  font: 500 18px var(--pp-font-ui);
  font-variant-numeric: tabular-nums;
}

.pp-calc__field input:focus {
  border-color: var(--pp-tanzanite);
  background: #fff;
}

.pp-calc__result {
  margin: 24px 0 0;
}

.pp-calc__result > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--pp-line);
}

.pp-calc__result dt {
  font-weight: 500;
}

.pp-calc__result dd {
  margin: 0;
  color: var(--pp-night);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pp-calc__fee dd {
  color: var(--pp-tanzanite);
  font-size: 22px;
}

.pp-organizer__link,
.pp-organizer__link:hover {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Legal pages ---------- */

.pp-legal-hero {
  padding: 48px 0 40px;
}

.pp-legal-hero .pp-hero__title {
  font-size: clamp(34px, 5vw, 52px);
}

.pp-legal-hero__date {
  margin: 0;
  color: rgb(255 255 255 / 0.75);
}

.pp-legal {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 72px;
  font-size: 17px;
}

.pp-legal h2 {
  margin: 40px 0 12px;
  font-family: var(--pp-font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.pp-legal p,
.pp-legal ul {
  margin: 0 0 14px;
}

.pp-legal ul {
  padding-left: 20px;
}

.pp-legal li + li {
  margin-top: 8px;
}

.pp-legal__summary {
  padding: 24px 28px;
  border-radius: var(--pp-radius-card);
  background: var(--pp-chalk);
}

.pp-legal__summary h2 {
  margin-top: 0;
}

.pp-legal__summary ul {
  margin: 0;
}

.pp-legal__contact {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 20px 24px;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius-card);
}

.pp-legal__contact div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
}

.pp-legal__contact dt {
  color: var(--pp-night);
  font-weight: 600;
}

.pp-legal__contact dd {
  margin: 0;
}

/* Details still to be confirmed: clearly visible until they are filled in */
.pp-todo {
  padding: 1px 6px;
  border: 1px dashed var(--pp-sunrise-press);
  border-radius: 6px;
  background: #fff0eb;
  color: var(--pp-night);
  font-size: 0.9em;
}

.pp-legal__more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--pp-line);
}

.pp-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 8px;
}

.pp-footer-legal a {
  color: rgb(255 255 255 / 0.8);
  font-size: 14px;
}

.pp-footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .pp-footer-explore,
  .pp-footer-contact {
    display: none;
  }

  .pp-legal__contact div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Placeholders: readable on white and Chalk fills (template grey was 4.1:1) */
input::placeholder,
textarea::placeholder {
  color: var(--pp-ink-3);
  opacity: 1;
}

/* Sidebar widget headings are h2 for the outline; sized as before */
h2.widget-title {
  font-family: var(--pp-font-ui);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

/* ---------- Template teal -> brand ----------
   dashboard.css (loaded on every page) paints every .btn and the customer dashboard in the
   template's teal #22b0af and capitalises button text. Same selectors here, brand colours. */
.btn:not(.note-btn) {
  border-radius: 999px;
  background: var(--pp-tanzanite);
  color: #fff;
  font-weight: 600;
  text-transform: none;
}

.btn:not(.note-btn):hover,
.btn:not(.note-btn):focus {
  background: var(--pp-tanzanite-press);
  color: #fff;
}

.order-info-area .prinit .btn {
  background: var(--pp-tanzanite);
}

.user-sidebar .links li a.active,
.user-sidebar .links li:hover > a {
  color: var(--pp-tanzanite);
}

.user-sidebar .links li a.active {
  font-weight: 600;
}

.progress-steps li.active .icon {
  background: var(--pp-tanzanite);
}

.main-table .dataTables_wrapper td span.pending {
  border-radius: 999px;
  background: var(--pp-sunrise);
  color: var(--pp-night);
}

.main-table .dataTables_wrapper td a.btn {
  border: 1px solid var(--pp-tanzanite);
  background: transparent;
  color: var(--pp-tanzanite);
}

.main-table .dataTables_wrapper td a.btn:hover {
  border-color: transparent;
  background: var(--pp-tanzanite);
  color: #fff;
}

.paginate_button.active .page-link,
.paginate_button .page-link:hover {
  background-color: var(--pp-tanzanite) !important;
  color: #fff;
}

.file-upload-area .upload-file span,
.sigle_input_check:after {
  background: var(--pp-tanzanite);
}

.single_input:checked + .single_input_label:before {
  border-color: var(--pp-tanzanite);
}

/* ---------- Forms: contact, log in, sign up ---------- */
.pp-contact label,
:is(.login-area, .signup-area) label {
  display: block;
  margin-bottom: 6px;
  color: var(--pp-night);
  font-size: 15px;
  font-weight: 600;
}

.pp-contact .form-control,
:is(.login-area, .signup-area) .form-control {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #8f8aa3;
  border-radius: var(--pp-radius-input);
  background: #fff;
  box-shadow: none;
  color: var(--pp-night);
  font-family: var(--pp-font-ui);
  font-size: 16px;
  transition: border-color 0.15s ease;
}

.pp-contact textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.pp-contact .form-control:hover,
:is(.login-area, .signup-area) .form-control:hover {
  border-color: var(--pp-ink-2);
}

.pp-contact .form-control:focus,
:is(.login-area, .signup-area) .form-control:focus {
  border-color: var(--pp-tanzanite);
  outline: 2px solid var(--pp-tanzanite);
  outline-offset: 0;
  box-shadow: none;
}

.pp-contact .text-danger,
:is(.login-area, .signup-area) .text-danger {
  color: var(--pp-error) !important;
  font-size: 14px;
}

:is(.login-area, .signup-area) .login-form {
  max-width: 520px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 40px);
  border-radius: var(--pp-radius-card);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--pp-line);
}

:is(.login-area, .signup-area) .login-form .form-group p,
:is(.login-area, .signup-area) .login-form .form-group a {
  font-size: 15px;
}

:is(.login-area, .signup-area) .login-form .form-group a {
  color: var(--pp-tanzanite);
  font-weight: 600;
}

:is(.login-area, .signup-area) .theme-btn,
.pp-contact .theme-btn {
  min-height: 52px;
  padding-inline: 32px;
}

:is(.login-area, .signup-area) .btn-success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 520px;
  margin-inline: auto;
  border: 0;
  border-radius: 999px;
  background: var(--pp-night);
  color: #fff;
  font-weight: 600;
}

.pp-form-intro {
  margin: 0 0 24px;
  color: var(--pp-ink-2);
  font-size: 17px;
  line-height: 1.5;
}

.pp-social {
  display: grid;
  gap: 10px;
}

.pp-social__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px #8f8aa3;
  color: var(--pp-night);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.pp-social__btn:hover {
  background: var(--pp-chalk);
  color: var(--pp-night);
}

.pp-social__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--pp-ink-3);
  font-size: 14px;
}

.pp-social__or::before,
.pp-social__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--pp-line);
}

.pp-contact__lead {
  max-width: 40ch;
  margin: 12px 0 28px;
  color: var(--pp-ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.pp-contact__list {
  display: grid;
  gap: 20px;
  margin: 0 0 32px;
}

.pp-contact__list > div {
  padding-top: 16px;
  border-top: 1px solid var(--pp-line);
}

.pp-contact__list dt {
  margin-bottom: 4px;
  color: var(--pp-ink-3);
  font-size: 14px;
  font-weight: 600;
}

.pp-contact__list dd {
  margin: 0;
  color: var(--pp-night);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.pp-contact__list a {
  color: var(--pp-night);
  text-decoration: underline;
  text-decoration-color: var(--pp-tanzanite);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.pp-contact__list a:hover {
  color: var(--pp-tanzanite);
}

.pp-contact__form {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--pp-radius-card);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--pp-line);
}

.pp-contact__formtitle {
  margin: 0;
  color: var(--pp-night);
  font-family: var(--pp-font-ui);
  font-size: 22px;
  font-weight: 600;
}

.pp-contact .comment-form {
  margin-top: 20px !important;
}

:is(.login-area, .signup-area) .text-info {
  color: var(--pp-tanzanite) !important;
}

/* Events list: quick date tabs, same underline language as the header tab bar */
.pp-datetabs {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--pp-line);
}

.pp-datetabs ul {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.pp-datetabs ul::-webkit-scrollbar {
  display: none;
}

.pp-datetabs a {
  position: relative;
  display: block;
  padding: 10px 0 14px;
  color: var(--pp-ink-2);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pp-datetabs a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--pp-tanzanite);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--pp-ease-out);
}

.pp-datetabs a:hover {
  color: var(--pp-night);
}

.pp-datetabs a:hover::after {
  transform: scaleX(1);
}

.pp-datetabs a[aria-current="page"] {
  color: var(--pp-tanzanite);
}

.pp-datetabs a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (max-width: 575px) {
  .pp-datetabs ul {
    gap: 18px;
  }

  .pp-datetabs a {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-datetabs a::after {
    transition: none;
  }
}

.pp-empty {
  padding: 48px 24px;
  border: 2px dashed var(--pp-line);
  border-radius: var(--pp-radius-card);
  text-align: center;
}

.pp-empty__title {
  margin: 0 0 8px;
  color: var(--pp-night);
  font-size: clamp(24px, 3vw, 32px);
}

.pp-empty__text {
  max-width: 40ch;
  margin: 0 auto 24px;
  color: var(--pp-ink-2);
  font-size: 17px;
  text-wrap: balance;
}

/* Events filter sidebar: headings are h2 for the outline, sized as labels */
.event-catalog-page .event-filter-sidebar h2.widget-title {
  font-family: var(--pp-font-ui);
  line-height: 1.3;
}

/* ---------- 404 ---------- */

.pp-404-page {
  background: var(--pp-night);
}

.pp-404 {
  --pp-focus: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 640px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 48px 24px;
  color: #fff;
}

.pp-404__logo {
  margin-bottom: 48px;
}

.pp-404__code {
  margin: 0;
  color: var(--pp-sunrise);
  font-family: var(--pp-font-display);
  font-size: clamp(72px, 14vw, 120px);
  line-height: 1;
}

.pp-404__title {
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.1;
}

.pp-404__text {
  max-width: 46ch;
  margin: 0 0 28px;
  color: rgb(255 255 255 / 0.8);
  font-size: 17px;
}

.pp-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Event page: phone buy bar ---------- */

#get-tickets,
.pp-tickets-start {
  scroll-margin-top: 104px;
}

/* Event page booking card as a ticket: a perforation with side notches above "Select tickets",
   and a poster countdown on Night tiles instead of the template circles. Styling only. */
.event-details-information {
  --pp-card-pad: 24px;
  position: relative;
  padding: var(--pp-card-pad) !important;
}

.event-details-information .pp-tickets-start {
  position: relative;
  display: block;
  margin-top: 24px;
  padding-top: 28px;
  color: var(--pp-night);
  font-family: var(--pp-font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.event-details-information .pp-tickets-start::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--pp-card-pad) * -1 + 14px);
  left: calc(var(--pp-card-pad) * -1 + 14px);
  border-top: 2px dashed #cfccd9;
}

.event-details-information .pp-tickets-start::after {
  content: "";
  position: absolute;
  top: -12px;
  right: calc(var(--pp-card-pad) * -1 - 12px);
  left: calc(var(--pp-card-pad) * -1 - 12px);
  height: 24px;
  background:
    radial-gradient(circle 12px at 12px 12px, var(--pp-paper) 97%, #0000) left / 24px 24px no-repeat,
    radial-gradient(circle 12px at 12px 12px, var(--pp-paper) 97%, #0000) right / 24px 24px no-repeat;
  pointer-events: none;
}

.event-details-information .pp-tickets-start + hr {
  display: none;
}

/* Event page outline: names and prices are text, not headings (template h6 styles carried over) */
.event-details-information .price-count .pp-ticket-price {
  margin-bottom: 15px;
  color: var(--pp-night);
  font-size: 16px;
  font-weight: 600;
}

.event-details-information .price-count .pp-ticket-price del {
  margin-inline-start: 5px;
  color: var(--pp-ink-3);
  font-size: 14px;
}

.author .pp-author-name {
  margin: 0 0 5px;
  color: var(--pp-night);
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
}

.author .pp-author-name a,
.event-details-content .author .pp-author-name a {
  color: inherit;
  font-family: var(--pp-font-ui);
  font-size: inherit;
  font-weight: inherit;
}

.pp-related-title {
  margin-bottom: 10px;
  font-family: var(--pp-font-ui);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.pp-related-title a {
  color: var(--pp-night);
}

.summernote-content p,
.summernote-content li {
  max-width: 68ch;
}

.event-details-information .syotimer__body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.event-details-information .syotimer-cell {
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 4px 10px;
  border-radius: var(--pp-radius-input);
  background: var(--pp-night);
  text-align: center;
}

.event-details-information .syotimer-cell__value {
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font-family: var(--pp-font-display);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.event-details-information .syotimer-cell__value::before,
.event-details-information .syotimer-cell__value::after {
  display: none;
}

.event-details-information .syotimer-cell__unit {
  margin-top: 6px;
  color: rgb(255 255 255 / 0.78);
  font-size: 12px;
  font-weight: 500;
  text-transform: lowercase;
}

.pp-buybar {
  display: none;
}

@media (max-width: 767px) {
  .pp-buybar {
    position: fixed;
    z-index: 1041;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pp-line);
    background: #fff;
    box-shadow: 0 -8px 24px rgb(18 12 43 / 0.08);
    transition: transform 0.3s var(--pp-ease-out);
  }

  .pp-buybar.is-hidden {
    transform: translateY(110%);
  }

  .pp-buybar__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .pp-buybar__title {
    overflow: hidden;
    color: var(--pp-night);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pp-buybar__price {
    color: var(--pp-tanzanite);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }

  .pp-buybar .pp-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 20px;
  }

  .has-buybar .mobile-bottom-header {
    display: none !important;
  }
}

/* Motion: hero settles in once; rail cards and steps rise as they scroll into view */
@media (prefers-reduced-motion: no-preference) {
  .pp-hero__copy > *,
  .pp-stub--hero,
  .pp-about-mark,
  .pp-price {
    animation: pp-rise 0.45s var(--pp-ease-out) both;
  }

  .pp-about-mark,
  .pp-price {
    animation-delay: 0.16s;
  }

  .pp-hero__copy > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .pp-hero__copy > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .pp-stub--hero {
    animation-delay: 0.16s;
  }

  .pp-reveal {
    transition: opacity 0.5s var(--pp-ease-out), transform 0.5s var(--pp-ease-out);
    transition-delay: calc(var(--i, 0) * 60ms);
  }

  .pp-reveal.is-waiting {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes pp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* About: the logo story rises as it scrolls in, where the browser supports scroll-driven animation */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pp-about-reveal {
      animation: pp-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}

@media (max-width: 1100px) {
  .pp-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .pp-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pp-category-layout {
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 2fr);
    gap: 24px;
  }

  .pp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pp-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pp-about-mark {
    justify-self: start;
    width: 112px;
  }

  .pp-story__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pp-story__panel {
    width: min(100%, 280px);
  }
}

@media (max-width: 991px) {
  .pp-price {
    justify-self: start;
  }

  .pp-fee__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .pp-features__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pp-price,
  .pp-calc {
    padding: 24px 20px;
  }

  .pp-calc__fields {
    grid-template-columns: 1fr;
  }

  .pp-compare {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .pp-compare__col {
    padding: 22px 20px;
  }
}

@media (max-width: 767px) {
  .pp-wrap {
    padding: 0 16px;
  }

  .pp-hero {
    padding: 40px 0 48px;
  }

  .pp-stub--hero {
    --cut: 200px;
  }

  .pp-section {
    padding: 56px 0;
  }

  .pp-section--tight {
    padding-top: 0;
  }

  .pp-category-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pp-category-intro .pp-h2 {
    max-width: 520px;
  }

  .pp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pp-category-card {
    height: 220px;
  }

  .pp-rail {
    display: flex;
    gap: 14px;
    margin: 0 -16px;
    padding: 4px 16px 12px;
    overflow-x: auto;
    scroll-padding: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pp-rail::-webkit-scrollbar {
    display: none;
  }

  .pp-rail__item {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .pp-organizer {
    padding: 48px 0;
  }
}

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