/* ==========================================================================
   HANIS BEAUTY ACADEMY — LUXURY EDITORIAL DESIGN SYSTEM
   Preserves dark espresso/obsidian & champagne identity + Section 05 palette
   ========================================================================== */
:root {
  --bg-obsidian: #12100e;
  --bg-surface: #1a1615;
  --bg-elevated: #231d1c;
  --bg-plum: #292326;
  --bg-cocoa: #3B3030;
  --gold: #C6A77B;
  --gold-light: #e5cca6;
  --gold-deep: #9b7d52;
  --warm-beige: #E9DED2;
  --soft-ivory: #FAF7F2;
  --rose-nude: #D8BEB4;
  --muted: #b0a79f;
  --muted-dim: #88817E;
  --danger: #e27a7a;
  --success: #8fc79a;
  --border-subtle: rgba(233, 222, 210, 0.13);
  --border-gold: rgba(198, 167, 123, 0.38);
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-deep: 0 30px 75px rgba(0, 0, 0, 0.68);
  --radius-sm: 2px;
  --container-pad: clamp(20px, 6.5vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg-obsidian);
}

body {
  margin: 0;
  background: var(--bg-obsidian);
  color: var(--soft-ivory);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  line-height: 1.9;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video { max-width: 100%; }

/* Keyboard Focus Accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  right: 20px;
  z-index: 500;
  background: var(--gold);
  color: #16120e;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--gold); }

/* Subtle One-Time Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   1. HEADER & NAVIGATION (7 Primary Destinations + Accessible Mobile Drawer)
   ========================================================================== */
.header {
  height: 92px;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--container-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  gap: clamp(18px, 2.8vw, 44px);
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.82) 0%, rgba(18, 16, 14, 0.38) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s ease, height .3s ease, border-color .3s ease;
}
.header.is-scrolled,
.header.header-solid {
  height: 80px;
  background: rgba(18, 16, 14, 0.95);
  border-bottom-color: rgba(198, 167, 123, 0.25);
}

.brand {
  width: 88px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand picture,
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  flex: 1;
}
.header nav a {
  font-size: 13px;
  color: var(--warm-beige);
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
  transition: color .25s ease;
}
.header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.header nav a:hover,
.header nav a.active,
.header nav a[aria-current="page"] {
  color: var(--gold);
}
.header nav a.active::after,
.header nav a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-cta {
  border: 1px solid var(--gold);
  padding: 11px 18px;
  color: var(--gold-light);
  font-size: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  background: rgba(198, 167, 123, 0.08);
  transition: background .25s ease, color .25s ease;
}
.header-cta:hover {
  background: var(--gold);
  color: #17120c;
}

.menu {
  display: none;
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   2. SHARED TYPOGRAPHY, BUTTONS & EDITORIAL TOKENS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
}
.eyebrow span {
  width: 30px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  color: var(--soft-ivory);
}
h2 {
  font-size: clamp(27px, 2.9vw, 42px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.015em;
  margin: 14px 0;
  color: var(--soft-ivory);
}
h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.75;
  color: var(--soft-ivory);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button.gold {
  background: var(--gold);
  color: #17120c;
}
.button.gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.button.outline {
  background: rgba(18, 16, 14, 0.45);
  color: var(--soft-ivory);
  border-color: rgba(233, 222, 210, 0.42);
}
.button.outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.button.rose {
  background: rgba(216, 190, 180, 0.14);
  color: var(--rose-nude);
  border-color: rgba(216, 190, 180, 0.45);
}
.button.rose:hover {
  background: var(--rose-nude);
  color: #1c1414;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(198, 167, 123, 0.55);
  padding-bottom: 8px;
  min-height: 40px;
  white-space: nowrap;
  transition: color .25s ease, border-color .25s ease, gap .25s ease;
}
.text-link:hover {
  color: #fff;
  border-color: #fff;
  gap: 20px;
}

.section { padding: clamp(72px, 8.5vw, 118px) var(--container-pad); }
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 46px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-top p, .center p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 2.1;
  max-width: 630px;
}
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center p { margin-inline: auto; }

.watermark {
  position: absolute;
  bottom: 12px;
  left: 14px;
  width: 58px;
  opacity: .62;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}
.watermark img { width: 100%; height: auto; display: block; }

.tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(18, 16, 14, 0.8);
  border: 1px solid rgba(198, 167, 123, 0.3);
  padding: 7px 11px;
  color: var(--warm-beige);
  letter-spacing: 2px;
  font: 9px 'DM Sans', sans-serif;
}

/* ==========================================================================
   3. FLAGSHIP HERO SECTION (#home — Scroll Cinema + 2 Primary Journeys + Magazine)
   ========================================================================== */
