/* Method Relay brand. Fonts are self-hosted (copied from @fontsource-variable/* by build.mjs). */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url("fonts/space-grotesk.woff2") format("woff2") }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/inter.woff2") format("woff2") }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url("fonts/jetbrains-mono.woff2") format("woff2") }

/* Design tokens. Brand palette: Obsidian #101114 · Electric Lime #C5FA65 · Off White #F5F5F5 · Titanium #A1A1AA.
   Light palette is the default. The dark palette applies when the OS prefers dark (unless the visitor forced
   light) or when the visitor forced dark. Both dark blocks must stay identical.
   Lime has too little contrast on light backgrounds, so light mode uses a deep olive (--accent, --mark) for text
   and the logo mark; lime stays as the button colour in both modes (with Obsidian text). */
:root {
  color-scheme: light;
  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Cascadia Mono", ui-monospace, monospace;
  --paper: #f5f5f5; --surface: #fff; --ink: #101114; --body: #3f4048; --muted: #5a5b63; --text-2: #2a2b31;
  --label: #55565e; --line: #e2e2e5; --line-strong: #c9c9ce; --accent: #3f6212; --mark: #4d7c0f; --hover-bg: #ebebee;
  --btn-bg: #c5fa65; --btn-fg: #101114; --btn-hover: #b4ec4c; --sage: #ebf8d3; --light: #ececef;
  --topbar: rgba(245, 245, 245, .92); --radius: 13px; --shadow: 0 12px 38px rgba(16, 17, 20, .08);
  --art-bg: #ececef; --art-glow: #e8f6cf; --art-border: #e2e2e5; --art-soft: #f6f6f7; --art-line: #e4e4e7;
  --art-line-dk: #c8d9a8; --art-div: #ededf0; --art-chip: #eaf6d4; --art-note: #55565e; --art-shadow: rgba(16, 17, 20, .10);
  --tile-1: #d4ec9f; --tile-2: #cfd0d6; --tile-3: #b8d980; --chip-1: #dfeec1; --chip-2: #e6dfcf; --chip-3: #cfe3a8;
  --park: #e3efcd; --roof: #c5c6cc; --bar: #9bc25a; --pin: #4d7c0f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #101114; --surface: #17181c; --ink: #f5f5f5; --body: #c4c4cb; --muted: #a1a1aa; --text-2: #dcdce0;
    --label: #a1a1aa; --line: #24252b; --line-strong: #34353d; --accent: #c5fa65; --mark: #c5fa65; --hover-bg: #1c1d22;
    --btn-bg: #c5fa65; --btn-fg: #101114; --btn-hover: #d4ff85; --sage: #17191d; --light: #1c1d22;
    --topbar: rgba(16, 17, 20, .88); --shadow: 0 12px 38px rgba(0, 0, 0, .4);
    --art-bg: #15161a; --art-glow: #1d2117; --art-border: #26272d; --art-soft: #1b1c21; --art-line: #2a2b31;
    --art-line-dk: #3f4a2a; --art-div: #222329; --art-chip: #23281b; --art-note: #a1a1aa; --art-shadow: rgba(0, 0, 0, .4);
    --tile-1: #3f4a2a; --tile-2: #34353d; --tile-3: #4d5c2c; --chip-1: #3f4a2a; --chip-2: #3a3530; --chip-3: #2f3a24;
    --park: #20261a; --roof: #2e3036; --bar: #8fb34a; --pin: #c5fa65;
  }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #101114; --surface: #17181c; --ink: #f5f5f5; --body: #c4c4cb; --muted: #a1a1aa; --text-2: #dcdce0;
    --label: #a1a1aa; --line: #24252b; --line-strong: #34353d; --accent: #c5fa65; --mark: #c5fa65; --hover-bg: #1c1d22;
    --btn-bg: #c5fa65; --btn-fg: #101114; --btn-hover: #d4ff85; --sage: #17191d; --light: #1c1d22;
    --topbar: rgba(16, 17, 20, .88); --shadow: 0 12px 38px rgba(0, 0, 0, .4);
    --art-bg: #15161a; --art-glow: #1d2117; --art-border: #26272d; --art-soft: #1b1c21; --art-line: #2a2b31;
    --art-line-dk: #3f4a2a; --art-div: #222329; --art-chip: #23281b; --art-note: #a1a1aa; --art-shadow: rgba(0, 0, 0, .4);
    --tile-1: #3f4a2a; --tile-2: #34353d; --tile-3: #4d5c2c; --chip-1: #3f4a2a; --chip-2: #3a3530; --chip-3: #2f3a24;
    --park: #20261a; --roof: #2e3036; --bar: #8fb34a; --pin: #c5fa65;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
