/* =========================================================================
   Shanas Institute of Technology — Landing Page
   Hand-authored CSS (no framework) — same design system as the original
   Lovable/Tailwind build, translated 1:1 from its oklch design tokens.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --radius: 0.25rem;

  --background: oklch(0.981 0.008 85);
  --foreground: oklch(0.19 0.02 330);
  --card: oklch(0.995 0.004 85);
  --card-foreground: oklch(0.19 0.02 330);

  --primary: oklch(0.427 0.163 340.5);
  --primary-foreground: oklch(0.985 0.006 85);
  --secondary: oklch(0.406 0.115 249);
  --secondary-foreground: oklch(0.985 0.006 85);

  --muted: oklch(0.947 0.011 80);
  --muted-foreground: oklch(0.48 0.02 330);
  --accent: oklch(0.617 0.098 247);
  --accent-foreground: oklch(0.145 0.02 250);

  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.984 0.003 247.858);

  --border: oklch(0.888 0.012 80);
  --input: oklch(0.888 0.012 80);
  --ring: oklch(0.427 0.163 340.5);

  --navy: oklch(0.29 0.088 249);
  --navy-foreground: oklch(0.975 0.008 85);
  --tape-gold: #e0a83a;

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
img, svg { display: block; max-width: 100%; }
input, button { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, .font-display { font-family: var(--font-display); }

::selection { background: var(--primary); color: var(--primary-foreground); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Utilities ---------- */
.container {
  max-width: 72rem; /* 6xl / 1152px */
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2.5rem; } }

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
}

.stitch-rule {
  height: 1px;
  width: 100%;
  background-image: repeating-linear-gradient(
    to right,
    color-mix(in oklab, var(--primary) 55%, transparent) 0 10px,
    transparent 10px 20px
  );
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-revealed="true"] { opacity: 1; transform: none; }

/* Page-load entrance (distinct from scroll-reveal): a soft fade for chrome
   elements that sit outside the normal scroll flow, so the page feels like
   it settles into place rather than popping in. Class is added by JS a
   couple of frames after DOMContentLoaded so the transition is visible. */
.entrance-header {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.page-loaded .entrance-header { opacity: 1; transform: none; }

.entrance-bar {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
html.page-loaded .entrance-bar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .entrance-header, .entrance-bar { opacity: 1 !important; transform: none !important; transition: none !important; }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  transition: background-color 0.15s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background: color-mix(in oklab, var(--primary) 90%, transparent);
  box-shadow: 0 12px 26px -16px color-mix(in oklab, var(--primary) 55%, transparent);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid color-mix(in oklab, var(--foreground) 20%, transparent);
  color: var(--foreground);
  font-weight: 600;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.site-header__brand {
  display: flex;
  align-items: center;
}
.site-header__logo {
  height: 2.35rem;
  width: auto;
  display: block;
}
@media (min-width: 640px) { .site-header__logo { height: 2.75rem; } }

.site-header__nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.site-header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 75%, transparent);
  transition: color 0.15s ease;
}
.site-header__nav a:hover { color: var(--primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }

.header-cta {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}
.header-cta:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.hero__glow {
  display: none;
  pointer-events: none;
  position: absolute;
  top: -8rem;
  right: -6rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 5%, transparent);
  filter: blur(64px);
}
@media (min-width: 1024px) { .hero__glow { display: block; } }

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3rem;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; padding-block: 5rem; }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  background: color-mix(in oklab, var(--primary) 5%, transparent);
  padding: 0.375rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.hero__badge--cert {
  border-color: color-mix(in oklab, var(--secondary) 35%, transparent);
  background: color-mix(in oklab, var(--secondary) 6%, transparent);
  color: var(--secondary);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.75rem;
}
.hero__badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  margin-top: 1.25rem;
  font-size: 2.6rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 640px) { .hero__title { font-size: 3.75rem; } }
.hero__title em {
  font-style: italic;
  color: var(--primary);
}

.hero__subhead {
  margin-top: 0.875rem;
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: color-mix(in oklab, var(--foreground) 88%, transparent);
}
@media (min-width: 640px) { .hero__subhead { font-size: 1.1875rem; } }

.hero__lede {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .hero__lede { font-size: 1.125rem; } }

