/* ==========================================================================
   NAIL GEOMETRY ACADEMY — EUGENIOS EROSHENKO (https://nailgeometry.com)
   Approved Design System: EDITORIAL BLACK (Strict Monochrome Architecture)
   Palette: #080808 (70%) | #FFFFFF (20%) | #C5C5C5 (7%) | #777777 (3%)
   Typography: Montserrat (Headings) + Inter (Body & UI)
   Zero Gradients • Zero Gold • Architectural Precision
   ========================================================================== */

:root {
  --ng-black: #080808;
  --ng-surface: #0E0E0E;
  --ng-surface-elevated: #141414;
  --ng-white: #FFFFFF;
  --ng-silver: #C5C5C5;
  --ng-grey: #777777;
  --ng-border: #222222;
  --ng-border-strong: #3A3A3A;
  --ng-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --ng-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ng-max-width: 1280px;
  --ng-pad-x: 48px;
  --ng-sec-y: 104px;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--ng-black) !important;
  color: var(--ng-white) !important;
  font-family: var(--ng-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Universal Modal Background Scroll Lock (Safeguard 18.35) */
html.modal-scroll-locked,
body.modal-scroll-locked {
  overflow: hidden !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

/* Native Track Cue Suppression & Pure Caption-Only Overlay Pattern */
video::cue,
video::-webkit-media-text-track-container,
video::-webkit-media-text-track-display,
video::-webkit-media-text-track-region {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  font-size: 0px !important;
}

.video-cc-overlay {
  position: absolute;
  width: max-content;
  max-width: 88%;
  padding: 5px 12px;
  bottom: 62px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid var(--ng-border-strong);
  color: var(--ng-white);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  pointer-events: none;
  z-index: 6;
  border-radius: 4px;
}

/* Isolated Vendor-Prefix Fullscreen Selectors */
.ng-video-card.is-fullscreen,
.ng-video-card:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #080808 !important;
}

.ng-video-card:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #080808 !important;
}

/* Layout Container & 12-Column Architectural Grid */
.ng-container {
  width: 100%;
  max-width: var(--ng-max-width);
  margin: 0 auto;
  padding-left: var(--ng-pad-x);
  padding-right: var(--ng-pad-x);
}

.ng-section {
  padding-top: var(--ng-sec-y);
  padding-bottom: var(--ng-sec-y);
  border-bottom: 1px solid var(--ng-border);
  position: relative;
}

/* Architectural Typography */
.ng-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ng-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ng-grey);
  margin-bottom: 16px;
}

.ng-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background-color: var(--ng-white);
  flex-shrink: 0;
}

.ng-h1 {
  font-family: var(--ng-font-heading);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ng-white);
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.ng-h2 {
  font-family: var(--ng-font-heading);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ng-white);
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.ng-h3 {
  font-family: var(--ng-font-heading);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ng-white);
  margin: 0 0 12px 0;
}

.ng-lead {
  font-family: var(--ng-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ng-silver);
  margin: 0 0 28px 0;
  max-width: 620px;
}

/* Official Buttons & CTAs (Section 05 of Brand Guidelines) */
.ng-btn-primary,
.ng-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ng-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.ng-btn-primary {
  background-color: var(--ng-white);
  color: var(--ng-black);
  border: 1px solid var(--ng-white);
}

.ng-btn-primary:hover,
.ng-btn-primary:focus-visible {
  background-color: var(--ng-silver);
  border-color: var(--ng-silver);
  color: var(--ng-black);
}

.ng-btn-secondary {
  background-color: transparent;
  color: var(--ng-white);
  border: 1px solid var(--ng-white);
}

.ng-btn-secondary:hover,
.ng-btn-secondary:focus-visible {
  background-color: var(--ng-white);
  color: var(--ng-black);
}

.ng-btn-full {
  width: 100%;
}

/* Topbar & Sticky Editorial Navigation Header */
.ng-topbar {
  background-color: var(--ng-surface);
  border-bottom: 1px solid var(--ng-border);
  padding: 8px 0;
  font-size: 12px;
  color: var(--ng-silver);
}

