/* ---------------------------------------------------------------------------
   Living Room Play Readings — palette drawn from the logo
   --------------------------------------------------------------------------- */
:root {
  --orange:      #f3924e;  /* logo fill            */
  --orange-deep: #e07d38;  /* hover / accents      */
  --ink:         #1a1a1a;  /* logo outline / text  */
  --cream:       #fff8f1;  /* page background      */
  --cream-tint:  #fdeede;  /* alternating sections */
  --white:       #ffffff;

  --font-display: "Young Serif", Georgia, serif;
  --font-body:    "Nunito Sans", system-ui, -apple-system, sans-serif;

  --maxw: 900px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

a { color: inherit; }

/* ------------------------------------------------------------------ header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand__logo { width: 44px; height: 44px; }

.brand__name {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.05;
  color: var(--ink);
}

.nav { display: flex; gap: 1.5rem; }

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.nav a:hover { border-color: var(--orange); }

/* -------------------------------------------------------------------- hero */
.hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
}


.hero__title {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  margin-bottom: 1.1rem;
}

.hero__tagline {
  font-size: 1.15rem;
  max-width: 34rem;
  margin: 0 auto;
  color: #4a4340;
}

/* ------------------------------------------------------------------ button */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--orange-deep);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---------------------------------------------------------------- sections */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section--tint {
  max-width: none;
  background: var(--cream-tint);
}

.section--tint > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section--center { text-align: center; }

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--orange);
  margin-top: 0.6rem;
  border-radius: 2px;
}

.section--center .section__title::after { margin-left: auto; margin-right: auto; }

.prose { max-width: 42rem; font-size: 1.08rem; margin: 0 auto; }
.prose p + p { margin-top: 1rem; }
.prose--center { margin: 0 auto 2rem; }

/* ---------------------------------------------------------------- readings */
.readings {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  width: 100%;
}

.reading-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  text-align: left;
}

.reading-card__date {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  background: var(--orange);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  text-align: center;
  min-width: 4.5rem;
}

.reading-card__play { font-size: 1.35rem; }

.reading-card__meta {
  margin: 0.2rem 0 0;
  color: #6a615c;
  font-size: 0.95rem;
}

/* ------------------------------------------------ reading card: linked state */
.reading-card--linked {
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.reading-card--linked:hover {
  background: #fff4ec;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.reading-card__link {
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

/* ------------------------------------------------------- reading detail page */
.rp-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.rp-state {
  text-align: center;
  padding: 4rem 0;
  color: #6a615c;
}

.rp-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  margin-bottom: 2rem;
}
.rp-back:hover { color: var(--orange-deep); }

.rp-hero {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--cream-tint);
}

.rp-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.rp-genre-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}

.rp-date {
  font-size: 0.92rem;
  color: #6a615c;
  font-weight: 600;
}

.rp-title { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 0.5rem; }

.rp-playwright { font-size: 1.05rem; color: #4a4340; margin: 0; }

.rp-body { display: flex; flex-direction: column; gap: 2.5rem; }

.rp-section-title { font-size: 1.35rem; margin-bottom: 0.75rem; }

.rp-synopsis-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
}

.rp-cast-list { list-style: none; margin: 0; padding: 0; }

.rp-cast-item {
  font-size: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-tint);
}
.rp-cast-item:last-child { border-bottom: none; }

/* ------------------------------------------------------------------- rsvp */
.rp-rsvp {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.rsvp-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.rsvp-optional { font-weight: 400; color: #6a615c; }

.rsvp-input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.55rem 0.75rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s;
}

.rsvp-input:focus {
  outline: none;
  border-color: var(--orange);
}

.rsvp-input--invalid {
  border-color: #b3261e;
}

.rsvp-actions { display: flex; }

.rsvp-error {
  color: #b3261e;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}

.rsvp-success {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.9rem;
  color: #6a615c;
  border-top: 1px solid var(--cream-tint);
}

/* ------------------------------------------------------------- footer links */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.75rem 0 0;
}

.footer-admin-link {
  color: #9a9390;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-admin-link:hover { color: var(--ink); }

.footer-icon-link {
  display: inline-flex;
  color: #9a9390;
  transition: color 0.15s ease;
}
.footer-icon-link:hover { color: var(--ink); }
.footer-icon-link svg { width: 20px; height: 20px; }

/* ------------------------------------------------------ readings status/empty */
.readings-status {
  color: #6a615c;
  font-size: 0.98rem;
  list-style: none;
  text-align: center;
  padding: 1rem 0;
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 560px) {
  .brand__name { display: none; }
  .nav { gap: 1.1rem; }
}
