/* ============================================================================
   ECI organisation pages — How We Deliver Change, ECI Academy
   The 2026 ECI identity, as specified for these pages:
     Primary Teal #007C89 · Deep Teal #005E66 · Warm Amber #E88A2A (accents only)
     Warm Cream #F7F3EA · Soft White #FFFFFF · Charcoal #2F3437 · Light Aqua #5FC7C9
   Everything is scoped under .eci so the rest of the site keeps its current
   look. The shared header and footer stay as they are. The site's own reveal
   (main.js) supplies the fade-up; nothing here animates on its own.
   ============================================================================ */

.eci-body { background: #F7F3EA; color: #2F3437; }

.eci {
  --eci-teal: #007C89;
  --eci-teal-dark: #00666F;
  --eci-deep: #005E66;
  --eci-amber: #E88A2A;
  --eci-cream: #F7F3EA;
  --eci-white: #FFFFFF;
  --eci-ink: #2F3437;
  --eci-aqua: #5FC7C9;
  --eci-muted: #586166;
  --eci-line: rgba(0, 94, 102, 0.16);
  color: var(--eci-ink);
  font-size: 16px;
  line-height: 1.65;
}
.eci *, .eci *::before, .eci *::after { box-sizing: border-box; }
.eci-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eci-narrow { max-width: 760px; }
.eci-center { text-align: center; margin-left: auto; margin-right: auto; }
/* custom.css sets paragraph alignment site-wide and only re-centres inside
   .text-center; centred blocks here need the same exception. */
.eci .eci-center p, .eci .eci-center li { text-align: center; }

/* ---- type ---- */
.eci .eci-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--eci-teal); margin: 0 0 12px; }
.eci .eci-kicker-light { color: var(--eci-aqua); }
.eci .eci-h1 { font-family: Fraunces, Georgia, serif; font-weight: 700; color: var(--eci-deep); font-size: clamp(2.1rem, 4.8vw, 3.4rem); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 18px; }
.eci .eci-h1-light { color: #fff; }
.eci .eci-h2 { font-family: Fraunces, Georgia, serif; font-weight: 700; color: var(--eci-deep); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.18; margin: 0 0 14px; }
.eci .eci-h2-light { color: #fff; }
.eci .eci-h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; color: var(--eci-deep); font-size: 1.3rem; line-height: 1.25; margin: 0 0 8px; }
.eci .eci-sub { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.25rem; color: var(--eci-teal); margin: 0 0 22px; }
.eci .eci-lead { font-size: 1.18rem; line-height: 1.65; color: var(--eci-ink); margin: 0 0 16px; }
.eci .eci-lead-light { color: rgba(255,255,255,.9); }
.eci .eci-text { color: var(--eci-muted); margin: 0; }

/* ---- sections ---- */
.eci-section { padding: 72px 0; }
.eci-white { background: var(--eci-white); }
.eci-deep { background: var(--eci-deep); color: #fff; }
.eci-rule { width: 56px; height: 3px; background: var(--eci-amber); border-radius: 2px; margin: 0 0 22px; }
.eci-center .eci-rule { margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */
.eci-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eci-center .eci-btns { justify-content: center; }
.eci .eci-btn, .eci .eci-btn-ghost, .eci .eci-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.eci .eci-btn { background: var(--eci-teal); color: #fff; }
.eci .eci-btn:hover { background: var(--eci-teal-dark); }
.eci .eci-btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.eci .eci-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.eci .eci-btn-outline { color: var(--eci-deep); border-color: var(--eci-line); background: transparent; }
.eci .eci-btn-outline:hover { border-color: var(--eci-deep); }
.eci .eci-btn:focus-visible, .eci .eci-btn-ghost:focus-visible, .eci .eci-btn-outline:focus-visible { outline: 3px solid var(--eci-amber); outline-offset: 3px; }

/* ---- hero ---- */
.eci-hero { padding: 84px 0 72px; }
.eci-hero-deep { background: var(--eci-deep); position: relative; }
.eci-hero-deep::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--eci-amber); }
.eci-positioning { display: inline-block; margin-top: 26px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--eci-line); background: var(--eci-white); font-size: 14px; font-weight: 600; color: var(--eci-deep); }
.eci-hero-deep .eci-positioning { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }

/* ---- the six-step pathway ---- */
.eci-path { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 18px; counter-reset: none; }
@media (min-width: 720px) { .eci-path { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .eci-path { grid-template-columns: repeat(3, 1fr); } }
.eci-step {
  position: relative; background: var(--eci-white); border: 1px solid var(--eci-line); border-radius: 18px; padding: 26px 24px 24px;
}
.eci-step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.eci-step-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--eci-teal); color: #fff; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.15rem;
}
/* The connector: a short amber line from each number toward the next step. */
.eci-step-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--eci-amber) 0 40%, transparent 40%); background-size: 10px 2px; opacity: .8; }
.eci-step:last-child .eci-step-line { display: none; }
.eci-step p { margin: 0; color: var(--eci-muted); }
.eci-closing { margin-top: 40px; padding: 22px 26px; border-left: 4px solid var(--eci-amber); background: var(--eci-white); border-radius: 0 16px 16px 0; font-family: Fraunces, Georgia, serif; font-size: 1.25rem; line-height: 1.5; color: var(--eci-deep); }

