/* Club-night look: deep near-black, photos washed with red and indigo,
   heavy capital headings, flat red buttons. Red comes from the DJ Kam logo. */
:root {
  color-scheme: dark;
  --ink: #0c0a12;
  --ink-2: #13101c;
  --red: #ec2f55;
  --red-dark: #c41d42;
  --gold: #ffd23f;
  --text: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --wrap: 1140px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  /* laid over every photo so old and new pictures feel like one set */
  --tint: linear-gradient(135deg, rgba(150, 12, 50, 0.45) 0%, rgba(30, 14, 70, 0.55) 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* keep jumped-to and focused content clear of the sticky header */
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Clear keyboard focus ring everywhere. */
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 30;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.skip:focus {
  top: 12px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--red);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 20px;
  color: #fff;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(38px, 5.6vw, 64px);
}

h2 {
  font-size: clamp(30px, 4.2vw, 48px);
}

h3 {
  font-size: 26px;
}

p {
  margin: 0 0 18px;
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin: 0 auto;
}

/* Small coloured line above a heading. */
.label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  color: #fff;
  font-size: 21px;
}

/* Flat red buttons with condensed capitals. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 32px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--red-dark);
}

.btn-small {
  min-height: 40px;
  padding: 6px 14px;
  font-size: 14px;
}

.btn-big {
  min-height: 62px;
  padding: 16px 44px;
  font-size: 17px;
}

/* ---------------- top bar ---------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 10, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand img {
  display: block;
}

/* Keep the logo and quote button whole; the menu collapses before they'd be squeezed. */
.brand,
.top .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: block;
  padding: 6px 0;
  white-space: nowrap;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

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

.links a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--red);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1200px) {
  .menu-btn {
    display: inline-flex;
  }

  .top .btn {
    display: none;
  }

  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
  }

  .links.open {
    display: flex;
  }

  .links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .links a[aria-current="page"] {
    box-shadow: none;
    color: var(--red);
  }

  .links .menu-quote {
    margin-top: 16px;
  }

  .links .menu-quote a {
    display: flex;
    border: 0;
    padding: 12px 28px;
    color: #fff;
  }
}

@media (min-width: 1201px) {
  .links .menu-quote,
  .links .menu-phone {
    display: none;
  }
}

/* ---------------- home banner: sliding photos with review quotes ---------------- */
.banner {
  position: relative;
  height: clamp(480px, 78vh, 760px);
  overflow: hidden;
  background: #000;
}

.slides {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}

/* Slow drift on the photo that's showing. */
.slide.current .slide-photo {
  transform: scale(1);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 18, 0.88) 0%, rgba(12, 10, 18, 0.45) 55%, rgba(12, 10, 18, 0.1) 100%),
    var(--tint);
}

.slide-text {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), 100% - 32px);
  margin: 0 auto;
  padding-bottom: 40px;
}

.slide-text > * {
  max-width: 680px;
}

.slide-head {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(40px, 7vw, 70px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.slide-quote {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 2.2vw, 22px);
}

.slide-name {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slide-name::before {
  content: "— ";
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.banner-controls {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(var(--wrap), 100% - 32px);
  margin: 0 auto;
}

.banner-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.banner-controls button:hover {
  background: var(--red);
}

.dots {
  display: flex;
  margin: 0 8px;
  padding: 0;
  list-style: none;
}

/* Dots are small to look at but get a full-size tap area. */
.dots li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
}

.banner-controls .dots button {
  width: 18px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
}

.banner-controls .dots button[aria-current="true"] {
  width: 26px;
  background: var(--red);
}

/* With 15 photos the dots need squeezing on phones; the arrows still do the main work. */
.banner-controls > button {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .dots {
    margin: 0 4px;
  }

  .dots li {
    width: 15px;
  }

  .banner-controls .dots button {
    width: 10px;
  }

  .banner-controls .dots button[aria-current="true"] {
    width: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slides,
  .slide-photo {
    transition: none;
  }
}

/* ---------------- sections ---------------- */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

/* ---------------- about ---------------- */
.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.about-photo img {
  position: relative;
  display: block;
  /* the cut-out ends in straight lines around the decks, so fade their ends and bottom away */
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 45%, #000 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 45%, #000 75%, transparent 100%);
}

@media (max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo {
    max-width: 300px;
  }
}

/* ---------------- the three services: full-bleed photo tiles ---------------- */
.services-section {
  padding-top: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 36px 32px;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--text);
  text-decoration: none;
}

.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(12, 10, 18, 0.92) 0%, rgba(12, 10, 18, 0.15) 65%),
    var(--tint);
}