.hero-scroll-track { height: 340vh; position: relative; }
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #15110e;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: image-set(url('assets/hero.webp') type('image/webp'), url('assets/hero.jpg') type('image/jpeg'));
  background-image: url('assets/hero.jpg');
  background-size: auto 122%;
  background-position: 23% 28%;
  background-repeat: no-repeat;
  filter: saturate(.66) sepia(.15);
  transform: translate(var(--hero-pan-x, 3%), var(--hero-pan-y, -1%)) scale(var(--hero-scale, 1.08));
  will-change: transform;
}
@supports (background-image: -webkit-image-set(url('assets/hero.webp') 1x)) {
  .hero-photo {
    background-image: -webkit-image-set(url('assets/hero.webp') 1x);
  }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.65) sepia(.16);
  opacity: 0;
  transition: opacity .6s ease;
  transform: translate(var(--hero-pan-x, 3%), var(--hero-pan-y, -1%)) scale(var(--hero-scale, 1.08));
  will-change: transform;
}
.hero-video.is-ready { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 15, 13, 0.16) 0%, rgba(18, 15, 13, 0.35) 34%, rgba(18, 15, 13, 0.88) 64%, #12100e 100%),
    linear-gradient(0deg, #12100e 0%, transparent 26%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  right: var(--container-pad);
  top: clamp(104px, 21vh, 210px);
  max-width: 660px;
}
.hero-titles { display: grid; min-height: 255px; }
.hero-title {
  grid-area: 1 / 1;
  visibility: visible;
  opacity: var(--reveal, 0);
  transform: translateY(calc((1 - var(--reveal, 0)) * 22px));
  clip-path: inset(0 calc((1 - var(--reveal, 0)) * 18%) 0 0);
  pointer-events: none;
}
.hero-title.is-active {
  opacity: var(--reveal, 1);
  transform: translateY(calc((1 - var(--reveal, 1)) * 22px));
  pointer-events: auto;
}
.hero-title h1, .hero-title h2 {
  font-size: clamp(33px, 4vw, 58px);
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 18px 0 12px;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.72);
}
.hero-title p {
  font-size: 14px;
  color: var(--warm-beige);
  line-height: 2.2;
  max-width: 500px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.85);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-magazine-link {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--rose-nude);
}
.hero-magazine-link .line {
  width: 38px;
  height: 1px;
  background: var(--gold-deep);
}
.hero-magazine-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(216, 190, 180, 0.4);
  padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease;
}
.hero-magazine-link a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.hero-side {
  position: absolute;
  z-index: 2;
  left: 2.8%;
  top: 42%;
  writing-mode: vertical-rl;
  color: #cbb28e;
  font: 9px 'DM Sans', sans-serif;
  letter-spacing: 4px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero-side span { height: 50px; width: 1px; background: var(--gold-deep); }

.hero-index {
  position: absolute;
  z-index: 2;
  left: var(--container-pad);
  bottom: 48px;
  font: 11px 'DM Sans', sans-serif;
  color: #bda680;
  letter-spacing: 3px;
}
.hero-index strong { font-size: 22px; color: #fff; font-weight: 400; }
.hero-index span { margin: 0 8px; }

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 48%;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  font: 8px 'DM Sans', sans-serif;
  letter-spacing: 3px;
  color: #c9b393;
}
.hero-scroll i {
  height: 34px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) calc(var(--progress, 0) * 100%), rgba(183, 154, 113, 0.32) 0);
}
.hero-mark { z-index: 2; left: 28%; bottom: 48px; width: 80px; opacity: .38; }

/* ==========================================================================
   4. BRAND PILLARS & THREE USER JOURNEYS (#journeys)
   ========================================================================== */
