:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --paper-lift: #fbf8f1;
  --home-surface: #fff;
  --ink: #070807;
  --muted: #706d63;
  --line: rgba(7, 8, 7, 0.14);
  --line-strong: rgba(7, 8, 7, 0.26);
  --highlight: #007a83;
  --highlight-rgb: 0 122 131;
  --highlight-soft: rgb(var(--highlight-rgb) / 0.18);
  --hotspot: #c99a3e;
  --hotspot-rgb: 201 154 62;
  --accent: var(--highlight);
  --accent-hover: var(--highlight);
  --accent-soft: var(--highlight-soft);
  --negative: #9f4f45;
  --shadow: rgba(7, 8, 7, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "SFMono-Regular", "Roboto Mono", "Cascadia Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--paper);
}

html:has(body[data-page="home"]) {
  background: var(--home-surface);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 8, 7, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 8, 7, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 112px 112px, 112px 112px, auto;
  font-family: var(--serif);
  overflow-x: hidden;
}

body[data-page="home"] {
  --paper: var(--home-surface);
  --paper-lift: #fff;
  background: var(--home-surface);
}

::selection {
  color: var(--paper);
  background: var(--highlight);
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) minmax(150px, 240px);
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 6px 34px;
  border-bottom: 1px solid transparent;
  background: rgba(246, 242, 234, 0.82);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  background: transparent;
}

.brand-mark {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: #806422;
  font-family: var(--serif);
}

.brand-symbol {
  display: block;
  width: 68px;
  flex: 0 0 auto;
  transition: width 180ms ease;
}

.brand-logo,
.footer-logo {
  display: block;
  height: auto;
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  max-width: none;
}

.brand-wordmark {
  color: #806422;
  font-family: Georgia, var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(6px);
  transition:
    color 160ms ease,
    font-size 180ms ease;
}

.site-header.is-scrolled .brand-symbol {
  width: 64px;
}

.site-header.is-scrolled .brand-wordmark {
  font-size: 20px;
}

.brand-mark:hover .brand-logo,
.brand-mark:focus-visible .brand-logo {
  opacity: 1;
}

.brand-mark:hover .brand-wordmark,
.brand-mark:focus-visible .brand-wordmark {
  color: #6f561e;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.site-nav {
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  gap: clamp(28px, 4.9vw, 66px);
  min-height: 48px;
  padding: 0 2px;
  border: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  backdrop-filter: blur(0);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled .site-nav {
  padding: 14px 34px;
  border-color: rgba(7, 8, 7, 0.12);
  background:
    linear-gradient(180deg, rgb(251 248 241 / 0.62), rgb(246 242 234 / 0.34)),
    rgb(251 248 241 / 0.34);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.42),
    0 14px 42px rgb(7 8 7 / 0.08);
  backdrop-filter: blur(24px) saturate(1.22);
}

