/* Medezina Round 3 identity. The logo SVGs retain the supplied path geometry. */
@font-face {
  font-family: Inter;
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
:root {
  --slate: #161920;
  --coral: #e03e52;
  --alabaster: #f8fafc;
  --titanium: #64748b;
  --paper: var(--slate);
  --ink: var(--alabaster);
  --muted: #b0b9c6;
  --line: #3b424e;
  --blue: var(--coral);
  --cobalt: var(--slate);
  --font: Inter, Arial, sans-serif;
  --display: Inter, Arial, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
body { font-optical-sizing: auto; }
::selection { color: var(--alabaster); background: #a32839; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 6px;
}
.site-header { padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.header-brand { display: flex; align-items: center; min-height: 46px; width: 180px; padding: 12px 0; }
.header-brand img { display: block; width: 156px; height: auto; }
.main-nav a:hover, .underlined-link:hover, .contact-link:hover { color: #f28a97; }
.underlined-link:hover, .contact-link:hover { border-color: var(--coral); }
.project-label { color: #b7c1cf; }
.signal-square { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
h1 { font-size: clamp(48px, 5.1vw, 82px); letter-spacing: -.055em; }
.workflow-grid article > .mono, .next-milestone .mono { color: #b7c1cf; }
.reveal-intro h2 span, .project-intro h2 span { color: #a7b2c2; }
.reveal-controls input { accent-color: var(--coral); }
.study-index button[aria-pressed='true'] > span:last-child { color: var(--coral); }
.study-index button[aria-pressed='true'] { box-shadow: inset 2px 0 var(--coral); padding-left: 12px; }
.motion-hero .view-switch button[aria-pressed='true'] { background: var(--alabaster); color: var(--slate); }
.motion-hero .view-switch button:hover:not([aria-pressed='true']) { background: #303642; color: var(--alabaster); }
.hero-film[controls].is-active { pointer-events: auto; }
.hero-playback { display: flex; align-items: center; gap: 18px; }
.sound-toggle { min-height: 36px; padding: 8px 0; border: 0; border-bottom: 1px solid #515965; background: none; color: #a4adb8; font-size: 11px; }
.sound-toggle:hover { color: var(--alabaster); }
.sound-toggle[hidden] { display: none; }
.approach-section { background: var(--alabaster); color: var(--slate); }
.approach-section .section-meta { color: var(--titanium); }
.approach-grid p { color: #4b596c; }
.stack-list > div, .stack-list > div:last-child, .approach-bottom { border-color: #cbd5e1; }
.stack-list .mono { color: var(--titanium); }
.stack-detail, .approach-bottom { color: #526176; }
.render-study figcaption { color: #526176; }
.render-study figcaption > p { color: #526176; }
.footer-wordmark { display: flex; align-items: center; width: 180px; min-height: 48px; padding: 12px 0; }
.footer-wordmark img { display: block; width: 156px; height: auto; }
@media (max-width: 1050px) and (min-width: 761px) {
  h1 { font-size: 50px; }
}
@media (max-width: 760px) {
  .site-header { padding-top: 15px; padding-bottom: 10px; }
  .header-brand { width: 156px; }
  .header-brand img { width: 140px; }
  .motion-hero .drawing-footer { flex-wrap: wrap; gap: 12px; }
  .motion-hero .view-switch { margin-left: auto; }
  .hero-playback { gap: 15px; }
  .sound-toggle { font-size: 10px; min-height: 44px; }
  h1 { font-size: clamp(45px, 10.3vw, 68px); letter-spacing: -.055em; }
  .footer-wordmark { width: 156px; }
  .footer-wordmark img { width: 140px; }
}
@media (max-width: 350px) {
  h1 { font-size: 41px; }
  .header-brand, .footer-wordmark { width: 140px; }
  .header-brand img, .footer-wordmark img { width: 125px; }
}
