:root {
  --ink: #111111;
  --paper: #f6f3ee;
  --panel: #e7ece8;
  --panel-deep: #a9b7b3;
  --muted: #6e7773;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.28);
  --signal: #c95f2a;
  --oxide: #c95f2a;
  --cyan: #2aa7a2;
  --moss: #829b65;
  --violet: #7a6fa8;
  --steel: #8fb4c7;
  --green: #7fba77;
  --graphite: #282828;
  --radius: 8px;
  --max: 1440px;
  --rail-gutter: clamp(112px, 9vw, 156px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  overflow-x: hidden;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--oxide), var(--cyan), var(--moss), var(--violet), var(--steel));
}

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

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

img {
  object-fit: cover;
}

a:focus-visible,
.project-card:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
}

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

.schematic-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: 0.78;
  background:
    linear-gradient(90deg, transparent 0 58px, rgba(17, 17, 17, 0.032) 59px, transparent 60px) 0 0 / 116px 116px,
    linear-gradient(0deg, transparent 0 58px, rgba(17, 17, 17, 0.028) 59px, transparent 60px) 0 0 / 116px 116px,
    radial-gradient(circle, rgba(17, 17, 17, 0.046) 0 1.4px, transparent 1.5px) 0 0 / 116px 116px,
    linear-gradient(135deg, rgba(246, 243, 238, 0.98), rgba(231, 236, 232, 0.62));
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 54%, transparent 92%);
  animation: ambientGrid 24s linear infinite;
}

.schematic-bg::before,
.schematic-bg::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(17, 17, 17, 0.1);
  opacity: 0.32;
  animation: schematicDrift 34s ease-in-out infinite alternate;
}

.schematic-bg::before {
  width: 360px;
  height: 220px;
  left: 10%;
  bottom: 8%;
  transform: rotate(-7deg);
}

.schematic-bg::after {
  width: 260px;
  height: 340px;
  right: 6%;
  top: 18%;
  transform: rotate(5deg);
}

.bg-drawing {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: rgba(17, 17, 17, 0.46);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  --entity-low: 0.28;
  --entity-mid: 0.62;
  --entity-high: 0.42;
  animation: schematicFloat 15s ease-in-out infinite alternate;
}

.bg-drawing path,
.bg-drawing circle,
.bg-drawing rect,
.bg-drawing polyline,
.bg-drawing line {
  stroke-dasharray: var(--dash, 820);
  stroke-dashoffset: 0;
  animation: tracePulse 8s ease-in-out infinite alternate;
}

.bg-drawing text {
  fill: rgba(17, 17, 17, 0.5);
  stroke: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0;
  animation: none;
}

.bg-code {
  position: absolute;
  left: 46vw;
  top: 43vh;
  width: min(28vw, 390px);
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(246, 243, 238, 0.3);
  color: rgba(17, 17, 17, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  animation: codeBreathe 16s ease-in-out infinite alternate;
}

.bg-label {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: rgba(17, 17, 17, 0.54);
  white-space: nowrap;
  animation: schematicFloat 13s ease-in-out infinite alternate;
}

.bg-label-a {
  left: 7vw;
  top: 17vh;
}

.bg-label-b {
  right: 8vw;
  top: 54vh;
  animation-delay: -9s;
}

.bg-label-c {
  left: 13vw;
  bottom: 16vh;
  animation-delay: -16s;
}

.bg-label-d {
  right: 15vw;
  bottom: 23vh;
  animation-delay: -6s;
}

.bg-entity-a {
  width: min(46vw, 660px);
  left: clamp(-80px, -3vw, -24px);
  bottom: 10vh;
  animation-duration: 15s;
}

.bg-entity-b {
  width: min(43vw, 640px);
  right: 4vw;
  top: 12vh;
  animation-duration: 18s;
  animation-delay: -11s;
}

.bg-entity-c {
  width: min(35vw, 560px);
  left: 32vw;
  top: 50vh;
  animation-duration: 17s;
  animation-delay: -7s;
}

.bg-entity-d {
  width: min(38vw, 610px);
  right: 30vw;
  top: 8vh;
  animation-duration: 20s;
  animation-delay: -14s;
}

.bg-entity-e {
  width: min(31vw, 500px);
  left: 6vw;
  top: 35vh;
  animation-duration: 12s;
  animation-delay: -4s;
}

.bg-entity-f {
  width: min(30vw, 490px);
  right: 8vw;
  bottom: 32vh;
  animation-duration: 14s;
  animation-delay: -10s;
}

.bg-code-b {
  left: 8vw;
  top: 61vh;
  width: min(27vw, 380px);
  animation-delay: -8s;
}

.bg-code-c {
  left: 38vw;
  top: auto;
  bottom: 8vh;
  width: min(24vw, 340px);
  animation-delay: -13s;
}

.bg-block {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(34vw, 480px);
  color: rgba(17, 17, 17, 0.52);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0;
  animation: codeBreathe 11s ease-in-out infinite alternate;
}

.bg-block span {
  position: relative;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid rgba(17, 17, 17, 0.15);
  background: rgba(246, 243, 238, 0.28);
  text-align: center;
  white-space: nowrap;
}

.bg-block span + span::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 9px;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.bg-block-a {
  left: 34vw;
  top: 15vh;
}

.schematic-bg-home .bg-entity-a {
  left: 3vw;
  bottom: 8vh;
}

.schematic-bg-home .bg-entity-b {
  right: -2vw;
  top: 13vh;
}

.schematic-bg-home .bg-entity-c {
  left: 55vw;
  top: 53vh;
}

.schematic-bg-home .bg-entity-d {
  left: 24vw;
  top: 7vh;
}

.schematic-bg-home .bg-entity-e {
  left: -4vw;
  top: 38vh;
}

.schematic-bg-home .bg-entity-f {
  right: 10vw;
  bottom: 26vh;
}

.schematic-bg-home .bg-code-b {
  left: 7vw;
  top: 66vh;
}

.schematic-bg-projects .bg-entity-a {
  width: min(48vw, 700px);
  left: 2vw;
  top: 14vh;
  bottom: auto;
}

.schematic-bg-projects .bg-entity-b {
  width: min(40vw, 590px);
  right: 8vw;
  bottom: 10vh;
  top: auto;
}

.schematic-bg-projects .bg-code {
  left: 43vw;
  top: 47vh;
}

.schematic-bg-projects .bg-entity-c {
  width: min(40vw, 600px);
  left: -8vw;
  bottom: 4vh;
  top: auto;
}

.schematic-bg-projects .bg-entity-d {
  width: min(34vw, 520px);
  right: 30vw;
  top: 9vh;
}

.schematic-bg-projects .bg-entity-e {
  width: min(32vw, 500px);
  right: -5vw;
  top: 38vh;
  left: auto;
}

.schematic-bg-projects .bg-entity-f {
  width: min(30vw, 480px);
  left: 34vw;
  bottom: 7vh;
  right: auto;
}

.schematic-bg-blog .bg-entity-a {
  width: min(36vw, 560px);
  left: 5vw;
  top: 12vh;
  bottom: auto;
}

.schematic-bg-blog .bg-entity-b {
  width: min(42vw, 620px);
  right: 5vw;
  bottom: 9vh;
  top: auto;
}

.schematic-bg-blog .bg-entity-c {
  width: min(43vw, 650px);
  left: 30vw;
  top: 8vh;
}

.schematic-bg-blog .bg-entity-d {
  width: min(33vw, 500px);
  left: 4vw;
  bottom: 8vh;
  top: auto;
}

.schematic-bg-blog .bg-code {
  left: 53vw;
  top: 33vh;
  width: min(30vw, 420px);
}

.schematic-bg-blog .bg-entity-e {
  width: min(30vw, 470px);
  right: 3vw;
  top: 42vh;
  left: auto;
}

.schematic-bg-blog .bg-entity-f {
  width: min(31vw, 490px);
  left: 35vw;
  bottom: 10vh;
  right: auto;
}

.schematic-bg-til .bg-entity-a {
  width: min(48vw, 720px);
  left: 3vw;
  top: 10vh;
  bottom: auto;
}

.schematic-bg-til .bg-entity-b {
  width: min(39vw, 590px);
  right: 4vw;
  top: 18vh;
}

.schematic-bg-til .bg-entity-c {
  width: min(35vw, 520px);
  right: 9vw;
  bottom: 8vh;
  top: auto;
}

.schematic-bg-til .bg-entity-d {
  width: min(34vw, 510px);
  left: 9vw;
  bottom: 7vh;
  top: auto;
}

.schematic-bg-til .bg-code {
  left: 50vw;
  top: 43vh;
}

.schematic-bg-til .bg-entity-e {
  width: min(31vw, 480px);
  left: -5vw;
  top: 43vh;
}

.schematic-bg-til .bg-entity-f {
  width: min(30vw, 470px);
  right: 32vw;
  bottom: 6vh;
}

.schematic-bg-post .bg-entity-a {
  width: min(48vw, 720px);
  left: 2vw;
  top: 12vh;
  bottom: auto;
}

.schematic-bg-post .bg-entity-b {
  width: min(34vw, 520px);
  right: 7vw;
  bottom: 12vh;
  top: auto;
}

.schematic-bg-post .bg-entity-c {
  width: min(38vw, 570px);
  right: -4vw;
  top: 10vh;
}

.schematic-bg-post .bg-entity-d {
  width: min(34vw, 520px);
  left: 9vw;
  bottom: 5vh;
  top: auto;
}

.schematic-bg-post .bg-code {
  left: 52vw;
  top: 31vh;
  width: min(31vw, 430px);
}

.schematic-bg-post .bg-entity-e {
  width: min(30vw, 470px);
  left: 36vw;
  top: 5vh;
}

.schematic-bg-post .bg-entity-f {
  width: min(29vw, 450px);
  right: 5vw;
  bottom: 38vh;
}

.schematic-bg-home .bg-entity-a,
.schematic-bg-projects .bg-entity-a,
.schematic-bg-blog .bg-entity-a,
.schematic-bg-til .bg-entity-a,
.schematic-bg-post .bg-entity-a {
  left: 3vw;
  top: 12vh;
  bottom: auto;
  width: min(30vw, 460px);
}

.schematic-bg-home .bg-entity-b,
.schematic-bg-projects .bg-entity-b,
.schematic-bg-blog .bg-entity-b,
.schematic-bg-til .bg-entity-b,
.schematic-bg-post .bg-entity-b {
  right: 3vw;
  top: 14vh;
  bottom: auto;
  width: min(31vw, 480px);
}

.schematic-bg-home .bg-entity-c,
.schematic-bg-projects .bg-entity-c,
.schematic-bg-blog .bg-entity-c,
.schematic-bg-til .bg-entity-c,
.schematic-bg-post .bg-entity-c {
  left: auto;
  right: 4vw;
  top: auto;
  bottom: 8vh;
  width: min(30vw, 470px);
}

.schematic-bg-home .bg-entity-d,
.schematic-bg-projects .bg-entity-d,
.schematic-bg-blog .bg-entity-d,
.schematic-bg-til .bg-entity-d,
.schematic-bg-post .bg-entity-d {
  left: 5vw;
  right: auto;
  top: auto;
  bottom: 9vh;
  width: min(29vw, 450px);
}

.schematic-bg-home .bg-entity-e,
.schematic-bg-projects .bg-entity-e,
.schematic-bg-blog .bg-entity-e,
.schematic-bg-til .bg-entity-e,
.schematic-bg-post .bg-entity-e {
  left: -7vw;
  right: auto;
  top: 42vh;
  bottom: auto;
  width: min(24vw, 360px);
}

.schematic-bg-home .bg-entity-f,
.schematic-bg-projects .bg-entity-f,
.schematic-bg-blog .bg-entity-f,
.schematic-bg-til .bg-entity-f,
.schematic-bg-post .bg-entity-f {
  left: auto;
  right: -7vw;
  top: 43vh;
  bottom: auto;
  width: min(24vw, 360px);
}

.schematic-bg-home .bg-code,
.schematic-bg-projects .bg-code,
.schematic-bg-blog .bg-code,
.schematic-bg-til .bg-code,
.schematic-bg-post .bg-code {
  left: 39vw;
  top: 36vh;
  width: min(22vw, 320px);
}

.schematic-bg-home .bg-code-b,
.schematic-bg-projects .bg-code-b,
.schematic-bg-blog .bg-code-b,
.schematic-bg-til .bg-code-b,
.schematic-bg-post .bg-code-b {
  left: 10vw;
  top: 61vh;
  width: min(23vw, 330px);
}

.schematic-bg-home .bg-code-c,
.schematic-bg-projects .bg-code-c,
.schematic-bg-blog .bg-code-c,
.schematic-bg-til .bg-code-c,
.schematic-bg-post .bg-code-c {
  left: auto;
  right: 28vw;
  top: auto;
  bottom: 6vh;
  width: min(22vw, 320px);
}

.schematic-bg-home .bg-block-a,
.schematic-bg-projects .bg-block-a,
.schematic-bg-blog .bg-block-a,
.schematic-bg-til .bg-block-a,
.schematic-bg-post .bg-block-a {
  left: 33vw;
  top: 12vh;
}

.home-page main {
  padding-left: var(--rail-gutter);
}

.home-page .site-footer {
  margin-left: var(--rail-gutter);
}

main {
  position: relative;
}

main::before {
  content: "";
  position: fixed;
  right: 3vw;
  top: 18vh;
  width: 190px;
  height: 320px;
  pointer-events: none;
  opacity: 0.1;
  background:
    linear-gradient(90deg, transparent 18px, rgba(17, 17, 17, 0.28) 19px 20px, transparent 21px) 0 0 / 76px 76px,
    linear-gradient(0deg, transparent 18px, rgba(17, 17, 17, 0.22) 19px 20px, transparent 21px) 0 0 / 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 70%, transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.84);
  backdrop-filter: blur(18px);
}

