/* Dark palette shared with web/src/routes/style.css. Bump ?v= in both HTML files on edits. */
:root {
  color-scheme: dark;
  --bg: #151e19;
  --surface: #1c2821;
  --ink: #e2e9df;
  --muted: #a0afa2;
  --line: #354139;
  --accent: #a1c9a5;
  --soft: #293b2e;
  background: var(--bg);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
a {
  color: var(--accent);
  text-underline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-200%);
  z-index: 2;
}
.skip-link:focus {
  transform: none;
}
p {
  margin: 0 0 18px;
  line-height: 1.7;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h2 {
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 10px 0 24px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin: 0 0 10px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.8px;
  text-decoration: none;
}
.brand img {
  border-radius: 7px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
nav a {
  padding-block: 12px;
  color: var(--muted);
  text-decoration: none;
}
nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 80px;
  padding-block: 70px 94px;
}
.hero h1 {
  font-size: clamp(70px, 8vw, 110px);
  font-weight: 650;
  letter-spacing: -7px;
  line-height: 1;
  margin: 0 0 26px;
}
.title-dot {
  color: var(--accent);
}
.hero-pitch {
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-bottom: 22px;
}
.hero-description {
  color: var(--muted);
  max-width: 460px;
  font-size: 16px;
  margin-bottom: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 20px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  background: var(--soft);
  border-color: var(--accent);
}
.button.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.button.primary:hover {
  background: #b6d9ba;
}
.cta-caption {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.notebook {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 14px 40px #00000020;
  overflow: hidden;
}
.notebook-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.tag {
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 99px;
}
.notebook-source {
  padding: 28px 24px 24px;
}
.notebook-source p {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}
.notebook-entry {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border-top: 1px solid var(--line);
}
.timestamp {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.entry-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
blockquote {
  font-size: 20px;
  letter-spacing: -0.3px;
  line-height: 1.5;
  margin: 0;
}
.note-entry {
  background: var(--soft);
}
.note-entry p:last-child {
  margin: 0;
  font-size: 16px;
}
.notebook-foot {
  padding: 18px 24px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.section {
  padding-block: 66px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading h2 {
  margin-bottom: 14px;
}
.why,
.engineering {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 90px;
}
.why-copy p {
  color: var(--muted);
  font-size: 17px;
}
.why-copy p:last-child {
  margin: 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.feature-number {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.feature-wide {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 30px 210px 1fr;
  gap: 20px;
  align-items: baseline;
}
.feature-wide .feature-number {
  margin: 0;
}
.pipeline {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.pipeline-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}
.pipeline-path li {
  position: relative;
  min-width: 0;
}
.pipeline-path li + li::before {
  content: "→";
  position: absolute;
  left: -20px;
  top: 27px;
  color: var(--accent);
}
.pipeline-path span,
.pipeline-path strong {
  display: block;
}
.step-label,
.branch-label {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pipeline-path strong {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}
.pipeline-path span:last-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.pipeline-branches {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pipeline-branches p {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  line-height: 1.7;
}
.pipeline-branches span,
.pipeline-branches strong {
  display: block;
}
.pipeline-branches .branch-label {
  margin-bottom: 6px;
}
.pipeline-branches strong {
  font-size: 14px;
  font-weight: 500;
}
.pipeline-branches span:last-child {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.section-caption {
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 0;
  max-width: 800px;
}
.section-intro {
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
}
.measurements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.measurement + .measurement {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.metric {
  color: var(--accent);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.2;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
.metric span {
  color: var(--muted);
  font-size: 30px;
}
.measurement h3 {
  font-size: 16px;
}
.measurement p:not(.metric) {
  color: var(--muted);
  font-size: 14px;
}
.measurement .limit {
  font-size: 12px !important;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 0;
}
.work-in-progress {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
}
.work-in-progress h3 {
  font-size: 14px;
}
.work-in-progress p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.engineering {
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}
.engineering p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.stack {
  margin: 0;
}
.stack > div {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.stack > div:first-child {
  padding-top: 0;
}
.stack > div:last-child {
  border-bottom: 0;
}
.stack dt {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 5px;
}
.stack dd {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.error-main {
  flex: 1;
  padding-block: clamp(60px, 15vh, 150px);
}
.error-main h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 0 0 24px;
}
.error-main > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 460px;
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 950px) {
  .hero {
    gap: 40px;
  }
  .hero h1 {
    font-size: 88px;
  }
  .why,
  .engineering {
    gap: 40px;
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-wide {
    grid-template-columns: 30px 1fr;
  }
  .feature-wide p {
    grid-column: 2;
  }
  .pipeline-path {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pipeline-path li {
    padding-left: 22px;
  }
  .pipeline-path li + li::before {
    content: "↓";
    left: 0;
    top: -20px;
  }
  .pipeline-path .step-label {
    margin-bottom: 4px;
  }
  .pipeline-path strong {
    margin-bottom: 0;
  }
  .measurements {
    gap: 24px;
  }
  .measurement + .measurement {
    padding-left: 24px;
  }
}
@media (max-width: 639px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 20px;
    gap: 12px;
  }
  nav {
    gap: 16px;
    font-size: 11px;
  }
  nav a:last-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 44px 52px;
    gap: 40px;
  }
  .hero h1 {
    font-size: 84px;
    letter-spacing: -5px;
    margin-bottom: 22px;
  }
  .hero-pitch {
    font-size: 27px;
  }
  .hero-description {
    font-size: 15px;
  }
  .section {
    padding-block: 44px;
  }
  .why,
  .engineering {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .why-copy p {
    font-size: 15px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .feature {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0 14px;
  }
  .feature-number {
    margin: 4px 0 0;
  }
  .feature p {
    grid-column: 2;
  }
  .feature-wide {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }
  .pipeline {
    padding: 24px;
  }
  .pipeline-branches {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .measurements {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .measurement + .measurement {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
  .metric {
    font-size: 44px;
    margin-bottom: 16px;
  }
  .measurement .limit {
    border: 0;
    padding: 0;
  }
  .stack {
    margin-top: 20px;
  }
  .notebook-heading,
  .notebook-source,
  .notebook-entry,
  .notebook-foot {
    padding-inline: 20px;
  }
  .notebook-entry {
    gap: 14px;
  }
  blockquote {
    font-size: 18px;
  }
  .error-main {
    padding-block: 70px;
  }
  .error-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .button,
  .button span,
  .feature,
  .notebook {
    transition: transform 180ms ease;
  }
  nav a {
    position: relative;
  }
  nav a::after {
    content: "";
    position: absolute;
    inset: auto 0 6px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
  }
  nav a:focus-visible::after {
    transform: scaleX(1);
  }
  .motion [data-reveal]:not(.revealed):not(:focus-within) {
    opacity: 0;
    transform: var(--from, translateY(14px));
  }
  .motion [data-reveal].revealed {
    animation: reveal-in 500ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms) backwards;
  }
  .motion .notebook {
    --from: translate(16px, 8px);
  }
  .motion .metric {
    --from: none;
  }
  @keyframes reveal-in {
    from {
      opacity: 0;
      transform: var(--from, translateY(14px));
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .motion .note-entry {
    position: relative;
  }
  .motion .note-entry::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    pointer-events: none;
  }
  .motion .note-entry.revealed::after {
    animation: note-glow 650ms ease var(--delay) both;
  }
  .motion .pipeline-path li.revealed::before {
    transform-origin: left;
    animation: arrow-in 400ms ease calc(var(--delay) + 120ms) both;
  }
  .motion .pipeline-path li.revealed .step-label {
    animation: step-light 700ms ease var(--delay) both;
  }
  @keyframes note-glow {
    0%,
    100% {
      opacity: 0;
    }
    40% {
      opacity: 0.12;
    }
  }
  @keyframes arrow-in {
    from {
      opacity: 0;
      transform: scaleX(0.15);
    }
    to {
      opacity: 1;
      transform: scaleX(1);
    }
  }
  @keyframes step-light {
    0% {
      opacity: 0.45;
    }
    55%,
    100% {
      opacity: 1;
    }
  }
  @media (max-width: 950px) {
    .motion .pipeline-path li.revealed::before {
      transform-origin: top;
      animation-name: arrow-down;
    }
    @keyframes arrow-down {
      from {
        opacity: 0;
        transform: scaleY(0.15);
      }
      to {
        opacity: 1;
        transform: scaleY(1);
      }
    }
  }
  @media (hover: hover) {
    .button:hover,
    .feature:hover,
    .notebook:hover {
      transform: translateY(-3px);
    }
    .button:hover span {
      transform: translate(2px, -2px);
    }
    nav a:hover {
      text-decoration: none;
    }
    nav a:hover::after {
      transform: scaleX(1);
    }
  }
  .button:active {
    transform: translateY(1px) scale(0.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Orulon collection. Project write-ups retain their own visual identity. */
html.portfolio {
  color-scheme: light;
  --bg: #f5f3ed;
  --surface: #eeece5;
  --ink: #252822;
  --muted: #62665d;
  --line: #d5d6ca;
  --accent: #b94016;
  --soft: #e8e6dc;
}
.portfolio a { color: inherit; }
.portfolio :focus-visible { outline-color: #bd451c; }
.hub-wrap { width: min(1140px, calc(100% - 96px)); margin-inline: auto; }
.hub-header { display: flex; justify-content: space-between; align-items: center; padding-block: 30px; border-bottom: 1px solid var(--line); }
.hub-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 27px; font-weight: 750; letter-spacing: -1.3px; text-decoration: none; }
.hub-brand .brand-period { margin-left: -9px; color: #bb4018; }
.hub-header nav { gap: 30px; font-size: 12px; }
.hub-header nav a { color: var(--ink); }
.hub-hero { padding: 65px 0 0; }
.hub-eyebrow, .project-meta, .hero-index, .hub-section-heading > span, .project-preview small, .preview-chrome, .preview-stream, .clair-art > span, .tracker-art { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.hub-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.4px; }
.orange-square { width: 7px; height: 7px; background: #df4b1b; }
.hub-hero h1 { font-size: clamp(65px, 8.9vw, 121px); line-height: .98; letter-spacing: -.075em; font-weight: 550; margin: 32px 0 30px; text-wrap: initial; }
.hub-hero h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.07em; color: #b94016; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 50px; }
.hero-bottom p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
.hub-text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 12px; font-weight: 600; text-decoration: none; padding-block: 9px; }
.hub-text-link:hover { text-decoration: underline; }
.hero-index { display: flex; justify-content: space-between; gap: 16px; font-size: 9px; letter-spacing: 1px; padding-block: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.hub-projects { padding: 45px 0 0; scroll-margin-top: 25px; }
.hub-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.hub-section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.6px; }
.hub-section-heading > span { font-size: 10px; color: var(--muted); }
.featured-project { display: grid; grid-template-columns: 1fr 1fr; background: #e9e9df; border: 1px solid #d5d6ca; }
.project-copy { padding: 35px; display: flex; flex-direction: column; align-items: flex-start; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; width: 100%; font-size: 9px; letter-spacing: .5px; color: #5c6256; }
.project-status { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; letter-spacing: 0; }
.project-status i { height: 5px; width: 5px; border-radius: 50%; background: #52783c; }
.project-copy h3 { font-size: 59px; line-height: 1; font-weight: 550; letter-spacing: -3.5px; margin: 42px 0 15px; }
.project-copy h3 > span, .secondary-project h3 > span { color: #b94016; }
.project-subtitle { font-size: 23px; line-height: 1.35; letter-spacing: -.8px; margin-bottom: 17px; }
.project-description { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 380px; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 27px; padding: 0; list-style: none; }
.hub-tags li { font-size: 9px; padding: 5px 8px; border: 1px solid #cdcec2; color: #5c6256; }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: auto; }
.hub-button { display: inline-flex; align-items: center; gap: 25px; padding: 13px 18px; background: #292e25; color: #f3f4e9 !important; font-size: 12px; text-decoration: none; min-height: 44px; }
.hub-button:hover { background: #3d4735; }
.project-preview { background: #18221c; color: #dce7d8; margin: 22px 22px 22px 0; align-self: stretch; border: 1px solid #3b483d; display: flex; flex-direction: column; }
.preview-chrome { padding: 15px 18px; border-bottom: 1px solid #354238; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 7px; letter-spacing: .7px; color: #a7b5a3; }
.preview-brand { font: 700 18px system-ui, sans-serif; letter-spacing: -.5px; color: #dae6d6; }
.preview-brand > span { color: #b4ce92; }
.preview-brand b { font-size: 11px; margin-left: 4px; font-weight: 500; letter-spacing: -.2px; }
.preview-body { padding: 28px 25px; }
.preview-stream { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 8px; letter-spacing: .6px; color: #c3d2b9; }
.stream-dot { width: 5px; height: 5px; border-radius: 50%; background: #bdcc89; }
.preview-game { margin-left: auto; font-size: 7px; color: #a2b09b; }
.preview-body h4 { font-size: 31px; letter-spacing: -1.3px; font-weight: 450; line-height: 1.2; margin: 23px 0 25px; }
.preview-match { font-size: 10px; color: #c2cdbb; padding-bottom: 15px; border-bottom: 1px solid #344135; }
.preview-match > span { font-size: 8px; padding-inline: 7px; color: #a5b09e; }
.preview-utterance { display: flex; gap: 16px; padding-top: 23px; }
.preview-utterance time { font: 9px ui-monospace, monospace; color: #a4b39b; padding-top: 2px; }
.project-preview small { font-size: 7px; letter-spacing: .8px; color: #acbba3; display: block; margin-bottom: 8px; }
.project-preview p { font-size: 12px; line-height: 1.6; margin: 0; }
.preview-note { display: flex; gap: 12px; margin: 18px 0 0 45px; border-left: 1px solid #677e50; padding: 11px; background: #263524; }
.preview-note > span { color: #a8bd8f; }
.project-preview figcaption { color: #a7b49f; font-size: 8px; border-top: 1px solid #344135; padding: 12px 18px; margin-top: auto; }
.secondary-projects { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-top: none; }
.secondary-project { padding: 30px 35px; display: flex; flex-direction: column; align-items: flex-start; }
.secondary-project + .secondary-project { border-left: 1px solid var(--line); }
.secondary-project h3 { font-size: 33px; font-weight: 550; letter-spacing: -1.5px; margin: 20px 0 7px; }
.secondary-subtitle { font-size: 15px; letter-spacing: -.3px; margin-bottom: 13px; }
.secondary-project .project-description { max-width: none; }
.clair-art, .tracker-art { height: 175px; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 23px; overflow: hidden; }
.clair-art { background: #e9e5ee; color: #6c5c81; }
.clair-art svg { width: 85%; height: 115px; }
.clair-art > span { font-size: 7px; letter-spacing: 2px; margin-top: 6px; }
.tracker-art { background: #e5e8dd; color: #596347; padding: 22px; }
.tracker-court { border: 1px solid #9fa78c; width: 100%; }
.court-top, .court-bottom { padding: 12px; font-size: 7px; letter-spacing: 1px; }
.court-top { display: block; border-bottom: 1px solid #b5bba7; }
.court-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; font-size: 9px; }
.court-line i { height: 18px; width: 18px; border: 1px solid #838f70; transform: rotate(45deg); }
.court-line b { font-size: 14px; font-weight: 400; }
.court-bottom { border-top: 1px solid #b5bba7; display: flex; justify-content: space-between; }
.project-footnote { color: var(--muted); font-size: 11px; margin: auto 0 0; padding-block: 10px; }
.secondary-actions { display: flex; flex-wrap: wrap; gap: 25px; margin-top: auto; }
.project-credit { margin: 12px 0 0; font-size: 9px; color: var(--muted); }
.hub-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 72px 0; scroll-margin-top: 25px; }
.hub-about .hub-eyebrow { color: var(--muted); margin-bottom: 20px; }
.hub-about h2 { font-size: 36px; letter-spacing: -1.5px; font-weight: 500; }
.about-copy { padding-top: 3px; }
.about-copy p { font-size: 14px; color: var(--muted); }
.about-copy p a { color: var(--ink); }
.hub-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 25px; }
.hub-footer .hub-brand { font-size: 22px; }
.hub-footer p, .hub-footer > a:last-child { margin: 0; font-size: 10px; color: var(--muted); }
@media (max-width: 800px) {
  .hub-wrap { width: calc(100% - 48px); }
  .hub-hero h1 { font-size: clamp(62px, 12vw, 95px); }
  .project-copy { padding: 25px; }
  .project-copy h3 { font-size: 48px; margin-top: 30px; }
  .project-subtitle { font-size: 19px; }
  .project-preview { margin: 15px 15px 15px 0; }
  .preview-body { padding: 25px 18px; }
  .preview-game { margin: 5px 0 0 11px; width: 100%; }
  .preview-note { margin-left: 0; }
  .secondary-project { padding: 25px; }
  .secondary-project h3 { font-size: 28px; }
  .hub-about { gap: 30px; }
  .hub-about h2 { font-size: 30px; }
}
@media (max-width: 570px) {
  .hub-header { padding-block: 22px; }
  .hub-brand { font-size: 24px; }
  .hub-brand img { width: 25px; height: 25px; }
  .hub-header nav { gap: 15px; font-size: 10px; }
  .hub-header nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .hub-hero { padding-top: 42px; }
  .hub-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .hub-hero h1 { margin-top: 28px; font-size: clamp(57px, 14vw, 78px); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 28px; }
  .hero-bottom p { font-size: 13px; }
  .desktop-break { display: none; }
  .hero-index { font-size: 7px; letter-spacing: .2px; }
  .hub-projects { padding-top: 30px; }
  .featured-project, .secondary-projects, .hub-about { grid-template-columns: 1fr; }
  .project-copy { padding: 24px; }
  .project-copy h3 { font-size: 52px; }
  .project-subtitle { font-size: 22px; }
  .project-preview { margin: 0 16px 16px; }
  .preview-body { padding: 25px; }
  .preview-game { width: auto; margin: 0 0 0 auto; }
  .preview-note { margin-left: 45px; }
  .secondary-project { padding: 25px; }
  .secondary-project + .secondary-project { border-left: none; border-top: 1px solid var(--line); }
  .secondary-project h3 { font-size: 32px; }
  .hub-about { padding-block: 46px; gap: 6px; }
  .hub-about h2 { font-size: 33px; }
  .hub-footer { flex-wrap: wrap; gap: 10px; }
  .hub-footer .hub-brand { width: 100%; }
  .hub-footer p { flex: 1; }
}
@media print {
  html.portfolio { background: white; }
  .hub-wrap { width: 100%; }
  .hub-header nav, .hero-index { display: none; }
  .featured-project, .secondary-project { break-inside: avoid; }
  .hub-hero { padding-top: 25px; }
  .hub-hero h1 { font-size: 70px; }
}