.hero__usp-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 34rem;
}
.hero__usp-row li {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
}

.hero__ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.hero__cta-primary-mobile { display: inline-flex; }
@media (min-width: 1024px) { .hero__cta-primary-mobile { display: none; } }

.hero__recognised {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}
.hero__recognised strong { color: var(--foreground); font-weight: 700; }

.hero__image-wrap {
  margin-top: 2.5rem;
  display: none;
}
@media (min-width: 1024px) { .hero__image-wrap { display: block; } }
.hero__image-frame { position: relative; width: fit-content; }
.hero__image-frame img {
  height: 18rem;
  width: 100%;
  max-width: 36rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 48px -30px oklch(0.19 0.02 330 / 0.4);
}
.hero__image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--background);
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* "100% Placement" stamp/seal — a scalloped rosette badge that overlaps the
   top-left corner of the hero photo, angled slightly for a stamped look. */
.hero__seal {
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 6.5rem;
  height: 6.5rem;
  transform: rotate(-10deg);
  filter: drop-shadow(0 10px 18px oklch(0.19 0.02 330 / 0.35));
}
@media (min-width: 640px) { .hero__seal { width: 7.5rem; height: 7.5rem; top: -1.5rem; left: -1.5rem; } }
.hero__seal svg { width: 100%; height: 100%; overflow: visible; }
.hero__seal-burst { fill: var(--primary); }
.hero__seal-ring {
  fill: none;
  stroke: var(--primary-foreground);
  stroke-width: 1.5;
  stroke-dasharray: 2 3;
  opacity: 0.7;
}
.hero__seal-percent {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  fill: var(--primary-foreground);
}
.hero__seal-label {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: var(--primary-foreground);
}

.hero__image-mobile { display: block; position: relative; }
@media (min-width: 1024px) { .hero__image-mobile { display: none; } }
.hero__image-mobile img {
  height: 15rem;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---------- Lead form ---------- */
.lead-form-anchor { scroll-margin-top: 6rem; }

.lead-form {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  padding-top: 1.75rem;
  box-shadow: 0 24px 60px -40px oklch(0.19 0.02 330 / 0.6);
}
@media (min-width: 640px) { .lead-form { padding: 1.75rem; padding-top: 2rem; } }

/* Measuring-tape strip: a tailor's tape running along the top edge of the
   form card — a solid magenta band with evenly spaced gold tick marks,
   alternating short/long like a real tape measure, echoing the
   scissors-and-thread motif used elsewhere. */
.lead-form {
  position: relative;
}
.lead-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background-color: var(--primary);
  background-image: repeating-linear-gradient(
    90deg,
    var(--tape-gold, #e0a83a) 0 1.5px,
    transparent 1.5px 16px
  );
  background-size: 16px 100%;
  background-repeat: repeat-x;
  box-shadow: 0 1px 0 color-mix(in oklab, var(--primary) 60%, transparent);
}
.lead-form::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--tape-gold, #e0a83a) 0 1px,
    transparent 1px 32px
  );
  background-size: 32px 100%;
  opacity: 0.7;
}


.lead-form h2 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 640px) { .lead-form h2.lg { font-size: 1.875rem; } }

.lead-form__sub {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.lead-form__fields { margin-top: 1.25rem; display: grid; gap: 1rem; }

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
}
.field input {
  margin-top: 0.375rem;
  height: 3rem;
  width: 100%;
  border: 1px solid var(--input);
  background: var(--background);
  padding-inline: 0.875rem;
  font-size: 1rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: color-mix(in oklab, var(--muted-foreground) 70%, transparent); }
.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 25%, transparent);
}
.field input[aria-invalid="true"] { border-color: var(--destructive); }
.field__error {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--destructive);
}

.lead-form__error {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--destructive);
}

.lead-form__submit {
  margin-top: 1.5rem;
  height: 3.25rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.lead-form__submit:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.lead-form__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 40%, transparent);
}
.lead-form__submit:disabled { opacity: 0.7; cursor: not-allowed; }

.lead-form__note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid color-mix(in oklab, var(--primary-foreground) 40%, transparent);
  border-top-color: var(--primary-foreground);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.lead-form__success {
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
  background: var(--card);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 24px 60px -40px oklch(0.19 0.02 330 / 0.6);
}
.lead-form__success svg {
  margin-inline: auto;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}
