/* inside-amme-program page (Inside AMME Program) */
/* ------------------------------------------------------------------
   ABOUT PAGE
-------------------------------------------------------------------*/
:root {
  --pad-x: clamp(20px, 6.77vw, 130px);
}
.page { border-bottom: 1px solid var(--grey-200); }
.section-title {
  font-size: var(--fs-display); line-height: 1; font-weight: 700; letter-spacing: -0.03em;
  display: block; width: fit-content;
}
.section-title .line { display: block; }
.grad-purple { background-image: linear-gradient(to right, var(--black), var(--purple)); }
.grad-white2 { background-image: linear-gradient(to right, var(--white), var(--grey-100)); }

/* HERO */
.a-hero {
  background: linear-gradient(to bottom, var(--grey-300) 0%, var(--white) 65%);
  padding-top: clamp(150px, 15vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(50px, 5.5vw, 106px);
  overflow: hidden;
}
.a-hero__title {
  font-size: var(--fs-hero); line-height: 0.91; font-weight: 800; letter-spacing: -0.03em; text-align: center;
}
.a-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.a-hero__title .w { display: inline-block; background-image: linear-gradient(to right, var(--black), var(--grey-600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.a-hero__img { width: 100%; aspect-ratio: 1920 / 397; overflow: hidden; position: relative; }
.a-hero__img img { position: absolute; left: 0; top: -172.58%; width: 100%; height: 274.7%; max-width: none; object-fit: cover; }

.a-hero__img_building{}
.a-hero__img_building img{width:100vw;}


/* EDGE */
.edge {
  background: linear-gradient(to bottom, var(--grey-850), var(--plum-700) 90.6%);
  padding: clamp(80px, 6.77vw, 130px) var(--pad-x);
  color: var(--white);
}
.edge__inner { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.edge__title { text-align: center; }
.edge__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27.5px; width: 100%; max-width: 1660px; min-width: 0; }
.edge__card { min-width: 0; }
.edge__card {
  position: relative; height: 600px; border-radius: 14px; border: 2px solid var(--purple);
  background: linear-gradient(to bottom, var(--plum-600), var(--plum-700));
  padding: 46px 30px 40px; display: flex; flex-direction: column; align-items: center;
}
/* the active tab's colour (set by JS) drives the tags, wires, connectors, rings and card borders */
.edge { --edge: var(--amber); }

/* tag: as in the design Ã¢â‚¬â€ outlined label, centred at the top of the card */
.edge__tag {
  text-align: center;
  min-width: 150px;
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 6px;
  border: 2px solid rgba(var(--white-rgb), .75);
  color: var(--white);
  background: transparent;
}
.edge__list { list-style: none; margin: 82px 0 0; padding: 0; display: flex; flex-direction: column; gap: 40px; width: 275px; align-self: flex-start; margin-left: 30px;   /* wide enough for the bold active label + its dot */ position: relative; z-index: 1; align-items: flex-end; }
.edge__list li { font-size: var(--fs-lead); line-height: 24px; text-align: right; opacity: .5; cursor: pointer; transition: opacity .25s; position: relative; padding-right: 26px; white-space: nowrap; }
.edge__list li::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--c, var(--white)); background: var(--plum-700); transition: background .25s; }
.edge__list li.is-active { opacity: 1; font-weight: 700; color: var(--c, var(--edge)); transition: opacity .25s, color .3s; }
.edge__list li.is-active::after { background: var(--c, var(--edge)); }
/* wires are drawn by JS from each dot to the card's right edge (mid-height) */
.edge__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.edge__wires path { fill: none; stroke: var(--c, var(--white)); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .55; transition: opacity .25s; }
.edge__wires path.is-active { stroke-dasharray: none; opacity: 1; }
.edge__circle {
  position: relative; width: 314px; height: 314px; margin-top: 82px; border-radius: 50%;
  border: 0; display: grid; place-items: center; flex: none; background: var(--plum-700); z-index: 1;
}
/* 2px ring drawn as SVG so it can draw itself on every tab change */
.edge__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(180deg);   /* starts where the incoming line meets the ring */ pointer-events: none; z-index: 1; }
.edge__ring circle { fill: none; stroke: var(--edge); stroke-width: 2; transition: stroke .5s; }
.edge__ring .edge__ring-track { stroke: rgba(var(--white-rgb), .22); }
.edge__circle::before { content: ""; position: absolute; inset: 23px; border-radius: 50%; background: var(--c, var(--purple)); }
.edge__circle img { position: absolute; inset: 23px; width: calc(100% - 46px); height: calc(100% - 46px); max-height: none; border-radius: 50%; object-fit: cover; }   /* fills the inner disc, cropped round */
.edge__circle--teal { --c: var(--teal); }

.edge__card p { margin-top: auto; text-align: center; font-size: var(--fs-sm); line-height: 1.3; max-width: 430px; min-height: 66px; }
/* connector lines between the cards, at circle-centre height (46 padding + 82 margin + 157 radius); built by JS so they can draw */
.edge__conn { position: absolute; top: 284px; height: 2px; background: var(--edge); transform-origin: 0 50%; pointer-events: none; z-index: 0; transition: background-color .5s; }
.edge__conn--track { background: rgba(var(--white-rgb), .22); transition: none; }
.edge__conn--1r { right: -31.5px; width: 31.5px; }
.edge__conn--2l { left: 0; width: 110px; }
.edge__conn--2r { right: -31.5px; width: 141.5px; }
.edge__conn--3l { left: 0; width: 110px; }

/* MENTORS */
.mentors { padding: clamp(80px, 6.77vw, 130px) var(--pad-x); background: var(--white); }
.mentors__grid { display: grid; grid-template-columns: 533px minmax(0, 1fr); gap: 29.5px; max-width: 1660px; align-items: start; }
.mentor-list { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; }
.mentor {
  position: relative; height: 160px; border-radius: 14px; border: 1px solid var(--grey-150);
  display: flex; align-items: center; color: var(--white); font-size: var(--fs-xl); font-weight: 500; letter-spacing: -0.02em; overflow: visible;
}
.mentor img { position: absolute; bottom: 0; width: 180px; height: 180px; object-fit: cover; object-position: top; }
.mentor--left img { left: 6px; border-radius: 0 0 0 10px; }
.mentor--right img { right: 4px; border-radius: 0 0 15px 0; }
.mentor--left > span { margin-left: 230px; }   /* just after the portrait, so long names (Nidasha Aslam) stay on one line */
.mentor > span { white-space: nowrap; }
.mentor--right > span { margin-left: 55px; }
.mentor--amber { background: var(--amber); }
.mentor--teal { background: var(--teal); }
.mentor--purple { background: var(--purple); }
.mentor--ink { background: var(--ink); }
.mentors__box {
  min-height: 700px; border: 1px solid var(--grey-400); border-radius: 14px; padding: clamp(32px, 3.65vw, 70px);
  display: flex; flex-direction: column; gap: 50px; margin-top: 20px;
}
.mentors__box .copy { display: flex; flex-direction: column; gap: 50px; max-width: 852px; }
.mentors__box .copy p { font-family: var(--font-book); font-size: var(--fs-lead); line-height: 1.25; }
.mentors__box .copy p + p { margin-top: 1em; }
.mentors__box .btn { margin-top: auto; align-self: flex-start; }
/* mentor cards: interactive */
.mentor { cursor: pointer; transition: opacity .35s ease, filter .35s ease, translate .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; outline: none; }
.mentor img { transition: scale .5s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 100%; }
.mentor:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--purple-deep); }
.mentor-list.has-active .mentor:not(.is-active) { opacity: .45; filter: saturate(.6); }
.mentor.is-active { translate: 16px 0; box-shadow: 0 18px 40px rgba(var(--black-rgb), .16); }
.mentor.is-active img { scale: 1.07; }
/* the little + that turns into an arrow */
.mentor__more { position: relative; flex: none; width: 34px; height: 34px; margin-left: 16px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .85;
  transition: rotate .45s cubic-bezier(.2,.8,.2,1), background-color .3s ease, color .3s ease; }
