/* Zolozhkov Studio. One sheet for every page: paper, ink, and a single warm accent borrowed from Eureka's brass masses. */
:root {
  --paper: #f5f2ec; --sheet: #efebe4; --ink: #17181c; --soft: #5d5f69; --faint: #8f919b; --rule: rgba(23, 24, 28, .12);
  --accent: #b9791a; --on-ink: #f5f2ec;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #111214; --sheet: #1a1b1f; --ink: #f1eee8; --soft: #a9abb5; --faint: #777984; --rule: rgba(241, 238, 232, .14);
          --accent: #e3a83c; --on-ink: #111214; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }

/* the bar at the top: the mark, and where to go */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.mark { display: block; width: 150px; aspect-ratio: 892 / 211; background: var(--ink); -webkit-mask: url(/assets/mark.png) center / contain no-repeat; mask: url(/assets/mark.png) center / contain no-repeat; }
.mark span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
nav { display: flex; gap: 22px; font-size: 15px; }
nav a { text-decoration: none; color: var(--soft); }
nav a:hover, nav a[aria-current] { color: var(--ink); }

.label { font: 500 12px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: var(--soft); max-width: 34em; text-wrap: pretty; }
section { padding-block: clamp(56px, 9vw, 112px); border-top: 1px solid var(--rule); }
.hero { border-top: 0; padding-block: clamp(48px, 9vw, 120px) clamp(56px, 8vw, 104px); display: grid; gap: 26px; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-size: 16px; font-weight: 550; text-decoration: none;
          border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink); transition: opacity .15s; }
.button:hover { opacity: .85; }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.note { font-size: 14px; color: var(--faint); }

/* the film, on its own sheet */
.film { border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 1px 0 var(--rule); }
.film video { width: 100%; height: 100%; object-fit: cover; }

/* a project on the home page */
.project { display: grid; gap: 30px; }
.project header { display: grid; gap: 14px; }
.title { display: flex; align-items: center; gap: 16px; }
.title img { width: 56px; height: 56px; border-radius: 50%; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; }
.facts b { font-size: clamp(26px, 3.4vw, 38px); font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.facts span { font-size: 14px; color: var(--soft); }

.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px 40px; }
.three div { display: grid; gap: 8px; align-content: start; }
.three p { color: var(--soft); font-size: 16px; }
.three .label { margin: 0; color: var(--accent); }

/* every instrument, as a drawing on its card */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.shelf a { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-radius: 14px; overflow: hidden; background: var(--sheet); border: 1px solid var(--rule); height: 100%; transition: transform .15s; }
.shelf a:hover { transform: translateY(-2px); }
.shelf img { width: 100%; aspect-ratio: 640 / 440; object-fit: cover; background: #efebe4; }
.shelf div { padding: 12px 14px 15px; display: grid; gap: 3px; align-content: start; }
.shelf b { font-weight: 600; font-size: 15.5px; }
.shelf span { font-size: 13.5px; line-height: 1.4; color: var(--soft); }
.head { display: grid; gap: 14px; margin-bottom: 36px; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px 56px; }
.about .text { display: grid; gap: 18px; font-size: 18px; color: var(--soft); max-width: 36em; }
.about .text strong { color: var(--ink); font-weight: 600; }
.contact { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 18px; color: var(--ink); }
.contact span { display: inline-block; width: 4.6em; font: 500 12px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } nav { gap: 16px; } .mark { width: 124px; } }

footer { border-top: 1px solid var(--rule); padding-block: 28px 44px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--faint); }
footer a { color: var(--soft); text-decoration: none; } footer a:hover { color: var(--ink); }
.prose { max-width: 40em; display: grid; gap: 16px; color: var(--soft); } .prose h2 { font-size: 22px; color: var(--ink); margin-top: 14px; }
.lead.open { color: var(--ink); } .lead strong { font-weight: 600; color: var(--ink); }
h1 { max-width: 16em; }