h1, h2, h3, .section-title, .stats div, .proof div { font-family: var(--font-display) }
a { color: inherit; text-decoration: none }
img { max-width: 100% }
.shell { width: min(1120px, calc(100% - 88px)); margin: auto }
.skip { position: absolute; left: -9999px }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 6px }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px }

/* Header */
.topbar { border-bottom: 1px solid var(--line); background: var(--topbar); position: sticky; top: 0; z-index: 80; backdrop-filter: blur(12px) }
.nav-row { height: 72px; display: flex; align-items: center; gap: 30px }
.logo { font-family: var(--font-display); font-size: 21px; letter-spacing: -.4px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap }
.mark { width: 34px; height: 24px; flex: none; color: var(--mark) }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto }
.nav-links a { font-size: 13px; font-weight: 580; color: var(--body); transition: color .2s }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent) }
.btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 8px; padding: 12px 17px; font-size: 13px; font-weight: 720; transition: background .2s, color .2s; white-space: nowrap }
.btn-outline { border: 1px solid var(--line-strong); color: var(--accent) }
.btn-outline:hover { background: var(--hover-bg) }
.btn-solid { background: var(--btn-bg); color: var(--btn-fg) }
.btn-solid:hover { background: var(--btn-hover) }
.btn-ghost { color: var(--accent); font-size: 13px; font-weight: 700 }
.btn-ghost:hover { text-decoration: underline }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; color: var(--body); cursor: pointer; padding: 0; transition: background .2s, color .2s }
.theme-toggle:hover { background: var(--hover-bg); color: var(--accent) }
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; display: none }
:root[data-theme="system"] .theme-toggle .icon-system, :root[data-theme="light"] .theme-toggle .icon-sun, :root[data-theme="dark"] .theme-toggle .icon-moon { display: block }
/* Without JavaScript the button can't work, so hide it; the OS preference still applies. */
:root:not([data-theme]) .theme-toggle { display: none }

/* Shared type */
.eyebrow { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; color: var(--accent); letter-spacing: 1.2px; font-weight: 600 }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent) }
.kicker { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); letter-spacing: 1px; font-weight: 600; text-transform: uppercase }
.section-title { font-size: 32px; line-height: 1.2; letter-spacing: -1.2px; margin: 10px 0 0; font-weight: 690 }
.section-line { height: 1px; background: var(--line) }
.lede { font-size: 18px; color: var(--body); line-height: 1.7; max-width: 640px; margin: 0 }
.arrow { display: inline-block; transition: transform .18s }
a:hover .arrow { transform: translate(2px, -2px) }

/* Home hero */
.hero { padding: 84px 0 56px }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 660; letter-spacing: -2.6px; line-height: 1.08; max-width: 860px; margin: 22px 0 22px }
.accent { color: var(--accent) }
.tagline { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 26px 0 0 }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0 }
.proof div { font-size: 28px; font-weight: 710; letter-spacing: -1px }
.proof span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 4px }
.proof-note { font-size: 11px; color: var(--muted); margin: -12px 0 24px }

