/* ═══════════════════════════════════════════════════════════════
   SELF-HOSTED FONTS
   These fonts are served from your own server (the /fonts folder),
   not from Google. That means no visitor data is ever sent to a
   third party — which is what stops antivirus software (Kaspersky
   etc.) warning your visitors about possible data leaks.

   Do not add a Google Fonts <link> back into the pages.
   Keep the /fonts folder uploaded alongside style.css.
═══════════════════════════════════════════════════════════════ */

/* ---- Cormorant Garamond ---- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}

/* ---- DM Sans ---- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2');
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0d0d12;
  --cream: #faf8f3;
  --gold: #c9a84c;
  --gold-light: #e8d49a;
  --slate: #3a3f5c;
  --mist: #e8e6df;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* CURSOR */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.6;
}

/* NAV — slim height, elegant small-caps style text */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 4rem;
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid var(--mist);
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.05);
}

nav.scrolled {
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid var(--mist);
  padding: 0.45rem 4rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  transition: opacity 0.35s;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: invert(0) brightness(1);
  transition: filter 0.35s;
}

nav.scrolled .nav-logo img {
  filter: invert(0) brightness(1);
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  transition: color 0.35s;
  line-height: 1.1;
}

.nav-logo-text span {
  color: var(--gold);
}

nav.scrolled .nav-logo-text {
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

nav.scrolled .nav-links a {
  color: var(--slate);
}

nav.scrolled .nav-links a:hover {
  color: var(--ink);
}

/* ── Nav action buttons ─────────────────────────────
   Two-tier hierarchy:
   • Login  = quiet ghost link with a lock glyph (secondary)
   • Register Now = solid ink pill (primary CTA)
   Shared sizing keeps them optically balanced.            */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-login,
.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Secondary: Login — text + lock icon, gold underline on hover */
.nav-login {
  gap: 0.5rem;
  color: var(--ink);
  padding: 0.6rem 0.2rem;
  position: relative;
}

.nav-login svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold);
  transition: transform 0.3s;
}

.nav-login::after {
  content: '';
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.35rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.nav-login:hover {
  color: var(--gold);
}

.nav-login:hover::after {
  transform: scaleX(1);
}

.nav-login:hover svg {
  transform: translateY(-1px);
}

/* Primary: Register Now — solid ink pill */
.nav-cta {
  padding: 0.62rem 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  border-radius: 2px;
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

nav.scrolled .nav-cta {
  color: var(--cream);
}

nav.scrolled .nav-cta:hover {
  color: var(--ink);
}

/* Hamburger — hidden on desktop, shown under 1024px */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Slide-down mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 199;
  background: var(--cream);
  padding: 5.5rem 2rem 2.5rem;
  border-bottom: 1px solid var(--mist);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.nav-drawer.open {
  transform: translateY(0);
}

.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-drawer a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--mist);
  transition: color 0.25s, padding-left 0.25s;
}

.nav-drawer a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.nav-drawer-cta {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
}

.nav-drawer-cta a {
  flex: 1;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border: none;
  border-bottom: none;
}

.nav-drawer-cta .d-login {
  border: 1px solid var(--gold);
  color: var(--ink);
}

.nav-drawer-cta .d-register {
  background: var(--ink);
  color: var(--cream);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(11, 19, 48, 0.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.nav-scrim.open {
  opacity: 1;
  visibility: visible;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 4rem 6rem 6rem;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  margin-top: 2rem;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--slate);
  max-width: 420px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
}

.hero-actions {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}

.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.35s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover span {
  color: var(--ink);
}

.btn-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.btn-link:hover {
  color: var(--gold);
}

.btn-link svg {
  transition: transform 0.3s;
}

.btn-link:hover svg {
  transform: translateX(4px);
}

.hero-right {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.4s forwards;
}

.hero-right-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1f3a 0%, #0d1026 60%, #060810 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 168, 76, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 18s linear infinite;
}

@keyframes gridDrift {
  from {
    transform: translate(0, 0)
  }

  to {
    transform: translate(48px, 48px)
  }
}

