:root {
  --ink-bg: #907653; /* outer background, matches the original site */
  --paper: #c7a06d; /* content "paper" colour, sampled from the old textures */
  --paper-shadow: #a9834f;
  --header-dark: #241611;
  --header-dark-2: #4a2a1c;
  --text: #2a1d12;
  --text-muted: #5a4632;
  --accent-orange: #e2861f;
  --link: #7a2f1a;

  --font-display: "Butcherman", "Georgia", serif;
  --font-body: "Crimson Pro", Georgia, "Times New Roman", serif;

  --content-max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

/* while a play popup is open, keep scroll wheel/touch input over its
   dimmed backdrop from scrolling the page underneath */
html.modal-open,
html.modal-open body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--ink-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  text-align: justify;
}

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

.tear {
  position: relative;
  width: 100%;
  height: 193px;
  overflow: hidden;
}

.tear__left,
.tear__right {
  position: absolute;
  top: 0;
  height: 193px;
  background-repeat: no-repeat;
  background-position: top;
}

.tear__left {
  left: 0;
  width: 321px;
  background-image: url("torn-left.png");
  background-position: left top;
  z-index: 1;
}

.tear__right {
  right: 0;
  width: 525px;
  background-image: url("torn-right.png");
  background-position: right top;
  z-index: 3;
}

.tear__repeat {
  position: absolute;
  top: 0;
  left: 180px;
  right: 520px;
  height: 193px;
  background-image: url("torn-repeat.png");
  background-repeat: repeat-x;
  background-position: left top;
  z-index: 0;
}

.tear--footer {
  transform: scaleY(-1);
}

.site-header {
  position: relative;
  background: radial-gradient(
      ellipse at 50% 30%,
      var(--header-dark-2) 0%,
      var(--header-dark) 70%
    ),
    var(--header-dark);
  /* padding: clamp(1.5rem, 4vw, 3rem) 1.25rem 0; */
  padding:0;
  overflow: hidden;
}

.site-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-bottom: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  position: relative;
}

.site-header__logo-row {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.site-header__logo {
  margin: 0;
}

.site-header__logo img {
  width: clamp(240px, 55vw, 560px);
  margin: 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

/* decorative badge, only shown once there's roughly 100px+ of empty
   space on either side of the main logo for it to sit in */
.site-header__badge {
  display: none;
  width: clamp(90px, 13vw, 140px);
  transform: rotate(8deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

@media (min-width: 600px) {
  .site-header__badge {
    display: block;
  }
}

/* nav */

.nav-toggle-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  position: absolute;
  right: 0;
  top: 0.25rem;
  cursor: pointer;
}
.nav-toggle-btn span {
  display: block;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.site-nav {
  display: none;
  margin-top: 1.5rem;
}
.nav-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.site-nav a {
  color: #f1e3cf;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent-orange);
  color: var(--accent-orange);
}

@media (min-width: 720px) {
  .nav-toggle-btn {
    display: none;
  }
  .site-nav {
    display: block !important;
    margin-top: 2rem;
  }
  .site-nav ul {
    flex-direction: row;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }
}

/* ---------- paper content area ---------- */

.paper {
  position: relative;
  background: var(--paper);
}

.paper__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3rem)
    clamp(2rem, 6vw, 4rem);
}

.section {
  scroll-margin-top: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--paper-shadow);
}
.section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.back-to-top {
  display: block;
  text-align: right;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}
.back-to-top:hover {
  color: var(--link);
  text-decoration: underline;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro__text {
  font-size: 1.15rem;
}

.intro__photo {
  width: clamp(140px, 40vw, 220px);
  margin: 0 auto;
  filter: sepia(0.15) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

@media (min-width: 640px) {
  .intro {
    flex-direction: row;
    align-items: flex-start;
  }
  .intro__photo {
    flex: 0 0 auto;
    margin: 0;
  }
}

.panel h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--link);
  border-bottom: 2px solid var(--paper-shadow);
  padding-bottom: 0.3em;
}

/* ---------- promo video ---------- */

.video-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
}

.video-download {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  font-weight: bold;
  text-decoration: none;
}
.video-download:hover {
  text-decoration: underline;
}

/* ---------- voorstellingen ---------- */

.plays {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start; /* don't stretch a shorter item to match its row partner's height */
  gap: 1.4rem clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 720px) {
  .plays {
    grid-template-columns: 1fr 1fr;
  }
}

.plays__item {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--paper-shadow);
  cursor: pointer;
}
/* border-top instead of border-bottom: with items of uneven height,
   a bottom border sits right after each item's own text, so on a
   two-column row the two dividers end up at different heights and
   the next row's titles no longer line up under a clean edge. A top
   border sits on the shared row boundary instead (every item in a
   grid row starts at the same y via `align-items: start` above), so
   the divider is always a single straight line across the row. */
.plays__item:first-child {
  border-top: none;
  padding-top: 0;
}
.plays__item:hover .plays__title,
.plays__item:focus-within .plays__title {
  text-decoration: underline;
}

/* on the two-column grid the first row holds two items, not one */
@media (min-width: 720px) {
  .plays__item:nth-child(-n + 2) {
    border-top: none;
    padding-top: 0;
  }
}

.plays__item > img {
  flex: 0 0 auto;
  width: clamp(140px, 30vw, 220px);
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.plays__body {
  flex: 1 1 260px;
}
.plays__body p:last-child {
  margin-bottom: 0;
}

.plays__title {
  display: block;
  flex-basis: 100%;
  font: inherit;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--link);
  margin: 0 0 0.4rem;
  padding: 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}
.plays__title:hover,
.plays__title:focus-visible {
  text-decoration: underline;
}

/* ---------- play detail popup ---------- */

.play-modal {
  width: min(640px, 100% - 2.5rem);
  max-height: min(85vh, 720px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
.play-modal::backdrop {
  background: rgba(20, 12, 8, 0.75);
}

/* title + close button stay pinned together while the content below
   scrolls. The dialog itself (the scroll container) has no padding of
   its own, so "top: 0" lands exactly on the true scrollport edge —
   no gap for scrolled content to peek through above the header. */
.play-modal__header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem) 0.75rem;
  background: var(--paper);
  border-radius: 4px 4px 0 0;
}

.play-modal__close-form {
  flex: 0 0 auto;
  margin: 0;
}

.play-modal__scroll {
  padding: 0 clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
}

.play-modal__close {
  width: 2rem;
  height: 2rem;
  line-height: 1;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  background: var(--paper-shadow);
  color: var(--text);
  cursor: pointer;
}
.play-modal__close:hover {
  background: var(--link);
  color: #fff;
}

/* a single image today; add more <img> tags in .play-modal__gallery
   later and they'll wrap into a simple grid automatically */
.play-modal__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.play-modal__gallery img {
  flex: 1 1 240px;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 3px;
}

.play-modal__title {
  flex: 1 1 auto;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--link);
  margin: 0;
}

.play-modal__body p:last-child {
  margin-bottom: 0;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-grid h4 {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: 1.4rem;
  color: var(--link);
  margin: 0 0 0.5em;
}

.contact-grid address {
  font-style: normal;
  font-weight: bold;
  margin-bottom: 1em;
  line-height: 1.5;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--header-dark);
  color: #cbb99e;
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 5vw, 3rem) 2.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.site-footer__badge {
  width: clamp(90px, 18vw, 150px);
}

.site-footer a {
  color: #cbb99e;
}