.ng-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ng-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ng-border);
}

.ng-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
  min-width: 0;
}

.ng-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
}

.ng-brand-emblem {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.ng-brand-text {
  display: flex;
  flex-direction: column;
}

.ng-brand-title {
  font-family: var(--ng-font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--ng-white);
  line-height: 1.1;
  white-space: nowrap;
}

.ng-brand-sub {
  font-family: var(--ng-font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ng-silver);
  margin-top: 2px;
  white-space: nowrap;
}

.ng-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 22px);
  flex: 1;
  min-width: 0;
}

.ng-nav-link {
  font-family: var(--ng-font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ng-silver);
  padding: 10px 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.ng-nav-link:hover,
.ng-nav-link.active {
  color: var(--ng-white);
}

.ng-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ng-header-actions .ng-btn-primary {
  padding: 11px 18px;
  min-height: 44px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.ng-burger-btn {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  color: var(--ng-white);
  cursor: pointer;
  flex-shrink: 0;
}

/* Hero Section — Architectural Editorial Grid */
.ng-hero {
  padding-top: 64px;
  padding-bottom: 88px;
  border-bottom: 1px solid var(--ng-border);
}

.ng-hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: stretch;
}

.ng-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.ng-hero-coords {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ng-border);
  font-size: 11.5px;
  color: var(--ng-grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ng-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.ng-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--ng-border);
}

.ng-metric-item {
  min-width: 0;
}

.ng-metric-val {
  font-family: var(--ng-font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--ng-white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.ng-metric-lbl {
  font-size: 13px;
  color: var(--ng-silver);
  line-height: 1.45;
}

/* Video Showcase Cards */
.ng-video-card {
  position: relative;
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

#hero-video-card {
  height: 100%;
  min-height: 520px;
  max-height: 640px;
}

.ng-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ng-video-controls {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 8;
}

.ng-vid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  background-color: rgba(8, 8, 8, 0.85);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  color: var(--ng-white);
  font-family: var(--ng-font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ng-vid-btn:hover {
  background-color: var(--ng-white);
  color: var(--ng-black);
}

/* Section Headers */
.ng-sec-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}

.ng-sec-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* Interactive Level / Programme Finder Bar */
.ng-finder-bar {
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 40px;
}

.ng-finder-title {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ng-silver);
  margin-bottom: 14px;
}

.ng-finder-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ng-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  background-color: var(--ng-black);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  color: var(--ng-silver);
  font-family: var(--ng-font-body);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ng-filter-pill:hover,
.ng-filter-pill.active {
  background-color: var(--ng-white);
  color: var(--ng-black);
  border-color: var(--ng-white);
  font-weight: 600;
}

/* Programmes Grid (6 Seminars — Equal Height Cards) */
.ng-programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.ng-prog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  min-width: 0;
}

.ng-prog-card:hover,
.ng-prog-card.highlighted {
  border-color: var(--ng-white);
}

.ng-prog-media {
  position: relative;
  aspect-ratio: 4 / 4.2;
  background-color: #111111;
  overflow: hidden;
  border-bottom: 1px solid var(--ng-border);
  flex-shrink: 0;
}

.ng-prog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ng-prog-card:hover .ng-prog-media img {
  transform: scale(1.03);
}

.ng-prog-num {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(8, 8, 8, 0.9);
  border: 1px solid var(--ng-border-strong);
  color: var(--ng-white);
  font-family: var(--ng-font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 4px;
}

.ng-prog-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--ng-white);
  color: var(--ng-black);
  font-family: var(--ng-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}

.ng-prog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ng-prog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ng-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ng-border);
}

.ng-prog-title {
  font-family: var(--ng-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ng-white);
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
}

.ng-prog-subtitle {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ng-silver);
  margin: 0 0 16px 0;
  min-height: 62px;
}

.ng-prog-highlights {
  list-style: none;
  padding: 16px 0 0 0;
  margin: 0 0 20px 0;
  border-top: 1px solid var(--ng-border);
  flex: 1;
}