.brand-mark,
.contact-link,
.primary-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 11px;
  font-weight: 700;
  transition: opacity 160ms ease;
}

.brand-mark:hover {
  opacity: 0.72;
}

.brand-cell {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.brand-text {
  letter-spacing: 0;
}

.primary-nav {
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.primary-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:hover {
  color: var(--ink);
  background: #fff;
}

.primary-nav a.is-current {
  color: var(--paper);
  background: var(--ink);
}

.section-nav {
  position: fixed;
  left: clamp(10px, 1.4vw, 24px);
  top: 50%;
  z-index: 19;
  display: grid;
  gap: 14px;
  padding: 12px 0 12px 14px;
  transform: translateY(-50%);
}

.section-nav::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.section-nav a {
  position: relative;
  width: max-content;
  padding: 0 0 0 13px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.section-nav a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 999px;
  background: var(--paper);
  transform: translateY(-50%);
}

.section-nav a:hover,
.section-nav a.is-current {
  color: var(--ink);
}

.section-nav a.is-current::before {
  border-color: var(--ink);
  background: var(--oxide);
  box-shadow: 0 0 0 5px rgba(201, 95, 42, 0.12);
}


.hero-section {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 5vw, 78px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) clamp(18px, 4vw, 54px) clamp(90px, 11vw, 132px);
}

.eyebrow,
.section-kicker,
.blueprint-label,
.console-topline,
.metric-label,
.card-index,
.travel-card span,
.note-row span,
.note-row em,
.site-footer span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 11px;
  color: var(--muted);
}

.hero-copy h1 {
  max-width: 860px;
  margin: 30px 0 38px;
  font-size: 8.4rem;
  line-height: 0.86;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-copy h1 span {
  display: block;
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
}

.hero-subgrid {
  display: grid;
  grid-template-columns: minmax(240px, 620px);
  align-items: end;
  gap: 30px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.hero-interactions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 26px;
}

.hero-interactions span {
  position: relative;
  min-height: 88px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line-strong);
  overflow: visible;
  background: transparent;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero-interactions span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--oxide);
  transition: width 220ms ease, background 220ms ease;
}

.hero-interactions span::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 8px;
  width: 34px;
  height: 24px;
  border-top: 1px solid rgba(17, 17, 17, 0.28);
  border-right: 1px solid rgba(17, 17, 17, 0.22);
  opacity: 0.68;
  transform: skewX(-18deg);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.hero-interactions span:hover,
.hero-interactions span.is-active,
.hero-interactions span:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(17, 17, 17, 0.48);
  outline: none;
}

.hero-interactions span:hover::before,
.hero-interactions span.is-active::before,
.hero-interactions span:focus-visible::before {
  width: 100%;
}

.hero-interactions span:hover::after,
.hero-interactions span.is-active::after,
.hero-interactions span:focus-visible::after {
  border-color: color-mix(in srgb, var(--oxide) 72%, var(--ink));
  opacity: 1;
  transform: skewX(-18deg) translateX(-4px);
}

.hero-interactions strong,
.hero-interactions em {
  position: relative;
}

