/* Lucent — warm, organic-modern */

:root {
  --ink: #2a241c;
  --ink-2: #4a4034;
  --muted: #8c7e6a;
  --faint: #b8a99a;
  --line: #ece4d3;
  --line-2: #f4ecd9;
  --bg: #faf4e6;
  --surface: #fffcf4;
  --surface-2: #f3ead6;

  --sage: #95a884;
  --sage-deep: #6f7a5f;
  --sage-soft: #e7ecdf;
  --sage-tint: #f1f4ea;

  --clay: #c97b5b;
  --clay-deep: #a5573a;
  --clay-soft: #f5dcc8;
  --clay-tint: #faecdc;

  /* default accent = clay */
  --accent: var(--clay);
  --accent-deep: var(--clay-deep);
  --accent-soft: var(--clay-soft);
  --accent-tint: var(--clay-tint);

  --shadow-card: 0 1px 0 rgba(42,36,28,.03), 0 16px 36px -22px rgba(42,36,28,.22);
  --shadow-sheet: 0 -10px 50px rgba(42,36,28,.16);

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'General Sans', 'Helvetica Neue', system-ui, sans-serif;
}

[data-accent="sage"]  { --accent: var(--sage-deep); --accent-deep: #4d5e42; --accent-soft: var(--sage-soft); --accent-tint: var(--sage-tint); }
[data-accent="ink"]   { --accent: #2a241c; --accent-deep: #000; --accent-soft: #ebe4d3; --accent-tint: #f4ecd9; }
[data-accent="clay"]  { --accent: var(--clay); --accent-deep: var(--clay-deep); --accent-soft: var(--clay-soft); --accent-tint: var(--clay-tint); }

/* Sans display alternative — used when display=sans */
[data-display="sans"] {
  --font-display: 'General Sans', 'Helvetica Neue', system-ui, sans-serif;
}

.app {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.app *, .app *::before, .app *::after { box-sizing: border-box; }
.app p { line-height: 1.6; }

/* ────────── TOP NAV ────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.topnav.scrolled { border-bottom-color: var(--line); }

.topnav-inner {
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -.015em;
}
[data-display="sans"] .wordmark {
  font-style: normal;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
}
.topnav-end {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 16px;
}
[data-display="sans"] .topnav-end {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .02em;
}

/* ────────── HERO ────────── */
.hero {
  padding: 40px 24px 32px;
  position: relative;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
[data-display="sans"] .hero-eyebrow {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 62px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-wrap: balance;
  color: var(--ink);
}
.hero-title .it {
  font-style: italic;
  color: var(--accent);
}
[data-display="sans"] .hero-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -.025em;
  line-height: 1.0;
}
[data-display="sans"] .hero-title .it {
  font-style: normal;
  font-weight: 600;
}

.hero-lede {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 36ch;
  line-height: 1.55;
}

/* hero vial stage */
.hero-stage {
  position: relative;
  height: 320px;
  margin: 8px -24px 28px;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  inset: auto 0 0 0;
  height: 75%;
  background:
    radial-gradient(ellipse at 35% 70%, var(--accent-tint) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, var(--sage-tint) 0%, transparent 50%);
  z-index: 0;
}
.hero-vial {
  position: relative;
  height: 290px;
  width: auto;
  filter: drop-shadow(0 24px 36px rgba(42,36,28,.18));
  z-index: 2;
  transform: translateY(8px);
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* ────────── BUTTONS ────────── */
.btn {
  flex: 1;
  height: 54px;
  padding: 0 24px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform .15s, background .25s, border-color .25s;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-deep);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--muted);
}
.btn-arrow { transition: transform .25s; }
.btn:hover .btn-arrow { transform: translateY(2px); }

/* ────────── LIBRARY ────────── */
.library {
  padding: 24px 0 80px;
}
.library-head {
  padding: 0 24px;
  margin-bottom: 20px;
}
.library-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.library-title::after {
  content: '.';
  color: var(--accent);
}
[data-display="sans"] .library-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -.02em;
}
.library-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.5;
}

