/* ===========================================================
   SUGAM ACADEMY — SECTION UPGRADES
   About · Programs · Career Outcomes · Final CTA
   =========================================================== */

/* ===========================================================
   ABOUT — image-led editorial
   Photography carries the credibility, the way Bowdoin/Amherst/
   Imperial use a single confident image instead of icon grids.
   One real photo, generous space, a single caption-style stat.
   =========================================================== */

.about-ed {
  position: relative;
}

.about-ed__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

/* ---- Photo column ---- */
.about-ed__media {
  position: relative;
}

.about-ed__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-ed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thin gold corner-mark — the one signature flourish */
.about-ed__photo::after {
  content: "";
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  width: 28px;
  height: 28px;
  border-top: 2px solid var(--gold-300);
  border-left: 2px solid var(--gold-300);
  opacity: 0.9;
  pointer-events: none;
}

.about-ed__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border-hair);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}

.about-ed__caption strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---- Copy column ---- */
.about-ed__copy {
  display: flex;
  flex-direction: column;
}

.about-ed__copy .eyebrow {
  margin-bottom: var(--sp-4);
}

.about-ed__copy h2 {
  margin-bottom: var(--sp-5);
  max-width: 22ch;
}

.about-ed__copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 42ch;
}

.about-ed__copy p+p {
  margin-top: var(--sp-4);
}

.about-ed__copy em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--blue-600);
}

/* Single inline stat — a fact, not a feature */
.about-ed__fact {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-hair);
}

.about-ed__fact-num {
  font-family: var(--font-mono);
  font-size: clamp(2.25rem, 1.8rem + 1.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
  line-height: 1;
}

.about-ed__fact-label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 30ch;
}

.about-ed__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--sp-6);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-900);
  border-bottom: 1.5px solid var(--gold-500);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.about-ed__link:hover {
  color: var(--blue-600);
  gap: 0.9rem;
}

.about-ed__link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .about-ed__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .about-ed__photo {
    aspect-ratio: 16 / 11;
  }
}


/* ──────────────────────────────────────────────────────────
   PROGRAMS: MRCT + QPCC  (overrides & new classes)
   ────────────────────────────────────────────────────────── */

/* QPCC gets a gold-tinted dark gradient */
.course-card--qpcc {
  background: linear-gradient(160deg, #3a2c0b 0%, #0a1726 70%);
  color: var(--bone-100);
}

.course-card--qpcc .course-card__glow {
  background: var(--gold-500);
}

/* Fee display in card footer */
.course-card__fee-block {
  display: flex;
  flex-direction: column;
}

.course-card__fee-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
}

.course-card__fee-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: -0.02em;
}

.course-card__fee-note {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  margin-top: 1px;
}

/* Eligibility badge on card top */
.course-card__eligibility {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--sp-4);
}

.course-card__eligibility::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-500);
  flex-shrink: 0;
}

/* Comparison note below programs grid */
.programs__compare {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  border-radius: var(--radius-md);
  background: var(--bone-200);
  border: 1px solid var(--border-hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-5);
}

.programs__compare-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.programs__compare-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 640px) {
  .programs__compare {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }
}


/* ──────────────────────────────────────────────────────────
   CAREER OUTCOMES V2 — Dark navy, editorial stats + pathway
   ────────────────────────────────────────────────────────── */

/* Override outcomes grid for a 2+2 staggered layout */
.outcomes__grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-7);
}

.outcome-panel {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}

.outcome-panel:last-child {
  border-right: none;
}

.outcome-panel:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Accent bar at top of each panel */
.outcome-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.outcome-panel:nth-child(1)::before {
  background: var(--blue-500);
}

.outcome-panel:nth-child(2)::before {
  background: var(--sage-500);
}

.outcome-panel:nth-child(3)::before {
  background: var(--gold-500);
}

.outcome-panel:nth-child(4)::before {
  background: var(--blue-300);
}

.outcome-panel__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.outcome-panel__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-300);
  fill: none;
}

.outcome-panel__num {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 3.5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--bone-100);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
}

.outcome-panel__num .suffix {
  font-size: 1rem;
  color: var(--gold-300);
  margin-left: 2px;
}

.outcome-panel__label {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
  max-width: 22ch;
}

/* Career pathway strip */
.outcomes__pathway {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.outcomes__pathway-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.outcomes__pathway-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

.outcomes__pathway-track {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.outcomes__pathway-track::-webkit-scrollbar {
  display: none;
}

.pathway-step {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pathway-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: var(--sp-4) var(--sp-4);
}

.pathway-node__circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pathway-node__circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-300);
  fill: none;
}

.pathway-node__label {
  font-size: 0.78rem;
  color: var(--bone-100);
  font-weight: 600;
  white-space: nowrap;
}

.pathway-node__sublabel {
  font-size: 0.69rem;
  color: var(--text-on-dark-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.pathway-arrow {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 139, 196, 0.5), rgba(201, 154, 61, 0.5));
  position: relative;
  flex-shrink: 0;
}

.pathway-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  border: 3.5px solid transparent;
  border-left-color: rgba(201, 154, 61, 0.6);
  border-right: none;
}

@media (max-width: 900px) {
  .outcomes__grid-v2 {
    grid-template-columns: 1fr 1fr;
  }

  .outcome-panel:nth-child(2) {
    border-right: none;
  }

  .outcome-panel:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .outcome-panel:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
  }
}

@media (max-width: 560px) {
  .outcomes__grid-v2 {
    grid-template-columns: 1fr 1fr;
  }
}


/* ──────────────────────────────────────────────────────────
   FINAL CTA V2 — Full-bleed, contact info, cinematic
   ────────────────────────────────────────────────────────── */

.final-cta-v2 {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(46, 111, 163, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(91, 140, 62, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(201, 154, 61, 0.08) 0%, transparent 70%),
    var(--ink-900);
  color: var(--bone-100);
  border-radius: var(--radius-lg);
  margin: 0 var(--container-pad);
  padding: var(--sp-8) var(--sp-7);
  position: relative;
  overflow: hidden;
}

/* ECG pulse decoration */
.final-cta-v2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L300,30 L330,30 L350,5 L370,55 L390,30 L900,30 L930,30 L950,5 L970,55 L990,30 L1200,30' fill='none' stroke='rgba(201,154,61,0.12)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  opacity: 0.8;
  pointer-events: none;
}

/* Hairline grid overlay */
.final-cta-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.final-cta-v2__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-7);
  align-items: center;
}

.final-cta-v2__tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.final-cta-v2__tagline::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-500);
}

.final-cta-v2__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bone-100);
  margin-bottom: var(--sp-4);
  max-width: 18ch;
}

.final-cta-v2__sub {
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  max-width: 44ch;
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.final-cta-v2__buttons {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Right side: contact block */
.final-cta-v2__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  min-width: 260px;
}

.final-cta-v2__contact-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--sp-3);
}

.final-cta-v2__phone-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.final-cta-v2__phone {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--bone-100);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease-out);
}

.final-cta-v2__phone:hover {
  color: var(--gold-300);
}

.final-cta-v2__phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.final-cta-v2__phone-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-300);
  fill: none;
}

.final-cta-v2__location {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-cta-v2__location svg {
  width: 14px;
  height: 14px;
  stroke: var(--sage-500);
  fill: none;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .final-cta-v2__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .final-cta-v2__contact {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--sp-5);
  }
}

@media (max-width: 640px) {
  .final-cta-v2 {
    margin: 0 var(--sp-3);
    padding: var(--sp-7) var(--sp-4);
    border-radius: var(--radius-md);
  }
}