.mentor__more::before, .mentor__more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; border-radius: 2px; }
.mentor__more::after { rotate: 90deg; transition: rotate .45s cubic-bezier(.2,.8,.2,1); }
.mentor:hover .mentor__more, .mentor.is-active .mentor__more { background: var(--white); color: var(--ink); opacity: 1; }
.mentor.is-active .mentor__more { rotate: 45deg; }

/* big profile panel: covers the "Mentors with scar-tissue" box */
.mentors__box { position: relative; }
.mentors__hint { display: flex; align-items: center; gap: 10px; position: absolute; right: clamp(32px, 3.65vw, 70px); bottom: clamp(32px, 3.65vw, 70px);
  font-size: var(--fs-xs); letter-spacing: .04em; text-transform: uppercase; color: var(--grey-550); }
.mentors__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-deep); animation: mentorPing 1.8s ease-out infinite; }
@keyframes mentorPing { 0% { box-shadow: 0 0 0 0 rgba(var(--purple-deep-rgb, 126, 27, 174), .5); } 100% { box-shadow: 0 0 0 12px rgba(var(--purple-deep-rgb, 126, 27, 174), 0); } }
.mentor-panel {
  position: absolute; inset: -1px; z-index: 2; border-radius: 14px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 56%) 1fr; align-items: stretch;
  --mp-bg: var(--purple); --mp-fg: var(--white); --mp-soft: rgba(var(--white-rgb), .72); --mp-line: rgba(var(--white-rgb), .35);
  background: var(--mp-bg); color: var(--mp-fg);
}
.mentor-panel[hidden] { display: none; }
.mentor-panel--amber  { --mp-bg: var(--amber);  --mp-fg: var(--ink); --mp-soft: rgba(var(--black-rgb), .68); --mp-line: rgba(var(--black-rgb), .25); }
.mentor-panel--teal   { --mp-bg: var(--teal);   --mp-fg: var(--ink); --mp-soft: rgba(var(--black-rgb), .7);  --mp-line: rgba(var(--black-rgb), .25); }
.mentor-panel--purple { --mp-bg: var(--purple); }
.mentor-panel--ink    { --mp-bg: var(--ink); }
.mp__num {
  position: absolute; right: -0.04em; top: -0.12em; z-index: 0; font-size: clamp(11rem, 17vw, 20rem); font-weight: 800; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px var(--mp-line); pointer-events: none;
}
.mp__photo { position: absolute; right: 0; bottom: 0; z-index: 1; height: min(94%, 680px); width: auto; max-width: 48%; object-fit: contain; object-position: right bottom; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%); }   /* softens the photos' cropped left edge */
.mp__body { position: relative; z-index: 2; grid-column: 1; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 3vw, 58px) clamp(32px, 3.65vw, 70px); }
.mp__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: var(--fs-2xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-soft); }
.mp__eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.mp__eyebrow b { color: var(--mp-fg); font-weight: 700; }
.mp__name { margin-bottom: 8px; font-size: clamp(2rem, 2.9vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.mp__role { margin-bottom: 22px; font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; color: var(--mp-soft); }
.mp__stat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 20px; padding: 14px 0; border-block: 1px solid var(--mp-line); }
.mp__stat b { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.mp__stat span { flex: 1 1 14ch; min-width: 14ch; max-width: 26ch; font-size: var(--fs-xs); line-height: 1.3; color: var(--mp-soft); }
.mp__bio { margin-bottom: 24px; max-width: 48ch; font-family: var(--font-book); font-size: var(--fs-sm); line-height: 1.6; }
.mp__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.mp__tags { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mp__tags-label { font-size: var(--fs-2xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-soft); }
.mp__tags ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mp__tags li { font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .01em; line-height: 1.3; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--mp-line); background: rgba(var(--white-rgb), .12); }
.mp__tags li.is-logo { display: flex; align-items: center; height: 36px; padding: 6px 10px; border-radius: 8px; background: var(--white); border-color: transparent; }
.mp__tags li.is-logo img { height: 22px; width: auto; max-width: 96px; object-fit: contain; }
.mp__li { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 14px; border-radius: 999px; background: var(--mp-fg); color: var(--mp-bg, var(--white));
  font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .02em; transition: translate .25s ease, box-shadow .25s ease; }
.mp__li svg { width: 14px; height: 14px; flex: none; }
.mp__li:hover { translate: 0 -2px; box-shadow: 0 8px 20px rgba(var(--black-rgb), .2); }
.mentor-drawer .mp__li { background: var(--ink); color: var(--white); }

/* drawer under each card (tablet, phone) */
.mentor-drawer { display: none; }

/* PROMISED LAND */
.promise { padding: 0 var(--pad-x); height: 100vh; min-height: 640px; display: flex; align-items: center; }
.promise__grid { display: grid; grid-template-columns: minmax(0, 722px) minmax(0, 806px); gap: clamp(40px, 6.9vw, 132px); align-items: center; }
.promise__head { display: flex; flex-direction: column; gap: 52px; }
.promise__head p { font-family: var(--font-book); font-size: var(--fs-lead); color: var(--grey-900); max-width: 516px; }
.promise__list { position: relative; height: min(906px, 84vh); clip-path: inset(0 -60px 0 0); }   /* clips top/bottom only, so a long active line can run past the column */
.promise__track { display: flex; flex-direction: column; gap: 34px; }   /* vertical padding set by JS so the first and last items can reach the centre */
.promise__item { font-size: var(--fs-statement); line-height: 60px; color: var(--grey-550); font-weight: 400; white-space: nowrap; transform-origin: 0 50%; }
/* Figma fade: white 0% -> transparent 40%, transparent 54% -> white 100% */
.promise__list::before, .promise__list::after { content: ""; position: absolute; left: 0; right: -60px; pointer-events: none; z-index: 2; }
.promise__list::before { top: 0; height: 40%; background: linear-gradient(to bottom, var(--white) 0%, rgba(var(--white-rgb),0) 100%); }
.promise__list::after { bottom: 0; height: 46%; background: linear-gradient(to top, var(--white) 0%, rgba(var(--white-rgb),0) 100%); }

/* ELIGIBILITY */
.elig { padding: clamp(80px, 8.85vw, 170px) 0 clamp(80px, 8.85vw, 170px) var(--pad-x); overflow: hidden; }
.elig__row { display: flex; gap: 20px; align-items: center; }
.elig__head { width: 636px; flex: none; min-height: 386px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.elig__head p { font-size: var(--fs-md); line-height: 24px; letter-spacing: -0.01em; max-width: 571px; }
.elig__nav { display: flex; gap: 15px; }
.elig__nav button {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--grey-350); background: var(--white); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.elig__nav button:hover { background: var(--ink); color: var(--white); }
.elig__nav svg { width: 18px; height: 18px; }
.elig__viewport { flex: 1; min-width: 0; overflow: hidden; padding: 45px 30px; margin: -24px 0; }   /* the carousel window: nothing shows outside it */
.elig__scroll { display: flex; gap: 20px; will-change: transform; }   /* moved by the autoplay script */
.elig__scroll::-webkit-scrollbar { display: none; }
.elig-card {flex: none; width: 321px; height: 385px; border-radius: 14px; border: 1px solid var(--grey-150); padding: 30px;display: flex; flex-direction: column;justify-content: space-between;gap: 10px;transition: background-color .6s ease, color .6s ease, border-color .6s ease;background: linear-gradient(to bottom, rgba(var(--grey-300-rgb),.4), rgba(var(--white-rgb),.4));}
.elig-card { position: relative; isolation: isolate; }
.elig-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--accent, var(--purple)); opacity: 0; transition: opacity .7s ease; z-index: -1;}
.elig-card { transition: color .7s ease, box-shadow .7s ease; }
.elig-card--purple { color: var(--accent-text, var(--white)); box-shadow: 0 18px 40px -18px var(--accent, var(--purple)); }
.elig-card--purple::before { opacity: 1; }
.elig-card__img {width: 188px;height: 188px;border-radius:1000px;overflow:hidden;position: relative;}
.elig-card__img img {/* position: absolute; *//* max-width: none; */}
.elig-card h3 {font-size: var(--fs-lead);font-weight: 700;letter-spacing: -0.03em;margin-top: 6px;margin-bottom: 20px;}
.elig-card p { font-size: var(--fs-sm); line-height: 18px; letter-spacing: -0.01em; }

/* FAQ */
.faqs { padding: clamp(80px, 7.8vw, 150px) var(--pad-x); background: linear-gradient(to bottom, var(--grey-250), var(--white) 41.4%); }
.faqs__grid { display: grid; grid-template-columns: 400px minmax(0, 1000px); gap: 40px clamp(40px, 13.5vw, 260px); align-items: start; }
.faqs__side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 40px; }
.faqs__grid > .section-title { grid-column: 1; }
.cat-nav { display: flex; flex-direction: column; gap: 8px; }
.cat-nav small { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-700); margin-bottom: 4px; }
.cat-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); transition: background .2s, color .2s; }
.cat-nav a svg { width: 18px; height: 18px; flex: none; }
.cat-nav a.is-active, .cat-nav a:hover { background: var(--white); color: var(--purple); font-weight: 700; }
.contact-card { background: var(--grey-50); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-card h3 { font-size: var(--fs-xl); font-weight: 400; color: var(--ink); }
.contact-card p { font-family: var(--font-book); font-size: var(--fs-sm); line-height: 26px; color: var(--grey-700); }
.contact-card .btn { width: 100%; background: var(--purple); color: var(--white); font-size: var(--fs-xs); gap: 8px; height: auto; padding: 14px; }
.contact-card .btn:hover { background: var(--ink); }
.faq-group { display: flex; flex-direction: column; gap: 20px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group__head { flex-wrap: wrap; row-gap: 6px; }
.faq-group__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; font-size: var(--fs-xl); color: var(--ink); }
.badge { font-size: var(--fs-2xs); font-weight: 700; padding: 2px 8px; border-radius: 12px; background: var(--purple); color: var(--white); }
.faq { border-bottom: 1px solid var(--mist); border-radius: 12px; padding: 0 16px; transition: background .25s, box-shadow .25s; }
.faq + .faq { margin-top: 0px; }
.faq.is-open { background: var(--white); border-bottom-color: transparent; border-left: 3px solid var(--purple); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; font-size: var(--fs-body); font-weight: 500; line-height: 26px; color: var(--grey-950); }
.faq.is-open .faq__q { color: var(--purple); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--grey-50); transition: background .25s, transform .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--grey-950); transform: translate(-50%, -50%); transition: transform .3s, background .25s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq.is-open .faq__icon { background: var(--purple); }
.faq.is-open .faq__icon::before, .faq.is-open .faq__icon::after { background: var(--white); }
.faq.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a > p { overflow: hidden; font-family: var(--font-book); font-size: var(--fs-sm); line-height: 26px; color: var(--grey-700); }
.faq.is-open .faq__a { grid-template-rows: 1fr; }
.faq.is-open .faq__a > p { padding-bottom: 24px; }