.hero-right-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.u-svg {
  width: 110px;
  height: 110px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: scaleIn 1s ease 1.2s forwards;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 360px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.22);
  padding: 1.4rem 1.2rem;
  opacity: 0;
  transform: translateY(20px);
}

.stat-card:nth-child(1) {
  animation: fadeUp 0.7s ease 1.4s forwards
}

.stat-card:nth-child(2) {
  animation: fadeUp 0.7s ease 1.6s forwards
}

.stat-card:nth-child(3) {
  animation: fadeUp 0.7s ease 1.8s forwards
}

.stat-card:nth-child(4) {
  animation: fadeUp 0.7s ease 2.0s forwards
}

.sc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
}

.sc-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.3rem;
}

.sc-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* DIVIDER */
.dq {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3.5rem 6rem;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.dq-line {
  flex: 1;
  height: 1px;
  background: var(--mist);
}

.dq-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--slate);
  text-align: center;
  font-weight: 600;
}

/* ABOUT */
.about {
  padding: 8rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.sec-tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sec-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.sec-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
}

.sec-h2 em {
  font-style: italic;
  color: var(--gold);
}

.sec-body {
  margin-top: 1.5rem;
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--slate);
  font-weight: 300;
}

.about-visual {
  position: relative;
  height: 480px;
}

.av-back {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 82%;
  height: 88%;
  background: linear-gradient(135deg, var(--slate), #1a1f3a);
}

.av-grid-pat {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(250, 248, 243, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 248, 243, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.av-gold {
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 56%;
  background: var(--gold);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-gold-inner {
  text-align: center;
  color: var(--ink);
}

.av-gold-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
}

.av-gold-txt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.av-quote {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--cream);
  border: 1px solid var(--mist);
  padding: 1.4rem 1.8rem;
  max-width: 250px;
  z-index: 4;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.av-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}

.av-quote cite {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* SUBJECTS */
.subjects {
  padding: 8rem 6rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.subjects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.subj-hd {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.subj-hd .sec-h2 {
  color: var(--cream);
}

.subj-hd .sec-h2 em {
  color: var(--gold);
}

.subj-hd .sec-tag {
  color: rgba(201, 168, 76, 0.8);
}

.subj-hd .sec-tag::before {
  background: rgba(201, 168, 76, 0.8);
}

.subj-intro {
  max-width: 300px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(250, 248, 243, 0.45);
  font-weight: 300;
}

.subj-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.12);
}

.subj-card {
  background: var(--ink);
  padding: 2.5rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.subj-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.subj-card:hover {
  background: rgba(201, 168, 76, 0.05);
}

.subj-card:hover::after {
  transform: scaleX(1);
}

.subj-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
  transition: transform 0.3s;
  color: var(--gold);
}

.subj-card:hover .subj-icon {
  transform: translateY(-4px);
}

.subj-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.subj-desc {
  font-size: 0.81rem;
  line-height: 1.72;
  color: rgba(250, 248, 243, 0.42);
}

.subj-pills {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: rgba(201, 168, 76, 0.65);
}

/* APPROACH */
.approach {
  padding: 8rem 6rem;
}

.appr-ctr {
  text-align: center;
  margin-bottom: 4rem;
}

.appr-ctr .sec-tag {
  justify-content: center;
}

.appr-ctr .sec-tag::before {
  display: none;
}

.appr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--mist);
}

.appr-card {
  background: var(--cream);
  padding: 3.2rem 2.4rem;
  position: relative;
  transition: background 0.3s;
}

.appr-card:hover {
  background: #f3f0e8;
}

.appr-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--mist);
  line-height: 1;
  position: absolute;
  top: 1.2rem;
  right: 1.8rem;
}

.appr-icon {
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
}

.appr-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.appr-desc {
  font-size: 0.87rem;
  line-height: 1.82;
  color: var(--slate);
  font-weight: 300;
}