/* Category rows (home) */
.cat-rows { padding: 12px 0 30px }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; padding: 36px 0; border-bottom: 1px solid var(--line) }
.cat-row h2 { font-size: 24px; letter-spacing: -.7px; margin: 0 0 8px; font-weight: 680 }
.cat-row h2 a:hover { color: var(--accent) }
.cat-row p { margin: 0 0 14px; color: var(--body); font-size: 14px; line-height: 1.65; max-width: 380px }
.cat-list { list-style: none; margin: 0; padding: 0 }
.cat-list li + li { border-top: 1px solid var(--line) }
.cat-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0 }
.cat-list strong { font-size: 15px; font-weight: 640 }
.cat-list small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; font-weight: 400 }
.cat-list .go { font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap }
.cat-list a:hover strong { color: var(--accent) }

/* CTA band + footer */
.cta { background: var(--sage); border-radius: 12px; padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 25px; margin: 48px 0 40px }
.cta h2 { font-size: 26px; letter-spacing: -.8px; margin: 0 0 6px; font-weight: 660 }
.cta p { font-size: 14px; color: var(--body); margin: 0; line-height: 1.6 }
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 12px }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap }
.footer a:hover { color: var(--accent) }

/* Page headers (projects, category, about) */
.page-head { padding: 56px 0 36px }
.page-head h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -2.2px; font-weight: 680; margin: 18px 0 16px }
.breadcrumb { font-size: 12px; color: var(--muted); margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong) }
.breadcrumb a:hover { color: var(--accent) }
nav + .eyebrow { margin-top: 34px }

/* Project cards */
.cat-section { padding: 36px 0 20px }
.cat-section .section-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px }
.cat-section .section-top p { margin: 8px 0 0; font-size: 14px; color: var(--body); max-width: 620px; line-height: 1.6 }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 44px }
.card { min-width: 0; display: block }
.card .art { aspect-ratio: 1.67; border: 1px solid var(--art-border); border-radius: var(--radius); transition: transform .24s, box-shadow .24s }
.card:hover .art { transform: translateY(-3px); box-shadow: var(--shadow) }
.card-meta { padding-top: 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--label); font-weight: 750 }
.card h3 { font-size: 21px; letter-spacing: -.55px; font-weight: 680; margin: 8px 0 6px }
.card p { margin: 0; line-height: 1.6; font-size: 14px; color: var(--body); max-width: 480px }
.card .go { font-size: 13px; margin-top: 12px; display: inline-flex; gap: 7px; color: var(--accent); font-weight: 740 }

/* Case study */
.case-head { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: end; padding: 40px 0 40px }
.case-head h1 { font-size: clamp(36px, 4.3vw, 58px); line-height: 1.08; letter-spacing: -2.4px; font-weight: 685; margin: 18px 0 16px }
.case-head p { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 720px; margin: 0 }
.case-side { font-size: 13px; color: var(--body); line-height: 1.6; padding-left: 21px; border-left: 1px solid var(--line-strong) }
.case-side strong { display: block; color: var(--ink); font-size: 12px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px }
.case-side div + div { margin-top: 16px }
.case-art { height: min(460px, 42vw); min-height: 300px; border-radius: 13px; overflow: hidden; border: 1px solid var(--art-border); margin-bottom: 52px }
.case-art .art { height: 100% }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left }
.case-shot { margin: 0 0 52px; height: auto; min-height: 0; border: 0; border-radius: 0; overflow: visible }
.case-shot .art { height: auto; border: 1px solid var(--art-border); border-radius: 13px }
.case-shot img { height: auto; max-height: 620px }
.case-shot figcaption { font-size: 12px; color: var(--muted); margin-top: 10px }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 80px; align-items: start }
.case-body section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line) }
.case-body section:last-child { border-bottom: 0 }
.case-body h2 { font-size: 22px; letter-spacing: -.6px; margin: 0 0 12px; font-weight: 690 }
.case-body p { font-size: 16px; line-height: 1.8; color: var(--text-2); margin: 0 }
.stats { display: flex; gap: 34px; padding-top: 22px; flex-wrap: wrap }
.stats div { font-size: 27px; font-weight: 710; letter-spacing: -1px }
.stats span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 4px }
.case-body .stats-note { font-size: 12px; color: var(--muted); margin-top: 14px }
.links { display: flex; flex-wrap: wrap; gap: 12px }
.aside { border-top: 1px solid var(--line-strong); position: sticky; top: 96px }
.aside-group { border-bottom: 1px solid var(--line); padding: 18px 0 }
.aside-label { font-family: var(--font-mono); font-size: 11px; color: var(--label); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 770; margin-bottom: 9px }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0 }
.tags li { font-size: 12px; background: var(--light); border: 1px solid var(--line); border-radius: 20px; padding: 4px 10px; color: var(--text-2) }
.plain { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.6; color: var(--text-2) }
.plain li + li { margin-top: 8px }
.related { padding: 48px 0 10px; border-top: 1px solid var(--line); margin-top: 30px }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px }
.related-grid a { padding: 20px 0; border-top: 1px solid var(--line-strong); display: block }
.related-grid small { font-size: 11px; color: var(--label); letter-spacing: .8px; text-transform: uppercase }
.related-grid h3 { font-size: 17px; letter-spacing: -.4px; margin: 10px 0 8px }
.related-grid span { font-size: 13px; color: var(--accent) }

