/* ===========================================================
   Michelle Bajurny - Portfolio
   Ramp-inspired theme: warm off-white canvas, white rounded
   cards, one neo-grotesque family, lime-yellow + black accents.

   Typeface: Ramp uses "Lausanne" (Weltkern, commercial). We fall
   back to Inter Tight / Inter. If you license Lausanne and add an
   @font-face for it, it will be picked up automatically - it is
   listed first in the font stacks below.
   =========================================================== */

:root {
  --bg: #faf8f2;
  --paper: #ffffff;
  --panel: #f3f0e7;
  --ink: #16150f;
  --text: #201e17;
  --text-soft: #565247;
  --text-faint: #8c8677;
  --accent: #16150f;
  --yellow: #e5fb50;
  --yellow-press: #d6ee3c;
  --yellow-soft: #eff7c6;
  --rule: #e9e4d7;
  --rule-strong: #d7d1c1;

  --font-display: 'Lausanne', 'Inter Tight', Inter, system-ui, -apple-system, sans-serif;
  --font-body: 'Lausanne', 'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(22,21,15,0.05);
  --shadow-lift: 0 16px 34px -16px rgba(22,21,15,0.22);

  --max: 900px;
  --wide: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s;
}
a:hover { text-decoration-color: var(--ink); }
img { max-width: 100%; }

/* ---------- Top nav ---------- */
nav.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 242, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
nav.top .nav-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
nav.top .brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { display: inline-flex; flex-shrink: 0; }
.brand-mark svg { display: block; width: 27px; height: 27px; }

/* Toolkit / tools list */
.toolkit { display: flex; flex-direction: column; gap: 13px; margin: 8px 0 4px; }
.tk-row { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.tk-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); min-width: 76px; padding-top: 2px;
}
nav.top ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0; padding: 0;
  flex-shrink: 0;
}
nav.top a {
  font-size: 15px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s;
}
nav.top a:hover, nav.top a.active { color: var(--ink); }
nav.top a.active { font-weight: 600; }
nav.top a.nav-cta {
  display: inline-block;
  padding: 9px 18px;
  background: var(--yellow);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
nav.top a.nav-cta:hover { background: var(--yellow-press); }
nav.top a.nav-cta:active { transform: translateY(1px); }

/* ---------- Page container ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 76px 32px 120px; }
.wrap.narrow { max-width: 720px; }

/* ---------- Section scaffolding ---------- */
section { margin-bottom: 84px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 2px;
  display: inline-block;
}
p { margin: 0 0 18px; }
.text-soft { color: var(--text-soft); }

/* ---------- Hero ---------- */
.hero { margin-bottom: 72px; }
.hero .kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero .kicker::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--ink);
  display: inline-block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero .lede {
  font-size: 23px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  max-width: 30ch;
}
.hero .sub { font-size: 18px; color: var(--text-soft); margin: 0; max-width: 60ch; }

/* highlight helper */
.hl { background: var(--yellow); padding: 0 .12em; border-radius: 3px; }

/* ---------- Proof bar ---------- */
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 88px;
}
.proof .stat {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}
.proof .stat strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.proof .sep { display: none; }

/* ---------- Work cards ---------- */
.work-list { display: flex; flex-direction: column; gap: 16px; }
a.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 30px 32px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--rule-strong);
}
.work-card .wc-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px;
}
.work-card .wc-title {
  font-family: var(--font-display);
  font-size: 27px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.15; margin: 0 0 12px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  color: var(--ink);
}
.work-card .wc-title .arrow {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel); color: var(--ink);
  border-radius: 50%; font-size: 16px;
  transition: background 0.18s ease, transform 0.18s ease;
}
a.work-card:hover .wc-title .arrow { background: var(--yellow); transform: translate(3px,-3px); }
.work-card .wc-desc { font-size: 17px; color: var(--text-soft); margin: 0; max-width: 66ch; }
.work-card .wc-tags { margin-top: 18px; }

/* ---------- Tag pills ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-soft);
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}
.tag.year { color: var(--ink); border-color: var(--ink); font-weight: 600; background: transparent; }
.tag.concept { color: var(--ink); border-color: var(--ink); background: var(--yellow); font-weight: 600; }

/* ---------- Belief / how-I-work list ---------- */
.belief-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.belief-list li {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 26px 30px;
  box-shadow: var(--shadow);
}
.belief-list strong {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; display: block; margin-bottom: 9px;
  letter-spacing: -0.02em; color: var(--ink);
}
.belief-list li p { margin: 0; color: var(--text-soft); }

