.wip-page {
  min-width: 320px;
  background:
    linear-gradient(rgba(57, 0, 54, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 0, 54, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 30px 30px;
}

.wip-header,
.festival-ticker > div,
.hero {
  width: min(100% - 5rem, 1280px);
  margin-inline: auto;
}

.wip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.6rem;
  color: #fff7f9;
}

.wip-page::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 5.6rem;
  content: "";
  background: #af0041;
  border-bottom: 2px solid #e88baa;
}

.wip-brand {
  width: clamp(12rem, 22vw, 17.5rem);
}

.wip-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.wip-footer-grid {
  grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr);
}

.wip-footer-grid > :last-child {
  justify-self: end;
  width: min(100%, 20rem);
}

.header-side,
.status {
  display: flex;
  align-items: center;
}

.header-side {
  gap: 1rem;
}

.status {
  gap: 0.6rem;
  margin: 0;
  color: #ffe0eb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ffdead;
  box-shadow: 0 0 0 0 rgba(255, 222, 173, 0.7);
  animation: pulse 2s infinite;
}

.wip-page .theme-toggle {
  display: inline-flex;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 2px solid #fff7f9;
  border-radius: 3px;
  background: #850032;
  color: #fff7f9;
  box-shadow: none;
}

.festival-ticker {
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.festival-ticker > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  grid-template-rows: auto auto;
  gap: 2rem 3rem;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.8rem, 5vw, 4.5rem);
}

.photo {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  align-self: center;
  padding: 0.45rem;
  border: 2px solid #e88baa;
  background: #af0041;
  box-shadow: 6px 6px 0 var(--shadow-color);
  transform: rotate(1deg);
}

.photo > img {
  width: 100%;
  height: clamp(32rem, 54vw, 43rem);
  object-fit: cover;
  object-position: 54% center;
}

.photo-wash {
  display: none;
}

.photo-tag {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  margin: 0;
  padding: 0.25rem 0.5rem;
  background: #390036;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy {
  align-self: end;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 0 1.35rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--border);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--shadow-color);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

