/* ==========================================================================
   AFTER COMP — HOME PAGE STYLES
   ==========================================================================
   HOW TO CHANGE COLORS
   ---------------------------------------------------------------------
   Everything on this page pulls its color from the CSS variables in the
   ":root" block directly below. To re-theme the whole site to match your
   logo, you only need to edit the values in THIS block — nothing else in
   this file needs to change.

     --brand        the main accent color (buttons, links, highlights)
     --brand-2      the secondary accent (used sparingly — stats, icons)
     --brand-3      a third, optional accent — used very sparingly
     --bg / --bg-alt          page background colors (light theme base)
     --surface / --surface-2  card / panel backgrounds
     --border                 hairline borders and dividers
     --text / --text-muted / --text-faint   text color scale, darkest to lightest

   Tip: pick --brand and --brand-2 directly from your logo file (use an
   eyedropper tool in Illustrator/Photoshop/Figma to get the exact hex).
   Everything else can usually stay as-is.
   ========================================================================== */

:root {
  /* ---- 1. BRAND COLORS — edit these to match your logo ---- */
  --brand: #ff9f23; /* primary accent — buttons, links, active states */
  --brand-2: #ff9f23; /* secondary accent — stats, small highlights */
  --brand-3: #c0487a; /* tertiary accent — used very sparingly */
  --on-brand: #ffffff; /* text color placed ON TOP of --brand (keep light if --brand is dark) */

  /* ---- 2. BASE THEME — light mode background/text scale ---- */
  --bg: #faf9f6; /* main page background */
  --bg-alt: #f1efe9; /* alternate section background (stripe effect) */
  --surface: #ffffff; /* card / panel background */
  --surface-2: #f5f3ee; /* card hover / secondary panel background */
  --border: #e4e1d8; /* hairline borders, dividers */
  --text: #17181b; /* primary text (headings, body) */
  --text-muted: #55585f; /* secondary text (paragraphs) */
  --text-faint: #90939a; /* tertiary text (labels, captions, timecodes) */

  /* ---- 3. TYPOGRAPHY ---- */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* ---- 4. LAYOUT ---- */
  --container: 1200px;
}