.appr-line {
  display: block;
  margin-top: 2rem;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* SMART ROOM */
.smartroom {
  padding: 8rem 0 8rem 6rem;
  background: linear-gradient(155deg, #0f1228 0%, #1a1f3a 100%);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.smartroom .sec-tag {
  color: rgba(201, 168, 76, 0.8);
}

.smartroom .sec-tag::before {
  background: rgba(201, 168, 76, 0.8);
}

.smartroom .sec-h2 {
  color: var(--cream);
}

.smartroom .sec-h2 em {
  color: var(--gold);
}

.smartroom .sec-body {
  color: rgba(250, 248, 243, 0.5);
}

.sr-feats {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sr-feat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(201, 168, 76, 0.14);
  transition: border-color 0.3s, background 0.3s;
}

.sr-feat:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}

.sr-feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sr-feat-body {
  font-size: 0.86rem;
  color: rgba(250, 248, 243, 0.6);
  line-height: 1.5;
}

.sr-feat-body strong {
  display: block;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 0.15rem;
}

.cls-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 13;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 100%);
  mask-image: linear-gradient(to right, transparent, black 15%, black 100%);
  transform: translateX(5%);
}

.cls-slideshow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 100px 0 100px -50px #1a1f3a;
  pointer-events: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(8, 10, 22, 0.8));
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  text-align: right;
  letter-spacing: 0.05em;
}


/* TESTIMONIALS */
.testi {
  padding: 8rem 6rem;
}

.testi-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  padding: 2.4rem;
  border: 1px solid var(--mist);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.testi-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.testi-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.12;
  position: absolute;
  top: -0.8rem;
  left: 1.4rem;
  line-height: 1;
}

.testi-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--slate);
  font-weight: 300;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testi-auth {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--ink);
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.testi-role {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

/* CTA */
.cta-sec {
  padding: 8rem 6rem;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-sec::before {
  content: 'UNICORN';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.018);
  letter-spacing: 0.1em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.cta-tag-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.75);
}

.cta-tag-wrap span {
  width: 28px;
  height: 1px;
  background: rgba(201, 168, 76, 0.5);
  display: inline-block;
}

.cta-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.cta-h2 em {
  font-style: italic;
  color: var(--gold);
}

.cta-sub {
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(250, 248, 243, 0.42);
  max-width: 460px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  position: relative;
  z-index: 2;
}

