:root {
  --black: #050505;
  --paper: #f3f1df;
  --ink: #111111;
  --acid: #d7ff00;
  --pink: #ff4fd8;
  --cyan: #43f7ff;
  --red: #ff3d2e;
  --grey: #b8b8ad;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, #262626 1px, transparent 1px) 0 0 / 12px 12px,
    var(--black);
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.45;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(1040px, calc(100% - 24px));
  margin: 18px auto 40px;
}

.box {
  border: 2px solid var(--paper);
  background: var(--black);
  box-shadow: 7px 7px 0 var(--paper);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  padding: .8rem 1rem;
}

.site-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: .08em;
}

.spark {
  color: var(--red);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.top-nav a,
.mini-button {
  border: 2px outset #d8d8d8;
  background: #d8d8d8;
  color: #000;
  padding: .35rem .55rem;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.top-nav a:active,
.mini-button:active {
  border-style: inset;
}

.status-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 10px 0;
  border: 1px dashed var(--acid);
  padding: .45rem .7rem;
  color: var(--acid);
  font-size: .78rem;
  text-align: center;
}

.status-strip > :last-child {
  text-align: right;
}

.status-strip > :first-child {
  text-align: left;
}

.blink {
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: .15; }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 2rem;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.kicker,
.section-tag {
  color: var(--acid);
  font-weight: 900;
  letter-spacing: .08em;
}

.hero h1,
.section h2 {
  margin: .45rem 0 1rem;
  line-height: .95;
  letter-spacing: -.045em;
}

.hero h1 {
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(2.7rem, 8vw, 6.5rem);
}

.section h2 {
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 4.3rem);
}

