/* =====================================================================
   EXOLEADERS INSTITUTE — site stylesheet

   1. Design tokens      5. Header and footer
   2. Base               6. Homepage sections
   3. Layout             7. Inner pages
   4. Components         8. Responsive
   ===================================================================== */


/* ---------- 1. Design tokens ---------- */

:root {
  --navy: #0a1630;
  --navy-deep: #07102a;
  --gold: #c38f2c;
  --gold-light: #dcb46a;
  --gold-dark: #9d7020;
  --cream: #f3f1ec;
  --cream-2: #fbfaf7;
  --ink: #15203a;
  --muted: #4d566a;
  --muted-light: #aab1c2;
  --line: #e2ddd1;
  --line-dark: rgba(195, 143, 44, .45);

  --font-display: "Cormorant Garamond", "Noto Serif CJK SC", Lora, Georgia, serif;
  --font-sans: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1320px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(12, 22, 48, .09);
  --shadow-lg: 0 22px 60px rgba(12, 22, 48, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* ---------- 2. Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-title {
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 25px);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.gold-text {
  background: linear-gradient(180deg, #e9c47e, #b98530);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Icons come from the <svg> sprite at the bottom of every page.
   They are sized with font-size and coloured with color. */
.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.arrow {
  font-family: "DejaVu Sans", "Segoe UI Symbol", sans-serif;
  font-size: 1.1em;
  line-height: 1;
}


/* ---------- 3. Layout ---------- */

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section--dark {
  background: var(--navy);
  color: #fff;
}

.section--deep {
  background: radial-gradient(ellipse at 50% 45%, #12234a 0%, #0a1630 60%, #081229 100%);
  color: #fff;
}

.section--cream {
  background: var(--cream);
}

.center {
  text-align: center;
}

/* A heading with a short gold line either side */
.rule-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 38px;
}

.rule-title::before,
.rule-title::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.68;
  color: var(--muted);
}

.section--dark .lead,
.section--deep .lead {
  color: #d9dce5;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}


/* ---------- 4. Components ---------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font: 600 12.5px/1 var(--font-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--solid {
  background: linear-gradient(180deg, #cf9d3a, #b5832a);
  color: #fff;
  box-shadow: 0 8px 20px rgba(160, 116, 36, .28);
}

.btn--solid:hover {
  box-shadow: 0 12px 26px rgba(160, 116, 36, .38);
}

.btn--ghost {
  border-color: rgba(220, 180, 106, .7);
  color: #f3e7cf;
}

.btn--ghost:hover {
  background: rgba(220, 180, 106, .12);
}

.btn--outline {
  border-color: #c9b58d;
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
}

.btn--outline:hover {
  background: #fff;
}

/* Cards (insight articles) */
.card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pill {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font: 600 9.5px/1 var(--font-sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 9px;
}

/* Tiles (icon + heading + text boxes on inner pages) */
.tile {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tile .icon {
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 16px;
}

.tile h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tile p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

.section--dark .tile,
.section--deep .tile {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
}

.section--dark .tile p,
.section--deep .tile p {
  color: #c4cad8;
}

.section--dark .tile .icon,
.section--deep .tile .icon {
  color: var(--gold-light);
}

.panel {
  border: 1px solid var(--line-dark);
  padding: 30px 28px;
  border-radius: var(--radius);
}

/* Fade-and-rise on scroll. main.js adds .is-visible as each block enters the screen. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ---------- 5. Header ---------- */

/* Sits over the hero image; main.js adds .is-solid once the page scrolls */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

.site-header.is-solid {
  position: fixed;
  background: rgba(8, 17, 40, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .35);
  animation: drop .35s var(--ease);
}

@keyframes drop {
  from { transform: translateY(-100%); }
  to   { transform: none; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 92px;
  width: min(100% - 44px, 1600px);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: none;
  color: #d2a65a;
}

.brand .icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.6;
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 29px;
  letter-spacing: .09em;
  color: #f5f1e8;
  line-height: 1;
  white-space: nowrap;
}

.brand__tag {
  display: block;
  font-size: 8.2px;
  letter-spacing: .16em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1.4;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #e9e6de;
}

.nav__menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}

/* Gold underline that grows on hover and stays on the current page */
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-light);
  transition: right .3s var(--ease);
}

.nav__menu a:hover::after,
.nav__menu a.is-active::after {
  right: 0;
}

.nav__menu .arrow {
  color: var(--gold-light);
  font-size: 12px;
}

.nav__cta {
  flex: none;
  padding: 12px 16px;
  font-size: 11px;
  color: var(--gold-light);
  border: 1px solid rgba(220, 180, 106, .7);
  white-space: nowrap;
}

.nav__cta:hover {
  background: rgba(220, 180, 106, .12);
}

/* Mobile menu button: three bars that turn into an X when open */
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: none;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: #fff;
  transition: .3s var(--ease);
}

.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}


/* ---------- 5b. Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #aeb3c1;
  padding: 52px 0 22px;
  font-size: 12px;
}

.site-footer .wrap {
  width: min(100% - 44px, 1460px);
}

.footer__top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
}

.footer__col b {
  display: block;
  font: 700 10.5px/1.6 var(--font-sans);
  letter-spacing: .07em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer__col a {
  display: block;
  line-height: 2;
  color: #aeb3c1;
  transition: color .2s;
}

.footer__col a:hover {
  color: var(--gold-light);
}

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #33405f;
  display: grid;
  place-items: center;
  color: #fff;
  transition: .25s var(--ease);
}

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer__social .icon {
  width: 17px;
  height: 17px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid #1f2b4a;
  margin-top: 34px;
  padding-top: 16px;
  color: #9aa0b0;
  font-size: 11.5px;
}

.footer__bottom nav {
  display: flex;
  gap: 28px;
}


/* ---------- 6. Homepage sections ---------- */

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* Darkens the left of the photo so the headline stays readable */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 22, 48, .2) 40%, rgba(10, 22, 48, 0) 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 150px 0 70px;
  width: min(100% - 48px, 1600px);
  margin-inline: auto;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.1;
}