/* About */
.about-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; padding-bottom: 20px }
.about-body p { font-size: 17px; line-height: 1.8; color: var(--text-2); margin: 0 0 20px }
.focus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 40px 0 }
.focus h3 { font-size: 16px; margin: 0 0 6px }
.focus p { font-size: 14px; color: var(--body); margin: 0; line-height: 1.6 }

/* 404 */
.notfound { padding: 110px 0 60px }
.notfound h1 { font-size: 48px; letter-spacing: -2px; margin: 18px 0 }

/* Conceptual illustrations (CSS only — clearly labelled, never presented as screenshots) */
.art { position: relative; overflow: hidden; background: var(--art-bg) }
.art-canvas { position: absolute; inset: 0; padding: 8%; display: flex; align-items: center; justify-content: center }
.art-note { position: absolute; bottom: 12px; right: 15px; letter-spacing: .4px; color: var(--art-note); font-size: 9px; font-weight: 700 }
.win { box-shadow: 0 22px 45px var(--art-shadow); background: var(--surface); border: 1px solid var(--art-border); border-radius: 11px; overflow: hidden; position: relative }
.dots { height: 26px; border-bottom: 1px solid var(--art-div); display: flex; align-items: center; gap: 5px; padding: 0 12px }
.dots i { display: block; background: var(--art-line-dk); height: 5px; width: 5px; border-radius: 50% }
.ln { height: 6px; background: var(--art-line); border-radius: 5px; margin-bottom: 11px }
.ln.dk { background: var(--art-line-dk) } .w50 { width: 50% } .w60 { width: 60% } .w70 { width: 70% } .w85 { width: 85% }
.tag { font-size: 9px; font-weight: 720; color: var(--accent); border-radius: 12px; background: var(--art-chip); padding: 5px 8px; display: inline-flex }
.badge { position: absolute; background: var(--surface); padding: 10px 13px; border-radius: 9px; border: 1px solid var(--art-border); font-size: 10px; color: var(--accent); font-weight: 730; box-shadow: 0 8px 22px var(--art-shadow); white-space: nowrap }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pin); display: inline-block; margin-right: 6px }

.art-ads { background: radial-gradient(ellipse at 5% 100%, var(--art-glow), transparent 65%), var(--art-bg) }
.art-ads .win { width: 72%; height: 72%; transform: rotate(-2deg) }
.ad-panels { display: grid; grid-template-columns: 31% 1fr; gap: 15px; padding: 14px }
.ad-left { border-right: 1px solid var(--art-div); padding-right: 11px }
.ad-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 14px }
.ad-tiles i { height: 64px; background: linear-gradient(160deg, var(--art-soft) 40%, var(--tile-1)); border-radius: 7px }
.ad-tiles i:nth-child(2) { background: linear-gradient(145deg, var(--art-soft), var(--tile-2)) }
.ad-tiles i:nth-child(3) { background: linear-gradient(145deg, var(--art-soft), var(--tile-3)) }
.art-ads .badge { right: 6%; top: 10% }

