﻿:root {
  --black:       #080c0f;
  --deep:        #0d1519;
  --panel:       #111c21;
  --border:      #1e3038;
  --teal:        #2a7a82;
  --teal-bright: #3da8b4;
  --teal-glow:   rgba(42,122,130,0.18);
  --gold:        #b89a5a;
  --gold-light:  #d4b87a;
  --parchment:   #d8cbb4;
  --mist:        #9eb8bc;
  --white:       #f0ece4;
  --cedar:       #7a4a2a;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

/* ── NAV ── */
.st-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: linear-gradient(to bottom, rgba(8,12,15,0.97) 0%, rgba(8,12,15,0) 100%);
  transition: background 0.4s;
}
.st-header.is-scrolled {
  background: rgba(8,12,15,0.97);
  border-bottom: 1px solid var(--border);
}
.nav-mark {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

/* Ocean-depth gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 80%, rgba(42,122,130,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(42,122,130,0.07) 0%, transparent 60%),
    linear-gradient(175deg, #060a0d 0%, #0a1820 40%, #081419 70%, #080c0f 100%);
}

/* Animated wave lines */
.wave-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.12;
}
.wave-lines svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60%;
  animation: waveDrift 18s ease-in-out infinite;
}
.wave-lines svg:nth-child(2) {
  animation-delay: -6s;
  opacity: 0.6;
  transform: scaleY(0.8);
}
.wave-lines svg:nth-child(3) {
  animation-delay: -12s;
  opacity: 0.4;
  transform: scaleY(0.55);
}
@keyframes waveDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3%); }
}

/* Diagonal gold accent line */
.hero-accent-line {
  position: absolute;
  top: 0; right: 18%;
  width: 1px;
  height: 45%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.35;
  animation: fadeSlideDown 2s ease 0.5s both;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 0.35; transform: translateY(0); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  text-shadow:
    0 0 80px rgba(42,122,130,0.3),
    0 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.55s both;
}

.hero-title span { color: var(--gold-light); }

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.75s both;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s both;
}
.hero-divider::before, .hero-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.hero-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}
.diamond { color: var(--gold); font-size: 0.6rem; letter-spacing: 0.5em; }

.hero-copy {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--parchment);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s ease 1.05s both;
}

.hero-cta-row {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s both;
}

.btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  padding: 1rem 2.4rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,154,90,0.3);
}

.btn-ghost {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  background: transparent;
  border: 1px solid var(--teal);
  padding: 1rem 2.4rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-ghost:hover {
  background: var(--teal-glow);
  border-color: var(--teal-bright);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 2s both;
}
.scroll-cue span {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--mist);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── SECTIONS ── */
section { position: relative; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1rem 0 2.5rem;
}

/* ── ABOUT ── */
#about {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  color: var(--parchment);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
  opacity: 0.9;
}
.about-text p em { color: var(--gold-light); font-style: italic; }

.about-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wing Chun chain punch SVG art */
.wing-chun-art {
  width: 320px;
  height: 380px;
  opacity: 0.85;
  filter: drop-shadow(0 0 40px rgba(42,122,130,0.25));
}

/* Lineage tag */
.lineage-tag {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--border);
  padding: 0.8rem 1.4rem;
  background: rgba(42,122,130,0.05);
}
.lineage-tag span {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}
.lineage-dot { width: 6px; height: 6px; background: var(--teal-bright); border-radius: 50%; display:inline-block; }

.lineage-dot-before {
  position:relative;
}
.lineage-dot-before::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--teal-bright);
  border-radius: 50%;
  margin-right: 10px;
}
/* ── GRANDMASTER ── */
#grandmaster {
  background: var(--black);
  overflow: hidden;
}

.gm-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.gm-text p {
  color: var(--parchment);
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.3rem;
  opacity: 0.88;
}

.gm-credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--border);
  margin-top: 2.5rem;
  border: 1px solid var(--border);
}
.gm-cred {
  background: var(--panel);
  padding: 1.2rem 1.4rem;
}
.gm-cred-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.4rem;
}
.gm-cred-value {
  font-size: 1rem;
  color: var(--parchment);
  line-height: 1.5;
}

/* Vertical teal stripe decoration */
.gm-accent {
  position: absolute;
  right: 0; top: 10%;
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: 0.25;
}