.hero-interactions strong {
  font-size: 0.98rem;
}

.hero-interactions em {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.hero-subgrid p,
.section-heading p,
.venture-copy p,
.system-card p,
.travel-section p {
  color: #3f4643;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.48);
}

.hero-console {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 570px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(231, 236, 232, 0.9), rgba(246, 243, 238, 0.82));
  overflow: hidden;
}

.focus-stage::after,
.atlas-map::after {
  content: "</>";
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: rgba(17, 17, 17, 0.32);
  pointer-events: none;
}

.console-topline {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.pulse-dot {
  position: relative;
  color: var(--ink);
}

.pulse-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(112, 224, 123, 0.7);
  animation: pulse 1.8s infinite;
}

.portrait-rig {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 370px;
  background: rgba(255, 255, 255, 0.28);
}

.portrait-placeholder {
  width: min(78%, 440px);
  aspect-ratio: 0.82;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(17, 17, 17, 0.32);
  background: rgba(255, 255, 255, 0.44);
  overflow: hidden;
}

.portrait-placeholder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  filter: none;
}

.scanline {
  display: none;
}

.rig-node {
  display: none;
}

.node-a {
  top: 18%;
  left: 18%;
}

.node-b {
  top: 55%;
  right: 13%;
}

.node-c {
  bottom: 15%;
  left: 24%;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.telemetry-grid div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

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

.metric-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
}

.marquee-band {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding: 18px 28px;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-size: 13px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(68px, 9vw, 122px) clamp(18px, 4vw, 54px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.systems-intro h2,
.venture-copy h2,
.notes-section h2 {
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.personal-signal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.56fr);
  gap: clamp(34px, 7vw, 118px);
  align-items: end;
  border-top: 1px solid var(--line);
}

.latest-section {
  display: grid;
  gap: 18px;
  padding-top: clamp(38px, 6vw, 82px);
}

.latest-heading {
  padding-top: 0;
}

.latest-heading .section-kicker,
.focus-copy .section-kicker,
.notes-section .section-kicker {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 500;
}

.latest-carousel {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(231, 236, 232, 0.62)),
    radial-gradient(circle at 82% 18%, rgba(201, 95, 42, 0.18), transparent 30%);
  overflow: hidden;
}

.latest-track {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.latest-track::-webkit-scrollbar {
  display: none;
}

.latest-card {
  height: clamp(500px, 42vw, 560px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.78fr);
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(18px, 2.6vw, 34px);
  scroll-snap-align: start;
  background:
    linear-gradient(135deg, rgba(246, 243, 238, 0.96), rgba(231, 236, 232, 0.7)),
    radial-gradient(circle at 88% 18%, rgba(201, 95, 42, 0.1), transparent 32%);
}

.latest-media {
  position: relative;
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(12px, 1.6vw, 20px);
  background: transparent;
  overflow: hidden;
}

.latest-media::after {
  display: none;
}

.latest-media img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.latest-card-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(246, 243, 238, 0.98), rgba(231, 236, 232, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(17, 17, 17, 0.05) 38px 39px);
}

.latest-card-copy span {
  color: var(--oxide);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.latest-card-copy h3 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2.15rem, 3.6vw, 3.8rem);
  line-height: 0.92;
}

.latest-card-copy p {
  max-width: 600px;
  margin: 0;
  color: #444b48;
  font-size: 1.05rem;
}

.media-roll {
  width: max-content;
  max-width: none;
  height: clamp(260px, 52vh, 420px);
  display: flex;
  gap: 12px;
  overflow: visible;
  animation: mediaRollLoop 42s linear infinite;
}

.latest-media:hover .media-roll {
  animation-play-state: paused;
}

.media-roll figure {
  flex: 0 0 clamp(260px, 28vw, 500px);
  height: 100%;
  width: clamp(260px, 28vw, 500px);
  min-width: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.38);
}

.media-roll img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.text-cta {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.text-cta span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.text-cta:hover {
  color: var(--oxide);
  border-color: var(--oxide);
  transform: translateY(-1px);
}

.text-cta:hover span {
  background: var(--ink);
  color: var(--paper);
  transform: translate(2px, -2px);
}

.placeholder-roll figure {
  background:
    linear-gradient(135deg, rgba(246, 243, 238, 0.78), rgba(231, 236, 232, 0.72)),
    radial-gradient(circle at 70% 28%, rgba(42, 167, 162, 0.14), transparent 34%);
}

.latest-controls {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.latest-controls button {
  width: 38px;
  height: 6px;
  padding: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.24);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.latest-controls button.is-active {
  width: 68px;
  background: var(--oxide);
}

.signal-copy h2,
.focus-copy h2,
.atlas-copy h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3.05rem, 5.2vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.signal-panel {
  padding: 28px;
  border-left: 1px solid var(--line-strong);
}

.signal-panel p,
.focus-copy p,
.atlas-copy p {
  margin: 0;
  color: #3f4643;
  font-size: 1.24rem;
}

.palette-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 34px;
}

.palette-strip span {
  height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: var(--swatch);
}

.portal-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.portal-card {
  --portal-accent: var(--oxide);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(246, 243, 238, 0.96), rgba(246, 243, 238, 0.86)),
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--portal-accent) 38%, transparent), transparent 34%);
  transition: transform 220ms ease, background 220ms ease;
  transform-style: preserve-3d;
}

.portal-card[data-accent="oxide"] {
  --portal-accent: var(--oxide);
}

.portal-card[data-accent="cyan"] {
  --portal-accent: var(--cyan);
}

.portal-card[data-accent="moss"] {
  --portal-accent: var(--moss);
}

.portal-card[data-accent="violet"] {
  --portal-accent: var(--violet);
}

.portal-card:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 243, 238, 0.84)),
    radial-gradient(circle at var(--mx, 70%) var(--my, 20%), color-mix(in srgb, var(--portal-accent) 58%, transparent), transparent 35%);
}

.portal-card span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.portal-card h2 {
  margin: auto 0 20px;
  font-size: 4.1rem;
  line-height: 0.86;
}

.portal-card p {
  max-width: 270px;
  margin: 0;
  color: #444b48;
  font-size: 1.06rem;
}

.focus-section {
  display: grid;
  gap: 16px;
}

.focus-shell {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 330px);
  justify-content: start;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
  min-height: 0;
}

.focus-copy p {
  max-width: 620px;
  margin-top: 28px;
}

.focus-stage {
  --stage-accent: var(--oxide);
  position: relative;
  align-self: start;
  margin-top: clamp(34px, 4vw, 54px);
  min-height: 172px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background:
    radial-gradient(circle at var(--stage-x, 50%) var(--stage-y, 50%), color-mix(in srgb, var(--stage-accent) 12%, transparent), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(130, 155, 101, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(246, 243, 238, 0.86), rgba(231, 236, 232, 0.74));
}

.focus-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0 58px, rgba(17, 17, 17, 0.075) 59px, transparent 60px),
    linear-gradient(0deg, transparent 0 58px, rgba(17, 17, 17, 0.065) 59px, transparent 60px);
  background-size: 118px 118px;
  opacity: 0.42;
  animation: ambientTrace 22s linear infinite reverse;
}

.focus-stage::after {
  content: "telemetry / architecture preview";
  position: absolute;
  left: clamp(14px, 4.5%, 18px);
  top: clamp(14px, 8%, 18px);
  z-index: 3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: rgba(17, 17, 17, 0.48);
  text-transform: uppercase;
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 50%;
  animation: rotateOrbit 18s linear infinite;
  opacity: 0.48;
}

.orbit-a {
  width: 360px;
  height: 360px;
  left: calc(50% - 180px);
  top: calc(50% - 180px);
}

.orbit-b {
  width: 500px;
  height: 190px;
  left: calc(50% - 250px);
  top: calc(50% - 95px);
  animation-duration: 24s;
  animation-direction: reverse;
}

.stage-readouts {
  position: absolute;
  left: clamp(10px, 4%, 16px);
  right: clamp(10px, 4%, 16px);
  top: 58%;
  bottom: auto;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  pointer-events: none;
  transform: translateY(-50%);
}

.stage-readouts span {
  min-width: 0;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px clamp(6px, 1.2vw, 10px);
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(246, 243, 238, 0.68);
  backdrop-filter: blur(8px);
}

.stage-readouts em {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(7px, 0.72vw, 9px);
  font-style: normal;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.stage-readouts strong {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: clip;
}

.project-tile-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.82fr 0.93fr;
  gap: 18px;
  margin-top: 18px;
}