.intro-strip {
  background: var(--bg-plum);
  display: grid;
  grid-template-columns: repeat(3, 1fr) .9fr;
  padding: 28px var(--container-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.intro-strip > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.intro-strip p { margin: 0; }
.intro-strip strong, .intro-strip small { display: block; }
.intro-strip strong { font-size: 13px; font-weight: 500; color: var(--soft-ivory); }
.intro-strip small { font-size: 11px; color: var(--rose-nude); margin-top: 4px; }
.strip-icon { font-size: 26px; color: var(--gold); flex-shrink: 0; }
.intro-strip .strip-caption {
  border: 0;
  display: block;
  text-align: left;
  font: 11px 'Marcellus', serif;
  letter-spacing: 3px;
  line-height: 1.5;
  color: var(--gold-light);
}
.strip-caption em { font-size: 22px; letter-spacing: 0; font-style: italic; color: var(--rose-nude); }

.journeys-section {
  padding: 68px var(--container-pad) 24px;
  background: linear-gradient(180deg, #161314 0%, var(--bg-obsidian) 100%);
}
.journeys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.journey-card {
  background: linear-gradient(145deg, rgba(41, 35, 38, 0.65), rgba(24, 20, 19, 0.9));
  border: 1px solid var(--border-subtle);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .3s ease, transform .3s ease;
}
.journey-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}
.journey-num {
  font: 10px 'DM Sans', sans-serif;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 12px;
}
.journey-card h3 { margin: 0 0 8px; font-size: 18px; }
.journey-card p { font-size: 12.5px; color: var(--muted); line-height: 2.1; margin: 0 0 20px; }

/* ==========================================================================
   5. EDUCATIONAL COURSES (#courses — 35% Ambient Video Preserved)
   ========================================================================== */
.courses {
  background: var(--bg-obsidian);
  position: relative;
  overflow: clip;
}
.courses-bg,
.articles-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.courses-bg-sticky,
.articles-bg-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg-obsidian);
}
.courses-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: .35;
  filter: saturate(.82) sepia(.1);
}
.courses-bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-obsidian) 0%, rgba(18, 16, 14, 0) 15%, rgba(18, 16, 14, 0) 85%, #191516 100%);
}
.courses-inner,
.articles-inner {
  position: relative;
  z-index: 1;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card {
  background: rgba(22, 18, 18, 0.76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.course-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
.card-image {
  height: 310px;
  position: relative;
  overflow: hidden;
  background: #241e1c;
}
.card-image picture,
.card-image > img,
.card-image picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.76);
  transition: transform .65s ease;
}
.course-card:hover .card-image img { transform: scale(1.04); }

.course-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  direction: ltr;
  color: var(--gold);
  font: 10px 'DM Sans', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.course-card h3 { font-size: 20px; margin: 0 0 8px; }
.course-card p { font-size: 13px; color: var(--muted); line-height: 2.1; margin: 0 0 16px; flex: 1; }
.course-highlights {
  list-style: none;
  padding: 12px 0;
  margin: 0 0 18px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  gap: 6px;
  font-size: 11.5px;
  color: var(--warm-beige);
}
.course-highlights li::before {
  content: "✦ ";
  color: var(--gold);
}
.course-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.course-detail-link {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}
.course-detail-link:hover { color: #fff; }
.course-register-link {
  font-size: 11.5px;
  padding: 9px 14px;
  min-height: 42px;
  border: 1px solid var(--border-gold);
  color: var(--warm-beige);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .25s ease, color .25s ease;
}
.course-register-link:hover {
  background: var(--gold);
  color: #17120c;
}

/* ==========================================================================
   6. BEAUTY SERVICES SECTION (#services — Distinct Salon Client Journey)
   ========================================================================== */
.services {
  background: linear-gradient(180deg, #1b1618 0%, var(--bg-plum) 55%, #1a1617 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: rgba(18, 15, 16, 0.72);
  border: 1px solid rgba(216, 190, 180, 0.2);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.service-card:hover {
  border-color: var(--rose-nude);
  transform: translateY(-3px);
}
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  direction: ltr;
  font: 10px 'DM Sans', sans-serif;
  letter-spacing: 2px;
  color: var(--rose-nude);
}
.service-card h3 { margin: 0 0 10px; font-size: 20px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 2.15; margin: 0 0 18px; flex: 1; }
.service-audience {
  font-size: 11.5px;
  color: var(--warm-beige);
  background: rgba(216, 190, 180, 0.07);
  border-right: 2px solid var(--rose-nude);
  padding: 10px 12px;
  margin-bottom: 20px;
}
.service-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   7. PROFESSIONAL PORTFOLIO (#portfolio + Lightbox Viewer)
   ========================================================================== */
.portfolio-section {
  background: var(--bg-obsidian);
}
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}
.portfolio-chip {
  min-height: 42px;
  padding: 9px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--warm-beige);
  font-size: 12px;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.portfolio-chip:hover,
.portfolio-chip.is-active {
  border-color: var(--gold);
  background: rgba(198, 167, 123, 0.16);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.portfolio-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portfolio-trigger {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: right;
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.portfolio-trigger picture,
.portfolio-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.portfolio-item:hover .portfolio-trigger img { transform: scale(1.04); }
.portfolio-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(18, 16, 14, 0.84);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 11px;
  padding: 5px 11px;
}
.portfolio-source-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 16, 14, 0.8);
  color: var(--warm-beige);
  font-size: 10px;
  padding: 4px 9px;
  border: 1px solid var(--border-subtle);
}
.portfolio-caption {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.portfolio-caption small {
  font-size: 11px;
  color: var(--gold);
}
.portfolio-caption h3 {
  font-size: 16px;
  margin: 0;
}
.portfolio-caption p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 2;
  flex: 1;
}
.portfolio-caption a {
  font-size: 11.5px;
  color: var(--rose-nude);
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.portfolio-caption a:hover { color: var(--gold-light); }
.portfolio-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(41, 35, 38, 0.45);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Lightbox Dialog */
.lightbox-modal {
  width: min(920px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--border-gold);
  background: #141110;
  color: var(--soft-ivory);
  box-shadow: var(--shadow-deep);
}
.lightbox-modal::backdrop {
  background: rgba(8, 7, 6, 0.88);
  backdrop-filter: blur(7px);
}
.lightbox-shell {
  padding: 20px 24px 24px;
  display: grid;
  gap: 16px;
}
.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lightbox-top span { font-size: 12px; color: var(--gold); }
.lightbox-close,
.lightbox-nav-btn {
  min-width: 44px;
  min-height: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--warm-beige);
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-nav-btn:hover { border-color: var(--gold); color: #fff; }
.lightbox-stage {
  max-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0a09;
  overflow: hidden;
}
.lightbox-stage img {
  max-height: 62vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.lightbox-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.lightbox-info h3 { margin: 0 0 4px; font-size: 18px; }
.lightbox-info p { margin: 0; font-size: 12.5px; color: var(--muted); }
.lightbox-controls { display: flex; align-items: center; gap: 10px; }

/* ==========================================================================
   8. MANIFESTO, WHY CHOOSE HANIS & INSTRUCTOR TRUST SYSTEM (#about, #instructors)
   ========================================================================== */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  direction: ltr;
  background: #181414;
  border-top: 1px solid var(--border-subtle);
}
.manifesto-image {
  min-height: 580px;
  position: relative;
  overflow: hidden;
}
.manifesto-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.68) saturate(.68);
}
.image-label {
  position: absolute;
  bottom: 48px;
  right: 40px;
  font: 15px 'Marcellus', serif;
  letter-spacing: 4px;
  color: #fff;
}
.image-label em { font-size: 34px; letter-spacing: 0; color: var(--gold-light); font-style: italic; }

.manifesto-copy {
  direction: rtl;
  align-self: center;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 6vw, 84px);
}
.manifesto-copy p {
  font-size: 13.5px;
  line-height: 2.35;
  color: var(--muted);
  max-width: 540px;
}
.why-hanis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0;
}
.why-pillar {
  background: rgba(41, 35, 38, 0.5);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
}
.why-pillar strong { display: block; font-size: 13px; color: var(--warm-beige); margin-bottom: 4px; }
.why-pillar span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.9; }