.ng-prog-highlights li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--ng-silver);
  line-height: 1.48;
}

.ng-prog-highlights li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ng-grey);
}

.ng-prog-pricing {
  background-color: var(--ng-black);
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 16px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ng-price-main {
  font-family: var(--ng-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--ng-white);
  line-height: 1.2;
}

.ng-price-sub {
  font-size: 12px;
  color: var(--ng-silver);
  margin-top: 3px;
}

.ng-prog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Autonomous Section: 01 Basic Course From Zero (125 Hours) */
.ng-flagship-box {
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  padding: 44px;
  display: grid;
  grid-template-columns: 6.5fr 5.5fr;
  gap: 44px;
  align-items: stretch;
}

.ng-flagship-side-card {
  background: #080808;
  border: 1px solid #3A3A3A;
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ng-syllabus-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}

.ng-syllabus-columns li {
  font-size: 13.5px;
  color: var(--ng-silver);
  padding: 8px 0;
  border-bottom: 1px solid var(--ng-border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ng-syllabus-columns li.ng-syllabus-full {
  grid-column: 1 / -1;
  background-color: #080808;
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: 4px;
  color: var(--ng-white);
  font-weight: 500;
}

.ng-syllabus-columns li span.idx {
  font-family: var(--ng-font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--ng-grey);
  min-width: 22px;
  padding-top: 2px;
}

/* Interactive Nail Architecture & Shape Blueprint Explorer */
.ng-blueprint-wrap {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.ng-shape-tabs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
}

.ng-shape-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex: 1;
  min-height: 54px;
  padding: 14px 18px;
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  color: var(--ng-silver);
  font-family: var(--ng-font-heading);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ng-shape-tab:hover,
.ng-shape-tab.active {
  background-color: var(--ng-white);
  color: var(--ng-black);
  border-color: var(--ng-white);
}

.ng-shape-panel {
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.ng-shape-left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.ng-shape-photo-box {
  border: 1px solid #222222;
  border-radius: 4px;
  overflow: hidden;
  background: #080808;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ng-shape-photo-box img {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 440px;
  object-fit: cover;
}

.ng-shape-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ng-shape-cta-row .ng-btn-primary,
.ng-shape-cta-row .ng-btn-secondary {
  padding: 12px 14px;
  font-size: 12.5px;
  width: 100%;
}

.ng-cad-box {
  background-color: var(--ng-black);
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
}

.ng-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 20px 0;
}

.ng-spec-cell {
  background-color: var(--ng-black);
  border: 1px solid var(--ng-border);
  padding: 12px 14px;
  border-radius: 4px;
}

.ng-spec-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ng-grey);
  margin-bottom: 4px;
}

.ng-spec-val {
  font-family: var(--ng-font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ng-white);
}

/* Seminar Schedule & Structure Table (Athens & Out-of-Athens) */
.ng-calendar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ng-cal-row {
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1.5fr 2.6fr 1.4fr 1.6fr 200px;
  gap: 20px;
  align-items: center;
  transition: border-color 0.2s ease;
}

.ng-cal-row:hover {
  border-color: var(--ng-white);
}

.ng-cal-date {
  font-family: var(--ng-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ng-white);
}

.ng-cal-city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ng-silver);
  margin-top: 4px;
}

/* Educator Biography Section */
.ng-educator-grid {
  display: grid;
  grid-template-columns: 4.8fr 7.2fr;
  gap: 48px;
  align-items: stretch;
}

.ng-educator-portrait-wrap {
  position: relative;
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--ng-surface);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ng-educator-portrait-wrap img {
  flex: 1;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
}

.ng-educator-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ng-quote-block {
  border-left: 2px solid var(--ng-white);
  padding-left: 22px;
  margin: 22px 0;
  font-family: var(--ng-font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--ng-white);
  line-height: 1.48;
}

.ng-pillars-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.ng-pillar-box {
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border);
  border-radius: 4px;
  padding: 22px;
}

