/* ==========================================================================
   Portfolio — UX Research
   ========================================================================== */

:root {
  /* Design system: ver DESIGN.md na raiz do projeto */
  color-scheme: light; /* um tema só: o claro */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --ink: #222222;
  --ink-soft: #3f3f3f;
  --ink-faint: #6a6a6a;
  --line: #dddddd;
  --accent: #ff385c;        /* Airbnb Rausch */
  --accent-strong: #e00b41; /* Airbnb Rausch Active: texto em acento e hover */
  --on-accent: #ffffff;
  --accent-soft: #fff5f7;   /* Rausch a 5% sobre branco */

  --font-display: "DM Sans", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Helvetica Neue", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;
  --radius: var(--r-lg);

  --shadow: 0 0 0 1px rgba(0, 0, 0, .02), 0 2px 6px rgba(0, 0, 0, .04), 0 4px 8px rgba(0, 0, 0, .1);

  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(48px, 8vw, 96px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: 0; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

em.serif {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-strong);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 23px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface-soft); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Abas de seção (página inicial) ----------
   Barra fixa no topo. A aba ativa acompanha a rolagem (assets/js/main.js),
   e o endereço muda junto, sem pular a página. */
.section-tabs {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.section-tabs.is-scrolled { box-shadow: var(--shadow); }
/* Com JS, a barra só aparece depois que a hero sai da tela: a hero usa a tela
   inteira. Ela também aparece quando recebe o foco do teclado. Sem JS, fica fixa. */
.section-tabs.is-auto {
  position: fixed;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  transition: transform .3s ease, box-shadow .25s;
}
.section-tabs.is-auto.is-shown,
.section-tabs.is-auto:focus-within { transform: none; }
.section-tabs-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.tabs-name {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.tabs-name span { color: var(--accent); }
.tabs-name { display: inline-flex; align-items: center; }
.tabs-avatar { width: 32px; height: 32px; margin-right: 10px; border-radius: 50%; object-fit: cover; }
.tabs-list {
  display: flex;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-list::-webkit-scrollbar { display: none; }
/* Idioma sempre à mão: pesquisa nas Américas, em três idiomas. */
.tabs-list { min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
.tabs-lang { display: flex; gap: 4px; flex-shrink: 0; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.tabs-lang-link {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: var(--r-full);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
}
.tabs-lang-link:hover { background: var(--surface-soft); }
.tabs-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--ink-faint);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.tabs-list a:hover { color: var(--ink); }
.tabs-list a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
/* Seções param abaixo da barra ao navegar pelas abas */
main [id] { scroll-margin-top: 80px; }
@media (max-width: 760px) {
  .section-tabs-inner { gap: 0; height: 56px; }
  .tabs-name { display: none; }
  .tabs-list { margin-left: 0; justify-content: flex-start; }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(56px, 10vw, 112px) 0 clamp(48px, 7vw, 80px);
}
/* Duas colunas: a apresentação à esquerda e os depoimentos à direita. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.hero-card .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero-card .status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero-card dl { margin: 0; }
.hero-card dt {
  font-size: .8125rem;
  color: var(--ink-faint);
}
.hero-card dd { margin: 2px 0 16px; font-weight: 500; }
.hero-card dd:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Depoimentos no topo (carrossel) ----------
   Um resumo de cada recomendação, com foto, nome e cargo. Sem JS, aparece só o
   primeiro. Com JS, gira sozinho a cada 6 s, para no mouse ou no foco e não gira
   para quem pede menos movimento. */
/* Card vertical, da altura do bloco de texto ao lado: citação no alto, autor e
   pontos embaixo. */
.hero-quotes {
  display: flex;
  flex-direction: column;
  justify-self: end;
  width: 100%;
  max-width: 380px;
  min-height: 420px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.hq-slides { flex: 1; display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; min-height: 132px; }
.hq-slide { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hq-slide:not(:first-child) { display: none; }
.hero-quotes.is-live .hq-slide { display: none; }
.hero-quotes.is-live .hq-slide.is-active { display: flex; animation: hq-in .5s ease; }
@keyframes hq-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hq-text { margin: 0; font-size: clamp(1.4rem, 2.5vw, 2.05rem); font-weight: 600; color: var(--ink); line-height: 1.4; }
.hq-text::before { content: "“"; color: var(--accent-strong); margin-right: 2px; }
.hq-text::after { content: "”"; color: var(--accent-strong); margin-left: 1px; }
.hq-author { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; width: fit-content; }
.hq-author:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hq-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--surface-soft); }
.hq-author strong { display: block; font-size: 1rem; font-weight: 600; }
.hq-author span span { font-size: .9375rem; color: var(--ink-faint); }
.hq-dots { display: flex; gap: 2px; margin: 20px 0 0 -8px; }
.hq-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hq-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s; }
.hq-dots button[aria-current="true"]::before { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hero-quotes.is-live .hq-slide.is-active { animation: none; } }
@media (max-width: 900px) { .hero-quotes { justify-self: stretch; max-width: none; min-height: 0; } }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { color: var(--ink-soft); font-size: .92rem; }

@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { max-width: 44ch; color: var(--ink-soft); margin: 0; }

/* ---------- Cases ---------- */

/* Um case em destaque, largo, e os demais menores em duas colunas. */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cases > .case-card:first-child { grid-column: 1 / -1; }
.cases > .case-card:not(:first-child) { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.cases > .case-card:not(:first-child) .case-visual { min-height: 240px; }
.cases > .case-card:not(:first-child) .case-body { padding: 28px; }
.cases > .case-card:not(:first-child) h3 { font-size: 1.2rem; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .25s;
}
.case-card:hover { box-shadow: var(--shadow); }
.case-visual {
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.case-body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}
.case-company { margin-bottom: 20px; }
.case-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tag {
  font-size: .8125rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.case-body p { color: var(--ink-soft); }
.case-impact {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.case-impact strong {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-strong);
}
.case-impact small { display: block; color: var(--ink-faint); font-size: .85rem; }
.arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background .3s, color .3s, transform .3s;
}
.arrow svg { width: 18px; height: 18px; }
.case-card:hover .arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

@media (max-width: 820px) {
  .case-card { grid-template-columns: 1fr; }
  .case-visual { min-height: 220px; }
}

/* Figuras dos cases (ver "Figuras Hairline") */
.viz {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  container-type: size;
}
.viz-1 { --figure-bg: var(--accent-soft); background: var(--accent-soft); }
.viz-2 { --figure-bg: var(--surface-soft); background: var(--surface-soft); }
.viz-3 { --figure-bg: var(--surface-soft); background: var(--surface-soft); }
/* Cabe na largura e na altura do bloco: 115cqh é 92% da altura em 5:4 */
.viz .figure { width: min(92cqw, 115cqh, 560px); }

/* ---------- Figuras Hairline ---------- */
/* Desenhadas só com traço (assets/js/hairline). Só tons de coral: o traço
   aceso é o acento forte; os outros são o acento misturado ao fundo do bloco, que
   cada bloco declara em --figure-bg (sem ela, --surface). */
.figure {
  --hairline-plate: var(--figure-bg, var(--surface));
  --hairline-hi: var(--accent-strong);
  --hairline-edge: color-mix(in srgb, var(--accent) 58%, var(--hairline-plate));
  --hairline-mid: color-mix(in srgb, var(--accent) 44%, var(--hairline-plate));
  --hairline-lo: color-mix(in srgb, var(--accent) 22%, var(--hairline-plate));
  --hairline-stroke: 1.2;
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
}
.figure-read {
  position: absolute;
  right: 4%;
  bottom: 3%;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-strong);
  pointer-events: none;
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  background: var(--surface);
  padding: 32px 28px;
}
.step-num {
  font-size: .875rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 40px;
  display: block;
}
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

@media (max-width: 960px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Methods ---------- */

.methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.method-group h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.method-group ul { list-style: none; margin: 0; padding: 0; }
.method-group li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

@media (max-width: 820px) { .methods { grid-template-columns: 1fr; gap: 32px; } }

/* Trajetória: trabalho à esquerda da linha, estudo à direita, do mais recente
   para o mais antigo. Sem marcador: a data de cada item fica encostada na
   linha. Um item de trabalho seguido de um de estudo dividem a mesma linha da
   grade, o que mostra eventos paralelos lado a lado. No celular vira uma
   coluna só, com a linha à esquerda: primeiro trabalho, depois estudo. */
.trajectory { margin-top: 0; }
.tl {
  --tl-gap: 56px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--tl-gap);
  row-gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - .5px);
  border-left: 1px solid var(--line);
}
.tl-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tl-work { grid-column: 1; text-align: right; }
.tl-study { grid-column: 2; }
.tl-meta {
  display: flex;
  gap: 8px;
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
}
.tl-meta time { color: var(--ink-soft); font-weight: 600; }
.tl-work .tl-meta { justify-content: flex-end; }
/* Estudo: data primeiro, para ela ficar do lado da linha. */
.tl-study .tl-meta { flex-direction: row-reverse; justify-content: flex-end; }
/* "Trabalho" e "Estudo" aparecem uma vez, como título de cada coluna.
   O rótulo de cada item fica só para leitores de tela (.visually-hidden). */
.tl-head {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent-strong);
}
.tl-head-work { grid-column: 1; text-align: right; }
.tl-head-study { grid-column: 2; color: var(--ink-soft); }
.tl-item strong { font-weight: 600; line-height: 1.3; }
.tl-item > span { color: var(--ink-soft); font-size: .95rem; }
.tl-minor strong { font-size: .95rem; font-weight: 500; }
.tl-minor > span { font-size: .9rem; }

@media (max-width: 640px) {
  .tl { grid-template-columns: 1fr; padding-left: 20px; }
  .tl::before { left: 0; }
  .tl-work, .tl-study { grid-column: 1; text-align: left; }
  .tl-work .tl-meta { flex-direction: row-reverse; justify-content: flex-end; }
  /* Uma coluna: trabalho primeiro, depois estudo, cada grupo com o seu título. */
  .tl-head-work, .tl-head-study { grid-column: 1; text-align: left; }
  .tl-head-work { order: 0; }
  .tl-work { order: 1; }
  .tl-head-study { order: 2; margin-top: 16px; }
  .tl-study { order: 3; }
}

/* ---------- Trajetória em cards ----------
   No estilo dos cards do Airbnb: sem caixa nem borda, foto grande e arredondada,
   e embaixo só o título, o período em cinza e uma frase. */
.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.chapter { display: flex; flex-direction: column; gap: 12px; }
.chapter-text { display: flex; flex-direction: column; }
.chapter-text h4 { order: -1; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.chapter-meta { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 6px; font-size: .875rem; color: var(--ink-faint); }
.chapter-text > p:last-child { margin: 0; color: var(--ink-soft); font-size: .9375rem; line-height: 1.5; }
.chapter-media { order: -1; }
.chapter-photo { margin: 0; }
.chapter-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  transition: transform .4s ease;
}
.chapter-photo { overflow: hidden; border-radius: var(--r-lg); position: relative; }
.chapter:hover .chapter-photo img { transform: scale(1.03); }
/* Crédito da foto (licença CC BY) discreto, sobre o canto da imagem. */
.chapter-photo figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .6875rem;
}
.chapter-photo figcaption a { color: inherit; }
@media (max-width: 1024px) { .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .chapters { grid-template-columns: 1fr; } }

/* ---------- Além da pesquisa (fotos de viagem, na seção Sobre) ---------- */
/* Faixa cinza, como as do Airbnb, para separar este bloco da trajetória. */
.band-soft {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--surface-soft);
}
.band-soft .explore { margin-top: 0; }
.explore {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}
.explore-text h3 { margin-bottom: .4em; }
.explore-text p { color: var(--ink-soft); margin: 0; }
.explore-text p + p { margin-top: .8em; }
.explore-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.explore-photo { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--surface-soft); }
.explore-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .explore { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */

.quotes {
  columns: 2;
  column-gap: 24px;
}
.quote {
  break-inside: avoid;
  margin: 0 0 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 32px);
}
.quote blockquote {
  margin: 0 0 24px;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--ink-faint); font-size: .9rem; }

