:root {
  --bg: #F3EDE0;
  --ink: #1E2A2A;
  --teal: #0F6B63;
  --mustard: #E0A82E;
  --soft: #D6E6E0;
  --white: #FFFFFF;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-bottom: 3px solid var(--ink);
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--teal); }
nav { display: flex; gap: 24px; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
nav a:hover { color: var(--teal); }
/* longer site name: put the menu under it on narrow screens */
@media (max-width: 600px) {
  header { flex-wrap: wrap; row-gap: 10px; padding: 22px 0 18px; }
  nav { gap: 20px; }
}

/* hero */
.hero { padding: 96px 0 88px; }
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hl {
  background: var(--mustard);
  padding: 0 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero .sub {
  margin: 28px 0 0;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--teal);
  font-weight: 500;
}

/* section headings */
h2 {
  display: inline-block;
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  border-bottom: 6px solid var(--mustard);
}
section { padding-bottom: 80px; }

/* project card */
.card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover,
.card:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--ink);
  outline: none;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--soft);
  border-bottom: 3px solid var(--ink);
  padding: 16px 22px;
}
.card-top h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}
.arrow {
  font-size: 28px;
  font-weight: 700;
  transition: transform .15s ease;
}
.card:hover .arrow { transform: translateX(5px); }
.card-body { padding: 22px; }
.card-body p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
}
.stat {
  margin-top: 12px;
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
}
.stat span {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
.shot {
  aspect-ratio: 16 / 9;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 10px;
}
.card .shot {
  margin-top: 20px;
  background: var(--bg);
  border-width: 2px;
  border-radius: 8px;
}

/* body copy on project pages */
.body-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

/* homepage card: three phones fanned on mustard */
.phones {
  position: relative;
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
}
.mock {
  position: absolute;
  background: #111;
  border: 3px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(30,42,42,0.35);
}
.mock img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.fan-left   { width: 24%; height: 110%; left: 12%; top: 20%; transform: rotate(-10deg); }
.fan-right  { width: 24%; height: 110%; left: 63%; top: 20%; transform: rotate(10deg); }
.fan-center { width: 26%; height: 118%; left: 37%; top: 8%; z-index: 2; }
.fan-left, .fan-right { transition: transform .25s ease; }
.card:hover .fan-left  { transform: rotate(-13deg) translateX(-4%); }
.card:hover .fan-right { transform: rotate(13deg) translateX(4%); }
.mock-screen { position: absolute; inset: 0; }
.swipe-ph { background: #3E5C76; }
.ph-fade { position: absolute; inset: 0; background: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 30%, transparent 55%); }
.ph-name { position: absolute; left: 10%; bottom: 32%; width: 48%; height: 3.5%; background: #fff; border-radius: 4px; }
.ph-btns { position: absolute; left: 0; right: 0; bottom: 20%; display: flex; justify-content: center; gap: 14%; }
.ph-btns i { width: 20%; aspect-ratio: 1; border-radius: 50%; background: #333; display: block; }
.ph-btns i.h { background: #fd3b6a; }
.match-ph {
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 30%;
  gap: 6%;
}
.ph-title { font-family: 'Inter', system-ui, sans-serif; font-weight: 800; font-style: italic; color: #fd3b6a; font-size: clamp(9px, 1.5vw, 14px); white-space: nowrap; }
.ph-pair { display: flex; width: 60%; justify-content: center; }
.ph-pair i { width: 44%; aspect-ratio: 1; border-radius: 50%; background: #555; border: 2px solid #fff; display: block; }
.ph-pair i.them { background: #6B4E71; margin-left: -10%; }
.ph-cta { width: 60%; height: 4%; border-radius: 999px; background: #fd3b6a; }
.chat-ph {
  background: #F4F4F4;
  padding: 18% 9%;
  display: flex;
  flex-direction: column;
  gap: 5%;
}
.chat-ph i { display: block; height: 5%; border-radius: 999px; }
.chat-ph .b-them { align-self: flex-start; width: 72%; background: #fff; border: 1px solid #ddd; }
.chat-ph .b-me { align-self: flex-end; width: 62%; background: #fd3b6a; }
.chat-ph .short { width: 46%; }

/* stacked project cards */
.card + .card { margin-top: 28px; }

/* homepage card: browser window on teal */
.browser-stage {
  position: relative;
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  background: var(--teal);
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
}
.browser {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 12%;
  bottom: -6%;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(30,42,42,0.35);
  transition: transform .25s ease;
}
.card:hover .browser { transform: translateY(-3%); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 11%;
  padding: 0 3%;
  background: var(--soft);
  border-bottom: 3px solid var(--ink);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); display: block; }
.browser-bar span { margin-left: 3%; flex: 1; height: 40%; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; }
.browser-screen { position: absolute; top: 11%; left: 0; right: 0; bottom: 0; }
.browser-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.quiz-ph { padding: 6% 12%; display: flex; flex-direction: column; gap: 5%; }
.q-line { height: 6%; width: 80%; background: var(--ink); border-radius: 4px; }
.q-line.short { width: 50%; margin-bottom: 3%; }
.q-opt { height: 10%; border: 2px solid var(--ink); border-radius: 8px; background: var(--bg); }
.q-opt.picked { background: var(--mustard); }

/* placeholders: readable, just marked as not-final */
.placeholder {
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.7;
}

/* about */
.about-text { max-width: 680px; margin: 0; font-size: 20px !important; line-height: 1.6 !important; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.fact {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
}
.fact b { display: block; font-size: 26px; font-weight: 700; color: var(--teal); line-height: 1.1; }
.fact span { display: block; margin-top: 6px; font-size: 16px; }

/* footer */
.contact-email {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 500;
  user-select: all;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 3px solid var(--ink);
  padding: 36px 0 56px;
}
footer h2 { margin: 0; border: none; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  cursor: pointer;
}
.btn.primary { background: var(--teal); color: var(--bg); }

/* ---------- project page ---------- */
.back {
  display: inline-block;
  margin-top: 40px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.back:hover { color: var(--teal); }
.project-head { padding: 28px 0 32px; }
.project-head h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.project-head p {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.6;
  max-width: 640px;
}
.status {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 16px !important;
  padding: 6px 12px;
  background: var(--soft);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.3 !important;
}
.proj-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.proj-meta .status { margin-top: 0 !important; }
.code-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.code-link:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--mustard); }
/* demo video: portrait screen recording centered on a soft panel */
.demo {
  margin: 0;
  padding: 28px 20px 18px;
  background: var(--soft);
  border: 3px solid var(--ink);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.demo video {
  display: block;
  max-width: 100%;
  max-height: 560px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 6px 6px 0 var(--ink);
}
.demo figcaption {
  font-size: 14px;
  color: var(--teal);
  font-weight: 500;
  text-align: center;
}

.video {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

/* alternating text + screenshot rows */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
  margin-top: 72px;
}
.row > * { flex: 1 1 320px; min-width: 0; }
.row.flip { flex-direction: row-reverse; }
.row h2 { margin-bottom: 16px; }
.row .shot { aspect-ratio: 4 / 3; }
.big-num {
  margin-top: 16px;
  font-size: 44px;
  font-weight: 700;
  color: var(--teal);
}
.big-num span { font-size: 19px; font-weight: 500; color: var(--ink); }

.lead { color: var(--teal); }

/* build notes */
.notes {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  line-height: 1.55;
}
.notes b { color: var(--teal); }

/* tools used */
.tools {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 16px;
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 2px dashed var(--ink);
  font-size: 16px;
  line-height: 1.9;
}
.tools dt {
  font-weight: 700;
  color: var(--teal);
}
.tools dd { margin: 0; }

.change {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 3px dashed var(--ink);
}
.change h2 { margin-bottom: 16px; }

/* try the swipe — mirrors the StarkSwipe swipe screen */
.try {
  margin: 72px 0 80px;
  background: var(--soft);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
}
.try h2 { margin-bottom: 8px; }
.try .note { margin: 0 0 22px; font-size: 17px; }

.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  height: 560px;
  margin: 0 auto;
  background: #111;
  border: 3px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}
.screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 58px;
  display: none;
}
.screen.show { display: block; }
.screen.light {
  background: #F4F4F4;
  color: #111;
  overflow-y: auto;
  padding: 16px 16px 20px;
}
.deck { position: absolute; inset: 0; }
.scard {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
  cursor: grab;
  will-change: transform;
}
.scard:active { cursor: grabbing; }
.photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo span {
  font-size: 150px;
  font-weight: 800;
  color: rgba(255,255,255,0.18);
}
.fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 28%, rgba(0,0,0,0.35) 50%, transparent 68%);
}
.info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 96px;
  color: #fff;
}
.nm { font-size: 28px; font-weight: 800; }
.nm span { font-weight: 500; }
.bio { margin-top: 4px; font-size: 15px; color: rgba(255,255,255,0.85); }

.stamp {
  position: absolute;
  top: 48px;
  z-index: 20;
  width: 96px;
  height: 96px;
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .4s ease;
}
.stamp svg { width: 100%; height: 100%; }
.stamp-like { left: 18px; transform: rotate(-20deg) scale(0.4); }
.stamp-like svg { fill: #fd3b6a; filter: drop-shadow(0 4px 16px rgba(253,59,106,0.7)); }
.stamp-nope { right: 18px; transform: scale(0.4); }
.stamp-nope svg { fill: #fff; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5)); }
.stamp-like.show { opacity: 1; transform: rotate(-20deg) scale(1); }
.stamp-nope.show { opacity: 1; transform: scale(1); }

.actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 25;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.act {
  position: relative;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: rgba(40,40,40,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform .15s ease;
}
.act:active { transform: scale(0.92); }
.act .fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease;
}
.act-like .fill { background: #fd3b6a; }
.act-nope .fill { background: #fff; }
.act svg {
  position: relative;
  width: 26px;
  height: 26px;
  transition: fill .3s ease;
}
.act-like svg { fill: #fd3b6a; }
.act-nope svg { fill: #fff; }
.act.flash .fill { opacity: 1; transition: none; }
.act-like.flash svg, .act-like.active svg { fill: #fff; }
.act-nope.flash svg, .act-nope.active svg { fill: #111; }

.empty, .matched {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.empty { z-index: 10; }
.empty p { margin: 0; font-size: 20px; font-weight: 700; }
.empty.show, .matched.show { opacity: 1; pointer-events: auto; }
.matched { background: rgba(0,0,0,0.88); padding: 24px; z-index: 38; }
.matched-title {
  font-size: 36px;
  font-weight: 800;
  font-style: italic;
  color: #fd3b6a;
}
.matched-pair { display: flex; }
.bubble {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.bubble.you { background: #333; font-size: 18px; }
.bubble.them { margin-left: -14px; }
.matched-text { margin: 0; font-size: 16px; color: rgba(255,255,255,0.85); }
.pill {
  min-height: 46px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  background: #fd3b6a;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}


.text-btn {
  border: none;
  background: none;
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

/* mini chat inside the phone */
.chat {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.chat.show { transform: translateX(0); }
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e5e5;
}
.chat-back {
  border: none;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: #fd3b6a;
  cursor: pointer;
  padding: 0 6px 4px 0;
  min-width: 32px;
  min-height: 36px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}
.chat-name { font-size: 17px; font-weight: 700; }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F4F4F4;
}
.chat-hint {
  margin: auto 0;
  text-align: center;
  font-size: 15px;
  color: #555;
}
.msg {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.4;
  word-wrap: break-word;
}
.msg.mine { align-self: flex-end; background: #fd3b6a; color: #fff; border-bottom-right-radius: 6px; }
.msg.theirs { align-self: flex-start; background: #fff; color: #111; border: 1px solid #e2e2e2; border-bottom-left-radius: 6px; }
.seen { align-self: flex-end; margin-top: -4px; font-size: 12px; color: #666; }
.typing { display: flex; gap: 4px; padding: 12px 14px; }
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #999;
  animation: blink 1s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}
.chat-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  outline: none;
}
.chat-input input:focus { border-color: #fd3b6a; }
.chat-input button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: none;
  border-radius: 50%;
  background: #fd3b6a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.chat-input svg { width: 20px; height: 20px; fill: #fff; }


/* tabs */
.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  z-index: 35;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}
.tab {
  position: relative;
  width: 52px;
  height: 46px;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tab svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #9a9a9a;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.tab.active svg { stroke: #fd3b6a; }
.badge {
  position: absolute;
  top: 4px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fd3b6a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
}
.tab-title {
  font-size: 26px;
  font-weight: 800;
  color: #6b0f1a;
}
.tab-sub { margin: 4px 0 14px; font-size: 15px; color: #444; }
.section-label { margin: 16px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b0f1a; }
.muted { margin: 0; font-size: 14px; color: #555; }

/* likes */
.likes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.like-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e2e2e2; }
.like-photo {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.like-photo > span { font-size: 64px; font-weight: 800; color: rgba(255,255,255,0.22); }
.like-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.like-name b { font-weight: 500; }
.like-actions { display: flex; justify-content: space-around; padding: 8px; }
.mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2e2e2;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.mini.nope { color: #333; }
.mini.like { color: #fd3b6a; }

/* chat list */
.new-matches { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.nm-bubble {
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
}
.nm-bubble span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #fd3b6a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.msg-list { background: #fff; border-radius: 14px; border: 1px solid #e2e2e2; overflow: hidden; }
.msg-list .muted { padding: 14px; }
.msg-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: none;
  border-bottom: 1px solid #eee;
  background: #fff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.msg-row:last-child { border-bottom: none; }
.row-av {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}
.row-text { min-width: 0; display: flex; flex-direction: column; font-size: 15px; color: #111; }
.row-text span { font-size: 14px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* profile */
.screen#scr-profile { background: #E3E0E0; }
.me-photo {
  position: relative;
  height: 190px;
  margin-top: 12px;
  border-radius: 16px;
  background: #C0764F;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.me-photo > span { font-size: 90px; font-weight: 800; color: rgba(255,255,255,0.22); }
.me-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.me-card { margin-top: 10px; background: #fff; border-radius: 14px; padding: 12px 14px; }
.me-card p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; }
.me-label { font-size: 13px; font-weight: 700; color: #6b0f1a; text-transform: uppercase; letter-spacing: .04em; }
.chip {
  display: inline-block;
  margin: 8px 6px 0 0;
  padding: 5px 12px;
  border: 1px solid #ccc;
  border-radius: 999px;
  font-size: 14px;
}

/* personality engine mini quiz — mirrors the real site's cream/black/red look */
.qz-window {
  max-width: 560px;
  margin: 0 auto;
  background: #f5f0e8;
  border: 3px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.qz-bar { height: 34px; }
.qz {
  padding: 26px 24px 28px;
  color: #111;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.qz-mast { text-align: center; padding-bottom: 16px; border-bottom: 2px solid #111; }
.qz-kicker { font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #c0001a; }
.qz-title { margin-top: 6px; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 30px; line-height: 1.1; }
.qz-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 16px; }
.qz-pill {
  min-height: 40px;
  padding: 0 16px;
  border: 2px solid #111;
  border-radius: 999px;
  background: #f5f0e8;
  color: #111;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  cursor: pointer;
}
.qz-pill.on { background: #111; color: #f5f0e8; }
.qz-label { display: block; font-family: 'DM Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.qz-row { display: flex; align-items: stretch; border: 2px solid #111; background: #fff; }
.qz-at { display: flex; align-items: center; padding: 0 4px 0 12px; font-family: 'DM Mono', monospace; font-size: 17px; }
.qz-row input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 12px 8px;
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  background: transparent;
  color: #111;
}
.qz-go {
  border: none;
  border-left: 2px solid #111;
  background: #c0001a;
  color: #fff;
  padding: 0 18px;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}
.qz-err { min-height: 20px; margin: 6px 0 0; font-size: 14px; color: #c0001a; }
.qz-card {
  display: none;
  margin-top: 8px;
  padding: 22px 20px;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 6px 6px 0 #111;
  text-align: center;
}
.qz-card.show { display: block; animation: qzIn .35s ease; }
@keyframes qzIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qz-card-kicker { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #c0001a; }
.qz-card-who { margin-top: 4px; font-family: 'DM Mono', monospace; font-size: 14px; color: #444; }
.qz-card-big { margin-top: 10px; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 46px; line-height: 1; }
.qz-meter { display: none; margin: 16px 4px 0; }
.qz-track {
  position: relative;
  height: 22px;
  border: 2px solid #111;
  background: #f5f0e8;
  overflow: hidden;
}
.qz-fill {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(-45deg, #c0001a 0 10px, #a30016 10px 20px);
  border-right: 2px solid #111;
}
.qz-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #444;
}
.qz-card-line { margin-top: 10px; font-size: 17px; line-height: 1.5; }
.qz-same { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #999; font-family: 'DM Mono', monospace; font-size: 12px; color: #555; }

@media (max-width: 560px) {
  nav { gap: 16px; }
  .hero { padding: 64px 0 56px; }
  .card-top h3 { font-size: 24px; }
  .stat { font-size: 34px; }
  .row, .row.flip { flex-direction: column; gap: 20px; margin-top: 56px; }
  .row > * { flex-basis: auto; width: 100%; }
}

/* content panels that replace screenshot slots */
.panel {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}
.panel-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
}
.panel-note { font-size: 13px; color: #555; margin: 14px 0 0; }
.panel ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.7; }
.panel pre {
  display: block;
  margin: 0;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre;
  overflow-x: auto;
}
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-bottom: 16px; }
.bar-row .bar-name { font-size: 15px; font-weight: 600; }
.bar-row .bar-val { font-size: 15px; font-weight: 700; color: var(--teal); }
.bar-track { grid-column: 1 / -1; height: 18px; background: var(--soft); border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--teal); }
.bar-fill.before { background: var(--mustard); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-grid div { border: 2px solid var(--ink); border-radius: 8px; padding: 14px 8px; text-align: center; background: var(--soft); }
.stat-grid b { display: block; font-size: 24px; color: var(--teal); }
.stat-grid span { font-size: 13px; color: var(--ink); }
.flow { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.flow div { border: 2px solid var(--ink); border-radius: 8px; padding: 12px; text-align: center; background: var(--soft); font-weight: 600; }
.flow i { text-align: center; font-style: normal; font-size: 18px; color: var(--ink); }
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* numbered steps, no box */
.steps { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.7; }
.steps li { margin-bottom: 6px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.panel pre .c { color: #0F6B63; font-style: italic; }
.row.full > * { flex-basis: 100%; }
@media (max-width: 600px) {
  .panel pre { font-size: 12px; }
}

/* about: current status line */
.about-now { max-width: 680px; margin: 18px 0 0; color: var(--teal); font-weight: 500; }

/* crash timeline */
.timeline { list-style: none; margin: 18px 0 0; padding: 0 0 0 24px; border-left: 3px solid var(--teal); }
.timeline li { position: relative; margin: 0 0 14px; font-size: 16px; line-height: 1.55; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--mustard); border: 2px solid var(--ink);
}
.timeline b { color: var(--teal); }

/* LED controller: home card visual */
.strip-stage { position: relative; margin-top: 20px; aspect-ratio: 16 / 9; background: var(--teal); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.strip-bar { display: flex; gap: clamp(5px, 1.2vw, 14px); padding: clamp(9px, 1.4vw, 18px) clamp(10px, 1.8vw, 24px); background: #121414; border: 2px solid var(--ink); border-radius: 30px; }
.strip-bar i { width: clamp(12px, 2.6vw, 34px); height: clamp(12px, 2.6vw, 34px); border-radius: 50%; }
.strip-bar i:nth-child(1) { background: #ff0066; box-shadow: 0 0 10px #ff0066; }
.strip-bar i:nth-child(2) { background: #ff3b30; box-shadow: 0 0 10px #ff3b30; }
.strip-bar i:nth-child(3) { background: #ff9500; box-shadow: 0 0 10px #ff9500; }
.strip-bar i:nth-child(4) { background: #ffd60a; box-shadow: 0 0 10px #ffd60a; }
.strip-bar i:nth-child(5) { background: #a8e010; box-shadow: 0 0 10px #a8e010; }
.strip-bar i:nth-child(6) { background: #34c759; box-shadow: 0 0 10px #34c759; }
.strip-bar i:nth-child(7) { background: #00c7be; box-shadow: 0 0 10px #00c7be; }
.strip-bar i:nth-child(8) { background: #0aa5ff; box-shadow: 0 0 10px #0aa5ff; }
.strip-bar i:nth-child(9) { background: #0a64ff; box-shadow: 0 0 10px #0a64ff; }
.strip-bar i:nth-child(10) { background: #5e5ce6; box-shadow: 0 0 10px #5e5ce6; }
.strip-bar i:nth-child(11) { background: #bf5af2; box-shadow: 0 0 10px #bf5af2; }
.strip-bar i:nth-child(12) { background: #ff2dc0; box-shadow: 0 0 10px #ff2dc0; }
.strip-board { background: #1b4d3e; border: 2px solid var(--ink); border-radius: 6px; padding: clamp(10px, 1.3vw, 16px) clamp(26px, 3.5vw, 44px); font: 700 clamp(14px, 1.5vw, 19px)/1 ui-monospace, Menlo, monospace; color: #e8efe9; letter-spacing: 2px; box-shadow: 4px 4px 0 var(--ink); }

/* LED controller: try-it */
.lc { max-width: 460px; margin: 0 auto; background: #16191b; border: 3px solid var(--ink); border-radius: 16px; padding: 16px; box-shadow: 6px 6px 0 var(--ink); color: #f2f2f2; font-family: Inter, system-ui, sans-serif; display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.lc-strip { display: flex; flex-direction: column-reverse; justify-content: space-between; align-items: center; padding: 12px 0; background: #0b0c0d; border-radius: 24px; min-height: 340px; }
.lc-strip span { width: 12px; height: 12px; border-radius: 50%; background: #2a2f2f; }
.lc-controls { display: flex; flex-direction: column; }
.lc-fx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 18px; }
.lc-fx button { padding: 10px 0; border-radius: 10px; border: 1px solid #2d313a; background: transparent; color: #f2f2f2; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; }
.lc-fx button.on { background: #3b6fe0; border-color: #3b6fe0; }
.lc-sw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.lc-sw button { aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.lc-sw button.on { border-color: #fff; }
.lc-label { display: flex; justify-content: space-between; font-size: 12px; color: #9aa0aa; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.lc input[type=range] { width: 100%; accent-color: #3b6fe0; margin: 0; }
