/* Meanwhile Works website. Loads after tokens.css and components.css. Intensity: level 2 (standard). */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
a.mw-btn:not(.mw-btn-ghost) { text-decoration: none; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: var(--mw-stroke-heavy) solid var(--mw-focus); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--mw-space-5); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--mw-space-4); top: var(--mw-space-4); z-index: 10; background: var(--mw-paper-raised); padding: var(--mw-space-2) var(--mw-space-3); border: var(--mw-stroke-bold) solid var(--mw-edge); }

/* Header */
.site-head { border-bottom: var(--mw-stroke-hair) solid var(--mw-hairline); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--mw-space-4); min-height: 72px; }
.head-logo { display: block; text-decoration: none; zoom: .3; padding: 8px 14px 14px 4px; }
.site-nav { display: flex; gap: var(--mw-space-1); flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: var(--mw-space-2) var(--mw-space-3); border-radius: var(--mw-radius-sm); }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Type */
h1, h2, h3 { margin: 0; }
.display-xl { font-family: var(--mw-font-display); font-weight: 900; font-size: clamp(40px, 7vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.display-l { font-family: var(--mw-font-display); font-weight: 900; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.015em; }
.title { font-family: var(--mw-font-display); font-weight: 800; font-size: 24px; line-height: 30px; letter-spacing: -0.01em; }
.lede { font-size: 20px; line-height: 30px; color: var(--mw-ink-muted); max-width: 40em; }
.label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mw-ink-muted); }
.prose { max-width: 42em; }
.prose p, .prose li { font-size: 17px; line-height: 28px; }
.prose h2 { margin: var(--mw-space-7) 0 var(--mw-space-3); }
.prose ul { padding-left: 1.2em; }

/* Sections */
.section { padding: var(--mw-space-8) 0; }
.section + .section { border-top: var(--mw-stroke-hair) solid var(--mw-hairline); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--mw-space-4); margin-bottom: var(--mw-space-6); flex-wrap: wrap; }
.section-head p { margin: var(--mw-space-2) 0 0; color: var(--mw-ink-muted); }

/* Home hero: the one loud moment */
.hero { padding: var(--mw-space-8) 0 var(--mw-space-8); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--mw-space-7); align-items: center; }
.hero-logo { zoom: .9; padding: 0 20px 20px 0; }
.hero h1 { margin-bottom: var(--mw-space-4); }
.hero .lede { margin: 0 0 var(--mw-space-6); }
.hero-actions { display: flex; gap: var(--mw-space-3); flex-wrap: wrap; }
.tagline { font-family: var(--mw-font-mono); font-size: 15px; color: var(--mw-ink-muted); margin-top: var(--mw-space-6); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--mw-space-5); }
.p-card { display: flex; flex-direction: column; text-decoration: none; background: var(--mw-paper-raised); border: var(--mw-stroke-bold) solid var(--mw-edge); border-radius: var(--mw-radius-md); overflow: hidden; transition: transform .08s ease, box-shadow .08s ease; }
.p-card:hover { transform: translate(-2px, -2px); box-shadow: var(--mw-shadow-pop); }
.p-card:active { transform: translate(1px, 1px); box-shadow: var(--mw-shadow-press); }
.p-cover { height: 132px; border-bottom: var(--mw-stroke-bold) solid var(--mw-edge); position: relative; display: flex; align-items: flex-end; padding: var(--mw-space-4); }
.p-cover .mark { font-family: var(--mw-font-display); font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.02em; color: var(--mw-ink); background: var(--mw-paper-raised); border: var(--mw-stroke-bold) solid var(--mw-edge); padding: 6px 12px 8px; }
.p-body { padding: var(--mw-space-5); display: flex; flex-direction: column; gap: var(--mw-space-2); flex: 1; }
.p-body h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.p-body p { margin: 0; color: var(--mw-ink-muted); font-size: 15px; line-height: 22px; }
.p-meta { display: flex; gap: var(--mw-space-2); flex-wrap: wrap; margin-top: auto; padding-top: var(--mw-space-3); }