.art-maps { background: radial-gradient(ellipse at 100% 0%, var(--art-glow), transparent 65%), var(--art-bg) }
.map { width: 80%; height: 76%; background: var(--art-soft); border: 9px solid var(--surface); border-radius: 11px; box-shadow: 0 18px 38px var(--art-shadow); position: relative; overflow: hidden; transform: rotate(1deg) }
.st { position: absolute; background: var(--surface); border: 1px solid var(--art-div); border-radius: 12px }
.st1 { width: 120%; height: 22px; top: 30%; left: -10%; transform: rotate(-27deg) }
.st2 { width: 120%; height: 16px; top: 59%; left: -10%; transform: rotate(18deg) }
.st3 { height: 130%; width: 15px; top: -15%; left: 48%; transform: rotate(20deg) }
.st4 { height: 130%; width: 15px; top: -15%; left: 77%; transform: rotate(-19deg) }
.park { position: absolute; width: 30%; height: 30%; border-radius: 18px; background: var(--park); left: 10%; top: 12%; transform: rotate(-25deg) }
.pin { position: absolute; width: 13px; height: 13px; border-radius: 100% 100% 100% 0; background: var(--pin); transform: rotate(-45deg); border: 2px solid var(--surface); box-shadow: 0 2px 5px var(--art-shadow) }
.p1 { left: 20%; top: 45% } .p2 { left: 42%; top: 28% } .p3 { left: 63%; top: 57% } .p4 { left: 74%; top: 31% } .p5 { left: 38%; top: 69% }
.art-maps .badge { right: 8%; bottom: 12% }

.art-jobs { background: radial-gradient(ellipse at 0% 0%, var(--art-glow), transparent 65%), var(--art-bg) }
.art-jobs .win { width: 74%; height: 76%; transform: rotate(-1deg) }
.job-rows { padding: 12px 14px }
.job { display: grid; grid-template-columns: 22px 1fr 54px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--art-div) }
.job b { width: 22px; height: 22px; border-radius: 6px; background: var(--chip-1) }
.job:nth-child(2) b { background: var(--chip-2) } .job:nth-child(3) b { background: var(--chip-3) }
.job .ln { margin: 0 0 6px } .job .ln + .ln { margin: 0 }
.job em { height: 16px; border-radius: 10px; background: var(--art-chip) }
.art-jobs .badge { right: 5%; bottom: 10% }

.art-dash, .art-restaurant { background: radial-gradient(ellipse at 100% 100%, var(--art-glow), transparent 65%), var(--art-bg) }
.dash { width: 80%; height: 77%; display: grid; grid-template-columns: 25% 1fr }
.dash-l { background: var(--art-soft); border-right: 1px solid var(--art-div); padding: 18px 12px }
.dash-r { padding: 16px 22px }
.metrics { display: flex; gap: 10px; margin-top: 12px }
.metrics i { background: var(--art-soft); border: 1px solid var(--art-line); border-radius: 6px; height: 42px; flex: 1 }
.bars { height: 46%; margin-top: 16px; display: flex; align-items: end; gap: 8px; border-bottom: 1px solid var(--art-line) }
.bars b { flex: 1; background: var(--bar); border-radius: 3px 3px 0 0 }
.bars b:nth-child(even) { background: var(--art-line-dk) }
.h1 { height: 31% } .h2 { height: 55% } .h3 { height: 41% } .h4 { height: 79% } .h5 { height: 64% } .h6 { height: 88% } .h7 { height: 72% }
.spark { height: 46%; margin-top: 16px; border-bottom: 1px solid var(--art-line); background: linear-gradient(to top right, transparent 49%, var(--bar) 50%, transparent 52%) }

