/* Shared typography and geometry for the portfolio and its editing surfaces. */
:root {
    --metro-font: "Segoe UI", system-ui, sans-serif;
    --metro-accent: #ad341d;
    --metro-width: 86rem;
    --metro-gutter: clamp(1rem, 4vw, 4rem);
    --sans: var(--metro-font);
    --display: var(--metro-font);
    --paper: white;
    --ink: #171717;
    --rust: var(--metro-accent);
}
.site-head__inner, .site-foot__inner, .home-shell,
.editorial-home .site-head__inner, .editorial-home .site-foot__inner {
    box-sizing: border-box;
    width: min(calc(100% - 2 * var(--metro-gutter)), var(--metro-width));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}
.site-head, .editorial-home .site-head { border: 0; }
.site-head__inner, .editorial-home .site-head__inner {
    padding-block: .9rem;
    align-items: center;
    border-bottom: 1px solid currentColor;
}
.site-head .brand { font: 650 clamp(1.65rem, 3vw, 2.75rem)/1.1 var(--metro-font); letter-spacing: -.05em; }
.site-head .nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; font: 550 1rem/1.3 var(--metro-font); }
.site-head .nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-head .nav .is-active { color: var(--metro-accent); border-bottom: 2px solid currentColor; }
.metro-skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 2000; padding: .65rem 1rem; background: white; color: #171717; transform: translateY(-180%); }
.metro-skip:focus { transform: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.dash-body { --font-sans: var(--metro-font); --bg: #f7f7f6; }
.dash-body .dash-card, .dash-body .dash-stat { border-radius: 0; box-shadow: none; }
.dash-body .dash-page-header__title { font: 500 clamp(1.85rem, 4vw, 3rem)/1.12 var(--metro-font); letter-spacing: -.04em; }
#header { background: #232323; color: white; font-family: var(--metro-font); }
#header #site-name a { color: white; }
#content h1 { font-family: var(--metro-font); letter-spacing: -.035em; }
@media (max-width: 760px) {
    .site-head__inner, .editorial-home .site-head__inner { display: grid; gap: .35rem; }
    .home-feature h1 { font: 350 clamp(2.6rem, 9vw, 4.4rem)/1.03 var(--metro-font); }
    .model-visual { min-height: auto; }
    .dash-body .dash-sidebar__link, .dash-body .dash-topbar__toggle { min-height: 44px; }
    #content .submit-row input { min-height: 44px; }
}
