/* Re- Academy page. Builds on styles.css (tokens, header, footer, buttons, kicker);
   everything here is prefixed ac- so no other page is affected. */
.ac-h1 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.4vw, 78px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.ac-h2 { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.ac-ar { font-family: 'Geeza Pro', 'Noto Kufi Arabic', Tahoma, sans-serif; }

/* hero: headline on ivory, photograph full width below */
.ac-hero__top { padding-top: 96px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.ac-hero__head { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ac-hero__side { display: flex; flex-direction: column; gap: 28px; min-width: 0; padding-bottom: 8px; }
.ac-hero__side p { font-size: 18px; line-height: 1.6; color: var(--sage); max-width: 40ch; }
.ac-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.ac-hero__photo { margin: 0; background: #0b0d0c; }
.ac-hero__photo img { width: 100%; height: auto; aspect-ratio: 2.25 / 1; object-fit: cover; object-position: 50% 46%; }

/* statement */
.ac-statement { padding-top: 136px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; }
.ac-statement .kicker { padding-top: 12px; }
.ac-statement__text { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.32; letter-spacing: -0.015em; text-wrap: pretty; }
.ac-statement__text span { color: var(--sage); }

/* figures */
.ac-figures { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ac-figures__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ac-fig { padding: 40px 24px 40px 0; display: flex; flex-direction: column; gap: 12px; }
.ac-fig + .ac-fig { padding-left: 28px; border-left: 1px solid var(--rule); }
.ac-fig b { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ac-fig b .ac-ar { font-weight: 600; font-size: 0.62em; letter-spacing: 0; margin-left: 6px; }
.ac-fig > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); }

/* curriculum index */
.ac-curriculum { padding-top: 128px; padding-bottom: 128px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; }
.ac-curriculum__side { display: flex; flex-direction: column; gap: 20px; }
.ac-curriculum__side > p:last-child { font-size: 16px; line-height: 1.65; color: var(--sage); max-width: 34ch; }
.ac-index { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; border-top: 1px solid var(--forest); }
.ac-index li { break-inside: avoid; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.ac-index span, .ac-index em { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.12em; color: var(--sage); }
.ac-index b { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.3; }

/* platform + tracking sheet */
.ac-platform { background: var(--band); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ac-platform__inner { padding-top: 128px; padding-bottom: 128px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.ac-platform__title { margin-top: 18px; }
.ac-platform__intro { font-size: 17px; line-height: 1.65; color: var(--sage); max-width: 44ch; margin-top: 22px; }
.ac-uses { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--forest); }
.ac-uses li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.ac-uses span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--sage); padding-top: 5px; grid-row: span 2; }
.ac-uses b { font-family: var(--display); font-weight: 600; font-size: 19px; }
.ac-uses p { font-size: 15.5px; line-height: 1.55; color: var(--sage); }
.ac-sheet { margin: 0; background: #FFFDF8; border: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(22, 38, 31, 0.35); padding: 30px 30px 24px; min-width: 0; position: sticky; top: 110px; }
.ac-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--forest); }
.ac-sheet__head b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; }
.ac-sheet__head span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.ac-sheet__mark { font-size: 22px; }
.ac-sheet__wrap { overflow-x: auto; }
.ac-sheet table { width: 100%; border-collapse: collapse; margin-top: 6px; min-width: 440px; font-size: 13.5px; }
.ac-sheet th { font-family: var(--mono); font-weight: 500; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); text-align: left; padding: 14px 8px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: bottom; }
.ac-sheet td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.ac-sheet td:first-child { font-weight: 600; }
.ac-sheet td small { display: block; font-weight: 400; color: var(--sage); font-size: 12px; }
.ac-ok { color: #2E6B47; }
.ac-due { color: #8A5A0E; }
.ac-late { color: var(--oxblood); }
.ac-sheet__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }

/* split: photo + SOPs */
.ac-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--forest); color: var(--ivory); }
.ac-split__photo { margin: 0; min-height: 360px; background: #0b0d0c; overflow: hidden; }
.ac-split__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ac-split__copy { padding: 96px clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; }
.ac-split__copy > p:not(.kicker) { font-size: 18px; line-height: 1.65; color: var(--stone); max-width: 42ch; }
.ac-split__copy > p.ac-split__ar { font-family: 'Geeza Pro', 'Noto Kufi Arabic', Tahoma, sans-serif; font-size: 20px; color: var(--ivory); }

/* how it works */
.ac-steps { padding-top: 128px; padding-bottom: 112px; }
.ac-steps__list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ac-steps__list li { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--forest); }
.ac-steps__list li:last-child { border-top-color: var(--gold); }
.ac-steps__list b { font-family: var(--display); font-weight: 600; font-size: 22px; }
.ac-steps__list p { font-size: 16px; line-height: 1.6; color: var(--sage); }

/* planner line */
.ac-planner { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ac-planner__inner { padding-top: 30px; padding-bottom: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; font-size: 17px; line-height: 1.55; color: var(--sage); }
.ac-planner__inner p { max-width: 70ch; }
.ac-planner b { color: var(--forest); font-weight: 600; }

/* questions */
.ac-faq { padding-top: 112px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; }
.ac-faq__title { font-size: clamp(28px, 3vw, 40px); }
.ac-faq__list { border-top: 1px solid var(--forest); }
.ac-faq details { border-bottom: 1px solid var(--rule); }
.ac-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--display); font-weight: 600; font-size: 18px; position: relative; }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--mono); font-size: 22px; color: var(--sage); }
.ac-faq details[open] summary::after { content: "–"; }
.ac-faq details p { padding: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--sage); max-width: 60ch; }
.ac-faq details a { border-bottom: 1px solid var(--gold); }

@media (max-width: 980px) {
  .ac-hero__top, .ac-statement, .ac-curriculum, .ac-faq, .ac-platform__inner, .ac-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ac-platform__inner { gap: 48px; }
  .ac-sheet { position: static; }
  .ac-figures__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-fig:nth-child(3) { padding-left: 0; border-left: 0; }
  .ac-fig:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .ac-hero__top { padding-top: 56px; padding-bottom: 40px; }
  .ac-hero__photo img { aspect-ratio: 4 / 3; }
  .ac-index { columns: 1; }
  .ac-steps__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ac-statement, .ac-curriculum, .ac-steps, .ac-faq, .ac-platform__inner { padding-top: 80px; padding-bottom: 80px; }
  .ac-sheet { padding: 22px 18px 18px; }
}

/* current page in the header menu */
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