/* ── CURRICULUM ── */
#curriculum {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.curriculum-intro {
  max-width: 640px;
  margin-bottom: 4rem;
}
.curriculum-intro p {
  color: var(--parchment);
  font-size: 1.1rem;
  line-height: 1.85;
  opacity: 0.88;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 4rem;
}

.pillar {
  background: var(--panel);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.pillar:hover { background: #162029; }
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pillar:hover::after { opacity: 1; }

.pillar-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.pillar:hover .pillar-num { color: rgba(42,122,130,0.2); }

.pillar-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.pillar-body {
  font-size: 0.98rem;
  color: var(--mist);
  line-height: 1.75;
}

/* Weapons section */
.weapons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.weapon-card {
  background: var(--panel);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.weapon-icon {
  font-size: 2rem;
  color: var(--teal-bright);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.weapon-name {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.weapon-desc {
  font-size: 0.96rem;
  color: var(--mist);
  line-height: 1.7;
}

/* ── CLASSES ── */
#classes {
  background: var(--black);
}

.classes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.class-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  background: var(--panel);
  transition: border-color 0.3s, transform 0.3s;
}
.class-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}
.class-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #14201a 0%, var(--panel) 100%);
}
.class-card.featured:hover { border-color: var(--gold-light); }

.class-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.25rem 0.8rem;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.class-badge.teal {
  background: var(--teal);
  color: var(--white);
}

.class-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
}
.class-desc {
  font-size: 1rem;
  color: var(--mist);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.class-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.class-meta-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}
.class-meta-item::before {
  content: '◆';
  color: var(--teal-bright);
  font-size: 0.4rem;
}

/* ── PHILOSOPHY ── */
#philosophy {
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.philosophy-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.blockquote-art {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2rem;
  position: relative;
}
.blockquote-art::before {
  content: '"';
  position: absolute;
  top: -0.6em;
  left: -0.3em;
  font-size: 6rem;
  color: var(--teal);
  opacity: 0.15;
  font-style: normal;
  line-height: 1;
}

.blockquote-source {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 5rem;
  border: 1px solid var(--border);
  background: var(--border);
}
.phil-item {
  background: var(--panel);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
}
.phil-item:hover { background: #1a2d35; }
.phil-glyph {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--teal-bright);
}
.phil-name {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.phil-desc {
  font-size: 0.92rem;
  color: var(--mist);
  line-height: 1.65;
}

/* ── CONTACT ── */
#contact {
  background: var(--black);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: start;
}

.contact-form-group {
  margin-bottom: 1.4rem;
}
.contact-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  display: block;
  margin-bottom: 0.5rem;
}
.contact-input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.3s;
}
.contact-input:focus { border-color: var(--teal); }
.contact-input::placeholder { color: rgba(158,184,188,0.35); }
textarea.contact-input { resize: vertical; min-height: 120px; }

.contact-submit {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  border: none;
  padding: 1.1rem 3rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
  width: 100%;
}
.contact-submit:hover {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42,122,130,0.3);
}

.contact-info {
  padding-top: 1rem;
}
.contact-info-block {
  margin-bottom: 2.5rem;
}
.contact-info-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.6rem;
}
.contact-info-value {
  font-size: 1.05rem;
  color: var(--parchment);
  line-height: 1.7;
}
.contact-info-value a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-info-value a:hover { color: var(--white); }

/* ── FOOTER ── */
.st-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-mark {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  color: var(--gold);
}
.footer-lineage {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: center;
  line-height: 1.8;
}
.footer-lineage span { color: var(--teal-bright); }
.footer-copy {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(158,184,188,0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .st-header { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .about-grid, .gm-layout, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-art { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: 1fr; }
  .philosophy-pillars { grid-template-columns: 1fr 1fr; }
  .weapons-row { grid-template-columns: 1fr; }
  .st-footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .gm-credential-grid { grid-template-columns: 1fr; }
  }

/* ── WordPress block theme integration ── */

html {
  scroll-padding-top: 5rem;
}

.st-site-shell {
  overflow-x: hidden;
  position: relative;
}

/* Offset main content for fixed header */
.st-site-shell main {
  padding-top: 0;
}

.st-header.alignfull {
  background: transparent !important;
  border: none !important;
  margin: 0;
  max-width: none;
  width: 100%;
}

.st-header > .wp-block-group.alignwide {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  justify-content: space-between;
  width: 100%;
}

.st-header .nav-mark,
.st-header .nav-mark a {
  color: var(--gold);
  margin: 0;
  text-decoration: none;
}

.st-header .nav-mark a:hover {
  color: var(--gold-light);
}

.st-header .wp-block-navigation__container {
  gap: 2.5rem;
}

.st-header .wp-block-navigation .wp-block-navigation-item__content {
  color: var(--mist);
}

.st-header .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--gold-light);
}