.intro {
  max-width: 620px;
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.retro-button {
  display: inline-block;
  border: 3px outset #d8d8d8;
  background: #d8d8d8;
  color: #000;
  padding: .65rem .9rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.retro-button:active {
  border-style: inset;
}

.retro-button.primary {
  background: var(--acid);
}

.sidebar-card {
  border: 2px dashed var(--cyan);
  padding: 1rem;
  align-self: start;
  color: var(--cyan);
}

.sidebar-title,
.subhead {
  display: inline-block;
  background: var(--paper);
  color: #000;
  padding: .2rem .4rem;
  font-weight: 900;
}

.tiny {
  font-size: .75rem;
  color: var(--grey);
}

.marquee-wrap {
  overflow: hidden;
  margin: 12px 0;
  border: 2px solid var(--pink);
  background: var(--pink);
  color: #000;
  font-weight: 900;
  white-space: nowrap;
}

.marquee {
  overflow: hidden;
  padding: .4rem 0;
}

.marquee span {
  display: inline-block;
  min-width: 200%;
  animation: scrollText 18s linear infinite;
}

@keyframes scrollText {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  margin-top: 18px;
  padding: clamp(1rem, 3vw, 2rem);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-note {
  max-width: 420px;
  color: var(--grey);
  font-size: .85rem;
}

.calendar-controls {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.calendar-frame {
  border: 3px double var(--paper);
  background: #111;
}

.calendar-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem;
  border-bottom: 1px dashed var(--paper);
}

.calendar-topline h3 {
  margin: 0;
  color: var(--acid);
}

.calendar-topline span {
  color: var(--grey);
  font-size: .75rem;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  background: var(--paper);
  color: #000;
  font-weight: 900;
}

.calendar-weekdays span {
  text-align: center;
  padding: .45rem .1rem;
  border-right: 1px solid #777;
}

.calendar-weekdays span:last-child {
  border-right: 0;
}

.calendar-day {
  min-height: 112px;
  position: relative;
  background: #080808;
  color: var(--paper);
  border: 0;
  border-right: 1px dashed #595959;
  border-bottom: 1px dashed #595959;
  padding: .45rem;
  text-align: left;
  cursor: pointer;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day:hover {
  background: #1a1a1a;
  outline: 2px solid var(--acid);
  outline-offset: -2px;
}

.calendar-day.outside-month {
  opacity: .28;
}

.calendar-day.has-event {
  background:
    repeating-linear-gradient(
      135deg,
      #151515,
      #151515 8px,
      #1f1f1f 8px,
      #1f1f1f 16px
    );
}

.calendar-day.is-today .day-number {
  background: var(--cyan);
  color: #000;
}

.day-number {
  display: inline-block;
  padding: .05rem .25rem;
  font-weight: 900;
}

.day-event {
  display: block;
  margin-top: .5rem;
  color: var(--pink);
  font-size: .72rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.open-label {
  position: absolute;
  right: .35rem;
  bottom: .3rem;
  color: var(--acid);
  font-size: .65rem;
}

.calendar-legend {
  display: flex;
  gap: 1rem;
  margin: .8rem 0 1.5rem;
  font-size: .76rem;
}

.event-square,
.open-square {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: .35rem;
  border: 1px solid var(--paper);
}

.event-square {
  background: var(--pink);
}

.open-square {
  background: var(--acid);
}

.monthly-list {
  border-top: 1px dashed var(--grey);
  padding-top: 1rem;
}

.event-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px dotted var(--grey);
  padding: .75rem 0;
}

.event-date {
  color: var(--acid);
  font-weight: 900;
}

.event-title {
  appearance: none;
  border: 0;
  background: none;
  color: var(--pink);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
}

.event-time {
  color: var(--grey);
}

.terminal-note {
  border-left: 4px solid var(--acid);
  background: #151515;
  color: var(--acid);
  padding: .7rem;
  margin-bottom: 1rem;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.booking-form label {
  display: grid;
  gap: .35rem;
  font-weight: 900;
  font-size: .8rem;
  color: var(--cyan);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 2px inset #cfcfcf;
  border-radius: 0;
  padding: .65rem;
  background: #f5f5e9;
  color: #000;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--acid);
}

.full {
  grid-column: 1 / -1;
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.info-grid article {
  border: 1px dashed var(--cyan);
  padding: 1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 18px;
  padding: .8rem 1rem;
  color: var(--grey);
  font-size: .72rem;
  text-align: center;
}

.visitor-counter span {
  background: #252525;
  border: 2px inset #777;
  color: #ff3d2e;
  letter-spacing: .15em;
  padding: .15rem .35rem;
}

.event-dialog {
  width: min(560px, calc(100% - 24px));
  border: 3px double #fff;
  border-radius: 0;
  background: #050505;
  color: #f3f1df;
  padding: 1.5rem;
  box-shadow: 8px 8px 0 var(--pink);
  font-family: "Courier New", monospace;
}

.event-dialog::backdrop {
  background: rgba(0,0,0,.78);
}

.dialog-close {
  position: absolute;
  right: .7rem;
  top: .7rem;
  border: 2px outset #d8d8d8;
  background: #d8d8d8;
  color: #000;
  cursor: pointer;
}

.event-dialog h2 {
  font-family: Arial Black, Impact, sans-serif;
  color: var(--pink);
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 12px, 1040px);
    margin-top: 6px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-strip {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .status-strip > :last-child,
  .status-strip > :first-child {
    text-align: left;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    width: 100%;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-day {
    min-height: 78px;
    padding: .3rem;
  }

  .calendar-weekdays span {
    font-size: .65rem;
  }

  .day-event {
    font-size: .58rem;
  }

  .open-label {
    display: none;
  }

  .event-row {
    grid-template-columns: 80px 1fr;
  }

  .event-time {
    grid-column: 2;
  }

  .booking-form,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .form-bottom,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .marquee span {
    animation-duration: 12s;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}




/* =========================
   PHOTO ARCHIVE — MASONRY
   ========================= */

.photo-gallery {
  columns: 3 240px;
  column-gap: 1rem;
}

.photo-card {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  border: 2px solid var(--paper);
  background: #111;
  cursor: pointer;
  break-inside: avoid;
  box-shadow: 4px 4px 0 var(--pink);
}

.photo-card:hover,
.photo-card:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
  transform: translateY(-2px);
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #111;
  filter: saturate(.95) contrast(1.06);
}

.photo-note {
  margin: 1rem 0 0;
}

/* Lightbox */
.photo-dialog {
  width: min(92vw, 980px);
  max-width: 980px;
  border: 3px double #fff;
  border-radius: 0;
  background: #050505;
  color: #f3f1df;
  padding: 2.5rem 4.5rem;
  box-shadow: 8px 8px 0 var(--cyan);
  font-family: "Courier New", monospace;
  overflow: visible;
}

.photo-dialog::backdrop {
  background: rgba(0, 0, 0, .9);
}

.photo-dialog figure {
  margin: 0;
}

.photo-dialog img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #111;
}

.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 58px;
  border: 3px outset #d8d8d8;
  background: #d8d8d8;
  color: #000;
  font-family: "Courier New", monospace;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.photo-nav:active {
  border-style: inset;
}

.photo-nav:hover,
.photo-nav:focus-visible {
  background: var(--acid);
}

.photo-nav-prev {
  left: 10px;
}

.photo-nav-next {
  right: 10px;
}

.event-flyer-button {
  appearance: none;
  display: block;
  width: 86px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.event-flyer-button:hover .event-list-flyer,
.event-flyer-button:focus-visible .event-list-flyer {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.event-flyer-button:focus-visible {
  outline: none;
}

.event-row.with-flyer {
  grid-template-columns: 86px 110px 1fr auto;
}

.event-list-flyer {
  width: 86px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 2px solid var(--paper);
  background: #111;
  box-shadow: 3px 3px 0 var(--pink);
}

.event-flyer-modal {
  display: block;
  width: min(100%, 420px);
  max-height: 58vh;
  object-fit: contain;
  margin: .8rem 0 1rem;
  border: 2px solid var(--paper);
  background: #111;
  box-shadow: 5px 5px 0 var(--pink);
}

.event-flyer-modal[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .photo-gallery {
    columns: 2 150px;
    column-gap: .7rem;
  }

  .photo-card {
    margin-bottom: .7rem;
    box-shadow: 3px 3px 0 var(--pink);
  }

  .photo-dialog {
    width: calc(100vw - 12px);
    padding: 2.6rem 3.2rem 1rem;
  }

  .photo-dialog img {
    max-height: 78vh;
  }

  .photo-nav {
    width: 38px;
    height: 50px;
    font-size: 1.5rem;
  }

  .photo-nav-prev {
    left: 5px;
  }

  .photo-nav-next {
    right: 5px;
  }

  .event-row.with-flyer {
    grid-template-columns: 68px 1fr;
    align-items: start;
  }

  .event-flyer-button {
    width: 62px;
    grid-row: 1 / span 3;
  }

  .event-row.with-flyer .event-list-flyer {
    width: 62px;
  }

  .event-row.with-flyer .event-date,
  .event-row.with-flyer .event-title,
  .event-row.with-flyer .event-time {
    grid-column: 2;
  }

  .event-row.with-flyer .event-time {
    margin-top: -.4rem;
  }

  .event-flyer-modal {
    max-height: 52vh;
  }
}

@media (max-width: 430px) {
  .photo-gallery {
    columns: 2 120px;
  }
}