.signature {
  font: italic 34px 'Marcellus', serif;
  color: var(--gold);
  margin-top: 34px;
}
.signature small {
  display: block;
  font: 8px 'DM Sans', sans-serif;
  letter-spacing: 3px;
  margin-top: 4px;
  color: var(--muted);
}

/* Instructor & Academy Trust Section */
.instructors-section {
  background: linear-gradient(180deg, #161313 0%, var(--bg-cocoa) 180%);
  border-top: 1px solid var(--border-subtle);
}
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.instructor-card {
  background: rgba(20, 17, 16, 0.8);
  border: 1px solid var(--border-subtle);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.instructor-role {
  font-size: 11px;
  color: var(--gold);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}
.instructor-card h3 { margin: 0; font-size: 18px; }
.instructor-card p { font-size: 12.5px; color: var(--muted); line-height: 2.15; margin: 0; flex: 1; }
.instructor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.instructor-tags span {
  font-size: 11px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--warm-beige);
}

/* ==========================================================================
   9. HANIS BEAUTY MAGAZINE (#articles — 30% Calm Ambient Video Preserved)
   ========================================================================== */
.articles {
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: clip;
}
.articles-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  display: block;
  opacity: .3;
  filter: saturate(.9);
}
.articles-bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-obsidian) 0%, rgba(18, 16, 14, 0) 14%, rgba(18, 16, 14, 0) 86%, #171413 100%);
}

.articles-journal-meta {
  text-align: left;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  flex-shrink: 0;
}
.articles-journal-meta strong { display: block; font: 14px 'Marcellus', serif; letter-spacing: 4px; color: var(--gold-light); }
.articles-journal-meta span { display: block; font: 9px 'DM Sans', sans-serif; letter-spacing: 2.5px; color: var(--muted); margin-top: 6px; }

.articles-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}
.article-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-chip {
  min-height: 42px;
  background: rgba(24, 20, 18, 0.76);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-subtle);
  color: var(--warm-beige);
  padding: 9px 15px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.filter-chip b {
  font-weight: 500;
  font-size: 10px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 99px;
}
.filter-chip:hover,
.filter-chip.is-active {
  border-color: var(--gold);
  background: rgba(198, 167, 123, 0.18);
  color: #fff;
}
.filter-chip.is-active b { background: var(--gold); color: #17120c; }

.article-search { position: relative; min-width: 270px; flex: 0 1 340px; }
.article-search input {
  width: 100%;
  height: 44px;
  background: rgba(20, 17, 15, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-gold);
  color: var(--soft-ivory);
  padding: 0 14px 0 38px;
  font-size: 12px;
}
.article-search input::placeholder { color: var(--muted); }
.article-search i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  color: var(--gold);
  font-size: 16px;
  pointer-events: none;
}

