/* Portfolio-wide foundation, loaded after each page's base stylesheet. */
:root {
  --ink: #141c26;
  --ink-soft: #222b39;
  --paper: #f7f5ef;
  --paper-bright: var(--paper);
  --muted: #68717e;
  --line: #b9b9b3;
  --signal: #ff5b3d;
  --rust: #ad2c16;
  --signal-dark: var(--rust);
  --display: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Source Code Pro", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(100% - 9rem, 86rem);
  --index-width: 200px;
  --portfolio-gap: 70px;
  --section-title-size: clamp(43px, 4.6vw, 65px);
  --row-title-size: clamp(27px, 2.55vw, 39px);
  --heading-tracking: -0.055em;
  --section-space: 88px;
  --nav-inset: 32px;
}

/* UI controls use sans; structural labels and method numbers keep mono. */
.wordmark .brand-mark { display: block; width: 24px; height: auto; flex: 0 0 auto; }
button, .button, .expand-control, .model-cta, .header-contact { font-family: var(--sans); }

/* Extended editorial italics only; display italics retain their tracking. */
.longform-copy .essay-emphasis { letter-spacing: -0.02em; }
.pull-note { letter-spacing: -0.02em; }
@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 5rem, 86rem);
    --index-width: 150px;
    --portfolio-gap: 40px;
  }
}
@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 40px);
    --index-width: 0px;
    --portfolio-gap: 0px;
    --section-title-size: 46px;
    --row-title-size: clamp(26px, 6.8vw, 34px);
    --section-space: 48px;
    --nav-inset: 20px;
  }
}