/* ---------- Case study page ---------- */
.case-hero { margin-bottom: 56px; }
.back-link {
  font-family: var(--font-display);
  display: inline-block; font-size: 13px; color: var(--text-faint);
  text-decoration: none; margin-bottom: 34px; letter-spacing: 0.02em;
}
.back-link:hover { color: var(--ink); }
.case-hero .c-eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.case-hero .c-eyebrow::before {
  content: ""; width: 9px; height: 9px; background: var(--yellow);
  border: 1px solid var(--ink); border-radius: 2px; display: inline-block;
}
.case-hero h1 {
  font-family: var(--font-display);
  font-size: 46px; line-height: 1.06; font-weight: 600; letter-spacing: -0.035em;
  margin: 0 0 22px; color: var(--ink);
}
.case-hero .c-lede {
  font-size: 22px; line-height: 1.42; font-weight: 400; color: var(--text);
  margin: 0; letter-spacing: -0.01em; max-width: 60ch;
}

/* TL;DR meta strip */
.tldr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 60px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.tldr .item { background: var(--paper); padding: 20px 22px; }
.tldr .item .k {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); display: block; margin-bottom: 7px;
}
.tldr .item .v { font-size: 14px; color: var(--ink); line-height: 1.4; }

/* Case body blocks */
.block { margin-bottom: 56px; }
.block h2 {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint);
  margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 10px;
}
.block h2::before {
  content: ""; width: 8px; height: 8px; background: var(--yellow);
  border: 1px solid var(--ink); border-radius: 2px; display: inline-block;
}
.block h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 28px 0 12px; color: var(--ink);
}
.block p { color: var(--text-soft); }
.block p strong { color: var(--ink); }
.block ul.clean { list-style: none; padding: 0; margin: 0 0 18px; }
.block ul.clean li {
  position: relative; padding: 10px 0 10px 26px; color: var(--text-soft);
  border-bottom: 1px solid var(--rule);
}
.block ul.clean li:last-child { border-bottom: none; }
.block ul.clean li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 10px; height: 10px; background: var(--yellow);
  border: 1px solid var(--ink); border-radius: 2px;
}

/* Decision cards */
.decision {
  padding: 22px 24px; margin-bottom: 14px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.decision .d-head {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  letter-spacing: -0.015em; margin: 0 0 8px; color: var(--ink);
}
.decision p { margin: 0; font-size: 15px; }

/* Callout / takeaway */
.callout {
  margin: 8px 0 0;
  padding: 24px 26px;
  background: var(--yellow-soft);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  font-size: 16px; line-height: 1.55; color: var(--text);
}
.callout .k {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-soft); display: block; margin-bottom: 8px;
}

/* Placeholder marker */
.fill {
  background: #fff7cf; border: 1px dashed #c9a800; border-radius: 3px;
  padding: 1px 6px; font-size: 0.9em; color: #7a5c00; font-style: italic;
}

/* Outcome stat block */
.outcomes { display: flex; flex-wrap: wrap; gap: 16px; margin: 4px 0 0; }
.outcome {
  flex: 1 1 160px;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow);
}
.outcome .num {
  font-family: var(--font-display); font-size: 36px; font-weight: 600;
  color: var(--ink); line-height: 1; letter-spacing: -0.03em;
}
.outcome .cap { font-size: 13px; color: var(--text-soft); margin-top: 10px; }

/* Diagrams */
figure.diagram {
  margin: 6px 0 30px;
  padding: 26px 26px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
figure.diagram svg { display: block; width: 100%; height: auto; }
figure.diagram figcaption {
  margin-top: 12px; font-size: 12px; color: var(--text-faint);
  font-style: normal; text-align: center; letter-spacing: 0.01em;
}

/* Buttons */
.live-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px; padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--yellow); border: 1px solid var(--ink);
  border-radius: 999px; text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}
.live-link:hover { background: var(--yellow-press); }
.live-link:active { transform: translateY(1px); }
.live-link .arrow { transition: transform 0.15s ease; }
.live-link:hover .arrow { transform: translateX(3px); }
.live-link.ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.live-link.ghost:hover { background: var(--paper); border-color: var(--ink); }