.articles-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(26px, 4vw, 50px);
  background: linear-gradient(135deg, rgba(26, 22, 19, 0.72) 0%, rgba(18, 15, 13, 0.78) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--border-gold);
  padding: clamp(24px, 3.5vw, 42px);
  margin-bottom: 40px;
  position: relative;
}
.featured-copy-col { display: flex; flex-direction: column; min-width: 0; }
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.article-badge {
  padding: 5px 11px;
  font-size: 11px;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  background: rgba(198, 167, 123, 0.12);
}
.featured-copy-col h3 { font-size: clamp(21px, 2.2vw, 29px); margin: 0 0 14px; }
.featured-copy-col h3 a:hover { color: var(--gold-light); }
.featured-lead { font-size: 13.5px; line-height: 2.3; color: var(--warm-beige); margin-bottom: 22px; flex: 1; }
.article-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.article-keywords span {
  font-size: 11px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
}
.featured-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.featured-pillars-col {
  background: rgba(15, 13, 11, 0.56);
  border: 1px solid var(--border-subtle);
  padding: 24px 24px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pillars-header {
  font: 10px 'DM Sans', sans-serif;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.featured-keypoints { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.featured-keypoints li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.featured-keypoints li > span {
  font-size: 12px;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.featured-keypoints strong { display: block; font-size: 13px; color: var(--soft-ivory); margin-bottom: 3px; }
.featured-keypoints p { font-size: 12px; line-height: 2; color: var(--muted); margin: 0; }
.featured-watermark { bottom: 10px; left: 12px; width: 52px; opacity: .34; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.article-card {
  background: rgba(21, 18, 16, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.article-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
.article-card-media { height: 255px; position: relative; overflow: hidden; background: #241f1c; }
.article-card-media picture,
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.78) brightness(.9);
  transition: transform .65s ease;
}
.article-card:hover .article-card-media img { transform: scale(1.04); }
.read-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(18, 16, 14, 0.84);
  color: var(--warm-beige);
  padding: 6px 11px;
  font-size: 10.5px;
  border: 1px solid var(--border-subtle);
}
.article-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--gold);
  margin-bottom: 10px;
}
.article-card-meta time { color: var(--muted); }
.article-card h3 { font-size: 18px; margin: 0 0 10px; }
.article-card h3 a:hover { color: var(--gold-light); }
.article-card p { font-size: 12.5px; line-height: 2.2; color: var(--muted); margin: 0 0 20px; flex: 1; }
.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.article-mini-tags { font-size: 11px; color: var(--muted); }
.article-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-light);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article-link:hover { color: #fff; }

.articles-empty {
  text-align: center;
  padding: 48px 24px;
  background: rgba(22, 19, 16, 0.8);
  border: 1px dashed var(--border-gold);
  margin-top: 20px;
}

/* ==========================================================================
   10. FAQ ACCORDION (#faq)
   ========================================================================== */
.articles-faq {
  margin-top: 72px;
  padding-top: 60px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 44px;
  align-items: start;
}
.faq-intro h3 { font-size: clamp(23px, 2.3vw, 32px); font-weight: 400; margin: 14px 0 12px; }
.faq-intro p { font-size: 13px; line-height: 2.2; color: var(--muted); margin-bottom: 22px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: rgba(22, 19, 17, 0.74);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-subtle);
  padding: 0 22px;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--border-gold); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  min-height: 54px;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft-ivory);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  font-size: 13px;
  line-height: 2.3;
  color: var(--muted);
  padding: 14px 0 20px;
  margin: 0;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   11. THREE-FLOW REGISTRATION, APPOINTMENT & CONSULTATION HUB (#contact)
   ========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #211b1b 0%, var(--bg-plum) 100%);
  padding: clamp(72px, 8vw, 108px) var(--container-pad);
  border-top: 1px solid var(--border-gold);
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.contact-header { text-align: center; margin-bottom: 36px; }
.contact-header .eyebrow { justify-content: center; }
.contact-header p { font-size: 13.5px; color: var(--muted); max-width: 580px; margin: 0 auto; }

.conversion-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.conversion-tab {
  min-height: 52px;
  padding: 12px 16px;
  background: rgba(18, 15, 16, 0.72);
  border: 1px solid var(--border-subtle);
  color: var(--warm-beige);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.conversion-tab small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.conversion-tab:hover,
.conversion-tab[aria-selected="true"] {
  border-color: var(--gold);
  background: rgba(198, 167, 123, 0.16);
  color: var(--soft-ivory);
}
.conversion-tab[aria-selected="true"] small { color: var(--gold-light); }

.conversion-panel {
  background: rgba(18, 15, 15, 0.84);
  border: 1px solid var(--border-subtle);
  padding: clamp(22px, 3.5vw, 38px);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; text-align: right; }
.form-field.full-span { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  color: var(--warm-beige);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-field label b { color: var(--gold); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  background: #141111;
  border: 1px solid rgba(198, 167, 123, 0.35);
  color: var(--soft-ivory);
  padding: 10px 14px;
  font-size: 13px;
  transition: border-color .2s ease;
}
.form-field textarea { min-height: 92px; resize: vertical; }
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: var(--danger);
}
.field-error {
  font-size: 11.5px;
  color: var(--danger);
  min-height: 18px;
  margin-top: 5px;
}

.form-submit-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.form-privacy-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
}
.form-feedback {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--border-gold);
  background: rgba(28, 23, 22, 0.92);
}
.form-feedback.is-error { border-color: var(--danger); }
.form-feedback.is-success { border-color: var(--success); }
.form-feedback strong { display: block; font-size: 13.5px; color: var(--gold-light); margin-bottom: 6px; }
.form-feedback p { font-size: 12.5px; color: var(--warm-beige); margin: 0 0 12px; line-height: 2; }
.prepared-request-box {
  background: #121010;
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 2;
  color: var(--soft-ivory);
  white-space: pre-wrap;
  margin-bottom: 12px;
}
.contact-decor {
  position: absolute;
  left: 3%;
  bottom: -180px;
  font: 700 540px 'Marcellus', serif;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
}

/* ==========================================================================
   12. SUBPAGE LAYOUTS (Courses, Services, Portfolio, Magazine & Articles)
   ========================================================================== */
.subpage-main { padding-top: 92px; }

.breadcrumb-bar {
  padding: 16px var(--container-pad);
  background: #161313;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-left: 10px;
  color: var(--gold-deep);
}
.breadcrumb-list a:hover { color: var(--gold-light); }
.breadcrumb-list [aria-current="page"] { color: var(--warm-beige); }

.page-hero {
  padding: clamp(52px, 6.5vw, 88px) var(--container-pad);
  background: radial-gradient(circle at 80% 25%, rgba(198, 167, 123, 0.11), transparent 48%), linear-gradient(180deg, var(--bg-plum) 0%, var(--bg-obsidian) 100%);
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}
.page-hero p { font-size: 14px; color: var(--warm-beige); line-height: 2.25; max-width: 620px; }
.page-hero-media {
  position: relative;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  background: #1b1716;
  box-shadow: var(--shadow-soft);
}
.page-hero-media img,
.page-hero-media video { width: 100%; height: auto; display: block; object-fit: cover; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 38px;
  align-items: start;
}
.detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 24px;
}
.detail-card h2, .detail-card h3 { margin-top: 0; }
.syllabus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.syllabus-list li {
  background: rgba(41, 35, 38, 0.42);
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
}
.syllabus-list strong { display: block; color: var(--gold-light); font-size: 14px; margin-bottom: 4px; }
.syllabus-list p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 2.1; }