.hero__bar {
  width: 62px;
  height: 2px;
  background: var(--gold);
  margin: 30px 0 26px;
}

.hero__text {
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.62;
  color: #dcdde3;
  max-width: 470px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}

/* What is Exponential Architecture */
.what {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: start;
}

.what__left {
  border-right: 1px solid #d8c8a4;
  padding-right: 46px;
}

.what__lead {
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 500;
  color: #2a3246;
  max-width: 440px;
  margin-top: 16px;
}

.steps {
  display: flex;
  align-items: flex-start;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 4px;
}

.step {
  width: 120px;
  text-align: center;
}

.step__circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--navy);
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 30px;
}

.step b {
  display: block;
  font: 700 13px/1 var(--font-sans);
  letter-spacing: .04em;
  margin-top: 18px;
}

.step small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 7px;
}

.step__arrow {
  color: var(--gold);
  font-size: 28px;
  width: 40px;
  text-align: center;
  margin-top: 14px;
  font-weight: 300;
}

.impact-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: #3a4256;
  padding: 9px 0;
}

.impact-list .icon {
  font-size: 28px;
  color: var(--gold);
}

/* Master architecture (also used on the Exponential Architecture page) */
.arch {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  gap: 26px;
  align-items: start;
}

.arch__diagram {
  width: 100%;
}

.arch__panel h4 {
  text-align: center;
  color: var(--gold-light);
  font: 700 13px/1.7 var(--font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.arch__panel li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13.5px;
  color: #e5e6ec;
  line-height: 1.35;
  padding: 9px 0;
}

.arch__panel .bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

/* EABOK */
.eabok {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 60px;
  align-items: center;
}

.eabok__features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 22px;
}

.eabok__features div {
  text-align: center;
  font-size: 13.5px;
  color: #4a5264;
  line-height: 1.5;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}

.eabok__features div:last-child {
  border-right: 0;
}

.eabok__features .icon {
  font-size: 38px;
  color: #7a6a4a;
  margin: 0 auto 12px;
}

/* Certification pathway */
.cert-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
}

.cert-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: linear-gradient(135deg, #f5f1e8, #ebe5d8);
  border-radius: 6px;
  color: var(--ink);
  display: flex;
  gap: 22px;
  padding: 28px 24px;
}