.site-nav a {
  position: relative;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
body[data-page="home"] a[data-nav="home"],
body[data-page="approach"] a[data-nav="approach"],
body[data-page="research"] a[data-nav="research"],
body[data-page="markets"] a[data-nav="markets"],
body[data-page="founder"] a[data-nav="founder"],
body[data-page="contact"] a[data-nav="contact"] {
  color: var(--highlight);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
body[data-page="home"] a[data-nav="home"]::after,
body[data-page="approach"] a[data-nav="approach"]::after,
body[data-page="research"] a[data-nav="research"]::after,
body[data-page="markets"] a[data-nav="markets"]::after,
body[data-page="founder"] a[data-nav="founder"]::after,
body[data-page="contact"] a[data-nav="contact"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span[aria-hidden="true"],
.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 160ms ease;
}

.nav-toggle span[aria-hidden="true"] {
  position: relative;
}

.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle span[aria-hidden="true"]::before {
  transform: translateY(-6px);
}

.nav-toggle span[aria-hidden="true"]::after {
  transform: translateY(6px);
}

.site-header.is-open .nav-toggle span[aria-hidden="true"] {
  background: transparent;
}

.site-header.is-open .nav-toggle span[aria-hidden="true"]::before {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span[aria-hidden="true"]::after {
  transform: rotate(-45deg);
}

.landing-main {
  min-height: calc(100svh - 152px);
  overflow: hidden;
}

.landing-stage {
  position: relative;
  display: grid;
  min-height: calc(100svh - 152px);
  place-items: center;
  padding: clamp(14px, 3.4svh, 38px) 28px;
}

.landing-artwork {
  width: min(70vw, 1060px);
  margin: 0;
  filter: none;
}

.landing-image-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050504;
  --spot-x: 33.203%;
  --spot-y: 18.75%;
  --spot-w: 22.363%;
  --spot-h: 45.92%;
  --spot-cx: 44.385%;
  --spot-cy: 41.71%;
}

.landing-image-frame:has(.region-woman:is(:hover, :focus-visible)) {
  --spot-x: 17.529%;
  --spot-y: 26.215%;
  --spot-w: 11.182%;
  --spot-h: 16.233%;
  --spot-cx: 23.12%;
  --spot-cy: 34.332%;
}

.landing-image-frame:has(.region-founder:is(:hover, :focus-visible)) {
  --spot-x: 33.203%;
  --spot-y: 18.75%;
  --spot-w: 22.363%;
  --spot-h: 45.92%;
  --spot-cx: 44.385%;
  --spot-cy: 41.71%;
}

.landing-image-frame:has(.region-eth:is(:hover, :focus-visible)) {
  --spot-x: 48.34%;
  --spot-y: 2.951%;
  --spot-w: 10.205%;
  --spot-h: 22.135%;
  --spot-cx: 53.442%;
  --spot-cy: 14.019%;
}

.landing-image-frame:has(.region-bull:is(:hover, :focus-visible)) {
  --spot-x: 60.107%;
  --spot-y: 23.872%;
  --spot-w: 14.844%;
  --spot-h: 27.865%;
  --spot-cx: 67.529%;
  --spot-cy: 37.804%;
}

.landing-image-frame:has(.region-godfather:is(:hover, :focus-visible)) {
  --spot-x: 76.123%;
  --spot-y: 28.125%;
  --spot-w: 21.729%;
  --spot-h: 44.444%;
  --spot-cx: 86.987%;
  --spot-cy: 50.347%;
}

.landing-image-frame:has(.region-gun:is(:hover, :focus-visible)) {
  --spot-x: 38.77%;
  --spot-y: 80.729%;
  --spot-w: 17.09%;
  --spot-h: 15.538%;
  --spot-cx: 47.314%;
  --spot-cy: 88.498%;
}

.landing-image-frame:has(.region-tiger:is(:hover, :focus-visible)) {
  --spot-x: 4.346%;
  --spot-y: 60.938%;
  --spot-w: 15.479%;
  --spot-h: 27.865%;
  --spot-cx: 12.085%;
  --spot-cy: 74.87%;
}

.landing-image-frame:has(.region-ball:is(:hover, :focus-visible)) {
  --spot-x: 24.17%;
  --spot-y: 77.604%;
  --spot-w: 10.303%;
  --spot-h: 16.25%;
  --spot-cx: 29.321%;
  --spot-cy: 85.729%;
}

.landing-image-layer,
.landing-image-frame img {
  display: block;
  width: 100%;
}

.landing-image-layer {
  position: absolute;
  inset: 0;
}

.landing-image-layer img {
  height: 100%;
  object-fit: cover;
}

.landing-image-underlay {
  z-index: 2;
  opacity: 0;
  clip-path: inset(
    var(--spot-y)
    calc(100% - var(--spot-x) - var(--spot-w))
    calc(100% - var(--spot-y) - var(--spot-h))
    var(--spot-x)
  );
  filter: contrast(1.04) saturate(1.08);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    filter 260ms ease;
  will-change: clip-path, opacity, filter;
}

.landing-image-primary {
  z-index: 1;
  opacity: 1;
  transition: filter 260ms ease;
}

.landing-image-frame.is-hovering .landing-image-underlay,
.landing-image-frame:has(.art-hotspot:is(:hover, :focus-visible)) .landing-image-underlay {
  opacity: 1;
  filter: brightness(1.1) contrast(1.12) saturate(1.2);
}

.landing-image-frame.is-revealing .landing-image-underlay {
  animation: region-underlay-reveal 720ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

.landing-image-frame::before,
.landing-image-frame::after {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  content: "";
  opacity: 0;
}

.landing-image-frame::before {
  top: var(--spot-y);
  left: var(--spot-x);
  width: var(--spot-w);
  height: var(--spot-h);
  background:
    linear-gradient(
      180deg,
      rgb(var(--hotspot-rgb) / 0.14),
      transparent 32%,
      rgb(var(--hotspot-rgb) / 0.07)
    ),
    linear-gradient(90deg, rgb(var(--hotspot-rgb) / 0.1), transparent 42%);
  box-shadow:
    inset 0 0 28px rgb(var(--hotspot-rgb) / 0.12);
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
}

.landing-image-frame::after {
  top: var(--spot-y);
  left: var(--spot-x);
  width: var(--spot-w);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(var(--hotspot-rgb) / 0.24),
    rgb(var(--hotspot-rgb) / 0.82),
    rgb(var(--hotspot-rgb) / 0.24),
    transparent
  );
  box-shadow: 0 0 18px rgb(var(--hotspot-rgb) / 0.42);
}

.landing-image-frame.is-hovering::before,
.landing-image-frame:has(.art-hotspot:is(:hover, :focus-visible))::before {
  opacity: 1;
  animation: region-breathe 1600ms ease-in-out infinite alternate;
}

.landing-image-frame.is-hovering::after,
.landing-image-frame:has(.art-hotspot:is(:hover, :focus-visible))::after {
  opacity: 0;
  animation: none;
}

.landing-image-frame:has(.region-ball:is(:hover, :focus-visible)) .landing-image-underlay {
  clip-path: ellipse(5.2% 7.6% at 29.32% 85.72%);
}

.landing-image-frame.is-revealing:has(.region-ball:is(:hover, :focus-visible)) .landing-image-underlay {
  animation: region-ball-underlay-reveal 720ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

.landing-image-frame:has(.region-ball:is(:hover, :focus-visible))::before {
  top: calc(var(--spot-y) + 1.2%);
  left: calc(var(--spot-x) + 1%);
  width: calc(var(--spot-w) - 2%);
  height: calc(var(--spot-h) - 2.2%);
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgb(var(--hotspot-rgb) / 0.16),
    rgb(var(--hotspot-rgb) / 0.08) 54%,
    transparent 76%
  );
  box-shadow: none;
}

.region-circuit {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 160ms ease;
}

.landing-image-frame.is-hovering .region-circuit,
.landing-image-frame:has(.art-hotspot:is(:hover, :focus-visible)) .region-circuit {
  opacity: 1;
}

.region-circuit-line {
  stroke: var(--hotspot);
  stroke-width: 0.22;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 0.01 0;
  filter:
    drop-shadow(0 0 3px rgb(var(--hotspot-rgb) / 0.96))
    drop-shadow(0 0 9px rgb(var(--hotspot-rgb) / 0.48));
  animation: signal-line 1200ms linear infinite;
}

.region-circuit-origin,
.region-circuit-target,
.region-circuit-target-frame {
  display: none;
}

.region-callout {
  position: absolute;
  top: var(--callout-y, 0%);
  left: var(--callout-x, 0%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(210px, 24vw);
  padding: 7px 9px;
  border: 1px solid rgb(var(--hotspot-rgb) / 0.62);
  color: var(--paper-lift);
  background:
    linear-gradient(180deg, rgb(7 8 7 / 0.76), rgb(7 8 7 / 0.62)),
    rgb(var(--hotspot-rgb) / 0.2);
  box-shadow:
    0 0 0 1px rgb(251 248 241 / 0.08),
    0 10px 26px rgb(7 8 7 / 0.22);
  backdrop-filter: blur(10px) saturate(1.04);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: var(--callout-transform, translate(0, -50%));
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.landing-image-frame.is-hovering .region-callout {
  opacity: 1;
}

.region-callout[data-side="right"] {
  --callout-transform: translate(0, -50%);
}

.region-callout[data-side="left"] {
  --callout-transform: translate(-100%, -50%);
}

.region-callout[data-side="top"] {
  --callout-transform: translate(-50%, -100%);
}

.region-callout[data-side="bottom"] {
  --callout-transform: translate(-50%, 0);
}

.region-callout-index {
  display: inline-grid;
  min-width: 23px;
  height: 18px;
  place-items: center;
  color: var(--ink);
  background: rgb(var(--hotspot-rgb) / 0.92);
  font-size: 9px;
}

.region-callout-title {
  overflow: hidden;
  max-width: 150px;
  font-size: 11px;
  font-weight: 400;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.art-hotspot {
  position: absolute;
  z-index: 4;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 rgb(var(--hotspot-rgb) / 0);
  transition: box-shadow 160ms ease;
}

.art-hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.art-hotspot:hover,
.art-hotspot.is-active {
  outline: none;
}

.art-hotspot:focus-visible {
  outline: 2px solid var(--hotspot);
  outline-offset: 2px;
}

.art-hotspot:hover,
.art-hotspot:focus-visible {
  box-shadow:
    inset 0 0 22px rgb(var(--hotspot-rgb) / 0.1),
    0 0 16px rgb(var(--hotspot-rgb) / 0.12);
}

.region-ball:hover,
.region-ball:focus-visible {
  box-shadow: none;
}

.region-woman {
  top: 26.215%;
  left: 17.529%;
  width: 11.182%;
  height: 16.233%;
}

.region-founder {
  top: 18.75%;
  left: 33.203%;
  width: 22.363%;
  height: 45.92%;
}

.region-eth {
  top: 2.951%;
  left: 48.34%;
  width: 10.205%;
  height: 22.135%;
}

.region-bull {
  top: 23.872%;
  left: 60.107%;
  width: 14.844%;
  height: 27.865%;
}

.region-godfather {
  top: 28.125%;
  left: 76.123%;
  width: 21.729%;
  height: 44.444%;
}

.region-gun {
  top: 80.729%;
  left: 38.77%;
  width: 17.09%;
  height: 15.538%;
}

.region-tiger {
  top: 60.938%;
  left: 4.346%;
  width: 15.479%;
  height: 27.865%;
}

.region-ball {
  top: 77.604%;
  left: 24.17%;
  width: 10.303%;
  height: 16.25%;
}

.landing-readout {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 0.68fr);
  gap: 22px;
  width: min(70vw, 1060px);
  min-height: 203px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  transition: border-color 180ms ease;
}

.landing-readout.is-region-hovered {
  border-top-color: rgb(var(--highlight-rgb) / 0.55);
}

.landing-readout .eyebrow {
  margin: 0;
  transition: color 180ms ease;
}

.landing-readout.is-region-hovered .eyebrow {
  color: var(--accent-hover);
}

.landing-readout h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.1;
}

.landing-readout h2,
#landing-readout-copy {
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.landing-readout.is-changing h2,
.landing-readout.is-changing #landing-readout-copy {
  animation: readout-settle 240ms ease both;
}

#landing-readout-copy {
  grid-column: 2;
  margin: 0;
  max-width: 760px;
  min-height: 82px;
  font-size: 14px;
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.landing-tags {
  grid-column: 2;
  margin-top: 4px;
}

.page-tags {
  grid-column: 2;
  align-self: end;
  margin-top: 24px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgb(7 8 7 / 0.14);
  border-radius: 5px;
  color: var(--ink);
  background: rgba(7, 8, 7, 0.055);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.tag-chip.is-active,
.tag-chip:hover,
.tag-chip:focus-visible {
  color: var(--paper);
  border-color: var(--highlight);
  background: var(--highlight);
}

.tag-chip:hover,
.tag-chip:focus-visible {
  box-shadow: 0 0 0 3px rgb(var(--highlight-rgb) / 0.16);
  transform: translateY(-1px);
}

.landing-readout .tag-chip {
  min-height: 28px;
  padding: 6px 9px;
  font-size: 12px;
}

@keyframes region-breathe {
  from {
    opacity: 0.42;
  }

  to {
    opacity: 0.92;
  }
}

@keyframes region-scan {
  0% {
    top: var(--spot-y);
    opacity: 0;
  }

  14% {
    opacity: 0.78;
  }

  72% {
    opacity: 0.6;
  }

  100% {
    top: calc(var(--spot-y) + var(--spot-h));
    opacity: 0;
  }
}

@keyframes signal-line {
  0% {
    stroke-dasharray: 0 140;
    stroke-dashoffset: 0;
    opacity: 0.45;
  }

  28% {
    opacity: 1;
  }

  100% {
    stroke-dasharray: 140 0;
    stroke-dashoffset: -28;
    opacity: 0.86;
  }
}

@keyframes signal-frame {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }
}

@keyframes region-underlay-reveal {
  0% {
    opacity: 0;
    clip-path: inset(
      var(--spot-y)
      calc(100% - var(--spot-x) - var(--spot-w))
      calc(100% - var(--spot-y))
      var(--spot-x)
    );
  }

  18% {
    opacity: 0.68;
  }

  100% {
    opacity: 1;
    clip-path: inset(
      var(--spot-y)
      calc(100% - var(--spot-x) - var(--spot-w))
      calc(100% - var(--spot-y) - var(--spot-h))
      var(--spot-x)
    );
  }
}

@keyframes region-ball-underlay-reveal {
  0% {
    opacity: 0;
    clip-path: ellipse(5.2% 0% at 29.32% 78.12%);
  }

  18% {
    opacity: 0.68;
  }

  100% {
    opacity: 1;
    clip-path: ellipse(5.2% 7.6% at 29.32% 85.72%);
  }
}

@keyframes readout-settle {
  from {
    opacity: 0.68;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-main {
  width: min(100% - 60px, 1380px);
  min-height: calc(100svh - 152px);
  margin-inline: auto;
  padding: 70px 0 92px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
  padding-bottom: 78px;
}

.eyebrow,
.page-rows span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
}

.page-hero h1 {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
}

.page-hero p {
  max-width: 720px;
  padding-top: 56px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.48;
}

.page-rows {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.page-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 80px;
  padding: 42px 0 76px;
  border-top: 1px solid var(--line-strong);
}

.page-copy::before {
  content: "Philosophy";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
}

.page-copy p {
  grid-column: 2;
  max-width: 820px;
  margin-bottom: 0;
}

.page-rows.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.page-rows article {
  display: grid;
  grid-template-columns: 150px minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  min-height: 132px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.page-rows.two-column article {
  display: block;
  min-height: 232px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.page-rows h2,
.contact-card h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.page-rows.two-column h2 {
  margin-top: 58px;
}

.page-rows p {
  margin-bottom: 0;
}

.page-rows article:hover {
  border-bottom-color: rgb(var(--highlight-rgb) / 0.55);
  background: linear-gradient(90deg, rgb(var(--highlight-rgb) / 0.08), transparent 46%);
}

.page-rows article:hover span,
.page-rows article:hover h2 {
  color: var(--highlight);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1.48fr);
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.contact-card-intro {
  display: grid;
  align-content: start;
  gap: 20px;
}

.contact-card-intro p {
  margin: 0;
}

.contact-card-intro p:not(.eyebrow) {
  max-width: 390px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.52;
}

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

.contact-method {
  display: grid;
  min-height: 188px;
  align-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgb(251 248 241 / 0.72), rgb(246 242 234 / 0.38)),
    rgb(251 248 241 / 0.48);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-method:hover {
  border-color: rgb(var(--highlight-rgb) / 0.44);
  box-shadow: 0 20px 52px rgb(7 8 7 / 0.08);
  transform: translateY(-2px);
}

.contact-method-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-method p:not(.contact-method-label) {
  max-width: 320px;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.48;
}

.contact-method-social {
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
}

.linkedin-icon {
  width: 34px;
  height: 34px;
}

.contact-method-social .social-link {
  grid-column: 1 / -1;
}

.social-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--highlight);
  border-radius: 5px;
  color: var(--paper);
  background: var(--highlight);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: #0a66c2;
  background: #0a66c2;
  box-shadow: 0 0 0 3px rgb(10 102 194 / 0.16);
  transform: translateY(-1px);
}

address {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

.text-link {
  width: fit-content;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--paper);
  background: var(--highlight);
}

.market-main {
  width: min(100% - 28px, 1500px);
  margin-inline: auto;
  padding: 14px 0 34px;
}

.market-shell {
  display: grid;
  gap: 10px;
  min-height: calc(100svh - 118px);
  padding: 14px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgb(var(--highlight-rgb) / 0.035) 1px, transparent 1px),
    linear-gradient(rgb(var(--highlight-rgb) / 0.026) 1px, transparent 1px),
    rgb(246 242 234 / 0.78);
  background-size: 48px 48px, 48px 48px, auto;
}

.market-board-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}

.market-board-title h1 {
  margin: 4px 0 0;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 0.92;
  letter-spacing: 0;
}

.market-board-subtitle {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
}

.market-board-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 390px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.market-board-status span,
.market-action {
  min-height: 28px;
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.72);
}

