/* ISI home — "Transatlantic" direction
   Oxford navy + racing green + galvanised steel. Archivo (wide grotesque, American punch)
   for headlines, Newsreader (British editorial serif) for reading text. */

.isi-home {
  --ink: #0c1b33;
  --navy: #1d304e;
  --green: #009b3d;
  --green-deep: #00602f;
  --steel: #c9d1da;
  --steel-dark: #6f7d8d;
  --paper: #f3f5f7;
  --white: #fff;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  font-family: var(--serif);
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
.isi-home *,
.isi-home *::before,
.isi-home *::after { box-sizing: border-box; }
.isi-home img { max-width: 100%; display: block; }
.isi-home p { margin: 0; }
.isi-home h1, .isi-home h2, .isi-home h3 { margin: 0; }
.isi-home a:focus-visible,
.isi-home button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.isi-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.isi-h2 {
  font-family: var(--sans);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.isi-sub {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem);
  line-height: 1.5;
  color: var(--steel-dark);
  margin-top: 14px !important;
  max-width: 34ch;
}

/* ---------- buttons & links ---------- */
.isi-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; font-stretch: 105%;
  border-radius: 2px; text-decoration: none !important;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.isi-btn:active { transform: translateY(1px); }
.isi-btn--green { background: var(--green); color: #fff !important; }
.isi-btn--green:hover { background: #00b247; }
.isi-btn--ghost { color: #fff !important; border: 1.5px solid rgba(255,255,255,.45); }
.isi-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.isi-btn--light { background: #fff; color: var(--green-deep) !important; }
.isi-btn--light:hover { background: var(--ink); color: #fff !important; }

.isi-link {
  display: inline-block; margin-top: 28px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  color: var(--green-deep) !important; text-decoration: none !important;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px; transition: background-size .25s;
}
.isi-link:hover { background-size: 40% 2px; }

/* ---------- header on the home page ---------- */
.header-area.isi-home-header { background: transparent; }
.header-area.isi-home-header .support-bar-area { border-bottom-color: rgba(255,255,255,.12); }
.header-area.isi-home-header .logo-wrapper img { max-height: 58px; width: auto; }

/* ---------- HERO ---------- */
.isi-hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(160px, 19vh, 200px) 0 0;
  background: var(--ink);
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  isolation: isolate;
}
.isi-hero__photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: 60% 40%;
  opacity: .22; filter: grayscale(.6) contrast(1.1);
}
.isi-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(12,27,51,.92) 38%, rgba(12,27,51,.55) 70%, rgba(12,27,51,.8) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(12,27,51,0) 30%);
}
.isi-hero__grid {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 24px;
}
.isi-hero__org {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  color: var(--steel); margin-bottom: 22px !important;
}
.isi-hero__title {
  font-family: var(--sans);
  font-stretch: 125%; font-weight: 900;
  font-size: clamp(2.5rem, 1.1rem + 3.9vw, 4.6rem);
  line-height: .95; letter-spacing: -0.02em;
  color: #fff; max-width: 13ch;
  text-wrap: balance;
}
.isi-hero__lede {
  margin-top: 26px !important;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.5;
  color: #dfe5ec; max-width: 30ch;
}
.isi-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.isi-hero__stage { position: relative; height: min(66vh, 620px); }
.isi-hero__canvas { position: absolute; inset: -40px -10vw -20px -40px; width: calc(100% + 10vw + 40px); height: calc(100% + 60px); cursor: grab; touch-action: pan-y; }
.isi-hero__canvas:active { cursor: grabbing; }

/* green inspection tag that hangs on the scaffold (positioned by JS) */
.isi-tag {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 132px; padding: 26px 12px 12px;
  background: var(--green); color: #fff !important;
  border-radius: 6px 6px 4px 4px;
  clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  text-decoration: none !important; text-align: center;
  font-family: var(--sans);
  transform-origin: 50% 8px;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .6s ease, background-color .2s;
  will-change: transform;
}
.isi-tag.is-live { opacity: 1; }
.isi-tag:hover { background: #00b247; }
.isi-tag__hole { position: absolute; top: 9px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.isi-tag__head { display: block; font-weight: 900; font-stretch: 120%; font-size: 1.05rem; line-height: 1; padding-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,.55); }
.isi-tag__body { display: block; font-family: var(--serif); font-size: .95rem; line-height: 1.25; padding: 9px 0; }
.isi-tag__foot { display: block; font-weight: 700; font-size: .8rem; background: #fff; color: var(--green-deep); padding: 6px 4px; border-radius: 2px; }

/* features: a ledger running along the base of the hero */
.isi-features {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(201,209,218,.22);
}
.isi-features__item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px 30px;
  font-family: var(--sans); font-weight: 600; font-size: 1.02rem; line-height: 1.25; color: #fff;
  border-left: 1px solid rgba(201,209,218,.22);
}
.isi-features__item:first-child { border-left: 0; padding-left: 0; }
.isi-features__item i { font-size: 1.25rem; color: var(--green); width: 26px; text-align: center; flex: none; }

/* ---------- ABOUT ---------- */
.isi-about { padding: clamp(80px, 11vw, 150px) 0; background: var(--white); }
.isi-about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.isi-about__media { position: relative; margin: 0; }
.isi-about__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 2px; }
.isi-about__media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 42%; border-left: 6px solid var(--green); border-bottom: 6px solid var(--green); pointer-events: none; }
.isi-quote {
  margin-top: 26px !important;
  font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.4;
  color: var(--navy); max-width: 26ch;
}
.isi-play { position: absolute; right: 22px; bottom: 22px; width: 74px; height: 74px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.isi-play span { width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }

/* ---------- SERVICES register ---------- */
.isi-services { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.isi-services__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.isi-services__head { position: sticky; top: 120px; margin-bottom: 40px; }
.isi-register { border-top: 2px solid var(--ink); }
.isi-register__row { border-bottom: 1px solid #cfd6de; }
.isi-register__title button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0;
  font-family: var(--sans); font-weight: 700; font-stretch: 108%;
  font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.2; color: var(--ink);
  transition: color .2s;
}
.isi-register__title button:hover { color: var(--green-deep); }
.isi-register__title button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.isi-register__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; }
.isi-register__icon::before, .isi-register__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .3s; }
.isi-register__icon::after { transform: rotate(90deg); }
.isi-register__row.is-open .isi-register__icon { background: var(--green); border-color: var(--green); color: #fff; }
.isi-register__row.is-open .isi-register__title button { color: var(--green-deep); }
.isi-register__row.is-open .isi-register__icon::after { transform: rotate(0); }
.isi-register__panel { overflow: hidden; }
.isi-register__inner { display: flex; gap: 24px; padding: 0 0 30px; }
.isi-register__inner img { width: 160px; aspect-ratio: 1; object-fit: cover; flex: none; }
.isi-register__inner p { font-size: 1.15rem; line-height: 1.6; color: #34445b; max-width: 58ch; }
.isi-register__inner .isi-link { margin-top: 16px; }

.isi-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px; background: #cfd6de; border: 2px solid #cfd6de; }
.isi-cats__item { background: var(--paper); padding: 28px; text-decoration: none !important; color: var(--ink) !important; }
.isi-cats__item h3 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; margin-bottom: 10px; }
.isi-cats__item p { color: #34445b; line-height: 1.55; }
.isi-cats__item:hover { background: #fff; }

/* ---------- VALUES ---------- */
.isi-values { padding: clamp(80px, 10vw, 140px) 0; background: var(--white); }
.isi-values__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 52px; }
.isi-values__head .isi-sub { margin-top: 0 !important; }
.isi-values__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 2px solid var(--ink); }
.isi-values__item { padding: 34px 24px 10px 0; border-right: 1px solid #dde2e8; margin-right: 24px; }
.isi-values__item:last-child { border-right: 0; margin-right: 0; }
.isi-values__item i { font-size: 1.3rem; color: var(--green); }
.isi-values__word {
  display: block; margin-top: 18px;
  font-family: var(--sans); font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
}
.isi-values__item p { margin-top: 14px !important; font-size: 1.1rem; line-height: 1.55; color: #34445b; }

/* ---------- STATS ---------- */
.isi-stats { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.isi-stats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin: 0; }
.isi-stats__item { display: flex; flex-direction: column-reverse; border-top: 1px solid rgba(201,209,218,.3); padding-top: 22px; }
.isi-stats__item dd {
  margin: 0; font-family: var(--sans); font-weight: 900; font-stretch: 118%;
  font-size: clamp(2.4rem, 1.5rem + 2.4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; color: #fff;
}
.isi-stats__item dt { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--steel); }

/* ---------- NETWORK ---------- */
.isi-network { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.isi-network .isi-services__head { position: static; }
.isi-network__track { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--gutter) 20px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: thin; }
.isi-network__item { flex: 0 0 min(360px, 80vw); scroll-snap-align: start; text-decoration: none !important; color: var(--ink) !important; }
.isi-network__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.isi-network__title { display: block; margin-top: 14px; font-family: var(--sans); font-weight: 700; font-size: 1.2rem; }
.isi-network__meta { display: block; color: var(--steel-dark); }

/* ---------- NEWS ---------- */
.isi-news { padding: clamp(80px, 10vw, 140px) 0; }
.isi-news .isi-services__head { position: static; }
.isi-news__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.isi-news__item { text-decoration: none !important; color: var(--ink) !important; }
.isi-news__item img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.isi-news__item time { display: block; margin-top: 14px; color: var(--steel-dark); }
.isi-news__item h3 { margin-top: 6px; font-family: var(--sans); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.isi-news__item:hover h3 { color: var(--green-deep); }

/* ---------- CTA ---------- */
.isi-cta { background: var(--green-deep); color: #fff; padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.isi-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 120px), repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 2px, transparent 2px 120px); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.isi-cta__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.isi-cta__title { font-family: var(--sans); font-weight: 800; font-stretch: 112%; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.08; color: #fff; max-width: 20ch; letter-spacing: -0.01em; }

/* ---------- PARTNERS ---------- */
.isi-partners { padding: 56px 0; border-top: 1px solid #e3e7ec; }
.isi-partners__list { display: flex; flex-wrap: wrap; gap: 40px 60px; align-items: center; justify-content: center; }
.isi-partners__list img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.isi-partners__list a:hover img { filter: none; opacity: 1; }


/* ---------- COURSES: route tabs + rising steps ---------- */
.isi-courses { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.isi-courses::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 120px); pointer-events: none; }
.isi-courses .isi-h2 { color: #fff; }
.isi-courses .isi-sub { color: var(--steel); max-width: 40ch; }
.isi-courses__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 44px; }
.isi-courses__count { font-family: var(--serif); font-size: 1.1rem; color: var(--steel); }
.isi-courses__count strong { display: block; font-family: var(--sans); font-weight: 900; font-stretch: 118%; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }

.isi-routes { position: relative; }
.isi-routes__tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid rgba(201,209,218,.2); margin-bottom: 34px; }
.isi-routes__tabs button {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px 16px; margin-bottom: -1px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--steel);
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.isi-routes__tabs button small { font-weight: 600; font-size: .78rem; color: var(--ink); background: var(--steel); border-radius: 10px; padding: 1px 8px; }
.isi-routes__tabs button:hover { color: #fff; }
.isi-routes__tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--green); }
.isi-routes__tabs button[aria-selected="true"] small { background: var(--green); color: #fff; }
.isi-routes__tabs button:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.isi-route__lede { font-size: 1.2rem; color: var(--steel); margin-bottom: 30px !important; max-width: 50ch; }

.isi-route__steps { list-style: none; margin: 0; padding: calc((var(--n) - 1) * 30px) 0 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; position: relative; }
.isi-route__steps::after { /* the steel ledger the steps sit on */
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #8e9aa8, #dfe5ec 50%, #8e9aa8);
}
.isi-step { transform: translateY(calc(var(--i) * -30px)); position: relative; }
.isi-step::after { /* the standard from the step down to the ledger */
  content: ""; position: absolute; left: 50%; width: 4px; margin-left: -2px; top: 100%; height: calc(var(--i) * 30px + 18px);
  background: linear-gradient(90deg, #8e9aa8, #dfe5ec, #8e9aa8);
}
.isi-step__card { display: flex; flex-direction: column; height: 100%; background: #13264a; color: #fff !important; text-decoration: none !important; border-radius: 3px; overflow: hidden; outline: 1px solid rgba(201,209,218,.12); transition: transform .25s, outline-color .25s, background-color .25s; }
.isi-step__card:hover, .isi-step__card:focus-visible { transform: translateY(-6px); outline-color: var(--green); background: #173059; }
.isi-step__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.isi-step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.isi-step__card:hover .isi-step__img img { transform: scale(1.05); }
.isi-step__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.isi-step__level { align-self: flex-start; font-family: var(--sans); font-weight: 700; font-size: .78rem; color: #fff; background: var(--green-deep); padding: 3px 9px; border-radius: 2px; }
.isi-step__title { font-family: var(--sans); font-weight: 700; font-size: 1.04rem; line-height: 1.25; }
.isi-step__meta { margin-top: auto; font-family: var(--serif); font-size: .98rem; color: var(--steel); }
.isi-courses .isi-link { color: #fff !important; margin-top: 56px; }

@media (max-width: 991px) {
  .isi-route__steps { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .isi-route__steps::after, .isi-step::after { display: none; }
  .isi-step { transform: none; }
}
@media (max-width: 575px) {
  .isi-route__steps { grid-template-columns: 1fr; }
  .isi-step__card { flex-direction: row; }
  .isi-step__img { width: 38%; flex: none; aspect-ratio: auto; }
  .isi-routes__tabs { flex-wrap: nowrap; overflow-x: auto; }
  .isi-routes__tabs button { white-space: nowrap; }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .isi-hero { padding-top: 150px; }
  .isi-hero__grid { grid-template-columns: 1fr; }
  .isi-hero__stage { height: 420px; order: 2; margin-top: -10px; }
  .isi-hero__canvas { inset: -20px -16px; width: calc(100% + 32px); height: calc(100% + 40px); }
  .isi-features { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
  .isi-features__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .isi-features__item:nth-child(n+3) { border-top: 1px solid rgba(201,209,218,.22); }
  .isi-about__grid, .isi-services__grid { grid-template-columns: 1fr; }
  .isi-services__head { position: static; margin-bottom: 28px; }
}
@media (max-width: 575px) {
  .isi-hero__stage { height: 340px; }
  .isi-tag { width: 112px; padding-top: 24px; }
  .isi-tag__body { font-size: .85rem; }
  .isi-tag__head { font-size: .9rem; font-stretch: 110%; }
  .isi-hero { padding-top: 170px; }
  .isi-features__item { padding: 18px 10px 20px; font-size: .95rem; }
  .isi-register__inner { flex-direction: column; }
  .isi-register__inner img { width: 100%; aspect-ratio: 16 / 9; }
  .isi-values__item { border-right: 0; margin-right: 0; border-bottom: 1px solid #dde2e8; padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .isi-home *, .isi-tag { transition: none !important; }
}
