/* ==========================================================================
   v3 — minimal premium light theme. Loaded after v2.css and overrides it.
   One typeface (Inter), warm white paper, ink text, one quiet blue accent.
   ========================================================================== */
:root, :root[data-theme], :root:not([data-theme="light"]) {
  --bg: #fafaf8;
  --bg-2: #f1f0ec;
  --surface: #ffffff;
  --glass: rgba(250, 250, 248, .86);
  --glass-line: #e8e6e1;
  --fg: #141414;
  --muted: #5f5f5b;
  --faint: #9a9994;
  --line: #e8e6e1;
  --warm: #141414;
  --cool: #2f54eb;
  --accent: #2f54eb;
  --f-display: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --step-3: clamp(30px, 3.4vw, 50px);
  --step-4: clamp(40px, 5.6vw, 80px);
  --wrap: 1200px;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 12px 32px -16px rgba(20,20,20,.18);
  color-scheme: light;
}
body { background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.65; cursor: auto !important; }
body * { cursor: revert; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-stretch: 100% !important; letter-spacing: -.025em; }
::selection { background: #dfe6ff; color: var(--fg); }

/* things the minimal theme removes */
.loader, #scene, .grain, .cursor, .marquee, .name-xl, [data-theme-toggle], .btn-ai, .hover-preview, .toc { display: none !important; }
.js .reveal:not(.in) { opacity: 1; transform: none; }
.reveal { transition: none; }

/* ---------- header ---------- */
.site-head {
  background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); padding-block: 12px;
}
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); }
.brand span b { color: var(--fg); font-weight: 600; font-size: 14px; }
.nav { background: transparent; border: 0; backdrop-filter: none; padding: 0; gap: 4px; }
.nav a { font-size: 14px; padding: 8px 12px; border-radius: 8px; color: var(--muted); }
.nav a:hover { background: var(--bg-2); color: var(--fg); }
.nav a.is-active, .nav a[aria-current="page"] { color: var(--fg); background: transparent; box-shadow: inset 0 -2px 0 var(--fg); border-radius: 0; }
.icon-btn { background: var(--surface); border-color: var(--line); }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg); transition: background .2s, border-color .2s; white-space: nowrap; }
.btn-sm:hover { border-color: var(--fg); }
.btn-sm.solid { background: var(--fg); color: #fff; border-color: var(--fg); }
.btn-sm.solid:hover { background: #000; }
.btn-sm svg { width: 15px; height: 15px; }

/* ---------- breadcrumb bar (sub pages) ---------- */
.cs main { padding-top: 84px; }
.crumbbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; gap: 14px; min-width: 0; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color .2s; }
.back:hover { border-color: var(--fg); }
.back svg { width: 16px; height: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { color: var(--fg); font-weight: 500; }
.pager { display: flex; gap: 8px; }
.pager a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid transparent; }
.pager a:hover { color: var(--fg); border-color: var(--line); background: var(--surface); }
.pager svg { width: 15px; height: 15px; }
.page-kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 14px; }

