/*
 * EDUK8U: Quality Philosophy page
 * Scoped stylesheet. Every rule is namespaced under .eqp-lp so nothing here
 * can reach the Zilom theme header, footer, or any Elementor-built page.
 * Source design: https://eduk8u-quality-review.pages.dev/ (Tailwind build,
 * rewritten here as plain CSS).
 * Version: 1.1.1
 */

/* ---------------------------------------------------------------
 * Tokens
 * Declared on the wrapper, not :root, so they stay inside the page.
 * ------------------------------------------------------------- */
.eqp-lp {
  --eqp-navy: #052a65;
  --eqp-navy-hover: #0a3a85;
  --eqp-ink-soft: #4a5876;
  --eqp-ink-faint: #5e6b86;
  --eqp-paper: #f4f2ec;
  --eqp-rule: #d9dee7;
  --eqp-mist: #c4cde0;
  --eqp-accent: #e0591f;
  --eqp-accent-light: #f08a4b;
  --eqp-sans: Manrope, "Helvetica Neue", Arial, sans-serif;
  --eqp-serif: Newsreader, Georgia, "Times New Roman", serif;

  background: #fff;
  color: var(--eqp-navy);
  font-family: var(--eqp-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------------
 * Scoped reset
 * ------------------------------------------------------------- */
.eqp-lp *,
.eqp-lp *::before,
.eqp-lp *::after {
  box-sizing: border-box;
}

.eqp-lp h1,
.eqp-lp h2,
.eqp-lp h3,
.eqp-lp p,
.eqp-lp ul,
.eqp-lp ol,
.eqp-lp li,
.eqp-lp figure {
  margin: 0;
  padding: 0;
}

.eqp-lp h1,
.eqp-lp h2,
.eqp-lp h3 {
  color: inherit;
  text-transform: none;
}

.eqp-lp ul,
.eqp-lp ol {
  list-style: none;
}

.eqp-lp img {
  display: block;
  max-width: 100%;
  height: auto;
}

.eqp-lp a {
  color: inherit;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}

.eqp-lp svg {
  flex-shrink: 0;
}

.eqp-lp ::selection {
  background: var(--eqp-navy);
  color: #fff;
}

.eqp-lp :focus-visible {
  outline: 2px solid var(--eqp-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------
 * Layout
 * ------------------------------------------------------------- */
.eqp-lp .eqp-page {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eqp-lp .eqp-section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.eqp-lp .eqp-paper {
  background: var(--eqp-paper);
}

/* ---------------------------------------------------------------
 * Type
 * ------------------------------------------------------------- */
.eqp-lp .eqp-display,
.eqp-lp .eqp-h2,
.eqp-lp .eqp-h3 {
  font-family: var(--eqp-serif);
  font-weight: 500;
}

.eqp-lp .eqp-display span,
.eqp-lp .eqp-h2 span {
  display: block;
}

.eqp-lp .eqp-display {
  font-size: clamp(2.5rem, 10.6vw, 6rem);
  line-height: .98;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}

.eqp-lp .eqp-h2 {
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}

.eqp-lp .eqp-h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 36;
}

.eqp-lp .eqp-lead {
  color: var(--eqp-navy);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  font-weight: 450;
  line-height: 1.6;
  text-wrap: pretty;
}

.eqp-lp .eqp-body {
  color: var(--eqp-ink-soft);
  font-weight: 460;
  text-wrap: pretty;
}

.eqp-lp .eqp-meta {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
}

.eqp-lp .eqp-strong {
  font-weight: 600;
  color: var(--eqp-navy);
}

/* ---------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------- */
.eqp-lp .eqp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.eqp-lp .eqp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .75rem 1.35rem;
  border: 1px solid var(--eqp-navy);
  border-radius: 999px;
  font-family: var(--eqp-sans);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}

.eqp-lp .eqp-btn svg {
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.eqp-lp .eqp-btn:hover svg {
  transform: translateX(3px);
}

.eqp-lp .eqp-btn--primary {
  background: var(--eqp-navy);
  color: #fff;
}

.eqp-lp .eqp-btn--primary:hover {
  background: var(--eqp-navy-hover);
  border-color: var(--eqp-navy-hover);
  color: #fff;
}

.eqp-lp .eqp-btn--quiet {
  background: transparent;
  border-color: #b7c1d3;
  color: var(--eqp-navy);
}

.eqp-lp .eqp-btn--quiet:hover {
  border-color: var(--eqp-navy);
  color: var(--eqp-navy);
}

.eqp-lp .eqp-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.eqp-lp .eqp-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* ---------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------- */
.eqp-lp .eqp-hero {
  border-bottom: 1px solid var(--eqp-rule);
}

.eqp-lp .eqp-hero__grid {
  display: grid;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.eqp-lp .eqp-hero__kicker {
  max-width: 30rem;
  margin-top: 2rem;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.375;
}

.eqp-lp .eqp-hero__sub {
  max-width: 30rem;
  margin-top: 1rem;
}

.eqp-lp .eqp-hero__figure {
  max-width: 36rem;
}

.eqp-lp .eqp-hero__card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--eqp-rule);
  border-radius: 1rem;
  background: #eef1f5;
}

.eqp-lp .eqp-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 85% 50%;
  animation: eqp-hero-settle 1.6s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes eqp-hero-settle {
  from { transform: scale(1.045); }
  to { transform: none; }
}

.eqp-lp .eqp-hero__caption {
  margin-top: 1rem;
  color: var(--eqp-ink-faint);
  font-size: .875rem;
  line-height: 1.375;
  text-wrap: pretty;
}

.eqp-lp .eqp-hero__caption span {
  display: block;
}

.eqp-lp .eqp-hero__caption span + span {
  margin-top: .25rem;
}

/* ---------------------------------------------------------------
 * Framework: four steps
 * ------------------------------------------------------------- */
.eqp-lp .eqp-intro {
  max-width: 44rem;
}

.eqp-lp .eqp-intro .eqp-lead,
.eqp-lp .eqp-commit__sticky .eqp-lead {
  margin-top: 1.5rem;
}

.eqp-lp .eqp-steps {
  display: grid;
  margin-top: 3.5rem;
}

.eqp-lp .eqp-step {
  display: flex;
  flex-direction: column;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(5, 42, 101, .8);
}

.eqp-lp .eqp-step__num {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--eqp-ink-faint);
  font-variant-numeric: tabular-nums;
}

.eqp-lp .eqp-step__arrow {
  display: none;
  color: var(--eqp-accent);
}

.eqp-lp .eqp-step .eqp-h3 {
  margin-top: 1.25rem;
}

.eqp-lp .eqp-step__text {
  margin-top: .5rem;
}

.eqp-lp .eqp-step__example {
  margin-top: 1rem;
  color: var(--eqp-ink-soft);
  font-size: .9375rem;
  line-height: 1.625;
}

.eqp-lp .eqp-step__foot {
  margin-top: 1.5rem;
}

.eqp-lp .eqp-step__foot p {
  padding-top: 1rem;
  border-top: 1px solid rgba(5, 42, 101, .15);
  font-size: .9375rem;
  line-height: 1.375;
}

.eqp-lp .eqp-step__foot span {
  display: block;
}

.eqp-lp .eqp-step__foot .eqp-meta {
  color: var(--eqp-ink-faint);
}

.eqp-lp .eqp-step__foot .eqp-strong {
  margin-top: .25rem;
}

/* The "cycle repeats" loop line under the steps */
.eqp-lp .eqp-loop {
  position: relative;
}

.eqp-lp .eqp-loop__line,
.eqp-lp .eqp-loop__up {
  display: none;
}

.eqp-lp .eqp-loop__label {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(5, 42, 101, .8);
  color: var(--eqp-ink-soft);
}

.eqp-lp .eqp-loop__icon {
  color: var(--eqp-accent);
}

/* ---------------------------------------------------------------
 * In practice
 * ------------------------------------------------------------- */
.eqp-lp .eqp-commit {
  display: grid;
  gap: 3rem;
}

.eqp-lp .eqp-commit__list {
  border-top: 1px solid var(--eqp-rule);
  border-bottom: 1px solid var(--eqp-rule);
}

.eqp-lp .eqp-commit__list li {
  display: grid;
  gap: .75rem;
  padding-block: 2rem;
}

.eqp-lp .eqp-commit__list li + li {
  border-top: 1px solid var(--eqp-rule);
}

/* ---------------------------------------------------------------
 * Technology statement
 * ------------------------------------------------------------- */
.eqp-lp .eqp-tech__text {
  max-width: 40rem;
  margin-top: 1.5rem;
}

/* ---------------------------------------------------------------
 * Organisations
 * ------------------------------------------------------------- */
.eqp-lp .eqp-orgs__head {
  display: grid;
  gap: 1.5rem;
}

.eqp-lp .eqp-orgs {
  margin-top: 3.5rem;
  border-top: 1px solid var(--eqp-rule);
  border-bottom: 1px solid var(--eqp-rule);
}

.eqp-lp .eqp-org {
  display: grid;
  gap: 1.25rem;
  padding-block: 2rem;
}

.eqp-lp .eqp-org + .eqp-org {
  border-top: 1px solid var(--eqp-rule);
}

.eqp-lp .eqp-org__logo {
  display: flex;
  align-items: center;
  height: 6rem;
}

.eqp-lp .eqp-org__logo img {
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}

.eqp-lp .eqp-org__logo .is-h14 { max-height: 3.5rem; }
.eqp-lp .eqp-org__logo .is-h16 { max-height: 4rem; }
.eqp-lp .eqp-org__logo .is-h24 { max-height: 6rem; }
.eqp-lp .eqp-org__logo .is-multiply { mix-blend-mode: multiply; }

.eqp-lp .eqp-org__name .eqp-meta {
  margin-top: .25rem;
  color: var(--eqp-ink-soft);
}

.eqp-lp .eqp-org__note {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.375;
}

/* ---------------------------------------------------------------
 * Closing band (in-page, above the site footer)
 * ------------------------------------------------------------- */
.eqp-lp .eqp-close {
  padding-top: clamp(4.5rem, 10vw, 8rem);
  padding-bottom: clamp(4.5rem, 10vw, 8rem);
  background: var(--eqp-navy);
  color: #fff;
}

.eqp-lp .eqp-close .eqp-display {
  color: #fff;
}

.eqp-lp .eqp-close__sub {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--eqp-mist);
  font-size: 1.125rem;
}

.eqp-lp .eqp-close .eqp-btn--primary {
  background: #fff;
  border-color: #fff;
  color: var(--eqp-navy);
}

.eqp-lp .eqp-close .eqp-btn--primary:hover {
  background: var(--eqp-paper);
  border-color: var(--eqp-paper);
  color: var(--eqp-navy);
}

.eqp-lp .eqp-close ::selection {
  background: #fff;
  color: var(--eqp-navy);
}

.eqp-lp .eqp-close :focus-visible {
  outline-color: var(--eqp-accent-light);
}

/* ---------------------------------------------------------------
 * Breakpoints
 * ------------------------------------------------------------- */
@media (min-width: 640px) {
  .eqp-lp .eqp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eqp-lp .eqp-step {
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {
  .eqp-lp .eqp-page {
    padding-inline: 2rem;
  }

  .eqp-lp .eqp-hero__grid {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .eqp-lp .eqp-commit__list li {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    padding-block: 2.5rem;
  }

  .eqp-lp .eqp-commit__list .eqp-body {
    padding-top: .25rem;
  }

  .eqp-lp .eqp-org {
    grid-template-columns: 13rem 1fr;
    gap: 2.5rem;
  }

  .eqp-lp .eqp-org__text,
  .eqp-lp .eqp-org__note {
    grid-column-start: 2;
  }
}

@media (min-width: 1024px) {
  .eqp-lp .eqp-page {
    padding-inline: 3rem;
  }

  .eqp-lp .eqp-display--hero {
    font-size: clamp(3rem, 4.7vw, 4.25rem);
    line-height: 1;
  }

  .eqp-lp .eqp-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    padding-block: 5rem;
  }

  .eqp-lp .eqp-hero__text {
    grid-column: span 6;
  }

  .eqp-lp .eqp-hero__figure {
    grid-column: 7 / span 6;
    max-width: none;
  }

  .eqp-lp .eqp-hero__kicker {
    margin-top: 2.5rem;
    font-size: 1.3125rem;
  }

  .eqp-lp .eqp-hero .eqp-actions {
    margin-top: 2.5rem;
  }

  .eqp-lp .eqp-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 5rem;
  }

  .eqp-lp .eqp-step__arrow {
    display: block;
  }

  .eqp-lp .eqp-step__foot {
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .eqp-lp .eqp-loop {
    height: 3rem;
  }

  .eqp-lp .eqp-loop__line {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 1.5rem;
    border: 1px solid rgba(5, 42, 101, .5);
    border-top: 0;
  }

  .eqp-lp .eqp-loop__up {
    display: block;
    position: absolute;
    top: -9px;
    left: -7.5px;
    color: var(--eqp-accent);
  }

  .eqp-lp .eqp-loop__label {
    position: absolute;
    top: 1.5rem;
    left: 37.5%;
    transform: translate(-50%, -50%);
    padding: 0 .75rem;
    border: 0;
    background: var(--eqp-paper);
    white-space: nowrap;
  }

  .eqp-lp .eqp-loop__icon {
    display: none;
  }

  .eqp-lp .eqp-commit {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .eqp-lp .eqp-commit__head {
    grid-column: span 4;
  }

  .eqp-lp .eqp-commit__sticky {
    position: sticky;
    top: 7rem;
  }

  .eqp-lp .eqp-commit__list {
    grid-column: 6 / span 7;
  }

  .eqp-lp .eqp-orgs__head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 3rem;
  }

  .eqp-lp .eqp-orgs__head .eqp-h2 {
    grid-column: span 6;
  }

  .eqp-lp .eqp-orgs__head .eqp-lead {
    grid-column: 8 / span 5;
  }

  .eqp-lp .eqp-orgs {
    margin-top: 5rem;
  }

  .eqp-lp .eqp-org {
    grid-template-columns: 15rem 1fr 1.35fr 1fr;
    align-items: center;
  }

  .eqp-lp .eqp-org__text,
  .eqp-lp .eqp-org__note {
    grid-column-start: auto;
  }

  .eqp-lp .eqp-org__note {
    padding-left: 1.5rem;
    border-left: 1px solid var(--eqp-rule);
  }
}

@media (min-width: 1280px) {
  .eqp-lp .eqp-hero__grid {
    padding-block: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eqp-lp *,
  .eqp-lp *::before,
  .eqp-lp *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
