/*
Theme Name: Onyx Dance Company
Theme URI: https://onyxdancehsv.com
Author: Onyx Dance Company
Author URI: https://onyxdancehsv.com
Description: Dark luxury editorial landing page for Onyx Dance Company — Huntsville, AL. Julius Sans One + Archivo Narrow type system, pure black obsidian aesthetic, gold prestige accents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Private
License URI: https://onyxdancehsv.com
Text Domain: onyx-dance
Tags: dark, landing-page, dance, custom-background, full-width-template
*/

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;1,100;1,200&family=Archivo+Narrow:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #c9a96e;
  --black:   #000000;
  --card-bg: #0a0a0a;
  --white:   #ffffff;
  --muted:   rgba(255,255,255,0.62);
  --dim:     rgba(255,255,255,0.07);
  --julius:  'Montserrat', sans-serif;
  --archivo: 'Archivo Narrow', sans-serif;
  --bask:    'Libre Baskerville', serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--archivo);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.23,1,0.32,1), transform 0.75s cubic-bezier(0.23,1,0.32,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NAV ─── */
.onyx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0) 100%);
}
.onyx-nav__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.onyx-nav__wordmark {
  font-family: var(--julius);
  font-weight: 100;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  color: var(--white);
  line-height: 1;
}
.onyx-nav__logo-img {
  height: 9px;
  filter: invert(1) brightness(1.5);
  opacity: 0.5;
}
.onyx-nav__register {
  font-family: var(--archivo);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 0.65rem 1.75rem;
  transition: opacity 0.2s;
}
.onyx-nav__register:hover { opacity: 0.82; }

/* ─── HERO ─── */
.onyx-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.onyx-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: brightness(0.55) contrast(1.1);
}
.onyx-hero__overlay-bottom {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.15) 100%);
}
.onyx-hero__overlay-left {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.7) 0%, transparent 60%);
}
.onyx-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4rem 7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
}
.onyx-hero__label {
  font-family: var(--archivo);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.onyx-hero__headline {
  font-family: var(--julius);
  font-weight: 100;
  font-size: clamp(3.8rem, 7vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.1rem;
}
.onyx-hero__headline--gold { color: var(--gold); }
.onyx-hero__rule {
  width: 60px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}
.onyx-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.onyx-btn--gold {
  font-family: var(--archivo);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 0.9rem 2.25rem;
  display: inline-block;
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1);
  border: 1px solid var(--gold);
}
.onyx-btn--gold:hover {
  background: transparent;
  color: var(--gold);
}
.onyx-btn--outline {
  font-family: var(--archivo);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.25rem;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.25s;
}
.onyx-btn--outline:hover { border-color: var(--gold); }
.onyx-hero__tagline {
  font-family: var(--archivo);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  max-width: 420px;
  padding-bottom: 0.5rem;
}
.onyx-hero__fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 3;
}

/* ─── DIRECTOR ─── */
.onyx-director {
  background-color: var(--card-bg);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
.onyx-director__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 0 0 4rem;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: center;
}
.onyx-director__portrait-wrap {
  position: relative;
  margin-left: -4rem;
}
.onyx-director__portrait-clip {
  height: 640px;
  overflow: hidden;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
  position: relative;
}
.onyx-director__portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) brightness(0.9);
}
.onyx-director__portrait-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(17,17,17,0.9));
}
.onyx-director__circle {
  position: absolute;
  bottom: 1rem; right: 3rem;
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  z-index: 2;
}
.onyx-director__circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.onyx-director__text {
  padding: 0 4rem 0 3rem;
}
.onyx-label {
  font-family: var(--archivo);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.onyx-rule {
  width: 48px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.onyx-director__name {
  font-family: var(--julius);
  font-weight: 100;
  font-size: clamp(3rem, 4.5vw, 5rem);
  letter-spacing: 0.05em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.onyx-director__title {
  font-family: var(--archivo);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.onyx-director__bio {
  font-family: var(--archivo);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ─── GALLERY ─── */
.onyx-gallery {
  background-color: var(--black);
  padding: 0;
  overflow: hidden;
  margin-bottom: 5px;
}
.onyx-gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1fr;
  grid-template-rows: 320px 220px;
  gap: 3px;
}
.onyx-gallery__cell {
  overflow: hidden;
  position: relative;
}
.onyx-gallery__cell--tall { grid-row: 1 / 3; }
.onyx-gallery__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
  filter: brightness(0.75);
}
.onyx-gallery__cell:hover img { transform: scale(1.04); }
.onyx-gallery__cell__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}

/* ─── QUOTE PANEL ─── */
.onyx-quote {
  position: relative;
  height: 70vh;
  overflow: hidden;
}
.onyx-quote__bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.3) contrast(1.1);
}
.onyx-quote__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
}
.onyx-quote__inner {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 4rem;
}
.onyx-quote__rule {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}
.onyx-quote__line {
  font-family: var(--julius);
  font-weight: 100;
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--white);
  max-width: 900px;
}
.onyx-quote__line--last { margin-bottom: 2rem; }
.onyx-quote__rule-bottom {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.onyx-quote__ethos {
  font-family: var(--archivo);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2rem;
}
.onyx-quote__gold { color: var(--gold); }
.onyx-btn--register {
  font-family: var(--archivo);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gold);
  color: #0a0a0a;
  padding: 1rem 3.5rem;
  display: inline-block;
  transition: opacity 0.2s;
  border: 1px solid var(--gold);
}
.onyx-btn--register:hover { opacity: 0.82; }