.cert-card--mid {
  background: linear-gradient(135deg, #e9edf3, #dfe5ee);
}

.cert-card__badge {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 44px;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #dca94a, #a8761f);
}

.cert-card--mid .cert-card__badge {
  background: radial-gradient(circle at 35% 30%, #1e3363, #0b1733);
}

.cert-card b {
  display: block;
  font: 700 13px/1.55 var(--font-sans);
  letter-spacing: .04em;
}

.cert-card p {
  font-size: 12.5px;
  color: #4d5568;
  line-height: 1.55;
  margin: 12px 0 0;
}

.cert-arrow {
  align-self: center;
  color: var(--gold-light);
  font-size: 28px;
}

.cert-feats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px 48px;
  margin-top: 34px;
}

.cert-feats > div {
  display: flex;
  gap: 16px;
  width: 205px;
}

.cert-feats .icon {
  font-size: 42px;
  color: var(--gold-light);
}

.cert-feats b {
  display: block;
  font: 600 14px/1.35 var(--font-sans);
}

.cert-feats small {
  display: block;
  font-size: 12.5px;
  color: var(--muted-light);
  line-height: 1.45;
  margin-top: 4px;
}

/* Research and insights */
/* Three columns: empty | title | "View all" link, which keeps the title centred */
.insights__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.insights__head h2 {
  grid-column: 2;
  margin-bottom: 0;
}

.insights__all {
  justify-self: end;
  font: 500 12.5px/1 var(--font-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3a4256;
}

.insight-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.insight-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Pulls the category pill up so it overlaps the bottom of the image */
.insight-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  margin-top: -13px;
  position: relative;
}

.insight-card__date {
  font-size: 11px;
  color: #7a8090;
  letter-spacing: .04em;
  margin-top: 13px;
}

.insight-card h3 {
  font: 600 16.5px/1.45 var(--font-sans);
  padding: 16px 16px 0;
}

.insight-card p {
  font-size: 13.5px;
  color: #555d6f;
  line-height: 1.55;
  padding: 8px 16px 0;
  flex: 1;
}

.insight-card .more {
  font-size: 13px;
  font-weight: 500;
  padding: 12px 16px 18px;
  color: var(--ink);
}

.insight-card:hover .more {
  color: var(--gold-dark);
}

/* From architecture to practice (also used on the Practice page) */
.practice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.practice__left {
  border-right: 1px solid var(--line-dark);
  padding-right: 46px;
}

.practice h3 {
  font-size: 20px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
}

.practice h3::after {
  content: "";
  flex: 1;
  max-width: 44px;
  height: 1px;
  background: var(--gold);
}

.practice p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #dfe1e8;
  max-width: 480px;
}

.ms-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.ms-logo img {
  width: 68px;
}

.ms-logo__name {
  font: 600 40px/1 var(--font-sans);
  letter-spacing: .05em;
  color: #fff;
}

.ms-logo__sub {
  display: block;
  font: 500 15px/1 var(--font-sans);
  letter-spacing: .34em;
  color: #c9ccd6;
  margin-top: 8px;
}

.ms-services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 34px;
  margin-top: 34px;
}

.ms-services div {
  width: 132px;
  text-align: center;
  font: 600 13.5px/1.4 var(--font-sans);
  letter-spacing: .04em;
}

.ms-services .icon {
  font-size: 50px;
  color: #e6e7ec;
  margin: 0 auto 12px;
}

/* Founder (also used on the Founder page) */
.founder {
  display: grid;
  grid-template-columns: 232px minmax(280px, 380px) 1fr;
  gap: 30px;
  align-items: center;
}

.founder__photo {
  width: 232px;
  height: 232px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 0 0 4px #fff, 0 10px 30px rgba(10, 22, 48, .2);
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.founder__eyebrow {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .1em;
  color: #555;
  text-transform: uppercase;
}

.founder h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  margin: 6px 0 8px;
}

.founder p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.founder__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.founder__stats div {
  text-align: center;
  border-left: 1px solid #ddd5c5;
  padding: 4px 10px;
}

.founder__stats .icon {
  font-size: 44px;
  color: #6e6048;
  margin: 0 auto;
}

.founder__stats b {
  display: block;
  font: 700 30px/1.1 var(--font-sans);
  margin-top: 8px;
}

.founder__stats span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}


/* ---------- 7. Inner pages ---------- */

/* Banner at the top of every inner page */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 170px 0 74px;
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  font: 600 11.5px/1 var(--font-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 58px);
  margin: 16px 0 18px;
}

.page-hero p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.65;
  color: #d7dae3;
  margin: 0;
}

.breadcrumb {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9aa6c2;
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

/* Running text */
.prose h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 14px;
}

.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 8px;
}

.prose p {
  color: var(--muted);
  line-height: 1.75;
}

.section--dark .prose p,
.section--deep .prose p {
  color: #d9dce5;
}

/* List with gold tick marks */
.prose ul.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--muted);
}

