/* Pages v2: inner-page hero, statements, points, articles, writing, work, services, contact, legal, DDGIP. */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- hero for inner pages ---------- */
.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(40px, 6vw, 96px) 0 clamp(28px, 4vw, 56px);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -14vw;
  top: -10vw;
  width: 46vw;
  height: 46vw;
  border: 1.5px dashed var(--line-strong);
  border-radius: 50%;
  opacity: 0.35;
  animation: spin 120s linear infinite;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
}
.page-hero h1 {
  max-width: 11.5em;
  font-size: clamp(3rem, 8.4vw, 8rem);
}
.page-hero .lead {
  margin-top: clamp(20px, 2.4vw, 32px);
}
.page-hero--tight h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
}
.page-hero--article h1 {
  max-width: 17em;
  font-size: clamp(2.3rem, 5.2vw, 4.8rem);
  line-height: 0.98;
}
.page-hero--split .split {
  align-items: center;
}
.page-hero--split h1 {
  font-size: clamp(2.8rem, 6.6vw, 6rem);
}
.hero-photo .frame {
  aspect-ratio: 4 / 5;
  max-height: 72svh;
  border-radius: 28px 28px 28px 110px;
}
.hero-photo .frame--wide {
  aspect-ratio: 4 / 3;
}
.byline {
  margin: var(--s5) 0 0;
  font-weight: 600;
  color: var(--muted);
}
.jumpnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s6);
}
.jumpnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease);
}
.jumpnav a:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- statements and lists without boxes ---------- */
.statement {
  margin: 0;
  font: 400 clamp(1.7rem, 3.3vw, 3rem) / 1.12 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.belief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 96px);
}
.belief .eyebrow {
  margin-bottom: var(--s4);
}
.points {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.points--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.points--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.points li {
  padding-top: var(--s4);
  border-top: 1px solid var(--line-strong);
}
.points b {
  display: block;
  margin-bottom: 8px;
  font: 500 clamp(1.4rem, 2.2vw, 1.9rem) / 1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.points span {
  color: var(--muted);
}
.section--ink .points li {
  border-color: var(--line-dark);
}
.section--ink .points span {
  color: var(--on-dark);
}
.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.people li {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.people__i {
  display: grid;
  place-items: center;
  width: clamp(84px, 9vw, 120px);
  aspect-ratio: 1;
  margin-bottom: var(--s3);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font: 400 clamp(1.6rem, 2.6vw, 2.4rem) / 1 var(--font-display);
  font-style: italic;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease);
}
.people li:hover .people__i {
  background: var(--ink);
  color: #fff;
}
.people strong {
  font: 500 1.35rem / 1.2 var(--font-display);
  letter-spacing: -0.02em;
}
.people span:last-child {
  color: var(--muted);
  font-size: var(--fs-small);
}
.crossing {
  margin: 0 0 var(--s5);
  font: 500 clamp(2.2rem, 6.6vw, 6.2rem) / 1 var(--font-display);
  letter-spacing: -0.045em;
}
.crossing b {
  font-weight: 400;
  font-style: italic;
  color: var(--blue-ink);
}
.vsec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 96px);
  padding: clamp(28px, 4vw, 56px) 0;
  border-top: 1px solid var(--line-strong);
}
.vsec h2 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
}
.ticks--dark {
  margin-top: var(--s5);
}
.vsec .ticks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px var(--s5);
  margin: var(--s5) 0;
  padding: 0;
  list-style: none;
}
.vsec .ticks li {
  position: relative;
  padding-left: 20px;
}
.vsec .ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
}
.fine {
  margin-top: var(--s5);
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 52ch;
}
.cta-band {
  padding-block: clamp(56px, 8vw, 120px);
}
.cta-band__in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s6) var(--s7);
}
.cta-band h2 {
  max-width: 11em;
  font-size: clamp(2.5rem, 6.2vw, 5.6rem);
  line-height: 0.95;
}
.cta-band .lead {
  margin-top: var(--s5);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s5);
}
.gallery figure {
  margin: 0;
}
.gallery .frame {
  aspect-ratio: 4 / 3;
}
.gallery figcaption {
  margin-top: 10px;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ---------- facts (programme pages) ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s5);
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
}
.fact {
  display: flex;
  flex-direction: column;
  padding-top: var(--s4);
  border-top: 1.5px solid currentColor;
}
.fact dt {
  order: 2;
  margin-top: 6px;
  font: 500 var(--fs-small) / 1.3 var(--font);
  opacity: 0.75;
}
.fact dd {
  order: 1;
  margin: 0;
  font: 500 clamp(1.7rem, 3.4vw, 3.2rem) / 1.02 var(--font-display);
  letter-spacing: -0.04em;
}
@media (max-width: 900px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- articles ---------- */
.article-section {
  padding-top: 0;
}
.article-wrap {
  max-width: 1080px;
}
.article-hero {
  margin: 0 0 clamp(28px, 4vw, 56px);
}
.cover--wide {
  display: block;
  aspect-ratio: 21 / 9;
  border-radius: 24px;
}
.credit {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.credit a {
  color: inherit;
}
.article {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.75;
}
.article > p:first-child::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 0;
  font: 500 4.6em / 0.78 var(--font-display);
  color: var(--orange-text);
}
.article h2,
.article h3 {
  margin: 1.8em 0 0.5em;
  line-height: 1.08;
}
.article h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}
.article h3 {
  font-size: 1.55rem;
}
.article a {
  color: var(--blue-ink);
  text-underline-offset: 3px;
}
.article ul,
.article ol {
  padding-left: 1.2em;
}
.article li {
  margin-bottom: 0.4em;
}
.article li::marker {
  color: var(--orange);
}
.article blockquote {
  margin: 1.6em 0;
  padding: 0 0 0 1.2em;
  border-left: 3px solid var(--ink);
  font: italic 400 1.6rem / 1.3 var(--font-display);
  letter-spacing: -0.02em;
}
.article img {
  height: auto;
  margin: 1.6em 0;
  border-radius: var(--r-card);
}
.article figure {
  margin: 1.6em 0;
}
.article figcaption {
  font-size: 0.85rem;
  color: var(--muted);
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.article th,
.article td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.side-links {
  max-width: 720px;
  margin: clamp(32px, 5vw, 64px) auto 0;
}
.rows--posts .row__t {
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
}
.rows--dated .row {
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
}
@media (max-width: 640px) {
  .rows--dated .row {
    grid-template-columns: 1fr auto;
  }
  .rows--dated .row__n {
    display: block;
    grid-column: 1 / -1;
  }
}

/* ---------- writing ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  text-decoration: none;
}
.feature__img {
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: 28px 28px 28px 110px;
}
.feature__body {
  display: grid;
  gap: var(--s4);
  justify-items: start;
}
.feature__body .eyebrow {
  margin: 0;
}
.feature__t {
  font: 500 clamp(2rem, 4.2vw, 3.8rem) / 1 var(--font-display);
  letter-spacing: -0.04em;
}
.feature__t em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-ink);
}
.feature__p {
  max-width: 46ch;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature:hover .btn {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

/* ---------- work and careers ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.mosaic__item {
  display: grid;
  align-content: start;
  gap: 6px;
  text-decoration: none;
}
.mosaic__item .frame {
  aspect-ratio: 4 / 3;
}
.mosaic__item--lead {
  grid-column: span 2;
}
.mosaic__item--lead .frame {
  aspect-ratio: 16 / 9;
}
.mosaic__t {
  margin-top: 8px;
  font: 500 clamp(1.15rem, 1.8vw, 1.5rem) / 1.15 var(--font-display);
  letter-spacing: -0.02em;
}
.mosaic__d {
  font-size: var(--fs-small);
  color: var(--muted);
}
.mosaic__item:hover .mosaic__t {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

/* ---------- contact ---------- */
.contact-side {
  display: grid;
  gap: var(--s6);
}
.contact-side h2 {
  margin: 0 0 6px;
  font: 600 var(--fs-label) / 1 var(--font);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.contact-side p {
  margin: 0 0 6px;
  font: 400 1.35rem / 1.35 var(--font-display);
  letter-spacing: -0.01em;
}
.contact-side a:not(.link-arrow) {
  text-decoration: none;
}
.contact-side a:not(.link-arrow):hover {
  color: var(--blue-ink);
}

/* ---------- legal documents ---------- */
.doc {
  max-width: 760px;
  padding-bottom: var(--section);
}
.doc h2 {
  margin: 1.8em 0 0.5em;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.doc li {
  margin-bottom: 0.5em;
}
.doc a {
  color: var(--blue-ink);
}
.doc code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--bone-2);
  font-size: 0.9em;
}
.doc-meta {
  margin: var(--s4) 0 0;
  color: var(--muted);
}
.callout {
  margin: var(--s6) 0;
  padding: var(--s5) var(--s6);
  border-left: 4px solid var(--orange);
  background: var(--bone-2);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
.callout :last-child {
  margin-bottom: 0;
}
.page-hero + .container {
  margin-top: var(--s5);
}
/* eligibility check */
.fit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.fit__q {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s4);
  margin: 0;
  padding: var(--s4) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.fit__q:first-of-type {
  border-top: 1px solid var(--line-strong);
}
.fit__q legend {
  float: left;
  width: calc(100% - 190px);
  padding: 0;
  font: 500 clamp(1.15rem, 1.8vw, 1.5rem) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
}
.fit__q > div {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.fit__q input {
  position: absolute;
  opacity: 0;
}
.fit__q label {
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  min-height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease);
}
.fit__q label:hover {
  background: var(--bone-2);
}
.fit__q input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.fit__q input:focus-visible + label {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.fit__out {
  margin-top: var(--s5);
  padding: var(--s5);
  border-radius: var(--r-card);
  background: var(--bone-2);
  min-height: 7rem;
  font: 400 1.25rem / 1.35 var(--font-display);
  letter-spacing: -0.01em;
}
.fit__out.is-yes {
  background: var(--ink);
  color: #fff;
}
.fit__out .btn {
  margin-top: var(--s4);
}
.fit__out p {
  margin: 0;
}

/* journey: four stages on one drawn line */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 2px;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease-out);
}
.journey.in::before {
  transform: none;
}
.journey li {
  position: relative;
  padding-top: 52px;
}
.journey li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--bone);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.35s);
}
.journey.in li::before {
  background: var(--orange);
  border-color: var(--orange);
}
.journey small {
  display: block;
  margin-bottom: 8px;
  font: 600 var(--fs-label) / 1 var(--font);
  color: var(--muted);
}
.journey h3 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.journey p {
  margin: 0 0 8px;
  color: var(--muted);
}
.journey em.meta {
  font: 600 var(--fs-small) / 1.3 var(--font);
  font-style: normal;
}