.btn-gold {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-ol {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 248, 243, 0.28);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-ol:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* FOOTER */
footer {
  padding: 4rem 6rem;
  background: #07090f;
  border-top: 1px solid #1a1d28;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.ft-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.ft-logo span {
  color: var(--gold);
}

.ft-desc {
  font-size: 0.81rem;
  line-height: 1.72;
  color: rgba(250, 248, 243, 0.3);
  max-width: 230px;
}

.ft-col-title {
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.ft-links {
  list-style: none;
}

.ft-links li+li {
  margin-top: 0.65rem;
}

.ft-links a {
  font-size: 0.81rem;
  color: rgba(250, 248, 243, 0.38);
  text-decoration: none;
  transition: color 0.3s;
}

.ft-links a:hover {
  color: var(--cream);
}

.ft-btm {
  padding: 1.4rem 6rem;
  background: #07090f;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ft-btm p {
  font-size: 0.7rem;
  color: rgba(250, 248, 243, 0.18);
  letter-spacing: 0.05em;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

/* reveal — starts visible, animates when JS adds class */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--ink)
}

::-webkit-scrollbar-thumb {
  background: var(--gold)
}

/* RESPONSIVE */
/* Compress the full desktop nav in the 1200–1360px band so
   the links and buttons never touch before the hamburger kicks in. */
@media(min-width:1201px) and (max-width:1360px) {

  nav,
  nav.scrolled {
    padding: 0.45rem 2rem;
  }

  .nav-links {
    gap: 1.4rem;
  }

  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .nav-actions {
    gap: 0.9rem;
  }
}

@media(max-width:1200px) {

  nav,
  nav.scrolled {
    padding: 0.55rem 1.5rem
  }

  .nav-links {
    display: none
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }
}

@media(max-width:1024px) {
  .hero {
    grid-template-columns: 1fr
  }

  .hero-left {
    padding: 7rem 1.8rem 4rem
  }

  .hero-right {
    height: auto;
    min-height: 480px;
    position: relative;
    z-index: 5;
  }

  .hero-right-inner {
    position: relative;
    padding: 3rem 1.5rem;
  }

  .dq {
    padding: 2.5rem 2rem
  }

  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 2rem
  }

  .about-visual {
    height: 320px
  }

  .av-quote {
    left: 0
  }

  .subjects {
    padding: 5rem 2rem
  }

  .subj-hd {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem
  }

  .subj-grid {
    grid-template-columns: 1fr 1fr
  }

  .approach {
    padding: 5rem 2rem
  }

  .appr-grid {
    grid-template-columns: 1fr;
    gap: 1px
  }

  .smartroom {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 2rem;
  }

  .cls-slideshow {
    transform: none;
    mask-image: none;
    -webkit-mask-image: none;
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 4px;
    aspect-ratio: 16 / 11;
  }

  .cls-slideshow::before {
    display: none;
  }

  .testi {
    padding: 5rem 2rem
  }

  .testi-hd {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .testi-grid {
    grid-template-columns: 1fr
  }

  .cta-sec {
    padding: 5rem 2rem
  }

  .cta-btns {
    flex-direction: column
  }

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 2rem;
    gap: 2.5rem;
  }

  .ft-btm {
    padding: 1.2rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .subj-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:800px) {
  .subj-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {
  .subj-grid {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .nav-logo-text {
    font-size: 1.2rem;
  }

  .hero-h1 {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media(max-width:380px) {

  nav,
  nav.scrolled {
    padding: 0.5rem 1rem;
  }

  .nav-logo-text {
    font-size: 1rem;
  }

  .nav-logo-text span {
    display: block;
    font-size: 0.8em;
    margin-top: -2px;
  }

  .hero-left {
    padding: 6rem 1.2rem 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .btn-primary,
  .btn-link {
    justify-content: center;
  }

  .sec-h2 {
    font-size: 1.8rem;
  }

  .appr-num {
    font-size: 2.5rem;
    top: 0.5rem;
    right: 1rem;
    opacity: 0.4;
  }

  .testi-card {
    padding: 1.8rem 1.2rem;
  }

  .av-quote {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    max-width: none;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }

  .stat-card {
    padding: 1.2rem 1rem;
  }
}
/* ═══════════════════════════════════════════════
   HERO ANNOUNCEMENT BANNER
═══════════════════════════════════════════════ */
.hero-announce {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  margin-bottom: 2rem;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 100px;
  text-decoration: none;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.hero-announce:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.15);
}

.ha-badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  background: var(--gold);
  padding: 0.32rem 0.75rem;
  border-radius: 100px;
  animation: haPulse 2.4s ease-in-out infinite;
}

@keyframes haPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(201, 168, 76, 0); }
}

.ha-text {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.45;
}

.ha-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.ha-link svg {
  transition: transform 0.3s;
}

.hero-announce:hover .ha-link svg {
  transform: translateX(4px);
}

@media(max-width:600px) {
  .hero-announce {
    flex-wrap: wrap;
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    gap: 0.6rem;
  }
}

/* ═══════════════════════════════════════════════
   REGISTRATION FORM
═══════════════════════════════════════════════ */
.reg-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
}

.reg-card {
  background: #fff;
  border: 1px solid var(--mist);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
  padding: 3.5rem 3rem;
}

.reg-step {
  margin-bottom: 2.8rem;
}

.reg-step-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.reg-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
}

.reg-step-hint {
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 1.6rem;
  padding-left: 2.7rem;
}

.reg-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  padding-left: 2.7rem;
}

.reg-field.full {
  grid-column: 1 / -1;
}

.reg-field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.reg-field label .req {
  color: #c0392b;
}

.reg-field input[type="text"],
.reg-field input[type="email"],
.reg-field input[type="tel"],
.reg-field select,
.reg-field textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--mist);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.reg-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%233a3f5c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

.reg-field textarea {
  min-height: 110px;
  resize: vertical;
}

.reg-field input:focus,
.reg-field select:focus,
.reg-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.14);
}

/* radio pills */
.reg-radios {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-left: 2.7rem;
}

.reg-radio {
  position: relative;
}

.reg-radio input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.reg-radio span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--mist);
  background: var(--cream);
  font-size: 0.82rem;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}