.project-tile {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--paper);
}

.project-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(0.8) contrast(0.95);
  transform: scale(1.01);
  transition: transform 260ms ease, opacity 260ms ease, filter 260ms ease;
}

.project-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 15%, rgba(17, 17, 17, 0.78) 86%),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255, 255, 255, 0.07) 28px 29px);
}

.project-tile span,
.project-tile h3,
.project-tile p {
  position: relative;
  margin: 0;
}

.project-tile span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(246, 243, 238, 0.72);
}

.project-tile h3 {
  max-width: 470px;
  margin-top: 14px;
  font-size: 2.35rem;
  line-height: 0.94;
}

.project-tile p {
  max-height: 0;
  max-width: 440px;
  overflow: hidden;
  color: rgba(246, 243, 238, 0.78);
  transition: max-height 220ms ease, margin-top 220ms ease;
}

.project-tile:hover img,
.project-tile.is-active img {
  opacity: 0.72;
  filter: saturate(1) contrast(1);
  transform: scale(1.055);
}

.project-tile:hover p,
.project-tile.is-active p {
  max-height: 90px;
  margin-top: 12px;
}

.tile-wide {
  min-height: 360px;
}

.tile-tall {
  min-height: 460px;
}

.tile-square {
  min-height: 360px;
  align-self: end;
}

.atlas-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
}

.timeline-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.82fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.timeline-intro {
  position: sticky;
  top: 116px;
}

.timeline-intro h2 {
  margin: 0;
  font-size: clamp(2.9rem, 4.8vw, 4rem);
  line-height: 0.96;
}

.timeline-intro p {
  max-width: 460px;
  color: #3f4643;
  font-size: 1.18rem;
}

.timeline-track {
  display: grid;
  gap: 8px;
}

.timeline-board {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  align-self: center;
  align-items: stretch;
}

.timeline-board .timeline-track {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  mask-image: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: 76px minmax(128px, 0.42fr) 44px minmax(230px, 1fr);
  gap: 13px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.timeline-item span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--oxide);
}

.timeline-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(231, 236, 232, 0.42)),
    radial-gradient(circle at 70% 30%, rgba(42, 167, 162, 0.2), transparent 40%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}

.timeline-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-item .timeline-logo {
  grid-column: 3;
  grid-row: 1;
}

.timeline-item h3,
.timeline-item p {
  margin: 0;
}

.timeline-item h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.14rem, 1.38vw, 1.45rem);
  line-height: 1;
}

.timeline-item p {
  grid-column: 4;
  grid-row: 1;
  color: #444b48;
  font-size: 0.92rem;
}

.timeline-item p strong {
  color: var(--ink);
  font-weight: 700;
}

.timeline-item {
  transition: background 180ms ease, padding-inline 180ms ease;
}

.timeline-item.is-active,
.timeline-item:hover {
  padding-inline: 14px;
  background:
    linear-gradient(90deg, rgba(201, 95, 42, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.28);
}

.timeline-item.is-active h3,
.timeline-item:hover h3 {
  color: var(--oxide);
}

.timeline-item.is-active .timeline-logo,
.timeline-item:hover .timeline-logo {
  transform: rotate(-3deg) scale(1.06);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(231, 236, 232, 0.48)),
    radial-gradient(circle at 60% 35%, rgba(201, 95, 42, 0.24), transparent 44%);
}

.education-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
  padding: clamp(20px, 2vw, 30px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(231, 236, 232, 0.54)),
    radial-gradient(circle at 86% 16%, rgba(42, 167, 162, 0.16), transparent 28%);
}

.education-panel .section-kicker {
  margin: 0 0 4px;
  display: none;
}

.education-panel article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.education-panel h3,
.education-panel p {
  margin: 0;
}

.education-panel h3 {
  font-size: 1.38rem;
  line-height: 1;
}

.education-panel .education-meta {
  margin-top: 8px;
  color: var(--oxide);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.education-panel p {
  margin-top: 8px;
  color: #444b48;
}

.education-panel article span:not(.timeline-logo) {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
}

.notes-subheading {
  max-width: 460px;
  margin: 18px 0 0;
  color: #3f4643;
  font-size: 1.14rem;
}

.atlas-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  justify-items: start;
  max-width: 820px;
  padding-bottom: 4px;
  text-align: left;
}

.atlas-copy p {
  max-width: 620px;
  margin: 0;
  padding-top: 0;
}

.atlas-map {
  position: relative;
  min-height: clamp(660px, 70vw, 920px);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 28%, rgba(42, 167, 162, 0.2), transparent 22%),
    radial-gradient(circle at 72% 42%, rgba(130, 155, 101, 0.23), transparent 26%),
    radial-gradient(circle at 55% 78%, rgba(122, 111, 168, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(231, 236, 232, 0.72), rgba(246, 243, 238, 0.9));
}

.atlas-map::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  transform: skew(-8deg);
  pointer-events: none;
}

.map-canvas {
  position: absolute;
  inset: clamp(22px, 3vw, 46px);
}

.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.world-map {
  overflow: visible;
  display: block;
}

.landmass {
  fill: rgba(17, 17, 17, 0.06);
  stroke: rgba(17, 17, 17, 0.12);
  stroke-width: 1.2;
}

.country {
  fill: rgba(17, 17, 17, 0.045);
  stroke: rgba(17, 17, 17, 0.16);
  stroke-width: 0.65;
  cursor: default;
  pointer-events: none;
  transition: fill 180ms ease, transform 180ms ease, filter 180ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.country.is-visited {
  fill: rgba(201, 95, 42, 0.62);
  stroke: rgba(17, 17, 17, 0.56);
  stroke-width: 0.95;
  cursor: pointer;
  pointer-events: all;
}

.country.is-lived {
  fill: rgba(42, 167, 162, 0.64);
  stroke: rgba(17, 17, 17, 0.6);
  stroke-width: 0.95;
  cursor: pointer;
  pointer-events: all;
}

.country.is-visited:hover,
.country.is-visited:focus,
.country.is-visited.is-active,
.country.is-lived:hover,
.country.is-lived:focus,
.country.is-lived.is-active {
  fill: rgba(122, 111, 168, 0.86);
  outline: none;
  transform: scale(1.025);
  filter: drop-shadow(0 10px 18px rgba(17, 17, 17, 0.12));
}

.map-legend {
  position: absolute;
  right: 28px;
  top: 24px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: rgba(246, 243, 238, 0.78);
  backdrop-filter: blur(12px);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3f4643;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.map-legend i {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 1px solid rgba(17, 17, 17, 0.42);
  transform: skew(-10deg);
}

.legend-visited {
  background: rgba(201, 95, 42, 0.72);
}

.legend-lived {
  background: rgba(42, 167, 162, 0.72);
}

.map-popover {
  position: absolute;
  right: 28px;
  top: 28px;
  z-index: 4;
  width: min(340px, calc(100% - 56px));
  padding: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(246, 243, 238, 0.92);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.map-popover.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.map-popover span,
.map-popover p {
  margin: 0;
}

.map-popover span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 11px;
}

.map-popover strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.7rem;
  line-height: 1;
}

.map-popover p {
  color: #3f4643;
  font-size: 0.96rem;
}

.popover-carousel,
.travel-carousel {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 8px;
  margin-top: 14px;
}

.popover-carousel img,
.travel-carousel img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.travel-carousel img:first-child {
  aspect-ratio: 1.35;
}

.travel-carousel img:last-child {
  aspect-ratio: 0.9;
}

.atlas-pin {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.atlas-pin:hover,
.atlas-pin.is-active {
  transform: rotate(45deg) scale(1.12);
  background: var(--oxide);
  color: var(--paper);
}

.atlas-pin.pin-1 {
  left: 22%;
  top: 30%;
}

.atlas-pin.pin-2 {
  left: 58%;
  top: 22%;
}

.atlas-pin.pin-3 {
  left: 70%;
  top: 66%;
}

.atlas-readout {
  display: none;
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.project-detail-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 54px) clamp(78px, 10vw, 130px);
}

.project-detail {
  display: none;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(231, 236, 232, 0.42)),
    radial-gradient(circle at 16% 20%, rgba(42, 167, 162, 0.12), transparent 24%);
}

.project-detail.is-active {
  display: grid;
}

.project-detail-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.14);
}

.project-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-media {
  aspect-ratio: 0.8;
}

.wide-media {
  aspect-ratio: 1.65;
}

.detail-video-slot {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(246, 243, 238, 0.42);
  background: rgba(17, 17, 17, 0.66);
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-size: 11px;
}

