/* ==========================================================================
   The Equitecture® Institute — site home
   Palette and type carried over from the approved design; layout rebuilt
   responsively and the section nesting from the export repaired.
   ========================================================================== */

:root {
  --sand: #F4EFE6;
  --sand-deep: #EBE7DE;
  --card: #FBF8F0;
  --plum: #5F0F40;
  --teal: #0F4C5C;
  --teal-soft: #316471;
  --gold: #F8BB24;
  --orange: #E36414;
  --ink: #1A0A12;
  --muted: #766A6B;
  --rule: rgba(23, 50, 62, .16);
  --sans: 'Open Sans', -apple-system, 'Segoe UI', sans-serif;
  --gutter: 40px;
  --measure: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--plum); }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

img { max-width: 100%; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum);
  color: var(--sand);
  padding: 10px 16px;
  font-size: 13px;
  z-index: 50;
}
.skip:focus { left: 0; color: var(--sand); }

/* ---- Header ------------------------------------------------------------ */

.masthead {
  position: relative;
  z-index: 10;
  padding: 22px 0;
  background: var(--sand);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.wordmark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark img { width: 40px; height: 40px; object-fit: contain; }
.wordmark sup { font-size: 9px; }

.masthead nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.navlink {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.navlink:hover { color: var(--plum); }

/* ---- Table of contents ------------------------------------------------- */

.toc {
  border-bottom: 1px solid var(--rule);
  background: var(--sand);
  position: relative;
  z-index: 9;
}
.toc .grid {
  max-width: var(--measure);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.toc a {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  transition: background .18s ease, color .18s ease;
}
.toc a:hover { background: var(--sand-deep); color: var(--plum); }
.toc a:nth-child(3n) { border-right: 0; }
.toc a:nth-last-child(-n+3) { border-bottom: 0; }
.toc .num { font-style: italic; color: var(--gold); font-size: 12px; }

/* ---- Hero -------------------------------------------------------------- */

.hero { position: relative; padding: 84px 0 76px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 36px;
}
.hero-split img { width: 100%; height: auto; display: block; }
.hero-narrative { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
.hero-narrative p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; }
.hero-narrative p.teal { color: var(--teal); }
.hero-narrative p.mark { color: var(--plum); font-weight: 700; }
.hero-narrative p.coda {
  font-size: clamp(20px, 2vw, 24px);
  font-style: italic;
  color: var(--plum);
  line-height: 1.4;
  margin-top: 12px;
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--plum);
  margin: 0 0 30px;
  max-width: 10ch;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--teal); }
.hero h1 sup { font-size: .28em; }

.hero-claim {
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--teal);
  max-width: 560px;
  margin: 0 0 32px clamp(0px, 8vw, 130px);
  padding-left: 22px;
  border-left: 2px solid var(--gold);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: clamp(0px, 8vw, 130px);
}

/* ---- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 2px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--plum); color: var(--sand); }
.btn-solid:hover { background: var(--teal); color: var(--sand); }
.btn-ghost { border: 1px solid var(--teal); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--sand); }

/* ---- Sections ---------------------------------------------------------- */

section { position: relative; }
.band-deep { background: var(--sand-deep); padding: 88px 0; }
.band-light { background: var(--sand); padding: 76px 0 88px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-weight: 600;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--plum);
  margin: 10px 0 0;
  line-height: 1.05;
}
.section-head .aside {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  max-width: 260px;
  text-align: right;
  line-height: 1.5;
  margin: 0;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.tag .chip {
  width: 26px; height: 26px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ---- Perspective cards ------------------------------------------------- */

.perspectives { position: relative; }
.perspectives .thread {
  position: absolute;
  top: 60px; left: 0; right: 0;
  height: 340px;
  width: 100%;
  pointer-events: none;
  opacity: .6;
  z-index: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  position: relative;
  z-index: 1;
  align-items: start;
}
.card {
  background: var(--sand-deep);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--teal-soft); transform: translateY(-3px); }
.card .cap { display: flex; align-items: center; gap: 12px; }
.card .glyph {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sand);
  flex: none;
}
.card .glyph.teal { background: var(--teal); }
.card .glyph.plum { background: var(--plum); }
.card .glyph.orange { background: var(--orange); }
.card .cap span {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-soft);
}
.card h3 { font-weight: 600; font-size: 24px; color: var(--ink); margin: 0; line-height: 1.15; }
.card p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.card em { font-style: italic; color: var(--ink); }