/* Hero — cover block + ocean gradient overlay */
#hero.st-hero {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
  position: relative;
}

#hero.st-hero .wp-block-cover__inner-container {
  position: relative;
  width: 100%;
  z-index: 3;
}

#hero.st-hero .wp-block-cover__image-background {
  filter: saturate(1.05) contrast(1.05);
}

#hero.st-hero::before {
  background:
    radial-gradient(ellipse 70% 60% at 50% 80%, rgba(42, 122, 130, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(42, 122, 130, 0.07) 0%, transparent 60%),
    linear-gradient(175deg, #060a0d 0%, #0a1820 40%, #081419 70%, #080c0f 100%);
  content: "";
  inset: 0;
  opacity: 0.85;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

#hero.st-hero::after {
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  content: "";
  height: 45%;
  opacity: 0.35;
  position: absolute;
  right: 18%;
  top: 0;
  width: 1px;
  z-index: 2;
}

#hero.st-hero .wp-block-cover__background {
  z-index: 0;
}

/* Section layout helpers */
.st-section {
  padding: 7rem 0;
  position: relative;
}

.st-section > .alignwide,
.st-section > .wp-block-group.alignwide {
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  padding: 7rem 2rem;
}

.wp-block-separator.gold-rule,
hr.gold-rule {
  background: linear-gradient(to right, var(--gold), transparent) !important;
  border: none;
  height: 2px;
  margin-bottom: 2.5rem;
  max-width: 60px;
  width: 60px !important;
}

.wp-block-separator.gold-rule.has-text-align-center,
hr.gold-rule.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

h6.section-label,
.section-label {
  color: var(--teal-bright);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h2.section-title,
.section-title {
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Buttons mapped to design */
.hero-cta-row .wp-block-button__link,
#contact .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 0;
  color: var(--black);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.hero-cta-row .wp-block-button__link:hover,
#contact .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 8px 30px rgba(184, 154, 90, 0.3);
  color: var(--black);
  transform: translateY(-2px);
}

.hero-cta-row .wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--teal);
  border-radius: 0;
  color: var(--teal-bright);
}

.hero-cta-row .wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--teal-glow);
  border-color: var(--teal-bright);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero divider (block group variant) */
.hero-divider.wp-block-group {
  align-items: center;
  animation: fadeUp 1s ease 0.9s both;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2.8rem;
  opacity: 0;
}

.hero-divider.wp-block-group::before,
.hero-divider.wp-block-group::after {
  background: linear-gradient(to right, transparent, var(--gold));
  content: "";
  flex: 1;
  height: 1px;
  max-width: 120px;
}

.hero-divider.wp-block-group::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.hero-divider .diamond {
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  margin: 0;
}

/* About grid via columns */
.about-grid {
  align-items: center;
}

.about-grid > .wp-block-column:first-child p {
  color: var(--parchment);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
  opacity: 0.9;
}

.about-grid > .wp-block-column:first-child em {
  color: var(--gold-light);
  font-style: italic;
}

.lineage-tag {
  margin-top: 2rem;
}

.lineage-tag p {
  margin: 0;
}

/* Grandmaster */
.gm-layout {
  align-items: start;
}

.gm-text p {
  color: var(--parchment);
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.3rem;
  opacity: 0.88;
}

.gm-credential-grid > .wp-block-columns {
  gap: 1px !important;
  margin: 0;
}

.gm-credential-grid .wp-block-column {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1.2rem 1.4rem;
}

