/*
Theme Name: Croft Gilchrist
Theme URI: http://croftgilchristdance.com.au
Author: Croft Gilchrist
Description: Public website theme for Croft Gilchrist School of Dancing.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: croft-gilchrist
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --plum: #5A2349;
  --plum-dark: #3A152E;
  --plum-light: #7E3B66;
  --plum-soft: #9B5A84;
  --gold: #C9A43A;
  --gold-light: #E5C76B;
  --gold-pale: #F3E6B8;
  --cream: #FDF9F3;
  --cream-warm: #FAF0E6;
  --blush: #F8EDF2;
  --ink: #2E1F2B;
  --muted: #7D6B76;
  --white: #ffffff;
  --danger: #B3261E;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 20px 50px rgba(58, 21, 46, 0.18);
  --shadow-sm: 0 8px 24px rgba(58, 21, 46, 0.10);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { 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.7;
  font-weight: 400;
}

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

a { color: var(--plum-light); text-decoration: none; }
a:hover { text-decoration: none; }

/* Decorative flourishes */
.floral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--gold);
}

.floral-divider::before,
.floral-divider::after {
  content: '';
  flex: 0 0 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.floral-divider span {
  font-size: 20px;
  opacity: 0.8;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(58, 21, 46, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 164, 58, 0.22);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}

.logo-link img {
  height: 54px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  line-height: 1.1;
  font-weight: 600;
}

.logo-text span {
  font-size: 11px;
  color: var(--gold-pale);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.main-nav a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(201, 164, 58, 0.14);
  color: var(--gold-light);
  text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--plum-dark) !important;
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--plum-dark) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social {
  color: var(--cream);
  display: inline-flex;
  transition: color 0.2s, transform 0.2s;
}

.header-social:hover {
  color: var(--gold-light);
  transform: translateY(-2px);
  text-decoration: none;
}

.header-book-btn {
  margin-left: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--plum-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  animation: enrol-pulse 3s ease-in-out infinite;
}

.header-book-btn:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  text-decoration: none;
}

@keyframes enrol-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 58, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(201, 164, 58, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--plum-dark);
  box-shadow: 0 8px 28px rgba(201, 164, 58, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(201, 164, 58, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 21, 46, 0.55) 0%, rgba(58, 21, 46, 0.78) 100%);
  z-index: 1;
}

.hero-curves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-curves svg {
  display: block;
  width: 100%;
  height: 120px;
}

.hero-curtains {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-curtains img {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  opacity: 0.14;
}

.hero-curtains .curtain-left { left: 0; transform: translateX(-25%); }
.hero-curtains .curtain-right { right: 0; transform: translateX(25%) scaleX(-1); }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--cream);
  max-width: 900px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 86px);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-weight: 600;
}

.hero-content .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--gold-pale);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.92;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 100px 28px;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 44px);
  color: var(--plum);
  margin: 0 0 14px;
  font-weight: 600;
}

.section-title p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

/* Since band */
.since-band {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: var(--cream);
  padding: 56px 28px;
  text-align: center;
  position: relative;
}

.since-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at center top, rgba(201, 164, 58, 0.18), transparent 70%);
}

.since-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold-pale);
  font-weight: 600;
}

.since-band p {
  margin: 0;
  font-size: 17px;
  opacity: 0.9;
  font-weight: 300;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--plum);
  margin-top: 0;
  font-weight: 600;
}

.about-text p {
  font-size: 16px;
  color: var(--muted);
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-image-stack {
  position: relative;
}

.about-image-stack img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-img-main {
  width: 100%;
}

.about-img-accent {
  position: absolute;
  bottom: -32px;
  right: -28px;
  width: 45%;
  border: 4px solid var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.benefit-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 14px;
}

.benefit-card h3 {
  margin: 0 0 10px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 22px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Class cards */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.class-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.class-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: var(--shadow);
}

.class-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.class-card-content {
  padding: 26px;
  position: relative;
}

.class-card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
}

.class-card-content h3 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--plum);
}

.class-card-content p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.class-card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--plum-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.class-card-link:hover {
  color: var(--gold);
}

/* Feature bands */
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.feature-band.reverse .feature-text { order: 2; }
.feature-band.reverse .feature-media { order: 1; }

.feature-text {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: var(--cream);
  display: flex;
  align-items: center;
  padding: 70px;
  position: relative;
}

.feature-text::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 164, 58, 0.2), transparent 70%);
}

.feature-text-inner { max-width: 520px; }

.feature-text h3 {
  font-family: var(--font-display);
  font-size: 34px;
  margin: 0 0 18px;
  color: var(--gold-pale);
}

.feature-text p {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 28px;
  font-weight: 300;
}

.feature-media {
  position: relative;
  overflow: hidden;
}

.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.feature-media-grid img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Parallax band */
.parallax-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--cream);
  text-align: center;
  padding: 100px 28px;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 21, 46, 0.62);
}