/* Search */
.searchwrap {
  padding: 0 24px;
  margin-bottom: 14px;
  position: relative;
}
.search {
  height: 52px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0 48px 0 48px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.search::placeholder { color: var(--faint); }
.search-icon {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 100px;
  background: var(--surface-2);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

/* Filter chips */
.chips {
  display: flex;
  gap: 8px;
  padding: 4px 24px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -.002em;
  color: var(--ink-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip-count {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--faint);
  padding: 1px 6px;
  border-radius: 100px;
  background: var(--surface-2);
}
.chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.chip.active .chip-count {
  color: var(--accent);
  background: rgba(255,255,255,.85);
}

/* Result count */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px 16px;
  font-size: 13px;
  color: var(--muted);
}
.view-toggle {
  display: flex;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
}
.view-toggle button {
  width: 30px;
  height: 26px;
  border: none;
  background: transparent;
  color: var(--faint);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.view-toggle button.active { background: var(--ink); color: var(--bg); }

/* ────────── CARDS ────────── */
.list {
  padding: 0 24px;
  display: grid;
  gap: 14px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.card:active { transform: scale(.985); }
.card:hover {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  box-shadow: var(--shadow-card);
}
.card-vial {
  height: 110px;
  width: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(42,36,28,.1));
}
.card-body { min-width: 0; }
.card-cat {
  font-size: 11.5px;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--accent-deep);
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
[data-display="sans"] .card-cat {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.card-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -.015em;
  margin-bottom: 6px;
  line-height: 1.1;
}
[data-display="sans"] .card-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.015em;
}
.card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-arrow {
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.card:hover .card-arrow {
  background: var(--accent);
  color: #fff;
}

/* Card layout B — grid (mobile) */
.list.grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.list.grid .card {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  padding: 18px 16px 16px;
}
.list.grid .card-vial {
  height: 140px;
  width: 100%;
  margin-bottom: 6px;
}
.list.grid .card-name { font-size: 20px; }
.list.grid .card-desc { -webkit-line-clamp: 2; font-size: 12px; }
.list.grid .card-arrow { display: none; }

/* No results */
.empty {
  padding: 64px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.empty-glyph {
  font-size: 40px;
  color: var(--faint);
  margin-bottom: 14px;
  font-family: var(--font-display);
}

/* ────────── BOTTOM SHEET (mobile) ────────── */
.sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42,36,28,.4);
  backdrop-filter: blur(2px);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  border-radius: 32px 32px 0 0;
  z-index: 80;
  max-height: 92%;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.32,.72,0,1);
  box-shadow: var(--shadow-sheet);
}
.sheet.open { transform: translateY(0); }

.sheet-grabber {
  width: 40px;
  height: 5px;
  background: var(--line);
  border-radius: 100px;
  margin: 12px auto 0;
  flex-shrink: 0;
}
.sheet-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 100px;
  background: var(--surface-2);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 5;
}
.sheet-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 40px;
}

.sheet-hero {
  position: relative;
  padding: 20px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 100%, var(--accent-tint) 0%, transparent 70%),
    var(--bg);
}
.sheet-vial {
  height: 230px;
  width: auto;
  filter: drop-shadow(0 22px 32px rgba(42,36,28,.18));
  margin: 8px 0 20px;
}
.sheet-cat {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
[data-display="sans"] .sheet-cat {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.sheet-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -.02em;
  line-height: 1;
  text-align: center;
  margin-bottom: 16px;
}
[data-display="sans"] .sheet-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -.02em;
}
.sheet-classif {
  display: inline-block;
  padding: 7px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: center;
}

.sheet-body { padding: 28px 28px 8px; }
.sheet-section { margin-bottom: 32px; }
.sheet-section:last-child { margin-bottom: 0; }
.sheet-section-head {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.sheet-section-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-left: 8px;
}
[data-display="sans"] .sheet-section-head {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.sheet-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.sheet-text.muted { color: var(--muted); }

.components {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.component-tag {
  padding: 9px 16px 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.component-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 100px;
}

.ruo-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--surface-2);
  border-radius: 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 16px;
}
.ruo-stamp {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.01em;
}
[data-display="sans"] .ruo-stamp {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
}