.gm-cred-label {
  color: var(--teal-bright);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.gm-cred-value {
  color: var(--parchment);
  font-size: 1rem;
  line-height: 1.5;
}

.lineage-chain .wp-block-group {
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}

.lineage-chain .wp-block-group:last-child {
  border-bottom: none;
}

/* Curriculum pillars */
.pillars-grid > .wp-block-column {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
}

.pillars-grid > .wp-block-column:last-child {
  border-bottom: none;
}

.pillars-grid > .wp-block-column:hover {
  background: #162029;
}

.pillars-grid > .wp-block-column:hover::after {
  background: linear-gradient(to right, var(--teal), transparent);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  opacity: 1;
  position: absolute;
  width: 100%;
}

.pillar-num {
  color: var(--border);
  font-family: 'Cinzel Decorative', serif;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.pillars-grid > .wp-block-column:hover .pillar-num {
  color: rgba(42, 122, 130, 0.2);
}

.pillar-title {
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.pillar-body {
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.75;
}

.weapons-row > .wp-block-column {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 2rem 2.5rem;
}

.weapons-row > .wp-block-column:last-child {
  border-bottom: none;
}

/* Classes */
.classes-grid {
  margin-top: 2rem;
}

.class-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.class-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}

.class-card.featured {
  background: linear-gradient(135deg, #14201a 0%, var(--panel) 100%);
  border-color: var(--gold);
}

.class-card.featured:hover {
  border-color: var(--gold-light);
}

.class-badge {
  background: var(--gold);
  color: var(--black);
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 1.2rem;
  padding: 0.25rem 0.8rem;
  text-transform: uppercase;
}

.class-badge.teal {
  background: var(--teal);
  color: var(--white);
}

.class-name {
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.class-desc {
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.class-card .wp-block-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  padding-left: 0;
}

.class-card .wp-block-list li {
  align-items: center;
  color: var(--mist);
  display: flex;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  gap: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.class-card .wp-block-list li::before {
  color: var(--teal-bright);
  content: "◆";
  font-size: 0.4rem;
}

/* Philosophy */
#philosophy {
  text-align: center;
}

.philosophy-inner {
  margin: 0 auto;
  max-width: 780px;
  padding: 0 2rem;
}

.philosophy-pillars {
  margin-top: 5rem;
}

.philosophy-inner .wp-block-quote {
  border: none;
  margin: 0;
  padding: 0;
}

.philosophy-inner .wp-block-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2rem;
  position: relative;
}

.philosophy-inner .wp-block-quote cite {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.philosophy-pillars > .wp-block-column {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
}

.philosophy-pillars > .wp-block-column:hover {
  background: #1a2d35;
}

.phil-name {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.phil-desc {
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Contact */
.contact-info-block {
  margin-bottom: 2.5rem;
}

.contact-info-block h6 {
  margin-bottom: 0.6rem;
}

.contact-info-value,
.contact-info-block p,
.contact-info-block .wp-block-list {
  color: var(--parchment);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-info-value a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-value a:hover {
  color: var(--white);
}

/* Footer */
.st-footer.alignfull {
  background: var(--deep) !important;
  border-top: 1px solid var(--border);
  max-width: none;
}

.st-footer > .wp-block-group.alignwide {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  width: 100%;
}

.st-footer .footer-mark {
  color: var(--gold);
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  margin: 0;
}

.st-footer .footer-lineage {
  color: var(--mist);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  line-height: 1.8;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.st-footer .footer-copy {
  color: rgba(158, 184, 188, 0.4);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  margin: 0;
}

/* Inner pages */
main .wp-block-post-content {
  color: var(--parchment);
}

main .wp-block-post-content .wp-block-heading {
  color: var(--white);
  margin-top: var(--wp--preset--spacing--60);
}

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

  .hero-eyebrow,
  .hero-title,
  .hero-subtitle,
  .hero-divider,
  .hero-copy,
  .hero-cta-row,
  .scroll-cue {
    animation: none;
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .wave-lines svg,
  .scroll-line {
    animation: none;
  }
}


@media (min-width: 782px) {
.pillars-grid > .wp-block-column, .weapons-row > .wp-block-column {
  border-right: 1px solid var(--border);
  border-bottom: none;
}

.pillars-grid > .wp-block-column:last-child, .weapons-row > .wp-block-column:last-child {
  border-right: none;
}

}