/* ============================================================
   Sheila! The Musical — landing page styles
   Palette: cream, pink, dark teal + vintage details used lightly
   ============================================================ */

:root {
  --cream: #faf3e3;
  --cream-dark: #f2e6cd;
  --pink: #e8467c;
  --pink-dark: #c92f63;
  --pink-soft: #f6c6d3;
  --teal: #114b47;
  --teal-deep: #0c3936;
  --teal-tile: #1a5a55;
  --ink: #2c2320;

  --font-display: "Abril Fatface", serif;
  --font-script: "Yellowtail", cursive;
  --font-body: "Jost", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  /* subtle paper texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.35 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.kicker-light { color: var(--pink-soft); }

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-tickets {
  background: var(--pink);
  color: #fff;
  padding: 0.8rem 2rem;
  box-shadow: 0 3px 0 var(--pink-dark);
}

.btn-tickets:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
}

.btn-lg {
  font-size: 1.1rem;
  padding: 1rem 2.75rem;
}

/* ============ Navigation ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.65rem 24px;
  background: rgba(250, 243, 227, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--pink);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-logo img {
  height: 58px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
}

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

.nav-cta { padding: 0.55rem 1.4rem; font-size: 0.9rem; }

/* ============ Hero ============ */

.hero {
  position: relative;
  background: var(--teal);
  color: var(--cream);
  overflow: hidden;
}

/* faint tiled-kitchen pattern */
.hero-tiles,
.final-cta-tiles {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, var(--teal-tile) 25%, transparent 25%, transparent 75%, var(--teal-tile) 75%),
    linear-gradient(45deg, var(--teal-tile) 25%, transparent 25%, transparent 75%, var(--teal-tile) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 24px 4.5rem;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 560px);
  gap: 3.5rem;
  align-items: center;
}

/* photo on the right, copy on the left */
.hero-photo { order: 2; }

/* mobile-only copy of the hero photo (sits under the logo); hidden on desktop.
   Qualified with `img` so it beats `.photo-frame { display: grid }` (equal
   class-specificity but defined later in the file). */
img.hero-photo-inline { display: none; }

.hero-logo {
  display: block;
  width: clamp(260px, 44vw, 460px);
  height: auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 0.95;
  color: #fff;
  text-shadow: 4px 4px 0 var(--pink);
}

.hero-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  text-shadow: none;
  color: var(--pink-soft);
  margin-top: 0.75rem;
  position: absolute;
  top: 337px;
  left: 668px;
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  margin: 0.75rem 0 0.75rem;
  color: #fff;
}

.hero-blurb {
  max-width: 46ch;
  margin-bottom: 1.75rem;
  color: var(--cream-dark);
}

.hero-dates {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.hero-festival {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--pink-soft);
}

.hero-when {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
}

.hero-venue { color: var(--cream-dark); }

.hero-meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--cream-dark);
}

/* the one starburst */
.starburst {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  color: var(--pink);
  display: grid;
  place-items: center;
}

.starburst svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 40s linear infinite;
}

.starburst span {
  position: relative;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

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

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

/* ============ Photo placeholders ============ */

.photo-frame {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  border: 6px solid var(--cream);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  background:
    repeating-linear-gradient(-45deg, var(--pink-soft) 0 18px, #f9d9e2 18px 36px);
  color: var(--pink-dark);
}

/* when a real <img> is dropped in, make it fill the frame */
img.photo-frame { width: 100%; height: 100%; object-fit: cover; }

.photo-hero { aspect-ratio: 1 / 1; transform: rotate(-2deg); }

.photo-about {
  aspect-ratio: 4 / 5;
  transform: rotate(2deg);
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(44, 35, 32, 0.18);
}

.ph-martini { width: 72px; height: 94px; opacity: 0.8; }

.ph-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ============ About the show ============ */

.about { padding: 5rem 0; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-copy h2 { color: var(--teal); }

.about-copy p { margin-bottom: 1rem; max-width: 56ch; }

.review {
  border-left: 4px solid var(--pink);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0 1.75rem;
}

.review p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.review cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--pink-dark);
  font-weight: 500;
}

.review cite a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.review cite a:hover { color: var(--pink); }

/* ---- Rave reviews strip (pinned press clippings) ---- */

.reviews-strip {
  margin-top: 4.5rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--cream-dark);
}

.reviews-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.reviews-kicker::before,
.reviews-kicker::after {
  content: "✦ ✦ ✦";
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--pink);
  opacity: 0.55;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 2.5rem 1.5rem 1.5rem;
  box-shadow: 0 8px 20px rgba(44, 35, 32, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* slight tilt, like clippings pinned to a board */
.review-card:nth-child(1) { transform: rotate(-1.6deg); }
.review-card:nth-child(2) { transform: rotate(0.8deg); }
.review-card:nth-child(3) { transform: rotate(-0.8deg); }

.review-card:hover {
  transform: rotate(0) translateY(-5px);
  box-shadow: 0 16px 34px rgba(44, 35, 32, 0.16);
  z-index: 1;
}

/* oversized decorative opening quote */
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--pink-soft);
}