/* ---- Pedagogy ---------------------------------------------------------- */

.pedagogy { margin-top: 56px; padding-top: 28px; border-top: 1px dashed var(--rule); }
.pedagogy h2 { font-weight: 600; font-size: clamp(26px, 3.4vw, 32px); color: var(--plum); margin: 0 0 20px; line-height: 1.1; }
.pedagogy p, .pedagogy div.body { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 760px; }
.pedagogy ul { margin: 8px 0 16px; padding-left: 20px; }
.pedagogy li { margin-bottom: 4px; }
.pedagogy b { color: var(--ink); }
.pedagogy .said { color: var(--ink); }

.metrics { display: flex; gap: 64px; flex-wrap: wrap; margin-top: 24px; }
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric .n { font-weight: 600; font-size: clamp(40px, 5vw, 56px); color: var(--plum); line-height: 1; }
.metric .l { font-size: 13px; color: var(--muted); line-height: 1.4; max-width: 220px; }
.metric .l em { font-style: italic; }

.pullquote {
  text-align: center;
  margin: 54px auto 0;
  max-width: 820px;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.22;
  color: var(--plum);
}
.pullquote .glyph {
  display: block;
  font-style: normal;
  font-size: 56px;
  line-height: .6;
  color: var(--gold);
  margin: 0 auto 14px;
}

/* ---- Shift cards ------------------------------------------------------- */

.shift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.shift {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--plum);
  border-radius: 4px;
  padding: 18px 18px 16px;
}
.shift.teal { border-left-color: var(--teal); }
.shift .arrow { position: absolute; top: 20px; right: 20px; opacity: .75; }
.shift .n { font-weight: 600; line-height: 1; margin: 0 0 8px; font-size: 24px; color: var(--plum); }
.shift.teal .n { color: var(--teal); }
.shift .t { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.shift .d { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 0; }

.note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 820px;
  margin: -20px 0 32px;
}
.callout {
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--plum);
  max-width: 820px;
  margin: 0 0 40px auto;
  text-align: right;
  border: 1px solid var(--ink);
  padding: 16px;
}
.callout b { color: var(--teal); }

/* ---- The Problem band -------------------------------------------------- */

.problem {
  padding: 56px 0;
  text-align: center;
  background: var(--sand-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.problem .q { font-size: 15px; color: var(--muted); display: block; margin-bottom: 34px; }
.problem h3 {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin: 40px 0 14px;
}
.problem h3:first-of-type { margin-top: 0; }
.problem p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--teal);
  max-width: 680px;
  margin: 0 auto 8px;
}

/* ---- Leadership evolution --------------------------------------------- */

.evolution { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.evolution p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; }
.evolution h3 {
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 20px 0 0;
}

/* ---- Upcoming works ---------------------------------------------------- */

.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.work {
  border: 1px dashed var(--rule);
  border-radius: 10px;
  padding: 30px 28px;
  background: transparent;
}
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.work h3 { font-weight: 600; font-size: 22px; color: var(--plum); margin: 0 0 12px; line-height: 1.2; }
.work p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---- Advisory invitation ---------------------------------------------- */

.invite {
  background: var(--plum);
  color: var(--sand);
  padding: 72px 0;
}
.invite .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 48px;
  align-items: center;
}
.invite .tag { color: var(--gold); }
.invite .tag .chip { border-color: rgba(244, 239, 230, .35); }
.invite h2 {
  font-weight: 600;
  font-size: clamp(28px, 4vw, 38px);
  margin: 12px 0 16px;
  line-height: 1.08;
  color: var(--sand);
}
.invite p { font-size: 16px; line-height: 1.65; color: rgba(244, 239, 230, .82); margin: 0; max-width: 560px; }
.invite .actions { display: flex; flex-direction: column; gap: 12px; }
.invite .btn-solid { background: var(--gold); color: var(--ink); }
.invite .btn-solid:hover { background: var(--sand); color: var(--plum); }
.invite .btn-ghost { border-color: rgba(244, 239, 230, .55); color: var(--sand); }
.invite .btn-ghost:hover { background: var(--sand); color: var(--plum); }

