/* =========================================================
   ENSKOOL ABOUT PAGE
   ========================================================= */


/* =========================================================
   FONTS
   ========================================================= */

@font-face {
  font-family: "Birthlong";
  src: url("../Fonts/Birthlong.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Delight";
  src: url("../Fonts/delight-regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white-bgc: #ffffff;
  --small-text-color: #642E86;
  --dark-bgc: #0E0B1C;
  --small-round-bgc: #f3f1f9;
  --small-round-bgc-dark: #D4BCEE;
  --big-round-bgc: #E8DBFC;
  --round-glass-bgc: rgba(255, 255, 255, 0.10);

  --button-bgc: linear-gradient(
    to top,
    #482464,
    #000000
  );

  --purple-dark: #482464;
  --purple: #642E86;
  --purple-light: #8B5FA8;

  --text-dark: #0E0B1C;
  --text-body: #4a4a4a;
  --text-muted: #6f6f6f;
  --text-white: #ffffff;

  --serif: "Delight", "Zilla Slab", serif;
  --sans: "Work Sans", sans-serif;
  --mono: "JetBrains Mono", monospace;
}


/* =========================================================
   BASE
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white-bgc);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}


/* =========================================================
   COMMON EYEBROW
   ========================================================= */

.jm-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--purple);
  margin-bottom: 14px;
}

.jm-eyebrow-light {
  color: var(--small-round-bgc-dark);
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.jm-section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}

.jm-section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: 1px;
  line-height: 1.25;
}

.jm-blueprint .jm-section-head h2,
.jm-why .jm-section-head h2,
.jm-vm .jm-section-head h2 {
  color: var(--white-bgc);
}

.jm-section-head p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.jm-vm .jm-section-head p,
.jm-blueprint .jm-section-head p {
  color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.jm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 26px;
  border-radius: 50px;

  font-weight: 600;
  font-size: 15px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;

  border: none;
}

.jm-btn-primary {
  background: #fff;
  color: #1b012f;
}

.jm-btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 24px -8px
    rgba(72, 36, 100, 0.5);
}

.jm-btn-arrow {
  transition:
    transform 0.25s ease;
}

.jm-btn-primary:hover .jm-btn-arrow {
  transform: translateX(4px);
}

.jm-btn-ghost {
  background: transparent;
  color: var(--white-bgc);

  border:
    1.5px solid
    rgba(255, 255, 255, 0.4);
}

.jm-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.jm-btn-light {
  background: var(--white-bgc);
  color: var(--purple-dark);
}

.jm-btn-light:hover {
  box-shadow:
    0 12px 24px -8px
    rgba(0, 0, 0, 0.35);
}

.jm-btn-outline-light {
  background: transparent;
  color: var(--white-bgc);

  border:
    1.5px solid
    rgba(255, 255, 255, 0.5);
}

.jm-btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   HERO
   ========================================================= */

.jm-hero {
  position: relative;

  background:
    radial-gradient(
      120% 100% at 15% 0%,
      #2a1740 0%,
      var(--dark-bgc) 55%
    );

  padding: 90px 24px 70px;

  overflow: hidden;

  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.jm-hero-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(212, 188, 238, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(212, 188, 238, 0.06) 1px,
      transparent 1px
    );

  background-size: 48px 48px;

  mask-image:
    radial-gradient(
      60% 60% at 70% 30%,
      black,
      transparent
    );

  -webkit-mask-image:
    radial-gradient(
      60% 60% at 70% 30%,
      black,
      transparent
    );
}

.jm-hero-inner {
  position: relative;

  max-width: 780px;
  margin: 61px auto 0;

  text-align: center;
}

.jm-tag {
  display: inline-block;

  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;

  color: var(--small-round-bgc-dark);

  border:
    1px solid
    rgba(212, 188, 238, 0.35);

  padding: 8px 16px;
  border-radius: 50px;
}

.jm-hero-title {
  font-family: "Delight", var(--serif);

  color: var(--white-bgc);

  font-size:
    clamp(36px, 6vw, 60px);

  line-height: 1.05;

  margin: 22px 0 20px;

  letter-spacing: 1px;
}