.project-detail-copy {
  align-self: end;
}

.project-detail-copy span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.project-detail-copy h2 {
  margin: 18px 0;
  font-size: 4rem;
  line-height: 0.94;
}

.project-card-collection {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(48px, 8vw, 104px);
  padding: 0 clamp(18px, 4vw, 54px) clamp(78px, 10vw, 130px);
}

.project-case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(340px, 0.52fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(231, 236, 232, 0.36)),
    radial-gradient(circle at 12% 16%, rgba(42, 167, 162, 0.12), transparent 20%);
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}

.project-case-card::after {
  content: "Hover for technical notes";
  position: absolute;
  top: clamp(16px, 2vw, 26px);
  right: clamp(16px, 2vw, 26px);
  z-index: 5;
  padding: 9px 12px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: rgba(246, 243, 238, 0.82);
  color: #2f3633;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.project-case-card:hover::after,
.project-case-card:focus-within::after,
.project-case-card.is-expanded::after {
  content: "Technical notes open";
  background: rgba(17, 17, 17, 0.86);
  color: var(--paper);
  transform: translateY(-2px);
}

.project-card-collection.has-focus .project-case-card {
  opacity: 0.38;
  filter: brightness(0.68) saturate(0.74);
}

.project-card-collection.has-focus .project-case-card.is-current {
  opacity: 1;
  filter: none;
  transform: translateY(-4px);
  box-shadow: 0 26px 80px rgba(17, 17, 17, 0.11);
}

.project-collage {
  align-self: center;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-auto-rows: clamp(130px, 17vw, 220px);
  gap: 10px;
  align-content: center;
}

.project-collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(246, 243, 238, 0.72);
  filter: saturate(0.9) contrast(0.98);
}

.project-collage .wide {
  grid-row: span 2;
}

.portrait-collage {
  grid-template-columns: 0.8fr 1fr;
}

.venture-collage {
  grid-template-columns: 1fr 0.62fr;
}

.project-carousel {
  position: relative;
  align-self: center;
  min-height: clamp(280px, 36vw, 440px);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.14);
}

.carousel-track {
  display: flex;
  height: 100%;
  min-height: inherit;
  animation: carouselSlide 15s ease-in-out infinite;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  min-height: inherit;
  object-fit: contain;
  background: rgba(246, 243, 238, 0.72);
}

.carousel-dots {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 7px;
}

.carousel-dots span {
  width: 28px;
  height: 3px;
  background: rgba(246, 243, 238, 0.74);
}

.project-case-body {
  align-self: center;
}

.project-case-body span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.project-case-body h2 {
  margin: 18px 0;
  font-size: clamp(2.7rem, 4.2vw, 3.55rem);
  line-height: 0.92;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.mini-card-grid a {
  min-height: 72px;
  display: flex;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.34);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.mini-card-grid a:hover {
  background: rgba(201, 95, 42, 0.1);
  transform: translateY(-2px);
}

.project-technical {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 0 solid transparent;
  opacity: 0;
  transition: max-height 420ms ease, opacity 260ms ease, margin-top 260ms ease, padding-top 260ms ease, border-color 260ms ease;
}

.project-case-card:hover .project-technical,
.project-case-card:focus-within .project-technical,
.project-case-card.is-expanded .project-technical {
  max-height: 440px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  opacity: 1;
}

.project-technical h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.project-technical p {
  max-width: 760px;
  margin: 0 0 12px;
  color: #444b48;
}

.post-page {
  max-width: var(--max);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  margin: 52px clamp(34px, 6vw, 86px) 0;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.38);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.back-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.post-hero {
  display: grid;
  gap: 22px;
  padding: clamp(34px, 5vw, 66px) clamp(18px, 4vw, 54px) 38px;
}

.post-hero span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.post-hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: 5.4rem;
  line-height: 0.9;
}

.post-hero p {
  max-width: 720px;
  color: #3f4643;
  font-size: 1.22rem;
}

.post-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.post-body {
  margin: 0 clamp(18px, 4vw, 54px) clamp(78px, 10vw, 130px);
}

.atlas-readout span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.atlas-readout strong {
  max-width: 620px;
  font-size: 2.8rem;
  line-height: 0.94;
}

.atlas-readout p {
  max-width: 560px;
  margin: 0;
  color: #3f4643;
  font-size: 1.03rem;
}

@keyframes rotateOrbit {
  to {
    transform: rotate(360deg);
  }
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.7fr);
  gap: 20px;
}

.project-list {
  display: grid;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 168px;
  padding: 22px;
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--signal);
  transition: width 220ms ease;
}

.project-card:hover,
.project-card.is-active {
  background: #fff;
}

.project-card:hover::before,
.project-card.is-active::before {
  width: 6px;
}

.project-card.is-active {
  box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.72);
}

.project-index {
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted);
}

.project-card h3 {
  margin: 0 0 12px;
  font-size: 3rem;
  line-height: 0.95;
}

.project-card p {
  max-width: 660px;
  margin: 0;
  color: #414844;
  font-size: 17px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px;
}

.project-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.55);
}

.project-blueprint {
  position: sticky;
  top: 106px;
  min-height: 520px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: var(--graphite);
  color: var(--paper);
  overflow: hidden;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(to right, var(--cyan) 1px, transparent 1px),
    linear-gradient(to bottom, var(--cyan) 1px, transparent 1px);
  background-size: 36px 36px;
}

.project-blueprint h3,
.project-blueprint p,
.project-blueprint dl {
  position: relative;
}

.project-blueprint h3 {
  max-width: 520px;
  margin: 90px 0 20px;
  font-size: 4.4rem;
  line-height: 0.9;
}

.project-blueprint p {
  max-width: 480px;
  color: rgba(244, 242, 237, 0.74);
  font-size: 18px;
}

.blueprint-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 46px;
}

.blueprint-specs div {
  padding: 14px;
  border: 1px solid rgba(244, 242, 237, 0.22);
  background: rgba(17, 17, 17, 0.28);
}

.blueprint-specs dt {
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: rgba(244, 242, 237, 0.58);
  text-transform: uppercase;
}

.blueprint-specs dd {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.systems-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  background: var(--panel);
  max-width: none;
  padding-inline: max(clamp(18px, 4vw, 54px), calc((100vw - var(--max)) / 2 + 54px));
}

.systems-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.system-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
}

.system-card {
  min-height: 430px;
  padding: 22px;
  border-right: 1px solid var(--line-strong);
  background: rgba(244, 242, 237, 0.58);
  transition: transform 200ms ease, background 200ms ease;
}

.system-card:last-child {
  border-right: 0;
}

.system-card:hover {
  transform: translateY(-10px);
  background: #fff;
}

.system-card.accent {
  background: var(--signal);
}

.system-card.accent .card-index,
.system-card.accent p {
  color: rgba(17, 17, 17, 0.72);
}

.system-card h3 {
  margin: 110px 0 18px;
  font-size: 3.35rem;
  line-height: 0.95;
}

.venture-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.venture-copy p:last-child {
  max-width: 560px;
}

.venture-timeline {
  display: grid;
  gap: 0;
  border: 1px solid var(--line-strong);
}

.venture-timeline article {
  display: grid;
  grid-template-columns: 86px 0.6fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
}

.venture-timeline article:last-child {
  border-bottom: 0;
}

.venture-timeline span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--signal);
}

.venture-timeline h3,
.venture-timeline p {
  margin: 0;
}

.venture-timeline h3 {
  font-size: 30px;
}

.venture-timeline p {
  color: #444b48;
  font-size: 18px;
}

.travel-section {
  background: var(--ink);
  color: var(--paper);
  max-width: none;
  padding-inline: max(clamp(18px, 4vw, 54px), calc((100vw - var(--max)) / 2 + 54px));
}

.travel-section .section-heading p,
.travel-section .section-kicker {
  color: rgba(244, 242, 237, 0.68);
}

.travel-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 20px;
}

.map-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 237, 0.22);
  background:
    linear-gradient(135deg, rgba(30, 199, 193, 0.3), transparent 34%),
    linear-gradient(315deg, rgba(255, 107, 0, 0.35), transparent 28%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(244, 242, 237, 0.08) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(244, 242, 237, 0.08) 46px 47px);
}

.map-panel p {
  position: absolute;
  left: 24px;
  bottom: 20px;
  max-width: 410px;
  color: var(--paper);
  font-size: 4.5rem;
  line-height: 0.9;
  font-weight: 800;
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--paper);
  background: var(--signal);
  transform: rotate(45deg);
}