/* ---- Offers (Services page) -------------------------------------------- */

.page-head { max-width: 820px; margin-bottom: 44px; }
.page-head h1 {
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 42px);
  color: var(--plum);
  margin: 10px 0 24px;
  line-height: 1.05;
}
.page-head .lede { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.page-head .lede b { color: var(--ink); }

.pullquote.left { text-align: left; margin-left: 0; margin-right: auto; }
.pullquote.left .glyph { margin-left: 0; }

.offers { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.offer {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding: 38px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 24px;
}
.offer:nth-child(even) { margin-left: 6%; }
.offer:nth-child(odd) { margin-right: 6%; }
.offer .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  flex: none;
}
.offer .icon.gold { color: var(--gold); }
.offer .icon.orange { color: var(--orange); }
.offer .icon.plum { color: var(--plum); }
.offer .icon.teal { color: var(--teal); }
.offer h2 {
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 25px);
  color: var(--plum);
  margin: 2px 0 12px;
  line-height: 1.2;
}
.offer h2 sup { font-size: .44em; }
.offer h2 .go { color: var(--orange); font-size: 14px; }
.offer h2 a:hover { color: var(--teal); }
.offer p { font-size: 14.5px; line-height: 1.68; color: var(--muted); margin: 0 0 12px; max-width: 600px; }
.offer ul { font-size: 14.5px; line-height: 1.68; color: var(--muted); margin: 0 0 12px; padding-left: 20px; max-width: 600px; }
.offer li { margin-bottom: 4px; }
.offer li:last-child { margin-bottom: 0; }
.offer p:last-child { margin-bottom: 0; }

.offers-seal { display: flex; justify-content: center; margin-top: 56px; }
.offers-coda {
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--teal);
  max-width: 660px;
  margin: 20px auto 0;
  text-align: center;
}
.offers-coda em { font-style: italic; color: var(--orange); font-weight: 600; }

/* ---- Footer ------------------------------------------------------------ */

.sitefoot {
  position: relative;
  padding: 44px 0 54px;
  border-top: 1px solid var(--rule);
  overflow: hidden;
  background: var(--sand);
}
.sitefoot .orbit {
  position: absolute;
  right: -40px; top: -30px;
  width: 180px; height: 140px;
  opacity: .5;
  pointer-events: none;
}
.sitefoot .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.sitefoot .mark {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-soft);
}
.sitefoot .mark img { width: 22px; height: 22px; object-fit: contain; }
.sitefoot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.sitefoot nav a {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.sitefoot .fineprint {
  margin: 22px 0 0;
  font-size: 11px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

/* ---- Motion ------------------------------------------------------------ */

.reveal { animation: rise .8s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .toc .grid { grid-template-columns: repeat(2, 1fr); }
  .toc a:nth-child(3n) { border-right: 1px solid var(--rule); }
  .toc a:nth-child(2n) { border-right: 0; }
  .toc a:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .toc a:nth-last-child(-n+2) { border-bottom: 0; }
  .hero { padding: 56px 0; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-split img { max-width: 300px; }
  .hero-narrative p { font-size: 16px; }
  .hero-claim, .hero-actions { margin-left: 0; }
  .band-deep, .band-light { padding: 60px 0; }
  .section-head .aside { text-align: left; max-width: none; }
  .perspectives .thread { display: none; }
  .metrics { gap: 32px; }
  .callout { text-align: left; margin-left: 0; }
  .invite .wrap { grid-template-columns: 1fr; gap: 28px; }
  .invite { padding: 56px 0; }
  .problem p, .problem h3 { text-align: left; }
  .problem { text-align: left; }
  .problem p { margin-left: 0; }
  .offer:nth-child(even), .offer:nth-child(odd) { margin-left: 0; margin-right: 0; }
  .page-head { margin-bottom: 32px; }
}

@media (max-width: 560px) {
  .toc .grid { grid-template-columns: 1fr; }
  .toc a { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; justify-content: flex-start; }
  .toc a:last-child { border-bottom: 0 !important; }
  .masthead nav { gap: 16px; }
  .card-grid { gap: 20px; }
  .hero-narrative p { font-size: 15.5px; }
  .offer { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 30px 0; }
  .offer .icon { width: 44px; height: 44px; }
}
