/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rust: #c0392b;
  --amber: #e67e22;
  --cream: #fdf6ec;
  --charcoal: #1a1a1a;
  --warm-brown: #6b3a1f;
  --gold: #d4a017;
  --smoke: #f4ede0;
  --text: #2c1a0e;
  --muted: #7a6050;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.15; }

.label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amber);
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(26,26,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-logo span { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--rust);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--amber) !important; color: var(--white) !important; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; }
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  object-position: center 30%;
  filter: brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(26,10,0,0.55) 60%,
    rgba(26,10,0,0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rust);
  color: var(--white);
  padding: 0.9rem 2.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  letter-spacing: 0.01em;
}

.btn-primary:hover { background: #a93226; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.btn-outline:hover {
  border-color: var(--amber);
  background: rgba(230,126,34,0.12);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--charcoal);
  padding: 0.85rem 0;
  overflow: hidden;
  border-top: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--warm-brown);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BENTO GRID ===== */
#about { background: var(--smoke); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-6 { grid-column: span 6; }

.bento-img { height: 280px; }

.bento-text {
  padding: 1.75rem;
}

.bento-text h3 {
  font-size: 1.4rem;
  color: var(--warm-brown);
  margin-bottom: 0.5rem;
}

.bento-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.bento-card.highlight {
  background: var(--rust);
  color: var(--white);
}

.bento-card.highlight .bento-text h3 { color: var(--white); }
.bento-card.highlight .bento-text p { color: rgba(255,255,255,0.82); }
.bento-card.highlight .label { color: var(--amber); }

.bento-stat {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.bento-card.dark { background: var(--charcoal); }
.bento-card.dark .bento-text h3 { color: var(--white); }
.bento-card.dark .bento-text p { color: rgba(255,255,255,0.65); }

/* ===== PROGRAM ===== */
#program { background: var(--cream); }

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  border: 2px solid #ddd;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--amber);
  transition: transform 0.2s;
}

.program-card:hover { transform: translateY(-3px); }

.program-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.program-card h3 {
  font-size: 1.15rem;
  color: var(--warm-brown);
  margin-bottom: 0.4rem;
}

.program-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.program-card .time-badge {
  display: inline-block;
  background: var(--smoke);
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

/* ===== GALLERY ===== */
#gallery { background: var(--charcoal); }

#gallery .section-header h2 { color: var(--white); }
#gallery .section-header p { color: rgba(255,255,255,0.6); }
#gallery .label { color: var(--amber); }

.masonry-grid {
  columns: 3;
  column-gap: 1rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}

.masonry-item:hover img { transform: scale(1.04); }

.masonry-item.tall img { aspect-ratio: 3/4; }
.masonry-item.wide img { aspect-ratio: 4/3; }
.masonry-item.square img { aspect-ratio: 1/1; }

/* ===== FAQ ===== */
#faq { background: var(--smoke); }

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--warm-brown);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--rust); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
  font-style: normal;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--amber); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-answer-inner {
  padding: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer { max-height: 400px; }

/* ===== CONTACT ===== */
#contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
}

.contact-card h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-card .subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-text .info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-info-text .info-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.contact-legal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  grid-column: 1 / -1;
}

.contact-legal h3 {
  font-size: 1.25rem;
  color: var(--warm-brown);
  margin-bottom: 1.25rem;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.legal-row:last-child { border-bottom: none; }

.legal-row .legal-key {
  color: var(--muted);
  font-weight: 500;
}

.legal-row .legal-val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  grid-column: 1 / -1;
  display: none;
}

.contact-form-wrap {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
}

.contact-form-wrap h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-form-wrap .subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--amber);
}

.form-group label span { color: var(--amber); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group select option { background: var(--charcoal); color: var(--white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
}

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

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50px;
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

.sticky-cta.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.sticky-cta-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.sticky-cta-btn {
  background: var(--rust);
  color: var(--white);
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.sticky-cta-btn:hover { background: var(--amber); }

/* ===== FOOTER ===== */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
  border-top: 3px solid var(--rust);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand h3 span { color: var(--amber); }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-brand address {
  font-style: normal;
  font-size: 0.825rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--ff-body);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--amber); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--charcoal);
  color: var(--white);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 2px solid var(--rust);
  transform: translateY(100%);
  transition: transform 0.4s;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
}

.cookie-banner p a { color: var(--amber); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cookie-btn.accept { background: var(--rust); color: var(--white); }
.cookie-btn.accept:hover { background: var(--amber); }
.cookie-btn.decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); }
.cookie-btn.decline:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8,
  .bento-card.span-6 { grid-column: span 12; }

  .masonry-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .masonry-grid { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .sticky-cta { bottom: 5rem; font-size: 0.8rem; padding: 0.75rem 1.25rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  section { padding: 4rem 0; }
  .hero-title { font-size: 2.4rem; }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding-top: 5rem;
}

.legal-hero {
  background: var(--charcoal);
  padding: 5rem 0 3rem;
  text-align: center;
}

.legal-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-hero p {
  color: rgba(255,255,255,0.6);
  margin-top: 0.75rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--warm-brown);
  margin: 2.5rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  font-size: 0.9rem;
}

.legal-content th {
  background: var(--smoke);
  padding: 0.65rem 1rem;
  text-align: left;
  color: var(--text);
  font-weight: 600;
}

.legal-content td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #eee;
  color: var(--muted);
}