.pin-1 {
  left: 18%;
  top: 34%;
}

.pin-2 {
  left: 44%;
  top: 22%;
}

.pin-3 {
  right: 24%;
  top: 48%;
}

.pin-4 {
  right: 16%;
  bottom: 24%;
}

.route-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform-origin: left center;
}

.line-1 {
  left: 20%;
  top: 36%;
  width: 320px;
  transform: rotate(-16deg);
}

.line-2 {
  right: 18%;
  top: 51%;
  width: 260px;
  transform: rotate(35deg);
}

.travel-stack {
  display: grid;
  gap: 20px;
}

.travel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(244, 242, 237, 0.22);
  background:
    linear-gradient(135deg, rgba(244, 242, 237, 0.1), rgba(244, 242, 237, 0.03)),
    radial-gradient(circle at 80% 20%, rgba(30, 199, 193, 0.32), transparent 30%);
}

.travel-card.tall {
  min-height: 310px;
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.18), rgba(244, 242, 237, 0.04)),
    radial-gradient(circle at 20% 70%, rgba(112, 224, 123, 0.3), transparent 34%);
}

.travel-card h3 {
  margin: 0;
  font-size: 3.35rem;
  line-height: 0.92;
}

.notes-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 62px);
}

.note-list {
  border-top: 1px solid var(--line-strong);
}

.note-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 0.16fr) minmax(0, 1fr) 70px;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}

.note-row strong {
  font-size: 2.65rem;
  line-height: 1;
}

.note-row:hover strong {
  color: var(--signal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 4px;
  font-weight: 800;
}

.article-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(78px, 11vw, 150px) clamp(18px, 4vw, 54px) clamp(48px, 7vw, 90px);
}

.article-hero h1 {
  max-width: 1050px;
  margin: 18px 0 24px;
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  line-height: 0.94;
}

.article-hero p:last-child {
  max-width: 740px;
  color: #3f4643;
  font-size: 1.25rem;
}

.project-index-grid,
.blog-index {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 54px) clamp(78px, 10vw, 130px);
}

.project-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.55fr);
  gap: 28px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.project-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(circle at 18px 18px, var(--ink) 0 2px, transparent 3px) 0 0 / 62px 62px,
    linear-gradient(90deg, transparent 30px, rgba(17, 17, 17, 0.16) 31px 32px, transparent 33px) 0 0 / 124px 124px;
}

.project-feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
}

.project-feature.split {
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
}

.project-feature.vertical {
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
}

.project-feature img,
.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.12);
  transition: transform 260ms ease, filter 260ms ease;
}

.project-feature:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.project-feature.vertical img {
  aspect-ratio: 0.78;
}

.project-feature div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}

.project-feature span,
.blog-card span,
.article-meta span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.project-feature h2,
.blog-card h2 {
  margin: 18px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.project-feature p,
.blog-card p {
  color: #3f4643;
  font-size: 1.08rem;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.content-actions a {
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
}

.blog-index {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.til-index-page .blog-index {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.til-index-page .blog-card h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.55rem);
  line-height: 1;
}

.til-index-page .blog-card p {
  font-size: 1rem;
}

.blog-filter-bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 clamp(18px, 4vw, 54px) 18px;
}

.blog-filter-bar button {
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.34);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.blog-filter-bar button:hover,
.blog-filter-bar button.is-active {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.blog-card {
  position: relative;
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
  transition: opacity 180ms ease, transform 180ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card::before,
.project-case-card::before,
.note-row::before,
.education-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 28px 28px, rgba(17, 17, 17, 0.22) 0 1px, transparent 2px) 0 0 / 72px 72px,
    linear-gradient(90deg, transparent 0 52px, rgba(17, 17, 17, 0.13) 53px 54px, transparent 55px) 0 0 / 144px 144px;
  animation: ambientTrace 24s linear infinite;
}

.blog-card > *,
.project-case-card > *,
.note-row > *,
.education-panel > * {
  position: relative;
  z-index: 1;
}

.blog-card.is-filtered-out,
.blog-card.image-card.is-filtered-out {
  display: none;
}

.blog-card.image-card {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 14px;
}

.blog-card.image-card img {
  height: clamp(220px, 30vw, 330px);
  min-height: 0;
  max-height: 330px;
  aspect-ratio: 1.2;
}

.article-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 0.24fr) minmax(0, 0.76fr);
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(72px, 10vw, 130px) clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

.article-meta {
  position: sticky;
  top: 116px;
  align-self: start;
}

.article-meta p {
  color: #3f4643;
}

.rich-article {
  max-width: 840px;
}

.rich-article h2 {
  margin: 0 0 24px;
  font-size: 4rem;
  line-height: 0.95;
}

.rich-article p {
  color: #2f3633;
  font-size: 1.15rem;
}

.rich-article .lede {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  line-height: 1.08;
  color: var(--ink);
}

.callout {
  margin: 30px 0;
  padding: 22px;
  border-left: 4px solid var(--oxide);
  background: rgba(201, 95, 42, 0.08);
  font-size: 1.25rem;
  font-weight: 700;
}

blockquote {
  margin: 34px 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line-strong);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.6rem;
  line-height: 1.02;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.article-card-grid div {
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.34);
}

.article-card-grid p {
  font-size: 0.98rem;
}

.til-gear-hero {
  padding-bottom: 24px;
}

.til-gear-hero h1 {
  font-size: clamp(2.35rem, 11vw, 5rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.til-gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: start;
  gap: 18px;
}

.til-aggregation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: start;
  gap: 18px;
  margin-bottom: clamp(34px, 6vw, 72px);
}

.til-page-divider {
  width: min(100%, 780px);
  height: 1px;
  margin: 0 auto clamp(34px, 6vw, 72px);
  background: var(--line-strong);
}

.til-ideation-section {
  max-width: 860px;
  margin: 0 auto;
}

.til-ideation-section > .til-column {
  margin: 0 auto;
}

.til-column {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.til-column::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background:
    radial-gradient(circle at 26px 26px, rgba(17, 17, 17, 0.22) 0 1px, transparent 2px) 0 0 / 72px 72px,
    linear-gradient(90deg, transparent 0 52px, rgba(17, 17, 17, 0.13) 53px 54px, transparent 55px) 0 0 / 144px 144px;
}

.til-column > * {
  position: relative;
  z-index: 1;
}

.til-column-kicker {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.til-column h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.til-lede {
  color: #2f3633;
  font-size: 1.18rem;
}

.til-subcard {
  margin-top: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.38);
}

.til-subcard strong {
  display: block;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: none;
}

.til-subcard a {
  position: relative;
  top: 0;
  color: var(--ink);
  text-decoration-color: rgba(190, 104, 38, 0.78);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-shadow: 0 6px 18px rgba(190, 104, 38, 0.2);
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease,
    text-shadow 160ms ease,
    top 160ms ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: none;
}

.til-subcard a:hover,
.til-subcard a:focus-visible {
  top: -1px;
  color: #9a501f;
  text-decoration-color: rgba(190, 104, 38, 1);
  text-shadow: 0 8px 20px rgba(190, 104, 38, 0.32);
}

.til-subcard a:focus-visible {
  outline: 1px solid rgba(190, 104, 38, 0.55);
  outline-offset: 3px;
}

.til-source-tag {
  display: block;
  margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 11px;
}

.til-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 14px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.til-email-card,
.til-idea-card {
  padding: 18px;
}

.til-subcard p {
  margin: 0 0 12px;
  color: #3f4643;
  font-size: 1rem;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.til-subcard p:last-child {
  margin-bottom: 0;
}

.til-subcard.muted-card {
  background: rgba(17, 17, 17, 0.04);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(112, 224, 123, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(112, 224, 123, 0);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-90px);
    opacity: 0.25;
  }
  50% {
    transform: translateY(128px);
    opacity: 1;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes schematicDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(28px, -18px, 0) rotate(0.6deg);
  }
}

@keyframes schematicFloat {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: var(--entity-low);
  }
  36% {
    opacity: var(--entity-mid);
  }
  68% {
    opacity: var(--entity-low);
  }
  100% {
    transform: translate3d(18px, -10px, 0);
    opacity: var(--entity-high);
  }
}

@keyframes codeBreathe {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.72;
  }
  to {
    transform: translate3d(-18px, 12px, 0);
    opacity: 0.48;
  }
}

@keyframes tracePulse {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -34;
  }
}