h1 {
  max-width: 10.5ch;
  margin: 0;
  color: var(--text);
  font-family:
    "Futura Page Titles", "Futura", "Futura PT", "Jost", "Century Gothic",
    Arial, sans-serif;
  font-size: clamp(2rem, 4.1vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-transform: uppercase;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.intro {
  max-width: 46ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.intro strong {
  color: var(--accent);
  font-weight: 700;
}

.countdown-wrap {
  position: relative;
  min-width: 0;
  align-self: start;
  padding: 1.25rem;
  border: 2px solid var(--border);
  background: #af0041;
  color: #fff7f9;
  box-shadow: 6px 6px 0 var(--shadow-color);
  transform: rotate(-0.35deg);
}

.release-note {
  position: absolute;
  right: 1rem;
  bottom: calc(100% - 0.45rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  border: 2px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--shadow-color);
  font-size: 0.65rem;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.release-note span {
  font-weight: 600;
}

.release-note strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.countdown-kicker {
  margin: 0 0 0.85rem;
  color: #fff7f9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  border: 0;
}

.time-unit {
  min-width: 0;
  padding: 0.9rem 0.65rem 0.75rem;
  border: 2px solid var(--ink);
  background: #fff7f9;
  color: var(--ink);
  box-shadow: 3px 3px 0 #390036;
  transform: rotate(-1deg);
}

.time-unit:nth-child(even) {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(1deg);
}

.time-unit:nth-child(3) {
  background: #cfdcff;
}

.time-unit:nth-child(4) {
  background: #ccebc9;
}

.time-unit strong {
  display: block;
  font-size: clamp(1.8rem, 3.4vw, 3.1rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.time-unit span {
  display: block;
  margin-top: 0.45rem;
  color: currentColor;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.countdown-date {
  margin: 0.95rem 0 0;
  color: #ffe0eb;
  font-size: 0.72rem;
  font-weight: 600;
}

.sticker {
  position: absolute;
  top: clamp(2.2rem, 5vw, 4.2rem);
  right: calc(45% - 4rem);
  z-index: 2;
  display: grid;
  place-content: center;
  width: 7.2rem;
  height: 7.2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  line-height: 0.86;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-5deg);
  box-shadow: 4px 4px 0 var(--shadow-color);
}

.sticker span {
  font-size: 1rem;
  font-weight: 700;
}

.sticker strong {
  font-size: 1.7rem;
}

body.is-live .status span {
  background: #77f2ad;
}

body.is-live .countdown {
  display: none;
}

body.is-live .countdown-kicker {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  text-transform: none;
}

.subpage-main {
  min-height: 58vh;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}

.subpage-shell {
  width: min(100% - 5rem, 960px);
  margin-inline: auto;
}

.subpage-heading {
  margin-bottom: 2.5rem;
}

.subpage-heading h1 {
  margin-top: 1.25rem;
}

.subpage-heading .intro {
  max-width: 58ch;
}

.contact-grid,
.legal-grid {
  display: grid;
  gap: 1.25rem;
}

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

.info-panel,
.legal-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-panel:first-child {
  background: #390036;
  color: white;
}

.info-panel h2,
.legal-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  line-height: 1.15;
}

.info-panel p,
.legal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-panel:first-child p {
  color: #ffe0eb;
}

.info-panel a,
.legal-panel a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.info-panel:first-child a {
  color: var(--gold);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 2px solid currentColor;
  background: var(--surface-muted);
  color: var(--text);
  box-shadow: 3px 3px 0 var(--shadow-color);
  text-decoration: none;
  text-transform: uppercase;
}

.info-panel:first-child .contact-links a {
  background: var(--gold);
  color: var(--ink);
}

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

.legal-panel:last-child {
  grid-column: 1 / -1;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.55rem rgba(255, 222, 173, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 222, 173, 0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .hero-copy,
  .photo,
  .countdown-wrap {
    min-width: 0;
  }

  .photo {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 38rem);
  }

  .photo > img {
    height: clamp(24rem, 90vw, 35rem);
  }

  .countdown-wrap {
    grid-row: 3;
  }

  .sticker {
    top: 31rem;
    right: 1rem;
  }
}

@media (max-width: 640px) {
  .wip-header,
  .festival-ticker > div,
  .hero {
    width: min(100% - 2rem, 1280px);
  }

  .wip-header {
    min-height: 5rem;
  }

  .wip-page::before {
    height: 5rem;
  }

  .wip-brand {
    width: 10rem;
  }

  .wip-footer-grid,
  .contact-grid,
  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wip-footer-grid > :last-child {
    justify-self: stretch;
    width: 100%;
  }

  .legal-panel:last-child {
    grid-column: auto;
  }

  .subpage-shell {
    width: min(100% - 2rem, 960px);
  }

  .status {
    font-size: 0;
  }

  .festival-ticker > div span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .festival-ticker > div span:last-child {
    flex: 0 0 auto;
  }

  .hero {
    gap: 1.5rem;
    padding: 2.6rem 0 3.5rem;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3.2rem);
  }

  .photo {
    width: calc(100% - 6px);
  }

  .photo > img {
    height: 23rem;
  }

  .sticker {
    top: 27.5rem;
    right: -0.25rem;
    width: 6.2rem;
    height: 6.2rem;
  }

  .sticker span {
    font-size: 0.85rem;
  }

  .sticker strong {
    font-size: 1.45rem;
  }

  .countdown-wrap {
    margin-top: 0.75rem;
    padding: 1rem 0.85rem 0.9rem;
    transform: none;
  }

  .release-note {
    right: 0.65rem;
    bottom: calc(100% - 0.35rem);
    gap: 0.4rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.55rem;
  }

  .release-note strong {
    font-size: 0.7rem;
  }

  .time-unit {
    padding: 0.75rem 0.25rem 0.65rem;
    box-shadow: 2px 2px 0 #390036;
  }

  .time-unit strong {
    font-size: clamp(1.55rem, 9vw, 2.35rem);
  }

  .time-unit span {
    font-size: 0.5rem;
    letter-spacing: 0;
  }

  .countdown-date {
    max-width: 30ch;
    line-height: 1.5;
  }

}

@media (prefers-reduced-motion: reduce) {
  .status span {
    animation: none;
  }
}
