/* Murmurhound · shared styles
   Brand: warm cream, deep ink, apricot. Phone first.
   (Note to new engineers: the science page source is required reading. -I.H.) */

:root {
  --cream: #FBF6EE;
  --paper: #FFFFFF;
  --sand: #F3EADC;
  --line: #E6DCCB;
  --ink: #1D2333;
  --ink-2: #4A5168;
  --ink-3: #7A8096;
  --apricot: #FF7A45;
  --apricot-soft: #FFE3D4;
  --sage: #8FBF9F;
  --sage-soft: #E2F0E6;
  --lilac: #B9A6F5;
  --lilac-soft: #ECE6FF;
  --night: #10131F;
  --night-2: #181C2C;
  --term: #9BF2B5;
  --r: 18px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(29,35,51,.06), 0 8px 24px rgba(29,35,51,.07);
  --f: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f); font-size: 17px; line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: rgba(29,35,51,.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--apricot); }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 9vw, 4.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .84rem; color: var(--ink-3); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.section { padding: 56px 0; }
.section.tight { padding: 32px 0; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--cream); font: 650 1rem/1 var(--f);
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { background: #2C3450; }
.btn:active { transform: scale(.97); }
.btn.alt { background: var(--apricot); color: var(--ink); }
.btn.alt:hover { background: #FF8D5F; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: rgba(29,35,51,.3); text-underline-offset: 3px; cursor: pointer; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(251,246,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.nav { display: none; gap: 22px; font-size: .96rem; font-weight: 550; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--apricot); }
.top-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--apricot); color: var(--ink); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.cart-count:empty { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 16px 18px; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 1.15rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav.open { display: none; }
}
.promo { background: var(--ink); color: var(--cream); font-size: .84rem; text-align: center; padding: 8px 16px; }
.promo a { color: var(--apricot); }

/* Footer */
.foot { background: var(--ink); color: #D9DCE6; margin-top: 40px; padding: 48px 0 110px; font-size: .95rem; }
.foot a { color: #D9DCE6; text-decoration: none; }
.foot a:hover { color: var(--apricot); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 9px; }
.foot .news { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } .foot .news { grid-column: auto; } }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: .82rem; color: #9AA0B4; }
.fiction { color: #C9CDDA; }
.fiction a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
.paw-link { display: inline-flex; align-items: center; gap: 6px; opacity: .55; }
.paw-link:hover { opacity: 1; }
.paw-link svg { width: 16px; height: 16px; }

/* Newsletter */
.news-form { display: flex; gap: 8px; margin-top: 10px; }
.news-form input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; padding: 0 18px; font: inherit; }
.news-form input::placeholder { color: #9AA0B4; }
.news-msg { min-height: 1.4em; margin-top: 8px; font-size: .88rem; color: var(--sage); }

/* Museum link */
.museum {
  position: fixed; left: 12px; bottom: 12px; z-index: 60;
  background: rgba(29,35,51,.82); color: #fff; font: 600 .78rem/1 var(--f);
  padding: 9px 13px; border-radius: 999px; text-decoration: none; opacity: .72;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.museum:hover { opacity: 1; color: #fff; }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.grid.g4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid.g2 { grid-template-columns: 1fr 1fr; } .grid.g3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid.g3 { grid-template-columns: 1fr 1fr 1fr; } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--sand); }
.pill.apricot { background: var(--apricot-soft); }
.pill.sage { background: var(--sage-soft); }
.pill.lilac { background: var(--lilac-soft); }

/* Hero */
.hero { padding: 28px 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } .hero { padding: 64px 0; } }
.hero-art { position: relative; aspect-ratio: 1 / 0.86; border-radius: 28px; background: radial-gradient(120% 90% at 50% 30%, #FFE9DC 0%, #F6E6D3 55%, #EFDCC6 100%); display: grid; place-items: center; overflow: hidden; }
.hero-art .collar { width: 86%; }
.waves { position: absolute; inset: 0; pointer-events: none; }
.waves span { position: absolute; left: 50%; top: 58%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid rgba(185,166,245,.7); animation: wave 3.6s ease-out infinite; }
.waves span:nth-child(2) { animation-delay: 1.2s; }
.waves span:nth-child(3) { animation-delay: 2.4s; }
@keyframes wave { from { transform: scale(1); opacity: .9; } to { transform: scale(12); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .waves span { animation: none; opacity: 0; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: .9rem; color: var(--ink-2); }
.trust b { color: var(--ink); }

/* Product cards */
.prod { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.prod:hover { transform: translateY(-3px); }
.prod .art { background: var(--sand); padding: 18px; }
.prod .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.price { font-weight: 750; }
.price s { font-weight: 400; color: var(--ink-3); margin-left: 6px; }

/* Product detail */
.pdp { display: grid; gap: 22px; padding-top: 20px; padding-bottom: 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 48px; } .pdp .stage { position: sticky; top: 84px; align-self: start; } }
.stage { background: var(--sand); border-radius: 26px; padding: 18px; position: relative; }
.stage .collar { transition: transform .35s ease; }
.opt { margin: 18px 0; }
.opt-label { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--cream); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button { min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 650 .95rem/1.15 var(--f); cursor: pointer; color: var(--ink); }
.seg button small { display: block; font-weight: 400; font-size: .74rem; }
.seg button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.seg button[aria-pressed="true"] small { color: #C9CDDA; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 650; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  padding: 12px 14px; font: 16px/1.3 var(--f); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .err { color: #C2410C; font-size: .82rem; min-height: 0; }
.field.bad input, .field.bad select { border-color: #E2672F; background: #FFF6F1; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.engrave-note { min-height: 1.3em; font-size: .86rem; color: var(--ink-2); margin-top: 6px; }
.specs { border-top: 1px solid var(--line); margin-top: 26px; }
.specs details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.specs summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.specs summary::after { content: "+"; font-weight: 400; }
.specs details[open] summary::after { content: "\2212"; }
.specs summary::-webkit-details-marker { display: none; }
.specs dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: .94rem; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; }
.sticky-buy { position: sticky; bottom: 0; padding: 12px 0 14px; background: linear-gradient(to top, var(--cream) 70%, rgba(251,246,238,0)); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { position: relative; padding: 22px 22px 22px 74px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--apricot); display: grid; place-items: center; font-weight: 800; }
.step.ghosted { background: transparent; box-shadow: inset 0 0 0 1.5px dashed var(--line); border: 1.5px dashed var(--line); color: var(--ink-3); cursor: pointer; }
.step.ghosted::before { background: var(--sand); color: var(--ink-3); }
.step.ghosted.open { color: var(--ink); background: var(--lilac-soft); border-color: var(--lilac); }

/* Reviews */
.stars { color: var(--apricot); letter-spacing: 2px; font-size: 1rem; }
.review { break-inside: avoid; margin-bottom: 16px; }
.review .who { font-weight: 700; font-size: .92rem; margin-top: 8px; }
.review .meta { font-size: .8rem; color: var(--ink-3); }
.review.dog { background: var(--sage-soft); }
.review.dog p { font-family: var(--mono); font-size: .92rem; }
.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 700px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }

/* FAQ */
.faq details { background: var(--paper); border-radius: var(--r-sm); margin-bottom: 10px; padding: 16px 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; padding-right: 26px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Legal */
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }
.redact { background: var(--ink); color: transparent; border-radius: 3px; cursor: pointer; padding: 0 2px; user-select: none; -webkit-user-select: none; transition: background .4s, color .4s; }
.redact.lifted { background: var(--lilac-soft); color: var(--ink); cursor: text; user-select: auto; -webkit-user-select: auto; }

/* Tables / lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { border-top: 1px solid var(--line); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Release notes */
.release { padding: 22px 0; border-bottom: 1px solid var(--line); }
.release h3 { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; margin-bottom: 8px; }
.release h3 .ver { font-family: var(--mono); font-size: 1.05rem; }
.release ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.release li { margin-bottom: 6px; }
.release.withdrawn { background: repeating-linear-gradient(-45deg, #fff 0 10px, #FBF3F0 10px 20px); padding: 22px 16px; border-radius: 12px; border: 1px dashed #E2A48A; margin: 14px 0; }

/* Support */
.search { position: relative; }
.search input { width: 100%; height: 56px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 22px; font: 17px var(--f); background: var(--paper); }
.search input:focus { outline: none; border-color: var(--ink); }
.results { margin-top: 12px; }
.results a { display: block; padding: 14px 18px; background: var(--paper); border-radius: 12px; margin-bottom: 8px; text-decoration: none; box-shadow: var(--shadow); }
.results .ghost-result { background: #F4F1FF; border: 1px dashed var(--lilac); }
.article { padding: 28px 0 40px; }
.article h2 { font-size: 1.35rem; margin-top: 1.6em; }
.article ol, .article ul { padding-left: 22px; color: var(--ink-2); }
.article li { margin-bottom: 8px; }
.callout { padding: 16px 18px; border-radius: 14px; background: var(--sage-soft); margin: 18px 0; font-size: .96rem; }
.callout.warn { background: var(--apricot-soft); }
.crumbs { font-size: .86rem; color: var(--ink-3); margin: 18px 0 6px; }
.crumbs a { color: var(--ink-3); }

/* Cart & checkout */
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item .thumb { background: var(--sand); border-radius: 12px; padding: 6px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.summary { background: var(--paper); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.checkout-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.4fr 1fr; } .checkout-grid .summary { position: sticky; top: 84px; align-self: start; } }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 750; font-size: 1.15rem; margin-bottom: 12px; padding: 0; }
.card-box { background: var(--sand); border-radius: 16px; padding: 16px; }
.lock { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--ink-3); margin-top: 10px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 74px; transform: translate(-50%, 30px); opacity: 0; z-index: 90; max-width: calc(100vw - 32px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: .92rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .3s, opacity .3s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--lilac); }

/* Sit */
body.sit main { transform: translateY(18px); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
main { transition: transform .5s; }

/* Night banner */
.quiet { background: #20264A; color: #DCD6FF; text-align: center; font-size: .86rem; padding: 9px 16px; cursor: pointer; }

/* Chat */
.chat-btn { position: fixed; right: 12px; bottom: 12px; z-index: 70; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 650 .95rem var(--f); display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(29,35,51,.3); cursor: pointer; }
.chat-btn svg { width: 22px; height: 22px; }
.chat { position: fixed; z-index: 80; right: 0; bottom: 0; left: 0; height: min(78vh, 600px); background: var(--paper); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); display: flex; flex-direction: column; transform: translateY(105%); transition: transform .3s; }
.chat.open { transform: none; }
@media (min-width: 640px) { .chat { left: auto; right: 16px; bottom: 16px; width: 380px; border-radius: 20px; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--apricot-soft); display: grid; place-items: center; font-weight: 800; }
.chat-head .t { flex: 1; line-height: 1.2; }
.chat-head .t small { display: block; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.4; }
.msg.bot { background: var(--sand); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.m { background: #1A1F38; color: #DCD6FF; font-family: var(--mono); font-size: .86rem; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; background: none; color: var(--ink-3); font-size: .78rem; }
.msg.typing { color: var(--ink-3); }
.chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 8px; }
.chat-chips button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--f); cursor: pointer; color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 14px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 16px; font: 16px var(--f); }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--apricot); cursor: pointer; font-weight: 800; }

/* Internal (staff) look */
body.internal { background: var(--night); color: #D8DCEA; font-family: var(--mono); font-size: 15px; }
body.internal a { color: var(--term); }
body.internal .top { background: rgba(16,19,31,.92); border-color: #262B40; }
body.internal .card { background: var(--night-2); box-shadow: none; border: 1px solid #262B40; }
body.internal h1, body.internal h2, body.internal h3 { font-family: var(--f); color: #fff; }
.stat { font-size: 2rem; font-weight: 700; color: #fff; font-family: var(--f); letter-spacing: -0.02em; }
.stat-label { font-size: .76rem; color: #8A90A8; text-transform: uppercase; letter-spacing: .1em; }
.log { width: 100%; border-collapse: collapse; font-size: .84rem; }
.log td, .log th { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid #262B40; }
.log th { color: #8A90A8; font-weight: 500; }
.log tr.sup td { color: #DCD6FF; background: rgba(185,166,245,.06); }
.log .id { white-space: nowrap; color: var(--term); }
.term-input { background: #0B0E18; border: 1px solid #333A55; color: #fff; height: 46px; border-radius: 10px; padding: 0 14px; font: 16px var(--mono); width: 100%; }
.danger { background: #3A1520; color: #FFB4C0; border: 1px solid #6A2535; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Paper (memo / notebook) */
.paper-sheet { background: #FFFDF8; border-radius: 6px; padding: 28px 22px; box-shadow: 0 2px 0 #EFE6D6, 0 18px 40px rgba(29,35,51,.12); font-size: 1.02rem; }
.notebook { background: #FFFDF5 repeating-linear-gradient(transparent 0 31px, #DCE6F2 31px 32px); line-height: 32px; padding: 32px 22px; border-left: 4px solid #F2B8B8; }
.notebook p { margin: 0 0 32px; }
.notebook .date { font-weight: 800; }

/* Misc */
.stat-band { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 800px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-band div b { display: block; font-size: 2rem; letter-spacing: -0.03em; }
.quote { font-size: clamp(1.25rem, 4.6vw, 1.8rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.marquee { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; opacity: .6; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.band { background: var(--paper); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink .lede, .band-ink .muted { color: #C9CDDA; }
.avatar { width: 100%; aspect-ratio: 1; border-radius: 16px; }
.team-card { cursor: default; }
.team-card[data-tap] { cursor: pointer; }
.map { border-radius: var(--r); background: var(--sand); }
.store { padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline { list-style: none; padding: 0; margin: 18px 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 20px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sage); }
.timeline li.odd::before { background: var(--lilac); }
.flip { perspective: 1200px; }
.flip-inner { position: relative; transition: transform .8s; transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.dog-ui { min-height: 100vh; background: #FFD84D; color: #1D2333; }
.paw-pad { width: min(72vw, 300px); aspect-ratio: 1; border-radius: 50%; border: 0; background: #1D2333; color: #FFD84D; display: grid; place-items: center; margin: 0 auto; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; position: relative; }
.paw-pad svg { width: 55%; }
.paw-ring { position: absolute; inset: -10px; border-radius: 50%; border: 10px solid rgba(29,35,51,.15); }
.dog-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dog-tile { background: #fff; border-radius: 28px; padding: 22px 16px; text-align: center; font-size: 1.3rem; font-weight: 800; border: 0; cursor: pointer; color: var(--ink); font-family: var(--f); min-height: 140px; }
.dog-tile .big { font-size: 2.6rem; display: block; line-height: 1.1; }
.team-grid { grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* 404: the line under the word count */
.blank-line { color: transparent; max-height: 1.7em; overflow: hidden; margin: 0 0 1em; outline: 0; }
.blank-line p { margin: 0 0 .5em; }
.blank-line::selection, .blank-line ::selection { color: #DCD6FF; background: #3A3470; }
.blank-line.lit { color: #DCD6FF; max-height: none; }

/* I.H. lab notes: /murmurhound/internal/notebook.html
   If you work here and Cal asks, you found nothing. */