/* Next case nav */
.case-next {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 76px; padding: 26px 30px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  flex-wrap: wrap; box-shadow: var(--shadow);
}
.case-next .cn-label {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint);
}
.case-next a {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  text-decoration: none; color: var(--ink); letter-spacing: -0.02em;
}
.case-next a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* ---------- About ---------- */
.about-head { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 48px; }
.about-head .avatar {
  width: 112px; height: 112px; border-radius: var(--r); flex-shrink: 0; overflow: hidden;
  background: #16150f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 112'%3E%3Ctext x='56' y='78' font-family='Inter Tight,Inter,sans-serif' font-size='62' font-weight='700' text-anchor='middle' fill='%23e5fb50'%3EM%3C/text%3E%3C/svg%3E") center/cover no-repeat;
  box-shadow: var(--shadow); border: 1px solid var(--rule);
}
.about-head .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-head h1 {
  font-family: var(--font-display); font-size: 40px; font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.05; margin: 6px 0 10px; color: var(--ink);
}
.about-head .role { font-size: 16px; color: var(--text-soft); margin: 0 0 4px; }
.about-head .loc { font-size: 14px; color: var(--text-faint); margin: 0; }
.prose p { color: var(--text-soft); font-size: 17px; }
.prose h2 {
  font-family: var(--font-display); font-size: 25px; font-weight: 600;
  letter-spacing: -0.025em; margin: 46px 0 14px; color: var(--ink);
}

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 24px; }
.timeline li:last-child { border-bottom: none; }
.timeline .yr {
  font-family: var(--font-display);
  font-size: 13px; color: var(--text-faint); min-width: 116px; padding-top: 3px; letter-spacing: 0.02em;
}
.timeline .role-t { font-weight: 600; color: var(--ink); }
.timeline .org { color: var(--text-soft); }
.timeline .note { font-size: 14px; color: var(--text-faint); margin-top: 4px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--rule); background: var(--bg); }
footer.site .foot-inner {
  max-width: var(--max); margin: 0 auto; padding: 48px 32px 68px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: var(--text-faint);
}
footer.site a { color: var(--text-soft); }
footer.site a:hover { color: var(--ink); }
footer.site .foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site .fine { width: 100%; font-size: 13px; color: var(--text-faint); margin: 0; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bg); padding: 13px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease; z-index: 1000;
  box-shadow: var(--shadow-lift);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .check { margin-right: 8px; color: var(--yellow); font-weight: 700; }

/* ===========================================================
   Abstract visual system - generative SVG art & textures
   Palette-locked to the tokens above (bg / ink / yellow).
   =========================================================== */

/* Faint dot-grid texture behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(var(--rule-strong) 0.9px, transparent 0.9px);
  background-size: 26px 26px;
  opacity: 0.4;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15));
}

/* ---------- Homepage arrival hero (split) ---------- */
.hero-band { padding: 60px 32px 4px; }
.hero-band-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: 43px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero-copy .lede {
  font-size: 21px;
  line-height: 1.42;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  max-width: 42ch;
}
.hero-copy .sub {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0;
  max-width: 52ch;
}
.hero-band .hero-art { margin: 0; }
.wrap.tight-top { padding-top: 30px; }

/* Client / brand strip (Ramp-style grey wordmarks) */
.client-strip { max-width: 1060px; margin: 44px auto 0; padding-top: 26px; border-top: 1px solid var(--rule); }
.client-strip .cs-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 18px;
}
.client-logos {
  display: flex; flex-wrap: nowrap; align-items: center;
  justify-content: space-between; gap: 24px; width: 100%;
}
.client-logos img {
  height: 30px; width: auto; max-width: 132px; object-fit: contain;
  filter: grayscale(1);
  opacity: 0.4;
  transition: opacity 0.15s ease;
}
.client-logos img:hover { opacity: 0.7; }

/* Stat cards (Ramp-style big numbers) */
.stats-section { margin-bottom: 84px; }
.stats-lede { font-size: 18px; color: var(--text-soft); max-width: 60ch; margin: 0 0 26px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 32px 28px; box-shadow: var(--shadow);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 54px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink);
}
.stat-cap { margin-top: 15px; font-size: 15px; color: var(--text-soft); line-height: 1.5; max-width: 28ch; }

