/* 77 Capital — components. No borders between sections, no shadows,
   no gradients, no glass. Fills only on buttons, tiles, chips and marks. */

/* ---------- Chamfer (the cut corner from CAPITAL) ---------- */
.chamfer {
  --c: var(--ch-sm);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}

/* ---------- Buttons & links ---------- */
.btn {
  --c: var(--ch-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 52px;
  padding: 0 1.5rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:hover { background: #2A2A2A; }
.btn:active { background: #000; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #E6FF85; }
.btn--sm { min-height: 44px; padding: 0 1.125rem; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn:focus-visible { outline-offset: 4px; }

.arrow { display: inline-block; transition: transform var(--dur-base) var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-thickness var(--dur-fast) var(--ease);
}
.link:hover { text-decoration-thickness: 4px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-8); }

.inline-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.inline-link:hover { text-decoration-thickness: 2px; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bone);
  transition: transform var(--dur-base) var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  min-height: var(--header-h);
}
.brand-link { display: inline-flex; flex: none; text-decoration: none; }
.brand-link img { width: auto; height: 32px; }

.site-nav { display: flex; align-items: center; gap: var(--s-8); }
.site-nav__list { display: flex; gap: var(--s-6); list-style: none; }
.site-nav__link {
  display: inline-block;
  padding: var(--s-2) 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}
.site-nav__link:hover { text-decoration-line: underline; }
.site-nav__link[aria-current="page"] { text-decoration-line: underline; text-decoration-thickness: 3px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  padding: 0 var(--s-2);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle__bars span { display: block; height: 2px; background: var(--ink); transition: transform var(--dur-base) var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 1rem + 6vw, 7rem); }
.hero__title { max-width: 14ch; }
.hero__body { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero .lead { margin-bottom: var(--s-8); }

/* The seven diagonal: a solid parallelogram like the stem of the 7. */
.slash {
  display: inline-block;
  width: 0.42em;
  height: 0.78em;
  margin-left: 0.12em;
  background: var(--signal);
  clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
  vertical-align: baseline;
}

/* Page heroes on inner pages: title + a fact list. */
.page-hero { padding-top: clamp(3rem, 1rem + 5vw, 6rem); }
.page-hero .h1 { max-width: 13ch; }
.facts { list-style: none; display: grid; gap: var(--s-6); }
.facts dt, .facts .facts__k { margin-bottom: var(--s-1); }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.15; text-transform: uppercase; }

/* ---------- The two sevens ---------- */
.sevens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.seven__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 3rem + 12vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.seven__unit {
  display: block;
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  text-transform: uppercase;
}
.seven p { margin-top: var(--s-4); max-width: 36ch; color: var(--color-text-2); }

/* ---------- Numbered list (principles, criteria) ---------- */
.numbered { list-style: none; counter-reset: n; display: grid; gap: var(--s-12); }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--s-4); }
.numbered > li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  padding-top: 0.45em;
}
.numbered h3 { margin-bottom: var(--s-3); }
.numbered p { max-width: 58ch; color: var(--color-text-2); }

.numbered--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }

