/* FW Coleman Theatre Club — official Weebly-inspired, no external CDN */

:root {
  --burgundy: #5c1a2e;
  --burgundy-dark: #3d101f;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --cream: #f7f3eb;
  --cream-dark: #ebe3d4;
  --ink: #1a1412;
  --muted: #5a5048;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--gold); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--burgundy);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.site-nav {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
  .nav-toggle { display: none; }
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--ink);
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .site-nav.is-open {
    position: static;
    flex-direction: row;
    padding: 0;
    border: none;
  }
}

.site-header { position: relative; }

/* Hero — official style */
.hero-official {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-official-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 20, 18, 0.5) 0%, rgba(61, 16, 31, 0.85) 100%),
    url("../assets/hero-visual.svg") center / cover no-repeat;
  background-color: var(--burgundy-dark);
}

.hero-official-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 1.25rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero-official h1 {
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
}

.hero-official .line-sm {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: 0.95;
}

.hero-official .line-lg {
  display: block;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--burgundy);
  color: var(--burgundy);
}

/* Org strip */
.org-strip {
  background: var(--burgundy);
  color: #fff;
  padding: 0.85rem 0;
  font-size: 0.8125rem;
  text-align: center;
}

.org-strip p { opacity: 0.95; line-height: 1.5; }

.org-strip-dark {
  background: var(--ink);
}

/* Block sections — Weebly pattern */
.block-section {
  padding: 4rem 0;
}

.block-light { background: var(--cream); }
.block-dark {
  background: var(--burgundy-dark);
  color: #fff;
}
.block-dark .block-label { color: var(--gold-light); }
.block-dark .block-lead,
.block-dark .block-note,
.block-dark p { color: rgba(255, 255, 255, 0.88); }

.block-gold {
  background: var(--gold);
  color: var(--ink);
}
.block-gold .block-label { color: var(--burgundy); }

.block-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}

.block-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.h3-official {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.block-lead {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

.block-note {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.block-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.block-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .block-split {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.feature-list {
  margin-top: 1rem;
  padding-left: 1.25rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

/* Talent grid */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .talent-grid { grid-template-columns: repeat(4, 1fr); }
}

.talent-card {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--burgundy);
  padding: 1.25rem;
  text-align: center;
  border-radius: 4px;
}

.talent-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy);
}

.talent-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Banner quote */
.banner-quote {
  background: var(--burgundy);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.banner-quote h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.25;
}

.banner-quote .block-label {
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

/* Founder */
.founder-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
}

.founder-initials {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.founder-card p {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Visit */
.visit-grid {
  display: grid;
  gap: 2.5rem;
}

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

.hours-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.65rem 0;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
}

.hours-table th {
  font-weight: 700;
  width: 40%;
  color: var(--burgundy);
}

.visit-address h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}

.visit-note {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
  font-style: italic;
}

/* Contact */
.block-contact {
  background: var(--cream-dark);
}

.contact-layout {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

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

.org-block .org-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--burgundy);
}

.org-block .org-reg {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.org-block .org-address {
  margin-top: 0.25rem;
}

.email-link {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--burgundy);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: 4px;
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9375rem;
}

.form-message.is-visible { display: block; }

.form-message.success {
  background: #e8f0e8;
  border: 2px solid #3d6b3d;
  color: #1a3d1a;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-org .org-name { color: #fff; }
.footer-org .org-reg,
.footer-org .org-address { color: rgba(255, 255, 255, 0.65); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.25rem 0;
}

.footer-links button {
  background: none;
  border: none;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.8125rem;
  opacity: 0.5;
}

/* Dialog */
dialog {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0;
  max-width: 480px;
  width: calc(100% - 2rem);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.dialog-inner {
  padding: 1.5rem;
}

.dialog-inner h3 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  color: var(--burgundy);
}

.dialog-inner p {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.dialog-close { margin-top: 0.5rem; }
