/* ============================================
   Bhuvi’s_View – Indian Martial Arts Academy
   ============================================ */

:root {
  --bg: #070707;
  --bg-elevated: #0f0f0f;
  --bg-card: #121212;
  --ink: #f3efe6;
  --ink-muted: #b8b0a2;
  --gold: #d4af37;
  --gold-soft: #e6c75a;
  --gold-dim: rgba(212, 175, 55, 0.35);
  --crimson: #8b1515;
  --crimson-deep: #5c0c0c;
  --crimson-bright: #b01c1c;
  --line: rgba(212, 175, 55, 0.28);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --header-h: 4.25rem;
  --radius: 2px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) #0a0a0a;
}

/* Themed scrollbar – WebKit */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #080808;
  border-left: 1px solid rgba(212, 175, 55, 0.12);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c9a227 0%, #8b1515 55%, #5c0c0c 100%);
  border: 2px solid #080808;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e6c75a 0%, #b01c1c 50%, #8b1515 100%);
}

::-webkit-scrollbar-corner {
  background: #080808;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139, 21, 21, 0.18), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, var(--bg) 40%, #090909 100%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Custom martial-arts cursor ---------- */

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
}

.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 10000;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor .cursor {
    display: block;
  }
}

.cursor__staff {
  position: absolute;
  width: 42px;
  height: 42px;
  color: var(--gold);
  transform: translate(-8px, -8px) rotate(8deg);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.55));
  transition: color 0.25s var(--ease), filter 0.25s var(--ease), transform 0.2s var(--ease);
  will-change: transform;
}

.cursor__staff svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: staff-pulse 2.4s ease-in-out infinite;
}

.cursor__tip {
  animation: tip-glow 1.6s ease-in-out infinite;
}

.cursor__ring {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 50%;
  transform: scale(0.55);
  opacity: 0;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), border-color 0.28s var(--ease);
}

.cursor__trail {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.55), rgba(139, 21, 21, 0.15) 60%, transparent 75%);
  opacity: 0.65;
  filter: blur(1px);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s var(--ease);
}

.cursor.is-hover .cursor__staff {
  color: var(--gold-soft);
  filter: drop-shadow(0 0 10px rgba(230, 199, 90, 0.75)) drop-shadow(0 0 4px rgba(176, 28, 28, 0.45));
  transform: translate(-8px, -8px) rotate(8deg) scale(1.12);
}

.cursor.is-hover .cursor__ring {
  opacity: 1;
  transform: scale(1.35);
  border-color: rgba(176, 28, 28, 0.75);
  animation: ring-spin 1.1s linear infinite;
}

.cursor.is-hover .cursor__trail {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  opacity: 0.9;
}

.cursor.is-down .cursor__staff {
  transform: translate(-8px, -8px) rotate(18deg) scale(0.88);
  color: #fff1c2;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.9));
}

.cursor.is-down .cursor__ring {
  transform: scale(0.7);
  opacity: 0.85;
}

.cursor-spark {
  position: fixed;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
  pointer-events: none;
  z-index: 9999;
  animation: spark-fade 0.55s ease-out forwards;
}

@keyframes staff-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.35)); }
}

@keyframes tip-glow {
  0%, 100% { opacity: 0.75; r: 2.4; }
  50% { opacity: 1; }
}

@keyframes ring-spin {
  to { transform: scale(1.35) rotate(360deg); }
}

@keyframes spark-fade {
  0% { opacity: 0.95; transform: scale(1) translate(0, 0); }
  100% { opacity: 0; transform: scale(0.2) translate(var(--sx, 8px), var(--sy, -12px)); }
}

@media (prefers-reduced-motion: reduce) {
  .cursor,
  .cursor-spark {
    display: none !important;
  }

  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }

  .cursor__staff svg,
  .cursor__tip,
  .cursor.is-hover .cursor__ring {
    animation: none !important;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--gold-soft);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: #111;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(180deg, var(--crimson-bright), var(--crimson-deep));
  color: var(--gold-soft);
  box-shadow: 0 8px 24px rgba(139, 21, 21, 0.35);
}