/* Process Reels Showcase (3 Videos — Aligned Equal Grid) */
.ng-reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.ng-reels-grid .ng-video-card {
  aspect-ratio: 9 / 13;
  max-height: 480px;
  width: 100%;
  margin: 0;
}

/* Registration / Seat Booking Form Section */
.ng-register-grid {
  display: grid;
  grid-template-columns: 4.8fr 7.2fr;
  gap: 44px;
  align-items: start;
}

.ng-form-card {
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  padding: 36px;
}

.ng-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ng-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.ng-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ng-silver);
  margin-bottom: 8px;
}

.ng-input,
.ng-select,
.ng-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background-color: var(--ng-black);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  color: var(--ng-white);
  font-family: var(--ng-font-body);
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.ng-input:focus,
.ng-select:focus,
.ng-textarea:focus {
  outline: none;
  border-color: var(--ng-white);
}

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

.ng-summary-strip {
  background-color: var(--ng-black);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Modals & Drawers */
.ng-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ng-modal-dialog {
  background-color: var(--ng-surface);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain !important;
  position: relative;
  padding: 36px;
}

.ng-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 48px;
  height: 48px;
  background-color: var(--ng-black);
  border: 1px solid var(--ng-border-strong);
  border-radius: 4px;
  color: var(--ng-white);
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.ng-modal-close:hover {
  background-color: var(--ng-white);
  color: var(--ng-black);
}

/* Mobile Navigation Drawer */
.ng-mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--ng-black);
  z-index: 850;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overscroll-behavior: contain !important;
}

/* Footer */
.ng-footer {
  background-color: var(--ng-black);
  padding: 72px 0 44px 0;
  border-top: 1px solid var(--ng-border);
}

.ng-footer-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 2.5fr 2.5fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ng-border);
}

.ng-footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ng-grey);
}