.sticky-aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.info-facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.info-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.5px;
}
.info-facts span { color: var(--muted); }
.info-facts strong { color: var(--warm-beige); font-weight: 500; text-align: left; }

/* Article Detail Page */
.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: start;
}
.article-sidebar { position: sticky; top: 104px; display: grid; gap: 20px; }
.toc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-right: 3px solid var(--gold);
  padding: 20px;
}
.toc-box strong { display: block; font-size: 13px; color: var(--gold-light); margin-bottom: 12px; }
.toc-box ol { margin: 0; padding-right: 18px; display: grid; gap: 8px; font-size: 12.5px; }
.toc-box a { color: var(--muted); line-height: 1.8; }
.toc-box a:hover { color: var(--gold-light); }

.article-prose {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: clamp(24px, 4vw, 48px);
  font-size: 14.5px;
  line-height: 2.4;
  color: var(--warm-beige);
}
.article-prose h2 {
  font-size: clamp(20px, 2vw, 25px);
  color: var(--gold-light);
  margin: 34px 0 12px;
}
.article-prose h2:first-child { margin-top: 0; }
.article-prose p { margin-bottom: 18px; }
.article-prose ul { padding-right: 20px; margin: 0 0 22px; display: grid; gap: 10px; }
.article-prose a { color: var(--gold-light); border-bottom: 1px solid var(--border-gold); }
.article-dual-cta {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.article-cta-box {
  background: rgba(41, 35, 38, 0.6);
  border: 1px solid var(--border-gold);
  padding: 22px;
}
.article-cta-box h3 { font-size: 17px; margin: 0 0 8px; }
.article-cta-box p { font-size: 12.5px; color: var(--muted); line-height: 2; margin: 0 0 16px; }

/* ==========================================================================
   13. PREMIUM 5-COLUMN FOOTER
   ========================================================================== */
footer {
  padding: 68px var(--container-pad) 26px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.1fr;
  gap: 28px;
  background: #0d0b0b;
  border-top: 1px solid var(--border-subtle);
}
footer strong {
  display: block;
  font-size: 13px;
  color: var(--warm-beige);
  margin-bottom: 16px;
  font-weight: 500;
}
footer a {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 11px;
  padding: 2px 0;
  transition: color .2s ease;
}
footer a:hover { color: var(--gold-light); }
footer p { color: var(--muted); font-size: 12px; line-height: 2.1; }
.footer-brand a { display: inline-block; margin-bottom: 10px; }
.footer-brand img {
  width: 104px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}
.footer-end {
  text-align: left;
  font: 12px 'Marcellus', serif;
  letter-spacing: 3px;
  color: var(--gold);
  line-height: 2;
}
.footer-end span {
  display: block;
  font: 8.5px 'DM Sans', sans-serif;
  letter-spacing: 2px;
  color: var(--muted-dim);
}
.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.copyright span { font: 8.5px 'DM Sans', sans-serif; letter-spacing: 2px; }

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS (1024px, 800px, 480px, 360px + Reduced Motion)
   ========================================================================== */
@media (max-width: 1080px) {
  .header nav {
    display: none;
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    background: rgba(18, 15, 15, 0.98);
    padding: 24px var(--container-pad) 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-bottom: 1px solid var(--border-gold);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .header nav.open { display: flex; }
  .header nav a {
    font-size: 14px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .header { height: 80px; }
  .menu { display: inline-flex; }
  .header-actions { margin-right: auto; }

  .course-grid,
  .services-cards,
  .portfolio-grid,
  .instructors-grid,
  .journeys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-featured,
  .page-hero-grid,
  .detail-grid,
  .article-layout,
  .articles-faq {
    grid-template-columns: 1fr;
  }
  .sticky-aside,
  .article-sidebar { position: static; }
  footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .brand { width: 72px; height: 64px; }
  .hero-scroll-track { height: 290vh; }
  .hero-photo { background-size: auto 100%; background-position: 30% center; opacity: .65; }
  .hero-video.is-ready { opacity: .72; }
  .hero-shade {
    background:
      linear-gradient(90deg, transparent, rgba(18, 16, 14, 0.9) 70%),
      linear-gradient(0deg, #12100e, transparent 40%);
  }
  .hero-content { right: var(--container-pad); left: var(--container-pad); top: clamp(92px, 18vh, 160px); }
  .hero-side, .hero-scroll { display: none; }
  .intro-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .intro-strip > div { padding: 0 8px; }
  .strip-caption { display: none !important; }

  .course-grid,
  .services-cards,
  .portfolio-grid,
  .articles-grid,
  .instructors-grid,
  .journeys-grid,
  .why-hanis-grid,
  .conversion-tabs,
  .form-grid,
  .article-dual-cta {
    grid-template-columns: 1fr;
  }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-image { min-height: 360px; }
  .article-search { flex: 1 1 100%; min-width: 0; }
  .articles-journal-meta {
    text-align: right;
    border-left: 0;
    border-right: 2px solid var(--gold);
    padding-left: 0;
    padding-right: 14px;
  }
  .footer-end { text-align: right; }
  .subpage-main { padding-top: 80px; }
}

@media (max-width: 480px) {
  .header-cta { padding: 9px 12px; font-size: 11px; gap: 6px; }
  .header-cta span { display: none; }
  .hero-buttons .button,
  .featured-cta-row .button,
  .form-submit-row .button { width: 100%; }
  .hero-titles { min-height: 225px; }
  .hero-title h1, .hero-title h2 { font-size: clamp(28px, 7.8vw, 35px); }
  .intro-strip { grid-template-columns: 1fr; }
  .intro-strip > div { border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 14px; }
  .intro-strip > div:nth-child(3) { border-bottom: 0; padding-bottom: 0; }
  footer { grid-template-columns: 1fr; }
}

@media (max-height: 650px) {
  .hero-content { top: 88px; }
  .hero-titles { min-height: 195px; }
  .hero-title h1, .hero-title h2 { font-size: clamp(26px, 3.8vw, 42px); margin: 8px 0; }
  .hero-magazine-link { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll-track { height: auto; }
  .hero { position: relative; height: auto; min-height: 700px; }
  .hero-video { display: none; }
  .hero-scroll { display: none; }
  .hero-title, .hero-title.is-active { clip-path: none; transform: none; }
  .hero-photo { transform: none; }
  .card-image img, .article-card-media img, .portfolio-trigger img, .button, .course-card, .article-card { transition: none; }
  .gallery-work-card, .gallery-work-card.is-entering { animation: none !important; transform: none !important; transition: none !important; }
  .gallery-work-media img, .work-overlay-drawer { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   15. EXPANDED COURSES HUB, CLASS TIERS, PRICING & COURSE Q&A
   ========================================================================== */
.sticky-subnav {
  position: sticky;
  top: 80px;
  z-index: 45;
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px var(--container-pad);
}
.sticky-subnav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.sticky-subnav-inner::-webkit-scrollbar { display: none; }
.subnav-pill {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(41, 35, 38, 0.55);
  color: var(--warm-beige);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s ease;
}
.subnav-pill:hover,
.subnav-pill.is-active {
  border-color: var(--gold);
  background: rgba(198, 167, 123, 0.2);
  color: #fff;
  transform: translateY(-1px);
}
.subnav-pill b {
  font-size: 10px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 99px;
}

.course-chapter {
  padding: clamp(54px, 6vw, 84px) var(--container-pad);
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 136px;
}
.course-chapter:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(41, 35, 38, 0.35) 0%, rgba(18, 16, 14, 0.95) 100%);
}
.course-chapter-top {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  margin-bottom: 38px;
}
.course-chapter-media {
  position: relative;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  background: #1b1716;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}
.course-chapter-media picture,
.course-chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.course-chapter:hover .course-chapter-media img { transform: scale(1.03); }

.course-quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.quick-badge {
  background: rgba(198, 167, 123, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 7px 14px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.quick-badge strong { color: #fff; font-weight: 600; }

.audience-box {
  background: rgba(26, 22, 21, 0.88);
  border: 1px solid var(--border-subtle);
  border-right: 3px solid var(--rose-nude);
  padding: 18px 22px;
  margin-bottom: 24px;
}
.audience-box h3 {
  font-size: 15.5px;
  color: var(--rose-nude);
  margin: 0 0 10px;
}
.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--warm-beige);
}
.audience-list li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}

/* Pricing Tiers Grid */
.pricing-tiers-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 34px 0 18px;
}
.pricing-tiers-heading h3 { margin: 0; font-size: 20px; }
.pricing-tiers-heading span { font-size: 12px; color: var(--muted); }

.pricing-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}
.pricing-tier-card {
  position: relative;
  background: linear-gradient(160deg, rgba(35, 29, 28, 0.9) 0%, rgba(19, 16, 15, 0.96) 100%);
  border: 1px solid var(--border-subtle);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.pricing-tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-soft);
}
.pricing-tier-card.is-featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(59, 48, 48, 0.68) 0%, rgba(22, 18, 17, 0.98) 100%);
}
.tier-ribbon {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gold);
  color: #17120c;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 12px;
}
.tier-type {
  font-size: 11.5px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.pricing-tier-card h4 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--soft-ivory);
}
.tier-hours {
  font-size: 12px;
  color: var(--rose-nude);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.tier-price-box {
  margin-bottom: 16px;
}
.tier-price-box strong {
  font-size: 23px;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1.4;
}
.tier-price-box small {
  font-size: 11px;
  color: var(--muted);
}
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--warm-beige);
  flex: 1;
}
.tier-features li::before {
  content: "✦ ";
  color: var(--gold);
}

