/* Dark green, gold and red. Type in the spirit of FC Barcelona's posts: bold condensed capitals,
   big numbers, stripe accents, lots of air. One dark look on purpose. */
:root {
  color-scheme: dark;
  --gutter: 20px;
  --bg: #111513;
  --bg-2: #131815;
  --panel: #181E1A;
  --panel-2: #141916;
  --line: #29332C;
  --ink: #EEF1EA;
  --ink-2: #D4DACF;
  --muted: #9DA89F;
  --sage: #A9C29F;
  --sage-hi: #BFD4B5;
  --moss: #4E6845;
  --moss-hi: #5C7A52;
  --lichen: #C8C59A;
  --clay: #C08A74;
  --clay-ink: #D9A08A;
  --bubble: #EEF1EA;
  --bubble-ink: #18201B;
  --bubble-muted: #5A665D;
  --ghost: #1C241F;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ui: "Barlow", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --stripe: linear-gradient(90deg, var(--moss) 0 33.3%, var(--sage) 33.3% 66.6%, var(--lichen) 66.6% 100%);
}
* { box-sizing: border-box; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  padding-inline: var(--gutter);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin-inline: auto; }
.bleed { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
a { color: var(--sage); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Top bar with the two tabs */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(17, 21, 19, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--stripe); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.mark { width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; background: var(--sage); color: var(--bg); font: 800 15px/1 var(--display); letter-spacing: .02em; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.tab { position: relative; color: var(--muted); text-decoration: none; font: 700 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; transition: color .2s, background-color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--bg); background: var(--sage); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; padding: 13px 20px; font: 700 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s; }
.btn-sm { padding: 10px 14px; font-size: 13px; }
.btn-white { background: var(--ink); color: var(--bg); }
.btn-white:hover { background: #fff; }
.btn-blue, .btn-red { background: var(--moss); color: #fff; }
.btn-blue:hover, .btn-red:hover { background: var(--moss-hi); }
.btn-gold { background: var(--sage); color: var(--bg); }
.btn-gold:hover { background: var(--sage-hi); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--sage); }

/* The two pages and the page-turn transition */
.view[hidden] { display: none !important; }
.view.is-leaving, .view.is-entering { filter: url(#ink-dissolve); will-change: filter, opacity; }
.view.is-entering { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 var(--reveal, 100%), transparent calc(var(--reveal, 100%) + 18%)); mask-image: linear-gradient(180deg, #000 0%, #000 var(--reveal, 100%), transparent calc(var(--reveal, 100%) + 18%)); }
.motes { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; }
.mote { position: absolute; width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%; background: radial-gradient(circle, var(--sage-hi), rgba(169, 194, 159, 0) 70%); opacity: 0; animation: mote var(--d, 1.1s) ease-out forwards; }
.mote.ink { background: radial-gradient(circle, #0b0f0d, rgba(11, 15, 13, 0) 70%); }
@keyframes mote {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  20% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--dx, 20px), var(--dy, -80px)) scale(1.4); }
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding-block: 112px 120px;
  background:
    radial-gradient(60% 55% at 88% 100%, rgba(200, 197, 154, .14), transparent 70%),
    radial-gradient(120% 95% at 50% 0%, #111513 18%, #1B2A21 52%, #3A5743 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 85%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--stripe); opacity: .8; }
.hero .wrap { position: relative; }
.poster { display: grid; gap: 8px; justify-items: center; }
.poster .headline { font: 800 clamp(44px, 8.4vw, 104px)/.92 var(--display); color: var(--ink); letter-spacing: -.005em; text-transform: uppercase; max-width: 14ch; }
.poster .line2 { font: 800 clamp(22px, 3.4vw, 38px)/1 var(--display); color: var(--sage); letter-spacing: .04em; text-transform: uppercase; }
.poster .line3 { font: 700 clamp(12px, 1.4vw, 14px)/1 var(--display); color: var(--muted); letter-spacing: .3em; text-transform: uppercase; margin-top: 10px; }
.hero .sub { color: var(--ink-2); font-size: clamp(16px, 2vw, 19px); max-width: 46ch; margin: 28px auto 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; margin-top: 34px; color: var(--muted); font-size: 15px; }
.hero .facts b { color: var(--sage); font: 800 20px/1 var(--display); letter-spacing: .02em; }

/* Sections */
section.block { padding-block: 88px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--sage); }
.kicker::before { content: ""; width: 28px; height: 4px; background: var(--stripe); border-radius: 2px; }
.title { font: 800 clamp(36px, 5.6vw, 64px)/.95 var(--display); color: var(--ink); text-transform: uppercase; letter-spacing: -.005em; margin-top: 12px; }
.intro { color: var(--muted); font-size: 18px; max-width: 58ch; margin-top: 16px; }
.note { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stage {
  height: 220px; display: grid; place-content: center; gap: 12px; padding: 20px;
  background-color: var(--panel-2); background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 36px 36px;
  border-bottom: 1px solid var(--line);
}
.card-body { padding: 22px 24px 26px; display: grid; gap: 6px; }
.card-body h3 { font: 800 24px/1.05 var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }
.card-body p { color: var(--muted); font-size: 15px; }
.step { font: 700 13px/1 var(--display); color: var(--sage); letter-spacing: .2em; text-transform: uppercase; }

.bubble { width: min(360px, 100%); background: var(--bubble); color: var(--bubble-ink); border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.bubble.ghost { background: var(--ghost); color: #6F7D73; box-shadow: none; width: min(320px, 92%); justify-self: center; }
.bubble .ic { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; color: #fff; }
.bubble.ghost .ic { background: #26302A; }
.ic.blue { background: var(--moss); } .ic.green { background: var(--moss); } .ic.garnet { background: #9A5A45; }
.bubble .who { font-size: 12px; font-weight: 700; line-height: 1.3; }
.bubble .msg { font-size: 12px; color: var(--bubble-muted); line-height: 1.35; }
.bubble.ghost .msg { color: #627067; }
.bubble .end { font-size: 11px; color: var(--bubble-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bubble .bad { color: #9A5A45; text-decoration: line-through; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #1A1411; background: var(--clay); border-radius: 3px; padding: 1px 5px; margin-right: 5px; vertical-align: 1px; }
.x { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9A5A45; color: #9A5A45; display: grid; place-items: center; }

.rails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin-top: 28px; list-style: none; padding: 0; }
.rails li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-top: 1px solid var(--line); }
.rails svg { margin-top: 3px; color: var(--sage); }
.rails b { color: var(--ink); font-weight: 600; display: block; }
.rails span { color: var(--muted); font-size: 15px; }

/* Pricing */
.pilot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); margin-top: 40px; }
.pilot .price-side { padding: 34px; display: grid; gap: 10px; align-content: center; border-right: 1px solid var(--line); background: radial-gradient(90% 90% at 0% 100%, rgba(78, 104, 69, .30), transparent 70%); }
.amt { font: 800 clamp(72px, 10vw, 112px)/.9 var(--display); color: var(--sage); }
.amt-sub { color: var(--muted); }
.amt-sub .monthly { color: var(--ink); }
.pay { margin-top: 8px; color: var(--ink); font-weight: 600; }
.pilot .list-side { padding: 30px 34px; display: grid; gap: 18px; }
.pilot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pilot li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.pilot li svg { margin-top: 5px; color: var(--sage); }
.costs { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.costs div { display: flex; justify-content: space-between; gap: 12px; }
.costs b { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 9px 13px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); }
.faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.faq h3 { font: 800 20px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.faq p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Resume */
.resume { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; margin-top: 40px; align-items: start; }
.about { padding: 24px; display: grid; gap: 14px; }
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.about p { color: var(--ink-2); }
.looking { background: var(--panel-2); border-left: 3px solid var(--sage); border-radius: 4px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.looking b { display: block; font: 700 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: 6px; }
.about-link { justify-self: start; }
.cv { display: grid; gap: 20px; }
.cv .card { padding: 6px 24px 10px; }
.cv h3 { font: 700 15px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--sage); padding-block: 20px 8px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.cv .card > .item:first-child { border-top: 0; }
.item .what { font-weight: 700; color: var(--ink); }
.item .when { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item .where { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.item .desc { grid-column: 1 / -1; font-size: 15px; margin-top: 4px; max-width: 66ch; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 14px 16px; border-top: 1px solid var(--line); }
.skills span { font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); }

/* Stat tiles and method tags */
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.stat { flex: 1 1 0; min-width: max-content; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.stat dt { font-size: 13px; color: var(--muted); line-height: 1.3; max-width: 22ch; }
.stat dd { margin: 0; font: 800 34px/1 var(--display); color: var(--ink); white-space: nowrap; }
.methods { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 0; }
.methods li { font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--sage); border: 1px solid rgba(169, 194, 159, .4); border-radius: 999px; padding: 6px 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.contact { padding: 24px; display: grid; gap: 12px; align-content: start; }
.contact .for { font: 700 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--sage); }
.contact .addr { color: var(--ink); font-weight: 600; font-size: 17px; overflow-wrap: anywhere; user-select: all; }
.contact .btn { justify-self: start; }

footer { margin-top: 96px; border-top: 1px solid var(--line); position: relative; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--stripe); }
footer .wrap { padding-block: 26px 40px; display: grid; gap: 18px; color: var(--muted); font-size: 13px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.colophon { max-width: 78ch; font-size: 12.5px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.colophon b { color: var(--ink-2); font-weight: 600; }

@media (max-width: 860px) {
  .cards, .rails, .faq, .contact-grid, .resume, .edu { grid-template-columns: minmax(0, 1fr); }
  .pilot { grid-template-columns: minmax(0, 1fr); }
  .pilot .price-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { padding-block: 84px 92px; }
  section.block { padding-block: 72px 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .top-cta, .brand-name { display: none; }
  .tab { padding: 10px 14px; font-size: 14px; }
  .stage { height: auto; min-height: 200px; }
  .pilot .price-side, .pilot .list-side, .about { padding: 22px; }
  .cv .card { padding: 4px 18px 8px; }
  .stat { padding: 10px 11px; }
  .stat dd { font-size: 28px; }
}

/* Contact form (posts to the Instant Reply bot's webhook; see README.md) */
.ask { margin-top: 36px; padding: 26px; }
.ask-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.ask label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.ask .wide { grid-column: 1 / -1; }
.ask .opt { color: var(--muted); font-weight: 400; }
.ask input, .ask select, .ask textarea {
  font: 400 15px/1.4 var(--ui); color: var(--ink); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%;
}
.ask textarea { resize: vertical; min-height: 110px; }
.ask input:focus, .ask select:focus, .ask textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: transparent; }
.ask [aria-invalid="true"] { border-color: var(--clay-ink); }
.ask .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.ask-status { color: var(--muted); font-size: 14px; }
.ask-status.ok { color: #7FD3A5; }
.ask-status.err { color: var(--clay-ink); }
.ask button[disabled] { opacity: .6; cursor: default; }
@media (max-width: 560px) { .ask { padding: 20px; } .ask-grid { grid-template-columns: minmax(0, 1fr); } }

/* Project and research photos */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.shot { margin: 0; display: grid; gap: 6px; }
.shot a { display: block; border-radius: 6px; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--panel-2); }
.shot-wide { margin-top: 8px; }
.shot-wide img { aspect-ratio: auto; }
.item-shot { grid-column: 1 / -1; margin-top: 10px; max-width: 720px; }
.shot figcaption { font-size: 12px; color: var(--muted); }
.shot a:hover img { border-color: var(--sage); }
@media (max-width: 560px) { .shots { grid-template-columns: minmax(0, 1fr); } }

/* Research & projects: one ordered list, resume-style rows */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.work { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.entry { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; padding: 22px 24px; align-items: start; }
.entry:not(:has(.entry-media)) { grid-template-columns: minmax(0, 1fr); }
.entry::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--moss), var(--sage), var(--lichen)); }
.entry-main { display: grid; gap: 10px; }
.entry-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.entry .num { font: 800 34px/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px rgba(169, 194, 159, .6); padding-top: 2px; }
.entry h3 { font: 800 24px/1.05 var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }
.entry .where { color: var(--sage); font-size: 14px; margin-top: 4px; }
.entry .desc { color: var(--ink-2); font-size: 15px; max-width: 64ch; }
.entry .stats { margin: 0; }
.entry .stat { padding: 9px 12px; flex: 0 1 auto; }
.entry .stat dd { font-size: 26px; }
.entry .stat dt { font-size: 12px; }
.entry-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.entry-media.one { grid-template-columns: minmax(0, 1fr); }
.entry-media .shot img { aspect-ratio: 4 / 3; object-fit: cover; }
.entry-media.one .shot img { aspect-ratio: auto; }

.edu { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; margin-top: 28px; align-items: start; }
.cv-card { padding: 6px 24px 10px; }
.cv-card h3 { font: 700 15px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--sage); padding-block: 20px 8px; }
.cv-card > .item:first-child { border-top: 0; }

@media (max-width: 860px) {
  .entry { grid-template-columns: minmax(0, 1fr); }
  .entry-media { max-width: 520px; }
}
@media (max-width: 560px) {
  .entry { padding: 20px 18px; }
  .entry h3 { font-size: 21px; }
  .entry .num { font-size: 28px; }
  .cv-card { padding: 4px 18px 8px; }
}
.entry .desc.next { color: var(--muted); font-size: 14px; }
.entry .desc.next b { color: var(--lichen); font-weight: 600; }

/* Left section menu (wide screens only; the content column narrows to make room) */
.sidenav { display: none; }
@media (min-width: 1200px) {
  .wrap { max-width: min(1080px, calc(100vw - 400px)); }
  .sidenav { display: block; position: fixed; left: 24px; top: 120px; z-index: 15; width: 170px; }
  .sidenav ul { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
  .sidenav ul[hidden] { display: none; }
  .sidenav a { position: relative; display: block; padding: 7px 8px; color: var(--muted); text-decoration: none; font: 700 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; border-radius: 4px; transition: color .2s; }
  .sidenav a:hover { color: var(--ink); }
  .sidenav a[aria-current="true"] { color: var(--sage); }
  .sidenav a[aria-current="true"]::before { content: ""; position: absolute; left: -16px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--sage); }
}

/* Auto-quotes section */
.flow { list-style: none; counter-reset: step; padding: 0; margin: 26px 0 8px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow li { counter-increment: step; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.flow li b { font: 800 18px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.flow li b::before { content: counter(step) " · "; color: var(--sage); }
.flow li span { color: var(--muted); font-size: 14px; }
.demo-shot { margin-top: 18px; }
.demo-shot img { border-radius: 10px; }
.demo-link { margin-top: 22px; }
@media (max-width: 860px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .flow { grid-template-columns: minmax(0, 1fr); } }