@media (max-width: 820px) { .quotes { columns: 1; } }

/* ---------- Contact ---------- */

.contact {
  background: var(--surface-soft);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(40px, 8vw, 88px) clamp(24px, 6vw, 80px);
  text-align: center;
}
.contact .eyebrow { justify-content: center; }
.contact h2 { max-width: 16ch; margin: 0 auto .5em; }
.contact p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 2rem; }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: .95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a { display: inline-block; padding: 10px 0; text-decoration: none; font-weight: 500; }
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--ink); }
.footer-bottom {
  flex-basis: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-copy { margin: 0; font-size: .9rem; }

/* ---------- Case study page ---------- */

.cs-hero { padding: clamp(48px, 9vw, 110px) 0 48px; }
.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .95rem;
  margin-bottom: 40px;
}
.back-link:hover { color: var(--ink); }
.back-link svg { width: 16px; height: 16px; }
.cs-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); max-width: 20ch; }

.cs-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-facts dt {
  font-size: .8125rem;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.cs-facts dd { margin: 0; font-weight: 500; }
.cs-company { display: flex; align-items: center; gap: 12px; }
.cs-company span:last-child { color: var(--ink-soft); }

@media (max-width: 820px) { .cs-facts { grid-template-columns: repeat(2, 1fr); } }

.cs-cover {
  position: relative;
  height: clamp(240px, 42vw, 480px);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 48px 0 0;
}

.cs-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.cs-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .92rem;
}
.cs-toc a {
  display: block;
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--line);
  color: var(--ink-faint);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.cs-toc a:hover,