.market-action {
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.market-action:hover,
.market-action:focus-visible,
.market-action[aria-pressed="true"] {
  color: var(--paper);
  border-color: var(--highlight);
  background: var(--highlight);
  box-shadow: 0 0 0 1px rgb(var(--highlight-rgb) / 0.28);
}

.market-action:disabled {
  cursor: wait;
  opacity: 0.68;
}

.market-control-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.market-utility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.market-control-group {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  min-height: 30px;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.54);
}

.market-control-label {
  display: inline-grid;
  place-items: center;
  min-width: 66px;
  padding: 0 8px;
  color: var(--muted);
  border-right: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.market-control-group .tag-chip,
.market-sources .tag-chip {
  min-height: 28px;
  padding: 6px 8px;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.market-control-group .tag-chip:last-child {
  border-right: 0;
}

.market-control-group .tag-chip:hover,
.market-control-group .tag-chip:focus-visible,
.market-control-group .tag-chip.is-active {
  color: var(--paper);
  background: var(--highlight);
}

.market-search {
  flex: 1 1 280px;
  min-width: min(100%, 280px);
}

.market-search input {
  width: 100%;
  min-height: 30px;
  padding: 7px 10px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgb(251 248 241 / 0.74);
  font-family: var(--mono);
  font-size: 11px;
  outline: none;
}

.market-search input:focus-visible {
  border-color: var(--highlight);
  box-shadow: 0 0 0 1px var(--highlight);
}

.market-board-stage {
  min-height: 520px;
}

.market-panel {
  display: none;
  height: 100%;
}

.market-panel.is-active {
  display: grid;
}

.market-panel[data-market-panel="map"].is-active {
  grid-template-columns: minmax(0, 1fr) minmax(248px, 0.25fr);
  gap: 10px;
}

.market-panel[data-market-panel="bars"].is-active {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.42fr);
  gap: 14px;
}

.market-treemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: start;
  gap: 8px;
  min-height: 520px;
}