/* ==========================================================================
   BASE / RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input {
  font-family: inherit;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 600;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
}
p {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brand);
}

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ==========================================================================
   SCROLL-REVEAL SYSTEM
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="scale"] {
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal="scale"].in {
  transform: scale(1);
}
[data-reveal-group] [data-reveal] {
  transition-delay: calc(var(--i, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .marquee-track,
  .hero-bg {
    animation: none !important;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  padding: 12px 0;
  background: #faf9f6;
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--text);
  flex: none;
}
.logo img {
  width: clamp(150px, 15vw, 210px);
  max-height: 58px;
  height: auto;
  object-fit: contain;
}
.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
}
.logo .mark::before,
.logo .mark::after {
  content: "";
  position: absolute;
  background: var(--brand);
}
.logo .mark::before {
  width: 12px;
  height: 1.5px;
}
.logo .mark::after {
  width: 1.5px;
  height: 12px;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 30px);
  min-width: 0;
}
nav.primary-nav a {
  font-size: clamp(0.78rem, 0.78vw, 0.86rem);
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
nav.primary-nav a:hover {
  color: var(--text);
}
nav.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.25s ease;
}
nav.primary-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 3px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 55%, transparent);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-block {
  width: 100%;
  justify-content: center;
}

.phone-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.phone-chip svg {
  width: 15px;
  height: 15px;
  stroke: var(--brand-2);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 6px;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-video,
.hero-video-fallback {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video-off .hero-video {
  display: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      ellipse 60% 50% at 78% 18%,
      color-mix(in srgb, var(--brand) 16%, transparent),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 12% 85%,
      color-mix(in srgb, var(--brand-2) 14%, transparent),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(250, 249, 246, 0.85) 0%,
      rgba(250, 249, 246, 0.55) 55%,
      rgba(250, 249, 246, 0.92) 100%
    );
  background-size: 140% 140%;
  animation: driftBg 22s ease-in-out infinite alternate;
}
@keyframes driftBg {
  to {
    background-position: 15% 8%, 85% 92%, 0 0;
  }
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image: linear-gradient(
      to right,
      rgba(23, 24, 27, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(23, 24, 27, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 60% 40%,
    #000 30%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 70% 70% at 60% 40%,
    #000 30%,
    transparent 78%
  );
}

.viewport-frame {
  position: absolute;
  inset: 28px;
  z-index: 0;
  pointer-events: none;
}
.viewport-frame span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid color-mix(in srgb, var(--brand) 55%, transparent);
}
.viewport-frame span:nth-child(1) {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.viewport-frame span:nth-child(2) {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.viewport-frame span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.viewport-frame span:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.timecode {
  position: absolute;
  top: 34px;
  right: 44px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.timecode .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(
    180deg,
    transparent 68%,
    color-mix(in srgb, var(--brand) 24%, transparent) 68%
  );
}
.hero .lede {
  font-size: 1.08rem;
  max-width: 850px;
  margin-bottom: 36px;
  color: var(--text-muted);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta .num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--text);
}
.hero-meta .lbl {
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.scroll-cue .line {
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--brand), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
section {
  position: relative;
  padding: 110px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.02rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section-head.center .eyebrow::before {
  display: none;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  padding: 52px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 0 8px;
}
.trust-item .stat {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--brand);
  font-weight: 500;
}
.trust-item .stat-label {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
}
.about-visual svg,
.about-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-visual video {
  object-fit: contain;
}
.about-visual .frame-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.75);
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.about-copy p {
  font-size: 1.02rem;
  margin-bottom: 28px;
}
.about-copy .founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.founder .initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--brand);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  flex: none;
}
.founder .name {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.founder .role {
  color: var(--text-faint);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   COURSES
   ========================================================================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease,
    box-shadow 0.3s ease;
}
.course-card:hover {
  border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -20px rgba(23, 24, 27, 0.18);
}
.course-card .layer-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-2);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: block;
}
.course-card .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.4;
}
.course-card h3 {
  margin-bottom: 10px;
}
.course-card p {
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.course-card .link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.course-card .link svg {
  width: 13px;
  height: 13px;
  stroke: var(--brand);
  transition: transform 0.2s ease;
}
.course-card:hover .link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.why-item .icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--surface);
}
.why-item .icon-ring svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.5;
}
.why-item h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}
.why-item p {
  font-size: 0.88rem;
}

/* ==========================================================================
   VIDEO CARDS — shared by Student Work + Testimonials
   (YouTube thumbnail, click/keyboard-activate opens the shared popup modal)
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  cursor: pointer;
  margin: 0;
}
.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card .play span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(23, 24, 27, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background 0.25s ease,
    transform 0.25s ease;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px -8px rgba(23, 24, 27, 0.3);
}
.video-card .play svg {
  width: 15px;
  height: 15px;
  fill: var(--text);
  margin-left: 2px;
}
.video-card:hover .play span,
.video-card:focus-visible .play span {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 16%, white);
  transform: scale(1.08);
}
.video-card .file-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid var(--border);
  z-index: 1;
}
.video-caption {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}
.video-caption strong {
  color: var(--text);
  font-weight: 600;
}
.work-more {
  text-align: center;
  margin-top: 44px;
}
.testimonial-grid {
  max-width: 920px;
  margin: 0 auto;
}

/* ==========================================================================
   VIDEO POPUP MODAL
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open {
  display: flex;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(4px);
}
.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.video-modal-close svg {
  width: 16px;
  height: 16px;
}
.video-modal-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.video-modal-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.55);
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 600px) {
  .video-modal-close {
    top: auto;
    bottom: calc(100% - 44px);
    right: 0;
  }
}

/* ==========================================================================
   PLACEMENT
   ========================================================================== */