/* ─── FOOTER ─── */
.onyx-footer {
  background-color: var(--black);
  border-top: 1px solid rgba(245,240,235,0.07);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.onyx-footer__brand-name {
  font-family: var(--julius);
  font-weight: 100;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--white);
  display: block;
  margin-bottom: 3px;
}
.onyx-footer__logo-img {
  height: 9px;
  filter: invert(1) brightness(1.5);
  opacity: 0.4;
  margin-bottom: 0.25rem;
}
.onyx-footer__city {
  font-family: var(--archivo);
  font-size: 0.68rem;
  color: rgba(245,240,235,0.28);
  letter-spacing: 0.05em;
}
.onyx-footer__links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.onyx-footer__link {
  font-family: var(--archivo);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.38);
  transition: color 0.2s;
}
.onyx-footer__link:hover { color: var(--white); }
.onyx-footer__link--gold { color: var(--gold); }
.onyx-footer__link--gold:hover { color: var(--white); }
.onyx-footer__copy {
  font-family: var(--archivo);
  font-size: 0.62rem;
  color: rgba(245,240,235,0.18);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .onyx-hero__content {
    grid-template-columns: 1fr;
    padding: 0 2rem 5rem;
    gap: 2rem;
  }
  .onyx-hero__tagline { max-width: 100%; }
  .onyx-director__inner {
    grid-template-columns: 1fr;
    padding: 0 2rem;
  }
  .onyx-director__portrait-wrap { margin-left: 0; }
  .onyx-director__portrait-clip { height: 420px; clip-path: none; }
  .onyx-director__text { padding: 2rem 0 0; }
  .onyx-gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .onyx-gallery__cell--tall { grid-row: auto; }
  .onyx-nav { padding: 1rem 1.5rem; }
  .onyx-footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .onyx-quote { height: auto; min-height: 60vh; }
  .onyx-quote__inner { padding: 4rem 2rem; }
}

@media (max-width: 600px) {
  .onyx-hero__headline { font-size: clamp(2.8rem, 11vw, 5rem); }
  .onyx-gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 260px 260px 260px 260px 260px 260px;
  }
  .onyx-gallery__cell--tall { grid-row: auto; }
}

/* ─── PILLARS — TRAIN / PERFORM / TRANSCEND ─── */
.onyx-pillars {
  background: var(--black);
  padding: 6rem 4rem 5rem;
}
.onyx-pillars__header {
  margin-bottom: 3rem;
}
.onyx-pillars__headline {
  font-family: var(--julius);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 100;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
  margin-top: 0.5rem;
}
.onyx-pillars__headline em {
  font-family: var(--bask);
  font-style: italic;
  color: var(--gold);
}
.onyx-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.onyx-pillar-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
}
.onyx-pillar-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.onyx-pillar-card:hover .onyx-pillar-card__img {
  transform: scale(1.04);
}
.onyx-pillar-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.10) 100%);
}
.onyx-pillar-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.75rem;
}
.onyx-pillar-card__label {
  font-family: var(--archivo);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.onyx-pillar-card__title {
  font-family: var(--julius);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 200;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.onyx-pillar-card__body {
  font-family: var(--archivo);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}
@media (max-width: 900px) {
  .onyx-pillars { padding: 4rem 2rem 3rem; }
  .onyx-pillars__grid { grid-template-columns: 1fr; gap: 1rem; }
  .onyx-pillar-card { aspect-ratio: 4 / 3; }
  .onyx-pillar-card__img { object-position: center 20%; }
}
@media (max-width: 600px) {
  .onyx-pillars__grid { grid-template-columns: 1fr; }
  .onyx-pillar-card { aspect-ratio: 3 / 4; }
}
