/* Shared typography for every portfolio route and companion page.
   Keep media, navigation geometry, imagery and the fitted home statement intact. */
:root {
  --type-family: Arial, Helvetica, sans-serif;
  --type-title: clamp(25px, 4vw, 48px);
  --type-section: clamp(26px, 3vw, 40px);
  --type-subsection: clamp(22px, 2vw, 28px);
  --type-body: 16px;
  --type-small: 14px;
  --type-caption: 12px;
  --type-leading: 1.7;
}
body { font-family: var(--type-family); }
button, input, textarea, select { font-family: var(--type-family); }
/* One hierarchy across categories and case studies. */
.work-heading h1, body.thanks-page h1 {
  font-family: var(--type-family); font-size: var(--type-title);
  font-weight: 400; line-height: 1.15; letter-spacing: -.02em;
}
#case-study h2, .package-layers h2, dialog h2 {
  font-family: var(--type-family) !important;
  font-size: var(--type-section) !important;
  font-weight: 400 !important; line-height: 1.2 !important;
  letter-spacing: -.015em;
}
#case-study .machine-media-column h2,
#case-study .tower-marketing h2 {
  font-size: var(--type-subsection) !important;
}
#case-study h3, .package-layers h3 {
  font-family: var(--type-family); font-size: 22px;
  font-weight: 400; line-height: 1.35;
}
#case-study .case-stage, .package-project h3 {
  font-size: var(--type-small) !important; font-weight: 600 !important;
  line-height: 1.4 !important; letter-spacing: .1em !important;
  text-transform: uppercase;
}
#case-study p, #case-study li, .about-copy p,
.package-layers > p, .brand-context p, dialog p, body.thanks-page p {
  font-family: var(--type-family) !important;
  font-size: var(--type-body) !important; font-weight: 400;
  line-height: var(--type-leading) !important;
  letter-spacing: normal;
}
/* Metadata, image descriptions and controls stay subordinate to body copy. */
.work-heading > p, .work-heading .venom-role {
  font-family: var(--type-family); font-size: var(--type-small) !important;
  font-weight: 400; line-height: 1.6 !important; letter-spacing: normal;
}
#case-study .eyebrow, .package-layers > .eyebrow, dialog .eyebrow {
  font-family: var(--type-family) !important; font-size: 10px !important;
  font-weight: 400 !important; line-height: 1.5 !important;
  letter-spacing: 2px !important; text-transform: uppercase;
}
#case-study figcaption, #case-study figcaption p,
#venom-media-stack figcaption, .venom-inspection-grid figcaption,
#jeep-reveal figcaption, .brand-mosaic .brand-tile figcaption,
.package-media figcaption, .finish-display figcaption {
  font-family: var(--type-family) !important;
  font-size: var(--type-caption) !important; line-height: 1.5 !important;
  font-weight: 400; letter-spacing: normal;
}
#case-study figcaption h3, #case-study .tower-marketing h3 {
  font-size: var(--type-small) !important; font-weight: 600;
  line-height: 1.4 !important; letter-spacing: normal;
}
.brand-context { font-family: var(--type-family); }
.brand-context h2 { font-size: 22px; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; }
.brand-context small { font-size: var(--type-caption); line-height: 1.5; }
.panel-caption strong { font-family: var(--type-family); font-weight: 400; letter-spacing: -.015em; }
.panel-caption small, .panel-prompt { font-family: var(--type-family); line-height: 1.5; }
.bubble span, body.venom-page .work-heading > nav .bubble span {
  font-family: var(--type-family); font-size: 14px; font-weight: 600;
  line-height: 1.35; letter-spacing: 0;
}
body.about-page .resume-text-link, .project-back, .work-heading > a,
.send-message, .contact-form label, .close, .guide-pdf-button {
  font-family: var(--type-family); line-height: 1.5;
}
.contact-form input, .contact-form textarea { font-size: var(--type-body); line-height: 1.5; }
dialog .form-note { font-size: var(--type-caption) !important; line-height: 1.5 !important; }
body.resume-page { font-family: var(--type-family); font-size: var(--type-body); line-height: 1.6; }
body.resume-page header h1 { font-size: var(--type-body); font-weight: 600; line-height: 1.4; }
body.resume-page .download { font-size: var(--type-small); font-weight: 600; line-height: 1.4; }
@media (max-width: 650px) {
  :root { --type-title: clamp(22px, 6vw, 32px); }
  .brand-context h2 { font-size: 22px; }
  body.resume-page header { flex-wrap: wrap; }
}