/* ---------- Focus areas / feature columns ---------- */
.cols { display: grid; gap: var(--s-12) var(--gap); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col h3 { margin: var(--s-6) 0 var(--s-3); }
.col p { color: var(--color-text-2); }
.col .meta { display: block; }

/* ---------- Tiles: chamfered Ink squares for marks, numbers, initials ---------- */
.tile {
  --c: var(--ch-md);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.tile--lg { width: 96px; height: 96px; font-size: 2rem; --c: 18px; }
.tile--xl { width: 100%; height: auto; aspect-ratio: 4 / 5; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); --c: var(--ch-lg); }
.tile--signal { background: var(--signal); color: var(--ink); }
.tile--stone { background: var(--stone); color: var(--ink); }
.tile svg { width: 44%; height: auto; }

/* ---------- Seven-day bar ---------- */
.days { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; gap: var(--s-4); }
.day__bar {
  --c: 6px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.day:last-child .day__bar { background: var(--signal); }
.day__n { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; }
.day__t { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.0625rem; line-height: 1.15; }
.day p { font-size: var(--fs-small); color: var(--color-text-2); }

/* ---------- Steps (process) ---------- */
.steps { list-style: none; display: grid; gap: var(--s-12) var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step .tile { width: 52px; height: 52px; font-size: 1.125rem; --c: 10px; }
.step h3 { margin: var(--s-6) 0 var(--s-3); }
.step p { color: var(--color-text-2); }

/* ---------- Phases (accelerator) ---------- */
.phases { list-style: none; display: grid; gap: var(--s-16); }
.phase { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--gap); }
.phase__days { grid-column: 1 / span 4; }
.phase__days .figure { display: block; }
.phase__body { grid-column: 5 / span 8; }
.phase__body h3 { margin-bottom: var(--s-4); }
.phase__body ul { list-style: none; margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.phase__body li { padding-left: 1.75rem; position: relative; }
.phase__body li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 10px; height: 12px;
  background: var(--ink);
  clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
}

/* ---------- Ticks list ---------- */
.ticks { list-style: none; display: grid; gap: var(--s-4); }
.ticks li { position: relative; padding-left: 1.75rem; max-width: 60ch; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 10px; height: 12px;
  background: var(--ink);
  clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
}

/* ---------- Statements (large quotes / pull lines) ---------- */
.statement {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--fs-h2);
  line-height: 1.02;
  max-width: 22ch;
}
.quote { margin: 0; }
.quote p { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.1; max-width: 26ch; }
.quote footer { margin-top: var(--s-6); }

/* ---------- Chips: sample labels, tags, filters ---------- */
.chip {
  --c: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.25rem 0.55rem;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.chip--ink { background: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filter {
  --c: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  padding: 0 1rem;
  background: var(--stone);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.filter:hover { background: #CFCFCF; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter__count { font-family: var(--font-mono); font-weight: 400; font-size: 0.75rem; }
.filter-status { margin-top: var(--s-4); }

/* ---------- Companies ---------- */
.companies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-16) var(--gap); }
.companies--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.company[hidden] { display: none; }
.company__name { margin: var(--s-6) 0 var(--s-2); }
.company__meta { display: block; margin-bottom: var(--s-3); }
.company p { color: var(--color-text-2); font-size: var(--fs-small); max-width: 36ch; }
.company .chips { margin-top: var(--s-4); }
.empty { margin-top: var(--s-8); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-12) var(--gap); list-style: none; }
.stat .figure { display: block; }
.stat .figure small { font-size: 0.45em; letter-spacing: 0; }
.stat p { margin-top: var(--s-4); color: var(--color-text-2); font-size: var(--fs-small); max-width: 26ch; }
.note { margin-top: var(--s-8); font-size: var(--fs-small); color: var(--color-text-2); max-width: 70ch; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-16) var(--gap); }
.people--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.person__name { margin: var(--s-6) 0 var(--s-1); }
.person__role { display: block; margin-bottom: var(--s-4); }
.person p { color: var(--color-text-2); font-size: var(--fs-small); max-width: 46ch; }
.person .chips { margin-top: var(--s-4); }
.person .tile--xl { max-width: 360px; }
.people--2 .tile--xl { aspect-ratio: 1 / 1; max-width: 220px; }

/* ---------- Insights ---------- */
.feature-article .h2 { max-width: 20ch; }
.articles { display: grid; gap: var(--s-12); }
.article[hidden] { display: none; }
.article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4) var(--gap); }
.article__meta { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: var(--s-1); }
.article__main { grid-column: 4 / span 7; }
.article__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: var(--fs-h3); line-height: 1.1; }
.article__dek { margin-top: var(--s-3); color: var(--color-text-2); max-width: 60ch; }