/* ---- where projects sit on the model ---- */
.eci-projects { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 760px) { .eci-projects { grid-template-columns: repeat(2, 1fr); } }
.eci-project { display: block; text-decoration: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 24px; color: #fff; transition: background .15s, border-color .15s; }
.eci-project:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.eci-project-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eci-aqua); margin: 0 0 8px; }
.eci-project-name { font-family: Fraunces, Georgia, serif; font-size: 1.5rem; font-weight: 700; margin: 0 0 6px; }
.eci-project p { margin: 0; color: rgba(255,255,255,.85); }
.eci-project-more { margin-top: 12px; font-weight: 700; color: #fff; }

/* ---- academy pillars ---- */
.eci-pillars { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 720px) { .eci-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .eci-pillars { grid-template-columns: repeat(4, 1fr); } }
.eci-pillar { background: var(--eci-white); border: 1px solid var(--eci-line); border-radius: 18px; padding: 26px 22px; }
.eci-pillar p { margin: 0; color: var(--eci-muted); font-size: 15px; }
.eci-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,124,137,.1); color: var(--eci-teal); margin-bottom: 16px; }
.eci-icon svg { width: 24px; height: 24px; }
.eci-icon-dot { position: relative; }
.eci-icon-dot::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--eci-amber); border: 2px solid #fff; }

/* ---- learning flow ---- */
.eci-flow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .eci-flow { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.eci-flow li { position: relative; padding: 0 0 0 0; }
.eci-flow-card { height: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 22px 18px; }
@media (min-width: 900px) {
  .eci-flow li { padding: 0 10px; }
  .eci-flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 34px; right: -6px; width: 12px; height: 12px; border-top: 2px solid var(--eci-amber); border-right: 2px solid var(--eci-amber); transform: rotate(45deg);
  }
}
.eci-flow-name { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.3rem; color: #fff; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.eci-flow-name span { width: 28px; height: 28px; border-radius: 50%; background: var(--eci-teal); display: grid; place-items: center; font-size: .9rem; font-family: Inter, system-ui, sans-serif; }
.eci-plain { font-weight: inherit; }
.eci-flow-card p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }

/* ---- courses ---- */
.eci-courses { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 720px) { .eci-courses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .eci-courses { grid-template-columns: repeat(3, 1fr); } }
.eci-course { background: var(--eci-white); border: 1px solid var(--eci-line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.eci-course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eci-pillar-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eci-teal); }
.eci-soon { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(232,138,42,.14); color: #8A4B0B; white-space: nowrap; }
.eci-course .eci-h3 { margin: 0; }
.eci-course p { margin: 0; color: var(--eci-muted); font-size: 15px; }
.eci-note { margin-top: 26px; color: var(--eci-muted); font-size: 15px; }

/* ---- fit with the pathway ---- */
.eci-fit { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .eci-fit { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.eci-fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eci-fit-list li { display: flex; gap: 12px; align-items: baseline; background: var(--eci-white); border: 1px solid var(--eci-line); border-radius: 12px; padding: 12px 16px; }
.eci-fit-list b { color: var(--eci-teal); font-family: Fraunces, Georgia, serif; min-width: 1.4em; }

@media (max-width: 520px) {
  .eci-section { padding: 52px 0; }
  .eci-hero { padding: 60px 0 56px; }
  .eci .eci-btn, .eci .eci-btn-ghost, .eci .eci-btn-outline { width: 100%; }
}