.parallax-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.parallax-content h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 46px);
  color: var(--gold-pale);
  margin: 0 0 14px;
}

.parallax-content p {
  font-size: 19px;
  opacity: 0.92;
  margin: 0;
  font-weight: 300;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 100%);
  color: var(--cream);
  text-align: center;
  padding: 110px 28px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 164, 58, 0.12), transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  margin: 0 0 16px;
  color: var(--gold-pale);
  position: relative;
}

.cta-section p {
  font-size: 19px;
  margin-bottom: 36px;
  opacity: 0.9;
  position: relative;
  font-weight: 300;
}

/* Contact strip */
.contact-strip {
  background: var(--cream);
  padding: 70px 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: center;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-card h4 {
  margin: 0 0 10px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 20px;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: var(--plum-dark);
  color: var(--cream);
  padding: 60px 28px 28px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at center top, rgba(201, 164, 58, 0.14), transparent 70%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.85;
  max-width: 320px;
  font-weight: 300;
}

.footer-col h4 {
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}

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

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--cream);
  font-size: 14px;
  opacity: 0.85;
  transition: color 0.2s;
}

.footer-col a:hover { opacity: 1; color: var(--gold-light); text-decoration: none; }

.footer-bottom {
  max-width: 1200px;
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Page hero (non-home) */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 55%, var(--plum-light) 100%);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(201, 164, 58, 0.12), transparent 50%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 56px);
  margin: 0;
  position: relative;
}

.page-hero p {
  font-size: 19px;
  opacity: 0.9;
  margin: 14px 0 0;
  position: relative;
  font-weight: 300;
}

.page-hero-curves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.page-hero-curves svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(58, 21, 46, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.gallery-overlay span {
  color: var(--cream);
  font-weight: 700;
  font-size: 18px;
}

/* Masonry gallery */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.masonry-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

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

/* Image row */
.image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.image-row img {
  border-radius: var(--radius);
  height: 240px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

/* Content cards */
.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  border: 1px solid rgba(201, 164, 58, 0.12);
}

.content-card h3 {
  font-family: var(--font-display);
  color: var(--plum);
  margin-top: 0;
  font-size: 24px;
  font-weight: 600;
}

.content-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.content-card p:last-child { margin-bottom: 0; }

.content-card ul {
  color: var(--muted);
  padding-left: 20px;
}

.content-card li {
  margin-bottom: 8px;
}

/* Class detail cards */
.class-detail-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.class-detail-card.class-detail-reverse {
  direction: rtl;
}

.class-detail-card.class-detail-reverse > * {
  direction: ltr;
}

.class-detail-media {
  min-height: 240px;
}

.class-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.class-detail-body {
  padding: 32px;
}

.class-detail-body h3 {
  margin-top: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 26px;
}

.class-detail-body p {
  margin: 0;
  color: var(--muted);
}

/* Studio cards */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.studio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--plum);
  transition: transform 0.3s var(--ease);
}

.studio-card:hover {
  transform: translateY(-6px);
}

.studio-letter {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.studio-card h3 {
  margin: 0 0 8px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 24px;
}

.studio-capacity {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 14px;
}

.studio-card p {
  color: var(--muted);
  margin: 0;
}

/* Retail cards */
.retail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}

.retail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}

.retail-card h3 {
  margin: 0 0 10px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 22px;
}

.retail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Downloads */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-bottom: 28px;
}

.download-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}

.download-card:hover {
  transform: translateY(-5px);
}

.download-card h3 {
  margin: 0 0 10px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 22px;
}

.download-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.download-card .disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.download-note {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 18px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 44px;
}

.sitemap-col h3 {
  color: var(--plum);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  font-family: var(--font-display);
}

.sitemap-col ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.sitemap-col li { margin-bottom: 10px; }