.cs-toc a.active { color: var(--ink); border-left-color: var(--ink); }

.cs-content { max-width: 720px; }
.cs-content section { margin-bottom: clamp(56px, 7vw, 88px); scroll-margin-top: 24px; }
.cs-content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cs-content p, .cs-content li { color: var(--ink-soft); }
.cs-content ul { padding-left: 1.2em; }
.cs-content li { margin-bottom: .5em; }

@media (max-width: 900px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-toc { display: none; }
}

.callout {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 32px;
  margin: 32px 0;
}
.callout p { color: var(--ink); margin: 0; font-size: 1.15rem; font-weight: 500; line-height: 1.45; }
.callout small { display: block; margin-top: 12px; color: var(--ink-soft); font-size: .875rem; }

/* Imagens reais dentro dos cases (assets/img/cases/) */
.cs-shot { margin: 32px 0; }
.cs-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.cs-shot figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-faint); }

.method-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.method-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}
.method-item strong { display: block; margin-bottom: 4px; color: var(--ink); }
.method-item span { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 560px) { .method-list { grid-template-columns: 1fr; } }

.insight {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.insight:last-of-type { border-bottom: 1px solid var(--line); }
.insight-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-strong);
  line-height: 1;
}
.insight h3 { font-size: 1.2rem; margin-bottom: .3em; }
.insight p { margin: 0; }