/* timeline */
.timeline {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.timeline__head {
  position: sticky;
  top: calc(var(--header-h) + var(--back-h) + 24px);
}
.timeline ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: t;
}
.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s5);
  padding: clamp(20px, 3vw, 36px) 0;
  border-top: 1px solid var(--line-strong);
}
.timeline li:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.timeline li::before {
  counter-increment: t;
  content: "0" counter(t);
  min-width: 1.6em;
  font: 400 clamp(2.4rem, 5vw, 4.4rem) / 1 var(--font-display);
  font-style: italic;
  color: var(--orange);
}
.timeline h3 {
  margin-bottom: 6px;
}
.timeline p {
  margin: 0;
  color: var(--muted);
}
.timeline small {
  display: block;
  margin-top: 8px;
  font: 600 var(--fs-label) / 1 var(--font);
  color: var(--blue-ink);
}

/* selection */
.crit {
  display: grid;
  gap: 6px;
  margin: 0 0 var(--s5);
}
.crit span {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.crit b {
  font-feature-settings: "tnum";
}
.crit i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.crit i::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out) 0.2s;
}
.crit.in i::after {
  transform: scaleX(calc(var(--v) / 100));
}
.stages {
  margin: var(--s6) 0 0;
  padding: 0;
  list-style: none;
}
.stages li {
  display: grid;
  gap: 4px;
  padding: var(--s5) 0;
  border-top: 1px solid var(--line-strong);
}
.stages li:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.stages small {
  font: 600 var(--fs-label) / 1 var(--font);
  color: var(--blue-ink);
}
.stages h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}
.stages p {
  margin: 0;
  color: var(--muted);
}