.lead-form__success h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.lead-form__success p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.lead-form__success a {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- Proof strip ---------- */
.proof-strip {
  border-bottom: 1px solid var(--border);
  background: var(--navy);
  color: var(--navy-foreground);
}
.proof-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-block: 2rem;
}
@media (min-width: 1024px) { .proof-strip__grid { grid-template-columns: repeat(4, 1fr); } }
.proof-strip__item { padding: 0.75rem 0.5rem; text-align: center; }
.proof-strip__value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
}
@media (min-width: 640px) { .proof-strip__value { font-size: 2.25rem; } }
.proof-strip__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--navy-foreground) 70%, transparent);
}

/* ---------- Section shell ---------- */
.section { border-bottom: 1px solid var(--border); padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }
.section--muted { background: var(--muted); }
.section--navy { background: var(--navy); color: var(--navy-foreground); }
.section--last { border-bottom: none; }

.section__head { max-width: 42rem; }
.section__head h2 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  text-wrap: balance;
}
@media (min-width: 640px) { .section__head h2 { font-size: 2.25rem; } }
.section__head p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}
.section--navy .section__head p { color: color-mix(in oklab, var(--navy-foreground) 80%, transparent); }

/* ---------- Courses ---------- */
.courses-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .courses-grid { grid-template-columns: 1fr 1fr; } }

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.15s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.course-card:hover {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  box-shadow: 0 16px 34px -24px oklch(0.19 0.02 330 / 0.4);
  transform: translateY(-2px);
}
.course-card img {
  height: 12rem;
  width: 100%;
  object-fit: cover;
}
.course-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
@media (min-width: 640px) { .course-card__body { padding: 1.75rem; } }

.course-card__meta { display: flex; align-items: center; gap: 0.75rem; }
.course-card__icon-chip {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  background: color-mix(in oklab, var(--primary) 5%, transparent);
}
.course-card__icon-chip svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }

.course-card__durations { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.course-card__duration-badge {
  border: 1px solid var(--border);
  background: var(--muted);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--foreground) 75%, transparent);
}

.course-card__title { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; }
.course-card__desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.course-card__cert {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--secondary);
}
.course-card__points { margin-top: 1rem; display: grid; gap: 0.375rem; }
.course-card__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}
.course-card__points svg {
  margin-top: 0.125rem;
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--secondary);
}

/* Sub-groups inside the syllabus disclosure, used when a single card covers
   more than one curriculum (e.g. several durations, or a "what you'll make"
   list plus a separate skills/benefits list). Purely a content grouping —
   the outer card and accordion stay exactly as they were. */
.course-card__syllabus-group + .course-card__syllabus-group { margin-top: 1rem; }
.course-card__syllabus-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}
.course-card__syllabus-group .course-card__syllabus { margin-top: 0.5rem; }

/* Expandable "View full syllabus" — same disclosure pattern as FAQ, scoped
   to the course card so styling doesn't leak between the two. */
.course-card__more {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.course-card__more summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.course-card__more summary::-webkit-details-marker { display: none; }
.course-card__more-icon {
  transition: transform 0.2s ease;
  font-size: 1.125rem;
  line-height: 1;
}
.course-card__more[open] .course-card__more-icon { transform: rotate(45deg); }
.course-card__syllabus { margin-top: 1rem; display: grid; gap: 0.375rem; }
.course-card__syllabus li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.course-card__syllabus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.3rem;
  height: 0.3rem;
  background: color-mix(in oklab, var(--primary) 60%, transparent);
}

.course-card__link {
  margin-top: 1.5rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.125rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- Tailoring spotlight ---------- */
.tailoring-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .tailoring-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.tailoring-image { position: relative; }
.tailoring-image img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  box-shadow: 0 20px 40px -28px oklch(0.19 0.02 330 / 0.35);
}
@media (min-width: 640px) { .tailoring-image img { height: 24rem; } }
@media (min-width: 1024px) { .tailoring-image img { height: 26rem; } }
.tailoring-image__badge {
  display: none;
  position: absolute;
  right: -0.75rem;
  bottom: -0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.25rem;
}
@media (min-width: 640px) { .tailoring-image__badge { display: block; } }
.tailoring-image__badge p:first-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.tailoring-image__badge p:last-child { font-size: 0.75rem; letter-spacing: 0.02em; text-transform: uppercase; }