.treemap-group {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.56);
}

.treemap-group-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 30px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.treemap-group-header h2 {
  margin: 0;
  font-size: 12px;
  line-height: 1;
}

.treemap-group-header span {
  color: var(--muted);
  font-size: 10px;
}

.treemap-cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  grid-auto-rows: 34px;
  grid-auto-flow: dense;
  gap: 5px;
  padding: 7px;
}

.market-tile {
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 75px;
  padding: 8px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgb(251 248 241 / 0.78), rgb(246 242 234 / 0.52)),
    rgb(var(--highlight-rgb) / var(--tile-intensity, 0.16));
  cursor: crosshair;
  font-family: var(--mono);
  text-align: left;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.market-tile.is-negative {
  background:
    linear-gradient(180deg, rgb(251 248 241 / 0.82), rgb(246 242 234 / 0.58)),
    rgb(159 65 55 / var(--tile-intensity, 0.16));
}

.market-tile:hover,
.market-tile:focus-visible {
  color: var(--paper);
  border-color: var(--highlight);
  background: var(--highlight);
  box-shadow:
    inset 0 0 0 1px rgb(246 242 234 / 0.72),
    0 0 0 1px rgb(var(--highlight-rgb) / 0.42);
  outline: none;
}

.market-tile.is-negative:hover,
.market-tile.is-negative:focus-visible {
  border-color: var(--negative);
  background: var(--negative);
}