.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.result strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-strong);
  margin-bottom: 8px;
}
.result span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 640px) { .results { grid-template-columns: 1fr; } }

.next-case {
  display: block;
  text-decoration: none;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.next-case small { color: var(--ink-faint); font-size: .875rem; font-weight: 500; }
.next-case h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: .3em 0 0;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: color .2s;
}
.next-case:hover h3 { color: var(--accent-strong); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Logos das empresas (nos cards de case) ---------- */

/* Logos em uma cor só (máscara), no mesmo cinza do texto.
   Arquivos em assets/img/logos/ (ver README). */
.client-logo {
  display: block;
  height: 22px;
  background-color: var(--ink-faint);
  opacity: .7;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.client-logo-gameram { --logo: url(../img/logos/gameram.svg); aspect-ratio: 131 / 33; height: 30px; }
.client-logo-turno { --logo: url(../img/logos/turno.webp); aspect-ratio: 600 / 174; height: 26px; }
.client-logo-yara { --logo: url(../img/logos/yara.svg); aspect-ratio: 45 / 46; height: 34px; }
.client-logo-unpress { --logo: url(../img/logos/unpress.svg); aspect-ratio: 147 / 30; height: 18px; }
.client-logo-materialize { --logo: url(../img/logos/materialize.svg); aspect-ratio: 208 / 31; }

/* ---------- More work ---------- */

.more-work {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.more-work ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.more-work li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .98rem;
}
.more-work li strong { color: var(--ink); font-weight: 600; }
.more-work li span {
  display: block;
  margin-top: 6px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--accent-strong);
}
@media (max-width: 820px) { .more-work ul { grid-template-columns: 1fr; } }

/* ---------- Principles ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.principle {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.principle-mark {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: .6;
  color: var(--accent-strong);
  margin-bottom: 16px;
}
.principle h3 { font-size: 1.2rem; }
.principle p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Case study: notes ---------- */

.note {
  font-size: .88rem;
  color: var(--ink-faint);
  border-left: 2px solid var(--line);
  padding-left: 14px;
  margin-top: 32px;
}

/* ---------- Language switch ---------- */

.lang-link {
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-full);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
}
.lang-link:hover { border-color: var(--ink-faint); }
.lang-switch { display: flex; gap: 6px; }

