/* AR Comedy — site chrome & polish (on top of jekyll-theme-midnight) */

:root {
  --bg-deep: #14121a;
  --bg-mid: #1e1b24;
  --surface: rgba(255, 255, 255, 0.04);
  --text: #ebe6e0;
  --text-muted: #9a9490;
  --accent: #e8a54b;
  --accent-soft: #c77d4a;
  --border: rgba(232, 165, 75, 0.22);
  --header-h: 3.25rem;
  --content-max: 40rem;
}

/* --- Reset theme “README / project” feel --- */
.comedy-site {
  font-family: "Source Sans 3", system-ui, sans-serif !important;
  color: var(--text) !important;
  background: var(--bg-deep) !important;
  background-image:
    radial-gradient(ellipse 120% 80% at 80% -20%, rgba(232, 165, 75, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 40%, rgba(120, 90, 180, 0.06), transparent 45%),
    linear-gradient(175deg, var(--bg-mid) 0%, var(--bg-deep) 48%, #100e14 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

.comedy-site h1,
.comedy-site h2,
.comedy-site h3 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 500 !important;
  color: var(--text) !important;
}

.comedy-site a {
  color: var(--accent) !important;
  font-weight: 600 !important;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.comedy-site a:hover {
  color: #f4c47a !important;
  border-bottom-color: rgba(232, 165, 75, 0.45);
}

.comedy-site .wrapper {
  max-width: var(--content-max) !important;
  padding: 0 1.35rem !important;
  position: relative;
}

/* Hide legacy fixed header from theme stylesheet (we replaced the layout) */
.comedy-site #header {
  display: none !important;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #1a1410 !important;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(20, 18, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.35rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text) !important;
  border: none !important;
  margin-right: auto;
}

.site-brand:hover {
  color: var(--accent) !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  border: none !important;
  padding: 0.2rem 0;
}

.site-nav a:hover {
  color: var(--accent) !important;
}

.site-repo {
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 3px;
}

.site-repo:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* --- Main column --- */
.site-main {
  margin: 0 !important;
  padding: 2.25rem 0 3rem !important;
  max-width: none !important;
}

.site-main > h1,
.site-main .page-title {
  font-size: clamp(1.65rem, 4vw, 2.1rem) !important;
  margin: 0 0 1.25rem !important;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}

.site-main > h1:first-child {
  margin-top: 0 !important;
}

.home-showcase + h2 {
  margin-top: 0.35rem !important;
}

/* --- Home showcase: posters once, then text columns + Edinburgh span --- */
.home-showcase {
  margin: 0 0 2rem;
}

.showcase-intro {
  margin: 0 0 1.25rem !important;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: none;
}

.showcase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.showcase-col {
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 0 !important;
}

.showcase-span.showcase-edinburgh {
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.showcase-instagram {
  margin: 1rem 0 0 !important;
  text-align: center;
}

.home-showcase .showcase-heading {
  font-size: 1.12rem !important;
  font-family: "Fraunces", Georgia, serif !important;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  border: none !important;
  color: #f0ebe4 !important;
}

.highlight-card-text,
.highlight-schedule {
  margin: 0 0 0.65rem !important;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.highlight-schedule {
  color: var(--text) !important;
}

.highlight-cta {
  margin: 0.85rem 0 0 !important;
  font-size: 0.95rem;
}

.festival-show-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0.5rem 0 0.75rem !important;
}

.festival-show-list li.festival-show-item {
  margin: 0 0 1rem !important;
  padding: 0 0 0.85rem !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: none !important;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.festival-show-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.festival-poster-link {
  flex: 0 0 auto;
  line-height: 0;
  border: none !important;
}

.festival-poster-thumb {
  display: block;
  width: 76px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
}

@media (max-width: 480px) {
  .festival-show-list li.festival-show-item {
    flex-direction: column;
  }
  .festival-poster-thumb {
    width: 100%;
    max-width: 100px;
  }
}

.festival-show-list--text-only li.festival-show-item {
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.festival-show-list li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.festival-show-line {
  display: block;
  line-height: 1.35;
}

.festival-dates,
.festival-venue,
.festival-tickets {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.festival-tickets a {
  font-weight: 600 !important;
}

.festival-tag {
  color: var(--text-muted);
  font-size: 0.88em;
}

/* --- Hero (home) --- */
.hero {
  margin: 0 0 2.5rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--border);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 0.5rem !important;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff8f0 0%, var(--accent) 160%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
  .hero-title {
    color: var(--text) !important;
    -webkit-text-fill-color: unset;
  }
}

.hero-lede {
  font-size: 1.15rem;
  line-height:1.45;
  color: var(--text-muted) !important;
  margin: 0 0 1rem !important;
  max-width: 32em;
}

.hero-social {
  margin: 0 !important;
  font-size: 0.98rem;
}

.hero-social .sep {
  margin: 0 0.45rem;
  opacity: 0.45;
}

.hero-tagline {
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #e4b87a !important;
  margin: 0 0 0.65rem !important;
  font-weight: 500;
  font-style: italic;
}

.hero-cred {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted) !important;
  margin: 0 0 0.65rem !important;
}

.hero-quote {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted) !important;
  margin: 0 0 1rem !important;
  opacity: 0.95;
}

/* --- Poster strip (home): one full poster each, shared frame height --- */
.poster-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  max-width: 100%;
  align-items: stretch;
}

@media (max-width: 520px) {
  .poster-strip {
    grid-template-columns: 1fr;
  }
}

.poster-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.poster-card:hover {
  border-color: rgba(232, 165, 75, 0.45) !important;
  transform: translateY(-2px);
}

.poster-card-visual {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vw, 340px);
  padding: 0.65rem 0.45rem;
  background: rgba(0, 0, 0, 0.22);
}

@media (min-width: 640px) {
  .poster-card-visual {
    min-height: 320px;
  }
}

.poster-card-img {
  display: block;
  max-width: 100%;
  max-height: min(52vh, 440px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.poster-card-label {
  display: block;
  padding: 0.45rem 0.65rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted) !important;
  background: rgba(0, 0, 0, 0.2);
}

.poster-card:hover .poster-card-label {
  color: var(--accent) !important;
}

/* --- Section headings in flow --- */
.site-main h2 {
  font-size: 1.35rem !important;
  margin: 2.25rem 0 1rem !important;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  color: #f0ebe4 !important;
}

.site-main h2:first-of-type {
  margin-top: 0 !important;
}

.site-main h3 {
  font-size: 1.1rem !important;
  color: var(--text-muted) !important;
  margin: 1.5rem 0 0.65rem !important;
}

/* --- Impressions --- */
.impressions-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem !important;
}

.impressions-list li {
  position: relative;
  margin: 0 0 0.85rem !important;
  padding: 0.65rem 0 0.65rem 0.85rem !important;
  border-left: 3px solid var(--accent-soft);
  background: var(--surface);
  border-radius: 0 6px 6px 0;
}

.impressions-list li::before {
  display: none !important;
}

.impressions-list em {
  color: #faf6f1 !important;
  font-style: italic;
}

/* --- Podcast blurb --- */
.podcast-blurb {
  font-size: 1.02rem;
  line-height: 1.55;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 0 0 1.5rem !important;
}

.podcast-blurb .podcast-title {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 600;
  font-style: normal !important;
}

/* --- Archive link after gigs --- */
.gig-archive-link {
  display: inline-block;
  margin: 0.25rem 0 0.5rem;
  font-size: 0.95rem;
}

/* --- Gigs --- */
.gig-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.5rem;
}

.gig-list > li {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem 1.05rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border-bottom: none;
}

.gig-list > li:last-child {
  margin-bottom: 0;
}

.gig-list > li > p {
  margin: 0 0 0.35rem !important;
}

.gig-details {
  margin: 0.35rem 0 0 0.5rem !important;
  padding-left: 0 !important;
  list-style: disc;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.gig-details li {
  margin-bottom: 0.2rem;
}

.gig-role {
  color: var(--text-muted);
  font-weight: normal;
}

.gig-kind {
  color: var(--accent-soft);
  font-size: 0.88em;
  margin-left: 0.25rem;
}

.gig-empty {
  font-style: italic;
  color: var(--text-muted);
}

.gig-build-note {
  margin-top: 0.75rem !important;
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
  opacity: 0.95;
}

.gig-list-archive .gig-kind {
  color: #7d776f;
}

/* --- Footer --- */
.site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.5rem 1.35rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0 !important;
}

.site-footer a {
  font-weight: 600 !important;
}