.reg-radio span::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 1px solid var(--slate);
  border-radius: 50%;
  transition: all 0.25s;
  flex-shrink: 0;
}

.reg-radio input:checked+span {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--ink);
}

.reg-radio input:checked+span::before {
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold) 0 4px, transparent 5px);
}

.reg-radio input:focus-visible+span {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.3);
}

.reg-radio input:disabled+span {
  opacity: 0.38;
  cursor: not-allowed;
}

/* course checkboxes */
.course-group {
  padding-left: 2.7rem;
  margin-bottom: 1.6rem;
}

.course-group-title {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.7rem;
}

.course-check {
  position: relative;
}

.course-check input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.course-check span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--mist);
  background: var(--cream);
  font-size: 0.8rem;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
  line-height: 1.35;
}

.course-check span::before {
  content: '';
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1px solid var(--slate);
  transition: all 0.2s;
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.course-check input:checked+span {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--ink);
}

.course-check input:checked+span::before {
  background-color: var(--gold);
  border-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='%230d0d12' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.course-check input:focus-visible+span {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.3);
}

.reg-note {
  display: none;
  margin: 0.9rem 0 0 2.7rem;
  padding: 0.8rem 1rem;
  background: rgba(201, 168, 76, 0.08);
  border-left: 2px solid var(--gold);
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.6;
}

.reg-note.show {
  display: block;
}

.reg-error {
  display: none;
  margin: 0 0 1.4rem;
  padding: 0.9rem 1.1rem;
  background: rgba(192, 57, 43, 0.06);
  border-left: 2px solid #c0392b;
  font-size: 0.8rem;
  color: #8e2a1e;
  line-height: 1.6;
}

.reg-error.show {
  display: block;
}

.reg-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.reg-privacy {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  color: var(--slate);
  opacity: 0.7;
  text-align: center;
  line-height: 1.7;
}

@media(max-width:800px) {
  .reg-card {
    padding: 2.2rem 1.4rem;
  }

  .reg-fields {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .reg-step-hint,
  .reg-radios,
  .course-group,
  .reg-note {
    padding-left: 0;
    margin-left: 0;
  }
}

/* ═══════════════════════════════════════════════
   ANNOUNCEMENTS PAGE
═══════════════════════════════════════════════ */
.news-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-card {
  background: #fff;
  border: 1px solid var(--mist);
  border-left: 3px solid var(--gold);
  padding: 2.4rem 2.6rem;
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-margin-top: 90px;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.news-tag {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.news-tag.alt {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.news-date {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.65;
}

.news-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.news-body {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--slate);
  font-weight: 300;
}

.news-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.news-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 0.2rem;
  transition: color 0.3s, border-color 0.3s;
}

.news-cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}

@media(max-width:600px) {
  .news-card {
    padding: 1.8rem 1.3rem;
  }
}

/* ═══════════════════════════════════════════════
   REGISTRATION SUCCESS PAGE
═══════════════════════════════════════════════ */
.success-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  background: linear-gradient(135deg, #1a1f3a 0%, #0d1026 60%, #060810 100%);
  position: relative;
  overflow: hidden;
}

.success-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 168, 76, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 18s linear infinite;
}

.success-card {
  position: relative;
  z-index: 2;
  max-width: 560px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 3.5rem 3rem;
  animation: fadeUp 0.9s ease 0.2s both;
}

.success-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.8rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.7s ease 0.5s both;
}

.success-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.success-h1 em {
  font-style: italic;
  color: var(--gold);
}

.success-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(250, 248, 243, 0.55);
  font-weight: 300;
}

.success-mail {
  margin: 1.6rem 0;
  padding: 1.1rem 1.3rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px dashed rgba(201, 168, 76, 0.4);
  font-size: 0.82rem;
  color: var(--gold-light);
  line-height: 1.7;
}