/* Responsive Breakpoints (Tablet & Mobile-First 360px Invariants) */
@media (max-width: 1140px) {
  :root {
    --ng-pad-x: 32px;
    --ng-sec-y: 80px;
  }
  .ng-nav-links {
    display: none;
  }
  .ng-burger-btn {
    display: inline-flex;
  }
  .ng-hero-grid,
  .ng-flagship-box,
  .ng-blueprint-wrap,
  .ng-shape-panel,
  .ng-educator-grid,
  .ng-register-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ng-programmes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ng-cal-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .ng-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --ng-pad-x: 18px;
    --ng-sec-y: 44px;
  }
  /* 1. Hide desktop topbar, redundant hero coords & inline header CTA on mobile */
  .ng-topbar,
  .ng-hero-coords,
  .ng-header-actions .ng-btn-primary {
    display: none !important;
  }
  .ng-nav-container {
    height: 60px;
    gap: 10px;
    min-width: 0;
  }
  .ng-brand-emblem {
    width: 30px;
    height: 30px;
  }
  .ng-brand-title {
    font-size: 14.5px;
    letter-spacing: 0.08em;
  }
  .ng-brand-sub {
    font-size: 10px;
  }
  .ng-burger-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  /* 2. Engaging Above-the-Fold Mobile Hero: Visual Video First + Compact Copy + 3-Col Metrics */
  .ng-hero {
    padding-top: 12px;
    padding-bottom: 32px;
  }
  .ng-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .ng-hero-grid > div:last-child {
    order: -1;
  }
  #hero-video-card {
    min-height: 195px;
    max-height: 195px;
    height: 195px;
    border-radius: 6px;
  }
  .video-cc-overlay {
    font-size: 10.5px;
    line-height: 1.3;
    padding: 3px 10px;
    bottom: 42px;
    max-width: 92%;
    white-space: normal;
    text-align: center;
  }
  .ng-vid-controls {
    padding: 8px 10px;
  }
  .ng-vid-btn {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 10px;
  }
  .ng-eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }
  .ng-h1 {
    font-size: 21px;
    line-height: 1.18;
    margin-bottom: 8px;
  }
  .ng-lead {
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .ng-btn-primary,
  .ng-btn-secondary {
    white-space: normal;
    text-align: center;
  }
  .ng-hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }
  .ng-hero-ctas .ng-btn-primary,
  .ng-hero-ctas .ng-btn-secondary {
    width: 100%;
    padding: 10px 14px;
    font-size: 12px;
    min-height: 44px;
  }
  .ng-hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 12px;
  }
  .ng-metric-val {
    font-size: 17px;
    margin-bottom: 2px;
  }
  .ng-metric-lbl {
    font-size: 10.5px;
    line-height: 1.25;
  }

  /* 3. Horizontal Touch-Swipe Filter Pills & Shape Tabs (No Vertical Button Walls) */
  .ng-sec-header {
    margin-bottom: 22px;
  }
  .ng-sec-header-row {
    gap: 12px;
  }
  .ng-h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .ng-finder-bar {
    padding: 14px;
    margin-bottom: 22px;
  }
  .ng-finder-title {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .ng-finder-pills,
  .ng-shape-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
  }
  .ng-finder-pills::-webkit-scrollbar,
  .ng-shape-tabs::-webkit-scrollbar {
    display: none;
  }
  .ng-filter-pill,
  .ng-shape-tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 11.5px;
    white-space: nowrap;
  }
  .ng-shape-tab span:last-child {
    display: none;
  }

  /* 4. Compact, Visual Seminar Cards on Mobile */
  .ng-programmes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ng-prog-media {
    aspect-ratio: 16 / 10;
  }
  .ng-prog-body {
    padding: 16px;
  }
  .ng-prog-title {
    font-size: 17px;
    min-height: 0;
    margin-bottom: 6px;
  }
  .ng-prog-subtitle {
    font-size: 13px;
    min-height: 0;
    margin-bottom: 12px;
  }
  .ng-prog-highlights {
    padding-top: 10px;
    margin-bottom: 12px;
  }
  .ng-prog-highlights li {
    font-size: 12.5px;
    margin-bottom: 5px;
  }
  .ng-prog-highlights li:nth-child(n+3) {
    display: none;
  }
  .ng-prog-pricing {
    padding: 10px 12px;
    min-height: 58px;
    margin-bottom: 12px;
  }
  .ng-price-main {
    font-size: 18px;
  }
  .ng-prog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ng-prog-actions .ng-btn-primary,
  .ng-prog-actions .ng-btn-secondary {
    padding: 10px 8px;
    font-size: 11.5px;
    min-height: 42px;
  }

  /* 5. Compact Flagship 01 Basic Course & Shape Explorer on Mobile */
  .ng-flagship-box,
  .ng-flagship-side-card,
  .ng-shape-panel,
  .ng-form-card,
  .ng-modal-dialog {
    padding: 18px 16px;
    gap: 20px;
  }
  #basic-course .ng-flagship-box {
    display: flex;
    flex-direction: column;
  }
  #basic-course .ng-flagship-side-card {
    order: -1;
  }
  .ng-syllabus-columns {
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }
  .ng-syllabus-columns li {
    font-size: 12px;
    padding: 6px 0;
  }
  .ng-shape-photo-box img {
    min-height: 220px;
    max-height: 260px;
  }
  .ng-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ng-spec-cell {
    padding: 10px;
  }
  .ng-spec-val {
    font-size: 12px;
  }
  .ng-shape-cta-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* 6. Compact Schedule Rows */
  .ng-cal-row {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 10px;
  }

  /* 7. Educator & Horizontal Swipeable Video Reels Carousel on Mobile */
  .ng-educator-portrait-wrap img {
    max-height: 340px;
  }
  .ng-quote-block {
    font-size: 15px;
    margin: 14px 0;
    padding-left: 14px;
  }
  .ng-pillars-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .ng-pillar-box {
    padding: 14px;
  }
  .ng-reels-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 6px;
  }
  .ng-reels-grid .ng-video-card {
    flex: 0 0 78%;
    width: 78%;
    max-height: 360px;
    scroll-snap-align: start;
  }

  /* 8. Compact Form & Footer on Mobile */
  .ng-form-row,
  .ng-footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ng-footer {
    padding: 44px 0 32px 0;
  }
}