.placement-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.placement-copy p {
  font-size: 1.02rem;
  margin-bottom: 28px;
}
.placement-stats {
  display: flex;
  gap: 32px;
}
.placement-stats div .stat {
  font-family: var(--font-mono);
  color: var(--brand-2);
  font-size: 1.6rem;
}
.placement-stats div .stat-label {
  font-size: 0.74rem;
  color: var(--text-faint);
  margin-top: 4px;
}
.placement-visual {
  aspect-ratio: 1/1;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.placement-visual svg {
  width: 60%;
  height: 60%;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  white-space: nowrap;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ENQUIRY BAND
   ========================================================================== */
.enquiry {
  position: relative;
  overflow: hidden;
}
.enquiry-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      ellipse 70% 60% at 50% 0%,
      color-mix(in srgb, var(--brand) 12%, transparent),
      transparent 65%
    ),
    var(--bg-alt);
}
.enquiry-inner {
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  gap: 64px;
  align-items: start;
}
.enquiry-copy h2 {
  margin-bottom: 18px;
}
.enquiry-copy p {
  font-size: 1.02rem;
  margin-bottom: 26px;
}
.enquiry-copy ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.enquiry-copy li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  align-items: flex-start;
}
.enquiry-copy li svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand);
  flex: none;
  margin-top: 2px;
}

.enquiry-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 24px 50px -34px rgba(23, 24, 27, 0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.74rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.field input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}
.field input:focus {
  border-color: var(--brand);
  outline: none;
}
.form-note {
  font-size: 0.76rem;
  color: var(--text-faint);
  margin-top: 14px;
  text-align: center;
}

.map-wrapper {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 50px -34px rgba(23, 24, 27, .2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 70px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 0.86rem;
  margin: 16px 0 20px;
  max-width: 280px;
}
.social-row {
  display: flex;
  gap: 12px;
}
.social-row a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  color: var(--text-muted);
}
.social-row a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.social-row svg {
  width: 15px;
  height: 15px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a,
.footer-col address {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-style: normal;
}
.footer-col a:hover {
  color: var(--brand);
}
.footer-col address div {
  margin-bottom: 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.footer-bottom a {
  color: var(--text-faint);
}
.footer-bottom a:hover {
  color: var(--brand);
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #06110d;
}



/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  .phone-chip {
    display: none;
  }
}

@media (max-width: 1180px) {
  header {
    background: #faf9f6;
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border);
  }

  header.scrolled {
    background: #faf9f6;
  }

  html.nav-open,
  body.nav-open,
  body:has(nav.primary-nav.open) {
    overflow: hidden;
  }

  nav.primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: #faf9f6;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.35s ease, opacity 0.2s ease, visibility 0.35s ease;
    z-index: 99;
  }
  nav.primary-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  nav.primary-nav a {
    font-size: 1.3rem;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: #ffffff !important;
    box-shadow: 0 10px 24px -18px rgba(23, 24, 27, 0.28);
    position: relative;
  }
  nav.primary-nav.open + .header-actions .nav-toggle {
    background-color: var(--surface) !important;
    border-color: var(--brand);
    color: var(--text);
  }
  nav.primary-nav.open + .header-actions .nav-toggle svg {
    opacity: 0;
  }
  nav.primary-nav.open + .header-actions .nav-toggle::before,
  nav.primary-nav.open + .header-actions .nav-toggle::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }
  nav.primary-nav.open + .header-actions .nav-toggle::before {
    transform: rotate(45deg);
  }
  nav.primary-nav.open + .header-actions .nav-toggle::after {
    transform: rotate(-45deg);
  }
  .header-actions .btn-primary {
    padding: 9px 16px;
    font-size: 0.78rem;
  }
  .phone-chip {
    display: none;
  }
}

@media (max-width: 980px) {
  .about-grid,
  .placement-inner,
  .enquiry-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 80px 0;
  }
  .course-grid,
  .why-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    gap: 22px;
  }
  .viewport-frame {
    inset: 14px;
  }
  header .wrap .logo img {
    width: 120px;
    max-height: 48px;
  }
  .about-visual {
    aspect-ratio: 3 / 5;
  }
}

@media (max-width: 380px) {
  header .wrap {
    gap: 10px;
    padding: 0 16px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-primary {
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }
}