/* phones-only accordion (see the 900px block) */
.edge-acc { display: none; }

/* reveal helpers */
.rv { will-change: transform, opacity; }

/* ------------------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------------------*/
@media (max-width: 1400px) {
  .edge__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .edge__card::before, .edge__card::after, .edge__conn { display: none !important; }
  .mentors__grid { grid-template-columns: 1fr; }
  .mentors__box { order: -1; }   /* stacked: intro ("Mentors with scar-tissue") first, then the team */
  .mentor-list { max-width: 533px; }
  .mentor-panel, .mentors__hint { display: none !important; }
  .mentor.is-active { translate: 0 0; }
  .mentor { z-index: 1; }
  .mentor-drawer { display: block; overflow: hidden; position: relative; margin-top: -34px; }   /* tucks under its card (cancels the 20px list gap + the card's rounded corner) */
  .mentor-drawer[hidden] { display: none; }
  .mentor-drawer__in { display: flex; flex-direction: column; gap: 14px; padding: 44px 24px 26px; border-radius: 0 0 14px 14px; border: 1px solid var(--grey-150); border-top: 0;
    --mp-fg: var(--ink); --mp-soft: var(--grey-600); --mp-line: rgba(var(--black-rgb), .14); color: var(--mp-fg); background: var(--grey-50, #f7f7f7); }
  .mentor-drawer--amber  .mentor-drawer__in { background: color-mix(in srgb, var(--amber) 16%, var(--white)); }
  .mentor-drawer--teal   .mentor-drawer__in { background: color-mix(in srgb, var(--teal) 16%, var(--white)); }
  .mentor-drawer--purple .mentor-drawer__in { background: color-mix(in srgb, var(--purple) 14%, var(--white)); }
  .mentor-drawer--ink    .mentor-drawer__in { background: color-mix(in srgb, var(--ink) 10%, var(--white)); }
  .mentor-drawer .mp__eyebrow, .mentor-drawer .mp__name { display: none; }
  .mentor-drawer .mentor-drawer__in > * { margin: 0; }
  .mentor-drawer .mp__role { color: var(--mp-fg); }
  .promise__grid { grid-template-columns: 1fr; }
  .promise__list { height: 560px; }
  .faqs__grid { grid-template-columns: 1fr; gap: 40px; }
  .faqs__side { position: static; }
}
@media (max-width: 1180px) {
  .elig__row { flex-direction: column; align-items: stretch; }
  .elig__head { width: auto; min-height: 0; }
}
@media (max-width: 900px) {
  /* FAQs: compact rows on phones */
  .faqs { padding-block: 64px; }
  .faqs__grid { gap: 28px; }
  .faq-group { gap: 8px; }
  .faq-group + .faq-group { margin-top: 40px; }
  .faq-group__head { padding-bottom: 6px; }
  .faq { padding: 0 14px; }
  .faq + .faq { margin-top: 0px; }
  .faq__q { padding: 10px 0; gap: 12px; font-size: 16px; line-height: 1.35; }
  .faq__icon { width: 28px; height: 28px; }
  .faq__a > p { font-size: 15px; line-height: 1.55; }
  .faq.is-open .faq__a > p { padding-bottom: 16px; }
  .a-hero__img { aspect-ratio: 16 / 7; }
  .edge__card { height: auto; min-height: 520px; }
  .edge__list { margin-left: 0; width: 100%; align-items: stretch; }
  .edge__wires { display: none; }
  .edge__list li { text-align: left; padding-right: 0; padding-left: 26px; }
  .edge__list li::after { right: auto; left: 0; }
  .mentor { height: 130px; font-size: var(--fs-md); }
  .mentor img { width: 140px; height: 140px; }
  .mentor--left > span { margin-left: 156px; }
  .mentor--right > span { margin-left: 24px; }
  .mentors__box { min-height: 0; }
  .promise__item { line-height: 1.2; white-space: normal; font-size: var(--fs-xl); }
  .edge__list li { white-space: normal; }
  /* THE EDGE on phones: one card with an accordion (built by JS) instead of three cards */
  .edge__inner { gap: 36px; }
  .edge__card--2, .edge__card--3, .edge__list, .edge__card--1 .edge__tag { display: none !important; }
  .edge__card--1 { min-height: 0; padding: 8px 18px; }
  .edge-acc { display: block; width: 100%; }
  .edge-acc__item + .edge-acc__item { border-top: 1px solid rgba(var(--white-rgb), .12); }
  .edge-acc__head {
    width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 2px; border: 0; background: none; cursor: pointer;
    color: rgba(var(--white-rgb), .7); font: inherit; font-size: 18px; line-height: 1.25; text-align: left; transition: color .25s;
  }
  .edge-acc__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c); transition: background-color .25s; }
  .edge-acc__label { flex: 1; }
  .edge-acc__icon { flex: none; position: relative; width: 14px; height: 14px; }
  .edge-acc__icon::before, .edge-acc__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease; }
  .edge-acc__icon::after { transform: rotate(90deg); }
  .edge-acc__item.is-open .edge-acc__head { color: var(--c); font-weight: 700; }
  .edge-acc__item.is-open .edge-acc__dot { background: var(--c); }
  .edge-acc__item.is-open .edge-acc__icon::after { transform: rotate(0deg); }
  .edge-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
  .edge-acc__item.is-open .edge-acc__panel { grid-template-rows: 1fr; }
  .edge-acc__inner { overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
  .edge-acc__item.is-open .edge-acc__inner { padding-bottom: 20px; }
  .edge-acc__row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: 12px; background: rgba(var(--white-rgb), .06); }
  .edge-acc__row img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--c); }
  .edge-acc__tag { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
  .edge-acc__row p { margin: 0; min-height: 0; max-width: none; text-align: left; font-size: 15px; line-height: 1.4; color: var(--white); }
  .promise__list { height: 460px; clip-path: inset(0); }
  .promise__list::before, .promise__list::after { right: 0; }
  .promise__track { gap: 24px; }
  .elig-card { width: 280px; height: 360px; }
}
.badge { flex: none; }