.market-tile strong {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 0.95;
}

.market-tile span,
.market-tile em {
  overflow: hidden;
  font-size: 10px;
  font-style: normal;
  line-height: 1.22;
  text-overflow: ellipsis;
}

.market-tile em {
  justify-self: end;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.market-detail {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 100%;
  padding: 13px;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.76);
  font-family: var(--mono);
}

.market-detail-kicker {
  margin: 0;
  color: var(--highlight);
  font-size: 10px;
  text-transform: uppercase;
}

.market-detail h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.95;
}

.market-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.market-detail-list {
  display: grid;
  grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.market-detail-list dt,
.market-detail-list dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.25;
}

.market-detail-list dt {
  color: var(--muted);
}

.market-detail-list dd {
  overflow-wrap: anywhere;
  text-align: right;
}

.market-map {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 420px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.58);
}

.market-node {
  display: grid;
  grid-template-columns: 72px minmax(92px, 1fr) minmax(76px, auto);
  gap: 12px;
  align-items: center;
  min-height: 30px;
  padding: 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: crosshair;
  font-family: var(--mono);
  font-size: 12px;
  text-align: left;
}

.market-node:hover,
.market-node:focus-visible {
  color: var(--highlight);
  outline: none;
}

.market-node i {
  position: relative;
  height: 1px;
  background: var(--line);
}

