:root {
  --bg: #f5f2e9;
  --ink: #101114;
  --muted: #45474c;
  --line: #10111424;
  --panel: #fffdf8;
  --accent: #0f766e;
  --accent-strong: #0b5a54;
  --warm: #d97706;
  --radius: 18px;
  --shadow: 0 16px 38px #10111419;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Sora', sans-serif;
  background: linear-gradient(180deg, #f5f2e9 0%, #f2efe6 100%);
  max-width: 100%;
  overflow-x: hidden;
}

body.page-enter-home {
  animation: pageEnterHomeFromLeft 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.page-exit-subpage {
  animation: pageExitToSubpage 320ms cubic-bezier(0.24, 0.64, 0.22, 1) forwards;
  pointer-events: none;
}

@keyframes pageEnterHomeFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pageExitToSubpage {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-24px);
  }
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}

.orb-a {
  width: 360px;
  height: 360px;
  left: -80px;
  top: 80px;
  background: #99f6e4;
  opacity: 0.22;
}

.orb-b {
  width: 320px;
  height: 320px;
  right: 4%;
  top: -90px;
  background: #fcd34d;
  opacity: 0.18;
}

.orb-c {
  width: 300px;
  height: 300px;
  right: -70px;
  bottom: 10%;
  background: #fb7185;
  opacity: 0.14;
}

.avatar-container {
  position: fixed;
  inset: 0;
  z-index: 34;
  pointer-events: none;
}

.avatar-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-status {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 46;
  margin: 0;
  max-width: min(380px, 86vw);
  border: 1px solid #10111429;
  border-radius: 12px;
  background: #fff8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 0.7rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #20242b;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.avatar-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.avatar-status.error {
  border-color: #b91c1c4a;
  color: #7f1d1d;
}

.site-header,
.shell,
.site-footer {
  width: min(1160px, 92vw);
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  background: #f5f2e9d9;
  backdrop-filter: blur(8px);
}

.brand {
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-size: 1.36rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.38rem 0.7rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 1.2rem;
  align-items: end;
  padding: clamp(4.2rem, 10vw, 7.4rem) 0 2.6rem;
  border-bottom: 1px solid var(--line);
}

.kicker {
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 0.65rem;
  font-size: clamp(2.9rem, 10vw, 7.3rem);
  line-height: 0.98;
  max-width: 8.8ch;
}

.hero-sub {
  margin-top: 0.7rem;
  font-size: clamp(1.18rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-copy {
  margin-top: 0.95rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.85vw, 1.14rem);
  line-height: 1.65;
}

.intro-hover-zone {
  position: relative;
  display: inline-block;
  max-width: 63ch;
  cursor: pointer;
}

.about-card {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: min(540px, calc(100vw - 24px));
  border: 1px solid #ffffff58;
  border-radius: 15px;
  background: #fffdf8ad;
  backdrop-filter: blur(15px) saturate(135%);
  -webkit-backdrop-filter: blur(15px) saturate(135%);
  box-shadow: 0 16px 44px #1011141f;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--about-x, -999px), var(--about-y, -999px), 0) scale(0.96);
  transform-origin: top left;
  transition: opacity 220ms ease, transform 220ms ease;
}

.about-card.visible {
  opacity: 1;
  transform: translate3d(var(--about-x, -999px), var(--about-y, -999px), 0) scale(1);
}

.about-photo-wrap {
  position: relative;
  width: 138px;
  height: 162px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid #ffffff66;
  background: linear-gradient(145deg, #e9f2ef 0%, #f8f4ea 100%);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.about-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: #0b5a54;
}

.about-photo-wrap.photo-missing .about-photo {
  display: none;
}

.about-photo-wrap.photo-missing .about-photo-fallback {
  display: flex;
}

.about-body h3 {
  font-size: 1.2rem;
}

.about-body p {
  margin-top: 0.44rem;
  color: #202226;
  font-size: 0.88rem;
  line-height: 1.5;
}

.about-story .age-clause {
  white-space: nowrap;
}

.about-story .age-live {
  display: inline-block;
  min-width: 14ch;
  text-align: right;
  white-space: nowrap;
  color: #0b5a54;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.site-companion-canvas {
  position: fixed;
  inset: 0;
  z-index: 35;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.site-companion {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 45;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: grab;
  user-select: none;
  touch-action: none;
  outline: none;
  transform-origin: var(--grab-x, 50%) var(--grab-y, 72%);
  will-change: transform;
}

.site-companion.is-grabbed {
  cursor: grabbing;
}

.site-companion__sprite {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 10px rgba(16, 21, 30, 0.22));
  clip-path: polygon(
    34% 0%,
    24% 4%,
    17% 11%,
    12% 20%,
    10% 33%,
    10% 48%,
    12% 62%,
    15% 75%,
    18% 87%,
    20% 100%,
    79% 100%,
    82% 87%,
    85% 75%,
    88% 62%,
    90% 48%,
    90% 33%,
    88% 20%,
    83% 11%,
    76% 4%,
    66% 0%
  );
}

.site-companion__arms {
  position: absolute;
  left: 27%;
  top: 45%;
  width: 46%;
  height: 13%;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 180ms ease;
  pointer-events: none;
}

.site-companion__arms::before,
.site-companion__arms::after {
  content: '';
  position: absolute;
  top: 34%;
  width: 56%;
  height: 28%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8fb3dd, #b9d4f2);
  border: 1px solid #6f94c2;
}

.site-companion__arms::before {
  left: -1%;
  transform: rotate(16deg);
}

.site-companion__arms::after {
  right: -1%;
  transform: rotate(-16deg);
}

.site-companion.is-angry .site-companion__arms {
  opacity: 1;
  transform: translateY(0);
}

.site-companion__mood {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%) scale(0.8);
  min-width: 28px;
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 24, 31, 0.16);
  color: #202734;
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  transition: opacity 160ms ease, transform 180ms ease;
  pointer-events: none;
}