/* ------------------------------------------------------------------
   THE PREMISES: centred copy, light gradient that drifts with the mouse, photos trail the cursor
-------------------------------------------------------------------*/
.premises { position: relative; min-height: 100vh; display: grid; place-items: center; padding: clamp(90px, 8vw, 150px) var(--pad-x); overflow: hidden; isolation: isolate; background: #fbf9fc;
  --mx: 50%; --my: 50%; }
/* soft colour pools: positions come from the (smoothed) mouse, set in JS */
.premises__bg { position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vw 38vw at var(--mx) var(--my), rgba(var(--purple-rgb), .20), transparent 65%),
    radial-gradient(34vw 34vw at calc(100% - var(--mx)) calc(var(--my) * .6 + 30%), rgba(var(--teal-rgb), .16), transparent 65%),
    radial-gradient(30vw 30vw at calc(var(--mx) * .5 + 45%) calc(100% - var(--my)), rgba(251, 176, 64, .16), transparent 65%),
    linear-gradient(160deg, #ffffff 0%, #f6f1f8 55%, #fdf6ec 100%); }
.premises__copy { position: relative; z-index: 2; max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; pointer-events: none; }
.premises__copy .section-title { text-align: center; }
.premises__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-600); }
.premises__eyebrow::before, .premises__eyebrow::after { content: ""; width: 24px; height: 1px; background: var(--purple); }
.premises__lead { font-family: var(--font-book); font-size: var(--fs-lead); line-height: 1.35; color: var(--ink); max-width: 620px; }
.premises__hint { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-2xs); letter-spacing: .14em; text-transform: uppercase; color: var(--grey-600); }
.premises__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); animation: premPing 1.8s ease-out infinite; }
@keyframes premPing { 0% { box-shadow: 0 0 0 0 rgba(var(--purple-rgb), .5); } 100% { box-shadow: 0 0 0 12px rgba(var(--purple-rgb), 0); } }
.premises__hint-touch { display: none; }
@media (hover: none) { .premises__hint-mouse { display: none; } .premises__hint-touch { display: inline; } }
/* the photo list is only data for the trail (still read by screen readers) */
.premises__photos { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* trail */
.premises__trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }   /* photos float BEHIND the text (copy is z-index 2) */
/* soft halo behind the copy so the text stays readable when a photo passes under it */
.premises__copy::before { content: ""; position: absolute; inset: -70px -110px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(251, 249, 252, .9) 55%, rgba(251, 249, 252, 0)); }
.premises__shot { position: absolute; left: 0; top: 0; width: clamp(170px, 15vw, 270px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; opacity: 0; will-change: transform, opacity;
  box-shadow: 0 24px 50px rgba(var(--black-rgb), .22), 0 0 0 5px rgba(var(--white-rgb), .9); background: var(--plum-800); }
.premises__shot.is-wide { width: clamp(220px, 20vw, 340px); aspect-ratio: 4 / 3; }
.premises__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.premises__shot figcaption { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .04em; color: var(--white); text-shadow: 0 1px 8px rgba(var(--black-rgb), .5); }
.premises__shot figcaption b { color: var(--amber); margin-right: 6px; font-weight: 700; }
/* placeholder until a photo is added */
.premises__ph { position: absolute; inset: 0; --ph: var(--purple); background: radial-gradient(90% 70% at 20% 10%, rgba(var(--white-rgb), .2), transparent 60%), linear-gradient(145deg, var(--ph), var(--plum-900)); }
.premises__ph::before { content: attr(data-n); position: absolute; left: 14px; top: 8px; font-size: clamp(3rem, 4.5vw, 4.5rem); font-weight: 800; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--white-rgb), .6); }
.premises__ph[data-c="1"] { --ph: var(--teal); } .premises__ph[data-c="2"] { --ph: #c1836f; } .premises__ph[data-c="3"] { --ph: var(--amber); }
@media (max-width: 900px) { .premises { min-height: 88vh; } .premises__shot { width: 150px; } .premises__shot.is-wide { width: 190px; } }