@keyframes ambientGrid {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 116px 58px, -58px 116px, 116px 116px, 0 0;
  }
}

@keyframes ambientTrace {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 144px 72px, -72px 144px;
  }
}

@keyframes mediaRollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

@keyframes carouselSlide {
  0%,
  27% {
    transform: translateX(0);
  }
  36%,
  63% {
    transform: translateX(-100%);
  }
  72%,
  100% {
    transform: translateX(-200%);
  }
}

@media (min-width: 1500px) {
  .hero-copy h1 {
    font-size: 9.4rem;
  }

  .section-heading h2,
  .signal-copy h2,
  .focus-copy h2,
  .atlas-copy h2,
  .timeline-intro h2,
  .systems-intro h2,
  .venture-copy h2,
  .notes-section h2 {
    font-size: 5.8rem;
  }
}

@media (max-width: 1080px) {
  :root {
    --rail-gutter: 96px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero-section,
  .latest-section,
  .personal-signal,
  .focus-shell,
  .timeline-section,
  .atlas-section,
  .workbench,
  .systems-section,
  .venture-section,
  .travel-board,
  .notes-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .portal-section,
  .project-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy h1 {
    font-size: 5.8rem;
  }

  .section-heading h2,
  .latest-heading h2,
  .signal-copy h2,
  .focus-copy h2,
  .atlas-copy h2,
  .systems-intro h2,
  .venture-copy h2,
  .notes-section h2 {
    font-size: 4.2rem;
  }

  .timeline-intro {
    position: relative;
    top: auto;
  }

  .timeline-intro h2 {
    font-size: 4rem;
  }

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

  .timeline-item {
    grid-template-columns: 76px minmax(128px, 0.42fr) 44px minmax(220px, 1fr);
  }

  .timeline-item p {
    grid-column: 4;
  }

  .portal-card {
    min-height: 330px;
  }

  .portal-card h2 {
    font-size: 3.7rem;
  }

  .atlas-map {
    min-height: 470px;
  }

  .focus-stage {
    min-height: 300px;
  }

  .latest-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .latest-media,
  .latest-card {
    min-height: 430px;
  }

  .latest-media {
    height: auto;
  }

  .map-canvas {
    inset: 34px 20px 34px;
  }

  .article-hero h1 {
    font-size: 4.2rem;
  }

  .project-feature,
  .project-feature.split,
  .project-feature.vertical,
  .project-detail,
  .project-case-card,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .project-case-body h2 {
    font-size: 3rem;
  }

  .project-card-collection {
    gap: 54px;
  }

  .project-card-collection.has-focus .project-case-card {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .project-case-card::after {
    content: "Technical notes below";
  }

  .project-case-card:hover::after,
  .project-case-card:focus-within::after {
    content: "Technical notes below";
  }

  .project-technical {
    max-height: none;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line-strong);
    opacity: 1;
  }

  .blog-index,
  .article-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-index {
    max-width: min(var(--max), 760px);
  }

  .til-index-page .blog-index {
    max-width: var(--max);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card.image-card img {
    height: clamp(220px, 42vw, 320px);
    max-height: 320px;
  }

  .article-meta {
    position: relative;
    top: auto;
  }

  .atlas-readout strong {
    font-size: 2.45rem;
  }

  .signal-panel {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
    padding-inline: 0;
  }

  .project-card h3,
  .system-card h3,
  .travel-card h3 {
    font-size: 2.7rem;
  }

  .project-blueprint h3,
  .map-panel p {
    font-size: 3.8rem;
  }

  .hero-console,
  .project-blueprint,
  .systems-intro {
    position: relative;
    top: auto;
  }

  .system-cards {
    grid-template-columns: 1fr;
  }

  .system-card {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .system-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px;
    gap: 12px;
  }

  .primary-nav {
    padding: 5px;
    gap: 4px;
  }

  .primary-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .section-nav {
    left: 4px;
    top: 52%;
    gap: 10px;
    padding: 8px 0 8px 8px;
    transform: translateY(-50%);
  }

  .section-nav a {
    padding-left: 8px;
    font-size: 9px;
  }

  .section-nav a::before {
    left: -10px;
    width: 5px;
    height: 5px;
  }

  .schematic-bg {
    opacity: 0.66;
  }

  .bg-entity-a {
    width: 66vw;
    left: -20vw;
    top: 9vh;
    bottom: auto;
  }

  .bg-entity-b {
    width: 64vw;
    right: -22vw;
    top: auto;
    bottom: 8vh;
  }

  .bg-entity-c {
    display: none;
  }

  .bg-entity-d {
    display: none;
  }

  .bg-entity-e {
    display: none;
  }

  .bg-entity-f {
    display: none;
  }

  .bg-code {
    left: 9vw;
    top: 48vh;
    width: 60vw;
    font-size: 9px;
  }

  .bg-code-b,
  .bg-code-c,
  .bg-block,
  .bg-label-b,
  .bg-label-c,
  .bg-label-d {
    display: none;
  }

  .bg-label-a {
    left: 8vw;
    top: 13vh;
  }

  .bg-label-b {
    right: 7vw;
    top: 42vh;
  }

  .bg-label-c {
    left: 8vw;
    bottom: 9vh;
  }

  .bg-label-d {
    right: 8vw;
    bottom: 18vh;
  }

  .brand-text {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding-top: 30px;
  }

  .hero-copy h1 {
    font-size: 3.9rem;
  }

  .hero-subgrid p,
  .section-heading p,
  .signal-panel p,
  .focus-copy p,
  .atlas-copy p,
  .venture-copy p,
  .system-card p,
  .travel-section p {
    font-size: 1.08rem;
  }

  .section-heading h2,
  .latest-heading h2,
  .signal-copy h2,
  .focus-copy h2,
  .atlas-copy h2,
  .systems-intro h2,
  .venture-copy h2,
  .notes-section h2 {
    font-size: 3rem;
  }

  .timeline-intro h2 {
    font-size: 3rem;
  }

  .timeline-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 22px 0;
  }

  .timeline-item h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-item .timeline-logo {
    grid-column: 1;
    grid-row: 2;
  }

  .timeline-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .timeline-board .timeline-track {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    mask-image: none;
  }

  .education-panel {
    padding: 20px;
  }

  .timeline-item p {
    grid-column: 2;
    grid-row: 2;
  }

  .timeline-logo {
    width: 36px;
    height: 36px;
  }

  .portal-card {
    min-height: 260px;
  }

  .portal-card h2 {
    font-size: 3rem;
  }

  .atlas-map {
    min-height: 390px;
  }

  .focus-stage {
    min-height: 280px;
  }

  .latest-card {
    min-height: 0;
  }

  .latest-media,
  .latest-card {
    min-height: 330px;
  }

  .media-roll {
    height: 280px;
  }

  .latest-card-copy {
    min-height: 280px;
  }

  .latest-controls {
    left: 14px;
    bottom: 14px;
  }

  .stage-readouts {
    top: 50%;
    left: 16px;
    right: 16px;
    bottom: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: translateY(-50%);
  }

  .stage-readouts span {
    min-height: 76px;
    padding: 10px 8px;
  }

  .stage-readouts strong {
    font-size: clamp(1.18rem, 5vw, 1.7rem);
  }

  .atlas-readout strong {
    font-size: 2rem;
  }

  .world-map {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .map-canvas {
    inset: 92px 12px 22px;
  }

  .atlas-copy,
  .hero-interactions {
    grid-template-columns: 1fr;
  }

  .map-popover {
    left: 12px;
    right: 12px;
    top: 12px;
    width: auto;
  }

  .map-legend {
    left: auto;
    right: 16px;
    top: 14px;
    bottom: auto;
    justify-content: flex-start;
  }

  .atlas-readout {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .travel-carousel {
    display: none;
  }

  .article-hero h1,
  .rich-article h2,
  .post-hero h1,
  .project-detail-copy h2,
  .project-case-body h2 {
    font-size: 3rem;
  }

  blockquote {
    font-size: 2rem;
  }

  .project-tile,
  .tile-wide,
  .tile-tall,
  .tile-square {
    min-height: 300px;
  }

  .project-card h3,
  .system-card h3,
  .travel-card h3,
  .venture-timeline h3 {
    font-size: 2.15rem;
  }

  .project-blueprint h3,
  .map-panel p {
    font-size: 2.8rem;
  }

  .note-row strong {
    font-size: 1.9rem;
  }

  .portrait-initials {
    font-size: 5.2rem;
  }

  .metric-value {
    font-size: 2.1rem;
  }

  .hero-subgrid,
  .portal-section,
  .project-tile-grid,
  .project-card,
  .venture-timeline article,
  .note-row {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: 520px;
  }

  .telemetry-grid,
  .blueprint-specs {
    grid-template-columns: 1fr;
  }

  .telemetry-grid div {
    border-right: 0;
    border-bottom: 0;
  }

  .project-tags {
    justify-content: flex-start;
  }

  .map-panel {
    min-height: 430px;
  }
}

@media (max-width: 480px) {
  :root {
    --rail-gutter: 88px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .bg-code {
    display: none;
  }

  .bg-label {
    display: none;
  }

  .bg-entity-a {
    width: 112vw;
    left: -36vw;
  }

  .bg-entity-b {
    width: 106vw;
    right: -42vw;
    bottom: 7vh;
  }

  .bg-entity-c {
    width: 82vw;
    left: 24vw;
    top: 32vh;
  }

  .bg-entity-d {
    width: 76vw;
    right: 20vw;
    top: 8vh;
  }

  .bg-entity-e,
  .bg-entity-f {
    width: 62vw;
  }

  .section-heading h2,
  .latest-heading h2,
  .signal-copy h2,
  .focus-copy h2,
  .atlas-copy h2,
  .systems-intro h2,
  .venture-copy h2,
  .notes-section h2 {
    font-size: 2.45rem;
  }

  .timeline-intro h2 {
    font-size: 2.45rem;
  }

  .portal-card h2 {
    font-size: 2.45rem;
  }

  .focus-stage {
    min-height: 280px;
  }

  .atlas-map {
    min-height: 430px;
  }

  .stage-readouts {
    left: 10px;
    right: 10px;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage-readouts span {
    min-height: 70px;
    padding: 9px 5px;
  }

  .stage-readouts em {
    font-size: 8px;
  }

  .stage-readouts strong {
    font-size: 1.42rem;
  }

  .map-canvas {
    inset: 118px 10px 18px;
  }

  .map-popover {
    margin: 0;
    padding: 12px;
  }

  .map-legend {
    gap: 6px;
    padding: 8px;
  }

  .map-legend span {
    font-size: 9px;
  }

  .popover-carousel {
    display: none;
  }

  .atlas-readout strong {
    font-size: 1.55rem;
  }

  .media-roll figure {
    flex-basis: clamp(180px, 54vw, 220px);
    width: clamp(180px, 54vw, 220px);
  }

  .article-hero h1,
  .rich-article h2,
  .post-hero h1,
  .project-detail-copy h2,
  .project-case-body h2 {
    font-size: 2.45rem;
  }

  .project-collage,
  .portrait-collage,
  .venture-collage,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }

  .project-collage {
    grid-auto-rows: 160px;
  }

  .project-carousel {
    min-height: 260px;
  }

  .project-collage .wide {
    grid-row: auto;
  }

  .project-detail-media {
    min-height: 320px;
  }

  .project-detail {
    padding: 14px;
  }

  .project-feature h2,
  .blog-card h2 {
    font-size: 2rem;
  }

  .orbit-a {
    width: 260px;
    height: 260px;
    left: calc(50% - 130px);
    top: calc(50% - 130px);
  }

  .orbit-b {
    width: 340px;
    height: 140px;
    left: calc(50% - 170px);
    top: calc(50% - 70px);
  }

  .atlas-pin {
    width: 40px;
    height: 40px;
  }

  .project-card {
    padding: 18px;
  }

  .project-card h3,
  .system-card h3,
  .travel-card h3,
  .venture-timeline h3 {
    font-size: 1.85rem;
  }

  .project-blueprint h3,
  .map-panel p {
    font-size: 2.35rem;
  }

}

@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .primary-nav {
    min-width: 0;
    max-width: calc(100vw - 28px);
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
  }

  .primary-nav a {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 6px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .til-post-page *,
  .til-index-page * {
    box-sizing: border-box;
  }

  .til-post-page main,
  .til-post-page .post-page,
  .til-post-page .post-hero,
  .til-post-page .post-body,
  .til-index-page main,
  .til-index-page .article-hero,
  .til-index-page .blog-filter-bar,
  .til-index-page .blog-index {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
  }

  .til-post-page main,
  .til-post-page .post-page {
    width: 100%;
    overflow: hidden;
  }

  .til-post-page .site-header,
  .til-index-page .site-header {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    overflow: hidden;
  }

  .til-post-page .primary-nav,
  .til-index-page .primary-nav {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 4px;
  }

  .til-post-page .primary-nav a,
  .til-index-page .primary-nav a {
    min-width: 0;
    padding-inline: 6px;
    font-size: 13px;
    text-align: center;
  }

  .til-post-page .post-hero > *,
  .til-post-page .til-column > *,
  .til-post-page .til-subcard > *,
  .til-index-page .blog-card > * {
    min-width: 0;
    max-width: 100%;
  }

  .til-index-page .blog-card {
    box-sizing: border-box;
    width: min(100%, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    overflow: hidden;
  }

  .til-index-page .blog-card h2,
  .til-index-page .blog-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .til-post-page .til-column,
  .til-post-page .til-subcard {
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }

  .til-post-page .til-column {
    width: min(100%, calc(100vw - 44px));
    max-width: calc(100vw - 44px);
  }

  .til-post-page .til-subcard {
    width: 100%;
    max-width: 100%;
  }

  .til-post-page .post-body {
    --til-mobile-gutter: clamp(14px, 5vw, 22px);
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--til-mobile-gutter);
  }

  .til-post-page .til-aggregation-grid,
  .til-post-page .til-ideation-section {
    width: min(100%, calc(100vw - (var(--til-mobile-gutter) * 2)));
    max-width: calc(100vw - (var(--til-mobile-gutter) * 2));
    overflow: hidden;
  }

  .til-post-page .til-gear-grid,
  .til-post-page .til-aggregation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .til-index-page .blog-index {
    grid-template-columns: 1fr;
  }

  .til-post-page .back-link {
    margin-left: clamp(14px, 5vw, 22px);
    margin-right: clamp(14px, 5vw, 22px);
  }

  .til-gear-hero h1 {
    width: min(100%, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    font-size: clamp(1.34rem, 6.5vw, 2rem);
    line-height: 1;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: none;
    text-wrap: auto;
  }

  .til-subcard strong,
  .til-subcard a,
  .til-subcard p,
  .til-subcard li {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: none;
  }

  .til-card-image {
    box-sizing: border-box;
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .til-gear-hero h1 {
    font-size: 1.16rem;
    line-height: 1;
    max-width: calc(100vw - 44px);
    white-space: normal;
    text-wrap: auto;
  }

  .til-post-page .post-hero {
    padding-inline: 14px;
  }

  .til-post-page .post-body {
    --til-mobile-gutter: 8px;
  }

  .til-post-page .primary-nav,
  .til-index-page .primary-nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 1px;
    padding: 3px;
  }

  .til-post-page .primary-nav a,
  .til-index-page .primary-nav a {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 1px;
    font-size: 9px;
  }

  .til-column {
    padding: 12px 10px;
  }

  .til-email-card,
  .til-idea-card {
    padding: 10px;
  }

  .til-subcard strong,
  .til-subcard a,
  .til-subcard p,
  .til-subcard li {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: none;
  }
}

@media (max-width: 720px) {
  .til-post-page .post-body {
    padding-inline: 0;
  }

  .til-post-page .til-aggregation-grid,
  .til-post-page .til-ideation-section {
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    margin-inline: auto;
  }

  .til-post-page .til-column {
    width: 100%;
    max-width: 100%;
  }

  .til-post-page .til-gear-hero h1,
  .til-index-page .blog-card h2,
  .til-post-page .til-subcard strong,
  .til-post-page .til-subcard a,
  .til-post-page .til-subcard p,
  .til-post-page .til-subcard li {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .til-post-page .til-gear-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.28rem, 6.1vw, 2rem);
    line-height: 1.02;
  }
}

@media (max-width: 360px) {
  .til-post-page .til-gear-hero h1 {
    font-size: 1.08rem;
    line-height: 1.03;
  }
}

@media (max-width: 420px) {
  .til-post-page .til-gear-hero h1,
  .til-post-page .til-aggregation-grid,
  .til-post-page .til-ideation-section {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .til-post-page .til-column {
    width: 100%;
    max-width: 100%;
    padding-inline: 10px;
  }

  .til-post-page .til-subcard {
    padding-inline: 8px;
  }

  .til-post-page .primary-nav,
  .til-index-page .primary-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