.btn--primary:hover {
  color: #fff8e7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(139, 21, 21, 0.45);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.btn--text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  letter-spacing: 0.16em;
}

.btn--text:hover {
  color: var(--gold-soft);
}

.btn--text::after {
  content: " →";
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.92);
  border-bottom-color: rgba(139, 21, 21, 0.55);
  box-shadow: 0 1px 0 var(--gold-dim), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.nav__brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
}

.nav__brand-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: rgba(243, 239, 230, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--gold);
}

.nav__link.is-active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle-bar {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 56rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.02);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.28) 72%, rgba(5, 5, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.15) 40%, rgba(5, 5, 5, 0.88) 100%);
}

.hero__brush {
  position: absolute;
  left: 0;
  right: 0;
  height: 7rem;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(ellipse 40% 80% at 10% 50%, rgba(139, 21, 21, 0.75), transparent 70%),
    radial-gradient(ellipse 35% 90% at 85% 40%, rgba(139, 21, 21, 0.55), transparent 70%);
  filter: blur(0.5px);
}

.hero__brush--top {
  top: 0;
  mask-image: linear-gradient(180deg, #000 20%, transparent);
}

.hero__brush--bottom {
  bottom: 0;
  mask-image: linear-gradient(0deg, #000 25%, transparent);
}

.hero__content {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 40rem);
}

.hero__crest {
  width: 6.75rem;
  height: 6.75rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.35);
  animation: crest-in 1.1s var(--ease) both;
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.45rem;
  background: linear-gradient(180deg, #f0d778 0%, var(--gold) 45%, #9a7a22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: rgba(243, 239, 230, 0.92);
  letter-spacing: 0.02em;
}

.hero__tagline {
  margin: 0 0 1.15rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__headline {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  max-width: 28ch;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, 0.6%, 0); }
}

@keyframes crest-in {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--crimson-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-style: italic;
  color: rgba(243, 239, 230, 0.9);
}