.success-btns {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media(max-width:600px) {
  .success-card {
    padding: 2.4rem 1.4rem;
  }
}

/* ═══════════════════════════════════════════════
   ENROL STRIP (shared — used on announcements page;
   courses.html has its own identical copy)
═══════════════════════════════════════════════ */
.enrol-strip {
  padding: 6rem 6rem;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.enrol-strip-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
}

.enrol-strip-text p {
  font-size: 0.88rem;
  color: rgba(13, 13, 18, 0.65);
  margin-top: 0.5rem;
  font-weight: 300;
}

.btn-ink {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  background: #0b1330;
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block;
  flex-shrink: 0;
}

.btn-ink:hover {
  background: #162050;
  color: var(--gold);
}

@media(max-width:1024px) {
  .enrol-strip {
    flex-direction: column;
    text-align: center;
    padding: 4rem 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PROGRAMME & CLUB DETAIL PAGES  (shared components)
   Used by: german.html, english.html, japanese.html, korean.html,
            astronomy.html, and the other club pages.
═══════════════════════════════════════════════════════════════ */

/* ---- Detail hero (split: content left, visual right) ---- */
.detail-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 88vh;
  position: relative;
}

.dh-left {
  background: var(--cream);
  padding: 9rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dh-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

.dh-eyebrow .line {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.dh-flag {
  width: 56px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.dh-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.dh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.dh-title em {
  font-style: italic;
  color: var(--gold);
}

.dh-lead {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--slate);
  font-weight: 300;
  max-width: 30rem;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.dh-meta {
  display: flex;
  gap: 2.4rem;
  margin-bottom: 2.6rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.55s forwards;
}

.dh-meta-item .k {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

.dh-meta-item .v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--ink);
}

.dh-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.dh-right {
  position: relative;
  overflow: hidden;
  background: #0b1330;
}

.dh-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.dh-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 19, 48, 0.55) 0%, rgba(11, 19, 48, 0.15) 45%, rgba(11, 19, 48, 0.05) 100%);
}

.dh-right-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 3;
  background: rgba(11, 19, 48, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 1rem 1.4rem;
  max-width: 22rem;
}

.dh-right-badge .q {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.5;
}

.dh-right-badge .a {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---- Generic detail section ---- */
.detail-section {
  padding: 6rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-section.tight {
  padding-top: 3rem;
}

.ds-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.ds-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.ds-title em {
  font-style: italic;
  color: var(--gold);
}

.ds-intro {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--slate);
  font-weight: 300;
  max-width: 44rem;
  margin-bottom: 3rem;
}

/* ---- "Why" reason cards ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--mist);
  border-top: 2px solid var(--gold);
  padding: 2rem 1.8rem;
  transition: transform 0.35s, box-shadow 0.35s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
}

.why-icon {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--slate);
  font-weight: 300;
}

/* ---- Level / progression ladder ---- */
.levels {
  display: grid;
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
}

.level-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: var(--cream);
  padding: 1.6rem 2rem;
  transition: background 0.3s;
}

.level-row:hover {
  background: #fff;
}

.level-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold);
}

.level-body h4 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.level-body p {
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 300;
  line-height: 1.6;
}

.level-tag {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--mist);
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