/* ---------- hero ---------- */
.hero { min-height: auto; padding-block: 150px 56px; align-content: start; }
.hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-copy { grid-column: auto; gap: 24px; }
.eyebrow-line { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--muted); }
.eyebrow-line .dot { background: #22a06b; box-shadow: 0 0 0 4px rgba(34,160,107,.16); }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; max-width: 15ch; }
.hero h1 .soft { color: var(--faint); }
.hero-sub { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 44ch; }
.btn { border-radius: 12px; padding: 13px 20px; font-size: 15px; font-weight: 500; background: var(--fg); color: #fff; border: 1px solid var(--fg); }
.btn:hover { transform: none; background: #000; }
.btn.ghost { background: var(--surface); color: var(--fg); border-color: var(--line); backdrop-filter: none; }
.btn.ghost:hover { border-color: var(--fg); background: var(--surface); }
.hero-fallback, .no-webgl .hero-fallback { display: block; position: relative; right: auto; bottom: auto; width: 100%; max-width: 420px; justify-self: end; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); -webkit-mask-image: none; mask-image: none; box-shadow: var(--shadow); }
.hero-fallback img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.hero-meta { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-meta .mono { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 13px; }
.hero-meta b { font-weight: 500; }
.no-webgl .hero { background: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { grid-template-columns: 1fr; gap: 12px; max-width: 760px; }
.sec-head .label, .sec-head h2, .sec-head p { grid-column: 1 / -1; }
.sec-head .label { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: var(--accent); }
.sec-head h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.sec-head h2 sup { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--faint); }
.sec-head p { color: var(--muted); font-size: 17px; }
.mono { font-family: var(--f-mono); }

/* ---------- cards ---------- */
.featured { gap: 24px; perspective: none; }
.f-card { border-radius: var(--radius); box-shadow: var(--shadow); transform: none !important; transition: box-shadow .3s, transform .3s; background: #e9e8e4; }
.f-card:hover { box-shadow: 0 2px 4px rgba(20,20,20,.05), 0 24px 48px -20px rgba(20,20,20,.3); }
.f-card video, .f-card img { transform: none !important; transition: transform .8s var(--ease); }
.f-card:hover video, .f-card:hover img { transform: scale(1.03) !important; }
.f-card::after { background: linear-gradient(to top, rgba(10,10,10,.78), rgba(10,10,10,0) 58%); }
.f-body, .f-go { transform: none !important; }
.f-go { width: 44px; height: 44px; }
.f-card:hover .f-go { transform: rotate(-45deg) !important; }
.f-tags span { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; }
.f-body h3 { font-weight: 600; letter-spacing: -.03em; }
.ixd-grid { gap: 24px; perspective: none; }

/* project list */
.index { border-top: 1px solid var(--line); margin-top: 32px; }
.index-row { padding-block: 22px; grid-template-columns: 96px minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr) auto; }
.index-row .thumb { display: block; width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.index-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.index-row h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.index-row:hover h3 { transform: none; color: var(--accent); }
.index-row .c3 span { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 12px; border-radius: 6px; background: var(--surface); }
.index-row .c4 { font-family: var(--f-body); text-transform: none; font-size: 13px; color: var(--muted); }
.index-row:hover .c4 i { background: var(--fg); color: #fff; }

/* ventures (DressMe.Ai + VOXEL) */
.ventures { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ventures .pitch-wrap { border-radius: var(--radius); box-shadow: var(--shadow); }
.ventures .voxel-card { margin-top: 0; border-radius: var(--radius); min-height: 100%; box-shadow: var(--shadow); }
.venture-copy { display: grid; gap: 6px; margin-top: 16px; }
.venture-copy h3 { font-size: 20px; font-weight: 600; }
.venture-copy p { color: var(--muted); font-size: 15px; }
.pitch-play span { width: 88px; height: 88px; font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.pitch-cap { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 14px; }

/* about, voices, writing, contact */
.manifesto { font-weight: 600; letter-spacing: -.03em; }
.manifesto .w { color: var(--fg) !important; opacity: 1 !important; }
.manifesto .w.mac, .manifesto .w.hum { color: var(--fg) !important; }
.principle { border-color: var(--line); }
.principle .mono { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--accent); }
.q-card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--fg); }
.q-card strong { color: var(--fg); }
.post { border-color: var(--line); }
.post .src { font-family: var(--f-body); text-transform: none; letter-spacing: 0; }
.shot { border-radius: 16px; }
.contact h2 { font-weight: 600; letter-spacing: -.04em; }
.contact h2 .h, .contact h2 .m { color: inherit; }
.contact-meta .mono { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); }
.chip { font-family: var(--f-body); }
.site-foot { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- case study pages ---------- */
.cs-hero { padding-block: 40px 32px; grid-template-columns: 1fr; gap: 16px; }
.cs-hero h1 { grid-column: 1 / -1; font-size: var(--step-4); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.cs-hero .tag { grid-column: 1 / -1; max-width: 640px; }
.cs-hero .tag h3 { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.bk-hero { border-radius: var(--radius); }
.bk-hero h1 { font-weight: 600; letter-spacing: -.045em; }
.cs-section { border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: var(--accent); }
.eyebrow.small { color: var(--accent); }
.lead { color: var(--fg); }
.meta-grid h6 { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); }
.media-frame, .band img, .block img { border-radius: 14px; }
.next-project { padding-block: 64px; }
.next-project .mono { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: 14px; }
.next-project h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -.03em; }
.next-project:hover h2 { color: var(--accent); }
.end-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 0 40px; }
.progress { background: var(--fg); }

/* ---------- interaction-design case studies (v3 pages) ---------- */
.ix-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: 32px 48px; }
.ix-hero h1 { font-size: var(--step-4); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.ix-hero .sub { font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); margin-top: 16px; max-width: 34ch; }
.ix-hero .cover { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.ix-hero .cover img { width: 100%; height: auto; }
.ix-hero.wide { grid-template-columns: 1fr; }
.archive-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 12px; border-radius: 8px; background: var(--bg-2); color: var(--muted); font-size: 13px; }
.ix-meta { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-block: 48px; border-top: 1px solid var(--line); }
.ix-meta h2 { font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: 0; margin-bottom: 12px; }
.ix-meta p { font-size: 17px; }
.ix-meta dl { display: grid; gap: 16px; margin: 0; }
.ix-meta dt { font-size: 13px; color: var(--muted); }
.ix-meta dd { margin: 2px 0 0; font-weight: 500; }
.ix-sec { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.ix-sec > h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.ix-sec > .k { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 8px; }
.ix-sec p { max-width: 72ch; color: var(--fg); }
.ix-sec p + p { margin-top: 12px; }
.ix-sec ul { max-width: 72ch; padding-left: 20px; margin: 12px 0 0; }
.ix-sec li { margin: 4px 0; }
.ix-sec h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; letter-spacing: -.01em; }
.ix-fig { margin: 28px 0 0; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ix-fig img, .ix-fig video { width: 100%; height: auto; display: block; }
.ix-fig.narrow { max-width: 760px; }
.ix-grid { display: grid; gap: 16px; margin-top: 28px; }
.ix-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ix-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ix-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ix-grid figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.ix-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.stat { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stat b { display: block; font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 28px; }
.split .ix-fig { margin-top: 0; }
.fn { padding: 18px 0; border-top: 1px solid var(--line); }
.fn:first-child { border-top: 0; padding-top: 0; }
.fn h3 { margin: 0 0 6px; }

@media (max-width: 1000px) {
  .index-row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .ventures { grid-template-columns: 1fr; }
  .ventures .voxel-card { min-height: 320px; }
}
@media (max-width: 860px) {
  .site-head .btn-sm { display: none; }
  .hero { padding-top: 112px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fallback, .no-webgl .hero-fallback { justify-self: start; max-width: 320px; order: -1; aspect-ratio: 1; }
  .ix-hero, .ix-meta, .split { grid-template-columns: 1fr; }
  .ix-grid.g3, .ix-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; }
  .pager .lbl { display: none; }
  .crumbbar { padding-block: 14px; }
}
@media (max-width: 520px) {
  .crumbs ol { display: none; }
  .ix-grid.g2 { grid-template-columns: 1fr; }
}
.ix-grid.g1 { grid-template-columns: 1fr; }

/* ---- refinements after review ---- */
.hero-fallback video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.ventures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ventures .pitch-wrap, .ventures .voxel-card { aspect-ratio: 16 / 10; min-height: 0; }
.ventures .voxel-card { min-height: 0; }
.contact { padding-block: clamp(80px, 10vw, 140px); }
.contact h2 { font-size: clamp(44px, 6.4vw, 96px); font-weight: 600; font-stretch: 100%; letter-spacing: -.045em; line-height: 1; }
.contact-kicker { font-size: 15px; font-weight: 500; color: var(--accent); margin-bottom: 16px; }
.contact-meta { align-items: flex-start; }
.contact-meta > div { display: grid; gap: 8px; justify-items: center; }
.contact-meta .socials { display: flex; flex-direction: row; gap: 8px; }
.about-name { font-weight: 600; }
.ix-meta p + p { margin-top: 12px; }
.f-card img[loading="lazy"] { background: #e9e8e4; }
@media (max-width: 1000px) { .ventures .pitch-wrap, .ventures .voxel-card { aspect-ratio: 16 / 10; } }
.voices { overflow: hidden; } html { overflow-x: clip; }

/* ---- text-only minimal hero ---- */
.hero { padding-block: clamp(150px, 17vw, 230px) 64px; }
.hero-grid { grid-template-columns: 1fr; }
.hero-copy { max-width: 980px; gap: 28px; }
.hero h1 { font-size: clamp(44px, 7vw, 104px); max-width: 16ch; letter-spacing: -.045em; }
.hero-sub { max-width: 52ch; }
.hero-fallback { display: none !important; }
.hero-meta { margin-top: clamp(64px, 8vw, 112px); }
@media (max-width: 860px) { .hero { padding-top: 128px; } }

/* ==========================================================================
   v3.1 — Apple-style layer: grey canvas, white tiles, quiet motion.
   ========================================================================== */
:root, :root[data-theme], :root:not([data-theme="light"]) {
  --bg: #f5f5f7; --bg-2: #ebebef; --surface: #ffffff; --fg: #1d1d1f; --muted: #6e6e73; --faint: #86868b;
  --line: #e3e3e8; --accent: #0071e3; --cool: #0071e3; --radius: 22px; --shadow: none; --glass: rgba(245,245,247,.8);
}
body { -webkit-font-smoothing: antialiased; }
.section + .section, .cs-section, .ix-sec, .ix-meta { border-top: 0; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.sec-head { margin-bottom: clamp(24px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 600; letter-spacing: -.035em; }
.site-head { background: rgba(245,245,247,.8); border-bottom: 1px solid rgba(0,0,0,.06); }

/* tiles: media on top, text below on white */
.featured, .ixd-grid { gap: 20px; }
.f-card { display: flex; flex-direction: column; aspect-ratio: auto !important; height: auto !important; background: var(--surface); color: var(--fg); border-radius: var(--radius); box-shadow: none; overflow: hidden; transition: transform .35s var(--ease); }
.f-card:hover { box-shadow: none; transform: scale(1.01) !important; }
.f-card::after { display: none; }
.f-card video, .f-card img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-2); }
.ixd-card img { aspect-ratio: 4 / 3; }
.f-card:hover video, .f-card:hover img { transform: none !important; }
.f-body { position: static; padding: 22px 24px 26px; gap: 8px; }
.f-body h3 { font-size: clamp(22px, 2.2vw, 30px); color: var(--fg); }
.f-body p { color: var(--muted); font-size: 15px; }
.f-tags span { background: var(--bg); border: 0; color: var(--muted); padding: 4px 10px; }
.f-go { background: rgba(255,255,255,.92); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.f-card:hover .f-go { transform: none !important; }

/* project list inside one white tile */
.index { background: var(--surface); border-radius: var(--radius); border-top: 0; padding: 4px 24px; margin-top: 20px; }
.index-row { border-bottom: 1px solid var(--line); }
.index-row:last-child { border-bottom: 0; }
.index-row .c3 span { background: var(--bg); border: 0; }

/* ventures */
.ventures { gap: 20px; }
.ventures > div { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ventures .pitch-wrap, .ventures .voxel-card { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.venture-copy { margin: 0; padding: 20px 24px 24px; }

/* about, voices, writing */
.principle { background: var(--surface); border: 0; border-radius: var(--radius); }
.portrait { border-radius: var(--radius); }
.voices .ring-stage { perspective: none; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut-r) 12px var(--gut-l); scrollbar-width: none; cursor: auto; }
.voices .ring-stage::-webkit-scrollbar { display: none; }
.voices .ring { position: static; display: flex; gap: 16px; transform: none !important; width: max-content; height: auto; transform-style: flat; margin-inline: auto; }
.voices .q-card { position: static; transform: none !important; opacity: 1 !important; filter: none !important; width: min(360px, 82vw); scroll-snap-align: center; border: 0; box-shadow: none; border-radius: var(--radius); }
.ring-ctrl { display: none; }
.posts { background: var(--surface); border-radius: var(--radius); padding: 4px 24px; }
.post { border-color: var(--line); }
.post:last-child { border-bottom: 0; }
.shots { gap: 12px; }
.shot { border-radius: 18px; }

/* case studies */
.stat { border: 0; border-radius: 18px; }
.ix-fig, .ix-grid figure { border: 0; border-radius: 18px; }
.ix-meta { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); margin-block: 8px 24px; }
.crumbbar { border-bottom: 0; }
.back { border: 0; background: var(--surface); }
.btn-sm { border-color: transparent; }
.btn-sm:not(.solid) { background: var(--surface); }
.btn, .btn.ghost { border-radius: 999px; }
.btn.ghost { border-color: transparent; }
.btn-sm { border-radius: 999px; }
.hero-meta { border-top: 0; background: var(--surface); border-radius: var(--radius); padding: 24px 28px; margin-top: 56px; }
.mmenu a { font-size: 28px; font-weight: 600; letter-spacing: -.02em; padding-block: 6px; border-bottom: 1px solid var(--line); }

.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }

@media (max-width: 860px) {
  .brand span { display: block; }
  .brand span b + * , .brand span { font-size: 12px; }
  .site-head { padding-block: 10px; }
  .hero { padding-block: 120px 40px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; gap: 16px; margin-top: 40px; }
  .featured { grid-template-columns: 1fr; }
  .index { padding: 0 16px; }
  .index-row { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "thumb title go" "thumb meta go"; column-gap: 14px; row-gap: 2px; padding-block: 16px; }
  .index-row .thumb { width: 64px; height: 64px; aspect-ratio: 1; border: 0; grid-area: thumb; }
  .index-row h3 { grid-area: title; font-size: 17px; align-self: end; }
  .index-row .c2 { font-size: 14px; color: var(--muted); align-self: start; grid-area: meta; }
  .index-row .c3 { display: none; }
  .index-row .c4 { grid-area: go; }
  .index-row .c4 > span { display: none; }
  .ventures { grid-template-columns: 1fr; }
  .ixd-grid { grid-template-columns: 1fr; }
  .f-body { padding: 18px 20px 22px; }
  .posts { padding: 0 18px; }
  .post { grid-template-columns: 1fr !important; gap: 4px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gut-l)); padding-inline: var(--gut-l); }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 62%; scroll-snap-align: start; }
  .about-grid { gap: 28px; }
  .manifesto { font-size: 30px; }
  .role-line { font-size: 20px; }
  .contact h2 { font-size: 44px; }
  .contact-meta { flex-direction: column; align-items: center; gap: 20px; }
  .ix-meta { padding: 22px; }
  .crumbbar { padding-block: 12px 4px; }
}
.posts { border-top: 0; }
.voices .q-card { left: auto; top: auto; min-height: 0; }
.voices .ring-stage { height: auto !important; }

/* micro SaaS cards */
.saas-card img { aspect-ratio: 16 / 10; object-position: top center; border-bottom: 1px solid var(--line); }
.saas-kicker { font-size: 13px !important; font-weight: 500; color: var(--accent) !important; margin-top: 4px; }
.saas-cta { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--accent); }
.saas-card .f-tags span:first-child { background: #e8f7ee; color: #1a7f4b; }
.saas-card .f-tags span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22a06b; margin-right: 6px; vertical-align: middle; }

/* Portal Studio case study */
.ix-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ix-hero.wide .cover { margin-top: 8px; }
.stats + .stats { margin-top: 16px; }
.ix-table-wrap { margin-top: 24px; background: var(--surface); border-radius: var(--radius); overflow-x: auto; }
.ix-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.ix-table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ix-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ix-table tr:last-child td { border-bottom: 0; }
.ix-table td span { color: var(--muted); font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.step { background: var(--surface); border-radius: 18px; padding: 22px; }
.step > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: #fff; font-size: 13px; font-weight: 600; }
.step h3 { margin: 14px 0 6px; font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }
.agents { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: none !important; counter-reset: ag; }
.agents li { background: var(--surface); border-radius: 16px; padding: 18px; margin: 0; counter-increment: ag; }
.agents li > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.agents li > div::before { content: counter(ag); font-size: 12px; font-weight: 600; color: var(--muted); }
.agents .tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); letter-spacing: .02em; }
.agents .tag.ai { background: #eef3ff; color: var(--accent); }
.agents p { margin-top: 6px !important; color: var(--muted); font-size: 14px; }
.muted-note { margin-top: 20px !important; color: var(--muted) !important; font-size: 14px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--fg); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); margin-block: 24px 48px; }
.cta-band .k { font-size: 14px; font-weight: 500; color: #8ab4ff; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; margin: 6px 0; }
.cta-band p { color: rgba(255,255,255,.7); }
.cta-band .btn { background: #fff; color: var(--fg); border-color: #fff; }
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents { grid-template-columns: 1fr; }
}