.art-report { background: radial-gradient(ellipse at 50% 0%, var(--art-glow), transparent 65%), var(--art-bg) }
.art-report .win { width: 76%; height: 74% }
.rep { padding: 12px 16px }
.rep-row { display: grid; grid-template-columns: 2fr 1fr 1fr 70px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--art-div) }
.rep-row .ln { margin: 0 }
.rep-row:first-child .ln { background: var(--art-line-dk) }
.score { height: 8px; border-radius: 5px; background: linear-gradient(90deg, var(--pin) var(--s, 60%), var(--art-line) 0) }
.s1 { --s: 88% } .s2 { --s: 74% } .s3 { --s: 61% } .s4 { --s: 47% }

.art-tasks { background: radial-gradient(ellipse at 0% 100%, var(--art-glow), transparent 65%), var(--art-bg) }
.board { width: 78%; height: 72%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px }
.col { background: var(--art-soft); border-radius: 8px; padding: 10px }
.col i { display: block; height: 30px; border-radius: 6px; background: var(--surface); border: 1px solid var(--art-line); margin-top: 8px }
.col i.on { border-color: var(--bar); box-shadow: inset 3px 0 0 var(--pin) }
.art-tasks .badge { right: 6%; top: 9% }

.art-solar { background: var(--art-bg) }
.roof { position: absolute; width: 60%; height: 70%; left: 20%; top: 15%; background: var(--roof); clip-path: polygon(25% 0, 78% 0, 100% 50%, 77% 100%, 24% 100%, 0 48%) }
.roof-in { position: absolute; inset: 24% 30%; background: repeating-linear-gradient(0deg, transparent 0 26px, rgba(255, 255, 255, .3) 27px 29px), repeating-linear-gradient(90deg, #294d46 0 35px, #65a083 36px 38px); clip-path: polygon(10% 0, 88% 0, 100% 50%, 88% 100%, 10% 100%, 0 48%); opacity: .96 }
.roof-shade { position: absolute; width: 17%; height: 28%; border: 1px dashed var(--accent); border-radius: 8px; left: 41%; top: 36% }
.art-solar .badge { left: 8%; bottom: 10% }

/* Responsive */
@media (max-width: 950px) {
  .shell { width: calc(100% - 50px) }
  .case-head, .about-body { grid-template-columns: 1fr; gap: 26px }
  .case-body { grid-template-columns: 1fr; gap: 20px }
  .aside { position: static }
  .cat-row { grid-template-columns: 1fr; gap: 14px }
  .proof { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 32px) }
  .nav-row { height: 62px; gap: 12px }
  .logo { font-size: 18px; gap: 8px }
  .mark { width: 29px; height: 20px }
  .nav-links { gap: 14px }
  .nav-links a:first-child { display: none } /* the logo already links home */
  .theme-toggle { width: 34px; height: 34px }
  .nav-cta { display: none }
  .hero { padding: 52px 0 40px }
  .hero h1 { font-size: 38px; letter-spacing: -1.6px }
  .lede { font-size: 16px }
  .cards { grid-template-columns: 1fr; row-gap: 36px }
  .card .art { aspect-ratio: 1.5 }
  .cta { display: block; padding: 26px 22px }
  .cta .btn { margin-top: 20px }
  .case-art { height: 260px; min-height: 0; margin-bottom: 36px }
  .related-grid, .focus { grid-template-columns: 1fr; gap: 6px }
  .focus { gap: 22px }
  .cat-section .section-top { display: block }
  .cat-list a { flex-direction: column; gap: 4px }
  .ad-tiles i { height: 38px }
  .badge { font-size: 8px; padding: 7px 9px }
  .rep-row { grid-template-columns: 2fr 1fr 50px } .rep-row .ln:nth-child(3) { display: none }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important } }