/* ---- How it works strip ---- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.how-item {
  text-align: center;
}

.how-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.how-item h4 {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.how-item p {
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 300;
  line-height: 1.7;
}

/* ---- Stories / news feed (placeholder-friendly) ---- */
.stories-band {
  background: #fff;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  padding: 6rem 5rem;
}

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

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.story-card {
  border: 1px solid var(--mist);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.story-img {
  height: 170px;
  background: linear-gradient(135deg, #1a1f3a, #0b1330);
  position: relative;
  overflow: hidden;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-body {
  padding: 1.5rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.story-tag {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 0.25rem 0.6rem;
}

.story-date {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.65;
}

.story-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.story-body p {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--slate);
  font-weight: 300;
  flex: 1;
}

.stories-empty {
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 300;
  font-style: italic;
  opacity: 0.7;
  margin-top: 1.5rem;
}

/* ---- Gallery (club highlights) ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  grid-auto-rows: 200px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: #0b1330;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

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

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(11, 19, 48, 0.8));
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}

.gallery-item:hover .gallery-cap {
  opacity: 1;
  transform: translateY(0);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 46rem;
}

.faq-item {
  border-bottom: 1px solid var(--mist);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--ink);
  transition: color 0.25s;
}

.faq-q:hover {
  color: var(--gold);
}

.faq-q .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform 0.3s;
}

.faq-q .plus::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-q .plus::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.open .plus::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 1.4rem;
}

.faq-a p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--slate);
  font-weight: 300;
}

/* ---- Related programmes rail ---- */
.related-rail {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.related-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--mist);
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.3s;
}

.related-chip:hover {
  border-color: var(--gold);
  background: #fff;
  transform: translateY(-2px);
}

.related-chip img {
  width: 22px;
  border-radius: 2px;
}

/* ---- Big CTA band ---- */
.detail-cta {
  padding: 6rem 5rem;
  background: linear-gradient(135deg, #1a1f3a 0%, #0b1330 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.detail-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}

.detail-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto;
}

.detail-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.detail-cta h2 em {
  font-style: italic;
  color: var(--gold);
}

.detail-cta p {
  font-size: 0.92rem;
  color: rgba(250, 248, 243, 0.6);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

.detail-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media(max-width:1024px) {
  .detail-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dh-left {
    padding: 8rem 2rem 3.5rem;
  }

  .dh-right {
    min-height: 340px;
  }

  .detail-section,
  .stories-band,
  .detail-cta {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media(max-width:600px) {
  .dh-meta {
    gap: 1.6rem;
  }

  .level-row {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .level-tag {
    display: none;
  }

  .detail-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .stories-band {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SMART CLUBS — two categories (Smart Kids Club / Smart Minds Club)
   Used on: courses.html, index.html, and each club detail page.
═══════════════════════════════════════════════════════════════ */

.club-cat {
  padding: 5rem 5rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.club-cat + .club-cat {
  border-top: 1px solid var(--mist);
}

.club-cat.minds {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.035), transparent 60%);
}

.club-cat-head {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.club-cat-logo {
  width: 130px;
  height: auto;
  flex-shrink: 0;
}

.club-cat-text {
  flex: 1;
}

.club-cat-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.club-cat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.club-cat-title em {
  font-style: italic;
  color: var(--gold);
}

.club-cat-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate);
  font-weight: 300;
  max-width: 46rem;
}

.club-cat-for {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.45);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
}

/* ---- logo card grid ---- */
.club-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.club-logo-card {
  background: #fff;
  border: 1px solid var(--mist);
  padding: 2rem 1rem 1.6rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
}

.club-logo-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.club-logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.09);
  border-color: rgba(201, 168, 76, 0.4);
}

.club-logo-card:hover::after {
  transform: scaleX(1);
}

.club-logo-card img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  transition: transform 0.4s;
}

.club-logo-card:hover img {
  transform: scale(1.06);
}

.club-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.club-logo-tag {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.65;
  margin-top: auto;
}

/* ---- club logo in a detail-page hero ---- */
.dh-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

/* ---- homepage clubs teaser ---- */
.home-clubs {
  padding: 7rem 5rem;
  background: var(--cream);
  border-top: 1px solid var(--mist);
}

.home-clubs-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.home-clubs-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3.5rem;
}

.home-clubs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.home-club-panel {
  background: #fff;
  border: 1px solid var(--mist);
  padding: 3rem 2.4rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.home-club-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.09);
  border-color: rgba(201, 168, 76, 0.45);
}

.home-club-panel img {
  width: 150px;
  height: auto;
  margin-bottom: 1.6rem;
  transition: transform 0.4s;
}

.home-club-panel:hover img {
  transform: scale(1.05);
}

.home-club-panel h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.home-club-panel h3 em {
  font-style: italic;
  color: var(--gold);
}

.home-club-age {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(201, 168, 76, 0.16);
  border: 1px solid rgba(201, 168, 76, 0.45);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.home-club-panel p {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--slate);
  font-weight: 300;
  margin-bottom: 1.4rem;
}

.home-club-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.home-club-list li {
  font-size: 0.7rem;
  color: var(--slate);
  border: 1px solid var(--mist);
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
}

.home-club-cta {
  margin-top: auto;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.home-club-panel:hover .home-club-cta {
  color: var(--ink);
}

/* ---- responsive ---- */
@media(max-width:1100px) {
  .club-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width:1024px) {
  .club-cat {
    padding: 4rem 2rem 3rem;
  }

  .club-cat-head {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .club-cat-desc {
    margin: 0 auto;
  }

  .home-clubs {
    padding: 4.5rem 2rem;
  }

  .home-clubs-split {
    grid-template-columns: 1fr;
  }
}

@media(max-width:700px) {
  .club-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .club-logo-card {
    padding: 1.5rem 0.7rem 1.2rem;
  }

  .club-logo-card img {
    width: 84px;
    height: 84px;
  }

  .club-logo-name {
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CLUB SUBDOMAIN SITES (smartkids / smartminds / smartclub)
═══════════════════════════════════════════════════════════════ */

/* ---- club-site hero ---- */
.cs-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  background: linear-gradient(150deg, #1a1f3a 0%, #0b1330 60%, #060810 100%);
  position: relative;
  overflow: hidden;
}

.cs-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: gridDrift 20s linear infinite;
}

.cs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.cs-hero-logo {
  width: 190px;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.1s forwards;
}

.cs-hero-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.cs-hero-kicker span {
  width: 28px;
  height: 1px;
  background: rgba(201, 168, 76, 0.5);
}

.cs-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}

.cs-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.cs-hero-lead {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(250, 248, 243, 0.6);
  font-weight: 300;
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}

.cs-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.75s forwards;
}

/* ---- membership pricing ---- */
.pricing {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0b1330, #101736);
}

.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-head {
  text-align: center;
  margin-bottom: 3.2rem;
}

.pricing-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.pricing-head h2 em {
  font-style: italic;
  color: var(--gold);
}

.pricing-head p {
  font-size: 0.92rem;
  color: rgba(250, 248, 243, 0.55);
  font-weight: 300;
  line-height: 1.8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.price-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.28);
  padding: 2.8rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.price-card.featured {
  background: rgba(201, 168, 76, 0.07);
  border-color: rgba(201, 168, 76, 0.55);
}

.price-ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 2.6rem;
  font-weight: 500;
}

.price-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.price-amount .amt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.price-amount .per {
  font-size: 0.85rem;
  color: rgba(250, 248, 243, 0.5);
  font-weight: 300;
}

.price-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: rgba(250, 248, 243, 0.75);
  font-weight: 300;
  padding: 0.55rem 0;
  line-height: 1.5;
}