.tailoring-features { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .tailoring-features { grid-template-columns: 1fr 1fr; } }
.tailoring-features--six { row-gap: 1.25rem; }
.tailoring-features__item { border-left: 2px solid color-mix(in oklab, var(--primary) 40%, transparent); padding-left: 1rem; }
.tailoring-features__item h3 { font-weight: 600; }
.tailoring-features__item p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Learning journey ---------- */
.journey-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .journey-list { grid-template-columns: repeat(5, 1fr); } }
.journey-item { height: 100%; border-top: 2px solid color-mix(in oklab, var(--primary) 30%, transparent); padding-top: 1.25rem; }
.journey-item__step {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: color-mix(in oklab, var(--primary) 35%, transparent);
}
.journey-item h3 { margin-top: 0.5rem; font-weight: 600; }
.journey-item p { margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Career Possibilities ---------- */
.career-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  justify-content: center;
}
.career-eyebrow__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.career-eyebrow__rule {
  width: 2.5rem;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    color-mix(in oklab, var(--primary) 55%, transparent) 0 4px,
    transparent 4px 8px
  );
}
.career-eyebrow__label {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
}
.career-possibilities .section__head { max-width: none; text-align: center; margin-inline: auto; }
.career-possibilities .section__head h2 { text-align: center; }
.career-possibilities .section__head h2 em { font-style: italic; color: var(--secondary); }
.career-possibilities .section__head p { max-width: 34rem; margin-inline: auto; text-align: center; }

.career-pills {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
}
.career-pill {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.25s ease;
}
.career-pill:hover {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -22px oklch(0.19 0.02 330 / 0.4);
}

.career-possibilities__note {
  margin-top: 2rem;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ---------- Internship & Placement Support ---------- */
.placement-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .placement-grid { grid-template-columns: 1.1fr 0.9fr; } }
.placement-card {
  border: 1px solid color-mix(in oklab, var(--navy-foreground) 20%, transparent);
  padding: 1.75rem;
  box-shadow: 0 20px 44px -28px oklch(0.02 0.01 250 / 0.55);
}
.placement-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--navy-foreground) 65%, transparent);
}
.placement-card__list { margin-top: 1rem; display: grid; gap: 1rem; }
.placement-card__list li {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  border-top: 1px solid color-mix(in oklab, var(--navy-foreground) 15%, transparent);
  padding-top: 1rem;
}
.placement-card__list li:first-child { border-top: none; padding-top: 0; }
.placement-card__list li strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-foreground);
}
.placement-card__list li span {
  font-size: 0.8125rem;
  color: color-mix(in oklab, var(--navy-foreground) 65%, transparent);
}

/* ---------- Placement Partners ---------- */
.placement-partners { padding-block: 2.75rem; }
.placement-partners__label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.placement-partners__row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2.5rem;
}
.placement-partners__logo {
  height: 2.25rem;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.placement-partners__logo:hover { opacity: 1; }
.placement-partners__logo--badge { height: 2rem; }
@media (min-width: 640px) {
  .placement-partners__logo { height: 2.75rem; }
  .placement-partners__logo--badge { height: 2.5rem; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .gallery-grid { gap: 1rem; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 14px 30px -22px oklch(0.19 0.02 330 / 0.35);
  transition: transform 0.5s ease, box-shadow 0.25s ease;
}
/* Belt-and-braces square: some embedded/legacy renderers don't apply
   aspect-ratio reliably, so force it with the classic padding-box hack
   too. picture becomes the square frame; the img is absolutely
   positioned to fill and crop it via object-fit. */
.gallery-grid a { display: block; }
.gallery-grid picture {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}
.gallery-grid picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gallery-grid a:hover img { transform: scale(1.03); box-shadow: 0 18px 36px -20px oklch(0.19 0.02 330 / 0.42); }

/* ---------- Mid CTA ---------- */
.mid-cta-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) { .mid-cta-grid { grid-template-columns: 1.1fr 0.9fr; } }
.mid-cta-grid .eyebrow { color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }
.mid-cta-grid p.lede { margin-top: 0.75rem; max-width: 36rem; color: color-mix(in oklab, var(--navy-foreground) 80%, transparent); }
.mid-cta-buttons { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.mid-cta-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}
.mid-cta-call { background: var(--primary); color: var(--primary-foreground); font-weight: 700; transition: background-color 0.15s ease; }
.mid-cta-call:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }

.mid-cta-card { border: 1px solid color-mix(in oklab, var(--navy-foreground) 20%, transparent); padding: 1.5rem; box-shadow: 0 20px 44px -28px oklch(0.02 0.01 250 / 0.55); }
.mid-cta-card svg { width: 1.75rem; height: 1.75rem; color: var(--primary); }
.mid-cta-card p.quote { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.mid-cta-card p.attrib { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 0.85fr 1.15fr; } }
.faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  color: var(--primary);
  transition: transform 0.2s ease;
  font-size: 1.25rem;
  line-height: 1;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item__answer { padding-bottom: 1rem; margin-top: -0.375rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--navy); padding-block: 2.5rem; color: var(--navy-foreground); }