.market-node i::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: var(--node-size, 8%);
  height: 7px;
  content: "";
  background: var(--highlight);
}

.market-node.is-negative i::before {
  background: var(--negative);
}

.market-node strong {
  font-weight: 400;
  text-align: right;
}

.market-metrics {
  display: grid;
  align-content: start;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.58);
}

.market-metric {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.market-metric:last-child {
  border-bottom: 0;
}

.market-metric span,
.market-note {
  color: var(--muted);
  font-size: 12px;
}

.market-metric strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.market-panel[data-market-panel="raw"].is-active {
  min-height: 460px;
}

.market-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.58);
}

.market-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-family: var(--mono);
}

.market-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.market-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
}

.market-table td {
  color: var(--ink);
  font-size: 13px;
}

.market-table tbody tr {
  transition:
    background 160ms ease,
    color 160ms ease;
}

.market-table tbody tr:hover {
  background: rgb(var(--highlight-rgb) / 0.08);
}

.market-type,
.market-context {
  color: var(--muted) !important;
}

.market-name,
.market-value {
  font-weight: 600;
}

.market-symbol {
  font-weight: 700;
}

.market-label {
  color: var(--ink);
}

.market-change {
  font-weight: 600;
}

.market-change.is-positive {
  color: var(--highlight);
}

.market-change.is-negative {
  color: var(--negative);
}

.market-empty,
.market-empty-board {
  color: var(--muted) !important;
  text-align: center !important;
}

.market-empty-board {
  display: grid;
  place-items: center;
  min-height: 280px;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.58);
  font-family: var(--mono);
  font-size: 12px;
}

.market-note {
  margin: 0;
  font-family: var(--mono);
  line-height: 1.45;
}

.market-board-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) auto;
  gap: 10px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.market-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-end;
  border: 1px solid var(--line-strong);
  background: rgb(251 248 241 / 0.54);
}

.market-sources .tag-chip {
  display: inline-grid;
  place-items: center;
}

body.is-market-wide {
  overflow-x: hidden;
}

body.is-market-wide .site-header,
body.is-market-wide .site-footer {
  display: none;
}

body.is-market-wide .market-main {
  width: 100%;
  padding: 10px;
}

body.is-market-wide .market-shell {
  min-height: calc(100svh - 20px);
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 44px 34px 22px;
  color: #f6f2ea;
  border-top: 1px solid rgb(var(--highlight-rgb) / 0.34);
  background: #020303;
}

.site-footer::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgb(var(--highlight-rgb) / 0.92), transparent);
  opacity: 0.78;
}

.footer-panel,
.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(100%, 1400px);
  margin-right: auto;
  margin-left: auto;
}

.footer-panel {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.82fr)
    minmax(300px, 0.95fr)
    minmax(200px, 0.62fr)
    minmax(280px, 0.86fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  overflow: visible;
  min-height: 188px;
  padding: clamp(24px, 2.8vw, 38px);
  border: 1px solid rgba(246, 242, 234, 0.14);
  background: rgba(4, 7, 7, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(246, 242, 234, 0.08),
    0 34px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.12);
}

.footer-brand {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  max-width: 360px;
}

.footer-logo {
  width: min(74%, 300px);
  max-width: none;
  opacity: 0.94;
  filter:
    brightness(1.42)
    saturate(1.08)
    drop-shadow(0 0 18px rgb(201 154 62 / 0.22));
}

.site-footer p,
.site-footer address {
  margin: 0;
  color: rgba(246, 242, 234, 0.64);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.58;
}

.footer-brand p:last-child {
  max-width: 310px;
  color: #f6f2ea;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.96;
}

.footer-kicker,
.footer-label {
  color: var(--highlight);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-kicker {
  margin-bottom: 16px;
}

.footer-label {
  margin-bottom: 14px;
}

.footer-nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: clamp(28px, 5vw, 78px);
}

.footer-contact {
  position: relative;
  z-index: 1;
}

.footer-nav div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-nav a {
  position: relative;
  width: fit-content;
  color: rgba(246, 242, 234, 0.82);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.1;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.footer-nav a::before {
  position: absolute;
  top: 50%;
  left: -16px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--highlight);
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.site-footer a[aria-current="page"] {
  color: var(--highlight);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  transform: translateX(4px);
}

.footer-nav a:hover::before,
.footer-nav a:focus-visible::before,
.site-footer a[aria-current="page"]::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.footer-contact address {
  color: rgba(246, 242, 234, 0.78);
}

.footer-logo-signal {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: start;
  justify-self: end;
  width: min(100%, 300px);
  min-width: 0;
}

.footer-logo-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  height: clamp(112px, 9vw, 145px);
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: default;
}