.reader { margin-top: var(--s-4); }
.reader summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.reader summary::-webkit-details-marker { display: none; }
.reader summary .arrow { transition: transform var(--dur-base) var(--ease); }
.reader[open] summary .arrow { transform: rotate(90deg); }
.reader[open] .when-closed, .reader:not([open]) .when-open { display: none; }
.reader__body { margin-top: var(--s-4); max-width: var(--measure); }
.reader__body p + p, .reader__body p + ul, .reader__body ul + p { margin-top: var(--s-4); }
.reader__body ul { padding-left: 1.25rem; }
.reader__body li + li { margin-top: var(--s-2); }

.essay { max-width: var(--measure); }
.essay h3 { margin: var(--s-12) 0 var(--s-3); }
.essay p { margin-bottom: var(--s-4); }

.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-12) var(--gap); }
.topic h3 { margin-bottom: var(--s-3); }
.topic p { color: var(--color-text-2); font-size: var(--fs-small); }
.topic button { margin-top: var(--s-4); background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--gap); }
.form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: var(--s-2); grid-column: span 2; }
.field--half { grid-column: span 1; }
.field label, .field .field__label { font-weight: 500; font-size: var(--fs-small); }
.field .opt { font-weight: 400; color: var(--color-text-2); }
.field__hint { font-size: 0.875rem; color: var(--color-text-2); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--stone);
  border-radius: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  padding-right: 2rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230A0A0A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.input::placeholder, .textarea::placeholder { color: #767676; }
.input:hover, .select:hover, .textarea:hover { border-bottom-color: #A8A8A8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-bottom-color: var(--error); }
.field__error { min-height: 0; font-size: 0.875rem; color: var(--error); font-weight: 500; }
.field__error:empty { display: none; }

.choice { grid-column: span 2; display: flex; flex-direction: column; gap: var(--s-2); }
.choice label { display: flex; gap: var(--s-3); align-items: flex-start; cursor: pointer; font-size: var(--fs-small); max-width: 60ch; }
.choice input {
  flex: none;
  width: 22px; height: 22px;
  margin: 1px 0 0;
  background: var(--stone);
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.choice input:checked { background: var(--ink); }
.choice input:checked::after {
  content: "";
  width: 6px; height: 11px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.choice.is-invalid input { background: #F4D4D1; }

.form__foot { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-8); }
.form__error { grid-column: span 2; color: var(--error); font-weight: 500; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; }
.form-status.is-visible { display: block; }
.form-status:focus { outline: none; }
.form-status .h3 { margin-bottom: var(--s-3); }

.newsletter { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: flex-end; }
.newsletter .field { flex: 1 1 280px; }

/* ---------- Closing CTA ---------- */
.cta .h1 { max-width: 14ch; }
.cta .lead { margin-top: var(--s-8); }
.cta .actions { margin-top: var(--s-8); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--section) var(--s-12); }
.footer__brand img { width: 120px; height: auto; }
.footer__statement { margin-top: var(--s-6); max-width: 32ch; color: var(--color-text-2); }
.footer__col h2 {
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-text-2);
}
.footer__col ul { list-style: none; display: grid; gap: var(--s-2); }
.footer__col a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__col address { font-style: normal; }
.footer__legal { margin-top: var(--s-24); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4) var(--gap); font-size: 0.875rem; color: var(--color-text-2); }
.footer__legal p { max-width: 80ch; }
.footer__big {
  margin-top: var(--s-24);
  width: 100%;
  height: auto;
}

.col--link { text-decoration: none; }
.col--link:hover .h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.facts dd.facts__note { margin-top: var(--s-2); font-family: var(--font-sans); font-size: var(--fs-small); font-weight: 400; text-transform: none; color: var(--color-text-2); }

/* Breadcrumbs (article pages) */
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: var(--fs-small); color: var(--color-text-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); }
.crumbs a { color: inherit; text-underline-offset: 0.2em; }
.crumbs a:hover { color: var(--color-text); }
.crumbs { margin-bottom: var(--s-8); }
.page-hero .h1.h1--article { max-width: 20ch; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem); }
.link-list { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