.jm-hero-title span {
  font-family:
    "Birthlong",
    var(--serif);

  color:
    var(--small-round-bgc-dark);

  font-weight: normal;
}

.jm-hero-sub {
  color:
    rgba(255, 255, 255, 0.72);

  font-size: 17px;
  line-height: 1.7;

  max-width: 620px;

  margin:
    0 auto 26px;
}

.jm-hero-sub strong {
  color: var(--white-bgc);
}

.jm-hero-institutes {
  display: flex;
  justify-content: center;

  gap: 12px;

  flex-wrap: wrap;

  margin-bottom: 30px;
}

.jm-institute-pill {
  background:
    var(--round-glass-bgc);

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  color:
    var(--white-bgc);

  padding: 9px 18px;

  border-radius: 50px;

  font-size: 14px;
  font-weight: 500;
}

.jm-hero-actions {
  display: flex;
  justify-content: center;

  gap: 16px;

  flex-wrap: wrap;

  margin-bottom: 20px;
}


/* =========================================================
   STATS
   ========================================================= */

.jm-stats {
  padding: 56px 24px;
  background:
    var(--small-round-bgc);
}

.jm-stats-inner {
  max-width: 1150px;
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 20px;

  text-align: center;
}

.jm-stat-num {
  font-family: var(--serif);

  font-size:
    clamp(28px, 4vw, 38px);

  color:
    var(--purple-dark);

  margin-bottom: 6px;

  line-height: 1.2;
}

.jm-stat p {
  color:
    var(--text-muted);

  font-size: 14px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.jm-about {
  padding: 90px 24px;
  background:
    var(--white-bgc);
}

.jm-about-grid {
  max-width: 1150px;
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1.15fr 0.85fr;

  gap: 60px;

  align-items: start;
}

.jm-about-text h2 {
  font-family:
    var(--serif);

  font-size:
    clamp(26px, 3.4vw, 36px);

  line-height: 1.3;

  margin-bottom: 22px;

  color:
    var(--text-dark);
}

.jm-about-text p {
  color:
    var(--text-body);

  font-size: 16px;
  line-height: 1.8;

  margin-bottom: 18px;
}

.jm-facts-card {
  background:
    var(--dark-bgc);

  border-radius: 20px;

  padding: 30px;
}

.jm-facts-tag {
  font-family:
    var(--mono);

  font-size: 11px;
  letter-spacing: 1.5px;

  color:
    var(--small-round-bgc-dark);
}

.jm-facts-list {
  margin-top: 20px;
}

.jm-facts-list li {
  display: flex;
  flex-direction: column;

  gap: 4px;

  padding: 14px 0;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);
}

