/* Sabar Studio - Deployment v1.0.4 */
@import 'https://unpkg.com/open-props' layer(design.system);
@import 'https://unpkg.com/open-props/normalize.light.min.css' layer(base.normalize);
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200..900&family=Oswald:wght@200..700&display=swap');

@layer base.override-normalize {
  :root {
    --surface-1: #050505;
    --surface-2: #121212;
    --text-1: #ffffff;
    --text-2: #888888;
    --accent: #D4AF37;
    /* Metallic Gold */
    --accent-rgb: 212, 175, 55;

    --cut-top: 50%;
    --cut-bottom: 60%;

    font-family: 'Inter', sans-serif;
    background-color: var(--surface-1);
    color: var(--text-1);
    scroll-behavior: smooth;
  }
}

@layer base.demo {
  body {
    margin: 0;
    overflow: hidden;
    /* Controlled by HeroSlider container */
  }

  /* Adaptive Vault Framing & Letterboxing - High Precision Fix */
  .vault-content-container {
    width: calc(100% - 60px);
    height: 100%;
    margin-left: 60px;
    overflow: hidden;
    padding: var(--size-8) 0;
  }

  .vault-strip {
    display: flex;
    height: 100%;
    width: max-content;
    will-change: transform;
    transition: transform 0.6s var(--ease-out-4);
  }


  .vault-letterbox {
    height: var(--size-8);
    background: #000;
    width: 100%;
    z-index: 10;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .vault-letterbox.bottom {
    margin-top: auto;
  }

  .reel-frame {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
  }

  .reel-frame iframe {
    position: absolute;
    top: 0;
    left: 50%;
    width: 140%;
    height: 110%;
    transform: translateX(-50%) translateY(-9.5%);
    border: none;
    pointer-events: none;
    filter: brightness(1) contrast(1.05);
  }

  .vault-reel {
    flex: 0 0 var(--reel-width, 25vw);
    flex-shrink: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    background: #000;
    position: relative;
    cursor: pointer;
    scroll-snap-align: center;
  }

  .vault-reel:hover .reel-overlay {
    opacity: 1;
  }

  .reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 20;
    pointer-events: none;
  }

  .reel-overlay i {
    font-size: 3rem;
    color: var(--accent);
    transform: scale(0.8);
    transition: transform 0.4s var(--ease-elastic-3);
  }

  .vault-reel:hover .reel-overlay i {
    transform: scale(1);
  }


  @media (max-width: 768px) {
    .vault-panel {
      transform: translateX(90%);
    }

    .vault-handle {
      width: 80px;
      left: -40px;
      background: rgba(10, 10, 10, 0.9);
      backdrop-filter: blur(10px);
    }

    .vault-content-container {
      width: 100%;
      margin-left: 0;
      padding: var(--size-12) 0;
    }

    .hero-bg {
      width: 250%;
      height: 350%;
      transform: translateX(-50%) translateY(-15%);
    }

    .massive-title {
      font-size: 3rem;
    }
  }

  /* Header - Agency Style */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: var(--size-6) var(--size-fluid-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95), transparent);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  }

  .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--size-8);
  }

  .nav a {
    color: var(--text-1);
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: var(--font-size-1);
    font-weight: 500;
    letter-spacing: 0.2em;
    transition: color 0.4s var(--ease-3), transform 0.4s var(--ease-3);
    display: inline-block;
  }

  .nav a:hover {
    color: var(--accent);
    transform: translateY(-2px);
  }

  .nav a.active {
    color: var(--accent);
    /* No translateY for active state as per user request */
  }

  .btn-sub {
    border: 1px solid var(--accent);
    padding: var(--size-2) var(--size-6);
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.4s var(--ease-3);
    letter-spacing: 0.1em;
  }

  .btn-sub:hover {
    background: var(--accent);
    color: var(--surface-1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }

  /* Main Content Stack (Non-Sticky for reliable nav) */
  #hero {
    block-size: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .slide {
    block-size: 100dvh;
    inline-size: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--surface-1);
  }

  /* Slide Backgrounds */
  .slide>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2) grayscale(0.5);
    z-index: 1; /* Above section background, but below content */
    pointer-events: none;
    transition: transform 2s var(--ease-out-4), opacity 1s var(--ease-out-4);
  }

  .slide[data-active="true"]>img {
    transform: scale(1.1);
  }

  /* Slide Numbering (Editorial Style) */
  .slide::before {
    content: attr(id);
    position: absolute;
    top: var(--size-fluid-5);
    left: var(--size-fluid-4);
    font-family: 'Oswald', sans-serif;
    font-size: var(--font-size-fluid-6);
    opacity: 0.05;
    z-index: 2;
    text-transform: uppercase;
    pointer-events: none;
  }

  /* Content Overlays */
  .content-overlay {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1400px;
    padding: var(--size-fluid-4);
  }

  /* Slicing Trick (Restored & Polished) */
  .branding-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--size-4);
  }

  .tagline {
    font-family: 'Oswald', sans-serif;
    font-size: var(--font-size-2);
    text-transform: uppercase;
    letter-spacing: 1em;
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s var(--ease-out-4) 0.5s;
  }

  .editorial-intro {
    max-width: 50ch;
    text-align: center;
    color: var(--text-2);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: var(--size-4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s var(--ease-out-4) 0.7s;
  }

  .editorial-subtext {
    margin-top: var(--size-4);
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 45ch;
  }

  .heritage-block {
    margin-top: var(--size-6);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: var(--size-4);
  }

  .slide[data-active="true"] .tagline,
  .slide[data-active="true"] .editorial-intro {
    opacity: 1;
    transform: translateY(0);
  }

  .slice {
    display: grid;
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    font-size: clamp(5rem, 18vw, 15rem);
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    pointer-events: auto;
    cursor: crosshair;
    line-height: 0.9;
  }

  .slice__text {
    grid-area: 1 / 1;
    clip-path: polygon(0 0, 100% 0, 100% var(--cut-top), 0 var(--cut-bottom));
  }

  .slice:after {
    grid-area: 1 / 1;
    rotate: -0.5deg;
    display: inline-block;
    content: attr(data-text);
    user-select: none;
    transform: translate(-0.02em, 0.02em);
    color: transparent;
    background: linear-gradient(179deg, #000 var(--cut-top), var(--accent) 70%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    clip-path: polygon(0 var(--cut-bottom), 100% var(--cut-top), 100% 100%, 0 100%);
  }

  /* Editorial Grid Layouts */
  .editorial-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--size-fluid-5);
    align-items: center;
  }

  .editorial-layout.reversed {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .text-block {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s var(--ease-out-4);
  }

  .slide[data-active="true"] .text-block {
    opacity: 1;
    transform: translateX(0);
  }

  .editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--size-fluid-6);
    align-items: center;
    width: 100%;
    max-width: 1600px;
    z-index: 10;
  }

  .editorial-specs {
    display: flex;
    flex-direction: column;
    gap: var(--size-8);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    padding-left: var(--size-fluid-5);
  }

  .spec-item {
    display: flex;
    gap: var(--size-6);
    align-items: flex-start;
  }

  .spec-num {
    font-family: 'Oswald';
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0.5;
    line-height: 1;
  }

  .spec-text h4 {
    font-family: 'Oswald';
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--text-1);
    font-size: 1.1rem;
  }

  .spec-text p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 35ch;
  }

  @media (max-width: 1200px) {
    .editorial-grid {
      grid-template-columns: 1fr;
      gap: var(--size-10); /* Restored original gap between title and specs */
    }

    .editorial-specs {
      border-left: none;
      border-top: 1px solid rgba(212, 175, 55, 0.2);
      padding-left: 0;
      padding-top: var(--size-fluid-4);
      flex-direction: row;
      flex-wrap: wrap;
      gap: var(--size-4); /* Further reduced gap between items */
    }

    .spec-item {
      flex: 1 1 280px; /* Slightly smaller basis */
    }
  }

  @media (max-width: 768px) {
    .editorial-specs {
      flex-direction: column;
    }
  }

  /* Adaptive Vault Framing & Letterboxing - High Precision Fix */
  .vault-base {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 var(--size-10);
    background: #050505;
    z-index: 1;
  }

  @media (max-width: 1000px) {
    .vault-base {
      padding: 120px 80px 100px var(--size-6); /* Added 80px right padding for handle clearance */
      align-items: flex-start;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: var(--accent) transparent;
    }

    .vault-base::-webkit-scrollbar {
      width: 4px;
    }

    .vault-base::-webkit-scrollbar-thumb {
      background: var(--accent);
      border-radius: 10px;
    }
  }

  .vault-panel {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: #000;
    transform: translateX(90%);
    will-change: transform;
    display: flex;
    align-items: center;
    box-shadow: -30px 0 150px rgba(0, 0, 0, 1), -1px 0 0 rgba(212, 175, 55, 0.4);
  }

  .vault-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: #080808;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--size-4);
    z-index: 110;
  }


  .handle-arrow {
    font-size: 1rem;
    color: var(--accent);
    animation: arrowPulse 1.5s infinite;
  }

  @keyframes arrowPulse {

    0%,
    100% {
      transform: translateX(0);
      opacity: 0.5;
    }

    50% {
      transform: translateX(-5px);
      opacity: 1;
    }
  }

  .handle-line {
    width: 1px;
    height: 80px;
    background: var(--accent);
    opacity: 0.3;
  }

  .vault-handle span {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-family: 'Oswald';
    letter-spacing: 0.5em;
    color: var(--accent);
    font-size: 0.7rem;
    opacity: 0.6;
  }

  /* Adaptive Vault Framing & Letterboxing - High Precision Fix */
  .vault-content-container {
    width: calc(100% - 60px);
    height: 100%;
    margin-left: 60px;
    overflow-x: auto;
    /* Enable sliding */
    overflow-y: hidden;
    padding: var(--size-8) 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .vault-strip {
    display: flex;
    height: 100%;
    width: max-content;
    will-change: transform;
  }


  /* Video Modal Styles */
  .video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-3);
    backdrop-filter: blur(10px);
  }

  .video-modal.active {
    opacity: 1;
    pointer-events: auto;
  }

  .video-modal-content {
    width: 90%;
    max-width: 500px;
    height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s var(--ease-elastic-3);
  }

  .video-modal.active .video-modal-content {
    transform: scale(1);
  }

  .video-modal-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
  }

  .video-modal-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--accent);
  }

  @media (max-width: 768px) {
    .video-modal-close {
      top: -60px;
      right: 10px;
    }
  }


  .vault-reel:first-child {
    box-shadow: inset 20px 0 50px rgba(0, 0, 0, 0.8);
  }

  .massive-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(6rem, 20vw, 15rem);
    font-weight: 900;
    line-height: 0.8;
    color: var(--accent);
    letter-spacing: -0.05em;
    margin: var(--size-4) 0;
  }

  .tagline {
    font-family: 'Oswald';
    letter-spacing: 0.5em;
    color: var(--text-2);
    font-size: 0.9rem;
    text-transform: uppercase;
  }

  .description {
    font-size: 1.2rem;
    color: var(--text-2);
    max-width: 40ch;
    line-height: 1.6;
    margin-top: var(--size-4);
  }

  /* Onboarding Terminal (Former Studio) */
  #STUDIO {
    background: #000;
    position: relative;
    overflow: hidden;
  }

  .studio-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(1) contrast(1.2);
    z-index: 1;
  }

  .onboarding-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    padding: var(--size-fluid-4);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--size-10);
    align-items: center;
  }

  /* Student Feedback Swatches */
  .feedback-vault {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--size-8);
  }

  .feedback-swatch {
    background: rgba(10, 10, 10, 0.02);
    /* Ghost transparency */
    backdrop-filter: blur(5px);
    /* Minimal blur */
    border-left: 2px solid var(--accent);
    padding: var(--size-5);
    max-width: 35ch;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--ease-out-4);
  }

  .feedback-swatch p {
    font-size: 1.1rem;
    font-style: italic;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .feedback-swatch cite {
    font-family: 'Oswald';
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }

  /* Enrollment Form Terminal */
  .enrollment-terminal {
    background: rgba(10, 10, 10, 0.02);
    /* Ghost transparency */
    backdrop-filter: blur(8px);
    /* Minimal blur */
    border: 1px solid rgba(212, 175, 55, 0.05);
    padding: var(--size-6);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    transition: background 0.5s ease;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
  }

  .terminal-header {
    margin-bottom: var(--size-5);
    /* Reduced gap */
  }

  .terminal-header h3 {
    font-family: 'Oswald';
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--accent);
    line-height: 1;
  }

  .terminal-header p {
    color: var(--text-2);
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }

  .enrollment-form {
    display: grid;
    gap: var(--size-4);
    /* Reduced gap */
  }

  .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .input-group label {
    font-family: 'Oswald';
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.2em;
  }

  .input-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.6rem 0;
    color: #fff;
    font-family: 'Inter';
    outline: none;
    transition: border-color 0.4s;
  }

  .input-group input:focus {
    border-color: var(--accent);
  }

  /* Custom Select Styling */
  .custom-select {
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    font-family: 'Inter';
  }

  .select-trigger {
    padding: 0.6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .select-trigger i {
    color: var(--accent);
    transition: transform 0.3s ease;
  }

  .custom-select.open .select-trigger i {
    transform: rotate(180deg);
  }

  .select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 100;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }

  .custom-select.open .select-options {
    display: block;
  }

  .option {
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }

  .option:hover {
    background: var(--accent) !important;
    color: #000 !important;
  }

  .option.selected {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
  }

  .input-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.6rem 0;
    color: #fff;
    font-family: 'Inter';
    outline: none;
    transition: border-color 0.4s;
    resize: none;
    height: 3.2rem;
    /* Exactly 2 lines */
    line-height: 1.4;
  }

  .input-group input:focus,
  .input-group select:focus,
  .input-group textarea:focus {
    border-color: var(--accent);
  }

  .btn-enroll {
    margin-top: var(--size-4);
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1rem;
    font-family: 'Oswald';
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s var(--ease-3);
  }

  .btn-enroll:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  }

  @media (max-width: 1000px) {
    .onboarding-container {
      display: flex;
      flex-direction: column;
      padding-top: 100px;
      /* Increased to clear header */
      padding-bottom: 120px;
      /* Clear footer */
      gap: var(--size-8);
      height: 100%;
      overflow-y: auto;
      overflow-x: hidden;
    }

    .feedback-vault {
      display: flex !important;
      order: -1;
      height: auto;
      min-height: 200px;
      gap: var(--size-4);
      padding: var(--size-4) 0;
      justify-content: flex-start;
    }

    .feedback-swatch {
      max-width: 100%;
    }
  }

  /* Progress Bar */

  /* Academy Refinement: The Sartorial Grid */
  #ACADEMY {
    background: var(--surface-1);
    overflow: hidden;
    position: relative;
    z-index: 1; /* Establish stacking context */
  }

  .academy-container {
    position: relative;
    z-index: 5; /* Explicitly above background image (z-index 1) */
    width: 100%;
    height: 100%;
    padding: calc(var(--size-10) + 60px) var(--size-2) var(--size-10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .academy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--size-3);
    width: 100%;
    max-width: 2120px;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
    padding-bottom: var(--size-10);
  }

  .course-panel {
    position: relative;
    background: #111;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.6s var(--ease-3);
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    height: 72vh;
    min-height: 600px;
  }

  .slide[data-active="true"] .course-panel {
    opacity: 1;
    transform: translateY(0);
  }

  .course-panel:nth-child(1) {
    transition-delay: 0.1s;
  }

  .course-panel:nth-child(2) {
    transition-delay: 0.2s;
  }

  .course-panel:nth-child(3) {
    transition-delay: 0.3s;
  }

  .course-panel:nth-child(4) {
    transition-delay: 0.4s;
  }

  /* Background Visual */
  .panel-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.4);
    transition: all 0.8s var(--ease-3);
  }

  .course-panel:hover .panel-bg img {
    filter: grayscale(0.5) brightness(0.6) scale(1.1);
  }

  .blueprint-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
      linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
  }

  /* Identity Bar (Initial State) */
  .panel-identity {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: var(--size-6);
    z-index: 10;
    transition: transform 0.5s var(--ease-3);
  }

  .panel-identity h4 {
    font-family: 'Oswald';
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  .panel-price {
    font-family: 'Inter';
    font-size: 0.8rem;
    color: #fff;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 4px;
    display: block;
  }

  /* Hover Reveal (Outcome Content) */
  .panel-reveal {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 20;
    padding: var(--size-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .course-panel:hover .panel-reveal,
  .course-panel.active .panel-reveal {
    transform: translateY(0);
  }

  .reveal-title {
    font-family: 'Oswald';
    font-size: 1.2rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: var(--size-4);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .reveal-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .reveal-list li {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.5;
    margin-bottom: var(--size-2);
    padding-left: var(--size-4);
    position: relative;
  }

  .reveal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 1px;
    background: var(--accent);
  }

  .reveal-footer {
    margin-top: auto;
    font-family: 'Oswald';
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  @media (max-width: 1400px) {
    .academy-grid {
      grid-template-columns: repeat(3, 1fr);
      max-height: 80vh;
    }

    /* Show all 4 on mid-screen */
  }

  @media (max-width: 1000px) {
    .academy-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--size-4);
      max-height: 75vh;
      overflow-y: auto;
    }
  }

  @media (max-width: 600px) {
    .academy-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      height: 100%;
      max-height: 80vh;
      overflow-y: auto;
      padding-bottom: 100px;
      gap: var(--size-8);
      padding-top: 20px;
    }

    .course-panel {
      min-height: 200px;
    }
  }

  /* Progress Bar */

  /* Progress Bar */

  .course-badge::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
  }

  .course-card h4 {
    font-family: 'Oswald';
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: var(--size-8);
    letter-spacing: -0.02em;
    color: #fff;
  }

  .course-outcomes {
    list-style: none;
    padding: 0;
    margin-bottom: var(--size-10);
  }

  .course-outcomes li {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: var(--size-3);
    position: relative;
    padding-left: var(--size-6);
  }

  .course-outcomes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border: 1px solid var(--accent);
    transform: rotate(45deg);
  }

  .course-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: var(--size-6);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
  }

  .course-price-group {
    display: flex;
    flex-direction: column;
  }

  .course-price-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-2);
    margin-bottom: var(--size-1);
  }

  .course-price {
    font-family: 'Oswald';
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
  }

  .course-duration {
    font-family: 'Oswald';
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(212, 175, 55, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
  }

  /* Greebles & Technical Marks */
  .greeble {
    position: absolute;
    font-family: monospace;
    font-size: 0.6rem;
    color: var(--accent);
    opacity: 0.3;
    pointer-events: none;
    text-transform: uppercase;
  }

  .greeble.top-left {
    top: 10px;
    left: 10px;
  }

  .greeble.bottom-right {
    bottom: 10px;
    right: 10px;
  }

  /* Blueprint Lines */
  .blueprint-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
  }

  .blueprint-line {
    position: absolute;
    background: var(--accent);
  }

  .blueprint-line.v {
    width: 1px;
    height: 100%;
    top: 0;
  }

  .blueprint-line.h {
    height: 1px;
    width: 100%;
    left: 0;
  }

  /* Surgical Responsiveness for Experimental Layout */
  @media (max-width: 1400px) {
    .course-card {
      width: 350px;
      min-height: 400px;
      padding: var(--size-8);
    }

    .course-card h4 {
      font-size: 2rem;
    }
  }

  @media (max-width: 1100px) {
    .blueprint-gallery {
      flex-direction: column;
      height: auto;
      gap: var(--size-10);
      padding: var(--size-20) 0;
    }

    .course-card {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      transform: none !important;
      width: 90% !important;
      max-width: 500px;
      margin: 0 auto;
    }

    .vertical-title {
      display: none;
    }
  }

  /* Controls (Restored & High-Z) */
  .controls {
    position: fixed;
    right: var(--size-fluid-4);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: var(--size-4);
  }

  .controls button {
    width: 24px;
    /* Ultra-Discrete */
    height: 24px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.05);
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }

  .controls button i {
    font-size: 0.8rem;
  }

  .controls button:hover {
    background: var(--accent);
    color: var(--surface-1);
    transform: scale(1.1);
  }

  /* Progress Bar */
  #progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10002;
  }

  #progress-bar {
    width: 100%;
    height: 0%;
    background: var(--accent);
    transition: height 0.2s var(--ease-out-4);
  }

  /* Global Footer */
  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: var(--size-4) var(--size-fluid-4);
    background: linear-gradient(to top, rgba(5, 5, 5, 0.9), transparent);
    pointer-events: none;
  }

  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
  }

  .footer-socials {
    display: flex;
    gap: var(--size-6);
  }

  .footer-socials a {
    color: var(--text-1);
    font-size: 1.2rem;
    transition: all 0.4s;
    opacity: 0.6;
  }

  .footer-socials a:hover {
    color: var(--accent);
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (max-width: 1000px) {

  .editorial-layout,
  .studio-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .text-block {
    transform: translateY(50px);
  }

  .controls {
    display: none;
  }

  .footer-content p {
    font-size: 0.5rem !important;
    letter-spacing: 0.1em !important;
    text-align: right;
    flex: 1;
  }

  .footer-socials a {
    font-size: 0.9rem;
    gap: var(--size-4);
  }

  footer {
    padding-right: var(--size-2);
  }

  header {
    padding: var(--size-2) var(--size-3);
    gap: var(--size-2);
    min-height: 70px;
    align-items: center;
  }

  .logo a {
    font-size: 1.1rem !important;
    white-space: nowrap;
  }

  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .nav ul {
    gap: var(--size-2);
  }

  .nav a {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }

  .btn-sub {
    padding: var(--size-1) var(--size-2);
    font-size: 0.65rem;
    white-space: nowrap;
    border-width: 1px;
  }
}

@media (max-width: 600px) {
  .nav a {
    font-size: 0.5rem;
    letter-spacing: 0;
  }

  .nav ul {
    gap: var(--size-1);
  }
}

/* Responsive Reel Grid: Surgical Partial Exposure (4-3-2-1) */
:root {
  --reel-width: 25vw;
}

@media (max-width: 1600px) {
  :root {
    --reel-width: 30vw;
  }
}

@media (max-width: 1200px) {
  :root {
    --reel-width: 45vw;
  }

  .massive-title {
    font-size: clamp(4rem, 15vw, 8rem);
  }
}

@media (max-width: 900px) {
  :root {
    --reel-width: 80vw;
  }
}

@media (max-width: 600px) {
  :root {
    --reel-width: 100vw;
  }
}