.course-two-col-details {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: start;
}
.course-box-panel {
  background: rgba(24, 20, 19, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 24px;
}
.course-box-panel h3 {
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--gold-light);
}

/* ==========================================================================
   16. PROFESSIONAL ANIMATED PORTFOLIO GALLERY (Sectioned by Beauty Line)
   ========================================================================== */
@keyframes galleryCardEnter {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.gallery-stat-item strong {
  display: block;
  font-size: 24px;
  color: var(--gold-light);
  line-height: 1.3;
}
.gallery-stat-item span {
  font-size: 12px;
  color: var(--muted);
}

.gallery-line-chapter {
  padding: clamp(50px, 6vw, 78px) var(--container-pad);
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 140px;
  transition: opacity .35s ease;
}
.gallery-line-chapter:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(41, 35, 38, 0.34) 0%, rgba(18, 16, 14, 0.94) 100%);
}
.gallery-line-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}
.gallery-line-num {
  font: 11px 'DM Sans', sans-serif;
  letter-spacing: 3px;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.gallery-line-header h2 { margin: 0 0 6px; font-size: clamp(23px, 2.5vw, 34px); }
.gallery-line-header p { margin: 0; font-size: 13px; color: var(--muted); max-width: 620px; }

.animated-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.animated-gallery-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-work-card {
  position: relative;
  background: linear-gradient(165deg, #1d1817 0%, #131010 100%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), border-color .35s ease, box-shadow .35s ease;
  will-change: transform;
}
.gallery-work-card.is-entering {
  animation: galleryCardEnter .55s cubic-bezier(.22, .61, .36, 1) both;
  animation-delay: var(--stagger, 0ms);
}
.gallery-work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 167, 123, 0.19), transparent 65%);
  transition: opacity .3s ease;
}
.gallery-work-card:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}
.gallery-work-card:hover::before { opacity: 1; }