.site-footer__grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.site-footer__brand p:first-child { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.site-footer__brand p:last-child { margin-top: 0.625rem; font-size: 0.875rem; color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }
.site-footer__logo {
  height: 2.5rem;
  width: auto;
  display: block;
  background: var(--background);
  padding: 0.375rem 0.625rem;
  border-radius: 0.25rem;
}
.site-footer__address { font-size: 0.875rem; color: color-mix(in oklab, var(--navy-foreground) 75%, transparent); }
.site-footer__contact { font-size: 0.875rem; }
.site-footer__hours-label { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: var(--navy-foreground); }
.site-footer__contact p:not(.site-footer__hours-label) { margin-top: 0.375rem; color: color-mix(in oklab, var(--navy-foreground) 70%, transparent); }
.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--navy-foreground) 15%, transparent);
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--navy-foreground) 50%, transparent);
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar a {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--primary-foreground);
}

body.has-mobile-bar { padding-bottom: 3.5rem; }
@media (min-width: 1024px) { body.has-mobile-bar { padding-bottom: 0; } }

/* =========================================================================
   Stitch trail — scissors cutting animation
   A pair of tailoring scissors travels down a stitched line as the visitor
   scrolls. The portion of the line already passed renders as a solid "cut"
   edge; the portion ahead stays a dashed, uncut stitch line. The blades
   open and close in a snipping rhythm as they move, timed to the scroll
   velocity so it reads as an active cutting motion rather than a sliding
   icon.
   ========================================================================= */
.stitch-trail {
  display: none;
  pointer-events: none;
  position: fixed;
  top: 6rem;
  bottom: 6rem;
  left: 1.25rem;
  z-index: 30;
  width: 1.5rem;
}
@media (min-width: 1024px) { .stitch-trail { display: block; } }

.stitch-trail__track {
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

/* Uncut stitch line — dashed, full length, sits underneath */
.stitch-trail__uncut {
  position: absolute;
  inset: 0;
  border-left: 1px dashed color-mix(in oklab, var(--primary) 35%, transparent);
}

/* Cut line — a solid fabric-edge line that grows from the top down to the
   scissors' current position, drawn with a clip-path for GPU-cheap updates */
.stitch-trail__cut {
  position: absolute;
  inset: 0;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}

.stitch-trail__scissors {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translate(-50%, -50%);
  color: var(--primary);
  will-change: top;
  filter: drop-shadow(0 1px 1px color-mix(in oklab, var(--background) 60%, transparent));
}

.stitch-trail__scissors svg { width: 22px; height: 22px; overflow: visible; }

/* Blade lines animate their angle to simulate an open/close snip.
   Controlled via a CSS custom property (--snip) set by JS between 0 and 1. */
.stitch-trail__blade-top {
  transform-box: fill-box;
  transform-origin: 8% 20%;
  transform: rotate(calc(var(--snip, 0) * -9deg));
  transition: transform 0.16s ease-out;
}
.stitch-trail__blade-bottom {
  transform-box: fill-box;
  transform-origin: 8% 80%;
  transform: rotate(calc(var(--snip, 0) * 9deg));
  transition: transform 0.16s ease-out;
}