.price-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--gold);
}

.price-note {
  font-size: 0.72rem;
  color: rgba(250, 248, 243, 0.4);
  text-align: center;
  margin-top: 2rem;
  line-height: 1.7;
}

/* ---- join steps ---- */
.join-steps {
  padding: 6rem 2rem;
  background: var(--cream);
}

.join-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.join-step {
  text-align: center;
  position: relative;
}

.join-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
}

.join-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.join-step p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--slate);
  font-weight: 300;
}

.join-step a {
  color: var(--gold);
}

/* ---- club contact band ---- */
.club-contact {
  padding: 5rem 2rem;
  background: var(--ink);
  text-align: center;
}

.club-contact-inner {
  max-width: 900px;
  margin: 0 auto;
}

.club-contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 2.2rem;
}

.club-contact h2 em {
  font-style: italic;
  color: var(--gold);
}

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

.contact-row .ck {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.75);
  margin-bottom: 0.5rem;
}

.contact-row a,
.contact-row span {
  display: block;
  font-size: 0.9rem;
  color: rgba(250, 248, 243, 0.75);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.25s;
}

.contact-row a:hover {
  color: var(--gold);
}

/* ---- simple club-site nav ---- */
.cs-nav-logo img {
  height: 42px;
  width: auto;
}

.cs-back {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.25s;
}

.cs-back:hover {
  color: var(--gold);
}

/* ---- responsive ---- */
@media(max-width:900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .join-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media(max-width:600px) {
  .cs-hero {
    padding: 7.5rem 1.2rem 4rem;
  }

  .cs-hero-logo {
    width: 140px;
  }

  .price-card {
    padding: 2rem 1.4rem;
  }
}