.review-card p {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.review-card cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pink-dark);
  margin-top: auto;
}

.review-card cite a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.review-card cite a:hover { color: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  .review-card,
  .review-card:nth-child(1),
  .review-card:nth-child(2),
  .review-card:nth-child(3) { transform: none; }
}

/* ============ Performances ============ */

.performances {
  background: var(--teal);
  color: var(--cream);
  padding: 5rem 0;
}

.performances-inner {
  text-align: center;
  max-width: 640px;
}

.performances h2 { color: #fff; }

.venue-line {
  font-size: 1.1rem;
  color: var(--cream-dark);
  margin-bottom: 2rem;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 243, 227, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

.schedule th,
.schedule td {
  padding: 0.85rem 1.5rem;
  text-align: left;
}

.schedule th {
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.schedule td { border-top: 1px solid rgba(250, 243, 227, 0.18); }

.schedule td:last-child {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--pink-soft);
  white-space: nowrap;
}

.schedule tbody tr:hover { background: rgba(255, 255, 255, 0.06); }

/* ============ Artists ============ */

.artists { padding: 5rem 0; }

.artists h2 { color: var(--teal); margin-bottom: 2.5rem; }

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

.artist-card {
  background: #fffdf7;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: 0 6px 18px rgba(44, 35, 32, 0.07);
}

/* headshot placeholder — swap for a real photo:
   <img class="headshot" src="..." alt="..."> works with the same styles */
.headshot {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-family: var(--font-display);
  font-size: 1.75rem;
  border: 4px solid var(--pink);
  object-fit: cover;
}

.headshot-logo { background: var(--teal); color: var(--cream); border-color: var(--teal-deep); }

.artist-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 0.15rem;
}

.artist-role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 0.9rem;
}

.artist-card p:last-child { font-size: 0.95rem; }

/* ============ Final CTA ============ */

.final-cta {
  position: relative;
  background: var(--teal-deep);
  /* To use a large photo here, uncomment and point at the image:
     background-image: linear-gradient(rgba(12, 57, 54, 0.75), rgba(12, 57, 54, 0.75)), url("images/finale.jpg");
     background-size: cover;
     background-position: center; */
  color: var(--cream);
  overflow: hidden;
}

.final-cta-tiles { opacity: 0.2; }

.final-cta-inner {
  position: relative;
  text-align: center;
  padding: 5.5rem 24px 6rem;
  max-width: 720px;
}

.final-script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--pink-soft);
  margin-bottom: 0.5rem;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 2rem;
}

/* ============ Footer ============ */

.footer {
  background: var(--teal-deep);
  color: rgba(250, 243, 227, 0.7);
  text-align: center;
  font-size: 0.85rem;
  padding: 1.5rem 24px;
  border-top: 1px solid rgba(250, 243, 227, 0.15);
}

.footer-logo {
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--pink-soft);
  margin-right: 0.35rem;
}

/* ============ Responsive ============ */

@media (max-width: 820px) {
  .nav { gap: 1rem; }
  .nav-links { gap: 1rem; }

  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* hide the side-column photo; show the copy that lives under the logo */
  .hero-photo { display: none; }
  img.hero-photo-inline {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 320px;
    margin: 1.75rem auto 0.5rem;
  }
  .about-photo { width: 100%; max-width: 320px; margin: 0 auto; }

  /* give the tagline room to breathe under the hero photo */
  .hero-tagline { margin-top: 1.75rem; }

  .artist-grid { grid-template-columns: 1fr; }
  .review-cards { grid-template-columns: 1fr; }

  /* --- center all content on small screens --- */
  .hero-copy,
  .about-copy,
  .artist-card,
  .review-card { text-align: center; }

  /* center blocks that have a max-width so they don't hang to the left */
  .hero-blurb,
  .about-copy p { margin-left: auto; margin-right: auto; }

  /* center the logo, headshots, and the date row */
  .hero-logo,
  .headshot { margin-left: auto; margin-right: auto; }
  .hero-dates { justify-content: center; flex-wrap: wrap; }

  /* the review blockquote's left bar looks off when text is centered */
  .review { border-left: none; padding-left: 0; }

  /* center the big decorative quote above the centered card text */
  .review-card::before { left: 50%; transform: translateX(-50%); }

  /* center the schedule cells to match */
  .schedule th,
  .schedule td { text-align: center; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }

  .hero-inner { padding: 3rem 24px; }

  .schedule th,
  .schedule td { padding: 0.7rem 0.9rem; }
}