.prose ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* Two equal columns */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-row b {
  display: block;
  font: 700 34px/1.1 var(--font-sans);
  color: var(--gold);
}

.stat-row span {
  font-size: 13.5px;
  color: var(--muted);
}

/* Vertical line with a gold dot per item */
.timeline {
  border-left: 1px solid var(--line-dark);
  padding-left: 30px;
}

.timeline li {
  position: relative;
  padding-bottom: 28px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.timeline p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.section--dark .timeline p,
.section--deep .timeline p {
  color: #c4cad8;
}

/* Call-to-action box at the end of inner pages */
.cta-band {
  background: linear-gradient(120deg, #0b1732, #123159);
  color: #fff;
  text-align: center;
  padding: 66px 24px;
  border-radius: var(--radius);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 12px;
}

.cta-band p {
  color: #d4d9e5;
  max-width: 640px;
  margin: 0 auto 26px;
}

/* Forms (Contact and Verify Credential) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font: 600 11.5px/1 var(--font-sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--gold-light);
  border-color: transparent;
}

/* Spans both form columns */
.full {
  grid-column: 1 / -1;
}

/* Hidden until main.js shows it after a demo form is submitted */
.form-note {
  display: none;
  font-size: 14px;
  color: var(--muted);
}

/* Email / phone / location lines on the Contact page */
.contact-line {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-line .icon {
  font-size: 22px;
  color: var(--gold);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

table.data th,
table.data td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

table.data th {
  font: 700 11.5px/1 var(--font-sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
}

table.data td {
  color: var(--muted);
}


/* ---------- 8. Responsive ---------- */

/* Tighten the navigation as the screen narrows */
@media (max-width: 1500px) {
  .nav {
    gap: 14px;
  }

  .nav__menu {
    gap: 16px;
    font-size: 10px;
  }

  .nav__cta {
    padding: 10px 12px;
    font-size: 10px;
  }

  .brand__word {
    font-size: 26px;
  }

  .brand .icon {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 1300px) {
  .nav__menu {
    gap: 14px;
    font-size: 9.8px;
  }

  .nav__cta {
    padding: 10px 11px;
    font-size: 9.8px;
  }
}

/* Tablet: switch to the menu button */
@media (max-width: 1180px) {
  .nav__menu,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: rgba(8, 17, 40, .985);
    padding: 14px 24px 26px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  }

  .nav__menu.is-open a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px;
  }

  .arch {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .arch__panel {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }

  .founder {
    grid-template-columns: 200px 1fr;
    gap: 28px;
  }

  .founder__stats {
    grid-column: 1 / -1;
    margin-top: 10px;
  }
}

/* Small tablet: stack two-column layouts */
@media (max-width: 900px) {
  .what {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .what__left {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid #d8c8a4;
    padding-bottom: 32px;
  }

  .eabok {
    grid-template-columns: 1fr;
    gap: 34px;
    justify-items: center;
    text-align: center;
  }

  .eabok__book {
    max-width: 260px;
  }

  .eabok__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
  }

  .eabok__features div {
    border-right: 0;
    padding: 0 8px;
  }

  .practice {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .practice__left {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 30px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .founder {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .founder__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    width: 100%;
  }

  .founder__stats div:nth-child(odd) {
    border-left: 0;
  }

  .hero {
    min-height: 560px;
  }

  .hero__media img {
    object-position: 72% center;
  }

  /* On narrow screens the text sits over the whole photo, so darken all of it */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(8, 17, 40, .72), rgba(8, 17, 40, .42) 55%, rgba(8, 17, 40, .75));
  }
}

/* Wide tables scroll sideways instead of squashing */
@media (max-width: 760px) {
  table.data {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Phone */
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .nav {
    height: 78px;
    width: calc(100% - 32px);
  }

  .nav__menu.is-open {
    top: 78px;
  }

  .brand__word {
    font-size: 23px;
  }

  .brand .icon {
    width: 42px;
    height: 42px;
  }

  .brand__tag {
    font-size: 7px;
    letter-spacing: .1em;
  }

  .hero__inner {
    padding-top: 120px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    justify-content: center;
  }

  .step__arrow,
  .cert-arrow {
    display: none;
  }

  .eabok__features {
    grid-template-columns: 1fr;
  }

  .founder__stats {
    grid-template-columns: 1fr;
  }

  .founder__stats div {
    border-left: 0;
    border-top: 1px solid #ddd5c5;
    padding-top: 18px;
  }
}

/* Respect the "reduce motion" setting in the visitor's operating system */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