.section-lead {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.ornament::before,
.ornament::after {
  content: "";
  width: min(5rem, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament span {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

/* ---------- About ---------- */

.about {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(139, 21, 21, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about__copy {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.about__copy > p {
  margin-bottom: 1.15rem;
}

.about__copy .btn {
  margin-top: 1rem;
}

.affiliation-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--gold-dim);
  background: linear-gradient(135deg, rgba(139, 21, 21, 0.18), rgba(0, 0, 0, 0.35));
}

@media (max-width: 520px) {
  .affiliation-badge {
    flex-direction: column;
    text-align: center;
  }
}

.affiliation-badge img {
  width: 7.5rem;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  border: 1px solid var(--gold-dim);
  background: #0a0a0a;
}

.affiliation-badge__label {
  margin: 0 0 0.25rem;
  color: var(--crimson-bright);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.affiliation-badge__title {
  margin: 0 0 0.2rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.affiliation-badge__meta {
  margin: 0 0 0.35rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.affiliation-badge__motto {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.highlight-card {
  padding: 1.35rem 1.2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.25));
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.highlight-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.highlight-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.highlight-card__icon svg {
  width: 100%;
  height: 100%;
}

.highlight-card h3 {
  color: var(--gold-soft);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.highlight-card p {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* ---------- Martial Arts ---------- */

.martial {
  background:
    linear-gradient(180deg, transparent, rgba(139, 21, 21, 0.06), transparent);
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.discipline-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.discipline-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.discipline-card__icon {
  width: 7.25rem;
  height: 7.25rem;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.discipline-card__ring {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(139, 21, 21, 0.55), rgba(70, 8, 8, 0.35) 62%, transparent 72%);
  border: 2.5px dashed rgba(176, 28, 28, 0.95);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.08);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.discipline-card__icon img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}

.discipline-card:hover .discipline-card__ring {
  border-color: var(--crimson-bright);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.18), 0 0 18px rgba(139, 21, 21, 0.25);
  transform: scale(1.04);
}

.discipline-card:hover .discipline-card__icon img {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) brightness(1.08);
}

.discipline-card h3 {
  text-align: center;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.discipline-card > p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  flex: 1;
}

.benefit-list {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.benefit-list li {
  position: relative;
  padding-left: 1rem;
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.86rem;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--crimson-bright);
  transform: rotate(45deg);
}

/* ---------- Why / Who / Benefits ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.why-card {
  padding: 1.35rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.85);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.why-card__num {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--crimson-bright);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.why-card h3 {
  font-size: 0.92rem;
  color: var(--gold-soft);
  margin-bottom: 0.45rem;
  letter-spacing: 0.06em;
}

.why-card p {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.audience-grid,
.benefits-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.audience-card,
.benefit-card,
.testimonial-card {
  padding: 1.6rem 1.35rem;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.35));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.audience-card:hover,
.benefit-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.audience-card h3,
.benefit-card h3 {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.audience-card p,
.benefit-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.benefit-card:hover::before {
  opacity: 1;
}

/* ---------- Batches ---------- */

.batches {
  overflow: hidden;
}

.batches__brush {
  position: absolute;
  inset: 10% -5% auto;
  height: 80%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 40%, rgba(139, 21, 21, 0.28), transparent 45%),
    radial-gradient(ellipse at 100% 60%, rgba(139, 21, 21, 0.22), transparent 42%);
}

.batch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.batch-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1px solid var(--gold-dim);
  background: rgba(10, 10, 10, 0.75);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.batch-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.batch-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.batch-card__icon svg {
  width: 100%;
  height: 100%;
}

.batch-card h3 {
  color: var(--gold-soft);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.batch-card__time {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink);
}

.batch-card__tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.batches__modes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 2rem 0 0;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pin-icon {
  width: 1.15rem;
  height: 1.15rem;
}

/* ---------- Journey ---------- */

.timeline {
  display: grid;
  gap: 0;
  max-width: 48rem;
  margin-inline: auto;
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 0 0 2rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 4px);
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  background: var(--crimson);
  transform: rotate(45deg);
}

.timeline__step {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  padding-top: 0.1rem;
}

.timeline__item h3 {
  color: var(--gold-soft);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline__item p {
  color: var(--ink-muted);
}

/* ---------- Instructor ---------- */

.instructor__layout {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.8);
}

.instructor__photo {
  text-align: center;
}

.instructor__photo > img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
  background: #111;
  margin-bottom: 0.75rem;
}

.instructor__affiliation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  text-align: left;
}

.instructor__affiliation img {
  width: 5.5rem;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  border: 1px solid var(--gold-dim);
  background: #0a0a0a;
  flex-shrink: 0;
}

.instructor__affiliation p {
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.instructor__affiliation span {
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.82em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instructor__info h3 {
  color: var(--gold);
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.instructor__role {
  color: var(--ink-muted);
  margin-bottom: 1.35rem;
  font-size: 0.95rem;
}

.instructor__meta {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

.instructor__meta dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson-bright);
  margin-bottom: 0.2rem;
}

.instructor__meta dd {
  margin: 0;
  color: var(--ink);
}

.instructor__tenure {
  margin: 0 0 0.55rem;
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.instructor__list {
  display: grid;
  gap: 0.4rem;
}

.instructor__list li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.instructor__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--crimson-bright);
  transform: rotate(45deg);
}

.instructor__list li span {
  color: rgba(184, 176, 162, 0.75);
  font-size: 0.86em;
}

.instructor__list strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.instructor__list--achievements li::before {
  background: var(--gold);
}

.instructor__quote {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(243, 239, 230, 0.9);
  background: rgba(139, 21, 21, 0.12);
}

.placeholder-note,
.placeholder-banner {
  color: rgba(184, 176, 162, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.placeholder-inline {
  color: rgba(184, 176, 162, 0.8);
  font-style: italic;
}

/* ---------- Testimonials ---------- */

.testimonial-card {
  margin: 0;
}

.testimonial-card blockquote {
  margin: 0 0 1.15rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
}

.testimonial-card figcaption {
  color: var(--ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.testimonial-card strong {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- CTA Banner ---------- */

.cta-banner {
  position: relative;
  padding: clamp(4rem, 8vw, 5.5rem) 0;
  overflow: hidden;
  border-block: 1px solid var(--gold-dim);
  background:
    linear-gradient(180deg, rgba(92, 12, 12, 0.55), rgba(20, 5, 5, 0.92)),
    radial-gradient(ellipse at center, rgba(176, 28, 28, 0.35), transparent 65%);
  text-align: center;
}

.cta-banner__brush {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(212, 175, 55, 0.12), transparent 40%),
    radial-gradient(ellipse at 85% 40%, rgba(212, 175, 55, 0.1), transparent 38%);
}

.cta-banner__content {
  position: relative;
  max-width: 42rem;
}

.cta-banner h2 {
  color: var(--gold);
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(243, 239, 230, 0.88);
  margin-bottom: 1.75rem;
}

.cta-banner .hero__actions {
  justify-content: center;
}

/* ---------- Contact ---------- */

.contact__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact__details {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.85);
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-list__label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list span {
  color: var(--ink);
  word-break: break-word;
}

.socials {
  display: grid;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}

.social-link:hover {
  color: var(--gold-soft);
}

.contact-form {
  padding: 1.75rem;
  border: 1px solid var(--gold-dim);
  background: rgba(10, 10, 10, 0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0b0b;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-status {
  margin-top: 0.85rem;
  min-height: 1.25rem;
  font-size: 0.92rem;
  color: var(--gold-soft);
}

.form-status.is-error {
  color: #ff8f8f;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2.75rem 0 2.25rem;
  border-top: 1px solid var(--gold-dim);
  background: #050505;
  text-align: center;
}

.footer__marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
}

.footer__marks img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  border: 1px solid var(--gold-dim);
  background: #0a0a0a;
}

.footer__marks img[alt*="crest"] {
  border-radius: 50%;
}

.footer__marks img[alt*="Porkalai"] {
  width: 5.25rem;
  height: auto;
  border-radius: 0;
}

.footer__brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.footer__affiliation {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.footer__nav,
.footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin-bottom: 1rem;
}

.footer__nav a,
.footer__socials a {
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__nav a:hover,
.footer__socials a:hover {
  color: var(--gold);
}

.footer__copy {
  margin: 1.25rem 0 0;
  color: rgba(184, 176, 162, 0.65);
  font-size: 0.82rem;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keep above-the-fold hero readable even before JS/observers run */
.hero .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__image,
  .hero__crest {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .discipline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .audience-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about__grid,
  .instructor__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 6.5rem 0 4rem;
    margin-left: auto;
    width: min(100% - 2.5rem, var(--max));
  }

  .hero__image {
    object-position: 65% center;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.72) 45%, rgba(5, 5, 5, 0.94) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.65), rgba(5, 5, 5, 0.25));
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid,
  .batch-grid {
    grid-template-columns: 1fr;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(7, 7, 7, 0.96);
    border-bottom: 1px solid var(--gold-dim);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    display: block;
    padding: 0.95rem 0.35rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .highlight-grid,
  .discipline-grid,
  .why-grid,
  .audience-grid,
  .testimonial-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero__crest {
    width: 5.75rem;
    height: 5.75rem;
  }

  .hero__actions,
  .cta-banner .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .nav__brand-text {
    font-size: 0.82rem;
  }

  .instructor__layout,
  .contact-form,
  .contact__details {
    padding: 1.25rem;
  }

  .timeline {
    padding-left: 1.25rem;
  }
}