.footer-logo-canvas,
.footer-logo-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: auto;
}

.footer-logo-canvas {
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 240ms ease;
}

.footer-logo-fallback {
  height: auto;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.footer-logo-stage.is-ready .footer-logo-canvas {
  opacity: 1;
}

.footer-logo-stage.is-ready .footer-logo-fallback {
  visibility: hidden;
  opacity: 0;
  transform: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 242, 234, 0.1);
}

.footer-bottom p {
  font-size: 12px;
}

.footer-bottom .footer-credit {
  margin-left: auto;
  color: rgba(246, 242, 234, 0.32);
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-credit a {
  color: rgba(246, 242, 234, 0.28);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--highlight);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .footer-logo-canvas {
    display: none;
  }

  .footer-logo-stage.is-ready .footer-logo-fallback {
    visibility: visible;
    opacity: 0.94;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .page-hero,
  .contact-card,
  .page-copy {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .page-hero p {
    padding-top: 0;
  }

  .page-copy p {
    grid-column: auto;
  }

  .page-rows article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    grid-column: 1;
  }

  .footer-contact {
    grid-row: auto;
  }

  .footer-logo-signal {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
  }

  .market-board-header {
    grid-template-columns: 1fr;
  }

  .market-board-status {
    justify-content: flex-start;
    max-width: none;
  }

  .market-panel[data-market-panel="map"].is-active,
  .market-panel[data-market-panel="bars"].is-active {
    grid-template-columns: 1fr;
  }

  .market-detail {
    min-height: 0;
  }

  .market-board-footer {
    grid-template-columns: 1fr;
  }

  .market-sources {
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: minmax(120px, 1fr) auto;
    min-height: 72px;
    padding: 6px 18px;
  }

  .site-header.is-scrolled,
  .site-header.is-open {
    border-bottom-color: var(--line);
    background:
      linear-gradient(180deg, rgb(251 248 241 / 0.9), rgb(246 242 234 / 0.82)),
      rgb(246 242 234 / 0.88);
    box-shadow: 0 14px 38px rgb(7 8 7 / 0.08);
    backdrop-filter: blur(18px) saturate(1.12);
  }

  .nav-toggle {
    display: grid;
    background: rgb(251 248 241 / 0.48);
    backdrop-filter: blur(18px) saturate(1.14);
    transition:
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .site-header.is-scrolled .nav-toggle {
    border-color: rgb(7 8 7 / 0.18);
    background: rgb(251 248 241 / 0.62);
    box-shadow: 0 10px 28px rgb(7 8 7 / 0.08);
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    justify-content: flex-start;
    gap: 16px;
    min-height: auto;
    padding: 11px 0 4px;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header.is-scrolled .site-nav {
    padding: 11px 0 4px;
    border-color: var(--line);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .landing-main,
  .landing-stage {
    min-height: calc(100svh - 146px);
  }

  .landing-stage {
    align-content: start;
    place-items: start center;
    padding: 22px 12px 26px;
  }

  .landing-artwork {
    width: calc(100vw - 24px);
    overflow: visible;
  }

  .landing-image-frame {
    width: 132vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .landing-readout {
    width: calc(100vw - 24px);
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    margin-top: 14px;
  }

  #landing-readout-copy,
  .landing-tags {
    grid-column: auto;
  }

  #landing-readout-copy {
    min-height: 0;
  }

  .landing-readout h2 {
    font-size: 21px;
  }

  .page-main {
    width: min(100% - 32px, 1380px);
    padding-top: 52px;
  }

  .page-hero {
    padding-bottom: 54px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .page-hero p {
    font-size: 19px;
  }

  .page-tags {
    grid-column: auto;
    margin-top: 0;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: 0;
  }

  .page-rows.two-column {
    grid-template-columns: 1fr;
  }

  .page-rows.two-column h2 {
    margin-top: 34px;
  }

  .market-main {
    width: min(100% - 18px, 1480px);
    padding-top: 10px;
  }

  .market-shell {
    gap: 8px;
    min-height: calc(100svh - 92px);
    padding: 10px;
  }

  .market-board-title h1 {
    font-size: 38px;
  }

  .market-board-subtitle {
    max-width: 100%;
    margin-top: 7px;
    font-size: 11px;
  }

  .market-control-strip,
  .market-utility-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
  }

  .market-control-group {
    flex: 0 0 auto;
  }

  .market-control-label {
    min-width: 58px;
    padding: 0 7px;
    font-size: 9px;
  }

  .market-control-group .tag-chip {
    padding: 6px 8px;
  }

  .market-search {
    flex: 0 0 270px;
  }

  .market-board-stage,
  .market-treemap {
    min-height: 460px;
  }

  .market-treemap {
    grid-template-columns: 1fr;
  }

  .market-map {
    grid-row: auto;
    min-height: 360px;
  }

  .site-footer {
    min-height: 0;
    padding: 30px 16px 18px;
  }

  .footer-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 6px 18px;
  }
}

@media (max-width: 820px) {
  .footer-panel {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact,
  .footer-logo-signal {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-logo-signal {
    order: 4;
    justify-self: start;
    width: min(100%, 300px);
  }

  .footer-logo-stage {
    height: 132px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    gap: 10px;
  }

  .brand-symbol {
    width: 62px;
  }

  .brand-wordmark {
    font-size: 18px;
  }

  .site-header.is-scrolled .brand-symbol {
    width: 58px;
  }

  .site-header.is-scrolled .brand-wordmark {
    font-size: 17px;
  }

  .region-callout {
    gap: 5px;
    max-width: 118px;
    padding: 6px 7px;
    font-size: 10px;
    line-height: 1.05;
    white-space: normal;
  }

  .region-callout-index {
    min-width: 20px;
    height: 16px;
    font-size: 8px;
  }

  .region-callout-title {
    max-width: 80px;
    font-size: 10px;
    line-height: 1.05;
  }

  .site-nav {
    gap: 12px;
    font-size: 11px;
  }

  .footer-panel {
    padding: 20px 16px;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .footer-logo-stage {
    height: 124px;
  }

  .footer-logo {
    width: min(76%, 240px);
  }

  .footer-brand p:last-child {
    font-size: 26px;
  }

  .landing-artwork {
    width: calc(100vw - 24px);
    margin-left: 0;
    transform: none;
  }

  .landing-image-frame {
    width: 146vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .page-main {
    width: min(100% - 24px, 1380px);
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .page-rows h2,
  .contact-card h2 {
    font-size: 28px;
  }

  .contact-method {
    padding: 20px 16px;
  }

  .contact-method-social {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .social-link {
    width: 100%;
  }

  .tag-chip {
    max-width: 100%;
    white-space: normal;
  }

  .market-main {
    width: min(100% - 12px, 1480px);
  }

  .market-shell {
    padding: 8px;
  }

  .market-board-title h1 {
    font-size: 34px;
  }

  .market-board-subtitle {
    display: none;
  }

  .market-board-status {
    gap: 5px;
  }

  .market-board-status span,
  .market-action {
    min-height: 28px;
    padding: 6px 7px;
    font-size: 10px;
  }

  .market-control-label {
    min-width: 50px;
  }

  .market-control-group .tag-chip {
    min-height: 27px;
    padding: 6px 7px;
    font-size: 10px;
    white-space: nowrap;
  }

  .market-search {
    flex-basis: 226px;
    min-width: 226px;
  }

  .market-board-stage,
  .market-treemap {
    min-height: 430px;
  }

  .treemap-cells {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    grid-auto-rows: 31px;
  }

  .market-tile {
    min-height: 66px;
    padding: 7px;
  }

  .market-tile strong {
    font-size: 18px;
  }

  .market-detail {
    padding: 10px;
  }

  .market-detail h2 {
    font-size: 28px;
  }

  .market-detail-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .market-detail-list dd {
    text-align: left;
  }

  .market-board-footer {
    gap: 8px;
  }

  .market-node {
    grid-template-columns: 54px minmax(74px, 1fr) 66px;
    gap: 9px;
  }

  .market-table {
    min-width: 0;
    table-layout: fixed;
  }

  .market-table th,
  .market-table td {
    padding: 12px 7px;
    font-size: 11px;
    line-height: 1.18;
  }

  .market-table th:first-child,
  .market-table td:first-child,
  .market-table th:last-child,
  .market-table td:last-child {
    display: none;
  }

  .market-table th:nth-child(3),
  .market-table td:nth-child(3),
  .market-table th:nth-child(4),
  .market-table td:nth-child(4),
  .market-table th:nth-child(5),
  .market-table td:nth-child(5) {
    text-align: right;
  }

  .market-name {
    overflow-wrap: anywhere;
  }

  .market-name .market-symbol {
    display: block;
    margin-bottom: 3px;
  }

  .market-name .market-separator {
    display: none;
  }

  .market-name .market-label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
  }

  .market-value,
  .market-change {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

body[data-page="home"] .site-header {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="home"] .site-header.is-scrolled {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="home"] .site-header.is-scrolled .site-nav {
  border-color: rgb(7 8 7 / 0.08);
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 10px 26px rgb(7 8 7 / 0.06);
  backdrop-filter: blur(18px) saturate(1.06);
}

@media (max-width: 820px) {
  body[data-page="home"] .site-header.is-scrolled,
  body[data-page="home"] .site-header.is-open {
    border-bottom-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body[data-page="home"] .nav-toggle {
    background: rgb(255 255 255 / 0.72);
  }

  body[data-page="home"] .site-nav {
    border-top-color: transparent;
    background: rgb(255 255 255 / 0.72);
  }

  body[data-page="home"] .site-header.is-scrolled .site-nav {
    border-color: rgb(7 8 7 / 0.08);
    background: rgb(255 255 255 / 0.94);
    box-shadow: 0 10px 24px rgb(7 8 7 / 0.06);
    backdrop-filter: blur(18px) saturate(1.06);
  }

  body[data-page="home"] .site-header.is-open .site-nav {
    border-color: transparent;
    background: rgb(255 255 255 / 0.86);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(1.08);
  }
}