.site-companion.has-mood .site-companion__mood {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.button {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-ghost {
  border: 1px solid var(--line);
  background: #ffffffb0;
}

.assistant-hub {
  position: fixed;
  left: 50%;
  top: clamp(84px, 15vh, 150px);
  transform: translateX(-50%);
  z-index: 62;
}

.button-talk {
  border: 1px solid #0b5a5449;
  background: #ffffffde;
  color: #0b5a54;
  box-shadow: 0 8px 24px #1011141a;
}

.button-talk-pulse {
  position: relative;
  font-size: 0.73rem;
}

.button-talk-pulse::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid #0b5a5446;
  border-radius: 999px;
  animation: ai-pulse 1.9s ease-out infinite;
  pointer-events: none;
}

@keyframes ai-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.button-talk[aria-expanded='true'] {
  border-color: #0b5a5482;
  background: #e8f7f2;
  color: var(--accent-strong);
}

.button-talk[aria-expanded='true']::before {
  animation-play-state: paused;
  opacity: 0;
}

.assistant-dock {
  position: absolute;
  left: calc(100% + 12px);
  top: -8px;
  z-index: 63;
  width: min(340px, 72vw);
  max-height: min(62vh, 560px);
  border: 1px solid #1011142e;
  border-radius: 14px;
  background: #fffdf8e8;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px #10111424;
  padding: 0.72rem;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0.6rem;
}

.assistant-dock__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.assistant-dock__kicker {
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-dock__close {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
}

.assistant-dock__messages {
  min-height: 150px;
  max-height: min(34vh, 310px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.58rem;
  display: grid;
  align-content: start;
  gap: 0.48rem;
}

.assistant-msg {
  max-width: 92%;
  border-radius: 10px;
  padding: 0.46rem 0.56rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.assistant-msg p {
  margin: 0;
}

.assistant-msg--assistant {
  justify-self: start;
  background: #edf5f3;
  border: 1px solid #0b5a5429;
}

.assistant-msg--user {
  justify-self: end;
  background: #111218;
  color: #fff;
  border: 1px solid #111218;
}

.assistant-dock__controls {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  flex-wrap: wrap;
}

.assistant-dock__controls .filter-chip {
  white-space: nowrap;
}

.assistant-dock__volume {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assistant-dock__volume input[type='range'] {
  width: 80px;
}

.assistant-dock__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.assistant-dock__input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  padding: 0.5rem 0.58rem;
}

.assistant-dock__input:focus {
  outline: 2px solid #0b5a543a;
  outline-offset: 1px;
}

.assistant-dock__send {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.72rem;
}

.assistant-dock__send:disabled {
  opacity: 0.7;
  cursor: progress;
}

.assistant-speech-bubble {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 58;
  max-width: min(360px, 62vw);
  border: 1px solid #10111436;
  border-radius: 13px;
  background: #fffdf8e8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px #10111424;
  padding: 0.5rem 0.62rem;
  color: #1b1d22;
  font-size: 0.83rem;
  line-height: 1.45;
  pointer-events: none;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 140ms ease;
  opacity: 0;
}

.assistant-speech-bubble.visible {
  opacity: 1;
}

.intro-points {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.intro-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.34rem 0.58rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.panel-label {
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.58rem;
}

.highlight-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.65rem 0.72rem;
}

.highlight-item strong {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.highlight-item span {
  display: block;
  margin-top: 0.32rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.signal-band {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
}

.signal-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  min-width: 100%;
  animation: signal-scroll 22s linear infinite;
}

.signal-track span {
  position: relative;
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-track span::after {
  content: '\00b7';
  margin-left: 1.4rem;
  color: var(--accent-strong);
}

@keyframes signal-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(2.6rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  max-width: 100%;
  min-width: 0;
}

.section-head {
  margin-bottom: 1.2rem;
}

h2 {
  margin-top: 0.45rem;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1;
}

.title-note {
  margin-left: 0.5rem;
  color: var(--muted);
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.78rem, 1.2vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: middle;
  opacity: 0.82;
}

.section-lead {
  margin-top: 0.62rem;
  max-width: 65ch;
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 100%;
  min-width: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.library-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.library-grid--placards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.library-placard-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 0.82rem;
  min-width: 0;
}

.library-placard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.library-placard-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.library-placard-nav {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.96rem;
  line-height: 1;
}

.library-placard-nav:hover {
  border-color: #0b5a544a;
  color: var(--accent-strong);
}

.library-placard-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.library-placard-count {
  min-width: 3.8rem;
  text-align: center;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.library-placard-stage {
  position: relative;
  margin-top: 0.28rem;
  aspect-ratio: 5 / 6;
  min-height: 360px;
  overflow: hidden;
  border-radius: 13px;
}

.library-placard-backstack {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.library-placard-back {
  position: absolute;
  inset: 0;
  border: 1px solid #d8d4c9;
  border-radius: 13px;
  background: linear-gradient(180deg, #fdfbf6 0%, #f3efe5 100%);
  box-shadow: 0 10px 20px #10111414;
  padding: 0.8rem 0.9rem;
  display: flex;
  align-items: flex-start;
}

.library-placard-back--one {
  transform: translate(4%, 4%) scale(0.94);
  transform-origin: top left;
}

.library-placard-back--two {
  transform: translate(8%, 8%) scale(0.88);
  transform-origin: top left;
  opacity: 0.84;
}

.library-placard-back h4 {
  margin: 0;
  font-size: 0.86rem;
  color: #262932;
  line-height: 1.35;
}

.library-placard-viewport {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 13px;
  touch-action: pan-y;
  cursor: grab;
}

.library-placard-viewport:active {
  cursor: grabbing;
}

.library-placard-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.library-placard-slide {
  min-width: 100%;
  height: 100%;
}

.library-placard-card {
  height: 100%;
  box-shadow: 0 12px 24px #10111416;
  background: linear-gradient(180deg, #fff 0%, #fbf9f3 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.library-placard-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.library-placard-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.library-placard-card .media-note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.library-placard-card .tag-row {
  margin-top: auto;
}

.library-placard-card--listen h3 {
  -webkit-line-clamp: 2;
}

.library-placard-card--listen .media-note {
  -webkit-line-clamp: 2;
}

.library-spotify-inline {
  margin-top: 0.58rem;
  color: #1f2937;
}

.library-spotify-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.36rem;
}

.library-spotify-pill {
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #f4ede2;
  border: 1px solid #e4d5bc;
  border-radius: 999px;
  padding: 0.18rem 0.44rem;
  color: #7b4b16;
}

.library-spotify-open {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6d4a1f;
  text-decoration: none;
  border-bottom: 1px solid #6d4a1f;
}

.library-spotify-open:hover {
  opacity: 0.82;
}

.library-spotify-embed {
  margin-top: 0;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #e6decd;
  background: linear-gradient(180deg, #fffdf9 0%, #f8f3e8 100%);
  box-shadow: 0 6px 16px #10111410;
}

.library-spotify-embed iframe {
  min-height: 152px;
}

.project-card,
.skill-card,
.now-card,
.blog-card,
.media-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1rem;
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
}

.project-card--interactive {
  cursor: pointer;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.project-card--interactive:hover {
  transform: translateY(-2px);
  border-color: #0b5a5452;
  box-shadow: 0 20px 36px #10111423;
}

.project-card--interactive:focus-visible {
  outline: 2px solid #0b5a5480;
  outline-offset: 2px;
  border-color: #0b5a546e;
}

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  min-width: 0;
  flex-wrap: wrap;
}

.project-head h3 {
  font-size: 1.34rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.project-impact {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
}

.project-summary,
.skill-card p,
.now-focus,
.blog-summary,
.media-note,
.stat-description {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.stats-analytics {
  margin-top: 1rem;
}

.stats-analytics-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stats-analytics-head h3 {
  font-size: 1.2rem;
}

.stats-analytics-head p {
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.93rem;
}

.stats-analytics-controls {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stats-range-controls {
  margin-top: 0.46rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stats-controls-label {
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 0.28rem 0.62rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 160ms ease;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: #0b5a5450;
  color: var(--accent-strong);
  background: #e8f7f2;
}

.stats-poll-panel {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stats-poll-body {
  margin-top: 0.7rem;
}

.stats-poll-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stats-poll-actions .filter-chip:disabled {
  opacity: 0.72;
  cursor: default;
}

.stats-poll-summary {
  margin-top: 0.72rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.stats-poll-chart {
  margin-top: 0.8rem;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 8px #f7f4ef;
}

.stats-poll-legend {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.75rem;
}

.stats-poll-legend-row {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.stats-poll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stats-poll-label {
  font-size: 0.81rem;
  color: var(--ink);
  line-height: 1.25;
}

.usage-chart-wrap {
  margin-top: 0.92rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem 0.55rem 0.2rem;
  background: #fff;
  overflow-x: auto;
}

.usage-chart-wrap svg {
  width: 100%;
  min-width: 700px;
  height: auto;
  display: block;
}

.usage-grid-line {
  stroke: #e6e2d9;
  stroke-width: 1;
}

.usage-grid-vert {
  stroke: #f0ece4;
  stroke-width: 1;
}

.usage-line {
  stroke: var(--line-color);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
}

.usage-point {
  fill: var(--line-color);
}

.usage-axis-label {
  fill: #7f817d;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.usage-series-total {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.usage-chart-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.usage-summary-grid {
  margin-top: 0.78rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.usage-summary-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.62rem 0.68rem;
}

.usage-summary-top {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    'dot name'
    'dot category';
  column-gap: 0.45rem;
  align-items: center;
}

.usage-dot {
  grid-area: dot;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.usage-summary-top h4 {
  grid-area: name;
  font-size: 0.92rem;
  line-height: 1.2;
}

.usage-summary-category {
  grid-area: category;
  margin-top: 0.1rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.usage-summary-value {
  margin-top: 0.48rem;
  font-family: 'Fraunces', serif;
  font-size: 1.12rem;
  line-height: 1.15;
}

.work-sources {
  margin-top: 0.85rem;
}

.work-sources-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.work-sources-links {
  margin-top: 0.48rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.work-source-link {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.36rem 0.66rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.work-source-link:hover {
  border-color: #0b5a5450;
  color: var(--accent-strong);
}

.work-source-empty {
  color: var(--muted);
  font-size: 0.84rem;
}

.tag-row {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.2rem 0.48rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.project-details {
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.project-details > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.project-details > summary::-webkit-details-marker {
  display: none;
}

.project-details > summary::after {
  content: '\2198';
  transition: transform 220ms ease;
}

.project-details[open] > summary::after {
  transform: rotate(45deg);
}

.project-details--link > summary::after {
  content: '\2197';
}

.detail-stack {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.38rem;
}

.detail-line {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.46;
}

.project-link {
  margin-top: 0.82rem;
  display: inline-block;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.project-card-click-hint {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  border: 1px solid #10111429;
  border-radius: 999px;
  background: #fffcf4eb;
  color: #565a61;
  padding: 0.13rem 0.42rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.project-card-click-hint::after {
  content: '\2197';
}

.creative-archive-card {
  position: relative;
  overflow: hidden;
}

.creative-archive-stage {
  position: relative;
  margin-top: 0.78rem;
  min-height: 220px;
  border: 1px solid #10111420;
  border-radius: 14px;
  background: linear-gradient(160deg, #f8f4e8 0%, #efe9dc 100%);
  box-shadow: inset 0 1px 0 #ffffffd4;
  overflow: hidden;
}

.creative-archive-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, #0b5a540f 0 26%, #0000 27%),
    radial-gradient(circle at 72% 68%, #0b5a540d 0 23%, #0000 24%),
    linear-gradient(125deg, #0000 0%, #fff6 100%);
  pointer-events: none;
}

.creative-archive-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  max-width: 160px;
  border: 1px solid #1011142c;
  border-radius: 999px;
  background: #fffffff1;
  padding: 0.25rem 0.58rem;
  text-decoration: none;
  color: #262932;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.61rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 5px 14px #10111418;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
  z-index: 2;
}

.creative-archive-chip:hover {
  transform: translate(-50%, -50%) translateY(-2px);
  border-color: #0b5a5460;
  color: #0b5a54;
  background: #f6fffc;
}

.creative-archive-chip.is-featured {
  border-color: #0b5a5445;
  background: #ebf8f3f2;
}

.creative-archive-legend {
  margin-top: 0.64rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.project-photo-ticker {
  margin-top: 0.88rem;
  border: 1px solid #10111420;
  border-radius: 14px;
  background: linear-gradient(160deg, #f8f4e7 0%, #ebe4d3 100%);
  box-shadow: inset 0 1px 0 #ffffffe6, 0 10px 22px #10111414;
  padding: 0.62rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.project-photo-ticker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.42rem;
}

.project-photo-ticker__label,
.project-photo-ticker__status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #575b63;
}

.project-photo-ticker__status {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid #10111426;
  background: #ffffffb8;
}

.project-photo-ticker__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.project-photo-ticker__viewport::before,
.project-photo-ticker__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26px;
  z-index: 2;
  pointer-events: none;
}

.project-photo-ticker__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #f7f4ea 0%, #f7f4ea00 100%);
}

.project-photo-ticker__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #f1ede1 0%, #f1ede100 100%);
}

.project-photo-ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: photoTicker 36s linear infinite;
}

.project-photo-ticker:hover .project-photo-ticker__track {
  animation-play-state: paused;
}

.project-photo-ticker__tile {
  width: var(--tile-width, 108px);
  height: 72px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: #e9e0ce;
  box-shadow: none;
  flex: 0 0 auto;
  transform: translateY(var(--tile-shift, 0));
}

.project-photo-ticker__tile--wide {
  --tile-width: 136px;
}

.project-photo-ticker__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(1.02);
  transition: filter 180ms ease, transform 180ms ease;
}

.project-photo-ticker:hover .project-photo-ticker__tile img {
  filter: saturate(1) contrast(1.06);
}

.project-photo-ticker__tile--placeholder {
  position: relative;
  background: linear-gradient(120deg, #f5efe2 0%, #ece5d6 50%, #f5efe2 100%);
  background-size: 220% 100%;
  animation: photoTickerGhost 1.9s ease-in-out infinite;
}

.project-photo-ticker__tile--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff26 0%, #ffffff00 100%);
}

@keyframes photoTicker {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes photoTickerGhost {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-photo-ticker__track {
    animation: none;
  }

  .project-photo-ticker__tile {
    transform: none;
  }

  .project-photo-ticker__tile--placeholder {
    animation: none;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.skill-card h3 {
  font-size: 1.22rem;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.now-card h3 {
  font-size: 1.18rem;
}

.blog-card h3,
.media-card h3,
.stat-card h3 {
  font-size: 1.2rem;
}

.blog-meta,
.media-type,
.stat-mode,
.media-creator {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.blog-meta,
.media-type,
.stat-mode {
  margin-bottom: 0.58rem;
}

.media-creator {
  margin-top: 0.35rem;
}

.media-note {
  margin-top: 0.45rem;
}

.media-embed {
  margin-top: 0.7rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.media-embed iframe {
  width: 100%;
  min-height: 152px;
  border: 0;
  display: block;
}

.stat-value {
  margin-top: 0.22rem;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.now-status {
  margin-top: 0.56rem;
  display: inline-flex;
  border: 1px solid #0b5a542d;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  background: #e6f7f2;
  color: var(--accent-strong);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.45rem 0.74rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.site-footer {
  padding: 1.6rem 0 2.8rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
}

body.subpage-overlay-open {
  position: fixed;
  overflow: hidden;
  width: 100%;
}

.subpage-overlay {
  position: fixed;
  inset: 0;
  z-index: 96;
  padding: 1rem;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.subpage-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.subpage-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: #f5f2e9c7;
  backdrop-filter: blur(3px);
}

.subpage-overlay__panel {
  position: relative;
  width: min(1220px, 96vw);
  height: min(92vh, 980px);
  border: 1px solid #1011142e;
  border-radius: 18px;
  overflow: hidden;
  background: #fffdf8;
  box-shadow: 0 18px 44px #10111433;
  display: flex;
  flex-direction: column;
  transform: translateY(10px) scale(0.992);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.subpage-overlay.open .subpage-overlay__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.subpage-overlay__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.58rem 0.72rem;
  border-bottom: 1px solid #1011141f;
  background: #fffdf8eb;
  backdrop-filter: blur(4px);
}

.subpage-overlay__back,
.subpage-overlay__open {
  border: 1px solid #1011142f;
  border-radius: 999px;
  background: #fff;
  color: #272b31;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.34rem 0.62rem;
  text-decoration: none;
  cursor: pointer;
}

.subpage-overlay__back:hover,
.subpage-overlay__open:hover {
  border-color: #0b5a545c;
  color: #0b5a54;
  background: #f3fffa;
}

.subpage-overlay__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fffdf8;
}

.reveal {
  --reveal-progress: 0;
  opacity: calc(0.08 + (var(--reveal-progress) * 0.92));
  transform: translateY(calc((1 - var(--reveal-progress)) * 18px));
  filter: saturate(calc(0.88 + (var(--reveal-progress) * 0.12)));
  transition: opacity 240ms linear, transform 240ms ease-out, filter 240ms ease-out;
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: calc(0.08 + (var(--reveal-progress) * 0.92));
  transform: translateY(calc((1 - var(--reveal-progress)) * 18px));
}

@media (prefers-reduced-motion: reduce) {
  body.page-enter-home {
    animation: none;
  }

  body.page-exit-subpage {
    animation: none;
  }

  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .site-companion-canvas {
    display: none;
  }

  .site-companion {
    display: none;
  }
}

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

  .project-grid,
  .blog-grid,
  .library-grid,
  .stats-grid,
  .skills-grid,
  .now-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usage-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-grid--placards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-poll-legend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .shell,
  .site-footer {
    width: min(100%, calc(100vw - 1.25rem));
  }

  .site-header {
    flex-wrap: wrap;
    padding-bottom: 0.72rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    border-top: 1px solid var(--line);
    padding-top: 0.62rem;
    gap: 0.75rem;
    overflow-x: auto;
  }

  .site-nav.open {
    display: flex;
  }

  .project-grid,
  .blog-grid,
  .library-grid,
  .stats-grid,
  .skills-grid,
  .now-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .project-card,
  .skill-card,
  .now-card,
  .blog-card,
  .media-card,
  .stat-card {
    overflow: hidden;
  }

  .project-impact,
  .project-link,
  .project-details summary {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .usage-summary-grid {
    grid-template-columns: 1fr;
  }

  .library-grid--placards {
    grid-template-columns: 1fr;
  }

  .library-placard-head {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .creative-archive-stage {
    min-height: 190px;
  }

  .creative-archive-chip {
    max-width: 130px;
    font-size: 0.56rem;
  }

  .stats-poll-chart {
    width: 150px;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4.4rem);
  }

  .about-card {
    width: min(92vw, 420px);
    padding: 0.78rem 0.84rem;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .about-photo-wrap {
    width: 108px;
    height: 132px;
  }

  .assistant-hub {
    top: 82px;
  }

  .subpage-overlay {
    padding: 0.45rem;
  }

  .subpage-overlay__panel {
    width: 100%;
    height: 94vh;
    border-radius: 14px;
  }

  .assistant-dock {
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: min(94vw, 360px);
    max-height: min(66vh, 560px);
  }

  .assistant-dock__messages {
    min-height: 150px;
    max-height: min(36vh, 300px);
  }

  .assistant-speech-bubble {
    max-width: calc(100vw - 28px);
  }
}