/* Cover patterns: flat fills and halftone only, no gradients */
.cv-caption { background-color: var(--mw-caption); }
.cv-dots { background-color: var(--mw-caption); background-image: radial-gradient(var(--mw-on-caption) 1.4px, transparent 1.9px); background-size: 10px 10px; }
.cv-red { background-color: var(--mw-pop-red); background-image: radial-gradient(rgba(0,0,0,.28) 1.4px, transparent 1.9px); background-size: 10px 10px; }
.cv-cyan { background-color: var(--mw-pop-cyan); background-image: radial-gradient(rgba(0,0,0,.25) 1.4px, transparent 1.9px); background-size: 10px 10px; }
.cv-ink { background-color: #111111; background-image: radial-gradient(#f7d84a 1.2px, transparent 1.7px); background-size: 12px 12px; }
.cv-soft { background-color: var(--mw-caption-soft); }
.cv-paper { background-color: var(--mw-paper); background-image: radial-gradient(var(--mw-hairline) 1.4px, transparent 1.9px); background-size: 10px 10px; }

/* Product page */
.p-hero { padding: var(--mw-space-7) 0 var(--mw-space-7); border-bottom: var(--mw-stroke-bold) solid var(--mw-edge); }
.p-hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--mw-space-7); align-items: center; }
.p-hero .crumbs { margin-bottom: var(--mw-space-5); font-size: 14px; }
.p-hero .crumbs a { color: var(--mw-ink-muted); }
.p-hero .mw-caption-hero { margin-bottom: var(--mw-space-5); }
.p-hero h1 { margin-bottom: var(--mw-space-3); }
.p-hero .alt { font-family: var(--mw-font-display); font-weight: 800; font-size: 22px; color: var(--mw-ink-muted); margin-bottom: var(--mw-space-4); }
.p-hero .lede { margin: 0 0 var(--mw-space-5); }
.p-hero .actions { display: flex; gap: var(--mw-space-3); flex-wrap: wrap; align-items: center; }
.p-art { aspect-ratio: 4 / 3; border: var(--mw-stroke-heavy) solid var(--mw-edge); border-radius: var(--mw-radius-md); display: flex; align-items: center; justify-content: center; padding: var(--mw-space-6); }
.p-art .mark { font-family: var(--mw-font-display); font-weight: 900; font-size: clamp(48px, 8vw, 88px); line-height: 1; letter-spacing: -0.02em; background: var(--mw-paper-raised); color: var(--mw-ink); border: var(--mw-stroke-heavy) solid var(--mw-edge); padding: 10px 20px 14px; }
.p-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--mw-space-7); align-items: start; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mw-space-3); }
.features li { padding: var(--mw-space-4) var(--mw-space-4) var(--mw-space-4) var(--mw-space-6); position: relative; border-bottom: var(--mw-stroke-hair) solid var(--mw-hairline); font-size: 17px; line-height: 26px; }
.features li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 12px; height: 12px; background: var(--mw-caption); border: var(--mw-stroke-bold) solid var(--mw-edge); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: var(--mw-space-4); padding: var(--mw-space-3) 0; border-bottom: var(--mw-stroke-hair) solid var(--mw-hairline); }
.facts dt { color: var(--mw-ink-muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; font-size: 14px; text-align: right; }
.aside-stack { display: flex; flex-direction: column; gap: var(--mw-space-6); }
.aside-stack .mw-bubble { max-width: none; margin-bottom: var(--mw-space-3); }
.more { margin-top: var(--mw-space-8); }

/* Values strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mw-space-5); }
.values .mw-card h3 { margin-bottom: var(--mw-space-2); }

/* Footer */
.site-foot { border-top: var(--mw-stroke-bold) solid var(--mw-edge); padding: var(--mw-space-7) 0; margin-top: var(--mw-space-7); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: var(--mw-space-5); flex-wrap: wrap; align-items: start; }
.foot-links { display: flex; gap: var(--mw-space-5); flex-wrap: wrap; font-size: 14px; }
.foot-links a { color: var(--mw-ink-muted); }
.foot-note { font-size: 14px; color: var(--mw-ink-muted); margin: var(--mw-space-2) 0 0; }
.foot-sign { font-family: var(--mw-font-mono); font-size: 14px; }

/* 404 */
.lost { padding: var(--mw-space-8) 0; }
.lost .mw-bubble { font-size: 17px; line-height: 26px; max-width: 420px; margin-bottom: var(--mw-space-7); }

@media (max-width: 860px) {
  .hero-grid, .p-hero .wrap, .p-cols { grid-template-columns: 1fr; }
  .hero-grid { gap: var(--mw-space-6); }
  .hero-logo { zoom: .55; }
  .hero { padding-top: var(--mw-space-7); }
  .values { grid-template-columns: 1fr; }
  .p-art { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 var(--mw-space-4); }
  .site-head .wrap { flex-direction: column; align-items: flex-start; gap: var(--mw-space-2); padding-top: var(--mw-space-4); padding-bottom: var(--mw-space-2); }
  .site-nav { margin-left: calc(-1 * var(--mw-space-3)); }
  .hero-logo { zoom: .48; }
  .section { padding: var(--mw-space-7) 0; }
  .grid { grid-template-columns: 1fr; }
  .lede { font-size: 18px; line-height: 27px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