/* USP cards */
.usp-section { margin-bottom: 84px; }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usp {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 26px 26px 28px; box-shadow: var(--shadow);
}
.usp-mark {
  display: inline-block; width: 11px; height: 11px;
  background: var(--yellow); border: 1px solid var(--ink); border-radius: 3px; margin-bottom: 16px;
}
.usp .usp-lead {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.14;
  color: var(--ink); margin: 0 0 11px;
}
.usp p { margin: 0; font-size: 15px; color: var(--text-soft); line-height: 1.55; }

/* Testimonials */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; margin: 0;
}
.quote blockquote { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--text); flex: 1; }
.q-author { display: flex; align-items: center; gap: 12px; }
.q-avatar {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden; position: relative;
  background: var(--panel); border: 1px solid var(--rule);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink); flex-shrink: 0;
}
.q-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.q-meta { display: flex; flex-direction: column; line-height: 1.3; }
.q-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.q-role { font-size: 13px; color: var(--text-faint); }

@media (max-width: 780px) {
  .usp-grid, .quotes-grid, .stat-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 46px; }
  .client-logos { flex-wrap: wrap; justify-content: center; gap: 20px 26px; }
  .client-logos img { max-width: 100px; }
}

/* ---------- Homepage hero art ---------- */
.hero-art {
  margin: 4px 0 60px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 80% -10%, var(--yellow-soft) 0%, transparent 45%),
    linear-gradient(170deg, var(--paper) 0%, var(--panel) 100%);
  box-shadow: var(--shadow);
}
.hero-art svg { display: block; width: 100%; height: auto; }

/* Generic art surface (about, section breaks) */
.art-surface {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 15% -20%, var(--yellow-soft) 0%, transparent 42%),
    linear-gradient(160deg, var(--paper) 0%, var(--panel) 100%);
  box-shadow: var(--shadow);
}
.art-surface svg { display: block; width: 100%; height: auto; }

/* ---------- Work-card thumbnails ---------- */
a.work-card { padding-top: 0; overflow: hidden; }
.wc-thumb {
  margin: 0 -32px 22px;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(120% 180% at 88% -30%, var(--yellow-soft) 0%, transparent 46%),
    linear-gradient(165deg, var(--paper) 0%, var(--panel) 100%);
}
.wc-thumb svg { display: block; width: 100%; height: auto; }
a.work-card:hover .wc-thumb .accent { fill: var(--yellow-press); }

/* ---------- Case-study cover art ---------- */
.case-cover {
  margin: 0 0 54px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(130% 150% at 85% -15%, var(--yellow-soft) 0%, transparent 44%),
    linear-gradient(168deg, var(--paper) 0%, var(--panel) 100%);
  box-shadow: var(--shadow);
}
.case-cover svg { display: block; width: 100%; height: auto; }

/* ---------- About page art ---------- */
.about-art { margin: 0 0 48px; }
.about-art svg { display: block; width: 100%; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-band { padding: 40px 20px 0; }
  .hero-band-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-copy { order: 1; }
  .hero-band .hero-art { order: 2; max-width: 440px; margin: 0 auto; }
}
@media (max-width: 780px) {
  .hero-copy h1 { font-size: 33px; }
  .hero-art { margin-bottom: 44px; }
  .wc-thumb { margin: 0 -22px 20px; }
  body { font-size: 16px; }
  nav.top .nav-inner { padding: 13px 20px; gap: 12px; }
  nav.top ul { gap: 16px; }
  nav.top a { font-size: 14px; }
  .wrap { padding: 52px 20px 88px; }
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 20px; }
  section { margin-bottom: 60px; }
  a.work-card { padding: 24px 22px; }
  .work-card .wc-title { font-size: 22px; }
  .tldr { grid-template-columns: repeat(2, 1fr); }
  .case-hero h1 { font-size: 32px; }
  .case-hero .c-lede { font-size: 19px; }
  .about-head { gap: 18px; }
  .about-head .avatar { width: 84px; height: 84px; }
  .about-head h1 { font-size: 30px; }
  .timeline li { flex-direction: column; gap: 4px; }
  .timeline .yr { min-width: 0; }
  .case-next { padding: 20px 22px; }
  .case-next a { font-size: 18px; }
  footer.site .foot-inner { padding: 40px 20px 56px; }
}
@media (max-width: 460px) {
  nav.top ul li.hide-sm { display: none; }
  .hero h1 { font-size: 34px; }
  .about-head { flex-direction: column; }
}