/* ────────── FOOTER ────────── */
.footer {
  padding: 36px 24px 44px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.footer-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.015em;
  margin-bottom: 2px;
}
[data-display="sans"] .footer-brand {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-tag {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
}
[data-display="sans"] .footer-tag {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.6;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ════════════════════════════════════════════════════════════════
   DESKTOP LAYOUT (data-view="desktop")
   ════════════════════════════════════════════════════════════════ */

.app[data-view="desktop"] {
  font-size: 16px;
}

.app[data-view="desktop"] .topnav-inner {
  height: 72px;
  padding: 0 48px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.app[data-view="desktop"] .wordmark { font-size: 30px; }
[data-display="sans"] .app[data-view="desktop"] .wordmark { font-size: 19px; }
.app[data-view="desktop"] .topnav-end { font-size: 17px; }
[data-display="sans"] .app[data-view="desktop"] .topnav-end { font-size: 13px; }

.app[data-view="desktop"] .topnav-mid {
  display: flex;
  gap: 36px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-family: var(--font-body);
}
.app[data-view="desktop"] .topnav-mid a {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.app[data-view="desktop"] .topnav-mid a:hover { color: var(--accent); }

/* hero — split */
.app[data-view="desktop"] .hero {
  padding: 80px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
  min-height: 680px;
}
.app[data-view="desktop"] .hero-eyebrow { font-size: 22px; margin-bottom: 28px; }
[data-display="sans"] .app[data-view="desktop"] .hero-eyebrow { font-size: 12px; }

.app[data-view="desktop"] .hero-title {
  font-size: 116px;
  letter-spacing: -.025em;
  line-height: 0.92;
  margin-bottom: 32px;
}
[data-display="sans"] .app[data-view="desktop"] .hero-title {
  font-size: 84px;
  letter-spacing: -.03em;
}
.app[data-view="desktop"] .hero-lede {
  font-size: 18px;
  max-width: 48ch;
  margin-bottom: 40px;
}
.app[data-view="desktop"] .hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 0;
}
.app[data-view="desktop"] .hero-cta .btn {
  flex: 0 0 auto;
  min-width: 200px;
  height: 60px;
  padding: 0 32px;
  font-size: 15px;
}

.app[data-view="desktop"] .hero-stage {
  margin: 0;
  padding: 32px;
  height: 620px;
  background:
    radial-gradient(ellipse at 50% 60%, var(--accent-tint) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, var(--sage-tint) 0%, transparent 50%),
    var(--surface);
  border-radius: 40px;
  position: relative;
  align-items: center;
  justify-content: center;
  display: flex;
  overflow: hidden;
}
.app[data-view="desktop"] .hero-blob {
  width: 70%;
  height: 70%;
  inset: 15%;
  background:
    radial-gradient(ellipse at center, color-mix(in oklab, var(--accent) 22%, transparent) 0%, transparent 65%);
  filter: blur(20px);
}
.app[data-view="desktop"] .hero-vial {
  height: 500px;
  transform: translateY(0);
}

/* library on desktop */
.app[data-view="desktop"] .library {
  padding: 60px 48px 120px;
  max-width: 1400px;
  margin: 0 auto;
}
.app[data-view="desktop"] .library-head {
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.app[data-view="desktop"] .library-title { font-size: 80px; letter-spacing: -.025em; }
[data-display="sans"] .app[data-view="desktop"] .library-title { font-size: 56px; }
.app[data-view="desktop"] .library-subtitle { font-size: 16.5px; max-width: 48ch; }

/* filter bar */
.app[data-view="desktop"] .filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  padding: 0;
}
.app[data-view="desktop"] .searchwrap { padding: 0; margin: 0; }
.app[data-view="desktop"] .search { height: 52px; padding: 0 48px; font-size: 15px; }
.app[data-view="desktop"] .search-icon { left: 18px; }
.app[data-view="desktop"] .search-clear { right: 14px; }
.app[data-view="desktop"] .chips {
  padding: 0;
  overflow: visible;
  flex-wrap: wrap;
  gap: 10px;
}
.app[data-view="desktop"] .results-bar {
  padding: 0 0 20px;
  font-size: 13.5px;
}

/* 3-col grid */
.app[data-view="desktop"] .list {
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.app[data-view="desktop"] .card {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  padding: 28px;
  gap: 0;
  min-height: 360px;
  align-items: start;
  border-radius: 28px;
}
.app[data-view="desktop"] .card-vial {
  height: 200px;
  width: 100%;
  margin: 0 0 24px 0;
  object-fit: contain;
}
.app[data-view="desktop"] .card-body { grid-row: 2; }
.app[data-view="desktop"] .card-name { font-size: 30px; margin-bottom: 8px; line-height: 1.05; }
[data-display="sans"] .app[data-view="desktop"] .card-name { font-size: 22px; }
.app[data-view="desktop"] .card-cat { font-size: 14px; }
[data-display="sans"] .app[data-view="desktop"] .card-cat { font-size: 10.5px; }
.app[data-view="desktop"] .card-desc { font-size: 14px; -webkit-line-clamp: 3; }
.app[data-view="desktop"] .card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0;
  transition: opacity .25s;
}
.app[data-view="desktop"] .card:hover .card-arrow { opacity: 1; }

/* side panel */
.app[data-view="desktop"] .sheet {
  top: 0;
  bottom: 0;
  left: auto;
  right: 0;
  width: 580px;
  max-height: none;
  border-radius: 32px 0 0 32px;
  transform: translateX(100%);
}
.app[data-view="desktop"] .sheet.open { transform: translateX(0); }
.app[data-view="desktop"] .sheet-grabber { display: none; }
.app[data-view="desktop"] .sheet-hero {
  padding: 36px 48px 36px;
  background:
    radial-gradient(ellipse at 50% 100%, var(--accent-tint) 0%, transparent 70%),
    var(--bg);
}
.app[data-view="desktop"] .sheet-vial { height: 320px; }
.app[data-view="desktop"] .sheet-name { font-size: 60px; }
[data-display="sans"] .app[data-view="desktop"] .sheet-name { font-size: 42px; }
.app[data-view="desktop"] .sheet-body { padding: 40px 48px 56px; }
.app[data-view="desktop"] .sheet-section-head { font-size: 24px; }
[data-display="sans"] .app[data-view="desktop"] .sheet-section-head { font-size: 12px; }
.app[data-view="desktop"] .sheet-text { font-size: 16px; }

.app[data-view="desktop"] .footer {
  padding: 56px 48px 64px;
  margin: 100px auto 0;
  max-width: 1400px;
}
.app[data-view="desktop"] .footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.app[data-view="desktop"] .footer-brand { font-size: 40px; }
[data-display="sans"] .app[data-view="desktop"] .footer-brand { font-size: 18px; }
.app[data-view="desktop"] .footer-disclaimer {
  font-size: 12px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  text-align: right;
}