/* Timetable */
.timetable-day-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.day-tab {
  padding: 12px 22px;
  border: 1px solid #EADFE5;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.day-tab:hover { border-color: var(--plum-light); color: var(--plum); }

.day-tab.active {
  background: var(--plum);
  color: var(--cream);
  border-color: var(--plum);
}

.timetable-grid {
  display: grid;
  grid-template-columns: 70px repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #EADFE5;
}

.timetable-col { position: relative; }
.timetable-col.studio { border-left: 1px solid #EADFE5; }

.timetable-header {
  padding: 14px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  background: var(--plum);
  color: var(--cream);
  border-bottom: 1px solid rgba(201, 164, 58, 0.3);
}

.timetable-header.time { background: var(--plum-dark); color: var(--gold); }

.timetable-body { position: relative; height: 780px; }

.time-label {
  height: 60px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 8px;
  padding-top: 2px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid #F0E8EE;
}

.hour-line {
  height: 60px;
  border-bottom: 1px solid #F0E8EE;
}

.class-block {
  position: absolute;
  left: 6px;
  right: 6px;
  border-radius: 10px;
  background: #fff;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 8px rgba(58, 21, 46, 0.1);
  padding: 8px 10px;
  overflow: hidden;
  font-size: 12px;
}

.class-block strong {
  display: block;
  font-size: 13px;
  color: var(--plum);
  white-space: nowrap;
}

.class-block span {
  color: var(--muted);
  font-size: 11px;
}

.loading,
.error {
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

.error { color: var(--danger); }

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #E4D8DE;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 58, 0.15);
}

/* Fee tables */
.fee-section {
  margin-bottom: 52px;
}

.fee-section h3 {
  color: var(--plum);
  font-size: 24px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  display: inline-block;
  font-family: var(--font-display);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.fee-table th,
.fee-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #F0E8EE;
}

.fee-table th {
  background: var(--plum);
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
}

.fee-table tr:last-child td { border-bottom: none; }

.fee-table td.price {
  font-weight: 700;
  color: var(--plum);
  white-space: nowrap;
}

.fee-note {
  background: var(--blush);
  border-left: 4px solid var(--gold);
  padding: 18px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-size: 15px;
}

/* Term dates */
.term-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.term-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
}

.term-card h3 {
  margin: 0 0 12px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 22px;
}

.term-card .date {
  font-weight: 700;
  color: var(--plum-light);
  margin-bottom: 10px;
}

.term-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.event-card {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
  color: var(--cream);
  border-top-color: var(--gold-light);
}

.event-card h3 { color: var(--gold-pale); }
.event-card .date { color: var(--cream); }
.event-card p { color: rgba(255,255,255,0.85); }

/* Uniform */
.uniform-section {
  margin-bottom: 44px;
}

.uniform-section h3 {
  color: var(--plum);
  font-size: 24px;
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.uniform-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.uniform-section li {
  margin-bottom: 10px;
}

.hair-note {
  background: var(--plum);
  color: var(--cream);
  padding: 28px;
  border-radius: var(--radius-lg);
  margin-top: 36px;
}

.hair-note h4 {
  color: var(--gold-pale);
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
}

.hair-note p {
  margin: 0;
  opacity: 0.9;
  font-weight: 300;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 82px; left: 0; right: 0;
  background: var(--plum);
  border-top: 1px solid rgba(201, 164, 58, 0.25);
  z-index: 99;
  padding: 18px;
}

.mobile-nav.open { display: block; }

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  color: var(--cream);
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: rgba(201, 164, 58, 0.18);
  text-decoration: none;
}

/* Now / Next live widget */
.now-next {
  margin-bottom: 44px;
}

.now-next h3 {
  margin: 0 0 20px;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 24px;
}

.now-next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.now-next-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
}

.now-next-studio {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}

.now-next-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 4px;
}

.now-next-next {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink);
}

.now-next-until {
  display: inline-block;
  background: var(--cream);
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
}

.now-next-meta {
  font-size: 13px;
  color: var(--muted);
}

.now-next-quiet {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
}

/* Current time indicator on timetable grid */
.current-time-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--danger);
  z-index: 5;
  pointer-events: none;
}

.current-time-line::before {
  content: '';
  position: absolute;
  left: -6px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
}

/* Video wrapper */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Map */
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--plum-dark);
  color: var(--cream);
  padding: 18px 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

.cookie-banner.hidden { display: none; }

/* Fallback nav */
.fallback-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.fallback-nav a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.fallback-nav a:hover {
  background: rgba(201, 164, 58, 0.18);
  color: var(--gold-light);
  text-decoration: none;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float { animation: float 4s ease-in-out infinite; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) forwards;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-curtains { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .about-grid,
  .feature-band { grid-template-columns: 1fr; }
  .feature-band.reverse .feature-text { order: 1; }
  .feature-band.reverse .feature-media { order: 2; }
  .feature-media { min-height: 340px; }
  .feature-media img { position: static; height: auto; }
  .feature-media-grid { grid-template-columns: 1fr; min-height: 340px; }
  .about-img-accent { position: static; width: 70%; margin: -48px auto 0; display: block; }
  .class-detail-card,
  .class-detail-card.class-detail-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .class-detail-card.class-detail-reverse > * { direction: ltr; }
  .parallax-band { background-attachment: scroll; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: none; }
  .footer-col h4 { margin-bottom: 12px; }
}

@media (max-width: 600px) {
  .section { padding: 70px 20px; }
  .hero-content h1 { font-size: 38px; }
  .feature-text { padding: 40px 28px; }
  .timetable-grid { grid-template-columns: 50px repeat(3, 1fr); }
  .timetable-header { font-size: 11px; padding: 10px 4px; }
  .map-wrap iframe { height: 300px; }
  .now-next-grid { grid-template-columns: 1fr; }
}