/* themes */
.themes {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.themes li {
  display: flex;
  align-items: baseline;
  gap: var(--s5);
  padding: clamp(14px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--line-dark);
  font: 500 clamp(1.8rem, 4.4vw, 4rem) / 1.05 var(--font-display);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.55);
  transition:
    color 0.4s var(--ease),
    padding 0.4s var(--ease-out);
}
.themes li:hover {
  padding-left: 16px;
  color: #fff;
}
.themes li::before {
  content: counter(th, decimal-leading-zero);
  counter-increment: th;
  font: 600 var(--fs-label) / 1 var(--font);
  letter-spacing: 0.02em;
  color: var(--orange-soft);
}
.themes {
  counter-reset: th;
}

/* care band */
.care {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
}
.care p {
  max-width: 52ch;
}

/* responsive */
@media (max-width: 960px) {
  .belief,
  .vsec,
  .feature,
  .fit,
  .timeline,
  .care {
    grid-template-columns: 1fr;
  }
  .timeline__head {
    position: static;
  }
  .points--4,
  .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .points--3 {
    grid-template-columns: 1fr;
  }
  .journey {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }
  .journey::before {
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
    transform-origin: top;
    transform: scaleY(0);
  }
  .journey.in::before {
    transform: none;
  }
  .journey li {
    padding: 0 0 0 44px;
  }
  .journey li::before {
    top: 2px;
  }
  .mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .fit__q legend {
    float: none;
    width: auto;
  }
  .fit__q {
    grid-template-columns: 1fr;
  }
  .fit__q > div {
    margin-left: 0;
  }
}
@media (max-width: 560px) {
  .points--4,
  .people,
  .mosaic {
    grid-template-columns: 1fr;
  }
  .mosaic__item--lead {
    grid-column: auto;
  }
  .vsec .ticks {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero::before {
    animation: none;
  }
  .journey::before,
  .crit i::after {
    transform: none;
    transition: none;
  }
  .journey li::before {
    background: var(--orange);
    border-color: var(--orange);
  }
}