/* photo at the bottom, then the shading, then the words */
.service::before {
  z-index: 1;
}

.service > :not(img) {
  position: relative;
  z-index: 2;
}

.service h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 32px);
}

.service p {
  margin: 0 0 18px;
}

.service .more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Solid red triangle arrow. */
.service .more::after {
  content: "";
  border-left: 10px solid var(--red);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.service:hover img {
  transform: scale(1.05);
}

.service:hover .more {
  color: var(--red);
}

/* Phones: three full-width bars stacked, each with an arrow. */
@media (max-width: 720px) {
  .services {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    padding: 20px;
  }

  .service::before {
    background:
      linear-gradient(90deg, rgba(12, 10, 18, 0.9) 0%, rgba(12, 10, 18, 0.4) 100%),
      var(--tint);
  }

  .service h3 {
    margin: 0;
    font-size: 22px;
  }

  .service p {
    display: none;
  }

  .service .more {
    font-size: 0;
  }

  .service .more::after {
    border-left-width: 14px;
    border-top-width: 9px;
    border-bottom-width: 9px;
  }
}

/* ---------------- call to action band over a photo ---------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 24px;
  background: var(--ink-2) url(images/banner/banner-08-1200.jpg) center / cover;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 10, 18, 0.75), rgba(12, 10, 18, 0.75)), var(--tint);
}

.cta > * {
  position: relative;
}

.cta p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: #fff;
  font-size: 21px;
}

/* ---------------- service pages ---------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 56vh, 540px);
  overflow: hidden;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 18, 0.78) 0%, rgba(12, 10, 18, 0.15) 75%),
    linear-gradient(0deg, rgba(12, 10, 18, 0.9) 0%, rgba(12, 10, 18, 0) 35%),
    var(--tint);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 120px 0 64px;
}

.page-hero h1 {
  margin-bottom: 14px;
}

/* Red line under a page title, like the taglines on the other pages. */
.subhead {
  margin: -6px 0 32px;
  color: var(--red);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
}

.page-hero .tagline {
  margin: 0;
  color: var(--red);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
}

.copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.copy-photo {
  position: sticky;
  top: 110px;
  margin: 0;
}

.copy-photo img {
  display: block;
  width: 100%;
}

@media (max-width: 820px) {
  .copy {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .copy-photo {
    position: static;
  }
}

/* ---------------- gallery ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 0 0 64px;
  padding: 0;
  list-style: none;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

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

.note {
  padding: 16px 20px;
  border-left: 4px solid var(--red);
  background: var(--ink-2);
  color: var(--muted);
}

/* ---------------- footer ---------------- */
.foot {
  padding: 56px 0 32px;
  background: #08070c;
  color: var(--muted);
  font-size: 16px;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.foot h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.foot-brand {
  display: inline-flex;
  margin-bottom: 24px;
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot li {
  margin-bottom: 2px;
}

.foot a {
  color: var(--text);
  text-decoration: none;
}

.foot li a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.foot a:hover {
  color: var(--red);
}

.foot .small {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .foot-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------------- gallery photo viewer ---------------- */
.gallery a {
  display: block;
  cursor: zoom-in;
}

.gallery a:hover img {
  opacity: 0.85;
}

.viewer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.viewer::backdrop {
  background: rgba(8, 7, 12, 0.95);
}

.viewer img {
  /* Every photo opens in the same size frame, whatever its shape;
     portrait or odd-shaped photos sit inside it on black. */
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100vw - 32px, (100vh - 140px) * 1.5);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #000;
  transform: translate(-50%, -50%);
}

.viewer button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.viewer button:hover {
  background: var(--red);
}

.viewer-close {
  top: 12px;
  right: 12px;
}

.viewer-prev,
.viewer-next {
  top: 50%;
  transform: translateY(-50%);
}

.viewer-prev {
  left: 12px;
}

.viewer-next {
  right: 12px;
}

.viewer-count {
  position: absolute;
  top: 12px;
  left: 16px;
  margin: 0;
  line-height: 48px;
  font-weight: 700;
}

/* Room for the arrows beside the photo on wider screens. */
@media (min-width: 700px) {
  .viewer img {
    width: min(100vw - 160px, (100vh - 140px) * 1.5);
  }
}

/* ---------------- quote form ---------------- */
.quote .lead {
  max-width: 760px;
}

.quote-form {
  max-width: 920px;
  margin-top: 48px;
}

.quote-form fieldset {
  margin: 0 0 48px;
  padding: 0;
  border: 0;
}

.quote-form legend {
  margin: 0 0 20px;
  padding: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.quote-form legend label {
  font: inherit;
  color: inherit;
}

.optional {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-bottom: 28px;
}

.field label,
.time-label,
.group-label {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="date"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: var(--ink-2);
  color: #fff;
  font: inherit;
  font-size: 17px;
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 0;
}

.quote-form [aria-invalid="true"] {
  border-color: var(--red);
}

.quote-form ::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

legend + .hint {
  margin: -8px 0 20px;
}

.field-error {
  margin: 8px 0 0;
  color: #ff7b93;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.form-problem {
  margin: 32px 0 0;
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  background: var(--ink-2);
  color: #fff;
}

.form-problem ul {
  margin: 0;
  padding-left: 20px;
}

.form-problem a {
  color: #ff7b93;
}

.form-problem p:last-child {
  margin: 0;
}

/* Guests and playing time: buttons that light up red when picked. */
.choice-group {
  margin-bottom: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
}

.chip input,
.extra input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--ink-2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.chip span:hover {
  border-color: #fff;
}

.chip input:checked + span {
  border-color: var(--red);
  background: var(--red);
}

.chip input:focus-visible + span,
.extra input:focus-visible + .extra-card {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---------------- extras: tiles that flip to the DJ Kam badge when ticked ---------------- */
.extras {
  --per-row: 5;
  --gap: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* 5 on the top row, 4 centred underneath */
  gap: var(--gap);
}

.extras .extra {
  flex: 0 0 calc((100% - (var(--per-row) - 1) * var(--gap)) / var(--per-row));
}

.extra {
  position: relative;
  display: block;
  cursor: pointer;
  perspective: 900px;
}

.extra-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.extra input:checked + .extra-card {
  transform: rotateY(180deg);
}

.extra-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink-2);
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.extra:hover .extra-front {
  border-color: rgba(255, 255, 255, 0.5);
}

.extra-back {
  border-color: var(--red);
  background: radial-gradient(circle at 50% 40%, rgba(236, 47, 85, 0.28), var(--ink-2) 70%);
  transform: rotateY(180deg);
}

.extra-front svg {
  width: 60%;
  max-width: 84px;
  height: auto;
  overflow: visible;
}

.extra-back img {
  width: 46%;
  max-width: 76px;
}

.extra-name {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.extra-added {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.extra-added::before {
  content: "✓ ";
}

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

  .extras {
    --per-row: 3;
    --gap: 10px;
  }

  .extra-face {
    gap: 6px;
    padding: 8px;
  }

  .extra-name {
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .extra-added {
    font-size: 10px;
  }
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy {
  color: var(--muted);
  font-size: 15px;
}

.quote-thanks .lead {
  max-width: 760px;
}

/* ---------------- extras icons: the drawings and their movement ---------------- */
.extra svg .s,
.extra svg .sr {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.extra svg .sr {
  stroke: var(--red);
}

.extra svg .fr {
  fill: var(--red);
}

.extra svg * {
  transform-box: fill-box;
  transform-origin: center;
}

/* karaoke: notes float up */
.extra svg .note {
  animation: note-up 2.4s ease-in-out infinite;
}

.extra svg .n2 {
  animation-delay: -1.2s;
}

@keyframes note-up {
  0% { opacity: 0; transform: translateY(8px); }
  30%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-12px); }
}

/* dancefloor: tiles twinkle white */
.extra svg .tile {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
  animation: twinkle 2.6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 60%, 100% { fill: rgba(255, 255, 255, 0.1); }
  75% { fill: #fff; }
}

/* LED letters: 18, 40, MR & MRS, LOVE in turn */
.extra svg .bulbs circle {
  fill: var(--red);
  animation: bulb 1s steps(2) infinite;
}

.extra svg .bulbs circle:nth-child(odd) {
  animation-delay: -0.5s;
}

@keyframes bulb {
  from { opacity: 1; }
  to { opacity: 0.25; }
}

.extra svg .word {
  fill: #fff;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  opacity: 0;
  animation: word 8s infinite;
}

.extra svg .word.small {
  font-size: 12px;
}

.extra svg .w2 { animation-delay: -6s; }
.extra svg .w3 { animation-delay: -4s; }
.extra svg .w4 { animation-delay: -2s; }

@keyframes word {
  0%, 22% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

/* photo booth: the flash goes off */
.extra svg .flash {
  fill: #fff;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  animation: flash 2.4s ease-out infinite;
}

@keyframes flash {
  0%, 70% { opacity: 0; transform: scale(0.6); }
  76% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1); }
}

/* bubble machine: bubbles drift up */
.extra svg .bubble {
  fill: rgba(255, 255, 255, 0.08);
  stroke: #fff;
  stroke-width: 1.6;
  opacity: 0;
  animation: bubble 3s ease-out infinite;
}

.extra svg .b2 { animation-delay: -0.75s; }
.extra svg .b3 { animation-delay: -1.5s; }
.extra svg .b4 { animation-delay: -2.25s; }

@keyframes bubble {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(10px, -50px) scale(1.2); }
}

.extra svg .b2 { animation-name: bubble-2; }
.extra svg .b4 { animation-name: bubble-2; }

@keyframes bubble-2 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(-6px, -54px) scale(1.2); }
}

/* smoke machine: puffs roll out and spread */
.extra svg .puff {
  fill: rgba(255, 255, 255, 0.35);
  opacity: 0;
  animation: puff 3.6s ease-out infinite;
}

.extra svg .p2 { animation-delay: -1.2s; }
.extra svg .p3 { animation-delay: -2.4s; }

@keyframes puff {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  20% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(6px, -36px) scale(2.2); }
}

/* uplighters: beams glow on and off in turn */
.extra svg .beam {
  fill: url(#beam);
  animation: beam 2.4s ease-in-out infinite;
}

.extra svg .l2 { animation-delay: -0.8s; }
.extra svg .l3 { animation-delay: -1.6s; }

@keyframes beam {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 1; }
}

/* laser: green beams sweep side to side */
.extra svg .fan {
  stroke: #3dff8f;
  stroke-width: 1.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px #3dff8f);
  transform-box: view-box;
  transform-origin: 40px 62px;
  animation: sweep 2.8s ease-in-out infinite alternate;
}

@keyframes sweep {
  from { transform: rotate(-22deg); }
  to { transform: rotate(22deg); }
}

@media (prefers-reduced-motion: reduce) {
  .extra-card {
    transition: none;
  }

  .extra svg * {
    animation: none !important;
  }

  .extra svg .word,
  .extra svg .flash,
  .extra svg .bubble,
  .extra svg .puff {
    opacity: 0;
  }

  .extra svg .w4,
  .extra svg .b1,
  .extra svg .b3,
  .extra svg .p2 {
    opacity: 1;
  }

  .extra svg .b3 { transform: translate(6px, -24px); }
  .extra svg .b1 { transform: translate(2px, -10px); }
  .extra svg .p2 { transform: translate(4px, -16px) scale(1.6); }
}

/* The error box is focused so screen readers announce it; its red edge is enough of a marker. */
.form-problem:focus {
  outline: none;
}

/* ---------------- buttons used by the quote pages ---------------- */
.btn-quiet {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
}

.btn-quiet:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
}

.link-btn:hover {
  color: #fff;
}

/* ---------------- Kam's quotes page ---------------- */
.admin h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.admin .label a {
  color: inherit;
  text-decoration: none;
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.admin-login {
  display: grid;
  gap: 10px;
  max-width: 360px;
}

.admin-login label {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-login input {
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--ink-2);
  color: #fff;
  font: inherit;
}

.flash {
  padding: 12px 18px;
  border-left: 4px solid #3ccf7a;
  background: var(--ink-2);
  color: #fff;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-new { background: var(--red); }
.status-draft { background: #5b4a8a; }
.status-sent { background: rgba(255, 255, 255, 0.16); }
.status-opened { background: #2d5f9a; }
.status-yes { background: #1f8a4c; }
.status-no { background: #6b6b6b; }

.quote-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.quote-list a {
  display: grid;
  /* Fixed-width status column, so the columns line up from row to row
     (each row is its own grid, and the status labels are different lengths). */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 17rem;
  align-items: center;
  text-align: left;
  gap: 6px 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.quote-list a:hover {
  background: var(--ink-2);
}

.ql-name {
  color: #fff;
  font-weight: 700;
}

.quote-list .status {
  justify-self: start;
}

.ql-ref {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

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

.admin-box {
  padding: 28px;
  background: var(--ink-2);
}

.admin-box h2 {
  font-size: 24px;
}

.admin-box h3 {
  margin: 28px 0 10px;
  font-size: 16px;
}

.details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 18px;
  margin: 0;
}

.details dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.9;
}

.details dd {
  margin: 0;
  color: #fff;
  overflow-wrap: anywhere;
}

.message {
  color: #fff;
}

.progress {
  margin: 0;
  padding-left: 20px;
}

.price-form {
  margin: 0;
  max-width: none;
}

.price-form .field {
  margin-bottom: 20px;
}

.price-form fieldset {
  margin: 0 0 20px;
}

.price-form legend.group-label {
  margin-bottom: 8px;
  font-size: 14px;
}

.price-form input[type="text"],
.price-form select,
.price-form textarea {
  background: var(--ink);
}

.extras-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  color: #fff;
  font-size: 15px;
}

.extras-list input {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
  vertical-align: -3px;
}

.total-line {
  color: #fff;
  font-size: 20px;
}

.admin-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-delete {
  margin-top: 40px;
}

@media (max-width: 900px) {
  .admin-cols {
    grid-template-columns: 1fr;
  }

  .quote-list a {
    grid-template-columns: 1fr;
  }

  .quote-list .status {
    justify-self: start;
  }

  .admin-box {
    padding: 20px;
  }
}

/* ---------------- the client's quote: a printable white sheet ---------------- */
.quote-sheet {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px);
  background: #fff;
  color: #2a2633;
  font-size: 16px;
  line-height: 1.6;
}

.qs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--red);
}

.qs-head img {
  width: clamp(96px, 18vw, 140px);
}

.qs-title {
  text-align: right;
}

.qs-title h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 52px);
}

.qs-title p {
  margin: 0;
  color: #6b6676;
  font-size: 15px;
}

.qs-for {
  margin: 28px 0 16px;
  font-size: 18px;
}

.qs-for strong {
  color: var(--ink);
}

.qs-event {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 24px;
  margin: 0 0 32px;
}

.qs-event dt {
  color: #6b6676;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.9;
  text-transform: uppercase;
}

.qs-event dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.qs-prices {
  width: 100%;
  border-collapse: collapse;
}

.qs-prices th,
.qs-prices td {
  padding: 16px 0;
  border-bottom: 1px solid #e3e0e8;
  vertical-align: top;
}

.qs-prices th {
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}

.qs-prices th span {
  display: block;
  color: #6b6676;
  font-size: 14px;
  font-weight: 400;
}

.qs-prices td {
  padding-left: 20px;
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.qs-total th,
.qs-total td {
  border-bottom: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.qs-total th {
  text-transform: uppercase;
}

.qs-note {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--red);
  background: #f6f4f8;
}

.qs-sign {
  margin: 36px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.qs-sign span {
  display: block;
  color: #6b6676;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

.answer {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
}

.answer-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.answer .lead {
  margin-bottom: 24px;
}

@media print {
  .top,
  .foot,
  .skip,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section {
    padding: 0;
  }

  .quote-sheet {
    padding: 0;
  }
}

/* Anything clickable shows the pointing hand. */
button,
.btn,
.chip span,
.extra,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

button[disabled],
.btn[disabled] {
  cursor: not-allowed;
}

/* bubble machine: the wand wheel turns and bubbles float off it */
.extra svg .mask {
  fill: var(--ink-2);
}

.extra svg .wheel {
  animation: wheel 5s linear infinite;
}

@keyframes wheel {
  to { transform: rotate(360deg); }
}

.extra-bubbles svg .bubble {
  animation-name: bubble-machine;
}

.extra-bubbles svg .b2,
.extra-bubbles svg .b4 {
  animation-name: bubble-machine-2;
}

@keyframes bubble-machine {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(18px, -18px) scale(1.2); }
}

@keyframes bubble-machine-2 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(6px, -22px) scale(1.2); }
}

/* smoke machine: a fourth puff for a thicker cloud */
.extra svg .p4 { animation-delay: -0.6s; }

.extra-smoke svg .puff {
  animation-name: smoke;
}

@keyframes smoke {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 0.85; }
  100% { opacity: 0; transform: translate(14px, -26px) scale(2); }
}

/* UV party: purple glow pulsing, things glowing in the dark */
.extra svg .uv-tube {
  fill: #e6ccff;
  stroke: #fff;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 5px #b14dff);
}

.extra svg .uv-rays {
  fill: none;
  stroke: #c77dff;
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: uv 2.4s ease-in-out infinite;
}

.extra svg .uv-star {
  fill: none;
  stroke: #ff5ce1;
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px #ff5ce1);
  animation: uv-glow 2.4s ease-in-out infinite;
}

.extra svg .uv-dot {
  fill: #7dfcff;
  filter: drop-shadow(0 0 3px #7dfcff);
  animation: uv-glow 1.6s ease-in-out infinite;
}

.extra svg .d2 { animation-delay: -0.4s; }
.extra svg .d3 { animation-delay: -0.8s; }
.extra svg .d4 { animation-delay: -1.2s; }

@keyframes uv {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes uv-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.extra-smoke svg .cloud circle {
  fill: rgba(255, 255, 255, 0.5);
  animation: cloud 3s ease-in-out infinite alternate;
}

.extra-smoke svg .cloud circle:nth-child(2) { animation-delay: -1s; }
.extra-smoke svg .cloud circle:nth-child(3) { animation-delay: -2s; }
.extra-smoke svg .cloud circle:nth-child(4) { animation-delay: -0.5s; }
.extra-smoke svg .cloud circle:nth-child(5) { animation-delay: -1.5s; }

@keyframes cloud {
  from { transform: scale(0.85); opacity: 0.6; }
  to { transform: scale(1.12); opacity: 1; }
}

.extra-bubbles svg .bubble-still {
  fill: rgba(255, 255, 255, 0.08);
  stroke: #fff;
  stroke-width: 1.8;
}

.extra-bubbles svg .float {
  animation: float 3s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translate(0, 2px); }
  to { transform: translate(2px, -3px); }
}

.extra-bubbles svg .fan-blades {
  transform-box: view-box;
  transform-origin: 21px 57px;
  animation: wheel 1.2s linear infinite;
}

/* The short thank-you page after a client answers their quote (your-quote/?answer=…) */
.thanks-page { max-width: 640px; padding: 40px 0 80px; }
.thanks-page [hidden] { display: none; }
.thanks-page .lead { margin-bottom: 20px; }
.thanks-actions { margin: 28px 0 18px; }

/* ---------------- stage 3: booking confirmation and signing ---------------- */

/* Kam's page: the booking part of the form */
.price-form fieldset.plain {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.price-form input[type="time"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
  color-scheme: dark;
}

.price-form textarea#venue {
  min-height: 90px;
}

.booking-part {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.signed-box {
  margin: 0 0 28px;
  padding: 20px;
  border-left: 4px solid #1f8a4c;
  background: var(--ink);
  color: #fff;
}

.signed-box p {
  margin: 0 0 12px;
}

.status-confirm { background: #8a5a12; }
.status-signed { background: #1f6f8a; }
.status-booked { background: #1f8a4c; }

/* The client's confirmation */
.qs-title .qs-h {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.05;
}

.qs-total-line th,
.qs-total-line td {
  border-bottom: 1px solid #e3e0e8;
}

.qs-last th,
.qs-last td {
  border-bottom: 0;
}

.qs-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e3e0e8;
}

.qs-section h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 22px;
}

.qs-bank {
  margin-bottom: 18px;
}

.qs-warning {
  margin: 0;
  padding: 14px 18px;
  border-left: 4px solid var(--red);
  background: #fff0f3;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.qs-terms {
  margin: 0;
  padding-left: 22px;
  font-size: 15px;
}

.qs-terms li {
  margin-bottom: 14px;
}

.qs-terms strong {
  display: block;
  color: var(--ink);
}

.qs-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.qs-sig-img {
  display: flex;
  align-items: flex-end;
  height: 96px;
  border-bottom: 2px solid var(--ink);
}

.qs-sig-img img {
  max-width: 80%;
  max-height: 88px;
}

.qs-sig p {
  margin: 8px 0 0;
  color: #6b6676;
  font-size: 14px;
}

.qs-sig strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.signed-banner {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.signed-actions {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

.sign-form {
  max-width: 820px;
  margin: 40px auto 0;
  padding: clamp(24px, 5vw, 48px);
  background: var(--ink-2);
}

.sign-form h2 {
  margin-top: 0;
}

.sign-form .field {
  margin-bottom: 22px;
}

.sign-form input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
}

.sig-label {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
}

.sig-pad {
  position: relative;
}

.sig-pad canvas {
  display: block;
  width: 100%;
  height: 180px;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}

.sig-clear {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #6b6676;
}

.agree {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 26px;
  color: #fff;
}

.agree input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--red);
}

@media (max-width: 640px) {
  .qs-signatures,
  .field-pair {
    grid-template-columns: 1fr;
  }
}

.sign-form > p:last-child {
  margin: 20px 0 0;
}

/* ---------------- the privacy page ---------------- */
.privacy-page { max-width: 720px; padding: 40px 0 80px; }
.privacy-page h2 { font-size: 22px; margin: 36px 0 10px; }
.privacy-page ul { padding-left: 22px; margin: 0 0 14px; }
.privacy-page li { margin-bottom: 8px; }
.privacy-page p { margin: 0 0 14px; }
.privacy-page .small-print { color: var(--muted); font-size: 14px; margin-top: 40px; }
.sign-form .privacy { margin: 4px 0 18px; font-size: 14px; }
.signed-change { max-width: 640px; margin: -8px auto 28px; text-align: center; color: var(--muted); font-size: 15px; }
.amend-box { border-left-color: #d08a1f; }
.signed-box form + form, .signed-box .link-btn { margin-top: 6px; }
/* Kam's start and finish times: an hour box and a minutes box side by side */
.time-pick { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8px; }