.gallery-work-trigger {
  padding: 0;
  border: 0;
  background: none;
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  display: block;
  text-align: right;
}
.gallery-work-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.gallery-work-media picture,
.gallery-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .85s cubic-bezier(.19, 1, .22, 1), filter .5s ease;
}
.gallery-work-card:hover .gallery-work-media img {
  transform: scale(1.09);
  filter: contrast(1.04) brightness(1.03);
}

.work-overlay-drawer {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(0deg, rgba(14, 11, 10, 0.94) 0%, rgba(14, 11, 10, 0.55) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(6px);
  transition: transform .35s ease;
}
.gallery-work-card:hover .work-overlay-drawer { transform: translateY(0); }
.work-line-tag {
  font-size: 10.5px;
  color: var(--gold-light);
  background: rgba(18, 15, 14, 0.85);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
}
.work-zoom-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #16120d;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.gallery-work-card:hover .work-zoom-icon { transform: scale(1.12) rotate(90deg); }

.gallery-work-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 3;
}
.gallery-work-body h3 {
  font-size: 16.5px;
  margin: 0;
  color: var(--soft-ivory);
}
.gallery-work-body p {
  font-size: 12.2px;
  color: var(--muted);
  line-height: 2.05;
  margin: 0;
  flex: 1;
}
.work-specs-list {
  list-style: none;
  padding: 10px 0 0;
  margin: 4px 0 0;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 5px;
  font-size: 11.2px;
  color: var(--warm-beige);
}
.work-specs-list li strong {
  color: var(--gold);
  font-weight: 500;
}

.lightbox-stage img {
  transition: opacity .26s ease, transform .26s ease;
}
.lightbox-stage img.is-switching {
  opacity: .2;
  transform: scale(.98);
}
.lightbox-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.lightbox-spec-chip {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(198, 167, 123, 0.13);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}
.lightbox-counter {
  font: 12px 'DM Sans', sans-serif;
  letter-spacing: 2px;
  color: var(--muted);
}

@media (max-width: 1140px) {
  .animated-gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-tiers-grid { grid-template-columns: 1fr; }
  .course-chapter-top,
  .course-two-col-details { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .animated-gallery-grid,
  .animated-gallery-grid.cols-4,
  .audience-list {
    grid-template-columns: 1fr;
  }
}
