/* ===========================================================
   The Oriental Dance Foundation
   Bold & cultural — jewel tones, ornamental details
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Cinzel:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Jewel tone palette */
  --burgundy:     #5a1a2b;
  --burgundy-dk:  #3d0e1c;
  --emerald:      #0f5740;
  --emerald-dk:   #083425;
  --gold:         #c9a14a;
  --gold-light:   #e6c878;
  --gold-dark:    #8a6a2a;
  --ivory:        #f6efe1;
  --ivory-dk:     #ece2cc;
  --ink:          #1a1410;
  --ink-soft:     #3a2e26;
  --rose:         #b8516a;

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-serif:   'Cormorant Garamond', 'Garamond', serif;
  --font-sans:    'Jost', 'Helvetica Neue', sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(201,161,74,0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(90,26,43,0.06) 0%, transparent 45%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--gold-dark); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--burgundy-dk);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: 0.06em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.6rem;
  color: var(--emerald-dk);
}

h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

p { margin-bottom: 1.1rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 1rem;
  display: inline-block;
}

/* ---------- Ornamental divider ---------- */
.ornament {
  text-align: center;
  margin: 2.5rem auto;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 1rem;
  user-select: none;
}
.ornament::before, .ornament::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  vertical-align: middle;
  margin: 0 1rem;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--burgundy-dk);
  background-image:
    linear-gradient(135deg, var(--burgundy-dk) 0%, var(--burgundy) 60%, var(--burgundy-dk) 100%);
  color: var(--ivory);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ivory);
  line-height: 1.1;
}
.brand .brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
}
.brand .brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ivory-dk);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

/* Navigation */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.4rem 0.8rem;
  font-family: var(--font-sans);
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
}

.nav { display: flex; }
.nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.nav a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dk);
  padding: 0.4rem 0;
  position: relative;
}
.nav a:hover, .nav a.active {
  color: var(--gold-light);
}
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--burgundy-dk);
    border-top: 1px solid var(--gold);
    padding: 1rem var(--gutter);
  }
  .nav.open { display: block; }
  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter) clamp(4rem, 10vw, 6rem);
  background:
    linear-gradient(180deg, rgba(15,87,64,0.05), rgba(90,26,43,0.08)),
    var(--ivory);
  overflow: hidden;
  text-align: center;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.18;
}
.hero::before { top: -160px; left: -160px; }
.hero::after  { bottom: -160px; right: -160px; }

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 1.2rem;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section.alt {
  background:
    linear-gradient(180deg, var(--ivory-dk) 0%, var(--ivory) 100%);
  border-top: 1px solid rgba(201,161,74,0.3);
  border-bottom: 1px solid rgba(201,161,74,0.3);
}
.section.dark {
  background: var(--emerald-dk);
  color: var(--ivory);
}
.section.dark h2, .section.dark h3 { color: var(--gold-light); }
.section.dark .eyebrow { color: var(--gold); }

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--ivory);
  border: 1px solid rgba(201,161,74,0.4);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(90,26,43,0.12);
}
.card h3 { margin-bottom: 0.8rem; }
.card p { margin-bottom: 0; font-size: 1.05rem; }

.card-number {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 1rem;
}

/* ---------- Two-column content ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border: 1px solid var(--gold);
  background: var(--burgundy);
  color: var(--ivory);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}
.btn:hover {
  background: var(--gold);
  color: var(--burgundy-dk);
  border-color: var(--gold);
}
.btn.ghost {
  background: transparent;
  color: var(--burgundy);
}
.btn.ghost:hover {
  background: var(--burgundy);
  color: var(--ivory);
}

/* ---------- Quote block ---------- */
.pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  color: var(--emerald-dk);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  max-width: 720px;
}

/* ---------- List ---------- */
.feature-list {
  list-style: none;
  margin-top: 1rem;
}
.feature-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid rgba(201,161,74,0.25);
  position: relative;
  font-size: 1.08rem;
}
.feature-list li::before {
  content: "❖";
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--gold);
  font-size: 1rem;
}
.feature-list li:last-child { border-bottom: none; }

/* ---------- Contact form ---------- */
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.form {
  background: var(--ivory);
  border: 1px solid rgba(201,161,74,0.4);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 2rem;
  position: relative;
}
.form::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--emerald));
}

.field {
  margin-bottom: 1.4rem;
}
.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid var(--ivory-dk);
  border-bottom: 2px solid var(--gold);
  color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--burgundy);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-serif);
}

.form-note {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  border-left: 3px solid;
  font-size: 1.02rem;
}
.alert.success {
  background: rgba(15,87,64,0.08);
  border-color: var(--emerald);
  color: var(--emerald-dk);
}
.alert.error {
  background: rgba(90,26,43,0.07);
  border-color: var(--burgundy);
  color: var(--burgundy-dk);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory-dk);
  padding: 3rem var(--gutter) 1.5rem;
  margin-top: 4rem;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
}
.site-footer h4 {
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.site-footer a { color: var(--ivory-dk); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.4rem; font-size: 0.98rem; }
.footer-tag {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.footer-blurb {
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ivory-dk);
  opacity: 0.85;
  max-width: 380px;
}
.copyright {
  border-top: 1px solid rgba(201,161,74,0.2);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  color: var(--ivory-dk);
  opacity: 0.75;
}

/* ---------- Reveal animation on load ---------- */
.hero-inner > * {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s ease forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.20s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.35s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.50s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.65s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