.jm-facts-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.jm-facts-list li span {
  font-size: 12px;

  color:
    rgba(255, 255, 255, 0.5);

  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jm-facts-list li strong {
  color:
    var(--white-bgc);

  font-size: 15px;
  font-weight: 600;
}


/* =========================================================
   ORIGIN
   ========================================================= */

.jm-origin {
  padding: 90px 24px;
  background:
    var(--small-round-bgc);
}

.jm-origin-grid {
  max-width: 1150px;
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 22px;
}

.jm-origin-card {
  background:
    var(--white-bgc);

  border-radius: 18px;

  padding: 32px 30px;

  border:
    1px solid
    rgba(100, 46, 134, 0.12);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.jm-origin-card:hover {
  transform:
    translateY(-3px);

  box-shadow:
    0 14px 30px -18px
    rgba(72, 36, 100, 0.35);
}

.jm-origin-card h3 {
  font-family:
    var(--serif);

  font-size: 20px;

  color:
    var(--purple-dark);

  margin-bottom: 12px;

  letter-spacing: 1px;
}

.jm-origin-card p {
  color:
    var(--text-body);

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================================
   VISION / MISSION
   ========================================================= */

.jm-vm {
  padding: 65px 24px;
  background:
    var(--dark-bgc);
}

.jm-vm-grid {
  max-width: 1150px;

  margin:
    0 auto 40px;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 22px;
}

.jm-vm-card {
  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  border-radius: 18px;

  padding: 30px;

  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.jm-vm-card:hover {
  border-color:
    var(--purple-light);

  transform:
    translateY(-4px);
}

.jm-vm-code {
  display: inline-block;

  font-family:
    var(--mono);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;

  color:
    var(--small-round-bgc-dark);

  background:
    rgba(212, 188, 238, 0.12);

  padding: 5px 12px;

  border-radius: 50px;

  margin-bottom: 14px;
}

.jm-vm-card h3 {
  font-family:
    var(--serif);

  color:
    var(--white-bgc);

  font-size: 21px;

  margin-bottom: 12px;

  letter-spacing: 1px;
}

.jm-vm-card p {
  color:
    rgba(255, 255, 255, 0.75);

  font-size: 15px;

  line-height: 1.7;
}

.jm-vm-card ul {
  margin-top: 4px;
}

.jm-vm-card ul li {
  position: relative;

  padding-left: 24px;

  margin-bottom: 10px;

  font-size: 14.5px;

  color:
    rgba(255, 255, 255, 0.8);

  line-height: 1.5;
}

.jm-vm-card ul li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color:
    var(--small-round-bgc-dark);

  font-weight: 700;
}

.jm-values-row {
  max-width: 1150px;

  margin: 0 auto;

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 12px;
}

.jm-values-row span {
  font-family:
    var(--mono);

  font-size: 12px;

  color:
    var(--small-round-bgc-dark);

  border:
    1px solid
    rgba(212, 188, 238, 0.3);

  padding: 8px 16px;

  border-radius: 50px;
}


/* =========================================================
   PROGRAMS
   ========================================================= */

.jm-blueprint {
  background:
    var(--dark-bgc);

  padding: 45px 45px;
}

.jm-blueprint-grid {
  max-width: 1150px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;
}

.jm-blueprint-card {
  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  border-radius: 18px;

  padding: 26px;

  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.jm-blueprint-card:hover {
  border-color:
    var(--purple-light);

  transform:
    translateY(-4px);
}

.jm-blueprint-top {
  margin-bottom: 18px;
}

.jm-blueprint-code {
  display: inline-block;

  font-family:
    var(--mono);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;

  color:
    var(--small-round-bgc-dark);

  background:
    rgba(212, 188, 238, 0.12);

  padding: 5px 12px;

  border-radius: 50px;

  margin-bottom: 10px;
}

.jm-blueprint-card h3 {
  color:
    var(--white-bgc);

  font-family:
    var(--serif);

  font-size: 19px;

  font-weight: 600;

  letter-spacing: 1px;
}

.jm-chip-row {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}

.jm-chip-row span {
  font-size: 12.5px;

  color:
    rgba(255, 255, 255, 0.75);

  background:
    rgba(255, 255, 255, 0.06);

  padding: 6px 12px;

  border-radius: 8px;
}


/* =========================================================
   MANAGEMENT + FACULTY PROFILE CARDS
   3 CARDS PER ROW
   ========================================================= */

.profile-card-grid {
  max-width: 1150px;

  margin: 0 auto;

  display: grid;

  /* DESKTOP = 3 CARDS */
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}


/* =========================================================
   MAIN PROFILE CARD
   ========================================================= */

.profile-card {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #222222 0%,
      #161616 100%
    );

  border:
    1px solid
    rgba(255, 255, 255, 0.18);

  border-radius: 28px;

  padding: 5px;

  color: #fff;

  box-shadow:
    0 18px 45px
    rgba(0, 0, 0, 0.18),

    inset 0 1px 0
    rgba(255, 255, 255, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.profile-card:hover {
  transform:
    translateY(-7px);

  border-color:
    rgba(212, 188, 238, 0.45);

  box-shadow:
    0 28px 55px
    rgba(72, 36, 100, 0.25),

    inset 0 1px 0
    rgba(255, 255, 255, 0.12);
}


/* =========================================================
   PROFILE IMAGE
   ========================================================= */

.profile-image-wrap {
  width: 100%;

  height: 300px;

  overflow: hidden;

  border-radius:
    23px 23px 18px 18px;

  background:
    #eee8a7;
}




.profile-card:hover
.profile-image-wrap img {
  transform:
    scale(1.035);
}


/* =========================================================
   PROFILE CONTENT
   ========================================================= */

.profile-content {
  padding:
    19px 18px 16px;
}

.profile-name-row {
  display: flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 3px;
}

.profile-name-row h3 {
  font-family:
    var(--serif);

  color:
    #fff;

  font-size: 22px;

  line-height: 1.2;

  letter-spacing: 0.5px;
}


/* =========================================================
   VERIFIED ICON
   ========================================================= */

.verified {
  width: 20px;
  height: 20px;

  min-width: 20px;

  border-radius: 50%;

  background:
    #25d366;

  color:
    #fff;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  font-family:
    Arial,
    sans-serif;

  font-size: 12px;

  font-weight: 800;

  line-height: 1;
}


/* =========================================================
   PROFILE ROLE
   ========================================================= */

.profile-role {
  font-family:
    var(--mono);

  color:
    var(--small-round-bgc-dark);

  font-size: 10.5px;

  font-weight: 600;

  letter-spacing: 0.7px;

  text-transform: uppercase;

  margin-bottom: 10px;
}


/* =========================================================
   PROFILE DESCRIPTION
   ========================================================= */

.profile-content p {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 13px;

  line-height: 1.5;

  max-width: 360px;

  min-height: 40px;
}


/* =========================================================
   PROFILE BOTTOM
   ========================================================= */

.profile-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin-top: 17px;
}

.profile-meta {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;
}

.profile-meta span {
  color:
    rgba(255, 255, 255, 0.8);

  font-family:
    var(--mono);

  font-size: 10px;

  white-space: nowrap;
}


/* =========================================================
   PROFILE BUTTON
   ========================================================= */

.profile-btn {
  flex-shrink: 0;

  padding:
    9px 17px;

  border-radius: 50px;

  border:
    1px solid
    rgba(255, 255, 255, 0.16);

  background:
    rgba(255, 255, 255, 0.07);

  color:
    #fff;

  font-size: 12px;

  font-weight: 600;

  transition:
    all 0.25s ease;

  display: none;
}

.profile-card:hover
.profile-btn {
  background:
    #fff;

  color:
    var(--purple-dark);

  border-color:
    #fff;
}


/* =========================================================
   MANAGEMENT SECTION
   ========================================================= */

.jm-team {
  padding: 90px 24px;

  background:
    var(--white-bgc);
}


/* =========================================================
   FACULTY SECTION
   ========================================================= */

.jm-faculty {
  padding: 90px 24px;

  background:
    var(--small-round-bgc);
}

.faculty-profile-grid {
  max-width: 1150px;
}

.faculty-profile-grid
.profile-image-wrap {
  height: 270px;
}

.faculty-profile-grid
.profile-name-row h3 {
  font-size: 21px;
}

.faculty-profile-grid
.profile-content {
  padding:
    17px 17px 15px;
}


/* =========================================================
   REACH
   ========================================================= */

.jm-reach {
  padding: 70px 24px;

  background:
    var(--white-bgc);

  text-align: center;
}

.jm-reach-row {
  max-width: 900px;

  margin: 0 auto;

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 10px;
}

.jm-reach-row span {
  border:
    1px solid
    rgba(100, 46, 134, 0.25);

  color:
    var(--purple-dark);

  padding:
    8px 18px;

  border-radius: 50px;

  font-size: 13.5px;

  font-weight: 500;
}

.jm-reach-row span.dashed {
  border-style: dashed;

  color:
    var(--text-muted);
}


/* =========================================================
   CTA
   ========================================================= */

.jm-cta {
  background:
    linear-gradient(
      135deg,
      #402650 9%,
      #150820 100%
    );

  padding: 70px 24px;

  border-radius: 32px;

  max-width: 1150px;

  margin:
    0 auto 70px;
}

.jm-cta-inner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  flex-wrap: wrap;
}

.jm-cta-text {
  flex: 1;

  min-width: 280px;
}

.jm-cta-text h2 {
  font-family:
    var(--serif);

  color:
    var(--white-bgc);

  font-size:
    clamp(24px, 3.2vw, 34px);

  line-height: 1.25;

  margin-bottom: 10px;
}

.jm-cta-text h2 span {
  color:
    var(--small-round-bgc-dark);
}

.jm-cta-text p {
  color:
    rgba(255, 255, 255, 0.8);

  font-size: 15px;

  line-height: 1.6;
}

.jm-cta-actions {
  display: flex;

  gap: 14px;

  flex-wrap: wrap;
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.jm-reveal {
  opacity: 0;

  transform:
    translateY(20px);

  transition:
    opacity 0.6s
      cubic-bezier(0.16, 1, 0.3, 1),

    transform 0.6s
      cubic-bezier(0.16, 1, 0.3, 1);
}

.jm-reveal.in-view {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   FAQ
   ========================================================= */

.jm-faq {
  padding:
    90px 24px 100px;

  background:
    var(--small-round-bgc);
}

.faq-list {
  display: flex;

  flex-direction: column;

  gap: 18px;

  width: 100%;

  max-width: 850px;

  margin: 0 auto;

  counter-reset: faq-counter;
}

.faq-item {
  position: relative;

  border-radius: 20px;

  border:
    1.5px solid
    var(--small-text-color);

  background:
    var(--white-bgc);

  overflow: hidden;

  opacity: 0;

  transform:
    translateY(24px);

  transition:
    transform 0.55s
      cubic-bezier(0.16, 1, 0.3, 1),

    opacity 0.55s
      cubic-bezier(0.16, 1, 0.3, 1),

    box-shadow 0.3s ease,

    border-color 0.3s ease,

    background 0.3s ease;
}

.faq-item.in-view {
  opacity: 1;

  transform:
    translateY(0);
}

.faq-item:hover {
  border-color:
    var(--purple);

  box-shadow:
    0 12px 28px -14px
    rgba(100, 46, 134, 0.35);
}

.faq-item.open {
  background:
    linear-gradient(
      180deg,
      var(--small-round-bgc-dark) 0%,
      #ece0f7 100%
    );

  border-color:
    var(--purple);

  box-shadow:
    0 16px 34px -16px
    rgba(100, 46, 134, 0.45);
}

.faq-item::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 4px;

  background:
    var(--purple);

  transform:
    scaleY(0);

  transform-origin: top;

  transition:
    transform 0.4s
    cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open::before {
  transform:
    scaleY(1);
}

.faq-question {
  position: relative;

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  padding:
    22px 28px;

  background: none;

  border: none;

  cursor: pointer;

  text-align: left;

  font-family: inherit;
}

.faq-question::before {
  counter-increment:
    faq-counter;

  content:
    counter(
      faq-counter,
      decimal-leading-zero
    );

  position: absolute;

  left: 26px;

  top: 50%;

  transform:
    translateY(-50%);

  font-family:
    var(--mono);

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 0.5px;

  color:
    var(--purple);

  opacity: 0.45;
}

.faq-item.open
.faq-question::before {
  opacity: 1;
}

.faq-question .q-text {
  font-size: 18px;

  color:
    var(--text-dark);

  margin-left: 50px;

  transition:
    color 0.3s ease;
}

.faq-item.open
.faq-question
.q-text {
  color:
    var(--purple-dark);

  font-weight: 600;
}

.icon {
  flex-shrink: 0;

  width: 32px;
  height: 32px;

  border-radius: 50%;

  border:
    1.5px solid
    var(--purple);

  color:
    var(--purple);

  background:
    #fff;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 16px;

  font-weight: 700;

  line-height: 1;

  transition:
    transform 0.4s
      cubic-bezier(0.34, 1.56, 0.64, 1),

    background 0.3s ease,

    color 0.3s ease,

    border-color 0.3s ease;
}

.faq-question:hover .icon {
  transform:
    scale(1.1);
}

.faq-item.open .icon {
  background:
    var(--purple);

  color:
    #fff;

  border-color:
    var(--purple);

  transform:
    rotate(180deg);
}

.faq-item:not(.open) .icon {
  background:
    var(--small-round-bgc-dark);

  border-color:
    var(--small-text-color);
}

.faq-answer {
  display: grid;

  grid-template-rows:
    0fr;

  padding:
    0 28px;

  transition:
    grid-template-rows 0.4s
      cubic-bezier(0.16, 1, 0.3, 1),

    padding 0.4s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows:
    1fr;

  padding:
    0 28px 24px;
}

.faq-answer p {
  overflow: hidden;

  font-size: 16px;

  line-height: 1.7;

  color:
    var(--text-muted);

  margin-left: 50px;

  max-width: 575px;
}


/* =========================================================
   RESPONSIVE — 1100px
   ========================================================= */

@media (max-width: 1100px) {

  .profile-card-grid {
    gap: 20px;
  }

  .profile-content {
    padding:
      18px 15px 15px;
  }

  .profile-name-row h3 {
    font-size: 20px;
  }

  .profile-image-wrap {
    height: 275px;
  }

  .faculty-profile-grid
  .profile-image-wrap {
    height: 250px;
  }

}


/* =========================================================
   RESPONSIVE — 900px
   ========================================================= */

@media (max-width: 900px) {

  .jm-stats-inner {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .jm-about-grid {
    grid-template-columns:
      1fr;

    gap: 40px;
  }


  .jm-blueprint-grid {
    grid-template-columns:
      1fr;
  }


  .jm-origin-grid {
    grid-template-columns:
      1fr;
  }


  .jm-vm-grid {
    grid-template-columns:
      1fr;
  }


  /* 900px → 2 CARDS */
  .profile-card-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 20px;
  }


  .profile-image-wrap {
    height: 270px;
  }


  .faculty-profile-grid
  .profile-image-wrap {
    height: 250px;
  }


  .jm-cta-inner {
    flex-direction:
      column;

    text-align:
      center;
  }


  .jm-cta-actions {
    justify-content:
      center;
  }


  .faq-answer p,
  .faq-question .q-text {
    margin-left:
      40px;
  }

}


/* =========================================================
   RESPONSIVE — 650px
   ========================================================= */

@media (max-width: 650px) {

  .jm-hero {
    padding:
      65px 18px 50px;

    border-bottom-left-radius:
      28px;

    border-bottom-right-radius:
      28px;
  }


  .jm-hero-inner {
    margin-top:
      30px;
  }


  .jm-hero-title {
    font-size:
      clamp(34px, 10vw, 48px);

    line-height:
      1.05;
  }


  .jm-hero-sub {
    font-size:
      15px;
  }


  .jm-stats {
    padding:
      42px 18px;
  }


  .jm-stats-inner {
    gap:
      24px 12px;
  }


  .jm-about,
  .jm-origin,
  .jm-vm,

  .jm-team,
  .jm-faculty {
    padding: 20px 18px;
  }


  .jm-section-head {
    margin-bottom:
      35px;
  }


  /* MOBILE → 1 CARD */
  .profile-card-grid {
    grid-template-columns:
      1fr;

    max-width:
      430px;
  }


  .profile-image-wrap,
  .faculty-profile-grid
  .profile-image-wrap {
    height:
      330px;
  }


  .profile-name-row h3 {
    font-size:
      22px;
  }


  .profile-content p {
    font-size:
      13.5px;
  }


  .jm-cta {
    margin:
      0 15px 50px;

    padding:
      50px 22px;

    border-radius:
      25px;
  }

}


/* =========================================================
   RESPONSIVE — 420px
   ========================================================= */

@media (max-width: 420px) {

  .jm-stats-inner {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .jm-stat-num {
    font-size:
      27px;
  }


  .jm-stat p {
    font-size:
      12px;
  }


  .profile-card {
    border-radius:
      24px;
  }


  .profile-image-wrap,
  .faculty-profile-grid
  .profile-image-wrap {
    height:
      285px;
  }


  .profile-content {
    padding:
      17px 15px 14px;
  }


  .profile-bottom {
    align-items:
      flex-end;
  }


  .profile-meta {
    gap:
      7px;
  }


  .profile-meta span {
    font-size:
      9px;
  }


  .profile-btn {
    padding:
      8px 13px;

    font-size:
      11px;
  }


  .jm-hero-actions {
    flex-direction:
      column;

    align-items:
      stretch;
  }


  .jm-hero-actions
  .jm-btn {
    justify-content:
      center;
  }


  .jm-cta-actions {
    width:
      100%;

    flex-direction:
      column;
  }


  .jm-cta-actions
  .jm-btn {
    width:
      100%;

    justify-content:
      center;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;

    scroll-behavior:
      auto !important;
  }

}