.quotes-more, .content-more { margin: 28px 0 0; font-size: .95rem; }
.quotes-more a, .content-more a { color: var(--ink-soft); text-underline-offset: 4px; }
.quotes-more a:hover, .content-more a:hover { color: var(--accent-strong); }

/* Fotos dos depoimentos: assets/img/depoimentos/<nome>.jpg (quadrada, ~200px).
   Sem foto, aparecem as iniciais. */
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 1rem;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person strong { display: block; color: var(--ink); }
.person-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.person-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.in-icon { width: 14px; height: 14px; color: var(--ink-faint); flex-shrink: 0; transition: color .2s; }
.person-link:hover .in-icon { color: var(--accent-strong); }
.person span { color: var(--ink-faint); font-size: .9rem; }

/* ---------- Toolkit (cards de métodos) ---------- */

.chip {
  font: inherit;
  font-size: .9rem;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.toolkit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* Card vira: frente com ilustração e título, verso com o resto.
   Hover em quem tem mouse, toque (classe via JS) e foco de teclado. */
.tool-card { perspective: 1200px; border-radius: var(--r-lg); cursor: pointer; }
.tool-card[hidden] { display: none; }
.tool-flip {
  display: grid;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.tool-face {
  grid-area: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: box-shadow .25s;
}
.tool-front { position: relative; padding: 12px 12px 20px; }
.tool-front h3 { margin-bottom: 0; }
.tool-front::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 16px;
  height: 16px;
  background: var(--ink-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tool-back { padding: 22px 12px 20px; transform: rotateY(180deg); }
.tool-card.is-flipped .tool-flip,
.tool-card:focus-visible .tool-flip { transform: rotateY(180deg); }
.tool-card:focus-visible { outline-offset: 4px; }
@media (hover: hover) {
  .tool-card:hover .tool-flip { transform: rotateY(180deg); }
  .tool-card:hover .tool-face { box-shadow: var(--shadow); }
}
.tool-ill {
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 18px;
}
.tool-ill-discover { --figure-bg: var(--accent-soft); background: var(--accent-soft); }
.tool-ill-evaluate,
.tool-ill-measure { --figure-bg: var(--surface-soft); background: var(--surface-soft); }
.tool-ill .figure-read { display: none; }
.tool-phase {
  padding: 0 6px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.tool-card h3 { padding: 0 6px; font-size: 1.15rem; margin-bottom: .4em; }
.tool-back > p { padding: 0 6px; color: var(--ink-soft); font-size: .93rem; margin: 0; }
.tool-card .tool-ev {
  margin-top: auto;
  padding: 14px 6px 0;
  font-size: .85rem;
  color: var(--ink);
}
.tool-back > p { margin-bottom: 16px; }
.tool-card .tool-ev { border-top: 1px solid var(--line); }
.tool-ev span {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 2px;
}

/* ---------- Da pergunta ao método (seção Métodos) ---------- */
.qm-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.qm-item {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.qm-q { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.qm-m { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.qm-m span { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; color: var(--accent-strong); }
.qm-src { margin: 10px 0 0; font-size: .8125rem; color: var(--ink-faint); }
@media (max-width: 760px) { .qm-list { grid-template-columns: 1fr; } }

/* ---------- Ferramentas (agrupadas como no CV) ---------- */

.tool-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-group {
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.tool-group h3 { font-size: 1rem; margin-bottom: 14px; }
.tool-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-group li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
/* Ícone de cada ferramenta em cinza, por máscara, como os logos das empresas.
   Arquivos em assets/img/ferramentas/. */
.tool-logo {
  flex: none;
  width: 14px;
  height: 14px;
  background-color: var(--ink-faint);
  opacity: .8;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.tool-logo-userinterviews { --logo: url(../img/ferramentas/userinterviews.png); }
.tool-logo-lookback { --logo: url(../img/ferramentas/lookback.svg); }
.tool-logo-optimalworkshop { --logo: url(../img/ferramentas/optimalworkshop.svg); }
.tool-logo-uxtweak { --logo: url(../img/ferramentas/uxtweak.png); }
.tool-logo-surveymonkey { --logo: url(../img/ferramentas/surveymonkey.svg); }
.tool-logo-survicate { --logo: url(../img/ferramentas/survicate.png); }
.tool-logo-mixpanel { --logo: url(../img/ferramentas/mixpanel.svg); }
.tool-logo-metabase { --logo: url(../img/ferramentas/metabase.svg); }
.tool-logo-tableau { --logo: url(../img/ferramentas/tableau.svg); }
.tool-logo-firebase { --logo: url(../img/ferramentas/firebase.svg); }
.tool-logo-miro { --logo: url(../img/ferramentas/miro.svg); }
.tool-logo-notion { --logo: url(../img/ferramentas/notion.svg); }
.tool-logo-jira { --logo: url(../img/ferramentas/jira.svg); }
.tool-logo-confluence { --logo: url(../img/ferramentas/confluence.svg); }
.tool-logo-claude { --logo: url(../img/ferramentas/claude.svg); }
.tool-logo-notebooklm { --logo: url(../img/ferramentas/notebooklm.svg); }
.tool-logo-fireflies { --logo: url(../img/ferramentas/fireflies.png); }
.tool-logo-intercom { --logo: url(../img/ferramentas/intercom.svg); }
.tool-logo-hubspot { --logo: url(../img/ferramentas/hubspot.svg); }
.tool-logo-crazyegg { --logo: url(../img/ferramentas/crazyegg.png); }
.tool-logo-redshift { --logo: url(../img/ferramentas/redshift.svg); }
.tool-logo-openspec { --logo: url(../img/ferramentas/openspec.png); }

@media (max-width: 1024px) {
  .toolkit { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) { .tool-groups { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .toolkit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .toolkit, .tool-groups { grid-template-columns: 1fr; } }

/* ---------- Conteúdo ---------- */

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.content-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  text-decoration: none;
  transition: box-shadow .25s;
}
.content-card:hover { box-shadow: var(--shadow); }
.content-card .eyebrow { margin-bottom: .75rem; }
.content-card p { color: var(--ink-soft); }
.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-faint);
}
.content-card .content-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
/* Tipo (Artigo, Vídeo, Link): primeiro item da linha de dados, em tinta forte */
.content-type { color: var(--ink); font-weight: 600; }
.content-card[data-type="video"] .content-type::before { content: "▶\FE0E"; margin-right: 6px; font-size: .75em; }
.content-card[data-type="link"] .content-type::after { content: "↗"; margin-left: 4px; }

.content-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 22ch; }
.content-head .content-meta { margin-top: 24px; font-size: .9rem; }

.content-body {
  max-width: 680px;
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.content-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 48px; }
.content-body p, .content-body li { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.7; }
.content-body ul { padding-left: 1.2em; }
.content-body li { margin-bottom: .5em; }
.content-body strong { color: var(--ink); font-weight: 600; }
.content-body .callout p { font-size: 1.15rem; line-height: 1.45; }

/* Vídeo incorporado: 16:9, ocupa a largura do texto */
.video-embed {
  aspect-ratio: 16 / 9;
  margin: 0 0 32px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-soft);
}
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Capa antes do clique: o player do YouTube só carrega quando a pessoa pede */
.video-poster { position: relative; display: block; width: 100%; height: 100%; }
.video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow);
  transition: background .2s;
}
.video-play svg { width: 32px; height: 32px; margin-left: 4px; }
.video-poster:hover .video-play, .video-poster:focus-visible .video-play { background: var(--accent-strong); }
.video-poster:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: -3px; }
.content-body .external-link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.content-body .external-link:hover { color: var(--accent-strong); }

/* Texto só para leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Faixa de fases do produto nos cards de case: destaca onde a pesquisa atuou */
.case-phases { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 14px; }
.phase {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-faint);
}
.phase.is-on {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
}
