@font-face {
  font-family: Manrope;
  src: url("assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/plex-mono-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

:root {
  color-scheme: dark;
  --ink: #151713;
  --ink-raised: #20231b;
  --paper: #eeefe5;
  --lime: #dbfa66;
  --muted: #babcaf;
  --rule: #3d4135;
  --dark-copy: #454b3e;
  --light-rule: #bec2b0;
  --edge: clamp(1.25rem, 5.1vw, 5.5rem);
  --mono: "IBM Plex Mono", "Courier New", monospace;
  font-family: Manrope, Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

::selection { background: var(--lime); color: var(--ink); }
.contact ::selection, .button-lime::selection { background: var(--ink); color: var(--lime); }

.wrap {
  width: min(100% - 2 * var(--edge), 80rem);
  margin-inline: auto;
}

.section-pad { padding-block: clamp(4.5rem, 8vw, 8rem); }

.visually-hidden, .skip-link:not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus-visible {
  position: fixed;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--lime);
  color: var(--ink);
}

.site-header { border-bottom: 1px solid var(--rule); }

.header-inner {
  min-height: 5.1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 0.55rem);
  grid-template-rows: repeat(2, 0.55rem);
  gap: 0.13rem;
  flex: none;
  color: var(--lime);
  transform: rotate(-135deg);
}

.brand-mark i {
  background: currentColor;
}

.brand-mark i:first-child { grid-area: 1 / 2; }
.brand-mark i:nth-child(2) { grid-area: 2 / 1; }
.brand-mark i:last-child { grid-area: 2 / 2; }

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: clamp(1.15rem, 3vw, 3rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.header-nav a { padding-block: 0.4rem; }
.header-nav a:hover { color: var(--lime); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.62rem 1.28rem;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 800;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button-outline { border-color: #777f63; }
.button-outline:hover { border-color: var(--lime); color: var(--lime); }
.header-cta { justify-self: end; }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #ecffa7; }
.button-lime:focus-visible { outline-color: var(--lime); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 49%;
  background-image:
    linear-gradient(90deg, var(--ink), transparent 42%),
    linear-gradient(0deg, var(--ink), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 47px, #282c22 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, #282c22 47px 48px);
  mask-image: linear-gradient(180deg, transparent, #000 15% 85%, transparent);
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4.3vw, 4.6rem);
  padding-top: clamp(2.7rem, 5vw, 5.25rem);
  padding-bottom: clamp(2.75rem, 5vw, 5rem);
}

.hero-copy { padding-block: 1.4rem 1.2rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.hero-label, .work .eyebrow { color: var(--lime); }

h1, h2, h3 {
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.1rem, 5.45vw, 5.35rem);
  line-height: 1.03;
  letter-spacing: -0.075em;
  margin-top: 1.65rem;
}

h1 span, h1 em { display: block; white-space: nowrap; }
h1 em { color: var(--lime); font-style: normal; }

.hero-lead {
  max-width: 28rem;
  margin-top: 1.65rem;
  color: #d3d6c9;
  font-size: clamp(1.1rem, 1.45vw, 1.31rem);
  line-height: 1.55;
}

.hero-cta { margin-top: 2.05rem; min-height: 3.55rem; padding-inline: 1.5rem; }

.portrait {
  background: var(--ink);
  position: relative;
  border: 1px solid #535949;
}

.portrait::before, .portrait::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
}

.portrait::before {
  left: -1px;
  top: -1px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
}

.portrait::after {
  right: -1px;
  bottom: -1px;
  border-bottom: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
}

.portrait-inner {
  aspect-ratio: 1.09;
  overflow: hidden;
  background: #242628;
}

.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.portrait figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #535949;
  padding: 0.8rem 1.1rem 0.9rem;
}

.portrait-name {
  display: block;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.portrait-name small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: normal;
}

.portrait-place {
  color: var(--muted);
  font: 500 0.77rem / 1.4 var(--mono);
  text-transform: uppercase;
  text-align: right;
}

.hero-bottom {
  min-height: 4.3rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font: 500 0.81rem / 1.5 var(--mono);
}

.hero-bottom a:hover { color: var(--lime); }
.affiliations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.6rem;
  padding-block: 0.55rem;
}

.affiliations > span { color: var(--lime); }
.read-on { display: inline-flex; align-items: center; gap: 0.75rem; }
.read-on span { width: 0.38rem; height: 0.85rem; border-right: 1px solid currentColor; }

.market, .about {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.75rem, 7vw, 7rem);
  align-items: start;
}

.editorial-heading .eyebrow, .market .eyebrow { color: var(--dark-copy); }

h2 {
  font-size: clamp(2.6rem, 5.3vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.072em;
  margin-top: 1.3rem;
}

.section-lead {
  margin-top: 1.45rem;
  color: var(--dark-copy);
  font-size: clamp(1.03rem, 1.38vw, 1.2rem);
  line-height: 1.62;
  max-width: 31rem;
}

.market-questions { border-top: 1px solid var(--light-rule); }

.market-questions > div {
  padding-block: 1.22rem 1.35rem;
  border-bottom: 1px solid var(--light-rule);
}

.market-questions dt, h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.market-questions dd, .about-content p, .case-note p {
  color: var(--dark-copy);
  margin-top: 0.55rem;
}

.work { background: var(--ink-raised); }

.work-heading .section-lead, .work-steps p { color: #ced0c3; }

.work-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.65rem;
  padding: 0;
  list-style: none;
  border-block: 1px solid #515744;
}

.work-steps li { padding: 1.65rem clamp(1rem, 2.4vw, 2.6rem) 1.85rem; }
.work-steps li:first-child { padding-left: 0; }
.work-steps li:last-child { padding-right: 0; }
.work-steps li + li { border-left: 1px solid #515744; }

.step-number {
  display: block;
  color: var(--lime);
  font: 500 0.875rem / 1 var(--mono);
  margin-bottom: 1.35rem;
}

.work-steps p { margin-top: 0.7rem; }

.terms {
  margin-top: 2.45rem;
  border-left: 3px solid var(--lime);
  padding: 1.35rem 1.55rem;
  gap: clamp(1rem, 3vw, 3rem);
  background: #282c22;
  grid-template-columns: minmax(0, 0.71fr) minmax(0, 1fr);
}

.terms h3 { max-width: 22ch; }
.terms p { color: #e1e3d5; }

.about-content { padding-top: 0.2rem; }
.about-content p { margin-top: 0; }
.about-content p + p { margin-top: 1rem; }

.about-content a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.about-content a:hover { color: #476109; }

.case-wrap { margin-top: clamp(2.75rem, 5.7vw, 5.5rem); }

.case-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem clamp(2.75rem, 7vw, 7rem);
  border-top: 1px solid var(--light-rule);
  padding-top: 1.5rem;
}

.case-note p { margin-top: 0; }

.contact {
  color-scheme: light;
  color: var(--ink);
  background: var(--lime);
  padding-bottom: 0;
}

.contact .section-lead { color: #383f27; }

.contact-layout { align-items: center; }

.contact-controls { border-top: 1px solid #7c913a; }
.contact-method { border-bottom: 1px solid #7c913a; }

.contact-toggle {
  width: 100%;
  min-height: 4.45rem;
  padding: 0.65rem 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.contact-toggle:hover { background: #cceb58; }

.toggle-action {
  display: flex;
  gap: 0.68rem;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
}

.toggle-icon {
  position: relative;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid #67802c;
}

.toggle-icon::before, .toggle-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.65rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.contact-toggle[aria-expanded="true"] .toggle-icon::after { display: none; }

.contact-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  padding: 0 0.2rem 1.15rem;
}

.contact-value {
  font-size: clamp(1.13rem, 2.3vw, 1.64rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.copy-button {
  min-height: 2.75rem;
  padding: 0.35rem 0.62rem;
  border: 1px solid #687c2d;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 750;
}

.copy-button:hover { background: var(--ink); color: var(--lime); }
.contact-controls noscript p { margin-top: 0.9rem; }

.footer-inner {
  min-height: 5.3rem;
  margin-top: clamp(3.5rem, 7vw, 7rem);
  border-top: 1px solid #7c913a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.75rem;
  color: #313a1d;
  font-size: 0.9rem;
  font-weight: 650;
}

.footer-inner .brand-mark { color: var(--ink); }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 0.22em; }

@media (max-width: 1000px) {
  .header-inner { gap: 1.15rem; }
  h1 { font-size: clamp(2.65rem, 5.62vw, 4rem); }
  .hero-wrap { gap: clamp(1.25rem, 3.1vw, 2.75rem); }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 4.55rem; }
  .header-nav { display: none; }
  .header-cta { min-height: 2.7rem; padding-inline: 0.9rem; font-size: 0.92rem; }
  .hero::before { inset: 35% 0 0 20%; }
  .hero-wrap { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 2.8rem; padding-bottom: 1.8rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.45rem, 8.1vw, 4.2rem); margin-top: 1.05rem; }
  .hero-lead { margin-top: 1.15rem; }
  .hero-cta { margin-top: 1.45rem; min-height: 3.2rem; }
  .portrait { max-width: 34rem; }
  .hero-bottom { min-height: 3.7rem; }
  .editorial, .case-note { grid-template-columns: 1fr; }
  .editorial { gap: 2.1rem; }
  .case-note { gap: 0.7rem; }
  .work-steps { grid-template-columns: 1fr; }
  .work-steps li, .work-steps li:first-child, .work-steps li:last-child { padding: 1.35rem 0; }
  .work-steps li + li { border-left: 0; border-top: 1px solid #515744; }
  .step-number { margin-bottom: 0.7rem; }
  .terms { gap: 0.8rem; padding: 1.1rem 1.2rem; }
}

@media (max-width: 405px) {
  h1 span { white-space: normal; }
  .read-on, .footer-inner > span { display: none; }
  .portrait figcaption { padding-inline: 0.72rem; }
  .footer-inner { gap: 0.75rem; }
  .footer-inner .brand { gap: 0.55rem; }
  .footer-inner .brand-name { font-size: 1rem; }
}

@media (max-width: 365px) {
  .affiliations { flex-direction: column; align-items: flex-start; }
  .affiliations > span { display: none; }
}

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