:root {
  --paper: #fff8f1;
  --paper-deep: #f9eadf;
  --card: #fffdf9;
  --ink: #4b362e;
  --ink-soft: #7f6b61;
  --pine: #b85f48;
  --pine-dark: #55372f;
  --sage: #8fa58f;
  --sage-pale: #e4eee1;
  --clay: #d9785c;
  --clay-pale: #fde1d5;
  --gold: #dcae55;
  --peach: #f3a080;
  --peach-pale: #ffe5d9;
  --blush: #f8dfe0;
  --butter: #f7d98a;
  --cocoa: #5a3d33;
  --oat: #f5eadc;
  --line: rgba(112, 75, 59, .15);
  --shadow: 0 20px 55px rgba(116, 76, 58, .12);
  --radius-sm: 16px;
  --radius: 28px;
  --radius-lg: 42px;
  --shell: 1180px;
  --header-height: calc(74px + env(safe-area-inset-top));
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 64px);
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, figure, blockquote { margin-top: 0; }
h1, h2, h3 { margin-bottom: .55em; font-family: var(--serif); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
p { color: var(--ink-soft); }
small { line-height: 1.4; }
main, section, article, div, form, nav { min-width: 0; }
:where(p, h1, h2, h3, a, button, dd, dt, span, blockquote) { overflow-wrap: anywhere; }

:focus-visible {
  outline: 3px solid var(--pine-dark);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.value-card :focus-visible,
.home-panel__contact :focus-visible { outline-color: var(--card); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--pine-dark);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--first { padding-top: clamp(38px, 6vw, 78px); }
.section--compact { padding-block: clamp(50px, 7vw, 80px); }
.section--tint { background: var(--paper-deep); }
.section--dark { background: var(--pine-dark); color: #fff; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow--accent { color: var(--clay); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(32, 49, 41, .05); }
.site-header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: env(safe-area-inset-top); }

@media (max-width: 767.98px) {
  .site-header {
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition:
      transform .34s cubic-bezier(.22, 1, .36, 1),
      border-color .2s ease,
      box-shadow .2s ease;
  }
  .site-header.is-hidden {
    pointer-events: none;
    transform: translate3d(0, calc(-100% - 2px), 0);
  }
  body.nav-open .site-header,
  .site-header:focus-within {
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
}

.brand { display: inline-flex; min-width: 0; min-height: 44px; max-width: calc(100% - 60px); align-items: center; gap: 10px; flex: 0 1 auto; }
.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50% 50% 46% 54%;
  background: var(--pine);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand__name { display: flex; min-width: 0; flex-direction: column; line-height: 1.05; }
.brand__name strong, .brand__name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand__name strong { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .12em; }
.brand__name small { margin-top: 5px; color: var(--ink-soft); font-size: .6rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.brand--footer { max-width: 100%; }

.nav-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 12px;
  place-content: center;
  gap: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(41, 72, 59, .08);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle > span:not(.sr-only) { width: 19px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3.75px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 30px rgba(32, 49, 41, .08);
}
.js .site-nav { display: none; }
.js .site-nav.is-open { display: flex; }
.site-nav a, .site-nav button {
  min-height: 46px;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
}
.site-nav a[aria-current="page"] { background: rgba(41,72,59,.07); color: var(--pine); font-weight: 700; }
.site-nav .nav-contact { background: var(--pine); color: #fff; text-align: center; }

.button {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--pine); color: #fff; box-shadow: 0 10px 24px rgba(41,72,59,.18); }
.button--primary:hover { background: var(--pine-dark); }
.button--quiet { border-color: var(--line); background: transparent; color: var(--ink); }
.button--quiet:hover { background: rgba(41,72,59,.06); }
.button--light { background: #fff; color: var(--pine-dark); }
.button--full { width: 100%; }

.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: var(--pine); font-size: .9rem; font-weight: 750; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(3px); }
.text-link--large { font-size: 1rem; }
.text-link--light { color: #fff; }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: 2%;
  left: -130px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(168, 102, 74, .07);
  filter: blur(2px);
}
.hero__grid { display: grid; gap: 50px; align-items: center; }
.hero__copy { position: relative; z-index: 1; }
.hero h1 { max-width: 740px; margin-bottom: 22px; font-size: clamp(2.5rem, 11vw, 5.4rem); }
.hero__lead { max-width: 650px; margin-bottom: 26px; font-size: clamp(1rem, 2.4vw, 1.12rem); line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .82rem; }
.trust-list span { display: inline-grid; width: 18px; height: 18px; place-items: center; margin-right: 4px; border-radius: 50%; background: var(--sage-pale); color: var(--pine); font-size: .68rem; }

.hero__visual { position: relative; width: min(100%, 500px); margin-inline: auto; padding: 16px 4px 26px; }
.hero-card { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 10px solid rgba(255,253,248,.9); border-radius: min(10vw, 54px) min(4vw, 24px) min(10vw, 54px) min(4vw, 24px); background: var(--paper-deep); box-shadow: var(--shadow); }
.hero-card > img, .hero-card > .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
.hero-card__caption { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.4); border-radius: 15px; background: rgba(255,253,248,.88); backdrop-filter: blur(12px); }
.hero-card__caption span { font-family: var(--serif); font-weight: 700; }
.hero-card__caption a, .hero-card__caption small { color: var(--ink-soft); font-size: .75rem; }
.hero-card__caption a { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; }
.hero-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(255,253,248,.9); box-shadow: 0 10px 30px rgba(32,49,41,.12); color: var(--ink); font-size: .75rem; font-weight: 700; backdrop-filter: blur(10px); }
.hero-note span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--clay-pale); color: var(--clay); font-size: .62rem; }
.hero-note--top { top: 2px; right: -3px; }
.hero-note--bottom { bottom: 5px; left: -3px; }

.media-placeholder {
  position: relative;
  display: grid;
  min-height: 260px;
  overflow: hidden;
  place-content: center;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 22% 18%, rgba(168,102,74,.16), transparent 30%),
    radial-gradient(circle at 78% 82%, rgba(41,72,59,.16), transparent 32%),
    linear-gradient(145deg, #eee4d5, #e1e9df);
  color: var(--pine);
  text-align: center;
}
.media-placeholder__halo { position: absolute; width: 150px; height: 150px; border: 1px solid rgba(41,72,59,.18); border-radius: 50%; }
.media-placeholder__halo::before, .media-placeholder__halo::after { content: ""; position: absolute; border: 1px solid rgba(41,72,59,.12); border-radius: 50%; }
.media-placeholder__halo::before { inset: 12px; }
.media-placeholder__halo::after { inset: 26px; }
.media-placeholder__word { position: relative; z-index: 1; display: grid; width: 76px; height: 76px; place-items: center; border-radius: 48% 52% 45% 55%; background: rgba(255,253,248,.78); font-family: var(--serif); font-size: 2rem; box-shadow: 0 10px 35px rgba(41,72,59,.08); }
.media-placeholder__label { position: relative; z-index: 1; margin-top: 56px; font-size: .78rem; font-weight: 750; letter-spacing: .08em; }
.media-placeholder small { position: relative; z-index: 1; max-width: 240px; margin-top: 6px; color: var(--ink-soft); }
.media-placeholder--gallery { min-height: 380px; border-radius: var(--radius-lg); }

.proof-strip { border-block: 1px solid var(--line); background: rgba(255,253,248,.55); }
.proof-strip__inner { display: grid; grid-template-columns: 1fr; padding-block: 19px; }
.proof-strip p { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0; padding: 10px 4px; }
.proof-strip strong { font-family: var(--serif); font-size: .96rem; }
.proof-strip span { color: var(--ink-soft); font-size: .72rem; }
.proof-strip i { height: 1px; background: var(--line); }

.section-heading { max-width: 650px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 16px; font-size: clamp(2rem, 7vw, 3.4rem); }
.section-heading > p:last-child { margin-bottom: 0; }
.section-heading--split { max-width: none; display: flex; flex-direction: column; gap: 16px; }
.section-heading--split > p { max-width: 420px; }
.section-heading--light h2, .section-heading--light p { color: #fff; }
.section-heading--light .eyebrow { color: #afc2b5; }

.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.cat-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 12px 35px rgba(44,55,46,.06); transition: transform .22s ease, box-shadow .22s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 4.5; background: var(--paper-deep); }
.cat-card__media > img, .cat-card__media > .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cat-card:hover .cat-card__media > img { transform: scale(1.025); }
.cat-card__media .media-placeholder { min-height: 0; }
.status-badge { display: inline-flex; min-height: 28px; align-items: center; padding: 5px 10px; border-radius: 999px; background: #eef1ec; color: var(--pine); font-size: .7rem; font-weight: 750; letter-spacing: .04em; }
.cat-card__media > .status-badge { position: absolute; top: 14px; left: 14px; }
.status-badge--available { background: #e2efe3; color: #1d5b35; }
.status-badge--observing { background: #f2e8d5; color: #805b27; }
.status-badge--reserved { background: #eee1ec; color: #75426d; }
.status-badge--homed { background: #e2e9ee; color: #405e72; }
.cat-card__body { padding: 21px; }
.cat-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cat-card__heading h3 { margin: 0; font-size: 1.75rem; }
.cat-card__heading h3 a { display: inline-flex; min-height: 44px; align-items: center; }
.cat-card__heading .eyebrow { margin-bottom: 5px; }
.cat-card__age { flex: 0 0 auto; padding-top: 20px; color: var(--ink-soft); font-size: .76rem; }
.cat-card__headline { min-height: 3.2em; margin: 13px 0 16px; font-size: .9rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 5px 10px; border-radius: 999px; background: var(--paper-deep); color: var(--ink-soft); font-size: .72rem; }
.tag-list--large li { padding: 7px 12px; background: var(--sage-pale); color: var(--pine); font-size: .8rem; }
.cat-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); }
.cat-card__footer > span { display: flex; min-width: 0; flex-direction: column; }
.cat-card__footer small { color: var(--ink-soft); font-size: .64rem; }
.cat-card__footer strong { color: var(--clay); font-family: var(--serif); font-size: 1.05rem; }
.cat-card__record { color: var(--ink-soft); font-size: .72rem; }

.empty-state { display: grid; min-height: 390px; place-content: center; place-items: center; padding: 40px 22px; border: 1px dashed rgba(41,72,59,.28); border-radius: var(--radius-lg); background: rgba(255,253,248,.5); text-align: center; }
.empty-state__mark { display: grid; width: 78px; height: 78px; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--sage-pale); color: var(--pine); font-family: var(--serif); font-size: 2rem; }
.empty-state h2, .empty-state h3 { font-size: clamp(1.65rem, 6vw, 2.25rem); }
.empty-state p { max-width: 560px; }

.story-grid { display: grid; gap: 20px; }
.story-grid__heading { margin-bottom: 20px; }
.story-steps { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.story-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.story-steps > li > span { color: var(--clay); font-family: var(--serif); font-size: .82rem; }
.story-steps h3 { margin-bottom: 7px; font-size: 1.25rem; }
.story-steps p { margin: 0; font-size: .9rem; }

.value-card { position: relative; overflow: hidden; display: grid; gap: 36px; padding: clamp(28px, 6vw, 66px); border-radius: var(--radius-lg); background: var(--pine); color: #fff; }
.value-card::after { content: ""; position: absolute; right: -120px; bottom: -170px; width: 380px; height: 380px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018); }
.value-card__copy { position: relative; z-index: 1; }
.value-card__copy .eyebrow { color: #bdccbf; }
.value-card__copy h2 { color: #fff; font-size: clamp(2rem, 7vw, 3.4rem); }
.value-card__copy p { max-width: 570px; color: rgba(255,255,255,.73); }
.value-card__facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.value-card__facts > div { min-height: 142px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: rgba(255,255,255,.06); }
.value-card__facts span { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: auto; border-radius: 50%; background: rgba(255,255,255,.11); font-family: var(--serif); }
.value-card__facts strong { font-family: var(--serif); font-size: .95rem; }
.value-card__facts small { color: rgba(255,255,255,.58); font-size: .68rem; }

.closing-cta { text-align: center; }
.closing-cta h2 { margin-bottom: 24px; font-size: clamp(2rem, 7vw, 3.5rem); }
.closing-cta > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.closing-cta--bordered { padding-block: clamp(44px, 7vw, 78px); border: 1px solid var(--line); border-radius: var(--radius-lg); }

.site-footer { padding: 58px 0 calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #ede7dc; }
.brand--footer { margin-bottom: 14px; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__grid p { margin: 0; font-size: .82rem; }
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.site-footer__links a, .site-footer__links button { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--ink); font-size: .85rem; cursor: pointer; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 5px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .68rem; }

.page-hero { padding-block: clamp(62px, 10vw, 120px); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--paper), #efe6d8); }
.page-hero__inner { display: grid; gap: 24px; align-items: end; }
.page-hero h1 { margin: 0; font-size: clamp(2.65rem, 10vw, 5.4rem); }
.page-hero__inner > p { max-width: 550px; margin: 0; font-size: 1rem; line-height: 1.9; }
.page-hero--health { background: linear-gradient(140deg, #f7f0e4, #e5ebe3); }
.section--catalogue { padding-top: 34px; }
.catalogue-filter { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.catalogue-filter > label { display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); font-size: .7rem; font-weight: 700; }
.catalogue-filter select, .catalogue-filter input { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--paper); color: var(--ink); }
.catalogue-filter select:focus, .catalogue-filter input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(128,149,135,.18); }
.catalogue-filter .search-field { position: relative; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.search-field > span:not(.sr-only) { color: var(--sage); font-size: 1.4rem; }
.catalogue-filter .search-field input { padding-inline: 0; border: 0; background: transparent; box-shadow: none; }
.catalogue-filter select:focus-visible, .catalogue-filter input:focus-visible {
  outline: 3px solid var(--pine-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--pine-dark);
}
.filter-submit { width: 100%; }
.catalogue-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 17px; }
.catalogue-summary p { margin: 0; font-size: .82rem; }
.catalogue-summary strong { color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.catalogue-summary a { display: inline-flex; min-height: 44px; align-items: center; color: var(--clay); font-size: .78rem; font-weight: 700; }

.preview-banner { position: relative; z-index: 90; background: #7d5830; color: #fff; }
.preview-banner .shell { min-height: 45px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; padding-block: 8px; }
.preview-banner strong { font-size: .8rem; }
.preview-banner span { color: rgba(255,255,255,.78); font-size: .7rem; }
.profile-hero { padding-bottom: clamp(54px, 8vw, 96px); }
.profile-hero__grid { display: grid; gap: 34px; align-items: center; }
.profile-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--paper-deep); box-shadow: var(--shadow); }
.profile-photo > img, .profile-photo > .media-placeholder { width: 100%; height: 100%; object-fit: cover; }
.profile-photo > .status-badge { position: absolute; top: 14px; left: 14px; }
.profile-photo-note { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; border-radius: 999px; background: rgba(255,253,248,.88); color: var(--ink-soft); font-size: .68rem; }
.profile-intro__topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-intro__topline .eyebrow { margin: 0; }
.share-button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); font-size: .76rem; cursor: pointer; }
.profile-intro h1 { margin: 20px 0 12px; font-size: clamp(3.2rem, 16vw, 6.5rem); }
.profile-intro__headline { max-width: 600px; margin-bottom: 22px; color: var(--ink); font-family: var(--serif); font-size: clamp(1.2rem, 4vw, 1.65rem); line-height: 1.55; }
.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; border-block: 1px solid var(--line); }
.profile-facts > div { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.profile-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.profile-facts dt { color: var(--ink-soft); font-size: .66rem; }
.profile-facts dd { margin: 3px 0 0; font-size: .84rem; font-weight: 700; }
.price-panel { margin-top: 20px; padding: 17px; border-radius: var(--radius-sm); background: var(--clay-pale); }
.price-panel > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price-panel span { color: var(--clay); font-size: .72rem; font-weight: 700; }
.price-panel strong { color: #7f422d; font-family: var(--serif); font-size: 1.45rem; }
.price-panel p { margin: 7px 0 0; color: #76594e; font-size: .69rem; }
.profile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.publication-note { margin: 13px 0 0; color: var(--sage); font-size: .66rem; }

.profile-nav { position: sticky; z-index: 70; top: var(--header-height); border-block: 1px solid var(--line); background: rgba(251,248,241,.94); backdrop-filter: blur(12px); }
.profile-nav__scroll { display: flex; overflow-x: auto; scrollbar-width: none; }
.profile-nav__scroll::-webkit-scrollbar { display: none; }
.profile-nav a { flex: 0 0 auto; min-height: 50px; display: inline-flex; align-items: center; padding: 0 14px; color: var(--ink-soft); font-size: .77rem; font-weight: 700; }
.profile-nav a:hover { color: var(--pine); }
.profile-section { scroll-margin-top: calc(var(--header-height) + 52px); }
.profile-section__grid { display: grid; gap: 30px; }
.profile-section__title { margin-bottom: 0; }
.lead-quote { margin-bottom: 30px; color: var(--ink); font-family: var(--serif); font-size: clamp(1.45rem, 5.5vw, 2.3rem); line-height: 1.65; }
.fit-grid { display: grid; gap: 12px; }
.fit-card { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.fit-card > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; font-family: var(--serif); }
.fit-card--yes > span { background: var(--sage-pale); color: var(--pine); }
.fit-card--consider > span { background: var(--clay-pale); color: var(--clay); }
.fit-card h3 { margin: 2px 0 7px; font-size: 1.05rem; }
.fit-card p { margin: 0; font-size: .84rem; }

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 9px; bottom: 10px; left: 6px; width: 1px; background: var(--sage); opacity: .45; }
.timeline__item { position: relative; display: grid; grid-template-columns: 14px minmax(0,1fr); column-gap: 15px; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker { z-index: 1; width: 13px; height: 13px; margin-top: 5px; border: 3px solid var(--paper-deep); border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.timeline__date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 9px; }
.timeline__date time { color: var(--ink); font-size: .82rem; font-weight: 750; }
.timeline__date span { padding: 3px 7px; border-radius: 999px; background: rgba(41,72,59,.08); color: var(--ink-soft); font-size: .62rem; }
.timeline__card { grid-column: 2; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.timeline__card h3 { font-size: 1.25rem; }
.timeline__card > p { margin-bottom: 0; font-size: .88rem; }
.weight-pill { display: inline-flex; margin: 0 0 10px !important; padding: 4px 8px; border-radius: 999px; background: var(--clay-pale); color: var(--clay) !important; font-size: .7rem !important; font-weight: 700; }
.timeline__media { overflow: hidden; margin: 18px 0 0; border-radius: var(--radius-sm); }
.timeline__media img, .timeline__media video { width: 100%; max-height: 450px; object-fit: cover; }
.timeline__media figcaption { padding: 8px 3px 0; color: var(--ink-soft); font-size: .68rem; }

.section-empty { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 24px; border: 1px dashed rgba(41,72,59,.27); border-radius: var(--radius); }
.section-empty > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--sage-pale); font-family: var(--serif); }
.section-empty h3 { margin: 2px 0 5px; font-size: 1.1rem; }
.section-empty p { margin: 0; font-size: .82rem; }
.section-empty--dark { border-color: rgba(255,255,255,.22); }
.section-empty--dark > span { background: rgba(255,255,255,.1); color: #fff; }
.section-empty--dark h3 { color: #fff; }
.section-empty--dark p { color: rgba(255,255,255,.64); }

.media-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.media-gallery__item { position: relative; overflow: hidden; min-height: 190px; margin: 0; border-radius: var(--radius-sm); background: var(--paper-deep); }
.media-gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 12; }
.media-gallery__item img, .media-gallery__item video { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.media-gallery__item figcaption { position: absolute; right: 8px; bottom: 8px; left: 8px; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 9px; background: rgba(23,49,40,.77); color: #fff; font-size: .66rem; backdrop-filter: blur(9px); }
.media-gallery__item figcaption time { flex: 0 0 auto; color: rgba(255,255,255,.7); }

.record-list, .genetic-list { display: grid; gap: 12px; }
.record-card { padding: 21px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.record-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.record-card__head span { padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.1); color: #c5d4c9; font-size: .66rem; font-weight: 700; }
.record-card__head time { color: rgba(255,255,255,.55); font-size: .7rem; }
.record-card h3 { margin: 14px 0; color: #fff; font-size: 1.28rem; }
.record-card dl { margin: 0; }
.record-card dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.1); }
.record-card dt { color: rgba(255,255,255,.5); font-size: .7rem; }
.record-card dd { margin: 0; color: rgba(255,255,255,.82); font-size: .78rem; }
.document-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; margin-top: 13px; color: #cfddd2; font-size: .75rem; font-weight: 700; }
.document-link--ink { color: var(--pine); }

.genetic-card { overflow: hidden; display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.genetic-card__result { display: flex; flex-direction: column; justify-content: center; padding: 20px; background: var(--sage-pale); }
.genetic-card__result span { color: var(--ink-soft); font-size: .65rem; }
.genetic-card__result strong { margin-top: 3px; color: var(--pine); font-family: var(--serif); font-size: 1.5rem; }
.genetic-card__body { padding: 20px; }
.genetic-card__body h3 { font-size: 1.25rem; }
.genetic-card__body > p:not(.eyebrow) { margin-bottom: 8px; font-size: .82rem; }

.parent-grid { display: grid; gap: 14px; }
.parent-card { overflow: hidden; display: grid; grid-template-columns: minmax(105px, 36%) 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.parent-card__photo { min-height: 205px; background: var(--paper-deep); }
.parent-card__photo img, .parent-card__photo .media-placeholder { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.parent-card__photo .media-placeholder { padding: 8px; }
.parent-card__photo .media-placeholder__word { width: 48px; height: 48px; font-size: 1.2rem; }
.parent-card__photo .media-placeholder__halo { width: 94px; height: 94px; }
.parent-card__photo .media-placeholder__label { margin-top: 42px; font-size: .6rem; }
.parent-card__body { padding: 18px; }
.parent-card__body h3 { margin: 0 0 5px; font-size: 1.45rem; }
.parent-card__body > p:not(.eyebrow) { margin-bottom: 10px; font-size: .75rem; }
.parent-card blockquote { margin: 10px 0; color: var(--ink-soft); font-family: var(--serif); font-size: .82rem; }

.home-panel { overflow: hidden; display: grid; border-radius: var(--radius-lg); background: var(--paper-deep); }
.home-panel__copy { padding: clamp(26px, 6vw, 60px); }
.home-panel__copy h2 { font-size: clamp(2rem, 7vw, 3.5rem); }
.prose p { margin-bottom: 1em; }
.home-panel__contact { position: relative; overflow: hidden; padding: clamp(26px, 6vw, 52px); background: var(--pine); color: #fff; }
.home-panel__mark { display: grid; width: 64px; height: 64px; place-items: center; margin-bottom: 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-family: var(--serif); font-size: 1.8rem; }
.home-panel__contact h3 { color: #fff; font-size: 1.8rem; }
.home-panel__contact p { color: rgba(255,255,255,.7); }
.home-panel__contact .text-link { margin-top: 18px; }

.principles-grid { display: grid; gap: 13px; }
.principles-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.principles-grid article > span { color: var(--clay); font-family: var(--serif); font-size: .75rem; }
.principles-grid h2 { margin: 30px 0 8px; font-size: 1.6rem; }
.principles-grid p { margin: 0; font-size: .86rem; }
.health-ledger { display: grid; gap: 20px; }
.ledger-list { display: grid; gap: 10px; }
.ledger-list article { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,248,.58); }
.ledger-list article > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--sage-pale); color: var(--pine); font-family: var(--serif); }
.ledger-list h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.ledger-list p { margin: 0; font-size: .82rem; }
.journey { display: grid; gap: 25px; }
.journey__steps { margin: 0; padding: 0; list-style: none; }
.journey__steps li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 0 0 28px; }
.journey__steps li:not(:last-child)::before { content: ""; position: absolute; top: 42px; bottom: 4px; left: 20px; width: 1px; background: var(--line); }
.journey__steps li > span { z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--pine); color: #fff; font-family: var(--serif); }
.journey__steps h3 { margin: 2px 0 6px; font-size: 1.18rem; }
.journey__steps p { margin: 0; font-size: .84rem; }
.faq-grid { display: grid; gap: 25px; }
.faq-list details { border-top: 1px solid rgba(255,255,255,.16); }
.faq-list details:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.faq-list summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; font-family: var(--serif); font-size: 1rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: 0 0 auto; font-family: var(--sans); transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 30px 22px 0; color: rgba(255,255,255,.65); font-size: .82rem; }

.contact-dialog {
  width: min(calc(100% - 28px), 430px);
  max-height: min(88vh, 720px);
  max-height: min(88dvh, 720px);
  overflow-y: auto;
  padding: 24px;
  border: 0;
  border-radius: 26px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(12,25,20,.38);
}
.contact-dialog::backdrop { background: rgba(18,31,26,.62); backdrop-filter: blur(4px); }
.contact-dialog__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.contact-dialog__top h2 { margin-bottom: 18px; font-size: 1.55rem; }
.icon-button { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.wechat-qr { width: min(100%, 270px); margin-inline: auto; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.wechat-qr img { width: 100%; height: auto; border-radius: 10px; }
.contact-dialog__hint { margin: 10px 0 16px; text-align: center; font-size: .72rem; }
.contact-dialog__pending { display: grid; min-height: 220px; place-content: center; place-items: center; border-radius: 18px; background: var(--paper-deep); }
.contact-dialog__pending span { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: var(--sage-pale); color: var(--pine); font-family: var(--serif); font-size: 1.6rem; }
.contact-dialog__pending p { margin: 12px 0 0; font-size: .75rem; }
.wechat-id { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; margin-top: 14px; padding: 13px 15px; border-radius: 13px; background: var(--paper-deep); }
.wechat-id span { grid-column: 1; color: var(--ink-soft); font-size: .64rem; }
.wechat-id strong { grid-column: 1; font-size: .9rem; }
.wechat-id button { grid-column: 2; grid-row: 1 / 3; min-width: 56px; min-height: 44px; border: 0; border-radius: 999px; background: var(--pine); color: #fff; font-size: .72rem; cursor: pointer; }
.contact-dialog__note, .contact-dialog__empty { margin: 15px 0 0; font-size: .73rem; text-align: center; }

.toast { position: fixed; z-index: 300; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); left: 16px; max-width: 360px; margin-inline: auto; padding: 11px 15px; border-radius: 999px; background: var(--pine-dark); color: #fff; font-size: .78rem; text-align: center; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.mobile-cta { position: fixed; z-index: 85; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255,253,248,.96); box-shadow: 0 -10px 30px rgba(32,49,41,.09); backdrop-filter: blur(14px); }
.mobile-cta > div { display: flex; min-width: 0; flex-direction: column; }
.mobile-cta small { color: var(--ink-soft); font-size: .58rem; }
.mobile-cta strong { max-width: 100px; overflow: hidden; font-family: var(--serif); font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.mobile-cta button { min-height: 46px; padding: 10px 17px; border: 0; border-radius: 999px; background: var(--pine); color: #fff; font-size: .8rem; font-weight: 750; cursor: pointer; }
.cat-detail-page {
  --mobile-cta-height: calc(66px + env(safe-area-inset-bottom));
  padding-bottom: var(--mobile-cta-height);
}
.cat-detail-page .toast { bottom: calc(var(--mobile-cta-height) + 12px); }

@media (min-width: 620px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip__inner { grid-template-columns: 1fr 1px 1fr 1px 1fr; align-items: center; }
  .proof-strip p { display: block; padding: 14px 22px; text-align: center; }
  .proof-strip span { display: block; margin-top: 2px; }
  .proof-strip i { width: 1px; height: 30px; }
  .section-heading--split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .profile-actions { flex-direction: row; }
  .fit-grid { grid-template-columns: 1fr 1fr; }
  .genetic-card { grid-template-columns: minmax(145px, 30%) 1fr; }
  .principles-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .catalogue-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .catalogue-filter .search-field { grid-column: 1 / -1; }
  .filter-submit { grid-column: 1 / -1; width: 100%; }
  .site-footer__grid { grid-template-columns: 1.2fr .7fr 1fr; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  :root { --header-height: calc(82px + env(safe-area-inset-top)); }
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav a, .site-nav button { min-height: 44px; padding: 9px 12px; font-size: .82rem; text-align: center; }
  .site-nav a[aria-current="page"] { background: transparent; }
  .site-nav a[aria-current="page"]::after { content: ""; display: block; width: 16px; height: 2px; margin: 2px auto -4px; border-radius: 2px; background: var(--clay); }
  .site-nav .nav-contact { margin-left: 4px; padding-inline: 18px; }
  .brand { max-width: min(34vw, 320px); }
  .catalogue-filter { grid-template-columns: minmax(190px, 1fr) minmax(145px, .42fr) minmax(145px, .42fr) auto; }
  .catalogue-filter .search-field { grid-column: auto; }
  .filter-submit { grid-column: auto; width: auto; min-width: 84px; }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr); gap: clamp(45px, 7vw, 100px); }
  .hero h1 { font-size: clamp(3.7rem, 7vw, 5.5rem); }
  .hero-note--top { right: -20px; }
  .hero-note--bottom { left: -25px; }
  .story-grid { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr); gap: clamp(50px, 9vw, 120px); }
  .story-grid__heading { position: sticky; top: calc(var(--header-height) + 30px); align-self: start; }
  .value-card { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .page-hero__inner { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .profile-hero__grid { grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr); gap: clamp(45px, 7vw, 95px); }
  .profile-photo { max-height: 720px; }
  .profile-intro h1 { font-size: clamp(4.8rem, 9vw, 7rem); }
  .profile-section__grid { grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr); gap: clamp(50px, 8vw, 110px); }
  .profile-section__title { position: sticky; top: calc(var(--header-height) + 84px); align-self: start; }
  .timeline__item { grid-template-columns: 14px 130px minmax(0,1fr); column-gap: 18px; }
  .timeline__date { display: flex; flex-direction: column; align-items: flex-start; margin: 0; }
  .timeline__card { grid-column: 3; }
  .media-gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .media-gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .media-gallery__item { min-height: 220px; }
  .record-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .parent-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .parent-card { grid-template-columns: 1fr; }
  .parent-card__photo { min-width: 0; min-height: 0; aspect-ratio: 4/3; }
  .home-panel { grid-template-columns: 1.2fr .8fr; }
  .health-ledger { grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 100px); }
  .journey { grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 100px); }
  .journey__heading { position: sticky; top: calc(var(--header-height) + 30px); align-self: start; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 100px); }
  .mobile-cta { display: none; }
  .cat-detail-page { padding-bottom: 0; }
  .toast { right: 24px; bottom: 24px; left: auto; }
  .cat-detail-page .toast { bottom: 24px; }
}

@media (min-width: 1040px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .value-card { grid-template-columns: 1.2fr .8fr; }
  .value-card__facts > div { min-height: 165px; padding: 22px; }
  .site-nav a, .site-nav button { padding-inline: 16px; }
}

@media (max-width: 359px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name strong { font-size: .95rem; }
  .hero h1 { font-size: 2.35rem; }
  .button { width: 100%; }
  .hero__actions { flex-direction: column; }
  .value-card__facts { grid-template-columns: 1fr; }
  .profile-facts { grid-template-columns: 1fr; }
  .profile-facts > div, .profile-facts > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .profile-facts > div:last-child { border-bottom: 0; }
  .profile-actions { flex-direction: column; }
  .parent-card { grid-template-columns: 1fr; }
  .parent-card__photo { aspect-ratio: 4/3; }
  .media-gallery { grid-template-columns: 1fr; }
  .media-gallery__item--wide { grid-column: auto; }
  .mobile-cta strong { max-width: 70px; }
  .mobile-cta button { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .site-header { transition: none !important; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(19,36,28,.35); --ink-soft: #3b4942; }
  .button--primary, .nav-contact { outline: 1px solid var(--pine-dark); }
}

/* --------------------------------------------------------------------------
   Warm fluffy journal theme
   A scrapbook-like public experience: cat-first, warm, playful, still honest.
   -------------------------------------------------------------------------- */

.warm-storybook {
  background:
    radial-gradient(circle at 8% 4%, rgba(248, 195, 172, .24), transparent 21rem),
    radial-gradient(circle at 94% 13%, rgba(247, 217, 138, .18), transparent 18rem),
    var(--paper);
  color: var(--ink);
}

.warm-storybook .public-app__ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.warm-storybook .public-app__glow {
  position: absolute;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(22px);
  opacity: .18;
}

.warm-storybook .public-app__glow--peach {
  top: 12vh;
  left: -24vw;
  background: var(--peach);
}

.warm-storybook .public-app__glow--honey {
  top: 58vh;
  right: -28vw;
  background: var(--butter);
}

.warm-storybook .public-main,
.warm-storybook .site-footer {
  position: relative;
  z-index: 1;
}

.warm-storybook h1,
.warm-storybook h2,
.warm-storybook h3 {
  color: var(--ink);
  letter-spacing: -.035em;
}

.warm-storybook .section--dark h1,
.warm-storybook .section--dark h2,
.warm-storybook .section--dark h3,
.warm-storybook .value-card h1,
.warm-storybook .value-card h2,
.warm-storybook .value-card h3,
.warm-storybook .home-panel__contact h1,
.warm-storybook .home-panel__contact h2,
.warm-storybook .home-panel__contact h3 { color: #fffaf4; }

.warm-storybook .eyebrow {
  width: fit-content;
  margin-bottom: 14px;
  color: #934a39;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.warm-storybook .eyebrow--accent {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(216, 120, 92, .18);
  border-radius: 999px;
  background: rgba(255, 229, 217, .72);
  color: #a9513d;
}

.warm-storybook .eyebrow--accent::before {
  content: "♡";
  font-size: .95rem;
  line-height: 1;
}

.warm-storybook .site-header {
  border-bottom-color: rgba(112, 75, 59, .09);
  background: rgba(255, 249, 243, .9);
  box-shadow: 0 8px 32px rgba(111, 73, 56, .04);
}

.warm-storybook .site-header.is-scrolled {
  border-color: rgba(112, 75, 59, .13);
  box-shadow: 0 10px 34px rgba(111, 73, 56, .08);
}

@media (max-width: 767.98px) {
  .warm-storybook .site-header.is-hidden {
    border-bottom-color: transparent;
    box-shadow: none;
  }
}

.warm-storybook .brand { gap: 12px; }

.warm-storybook .brand__mark {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 47% 53% 48% 52%;
  background: var(--pine);
  color: #fffaf5;
  box-shadow: 0 7px 18px rgba(184, 95, 72, .24);
}

.warm-storybook .brand__mark::before,
.warm-storybook .brand__mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -5px;
  width: 15px;
  height: 15px;
  border-radius: 3px 8px 3px 8px;
  background: var(--pine);
  transform: rotate(45deg);
}

.warm-storybook .brand__mark::before { left: 5px; }
.warm-storybook .brand__mark::after { right: 5px; }

.warm-storybook .brand__name strong { color: var(--cocoa); }
.warm-storybook .brand__name small { color: #79594e; font-size: .68rem; }
.warm-storybook .brand__descriptor { color: #855246; letter-spacing: .05em; text-transform: none; }

.warm-storybook .nav-toggle { background: var(--peach-pale); color: var(--cocoa); }
.warm-storybook .site-nav { background: rgba(255, 248, 241, .98); }
.warm-storybook .site-nav a,
.warm-storybook .site-nav button { border-radius: 999px; }
.warm-storybook .site-nav a[aria-current="page"] { background: var(--peach-pale); color: var(--cocoa); }
.warm-storybook .site-nav .nav-contact { background: var(--pine); color: #fff; box-shadow: 0 8px 20px rgba(184, 95, 72, .2); }

.warm-storybook .button {
  border-radius: 18px;
  box-shadow: none;
}

.warm-storybook .button--primary {
  background: var(--pine);
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 95, 72, .22);
}

.warm-storybook .button--primary:hover { background: #9f4c39; }

.warm-storybook .button--quiet {
  border-color: rgba(112, 75, 59, .18);
  background: rgba(255, 253, 249, .7);
}

.warm-storybook .button--quiet:hover { background: var(--peach-pale); }
.warm-storybook .text-link { color: #984430; }
.warm-storybook .text-link--light { color: #fff4ec; }

.warm-storybook .hero {
  min-height: min(780px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 11% 21%, rgba(248, 204, 186, .44), transparent 17rem),
    radial-gradient(circle at 85% 15%, rgba(247, 217, 138, .25), transparent 20rem),
    linear-gradient(145deg, #fff9f2 0%, #fff4eb 55%, #f9eee2 100%);
}

.warm-storybook .hero::before {
  top: auto;
  bottom: -170px;
  left: -110px;
  width: 360px;
  height: 360px;
  border: 2px dashed rgba(216, 120, 92, .13);
  background: transparent;
}

.warm-storybook .hero::after {
  content: "♡";
  position: absolute;
  top: 7%;
  right: 5%;
  color: rgba(216, 120, 92, .2);
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 1;
  transform: rotate(12deg);
}

.warm-storybook .hero__copy::before {
  content: "翻开一页，认识一个软乎乎的小朋友";
  display: block;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 8px 16px 8px 16px;
  background: var(--butter);
  color: #725330;
  font-family: "STKaiti", "KaiTi", var(--serif);
  font-size: .82rem;
  font-weight: 700;
  transform: rotate(-1deg);
}

.warm-storybook .hero h1 {
  max-width: 780px;
  color: var(--cocoa);
  font-size: clamp(2.8rem, 11vw, 5.6rem);
  line-height: 1.12;
}

.warm-storybook .hero__lead {
  max-width: 610px;
  color: #755f55;
  line-height: 1.9;
}

.warm-storybook .hero__welcome {
  width: fit-content;
  margin: -8px 0 12px;
  color: #a45340;
  font-family: "STKaiti", "KaiTi", var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  transform: rotate(-.45deg);
}

.warm-storybook .trust-list li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 11px 5px 7px;
  border: 1px solid rgba(112, 75, 59, .1);
  border-radius: 999px;
  background: rgba(255, 253, 249, .72);
}

.warm-storybook .trust-list span { background: var(--sage-pale); }

.warm-storybook .hero__visual { padding: 26px 15px 38px; }

.warm-storybook .hero__visual::before,
.warm-storybook .hero__visual::after {
  content: "";
  position: absolute;
  inset: 36px 30px 32px;
  border: 2px solid rgba(184, 95, 72, .14);
  border-radius: 52px 26px 52px 26px;
  background: var(--blush);
  transform: rotate(-5deg);
}

.warm-storybook .hero__visual::after {
  background: #f4dcaa;
  transform: rotate(5deg);
}

.warm-storybook .hero-card {
  z-index: 1;
  overflow: visible;
  border: 11px solid #fffdf9;
  border-bottom-width: 54px;
  border-radius: 32px 22px 38px 25px;
  background: var(--oat);
  box-shadow: 0 28px 64px rgba(102, 68, 51, .18);
  transform: rotate(1.4deg);
}

.warm-storybook .hero-card::before,
.warm-storybook .profile-photo::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: -18px;
  left: 50%;
  width: 92px;
  height: 31px;
  border: 1px solid rgba(160, 111, 76, .08);
  border-radius: 3px;
  background: rgba(245, 214, 157, .76);
  box-shadow: 0 2px 7px rgba(94, 62, 45, .08);
  transform: translateX(-50%) rotate(-3deg);
}

.warm-storybook .hero-card > img,
.warm-storybook .hero-card > .media-placeholder {
  border-radius: 22px 14px 26px 16px;
}

.warm-storybook .hero-card__caption {
  right: 4px;
  bottom: -48px;
  left: 4px;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.warm-storybook .hero-card__caption span { color: var(--cocoa); font-family: "STKaiti", "KaiTi", var(--serif); }
.warm-storybook .hero-card__caption a { color: #a54e3c; }
.warm-storybook .hero-card__identity { display: flex; min-width: 0; flex-direction: column; }
.warm-storybook .hero-card__identity strong { font-size: 1rem; }
.warm-storybook .hero-card__identity small { margin-top: 1px; color: #947568; font-family: var(--sans); font-size: .64rem; font-weight: 600; }
.warm-storybook .hero-card__status { position: absolute; z-index: 5; top: 15px; left: 15px; border: 2px solid rgba(255, 255, 255, .82); }

.warm-storybook .hero-note {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 250, 245, .94);
  box-shadow: 0 12px 28px rgba(104, 69, 52, .13);
  color: var(--cocoa);
  font-family: "STKaiti", "KaiTi", var(--serif);
  font-size: .82rem;
}

.warm-storybook .hero-note span { background: var(--peach-pale); color: #a6513e; }
.warm-storybook .hero-note--bottom span { background: var(--sage-pale); color: #58705b; }

.warm-storybook .media-placeholder {
  background:
    radial-gradient(circle at 20% 18%, rgba(248, 172, 146, .34), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(158, 182, 160, .25), transparent 30%),
    linear-gradient(145deg, #fff0e3, #f8e4d8 52%, #edf0df);
  color: var(--cocoa);
}

.warm-storybook .media-placeholder__halo {
  width: 170px;
  height: 170px;
  border: 2px dashed rgba(184, 95, 72, .16);
}

.warm-storybook .media-placeholder__word {
  background: #fffaf3;
  color: var(--pine);
  box-shadow: 0 12px 32px rgba(106, 68, 51, .1);
}

.warm-storybook .media-placeholder__illustration {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(184, 95, 72, .09);
  border-radius: 45% 55% 47% 53%;
}

.warm-storybook .media-placeholder__label {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, .72);
  color: var(--cocoa);
}

.warm-storybook .media-placeholder__cat,
.warm-storybook .empty-photo__cat,
.warm-storybook .placeholder-cat {
  position: relative;
  z-index: 1;
  width: 108px;
  height: auto;
  filter: drop-shadow(0 12px 16px rgba(106, 68, 51, .1));
}

.warm-storybook .media-placeholder__illustration + .media-placeholder__label { margin-top: 14px; }
.warm-storybook .parent-card__photo .media-placeholder__illustration { width: 78px; height: 78px; }
.warm-storybook .parent-card__photo .media-placeholder__cat { width: 66px; }
.warm-storybook .parent-card__photo .media-placeholder__illustration + .media-placeholder__label { margin-top: 8px; }

.warm-storybook .proof-strip {
  border: 0;
  background: #fffdf8;
}

.warm-storybook .proof-strip__inner { gap: 10px; padding-block: 14px; }
.warm-storybook .proof-strip p { border-radius: 16px; background: var(--paper); }
.warm-storybook .proof-strip p:nth-of-type(2) { background: #fff1e9; }
.warm-storybook .proof-strip p:nth-of-type(3) { background: #eef3e8; }
.warm-storybook .proof-strip i { background: transparent; }
.warm-storybook .proof-strip strong { color: var(--cocoa); }

.warm-storybook .section--tint {
  background:
    radial-gradient(circle at 2% 12%, rgba(243, 160, 128, .12), transparent 17rem),
    var(--paper-deep);
}

.warm-storybook .section-heading h2 { color: var(--cocoa); }
.warm-storybook .section--dark .section-heading h2,
.warm-storybook .section--dark .section-heading p,
.warm-storybook .section--dark .section-heading--light h2,
.warm-storybook .section--dark .section-heading--light p { color: #fff7f0; }
.warm-storybook .section--dark .section-heading .eyebrow { color: #ffd3c1; }

.warm-storybook .cat-grid { gap: 24px; }

.warm-storybook .cat-card {
  overflow: visible;
  border: 2px solid #f1dfd3;
  border-radius: 34px;
  background: #fffdf9;
  box-shadow: 0 16px 38px rgba(104, 69, 52, .09);
}

.warm-storybook .cat-card:hover {
  box-shadow: 0 24px 52px rgba(104, 69, 52, .15);
}
.warm-storybook .cat-card__photo-corner {
  position: absolute;
  z-index: 3;
  right: 13px;
  bottom: 13px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  background: rgba(255, 249, 243, .9);
  color: #aa513d;
  box-shadow: 0 7px 18px rgba(82, 51, 39, .13);
}

.warm-storybook .cat-card__media {
  margin: 9px 9px 0;
  border-radius: 27px 27px 19px 19px;
  background: var(--oat);
}

.warm-storybook .cat-card__media > img,
.warm-storybook .cat-card__media > .media-placeholder { border-radius: inherit; }

.warm-storybook .cat-card__media > .status-badge {
  top: 12px;
  left: 12px;
  border: 2px solid rgba(255, 255, 255, .8);
  box-shadow: 0 7px 16px rgba(77, 50, 38, .08);
}

.warm-storybook .status-badge { background: #fff2e9; color: #8d4939; }
.warm-storybook .status-badge--available { background: #dff0dc; color: #386243; }
.warm-storybook .status-badge--observing { background: #fff0c9; color: #795323; }
.warm-storybook .status-badge--reserved { background: #f7dfe7; color: #794454; }
.warm-storybook .status-badge--homed { background: #e2eaf4; color: #405b75; }

.warm-storybook .cat-card__body { padding: 22px 23px 24px; }
.warm-storybook .cat-card__heading h3 { color: var(--cocoa); font-size: 1.9rem; }
.warm-storybook .cat-card__age {
  margin-top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--butter);
  color: #674c2d;
}
.warm-storybook .cat-card__headline { color: #765f54; }
.warm-storybook .tag-list li { background: #fff0e7; color: #8d5546; }
.warm-storybook .tag-list li:nth-child(2n) { background: #edf1e5; color: #58705a; }
.warm-storybook .tag-list li:nth-child(3n) { background: #fff0c9; color: #735528; }
.warm-storybook .cat-card__footer { border-color: #f1e2d9; }
.warm-storybook .cat-card__footer strong { color: #b85640; }

.warm-storybook .story-steps li {
  margin-bottom: 12px;
  padding: 22px;
  border: 1px solid rgba(112, 75, 59, .1);
  border-radius: 24px 14px 24px 14px;
  background: rgba(255, 253, 249, .72);
}
.warm-storybook .story-steps > li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--peach-pale);
  color: #9e4c3a;
}
.warm-storybook .story-steps li:nth-child(2n) > span { background: var(--sage-pale); color: #536e57; }

.warm-storybook .value-card {
  border: 8px solid #fff2e8;
  background:
    radial-gradient(circle at 100% 0, rgba(247, 217, 138, .16), transparent 22rem),
    var(--cocoa);
  box-shadow: 0 24px 55px rgba(92, 58, 45, .16);
}
.warm-storybook .value-card__facts > div { border-color: rgba(255, 246, 237, .19); border-radius: 22px; }
.warm-storybook .value-card__facts > div:nth-child(1) { background: rgba(248, 196, 174, .12); }
.warm-storybook .value-card__facts > div:nth-child(2) { background: rgba(228, 238, 225, .11); }

.warm-storybook .closing-cta {
  position: relative;
  padding: clamp(38px, 6vw, 64px) clamp(20px, 5vw, 54px);
  border: 2px solid #f2dfd2;
  border-radius: 44px 24px 44px 24px;
  background: #fffdf9;
  box-shadow: 0 18px 44px rgba(104, 69, 52, .08);
}
.warm-storybook .closing-cta::before,
.warm-storybook .closing-cta::after {
  position: absolute;
  color: rgba(216, 120, 92, .28);
  font-size: 2.2rem;
  line-height: 1;
  transform: rotate(-10deg);
}
.warm-storybook .closing-cta::before { content: "♡"; top: 18px; left: 24px; }
.warm-storybook .closing-cta::after { content: "✦"; right: 28px; bottom: 22px; color: rgba(220, 174, 85, .4); }

.warm-storybook .page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  border-radius: 0 0 54px 26px;
  background:
    radial-gradient(circle at 7% 16%, rgba(248, 196, 174, .45), transparent 18rem),
    radial-gradient(circle at 90% 18%, rgba(247, 217, 138, .22), transparent 18rem),
    linear-gradient(135deg, #fff9f3, #f9e9df);
}
.warm-storybook .page-hero::after {
  content: "♡";
  position: absolute;
  right: 4%;
  bottom: -14%;
  color: rgba(216, 120, 92, .13);
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 1;
  transform: rotate(10deg);
}
.warm-storybook .page-hero__inner { position: relative; z-index: 1; }
.warm-storybook .page-hero h1 { color: var(--cocoa); }
.warm-storybook .memory-book-hero h1,
.warm-storybook .care-hero h1 { font-size: clamp(2.25rem, 7vw, 4rem); }
.warm-storybook .page-hero--health { background: linear-gradient(140deg, #fff5eb, #eef2e5); }

.warm-storybook .catalogue-filter {
  border: 2px solid #efded3;
  border-radius: 26px;
  background: rgba(255, 253, 249, .9);
  box-shadow: 0 13px 34px rgba(104, 69, 52, .07);
}
.warm-storybook .catalogue-heading { max-width: 660px; margin-bottom: 28px; }
.warm-storybook .catalogue-heading h2 { margin-bottom: 10px; color: var(--cocoa); font-size: clamp(2rem, 7vw, 3.25rem); }
.warm-storybook .catalogue-heading > p:last-child { margin-bottom: 0; }
.warm-storybook .catalogue-summary--gentle { margin-block: 24px 20px; padding-inline: 4px; }
.warm-storybook .catalogue-summary--gentle strong { color: #a4513d; }
.warm-storybook .catalogue-filter select,
.warm-storybook .catalogue-filter input,
.warm-storybook .catalogue-filter .search-field { border-radius: 15px; background: #fff9f4; }

.warm-storybook .profile-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(38px, 7vw, 86px);
  background:
    radial-gradient(circle at 3% 8%, rgba(248, 196, 174, .38), transparent 19rem),
    radial-gradient(circle at 94% 20%, rgba(247, 217, 138, .23), transparent 18rem),
    linear-gradient(150deg, #fff9f3, #fff3e9 64%, #f7eadf);
}
.warm-storybook .profile-hero::after {
  content: "✦";
  position: absolute;
  right: 4%;
  bottom: 1%;
  color: rgba(216, 120, 92, .15);
  font-size: 7rem;
  transform: rotate(11deg);
}
.warm-storybook .profile-hero__grid { position: relative; z-index: 1; align-items: start; }

.warm-storybook .profile-photo {
  overflow: visible;
  border: 11px solid #fffdf9;
  border-bottom-width: 48px;
  border-radius: 36px 25px 25px 36px;
  background: var(--oat);
  box-shadow: 0 28px 65px rgba(103, 68, 51, .17);
  transform: rotate(-1.2deg);
}
.warm-storybook .profile-photo > img,
.warm-storybook .profile-photo > .media-placeholder,
.warm-storybook .profile-photo > .profile-gallery { border-radius: 25px 15px 15px 25px; }
.warm-storybook .profile-gallery__clip {
  border-radius: 25px 15px 15px 25px;
  -webkit-clip-path: inset(0 round 25px 15px 15px 25px);
  clip-path: inset(0 round 25px 15px 15px 25px);
}
.warm-storybook .profile-photo > .status-badge { top: 13px; left: 13px; border: 2px solid rgba(255, 255, 255, .8); }
.warm-storybook .profile-photo-note { right: 9px; bottom: -38px; background: transparent; color: #8f6a5b; font-family: "STKaiti", "KaiTi", var(--serif); font-size: .74rem; }

.warm-storybook .memory-sticker {
  position: absolute;
  z-index: 5;
  display: grid;
  min-width: 50px;
  min-height: 38px;
  place-items: center;
  padding: 6px 10px;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 11px 18px 11px 18px;
  box-shadow: 0 9px 22px rgba(95, 61, 47, .15);
  font-family: "STKaiti", "KaiTi", var(--serif);
  font-size: .74rem;
  font-weight: 700;
}
.warm-storybook .memory-sticker--hello { top: 14%; right: -17px; background: var(--butter); color: #70502c; transform: rotate(7deg); }
.warm-storybook .memory-sticker--soft { right: 8%; bottom: -27px; background: var(--blush); color: #8d514c; transform: rotate(-3deg); }

.warm-storybook .profile-intro { position: relative; }
.warm-storybook .profile-nameplate { position: relative; width: fit-content; margin-top: 18px; }
.warm-storybook .profile-nameplate__hello { display: block; margin-bottom: -12px; color: #a56350; font-family: "STKaiti", "KaiTi", var(--serif); font-size: .9rem; font-weight: 700; transform: rotate(-1deg); }
.warm-storybook .profile-nameplate__sparkle { position: absolute; top: 19%; right: -31px; color: var(--gold); font-size: 1.1rem; transform: rotate(12deg); }
.warm-storybook .profile-intro h1 { color: var(--cocoa); }
.warm-storybook .profile-intro h1::after {
  content: "♡";
  display: inline-block;
  margin-left: .13em;
  color: var(--peach);
  font-size: .42em;
  vertical-align: top;
  transform: rotate(10deg);
}
.warm-storybook .share-button { border-radius: 999px; background: rgba(255, 253, 249, .74); }
.warm-storybook .profile-intro__headline { color: #674c42; }
.warm-storybook .tag-list--large li { background: var(--peach-pale); color: #8f4938; }
.warm-storybook .tag-list--large li:nth-child(2n) { background: var(--sage-pale); color: #506c54; }
.warm-storybook .tag-list--large li:nth-child(3n) { background: #fff0c8; color: #745427; }

.warm-storybook .profile-identity-card {
  margin-top: 27px;
  padding: 17px;
  border: 2px solid #efded3;
  border-radius: 28px 18px 28px 18px;
  background: rgba(255, 253, 249, .76);
  box-shadow: 0 12px 29px rgba(103, 68, 51, .06);
}
.warm-storybook .profile-identity-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.warm-storybook .profile-identity-card__heading h2 { margin: 0; font-family: "STKaiti", "KaiTi", var(--serif); font-size: 1rem; }
.warm-storybook .profile-identity-card__seal { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: var(--peach-pale); color: #9b4d3b; font-size: .62rem; font-weight: 800; }
.warm-storybook .profile-identity-card__facts { margin-top: 13px; }

.warm-storybook .profile-facts {
  gap: 9px;
  border: 0;
}
.warm-storybook .profile-facts > div,
.warm-storybook .profile-facts > div:nth-last-child(-n+2) {
  min-height: 70px;
  padding: 12px 13px;
  border: 1px solid rgba(112, 75, 59, .1);
  border-radius: 17px;
  background: rgba(255, 253, 249, .76);
}
.warm-storybook .profile-facts > div:nth-child(3n+2) { background: rgba(255, 229, 217, .62); }
.warm-storybook .profile-facts > div:nth-child(3n) { background: rgba(228, 238, 225, .7); }
.warm-storybook .profile-facts dt { color: #76574c; font-size: .72rem; }
.warm-storybook .profile-facts dd { color: var(--cocoa); }
.warm-storybook .publication-note { color: #71625b; font-size: .74rem; }

.warm-storybook .price-panel {
  border: 1px solid rgba(216, 120, 92, .14);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffe6dc, #fff0d3);
}
.warm-storybook .price-panel strong { color: #a64f3c; }

.warm-storybook .profile-nav {
  border: 0;
  background: rgba(255, 249, 243, .92);
  box-shadow: 0 10px 30px rgba(101, 66, 49, .07);
}
.warm-storybook .profile-nav__scroll { gap: 6px; padding-block: 8px; }
.warm-storybook .profile-nav a {
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255, 253, 249, .78);
  color: #796156;
}
.warm-storybook .profile-nav a:hover,
.warm-storybook .profile-nav a:focus-visible { background: var(--peach-pale); color: #984b3a; }

.warm-storybook .memory-book__chapter { position: relative; }
.warm-storybook .memory-book__chapter--gallery { background: linear-gradient(180deg, #fffaf5, #fff6ee); }
.warm-storybook .memory-book__chapter--genetics::after,
.warm-storybook .memory-book__chapter--personality::after {
  content: "♡";
  position: absolute;
  z-index: 0;
  right: 3%;
  bottom: 3%;
  color: rgba(216, 120, 92, .07);
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 13rem);
  line-height: 1;
  pointer-events: none;
}
.warm-storybook .memory-book__chapter > .shell { position: relative; z-index: 1; }

.warm-storybook .profile-section__title .eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--peach-pale);
}
.warm-storybook .section--dark .profile-section__title .eyebrow { background: rgba(255, 230, 215, .13); color: #ffd4c4; }

.warm-storybook .lead-quote {
  position: relative;
  padding: clamp(25px, 5vw, 38px);
  border: 2px solid #f0ddd0;
  border-radius: 34px 18px 34px 18px;
  background: #fffdf9;
  box-shadow: 0 16px 38px rgba(103, 68, 51, .08);
  color: var(--cocoa);
}
.warm-storybook .lead-quote::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 12%;
  width: 74px;
  height: 24px;
  border-radius: 2px;
  background: rgba(247, 217, 138, .64);
  transform: rotate(-4deg);
}

.warm-storybook .fit-card {
  border-color: rgba(112, 75, 59, .11);
  border-radius: 26px 16px 26px 16px;
  box-shadow: 0 10px 25px rgba(103, 68, 51, .05);
}
.warm-storybook .fit-card--yes { background: #f2f6ed; }
.warm-storybook .fit-card--consider { background: #fff1ea; }

.warm-storybook .timeline::before {
  width: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(to bottom, var(--peach) 0 6px, transparent 6px 12px);
  opacity: .68;
}
.warm-storybook .timeline__marker {
  width: 15px;
  height: 15px;
  border: 3px solid #fff8f1;
  background: var(--peach);
  box-shadow: 0 0 0 2px rgba(216, 120, 92, .28);
}
.warm-storybook .timeline__date span { background: var(--butter); color: #6f542d; }
.warm-storybook .timeline__card {
  border: 2px solid #f0dfd4;
  border-radius: 28px 18px 28px 18px;
  background: #fffdf9;
  box-shadow: 0 13px 30px rgba(103, 68, 51, .07);
}
.warm-storybook .timeline__item:nth-child(2n) .timeline__card { border-radius: 18px 28px 18px 28px; }
.warm-storybook .weight-pill { background: var(--peach-pale); color: #9b4c3a !important; }

.warm-storybook .media-gallery { gap: 13px; }
.warm-storybook .media-gallery__item {
  border: 8px solid #fffdf9;
  border-bottom-width: 30px;
  border-radius: 24px 16px 26px 18px;
  box-shadow: 0 16px 35px rgba(103, 68, 51, .1);
}
.warm-storybook .media-gallery__item:nth-child(2n) { transform: rotate(.7deg); }
.warm-storybook .media-gallery__item:nth-child(3n) { transform: rotate(-.7deg); }
.warm-storybook .media-gallery__item figcaption { right: 2px; bottom: -27px; left: 2px; padding: 5px 6px; background: transparent; color: var(--cocoa); }
.warm-storybook .media-gallery__item figcaption time { color: #6f554a; }

.warm-storybook .section--dark {
  background:
    radial-gradient(circle at 95% 6%, rgba(247, 217, 138, .09), transparent 20rem),
    var(--cocoa);
}
.warm-storybook .record-card {
  border: 2px solid rgba(255, 235, 220, .35);
  border-radius: 26px 17px 26px 17px;
  background: #fff8f0;
  box-shadow: 0 15px 34px rgba(52, 31, 24, .16);
}
.warm-storybook .record-card__head span { background: var(--peach-pale); color: #8f4837; }
.warm-storybook .record-card__head time { color: #8a7166; }
.warm-storybook .record-card h3 { color: var(--cocoa); }
.warm-storybook .record-card dl > div { border-color: #edddd3; }
.warm-storybook .record-card dt { color: #76584d; font-size: .74rem; }
.warm-storybook .record-card dd { color: #604a40; }
.warm-storybook .record-card .document-link { color: #9d4d3a; }

.warm-storybook .genetic-card {
  border: 2px solid #e5dfce;
  border-radius: 29px 18px 29px 18px;
  box-shadow: 0 13px 30px rgba(103, 68, 51, .06);
}
.warm-storybook .genetic-card__result { background: linear-gradient(145deg, #e7f0e2, #fff1d4); }
.warm-storybook .genetic-card__result strong { color: #526b54; }

.warm-storybook .section-empty {
  border: 2px dashed rgba(184, 95, 72, .23);
  border-radius: 26px 17px 26px 17px;
  background: rgba(255, 253, 249, .56);
}
.warm-storybook .section-empty > span { background: var(--peach-pale); color: #9d4c3a; }
.warm-storybook .section-empty--dark { border-color: rgba(255, 226, 211, .26); background: rgba(255, 248, 241, .06); }

.warm-storybook .parent-card {
  border: 2px solid #efded3;
  border-radius: 29px 18px 29px 18px;
  box-shadow: 0 13px 30px rgba(103, 68, 51, .06);
}
.warm-storybook .parent-card blockquote { padding-left: 11px; border-left: 3px solid var(--peach); }

.warm-storybook .home-panel {
  border: 8px solid #fff2e8;
  border-radius: 44px 24px 44px 24px;
  background: #fff5e9;
  box-shadow: 0 20px 50px rgba(103, 68, 51, .1);
}
.warm-storybook .home-panel__contact { background: linear-gradient(145deg, #b75c46, #744538); }
.warm-storybook .home-panel__mark { border-color: rgba(255, 255, 255, .42); background: rgba(255, 245, 236, .1); }

.warm-storybook .principles-grid article {
  border: 2px solid #efded3;
  border-radius: 29px 17px 29px 17px;
  box-shadow: 0 14px 32px rgba(103, 68, 51, .06);
}
.warm-storybook .principles-grid article:nth-child(1) { background: #fff0e8; }
.warm-storybook .principles-grid article:nth-child(2) { background: #f0f4e9; }
.warm-storybook .principles-grid article:nth-child(3) { background: #fff5d8; }
.warm-storybook .principles-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fffdf8;
  color: #a4513d;
}
.warm-storybook .principles-grid h2 { margin-top: 20px; }

.warm-storybook .care-hero__inner > p { padding: 18px 20px; border: 1px solid rgba(112, 75, 59, .09); border-radius: 22px 14px 22px 14px; background: rgba(255, 253, 249, .62); }
.warm-storybook .care-promises__heading { max-width: 760px; }
.warm-storybook .care-promise-card { position: relative; overflow: hidden; }
.warm-storybook .care-promise-card::after { content: "♡"; position: absolute; right: 14px; bottom: -18px; color: rgba(184, 95, 72, .1); font-size: 4.5rem; line-height: 1; transform: rotate(8deg); }
.warm-storybook .care-ledger { align-items: start; }
.warm-storybook .home-journey .journey__steps li > div { padding: 1px 0 18px; }
.warm-storybook .gentle-faq-section { background: linear-gradient(145deg, #563a31, #70493c); }
.warm-storybook .care-closing-cta { background: linear-gradient(145deg, #fffdf9, #fff1e7); }

.warm-storybook .ledger-list article {
  border: 2px solid rgba(112, 75, 59, .1);
  border-radius: 25px 16px 25px 16px;
  background: rgba(255, 253, 249, .8);
}
.warm-storybook .ledger-list article > span { background: var(--peach-pale); color: #9d4c3a; }
.warm-storybook .ledger-list article:nth-child(2n) > span { background: var(--sage-pale); color: #526d56; }

.warm-storybook .journey__steps li > span {
  background: var(--peach);
  color: var(--cocoa);
  box-shadow: 0 8px 20px rgba(216, 120, 92, .22);
}
.warm-storybook .journey__steps li:nth-child(2n) > span { background: var(--sage-pale); }
.warm-storybook .journey__steps li:not(:last-child)::before { border-left: 2px dashed rgba(216, 120, 92, .28); background: transparent; }

.warm-storybook .faq-list details { border-color: rgba(255, 236, 222, .18); }
.warm-storybook .faq-list summary { color: #fff7ef; }
.warm-storybook .faq-list details p { color: rgba(255, 247, 240, .84); line-height: 1.75; }

.warm-storybook .contact-dialog {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 36px 22px 36px 22px;
  background: #fffaf4;
  box-shadow: 0 32px 90px rgba(77, 48, 37, .34);
}
.warm-storybook .contact-dialog::backdrop { background: rgba(74, 53, 46, .58); }
.warm-storybook .contact-dialog__charm { display: inline-flex; align-items: center; gap: 7px; margin: -9px 0 15px; padding: 5px 10px; border-radius: 999px; background: var(--butter); color: #71512d; font-family: "STKaiti", "KaiTi", var(--serif); font-size: .72rem; font-weight: 700; transform: rotate(-2deg); }
.warm-storybook .contact-dialog__top { position: relative; }
.warm-storybook .contact-dialog__top::before {
  content: "♡";
  position: absolute;
  top: -19px;
  left: 30px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--butter);
  color: #8d5c32;
  font-size: 1.25rem;
  transform: rotate(-8deg);
}
.warm-storybook .contact-dialog__heading { padding-top: 5px; }
.warm-storybook .contact-dialog__description { margin: -7px 0 18px; color: #7a6258; font-size: .82rem; line-height: 1.75; }
.warm-storybook .icon-button { border: 2px solid var(--cocoa); background: #fffdf9; color: var(--cocoa); }
.warm-storybook .wechat-qr--framed { position: relative; border: 8px solid #fff; box-shadow: 0 12px 30px rgba(92, 58, 44, .1); }
.warm-storybook .wechat-qr__corner { position: absolute; width: 24px; height: 24px; border-color: var(--peach); border-style: solid; pointer-events: none; }
.warm-storybook .wechat-qr__corner--one { top: -5px; left: -5px; border-width: 3px 0 0 3px; border-radius: 8px 0 0; }
.warm-storybook .wechat-qr__corner--two { right: -5px; bottom: -5px; border-width: 0 3px 3px 0; border-radius: 0 0 8px; }
.warm-storybook .contact-dialog__hint { color: #80685d; }
.warm-storybook .contact-dialog__pending { background: linear-gradient(145deg, #fff0e6, #f5e8da); }
.warm-storybook .contact-dialog__pending span { background: var(--peach-pale); color: #a04c39; }
.warm-storybook .wechat-id { border: 1px solid #efddd1; border-radius: 18px; background: #fff0e6; }
.warm-storybook .wechat-id button { background: var(--pine); }
.warm-storybook .contact-dialog__note { color: #80685d; line-height: 1.6; }

.warm-storybook .mobile-cta {
  border-top: 1px solid rgba(112, 75, 59, .12);
  background: rgba(255, 249, 243, .96);
  box-shadow: 0 -12px 34px rgba(93, 59, 45, .1);
}
.warm-storybook .mobile-cta button { border-radius: 16px; background: var(--pine); box-shadow: 0 8px 18px rgba(184, 95, 72, .2); }

.warm-storybook .site-footer {
  border-top-color: #ead7ca;
  background:
    radial-gradient(circle at 90% 20%, rgba(247, 217, 138, .2), transparent 16rem),
    #f6e8dc;
}

@media (min-width: 768px) {
  .warm-storybook .site-nav,
  .warm-storybook .js .site-nav { background: transparent; }

  .warm-storybook .site-nav a[aria-current="page"] { background: var(--peach-pale); }
  .warm-storybook .site-nav a[aria-current="page"]::after { display: none; }

  .warm-storybook .hero-card { transform: rotate(1.8deg); }
  .warm-storybook .cat-card:nth-child(3n + 1) { transform: rotate(-.35deg); }
  .warm-storybook .cat-card:nth-child(3n + 2) { transform: rotate(.35deg); }
  .warm-storybook .cat-card:hover { transform: translateY(-6px) rotate(0); }
  .warm-storybook .timeline__item:nth-child(odd) .timeline__card { transform: rotate(-.25deg); }
  .warm-storybook .timeline__item:nth-child(even) .timeline__card { transform: rotate(.25deg); }
}

@media (max-width: 767.98px) {
  .warm-storybook .site-nav {
    margin: 8px 10px 0;
    border: 1px solid #edd9cc;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(94, 60, 46, .14);
  }

  .warm-storybook .hero {
    min-height: auto;
    padding-bottom: 42px;
  }

  .warm-storybook .hero__grid { gap: 28px; }
  .warm-storybook .hero__visual { order: -1; width: min(91%, 400px); padding-top: 36px; }
  .warm-storybook .hero__copy::before { font-size: .76rem; }
  .warm-storybook .hero-card { border-bottom-width: 48px; }
  .warm-storybook .proof-strip__inner { gap: 7px; }
  .warm-storybook .proof-strip p { padding-inline: 12px; }

  .warm-storybook .profile-photo {
    width: calc(100% - 16px);
    margin-inline: auto;
    border-bottom-width: 44px;
  }

  .warm-storybook .profile-intro { margin-top: 5px; }
  .warm-storybook .profile-intro h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .warm-storybook .profile-nav__scroll { width: calc(100% - 18px); margin-inline: auto; }
  .warm-storybook .profile-nav a { padding-inline: 13px; }

  .warm-storybook .memory-book-hero { padding-block: 42px 48px; }
  .warm-storybook .memory-book-hero h1 { font-size: clamp(2.25rem, 9.5vw, 5rem); }
  .warm-storybook .memory-book-catalogue { padding-top: 30px; }

  .warm-storybook .catalogue-filter--memory-book {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .warm-storybook .catalogue-filter--memory-book .search-field,
  .warm-storybook .catalogue-filter--memory-book .filter-submit { grid-column: 1 / -1; }

  .warm-storybook .contact-dialog {
    width: calc(100% - 16px);
    max-width: none;
    margin: auto 8px max(8px, env(safe-area-inset-bottom));
    padding: 25px 22px 22px;
    border-radius: 34px 34px 24px 24px;
  }
}

@media (min-width: 768px) {
  .warm-storybook .hero__visual { order: initial; }
}

@media (max-width: 359px) {
  .warm-storybook .brand__mark { width: 38px; height: 38px; }
  .warm-storybook .hero__copy::before { padding-inline: 10px; }
  .warm-storybook .profile-facts { grid-template-columns: 1fr; }
  .warm-storybook .profile-facts > div { min-height: 58px; }
}

@media (prefers-reduced-motion: no-preference) {
  .warm-storybook .hero-card { animation: warm-card-arrive .65s cubic-bezier(.2, .75, .25, 1) both; }
  .warm-storybook .hero-note { animation: warm-note-float 4.8s ease-in-out infinite; }
  .warm-storybook .hero-note--bottom { animation-delay: -2.4s; }
  .warm-storybook .contact-dialog[open] { animation: warm-sheet-in .26s ease-out both; }
}

@keyframes warm-card-arrive {
  from { opacity: 0; transform: translateY(18px) rotate(-1deg); }
  to { opacity: 1; transform: translateY(0) rotate(1.4deg); }
}

@keyframes warm-note-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes warm-sheet-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   Cat directory + life line
   The public experience now starts with cats, then tells each life in dates.
   -------------------------------------------------------------------------- */

.home-page--cat-first .home-catalogue__intro {
  padding-block: clamp(28px, 5vw, 62px) clamp(54px, 8vw, 90px);
  border-radius: 0 0 50px 28px;
  background:
    radial-gradient(circle at 92% 3%, rgba(247, 217, 138, .25), transparent 18rem),
    radial-gradient(circle at 5% 18%, rgba(243, 160, 128, .22), transparent 17rem),
    linear-gradient(150deg, #fff9f3, #fff3e9);
}

.home-page--cat-first .home-intro {
  display: grid;
  gap: 16px;
  align-items: end;
}

.home-page--cat-first .home-intro__copy { max-width: 720px; }
.home-page--cat-first .home-intro h1 {
  margin-bottom: 12px;
  color: var(--cocoa);
  font-size: clamp(2.25rem, 8vw, 4.7rem);
}
.home-page--cat-first .home-intro__lead { max-width: 650px; margin: 0; font-size: .96rem; line-height: 1.85; }

.home-page--cat-first .home-intro__aside {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(112, 75, 59, .11);
  border-radius: 18px 12px 18px 12px;
  background: rgba(255, 253, 249, .78);
  box-shadow: 0 10px 28px rgba(103, 68, 51, .06);
}
.home-page--cat-first .home-intro__paw {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--peach-pale);
  color: #9b4938;
}
.home-page--cat-first .home-intro__aside p { margin: 0; color: #6f554b; font-size: .76rem; }
.home-page--cat-first .home-intro__aside strong { color: #a44e3b; font-family: var(--serif); font-size: 1.15rem; }
.home-page--cat-first .home-intro__aside > span:last-child { margin-left: auto; color: #7c665d; font-size: .66rem; white-space: nowrap; }

.home-page--cat-first .home-kittens { margin-top: clamp(30px, 5vw, 58px); }
.home-page--cat-first .home-kittens__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.home-page--cat-first .home-kittens__heading h2 { margin: 0; color: var(--cocoa); font-size: clamp(1.9rem, 6vw, 3rem); }
.home-page--cat-first .home-kittens__hello { margin: 0 0 2px; color: #a34f3d; font-family: "STKaiti", "KaiTi", var(--serif); font-size: .78rem; font-weight: 700; }
.home-page--cat-first .home-kittens__all { flex: 0 0 auto; }

.home-page--cat-first .cat-grid--home-two-col,
.cat-list-page .cat-grid--memory-book {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-page--cat-first .cat-card--compact,
.cat-list-page .cat-card--compact {
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(118, 78, 60, .13);
  border-radius: 21px;
  background: #fffdf9;
  box-shadow: 0 12px 28px rgba(104, 69, 52, .09);
  transform: none;
}

.home-page--cat-first .cat-card--compact:hover,
.cat-list-page .cat-card--compact:hover { transform: translateY(-4px); }

.cat-card__link--whole {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

.cat-card--compact .cat-card__media { aspect-ratio: 4 / 5; }
.cat-card--compact .cat-card__media > img,
.cat-card--compact .cat-card__media > .media-placeholder { height: 100%; }
.cat-card--compact .cat-card__status {
  top: 8px;
  left: 8px;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .8);
  font-size: .61rem;
  letter-spacing: 0;
}
.cat-card--compact .cat-card__photo-corner { right: 8px; bottom: 8px; width: 30px; height: 30px; }

.cat-card--compact .cat-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px;
}
.cat-card--compact .cat-card__heading { display: block; }
.cat-card--compact .cat-card__meta {
  overflow: hidden;
  margin-bottom: 3px;
  color: #855b4f;
  font-size: .58rem;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-card--compact .cat-card__name { margin: 0; color: var(--cocoa); font-size: clamp(1.12rem, 4vw, 1.5rem); line-height: 1.18; }
.cat-card--compact .cat-card__age { display: block; padding-top: 3px; color: #79645b; font-size: .65rem; }
.cat-card--compact .cat-card__headline {
  display: -webkit-box;
  min-height: 3.25em;
  margin: 9px 0 10px;
  overflow: hidden;
  color: #715b52;
  font-size: .72rem;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.cat-card--compact .cat-card__tags { gap: 4px; }
.cat-card--compact .cat-card__tags li { padding: 3px 7px; font-size: .58rem; }
.cat-card--compact .cat-card__tags li:nth-child(odd) { background: var(--peach-pale); color: #8d4939; }
.cat-card--compact .cat-card__tags li:nth-child(even) { background: var(--sage-pale); color: #506b54; }
.cat-card--compact .cat-card__footer {
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
}
.cat-card--compact .cat-card__footer small { font-size: .56rem; }
.cat-card--compact .cat-card__footer strong { font-size: .82rem; }
.cat-card--compact .cat-card__record { font-size: .6rem; }
.cat-card--compact .cat-card__open { color: #994735; font-size: .64rem; font-weight: 750; white-space: nowrap; }
.cat-card--compact .cat-card__open b { margin-left: 2px; font-size: .78rem; }
.cat-card--compact .media-placeholder__illustration { width: 98px; height: 98px; }
.cat-card--compact .media-placeholder__cat { width: 80px; }
.cat-card--compact .media-placeholder__label { padding: 4px 7px; font-size: .62rem; letter-spacing: 0; }
.cat-card--compact .media-placeholder small { display: none; }

.home-page--cat-first .home-life-preview { background: #fffdf9; }
.home-page--cat-first .home-life-preview__layout { display: grid; gap: 36px; }
.home-page--cat-first .home-life-preview__copy { max-width: 600px; }
.home-page--cat-first .home-life-preview__copy h2 { color: var(--cocoa); font-size: clamp(2rem, 7vw, 3.4rem); }
.home-page--cat-first .home-life-preview__copy .button { margin-top: 8px; }

.home-page--cat-first .life-preview {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-page--cat-first .life-preview::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 15px;
  border-left: 2px dashed rgba(216, 120, 92, .34);
}
.home-page--cat-first .life-preview__event {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 3px 12px;
}
.home-page--cat-first .life-preview__dot {
  z-index: 1;
  grid-row: 1 / span 2;
  width: 14px;
  height: 14px;
  margin: 7px 0 0 9px;
  border: 3px solid #fffdf9;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 2px rgba(216, 120, 92, .22);
}
.home-page--cat-first .life-preview__event--birth .life-preview__dot { background: var(--clay); }
.home-page--cat-first .life-preview__date { color: #9a5745; font-size: .65rem; font-weight: 750; }
.home-page--cat-first .life-preview__card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid #efdcd0;
  border-radius: 19px 12px 19px 12px;
  background: #fff8f2;
}
.home-page--cat-first .life-preview__event:nth-child(2) .life-preview__card { background: #f1f5eb; }
.home-page--cat-first .life-preview__event:nth-child(3) .life-preview__card { background: #fff4d8; }
.home-page--cat-first .life-preview__icon { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #fff; color: #a64e3b; }
.home-page--cat-first .life-preview__card strong,
.home-page--cat-first .life-preview__card small { display: block; }
.home-page--cat-first .life-preview__card strong { color: var(--cocoa); font-family: var(--serif); font-size: .88rem; }
.home-page--cat-first .life-preview__card small { margin-top: 2px; color: #7d685e; font-size: .64rem; }

.home-page--cat-first .home-proof { border-radius: 38px 20px 38px 20px; }
.home-page--cat-first .closing-cta--compact { display: grid; gap: 20px; align-items: center; text-align: left; }
.home-page--cat-first .closing-cta--compact h2 { margin-bottom: 0; font-size: clamp(1.7rem, 6vw, 2.8rem); }
.home-page--cat-first .closing-cta--compact .closing-cta__actions { justify-content: flex-start; }

.warm-storybook .life-cover__birth {
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  background: rgba(82, 54, 45, .78);
  color: #fff9f3;
  box-shadow: 0 10px 25px rgba(60, 38, 30, .18);
  backdrop-filter: blur(8px);
}
.warm-storybook .life-cover__birth span { font-size: .64rem; letter-spacing: .08em; }
.warm-storybook .life-cover__birth time { font-family: var(--serif); font-size: .85rem; font-weight: 700; }

.warm-storybook .life-birth-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 22px;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  padding: 13px 14px;
  border: 2px solid #efd9cb;
  border-radius: 22px 14px 22px 14px;
  background: linear-gradient(135deg, #fff1e8, #fff8dd);
  box-shadow: 0 11px 27px rgba(103, 68, 51, .07);
}
.warm-storybook .life-birth-summary__mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--peach); color: #fff; }
.warm-storybook .life-birth-summary__copy small,
.warm-storybook .life-birth-summary__copy strong { display: block; }
.warm-storybook .life-birth-summary__copy small { color: #96604f; font-size: .61rem; }
.warm-storybook .life-birth-summary__copy strong { color: var(--cocoa); font-family: var(--serif); font-size: 1.05rem; }
.warm-storybook .life-birth-summary time { color: #744e40; font-size: .72rem; font-weight: 750; }
.warm-storybook .life-birth-summary__arrow { color: #a34d3b; font-size: 1rem; }

.warm-storybook .life-line {
  padding-top: clamp(52px, 7vw, 84px);
  background:
    radial-gradient(circle at 95% 4%, rgba(247, 217, 138, .2), transparent 17rem),
    linear-gradient(180deg, #faece1, #fff8f2);
}
.warm-storybook .life-line__layout { display: grid; gap: 34px; }
.warm-storybook .life-line__heading { max-width: 640px; margin-bottom: 0; }
.warm-storybook .life-line__heading h2 { color: var(--cocoa); font-size: clamp(2rem, 6.4vw, 3.2rem); line-height: 1.12; }
.warm-storybook .life-line__heading > p:last-of-type { max-width: 560px; color: #765e54; line-height: 1.82; }
.warm-storybook .life-line__start { display: inline-flex; align-items: center; gap: 9px; margin-top: 13px; padding: 7px 11px; border-radius: 999px; background: #fffdf9; color: #764c3d; box-shadow: 0 7px 18px rgba(103, 68, 51, .07); }
.warm-storybook .life-line__start span { padding: 3px 7px; border-radius: 999px; background: var(--peach-pale); color: #984936; font-size: .58rem; font-weight: 800; }
.warm-storybook .life-line__start strong { font-family: var(--serif); font-size: .78rem; }

.warm-storybook .timeline--lifeline {
  position: relative;
  margin: 0;
  padding: 0;
}
.warm-storybook .timeline--lifeline::before {
  top: 17px;
  bottom: 12px;
  left: 16px;
  width: 2px;
  border-radius: 0;
  background: repeating-linear-gradient(to bottom, var(--peach) 0 7px, transparent 7px 13px);
  opacity: .55;
}
.warm-storybook .timeline--lifeline .timeline__item {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 12px;
  padding-bottom: 32px;
}
.warm-storybook .timeline--lifeline .timeline__marker {
  z-index: 2;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 15px;
  height: 15px;
  margin: 7px 0 0 9px;
  border: 3px solid #faece1;
  background: var(--peach);
}
.warm-storybook .timeline--lifeline .timeline__marker--birth {
  display: grid;
  width: 32px;
  height: 32px;
  margin: 0 0 0 1px;
  place-items: center;
  border: 4px solid #fff8f1;
  background: var(--clay);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(216, 120, 92, .22), 0 8px 18px rgba(140, 73, 54, .2);
}
.warm-storybook .timeline--lifeline .timeline__marker--birth span { font-size: .8rem; }
.warm-storybook .timeline--lifeline .timeline__date {
  grid-column: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
.warm-storybook .timeline--lifeline .timeline__date time { color: #6a473c; font-family: var(--serif); font-size: 1rem; }
.warm-storybook .timeline--lifeline .timeline__date span { padding: 4px 8px; background: #fff1d0; color: #775326; font-size: .61rem; }
.warm-storybook .timeline--lifeline .timeline__card {
  grid-column: 2;
  overflow: hidden;
  padding: 15px;
  border: 1px solid #ead8cc;
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 10px 28px rgba(103, 66, 53, .08);
  transform: none;
}
.warm-storybook .timeline--lifeline .timeline__card--birth { display: flex; flex-direction: column; padding: 16px; border: 2px solid #eabca8; background: linear-gradient(145deg, #fffdf9, #fff1e6); }
.warm-storybook .life-milestone__intro { padding: 17px 3px 2px; }
.warm-storybook .life-milestone__intro h3 { margin-bottom: 8px; color: var(--cocoa); font-size: clamp(1.65rem, 6vw, 2.35rem); }
.warm-storybook .life-milestone__intro > p:last-child { margin-bottom: 0; }
.warm-storybook .life-milestone__media {
  order: -1;
  overflow: hidden;
  margin: 0 0 13px;
  border: 0;
  border-radius: 18px 11px 18px 11px;
  background: var(--paper-deep);
}
.warm-storybook .life-milestone__media img,
.warm-storybook .life-milestone__media video { width: 100%; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; }
.warm-storybook .life-milestone__media figcaption { padding: 9px 5px 1px; color: #765e54; font-size: .66rem; }
.warm-storybook .media-placeholder--timeline-birth { min-height: 235px; }
.warm-storybook .media-placeholder--timeline-birth + figcaption { padding-top: 10px; }
.warm-storybook .life-milestone__copy { padding: 2px 3px 3px; }
.warm-storybook .life-milestone__copy h3 { margin-bottom: 8px; color: var(--cocoa); font-size: 1.35rem; }
.warm-storybook .life-milestone__copy > p:last-child { margin-bottom: 0; }
.warm-storybook .life-milestone__media-pending {
  display: grid;
  min-height: 130px;
  margin-bottom: 14px;
  place-content: center;
  place-items: center;
  border: 1px dashed rgba(184, 95, 72, .25);
  border-radius: 18px 11px 18px 11px;
  background:
    radial-gradient(circle at 20% 20%, rgba(243, 160, 128, .12), transparent 7rem),
    #fff7f0;
  color: #9b5543;
}
.warm-storybook .life-milestone__media-pending span { font-size: 1.4rem; }
.warm-storybook .life-milestone__media-pending small { margin-top: 4px; font-size: .67rem; }
.warm-storybook .life-line__continuation { margin: -4px 0 26px 46px; background: rgba(255, 253, 249, .72); }
.warm-storybook .profile-identity-card--secondary { margin: 0 0 20px; }
.warm-storybook .price-panel--secondary { margin: 0 0 20px; }

@media (min-width: 620px) {
  .home-page--cat-first .cat-grid--home-two-col,
  .cat-list-page .cat-grid--memory-book { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .home-page--cat-first .home-intro { grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: 32px; }
  .home-page--cat-first .home-intro__aside { display: grid; grid-template-columns: 42px 1fr; }
  .home-page--cat-first .home-intro__aside > span:last-child { grid-column: 2; margin: -7px 0 0; }
}

@media (min-width: 800px) {
  .home-page--cat-first .home-life-preview__layout { grid-template-columns: minmax(0, .82fr) minmax(400px, 1.18fr); gap: clamp(55px, 8vw, 105px); align-items: center; }
  .home-page--cat-first .closing-cta--compact { grid-template-columns: minmax(0, 1fr) auto; }
  .home-page--cat-first .closing-cta--compact .closing-cta__actions { justify-content: flex-end; }

  .warm-storybook .life-line__layout { grid-template-columns: minmax(230px, .56fr) minmax(0, 1.44fr); gap: clamp(48px, 7vw, 95px); }
  .warm-storybook .life-line__heading { position: sticky; top: calc(var(--header-height) + 72px); align-self: start; }
  .warm-storybook .life-line__stream { max-width: 760px; }
  .warm-storybook .timeline--lifeline .timeline__card { padding: 20px; }
  .warm-storybook .timeline--lifeline .timeline__card--birth { padding: 20px; }
  .warm-storybook .timeline--lifeline .timeline__card--birth.life-milestone__card--has-media {
    display: grid;
    grid-template-columns: minmax(290px, .95fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: center;
  }
  .warm-storybook .timeline--lifeline .timeline__card--birth.life-milestone__card--has-media > .moment-media {
    margin: 0;
  }
  .warm-storybook .timeline--lifeline .timeline__card--birth.life-milestone__card--has-media > .moment-media--multiple {
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .warm-storybook .timeline--lifeline .life-milestone__card--has-media:not(.timeline__card--birth) {
    display: grid;
    grid-template-columns: minmax(245px, .9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: center;
  }
  .warm-storybook .timeline--lifeline .life-milestone__card--has-media:not(.timeline__card--birth) > .moment-media {
    margin: 0;
  }
  .warm-storybook .timeline--lifeline .life-milestone__card--has-media:not(.timeline__card--birth) > .moment-media--multiple {
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
}

@media (min-width: 960px) {
  .home-page--cat-first .cat-grid--home-two-col,
  .cat-list-page .cat-grid--memory-book { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
}

@media (max-width: 619px) {
  .home-page--cat-first .home-intro__aside > span:last-child { display: none; }
  .home-page--cat-first .home-kittens__all { font-size: .72rem; }
  .home-page--cat-first .home-life-preview { padding-block: 62px; }
  .home-page--cat-first .closing-cta--compact { padding-inline: 22px; text-align: center; }
  .home-page--cat-first .closing-cta--compact .closing-cta__actions { justify-content: center; }

  .warm-storybook .life-cover__birth { bottom: 11px; padding: 9px 11px; }
  .warm-storybook .life-birth-summary { grid-template-columns: 38px minmax(0, 1fr) 20px; }
  .warm-storybook .life-birth-summary__mark { width: 38px; height: 38px; }
  .warm-storybook .life-birth-summary time { grid-column: 2; }
  .warm-storybook .life-birth-summary__arrow { grid-column: 3; grid-row: 1 / span 2; }
  .warm-storybook .life-line__heading { margin-bottom: 2px; }
}

@media (max-width: 359px) {
  .home-page--cat-first .home-catalogue__intro { padding-top: 22px; }
  .home-page--cat-first .home-intro h1 { font-size: 2rem; }
  .home-page--cat-first .home-kittens__heading { align-items: center; }
  .home-page--cat-first .home-kittens__hello { display: none; }
  .home-page--cat-first .home-kittens__heading h2 { font-size: 1.65rem; }
  .home-page--cat-first .cat-grid--home-two-col,
  .cat-list-page .cat-grid--memory-book { gap: 8px; }
  .cat-card--compact .cat-card__body { padding: 9px; }
  .cat-card--compact .cat-card__status { max-width: calc(100% - 16px); overflow: hidden; font-size: .54rem; text-overflow: ellipsis; white-space: nowrap; }
  .cat-card--compact .cat-card__meta { font-size: .51rem; }
  .cat-card--compact .cat-card__name { font-size: 1.02rem; }
  .cat-card--compact .cat-card__age { font-size: .58rem; }
  .cat-card--compact .cat-card__headline { margin-block: 7px; font-size: .66rem; }
  .cat-card--compact .cat-card__tags { display: none; }
  .cat-card--compact .cat-card__footer { padding-top: 7px; }
  .cat-card--compact .cat-card__open { font-size: 0; }
  .cat-card--compact .cat-card__open b { font-size: .86rem; }
  .cat-card--compact .media-placeholder__illustration { width: 78px; height: 78px; }
  .cat-card--compact .media-placeholder__cat { width: 65px; }
  .cat-card--compact .media-placeholder__label { font-size: .55rem; }

  .warm-storybook .life-cover__birth { right: 9px; left: 9px; }
  .warm-storybook .life-cover__birth span { display: none; }
  .warm-storybook .timeline--lifeline .timeline__item { grid-template-columns: 31px minmax(0, 1fr); gap: 0 9px; }
  .warm-storybook .timeline--lifeline::before { left: 14px; }
  .warm-storybook .timeline--lifeline .timeline__marker { margin-left: 7px; }
  .warm-storybook .timeline--lifeline .timeline__marker--birth { width: 29px; height: 29px; margin-left: 0; }
  .warm-storybook .timeline--lifeline .timeline__date { flex-direction: column; align-items: flex-start; gap: 4px; }
  .warm-storybook .timeline--lifeline .timeline__card { padding: 12px; }
  .warm-storybook .life-line__continuation { margin-left: 40px; }
}

/* --------------------------------------------------------------------------
   Life overview scrubber
   A touch-first horizontal summary paired with the detailed vertical story.
   -------------------------------------------------------------------------- */

.warm-storybook .lifeline-scrubber {
  margin: 0 0 34px;
  padding: 16px 0 8px;
  border-block: 1px solid rgba(116, 76, 59, .11);
}

.warm-storybook .lifeline-scrubber__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 2px;
}

.warm-storybook .lifeline-scrubber__header .eyebrow { margin-bottom: 3px; }
.warm-storybook .lifeline-scrubber__header h3 {
  margin: 0;
  color: var(--cocoa);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
}
.warm-storybook .lifeline-scrubber__header > p {
  max-width: 270px;
  margin: 0;
  color: #82685e;
  font-size: .68rem;
  line-height: 1.65;
  text-align: right;
}

.warm-storybook .lifeline-scrubber__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 10px;
  padding-block: 14px 20px;
  cursor: grab;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
.warm-storybook .lifeline-scrubber__viewport::-webkit-scrollbar { display: none; }
.warm-storybook .lifeline-scrubber__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}
.warm-storybook .lifeline-scrubber__viewport.is-dragging a { pointer-events: none; }

.warm-storybook .lifeline-scrubber__track {
  display: flex;
  min-width: max-content;
  align-items: stretch;
  gap: 11px;
  margin: 0;
  padding: 0 calc(50% - 70px);
  list-style: none;
}

.warm-storybook .lifeline-scrubber__point {
  position: relative;
  z-index: 1;
  width: 140px;
  flex: 0 0 140px;
  opacity: .58;
  scroll-snap-align: center;
  transform: scale(.91);
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}
.warm-storybook .lifeline-scrubber__point::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 43px;
  left: 74%;
  width: calc(100% + 12px);
  border-top: 2px dashed rgba(216, 120, 92, .3);
}
.warm-storybook .lifeline-scrubber__point:last-child::after { display: none; }
.warm-storybook .lifeline-scrubber__point.is-active {
  z-index: 3;
  opacity: 1;
  transform: scale(1.04);
}
.warm-storybook .lifeline-scrubber__point:focus-within { z-index: 2; opacity: .82; }

.warm-storybook .lifeline-scrubber__link {
  display: grid;
  height: 100%;
  min-height: 180px;
  grid-template-rows: 82px auto auto 1fr;
  padding: 8px;
  border: 1px solid rgba(122, 82, 64, .12);
  border-radius: 19px 12px 19px 12px;
  background: rgba(255, 253, 249, .88);
  color: inherit;
  box-shadow: 0 9px 22px rgba(105, 69, 52, .06);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.warm-storybook .lifeline-scrubber__point.is-active .lifeline-scrubber__link {
  border-color: #dc9b83;
  background: #fff9f3;
  box-shadow: 0 15px 30px rgba(125, 72, 52, .14);
}
.warm-storybook .lifeline-scrubber__link:focus-visible {
  outline: 3px solid rgba(216, 120, 92, .3);
  outline-offset: 3px;
}
.warm-storybook .lifeline-scrubber__point--birth .lifeline-scrubber__link {
  background: linear-gradient(145deg, #fff2e8, #fff9e6);
}

.warm-storybook .lifeline-scrubber__thumb {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 76px;
  border-radius: 14px 9px 14px 9px;
  background: #f8e9dc;
}
.warm-storybook .lifeline-scrubber__thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.warm-storybook .lifeline-scrubber__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  place-items: center;
  background:
    radial-gradient(circle at 22% 18%, rgba(243, 160, 128, .17), transparent 3.8rem),
    linear-gradient(145deg, #fff0e7, #f2ede1);
  color: #9b5644;
}
.warm-storybook .lifeline-scrubber__placeholder > span { font-size: 1.15rem; line-height: 1; }
.warm-storybook .lifeline-scrubber__placeholder small { margin-top: 4px; font-size: .54rem; }
.warm-storybook .lifeline-scrubber__date { margin-top: 8px; color: #6c493e; font-family: var(--serif); font-size: .72rem; font-weight: 750; }
.warm-storybook .lifeline-scrubber__meta {
  overflow: hidden;
  margin-top: 2px;
  color: #9a6757;
  font-size: .54rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.warm-storybook .lifeline-scrubber__title {
  display: -webkit-box;
  align-self: end;
  margin-top: 7px;
  overflow: hidden;
  color: var(--cocoa);
  font-family: var(--serif);
  font-size: .82rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.warm-storybook .timeline--lifeline .life-milestone { scroll-margin-top: calc(var(--header-height) + 72px); }

@media (min-width: 620px) {
  .warm-storybook .lifeline-scrubber__track { gap: 14px; padding-inline: calc(50% - 82px); }
  .warm-storybook .lifeline-scrubber__point { width: 164px; flex-basis: 164px; }
  .warm-storybook .lifeline-scrubber__link { min-height: 196px; grid-template-rows: 92px auto auto 1fr; }
  .warm-storybook .lifeline-scrubber__thumb { height: 86px; }
}

@media (max-width: 619px) {
  .warm-storybook .lifeline-scrubber { margin-inline: -2px; margin-bottom: 28px; padding-top: 13px; }
  .warm-storybook .lifeline-scrubber__header { align-items: flex-start; flex-direction: column; gap: 7px; }
  .warm-storybook .lifeline-scrubber__header > p { max-width: 270px; font-size: .64rem; line-height: 1.55; text-align: left; }
}

@media (max-width: 359px) {
  .warm-storybook .lifeline-scrubber__track { padding-inline: calc(50% - 63px); }
  .warm-storybook .lifeline-scrubber__point { width: 126px; flex-basis: 126px; }
  .warm-storybook .lifeline-scrubber__link { min-height: 168px; grid-template-rows: 70px auto auto 1fr; padding: 7px; }
  .warm-storybook .lifeline-scrubber__thumb { height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .warm-storybook .lifeline-scrubber__point,
  .warm-storybook .lifeline-scrubber__link { transition: none; }
}

/* --------------------------------------------------------------------------
   Cat-first home + dedicated contact page
   Keep the mobile opening compact enough that the cats are the first subject.
   -------------------------------------------------------------------------- */

.home-page--cat-first {
  padding-bottom: calc(var(--mobile-cta-height, 60px) + 24px + env(safe-area-inset-bottom));
}
.home-page--cat-first .home-catalogue__intro {
  min-height: calc(100dvh - var(--header-height));
  padding-block: 18px 46px;
  border-radius: 0;
}
.home-page--cat-first .home-intro--cat-first {
  display: block;
  max-width: 720px;
}
.home-page--cat-first .home-intro__kicker {
  margin-bottom: 5px;
  font-size: .61rem;
}
.home-page--cat-first .home-intro--cat-first h1 {
  margin: 0 0 4px;
  font-size: clamp(1.55rem, 7vw, 2.35rem);
  line-height: 1.16;
}
.home-page--cat-first .home-intro--cat-first .home-intro__lead {
  display: -webkit-box;
  max-width: 620px;
  margin: 0;
  overflow: hidden;
  color: #80675d;
  font-size: .76rem;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-page--cat-first .home-kittens { margin-top: 17px; }

.home-contact-float {
  position: fixed;
  z-index: 88;
  right: 12px;
  bottom: max(11px, env(safe-area-inset-bottom));
  left: 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
  max-width: 430px;
  min-height: 60px;
  margin-inline: auto;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 21px 14px 21px 14px;
  background: linear-gradient(135deg, #aa513f, #c66e53);
  color: #fffaf5;
  box-shadow: 0 15px 36px rgba(91, 50, 37, .28);
}
.home-contact-float:hover { color: #fff; transform: translateY(-2px); }
.home-contact-float:focus-visible { outline: 3px solid rgba(216, 120, 92, .3); outline-offset: 3px; }
.home-contact-float__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .17);
  font-family: var(--serif);
  font-size: 1.05rem;
}
.home-contact-float__copy { display: flex; min-width: 0; flex-direction: column; }
.home-contact-float__copy strong { overflow: hidden; font-family: var(--serif); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.home-contact-float__copy small { margin-top: 1px; color: rgba(255, 250, 245, .8); font-size: .58rem; }
.home-contact-float__arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff7ed;
  color: #9e4939;
  font-weight: 800;
}
.home-page--cat-first .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

.contact-page__section {
  min-height: calc(100dvh - var(--header-height));
  padding-block: 16px clamp(42px, 7vh, 72px);
  background:
    radial-gradient(circle at 8% 8%, rgba(243, 160, 128, .17), transparent 16rem),
    radial-gradient(circle at 92% 11%, rgba(247, 217, 138, .2), transparent 18rem),
    linear-gradient(150deg, #fffaf5, #fff1e7);
}
.contact-page__shell { max-width: 980px; }
.contact-page__topbar {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 90px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(184, 95, 72, .14);
  border-radius: 24px 24px 18px 24px;
  background:
    radial-gradient(circle at 97% 14%, rgba(247, 217, 138, .28), transparent 88px),
    rgba(255, 251, 246, .78);
  box-shadow: 0 12px 30px rgba(101, 60, 45, .09);
  isolation: isolate;
}
.contact-page__topbar::after {
  content: "♡";
  position: absolute;
  z-index: -1;
  right: 14px;
  bottom: -18px;
  color: rgba(201, 109, 85, .09);
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 1;
  pointer-events: none;
}
.contact-page__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.contact-page .contact-page__identity-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-width: 2px;
  box-shadow: 0 6px 14px rgba(70, 34, 27, .16);
}
.contact-page__identity-copy { min-width: 0; }
.contact-page__identity-copy .eyebrow {
  margin: 0 0 1px;
  overflow: hidden;
  color: #9f503f;
  font-size: .53rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-page__identity-copy h2 {
  margin: 0;
  overflow: hidden;
  color: var(--cocoa);
  font-size: 1rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: #85594b;
  font-size: .72rem;
  font-weight: 750;
}
.contact-page__back span { font-size: 1rem; }
.contact-page__intro { min-width: 0; }
.contact-page__intro h1 {
  margin: 0 0 3px;
  color: var(--cocoa);
  font-size: clamp(1.3rem, 5vw, 1.65rem);
  line-height: 1.12;
}
.contact-page__intro > p {
  max-width: 570px;
  margin: 0;
  color: #755e55;
  font-size: .66rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}
.contact-page__layout {
  width: 100%;
  max-width: 340px;
  min-width: 0;
  margin-inline: auto;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 5vw, 34px);
  border: 1px solid rgba(116, 76, 59, .13);
  border-radius: 30px 18px 30px 18px;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 20px 55px rgba(106, 66, 48, .12);
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -45px;
  right: -38px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(247, 217, 138, .23);
}
.contact-card__heading { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.contact-card__mark { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--peach-pale); color: #a04d3a; font-size: 1.1rem; }
.contact-card__heading .eyebrow { margin-bottom: 2px; }
.contact-card__heading h2 { margin: 0; color: var(--cocoa); font-size: 1.35rem; }
.contact-card__qr { width: min(100%, 290px); border-color: #ead4c7; background: #fff; }
.contact-card__qr figcaption { padding: 10px 3px 1px; color: #826b61; font-size: .62rem; line-height: 1.5; text-align: center; }
.contact-card__qr-pending {
  display: grid;
  min-height: 230px;
  place-content: center;
  place-items: center;
  border: 1px dashed rgba(184, 95, 72, .25);
  border-radius: 22px 14px 22px 14px;
  background: linear-gradient(145deg, #fff0e7, #f3eee3);
  color: #8d5849;
  text-align: center;
}
.contact-card__qr-pending > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #fff9f3; color: #a44d3a; font-size: 1.35rem; }
.contact-card__qr-pending strong,
.contact-card__qr-pending small { display: block; }
.contact-card__qr-pending strong { margin-top: 12px; font-family: var(--serif); font-size: .88rem; }
.contact-card__qr-pending small { margin-top: 4px; color: #96796e; font-size: .61rem; }
.contact-card__wechat-id { margin-top: 15px; }
.contact-card__empty { margin: 15px 0 0; padding: 13px; border-radius: 14px; background: #fff5eb; color: #80675d; font-size: .72rem; text-align: center; }
.contact-card__privacy { margin: 14px 0 0; color: #8b7268; font-size: .62rem; line-height: 1.6; text-align: center; }

@media (min-width: 768px) {
  .home-page--cat-first { padding-bottom: 0; }
  .home-page--cat-first .home-catalogue__intro { padding-block: 26px 70px; }
  .home-page--cat-first .home-intro--cat-first h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
  .home-page--cat-first .home-kittens { margin-top: 24px; }
  .home-contact-float {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: min(340px, calc(100% - 48px));
    margin: 0;
  }
  .contact-page__section { padding-block: 34px 92px; }
  .contact-page__shell {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(360px, 1.18fr);
    align-items: start;
    gap: clamp(42px, 7vw, 84px);
  }
  .contact-page__topbar {
    position: sticky;
    top: calc(var(--header-height) + 26px);
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 0;
    padding: 26px;
    border-radius: 30px 30px 20px 30px;
  }
  .contact-page__intro h1 { font-size: clamp(2rem, 3.2vw, 2.45rem); }
  .contact-page__intro > p { max-width: 360px; font-size: .73rem; line-height: 1.72; }
  .contact-page__layout { max-width: 360px; }
}

@media (max-width: 359px) {
  .home-page--cat-first .home-catalogue__intro { padding-top: 14px; }
  .home-page--cat-first .home-intro--cat-first h1 { font-size: 1.45rem; }
  .home-page--cat-first .home-intro--cat-first .home-intro__lead { font-size: .7rem; }
  .home-contact-float { grid-template-columns: 34px minmax(0, 1fr) 28px; min-height: 56px; }
  .home-contact-float__icon { width: 34px; height: 34px; }
}

/* --------------------------------------------------------------------------
   Compact cat cards + important moments
   Mobile prioritises four cats; detail pages progressively load rich media.
   -------------------------------------------------------------------------- */

.cat-card--compact { position: relative; }
.cat-card__personality-tags {
  position: absolute;
  z-index: 2;
  bottom: 7px;
  left: 7px;
  display: flex;
  max-width: calc(100% - 14px);
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cat-card__personality-tags li {
  overflow: hidden;
  max-width: 7em;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  background: rgba(255, 250, 245, .88);
  color: #75483c;
  font-size: .55rem;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(75, 54, 46, .12);
  backdrop-filter: blur(7px);
}
@media (max-width: 619px) {
  .cat-card__personality-tags li:nth-child(n + 3) { display: none; }
}

.cat-detail-page { padding-bottom: 0; }
.cat-detail-page .toast { bottom: calc(20px + env(safe-area-inset-bottom)); }

.moment--birth { --moment-color: #c56049; --moment-soft: #ffe6d9; --moment-ink: #8b4434; }
.moment--growth { --moment-color: #d5943f; --moment-soft: #fff0c9; --moment-ink: #77531e; }
.moment--health { --moment-color: #668a70; --moment-soft: #e3eee2; --moment-ink: #43614a; }
.moment--genetic { --moment-color: #7b749b; --moment-soft: #ece8f5; --moment-ink: #595272; }
.moment--family { --moment-color: #bd7359; --moment-soft: #f9e7dd; --moment-ink: #7e4938; }
.moment--home { --moment-color: #9b7b47; --moment-soft: #f7edcf; --moment-ink: #6d542e; }
.moment--daily { --moment-color: #8b729d; --moment-soft: #eee6f3; --moment-ink: #654f73; }
.moment--weight { --moment-color: #63849a; --moment-soft: #e2edf3; --moment-ink: #446275; }

.warm-storybook .lifeline-scrubber__point.moment .lifeline-scrubber__link {
  border-top: 3px solid var(--moment-color);
}
.warm-storybook .lifeline-scrubber__point.moment.is-active .lifeline-scrubber__link,
.warm-storybook .lifeline-scrubber__point.moment .lifeline-scrubber__link:focus-visible {
  border-color: var(--moment-color);
  outline-color: color-mix(in srgb, var(--moment-color) 24%, transparent);
}
.warm-storybook .lifeline-scrubber__point.moment .lifeline-scrubber__placeholder {
  background: linear-gradient(145deg, var(--moment-soft), #fffaf5);
  color: var(--moment-ink);
}
.warm-storybook .lifeline-scrubber__point.moment .lifeline-scrubber__fact {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  place-items: center;
  background: linear-gradient(145deg, var(--moment-soft), #fffaf5);
  color: var(--moment-ink);
}
.warm-storybook .lifeline-scrubber__fact > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--moment-color) 25%, transparent);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  font-family: var(--serif);
  font-size: .85rem;
  font-weight: 750;
}
.warm-storybook .lifeline-scrubber__fact small { margin-top: 4px; font-size: .53rem; }
.warm-storybook .lifeline-scrubber__point.moment .lifeline-scrubber__meta { color: var(--moment-ink); }
.warm-storybook .timeline--lifeline .moment .timeline__marker {
  background: var(--moment-color);
  box-shadow: 0 0 0 1px var(--moment-color);
}
.warm-storybook .timeline--lifeline .moment .moment__category {
  background: var(--moment-soft);
  color: var(--moment-ink);
}
.warm-storybook .timeline--lifeline .moment .timeline__card {
  border-top: 3px solid var(--moment-color);
}
.warm-storybook .timeline--lifeline .moment--birth .timeline__marker--birth {
  border-color: #fff8f1;
  background: var(--moment-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--moment-color) 24%, transparent), 0 8px 18px rgba(140, 73, 54, .2);
}

/* The final timeline point opens the story toward a future home. */
.warm-storybook .timeline--lifeline .timeline__item--future {
  padding-top: 8px;
  padding-bottom: 0;
}
.warm-storybook .timeline--lifeline .timeline__marker--future {
  display: grid;
  width: 32px;
  height: 32px;
  margin: 0 0 0 1px;
  place-items: center;
  border: 4px solid #fff8f1;
  background: linear-gradient(145deg, #c76650, #9f4637);
  box-shadow: 0 0 0 4px rgba(215, 122, 93, .2), 0 9px 20px rgba(116, 61, 45, .2);
  color: #fffaf5;
}
.timeline__future-paw {
  font-size: .72rem;
  line-height: 1;
}
.warm-storybook .timeline--lifeline .timeline-future__date {
  min-height: 32px;
  margin-bottom: 11px;
}
.warm-storybook .timeline--lifeline .timeline-future__date span {
  background: #ffe4d4;
  color: #8e4536;
  font-weight: 800;
  letter-spacing: .08em;
}
.warm-storybook .timeline-future__card {
  position: relative;
  grid-column: 2;
  overflow: hidden;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(154, 84, 62, .15);
  border-top: 4px solid #c96d55;
  border-radius: 29px 18px 29px 18px;
  background:
    radial-gradient(circle at 89% 13%, rgba(255, 255, 255, .66) 0 2.2rem, transparent 2.25rem),
    radial-gradient(circle at 12% 105%, rgba(247, 203, 137, .28), transparent 12rem),
    linear-gradient(145deg, #fff8ef 0%, #ffe9dc 58%, #fff1d2 100%);
  box-shadow: 0 18px 42px rgba(104, 63, 47, .12);
}
.warm-storybook .timeline-future__card::before,
.warm-storybook .timeline-future__card::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 18px;
  border-radius: 60% 60% 45% 45%;
  background: rgba(182, 91, 70, .1);
  transform: rotate(-24deg);
}
.warm-storybook .timeline-future__card::before { right: 54px; bottom: 29px; }
.warm-storybook .timeline-future__card::after { right: 34px; bottom: 17px; transform: rotate(21deg) scale(.8); }
.timeline-future__stamp {
  position: absolute;
  top: 17px;
  right: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(164, 76, 56, .2);
  border-radius: 999px;
  background: rgba(255, 253, 249, .64);
  color: #a24d3b;
  font-size: .55rem;
  font-weight: 850;
  letter-spacing: .1em;
  transform: rotate(2deg);
}
.warm-storybook .timeline-future__card .eyebrow {
  margin: 0 0 8px;
  color: #a24d3b;
}
.warm-storybook .timeline-future__card h3 {
  max-width: 510px;
  margin: 0 0 12px;
  color: #60382e;
  font-size: clamp(1.65rem, 5vw, 2.45rem);
  line-height: 1.18;
}
.warm-storybook .timeline-future__card > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #71584e;
  font-size: .77rem;
  line-height: 1.82;
}
.timeline-future__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 11px 17px;
  border-radius: 16px 11px 16px 11px;
  background: #a64b3a;
  box-shadow: 0 10px 22px rgba(142, 64, 47, .2);
  color: #fff;
  font-size: .72rem;
  font-weight: 820;
}
.timeline-future__link:hover { background: #934133; color: #fff; }
.timeline-future__link:focus-visible { outline-color: #71382f; }
.timeline-future__link span { font-size: .95rem; }
.timeline-future__note {
  display: block;
  max-width: 520px;
  margin-top: 13px;
  color: #8c746a;
  font-size: .62rem;
  line-height: 1.65;
}

@media (max-width: 619px) {
  .warm-storybook .timeline-future__card { padding: 23px 18px 21px; }
  .timeline-future__stamp { top: 13px; right: 13px; }
  .warm-storybook .timeline-future__card .eyebrow { padding-right: 76px; }
  .warm-storybook .timeline-future__card h3 { font-size: clamp(1.48rem, 7.3vw, 1.9rem); }
  .timeline-future__link { width: 100%; justify-content: space-between; }
}

@media (max-width: 359px) {
  .warm-storybook .timeline--lifeline .timeline__marker--future { width: 29px; height: 29px; margin-left: 0; }
  .warm-storybook .timeline-future__card { padding-inline: 15px; }
  .timeline-future__stamp { position: static; display: inline-flex; margin-bottom: 9px; transform: none; }
  .warm-storybook .timeline-future__card .eyebrow { padding-right: 0; }
}

.moment-media {
  order: -1;
  min-width: 0;
  margin: 0 0 14px;
}
.moment-media--multiple {
  display: grid;
  overflow-x: auto;
  grid-auto-flow: column;
  grid-auto-columns: minmax(84%, 1fr);
  gap: 9px;
  padding: 2px 2px 9px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.moment-media .moment-media__item {
  min-width: 0;
  margin: 0;
  scroll-snap-align: center;
}
.moment-media__item--video { position: relative; background: #332720; }
.moment-media__item img,
.moment-media__item video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.moment-media__item video { background: #2f2622; }
.warm-storybook .timeline__card--birth > .moment-media { order: -1; }

.deferred-video-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(68, 46, 38, .82);
  box-shadow: 0 9px 24px rgba(38, 25, 20, .23);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(9px);
}
.deferred-video-button:hover { background: rgba(143, 68, 52, .94); }
.deferred-video-button[hidden] { display: none !important; }
.deferred-video-button[aria-busy="true"] { cursor: progress; opacity: .86; }
.deferred-video-button:disabled { color: #fff; }
.deferred-video-button:focus-visible { outline: 3px solid rgba(255, 244, 232, .86); outline-offset: 3px; }
.deferred-video-button span { font-size: .66rem; }
.media-gallery__item--video { position: relative; }

.detail-home-button { display: none; }

.detail-contact__heading { position: relative; display: flex; align-items: center; gap: 13px; }
.detail-contact__heading .home-panel__mark { width: 54px; height: 54px; margin: 0; }
.detail-contact__heading .eyebrow { margin-bottom: 2px; color: rgba(255, 250, 244, .68); }
.detail-contact__heading h3 { margin: 0; }
.detail-contact__lead { margin: 15px 0 17px; }
.detail-contact__qr {
  width: min(100%, 250px);
  margin: 0 auto 15px;
  padding: 10px;
  border-radius: 19px;
  background: #fffdf9;
}
.detail-contact__qr img { width: 100%; height: auto; border-radius: 10px; }
.detail-contact__qr figcaption { padding: 8px 3px 0; color: #765e54; font-size: .61rem; line-height: 1.5; text-align: center; }
.detail-contact__wechat-id { margin: 0; background: rgba(255, 253, 249, .95); }
.detail-contact__wechat-id span { color: #846b61; }
.detail-contact__wechat-id strong { color: var(--cocoa); overflow-wrap: anywhere; }
.detail-contact__wechat-id button { background: var(--clay); }
.detail-contact__pending {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, .3);
  border-radius: 17px 11px 17px 11px;
  background: rgba(255, 250, 244, .1);
}
.detail-contact__pending > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.detail-contact__pending strong,
.detail-contact__pending small { display: block; }
.detail-contact__pending strong { color: #fffaf4; font-family: var(--serif); font-size: .8rem; }
.detail-contact__pending small { margin-top: 2px; color: rgba(255, 250, 244, .65); font-size: .59rem; }
.detail-contact__privacy { margin: 10px 0 0; color: rgba(255, 250, 244, .58); font-size: .58rem; text-align: center; }
.detail-contact__more { display: inline-flex; margin-top: 17px; }

@media (max-width: 619px) {
  .home-page--cat-first .home-catalogue__intro { padding-block: 9px 26px; }
  .home-page--cat-first .home-intro__kicker { margin-bottom: 3px; font-size: .52rem; }
  .home-page--cat-first .home-intro--cat-first h1 { margin-bottom: 2px; font-size: 1.35rem; line-height: 1.12; }
  .home-page--cat-first .home-intro--cat-first .home-intro__lead {
    display: block;
    overflow: hidden;
    font-size: .65rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-page--cat-first .home-kittens { margin-top: 10px; }
  .home-page--cat-first .cat-grid--home-two-col,
  .cat-list-page .cat-grid--memory-book { gap: 8px; }
  .home-page--cat-first .cat-card--compact,
  .cat-list-page .cat-card--compact { border-radius: 17px 11px 17px 11px; }
  /* Keep the photo dominant without losing the two-column, near-four-card view. */
  .cat-card--compact .cat-card__media { aspect-ratio: 4 / 5; }
  .cat-card--compact .cat-card__body { flex: 0 0 auto; padding: 8px 9px 9px; }
  .cat-card--compact .cat-card__meta,
  .cat-card--compact .cat-card__age,
  .cat-card--compact .cat-card__footer { display: none; }
  .cat-card--compact .cat-card__name {
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cat-card--compact .cat-card__headline {
    display: block;
    min-height: 0;
    margin: 4px 0 0;
    overflow: hidden;
    font-size: .62rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cat-card--compact .cat-card__status { top: 6px; left: 6px; min-height: 21px; padding: 3px 6px; font-size: .52rem; }
  .cat-card--compact .cat-card__photo-corner { display: none; }

  .contact-card { padding: 14px; border-radius: 22px 14px 22px 14px; }
  .contact-card__heading { gap: 9px; margin-bottom: 10px; }
  .contact-card__mark { width: 38px; height: 38px; }
  .contact-card__heading h2 { font-size: 1.08rem; }
  .contact-card__heading .eyebrow { font-size: .54rem; }
  .contact-card__qr { width: min(100%, 210px); padding: 8px; }
  .contact-card__qr figcaption { padding-top: 6px; }
  .contact-card__qr-pending { min-height: 175px; }
  .contact-card__qr-pending > span { width: 44px; height: 44px; }
  .contact-card__qr-pending strong { margin-top: 8px; }
  .contact-card__wechat-id { margin-top: 10px; }
  .contact-card__privacy { margin-top: 9px; }
}

@media (min-width: 620px) {
  .moment-media--multiple {
    overflow: visible;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }
}

/* The public header stays compact until the two-column contact layout begins. */
@media (max-width: 767px) {
  .contact-page__section {
    min-height: auto;
    padding-block: 12px 44px;
  }
}

@media (max-width: 359px) {
  .home-page--cat-first .home-intro__kicker { display: none; }
  .home-page--cat-first .home-intro--cat-first h1 { font-size: 1.2rem; }
  .home-page--cat-first .home-kittens { margin-top: 8px; }
  .cat-card--compact .cat-card__name { font-size: .91rem; }
  .cat-card--compact .cat-card__headline { font-size: .57rem; }
  .contact-page__identity { gap: 7px; }
  .contact-page .contact-page__identity-avatar { width: 42px; height: 42px; flex-basis: 42px; }
  .contact-page__identity-copy h2 { font-size: .91rem; }
}

/*
 * The published PNG already contains the complete warm frame and protected
 * white QR area.  The page therefore renders that artifact as one visual:
 * no extra stage, panel or padding can create a frame-within-a-frame effect.
 */
.contact-card__qr.cute-qr {
  width: min(100%, 320px);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.contact-card__qr.cute-qr .cute-qr__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 15 / 16;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 10px 26px rgba(106, 66, 48, .1);
}
.contact-card__qr.cute-qr .cute-qr__caption {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  margin-top: -8px;
  padding: 16px 14px 12px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(145deg, #f9cbbb, #f4bda9);
  color: #81685e;
  line-height: 1.5;
  text-align: center;
}
.contact-card__qr.cute-qr .cute-qr__caption strong,
.contact-card__qr.cute-qr .cute-qr__caption span { display: block; }
.contact-card__qr.cute-qr .cute-qr__caption strong {
  margin-top: 1px;
  color: #733e34;
  font-family: var(--serif);
  font-size: .68rem;
}
.contact-card__qr.cute-qr .cute-qr__caption span { color: #815449; font-size: .59rem; }
.contact-card__qr-pending.cute-qr-pending {
  border-style: dashed;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, .78) 0 5px, transparent 6px),
    linear-gradient(145deg, #fff0e7, #f3eee3);
}

/*
 * On the unified contact page the generated peach QR artwork is the only
 * framed object.  The contact container itself is deliberately invisible so
 * the heading and QR sit directly on the warm page background.
 */
.contact-page .contact-card--flat {
  --contact-content-width: 320px;
  overflow: visible;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.contact-page .contact-card--flat::before { content: none; display: none; }
.contact-page .contact-card--flat .contact-card__qr-cluster {
  /* Eight rendered pixels stay inside the PNG's illustrated 78px top edge. */
  --contact-signature-overlap: 8px;
  position: relative;
  width: min(100%, var(--contact-content-width));
  min-width: min(240px, 100%);
  margin-inline: auto;
  isolation: isolate;
  overflow: visible;
}
.contact-page .contact-card--flat .contact-card__qr-cluster .contact-card__heading {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: none;
  gap: 10px;
  margin: 0 0 calc(-1 * var(--contact-signature-overlap));
  padding: 8px 14px 14px 10px;
  border: 0;
  border-radius: 22px 22px 7px 7px;
  background: linear-gradient(145deg, #f9cbbb, #f3b9a5);
  box-shadow: none;
  pointer-events: none;
}
.contact-page .contact-card--flat .contact-card__qr-cluster .contact-page__identity-avatar {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-color: rgba(255, 250, 244, .94);
  box-shadow: none;
  filter: none;
}
.contact-page .contact-card--flat .contact-card__qr-cluster .contact-page__identity-copy .eyebrow {
  color: #8d4738;
  font-size: .54rem;
}
.contact-page .contact-card--flat .contact-card__qr-cluster .contact-page__identity-copy h2 {
  color: #60382f;
  font-size: .98rem;
}
.contact-page .contact-card--flat .contact-card__qr-cluster--pending .contact-card__qr-pending {
  width: 100%;
}
.contact-page .contact-card--flat .contact-card__qr-cluster > .contact-card__qr {
  width: 100%;
  margin-inline: 0;
}
.contact-page .contact-card--flat .contact-card__wechat-id {
  width: min(100%, var(--contact-content-width));
  min-height: 58px;
  margin: 12px auto 0;
  padding: 9px 9px 9px 14px;
  border: 1px solid rgba(184, 95, 72, .16);
  border-radius: 18px;
  background: rgba(255, 248, 241, .84);
  box-shadow: 0 8px 22px rgba(106, 66, 48, .06);
}
.contact-page .contact-card--flat .contact-card__wechat-id span {
  color: #8a6b60;
  font-size: .58rem;
}
.contact-page .contact-card--flat .contact-card__wechat-id strong {
  overflow: hidden;
  color: #5f3b33;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-page .contact-card--flat .contact-card__wechat-id button {
  min-width: 52px;
  min-height: 42px;
  background: #bd614a;
  box-shadow: 0 5px 13px rgba(151, 66, 48, .16);
}
.contact-page .contact-card--flat .contact-card__privacy {
  width: min(100%, var(--contact-content-width));
  margin: 8px auto 0;
  color: #91766b;
  font-size: .58rem;
}

@media (max-width: 619px) {
  .contact-card__qr.cute-qr { width: min(100%, 304px); }
  .contact-card__qr.cute-qr .cute-qr__image { border-radius: 17px; }
}

/* Cat-surround QR artwork v3. The PNG owns the protected scan area; page
   styling only blends its illustrated outer edge into the contact scene. */
.contact-card__qr.cute-qr.cute-qr--v3 {
  position: relative;
  width: min(100%, 320px);
  isolation: isolate;
}
.contact-card__qr.cute-qr.cute-qr--v3::before,
.contact-card__qr.cute-qr.cute-qr--v3::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.contact-card__qr.cute-qr.cute-qr--v3::before {
  inset: -18px -26px auto auto;
  width: 86px;
  height: 86px;
  background: radial-gradient(circle, rgba(242, 166, 135, .14), rgba(242, 166, 135, 0) 70%);
}
.contact-card__qr.cute-qr.cute-qr--v3::after {
  bottom: 52px;
  left: -30px;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle, rgba(247, 217, 138, .14), rgba(247, 217, 138, 0) 70%);
}
.contact-card__qr.cute-qr.cute-qr--v3 .cute-qr__image {
  position: relative;
  aspect-ratio: 1;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 10px 26px rgba(106, 66, 48, .1);
}
.contact-card__qr.cute-qr.cute-qr--v3 .cute-qr__caption {
  gap: 3px;
  padding: 16px 14px 12px;
}
.contact-page .contact-card--flat .contact-card__qr-cluster {
  width: min(100%, var(--contact-content-width));
}

@media (max-width: 767px) {
  .contact-page .contact-card--flat {
    --contact-content-width: min(calc(100vw - 52px), 286px);
  }
  .contact-card__qr.cute-qr.cute-qr--v3 {
    width: 100%;
  }
  .contact-card__qr.cute-qr.cute-qr--v3::before {
    top: -14px;
    right: -12px;
  }
  .contact-card__qr.cute-qr.cute-qr--v3::after { left: -12px; }
  .contact-card__qr.cute-qr.cute-qr--v3 .cute-qr__image {
    border-radius: 20px;
  }
  .contact-page .contact-card--flat .contact-card__qr-cluster {
    width: min(100%, var(--contact-content-width));
  }
}

/* --------------------------------------------------------------------------
   Unified cat detail + contact routing
   Mobile reads the name and identity first; all dated facts stay in one line.
   -------------------------------------------------------------------------- */

.site-nav .site-nav__contact[aria-current="page"] {
  background: var(--pine);
  color: #fff;
}

.cat-detail-page {
  padding-bottom: calc(var(--mobile-cta-height, 60px) + 28px + env(safe-area-inset-bottom));
}
.cat-detail-page .profile-hero__grid {
  grid-template-areas:
    "intro"
    "photo";
}
.cat-detail-page .detail-profile-summary { grid-area: intro; }
.cat-detail-page .profile-photo { grid-area: photo; }
.cat-detail-page .detail-profile-summary .profile-nameplate { margin-top: 12px; }
.cat-detail-page .detail-profile-summary .profile-intro__headline { margin-bottom: 17px; }

.detail-identity-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.detail-identity-summary > div {
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(142, 89, 68, .12);
  border-radius: 17px 11px 17px 11px;
  background: rgba(255, 253, 249, .78);
  box-shadow: 0 8px 20px rgba(102, 66, 50, .045);
}
.detail-identity-summary > div:nth-child(2n) { background: rgba(255, 232, 218, .74); }
.detail-identity-summary > div:nth-child(3n) { background: rgba(232, 240, 226, .82); }
.detail-identity-summary dt {
  color: #927064;
  font-size: .61rem;
  font-weight: 750;
  letter-spacing: .08em;
}
.detail-identity-summary dd {
  margin: 3px 0 0;
  color: var(--cocoa);
  font-family: var(--serif);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.35;
}
.detail-profile-summary .publication-note { margin: 12px 2px 0; }

.timeline-family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 9px;
  margin-top: 15px;
}
.timeline-family-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(157, 91, 67, .13);
  border-radius: 18px 11px 18px 11px;
  background: #fff7f1;
}
.timeline-family-card > img,
.timeline-family-card__initial {
  width: 62px;
  height: 62px;
  border-radius: 15px 9px 15px 9px;
}
.timeline-family-card > img { object-fit: cover; }
.timeline-family-card__initial {
  display: grid;
  place-items: center;
  background: var(--peach-pale);
  color: #914a39;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.timeline-family-card small,
.timeline-family-card strong { display: block; }
.timeline-family-card small { color: #987065; font-size: .55rem; }
.timeline-family-card strong { color: var(--cocoa); font-family: var(--serif); font-size: .84rem; }
.timeline-family-card p { margin: 2px 0 0; font-size: .58rem; line-height: 1.4; }
.timeline-family-card a { display: inline-flex; margin-top: 3px; color: #a04d3b; font-size: .58rem; font-weight: 750; }
.life-milestone__copy .document-link { margin-top: 9px; }

.detail-next-step-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 86px) clamp(64px, 9vw, 96px);
  background: linear-gradient(155deg, #fff8f1 0%, #fff3ea 58%, #f8f2e7 100%);
}
.detail-next-step-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 217, 138, .25), rgba(247, 217, 138, 0) 70%);
  pointer-events: none;
}
.detail-next-step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}
.detail-next-step__intro { max-width: 560px; }
.detail-next-step__intro h2 {
  margin-bottom: 15px;
  color: var(--cocoa);
  font-size: clamp(2rem, 6.4vw, 3.2rem);
  line-height: 1.14;
}
.detail-next-step__intro > p:last-child {
  max-width: 510px;
  margin-bottom: 0;
  color: #745d53;
}
.detail-next-step__panel {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(121, 77, 59, .14);
  border-radius: 28px 20px 28px 20px;
  background: #fffdf9;
  box-shadow: 0 16px 38px rgba(103, 68, 51, .085);
}
.detail-next-step__summary,
.detail-next-step__contact {
  min-width: 0;
  padding: clamp(20px, 4vw, 30px);
}
.detail-next-step__summary {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .62), transparent 7rem),
    linear-gradient(145deg, #ffeadf, #fff5d8);
}
.detail-next-step__cat-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.detail-next-step__cat-heading small {
  display: block;
  margin-bottom: 3px;
  color: #8d6d61;
  font-size: .66rem;
}
.detail-next-step__cat-heading h3 {
  margin: 0;
  color: var(--cocoa);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  line-height: 1.2;
}
.detail-next-step__heart {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 249, .76);
  box-shadow: 0 7px 17px rgba(130, 72, 53, .1);
  color: #b45843;
  font-size: 1.1rem;
}
.detail-next-step__facts {
  display: grid;
  gap: 0;
  margin: 19px 0 0;
  border-top: 1px solid rgba(137, 82, 60, .15);
}
.detail-next-step__facts > div {
  display: grid;
  grid-template-columns: minmax(80px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(137, 82, 60, .15);
}
.detail-next-step__facts dt {
  color: #8d6d61;
  font-size: .66rem;
}
.detail-next-step__facts dd {
  margin: 0;
  color: #6b4034;
  font-size: .82rem;
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}
.detail-next-step__notes {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.detail-next-step__notes > div {
  padding: 11px 13px;
  border: 1px solid rgba(143, 91, 69, .11);
  border-radius: 14px;
  background: rgba(255, 253, 249, .64);
}
.detail-next-step__notes span {
  display: block;
  margin-bottom: 4px;
  color: #9b4e3b;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.detail-next-step__notes p {
  margin: 0;
  color: #755b51;
  font-size: .69rem;
  line-height: 1.6;
}
.detail-next-step__contact h3 {
  margin-bottom: 17px;
  color: var(--cocoa);
  font-size: clamp(1.18rem, 3.6vw, 1.48rem);
  line-height: 1.35;
}
.detail-next-step__contact > .eyebrow { margin-bottom: 7px; }
.detail-next-step__topics {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-next-step__topics li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}
.detail-next-step__topics li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--peach-pale);
  color: #974936;
  font-size: .7rem;
  font-weight: 800;
}
.detail-next-step__topics p,
.detail-next-step__topics strong,
.detail-next-step__topics small { display: block; }
.detail-next-step__topics p { margin: 0; }
.detail-next-step__topics strong {
  color: #634338;
  font-size: .76rem;
  line-height: 1.45;
}
.detail-next-step__topics small {
  margin-top: 2px;
  color: #897269;
  font-size: .65rem;
  line-height: 1.5;
}
.detail-next-step__button { margin-top: 20px; }
.detail-next-step__route-note {
  margin: 9px 0 0;
  color: #947b71;
  font-size: .62rem;
  line-height: 1.5;
  text-align: center;
}

.detail-contact-float .home-contact-float__icon { font-weight: 700; }
.cat-detail-page .toast { bottom: calc(var(--mobile-cta-height, 60px) + 28px + env(safe-area-inset-bottom)); }
.contact-page .detail-contact-float { display: none; }

@media (min-width: 768px) {
  .cat-detail-page .profile-hero__grid {
    grid-template-areas: "photo intro";
    grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr);
    align-items: center;
  }
  .detail-next-step { grid-template-columns: minmax(235px, .58fr) minmax(0, 1.42fr); }
  .detail-next-step__panel { grid-template-columns: minmax(225px, .88fr) minmax(0, 1.12fr); }
}

@media (max-width: 767.98px) {
  .detail-next-step-section { padding-block: 44px 50px; }
  .cat-detail-page .life-line__heading > .eyebrow,
  .cat-detail-page .detail-next-step__intro > .eyebrow { padding-left: 40px; }
  .cat-detail-page .lifeline-scrubber__header { padding-left: 40px; }
  .cat-detail-page .public-trust-footer__brand { margin-left: 40px; }
  .detail-next-step { gap: 18px; }
  .detail-next-step__intro h2 { margin-bottom: 11px; font-size: clamp(1.82rem, 8.3vw, 2.4rem); }
  .detail-next-step__intro > p:last-child { font-size: .74rem; line-height: 1.68; }
  .detail-next-step__panel { border-radius: 24px 17px 24px 17px; }
  .detail-next-step__summary,
  .detail-next-step__contact { padding: 18px; }
  .detail-next-step__cat-heading h3 { font-size: 1.48rem; }
  .detail-next-step__facts { margin-top: 14px; }
  .detail-next-step__facts > div { padding-block: 10px; }
  .detail-next-step__notes { gap: 7px; margin-top: 11px; }
  .detail-next-step__notes > div { padding: 9px 11px; }
  .detail-next-step__notes p { font-size: .66rem; line-height: 1.48; }
  .detail-next-step__contact h3 { margin-bottom: 13px; font-size: 1.16rem; }
  .detail-next-step__topics { gap: 9px; }
  .detail-next-step__topics li { grid-template-columns: 27px minmax(0, 1fr); gap: 9px; align-items: center; }
  .detail-next-step__topics li > span { width: 27px; height: 27px; }
  .detail-next-step__button { margin-top: 16px; }
}

@media (max-width: 359px) {
  .detail-identity-summary > div { min-height: 59px; padding: 9px 10px; }
  .detail-identity-summary dd { font-size: .78rem; }
  .detail-contact-float .home-contact-float__copy small { display: none; }
}

/* --------------------------------------------------------------------------
   Unified rounded contact cards
   The positioning layer stays transparent; the only visible surface is one
   softly rounded, warm translucent cat card shared by home and detail pages.
   A near-opaque tint gives a gentle glass impression without backdrop blur:
   fixed backdrop-filter layers can flicker or show GPU tile seams over video.
   -------------------------------------------------------------------------- */

.home-page--cat-first,
.cat-detail-page {
  --mobile-cta-height: calc(86px + env(safe-area-inset-bottom));
  padding-bottom: 0;
}

/* The footer itself owns the dock clearance on pages with the shared contact
   card. This keeps its warm red-brown surface behind every rounded corner on
   both the home page and cat profiles instead of exposing light body padding. */

.contact-dock {
  position: fixed;
  z-index: 88;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
  background: transparent;
  pointer-events: none;
}

.contact-dock .home-contact-float {
  position: relative;
  inset: auto;
  display: block;
  width: min(100%, var(--shell));
  max-width: none;
  min-height: 76px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 242, 231, .42);
  border-radius: 28px;
  background-color: #7b3f35;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 219, 190, .16), transparent 12rem),
    linear-gradient(112deg, rgba(91, 39, 33, .97) 0%, rgba(143, 67, 56, .96) 58%, rgba(169, 76, 59, .96) 100%);
  box-shadow:
    0 16px 38px rgba(62, 28, 23, .28),
    inset 0 1px rgba(255, 255, 255, .26),
    inset 0 0 0 1px rgba(87, 30, 25, .08);
  color: #fffaf5;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: visible;
  pointer-events: auto;
  touch-action: manipulation;
}

.contact-dock .home-contact-float:hover {
  color: #fff;
  transform: translateY(-2px);
}
.contact-dock .home-contact-float:focus-visible {
  outline: 3px solid #fff6ed;
  outline-offset: -6px;
  box-shadow:
    0 16px 36px rgba(71, 34, 27, .26),
    inset 0 0 0 5px rgba(75, 30, 25, .46);
}

.contact-dock__inner {
  display: grid;
  min-height: calc(74px + env(safe-area-inset-bottom));
  grid-template-columns: 50px minmax(0, 1fr) 42px;
  gap: 13px;
  align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}

.contact-identity-avatar {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid rgba(255, 247, 238, .94);
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(145deg, #ffd9c8, #fff1df);
  box-shadow: 0 7px 16px rgba(70, 34, 27, .22);
  color: #98483a;
  font-family: var(--serif);
  font-size: 1.05rem;
  isolation: isolate;
}
.contact-identity-avatar::before,
.contact-identity-avatar::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -7px;
  width: 18px;
  height: 19px;
  border: 3px solid rgba(255, 247, 238, .94);
  background: #ffd1be;
}
.contact-identity-avatar::before {
  left: 1px;
  border-radius: 4px 11px 3px 9px;
  transform: rotate(-22deg);
}
.contact-identity-avatar::after {
  right: 1px;
  border-radius: 11px 4px 9px 3px;
  transform: rotate(22deg);
}
.contact-identity-avatar > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}
.contact-identity-avatar > span {
  position: relative;
  z-index: 1;
  line-height: 1;
}
.contact-identity-avatar--placeholder > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .64);
  font-size: 1.15rem;
}

.contact-card__identity-avatar {
  width: 46px;
  height: 46px;
}

.contact-dock .home-contact-float__copy strong {
  color: #fff;
  font-size: clamp(.82rem, 2.5vw, .98rem);
  text-shadow: 0 1px 3px rgba(49, 17, 14, .54);
}
.contact-dock .home-contact-float__copy small {
  margin-top: 3px;
  overflow: hidden;
  color: #fff4eb;
  font-size: .61rem;
  text-shadow: 0 1px 3px rgba(49, 17, 14, .5);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-dock .home-contact-float__arrow {
  width: 42px;
  height: 42px;
  background: #fff4e9;
  box-shadow: 0 7px 17px rgba(68, 33, 26, .19);
  color: #914034;
  font-size: 1rem;
}

.home-page--cat-first .toast,
.cat-detail-page .toast {
  bottom: calc(var(--mobile-cta-height) + 8px);
}

@media (min-width: 768px) {
  .contact-dock {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }
  .contact-dock .home-contact-float { width: min(100%, 1180px); }
  .contact-dock__inner { padding-inline: 18px; }
}

@media (max-width: 359px) {
  .contact-dock {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }
  .contact-dock .home-contact-float { border-radius: 24px; }
  .contact-dock__inner {
    grid-template-columns: 44px minmax(0, 1fr) 38px;
    gap: 9px;
    padding-inline: 10px;
  }
  .contact-dock__cat { width: 44px; height: 44px; }
  .contact-dock .home-contact-float__arrow { width: 38px; height: 38px; }
  .contact-dock .home-contact-float__copy strong { font-size: .78rem; }
  .contact-dock .home-contact-float__copy small { display: none; }
}

/* --------------------------------------------------------------------------
   Public trust footer + persistent detail back
   A calm closing promise, followed by one clear contact action. The detail
   back control stays below the header (or safe area on phones) while scrolling.
   -------------------------------------------------------------------------- */

.warm-storybook .public-trust-footer {
  overflow: hidden;
  padding: clamp(58px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(243, 160, 128, .22), transparent 24rem),
    radial-gradient(circle at 92% 48%, rgba(247, 217, 138, .12), transparent 22rem),
    linear-gradient(150deg, #593a32 0%, #6d4035 54%, #49352f 100%);
  color: #fff8f2;
}

.public-trust-footer__inner { display: grid; gap: clamp(30px, 5vw, 54px); }
.public-trust-footer__vision { max-width: 790px; }
.public-trust-footer__brand { margin-bottom: clamp(28px, 5vw, 48px); }
.warm-storybook .public-trust-footer__brand .brand__name strong { color: #fffaf5; }
.warm-storybook .public-trust-footer__brand .brand__name small { color: rgba(255, 248, 242, .66); }
.warm-storybook .public-trust-footer .eyebrow {
  margin-bottom: 10px;
  color: #f3b297;
  letter-spacing: .11em;
}
.warm-storybook .public-trust-footer__vision h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #fffaf5;
  font-size: clamp(2rem, 6.5vw, 4rem);
  line-height: 1.18;
}
.public-trust-footer__lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 248, 242, .75);
  font-size: clamp(.84rem, 2vw, 1rem);
  line-height: 1.85;
}

.public-trust-footer__promises {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.public-trust-footer__promises li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  min-height: 100%;
  padding: 19px;
  border: 1px solid rgba(255, 248, 242, .13);
  border-radius: 23px 15px 23px 15px;
  background: rgba(255, 250, 245, .075);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}
.public-trust-footer__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 223, 191, .24);
  border-radius: 50%;
  background: rgba(243, 160, 128, .13);
  color: #ffd2bd;
  font-family: var(--serif);
  font-size: .69rem;
  font-weight: 750;
}
.warm-storybook .public-trust-footer__promises h3 {
  margin: 2px 0 7px;
  color: #fff9f3;
  font-size: 1rem;
}
.public-trust-footer__promises p {
  margin: 0;
  color: rgba(255, 248, 242, .68);
  font-size: .72rem;
  line-height: 1.72;
}

.public-trust-footer__contact {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 5vw, 36px);
  border: 1px solid rgba(104, 62, 48, .11);
  border-radius: 30px 18px 30px 18px;
  background:
    radial-gradient(circle at 93% 5%, rgba(247, 217, 138, .27), transparent 10rem),
    linear-gradient(145deg, #fff7ef, #f9e7db);
  box-shadow: 0 20px 46px rgba(45, 27, 22, .17);
}
.warm-storybook .public-trust-footer__contact .eyebrow { color: #9d4c39; }
.warm-storybook .public-trust-footer__contact h3 {
  margin-bottom: 8px;
  color: var(--cocoa);
  font-size: clamp(1.55rem, 5vw, 2.3rem);
}
.public-trust-footer__contact p:not(.eyebrow) {
  max-width: 630px;
  margin-bottom: 0;
  color: #785e54;
  font-size: .78rem;
  line-height: 1.7;
}
.public-trust-footer__owner-note {
  margin-top: 10px !important;
  padding-left: 10px;
  border-left: 2px solid rgba(184, 95, 72, .28);
}
.public-trust-footer__contact-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 17px 11px 17px 11px;
  background: #a84f3b;
  box-shadow: 0 10px 23px rgba(133, 65, 48, .23);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}
.public-trust-footer__contact-link:hover { color: #fff; background: #934836; }
.public-trust-footer__contact-link span { font-size: 1rem; }
.public-trust-footer__contact-link:focus-visible { outline-color: #5a3d33; }

.warm-storybook .public-trust-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: 19px;
  border-top-color: rgba(255, 248, 242, .13);
  color: rgba(255, 248, 242, .54);
  font-size: .64rem;
}

.home-page--cat-first .public-trust-footer,
.cat-detail-page .public-trust-footer {
  padding-bottom: calc(28px + var(--mobile-cta-height));
}
.cat-detail-page .public-trust-footer { padding-top: clamp(50px, 7vw, 72px); }
.cat-detail-page .public-trust-footer__inner { gap: 0; }
.cat-detail-page .public-trust-footer__vision { max-width: 900px; }
.cat-detail-page .public-trust-footer__brand { margin-bottom: 22px; }
.cat-detail-page .public-trust-footer__vision h2 {
  max-width: 900px;
  font-size: clamp(1.85rem, 4.6vw, 3rem);
}
.cat-detail-page .public-trust-footer__promises,
.cat-detail-page .public-trust-footer__contact { display: none; }
.cat-detail-page .public-trust-footer__bottom { margin-top: 28px; }

@media (min-width: 700px) {
  .public-trust-footer__promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .public-trust-footer__contact { grid-template-columns: minmax(0, 1fr) minmax(170px, 230px); }
  .warm-storybook .public-trust-footer__bottom { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 700px) {
  .public-trust-footer__contact-link { width: 100%; }
}

@media (max-width: 359px) {
  .public-trust-footer__promises li { grid-template-columns: 36px minmax(0, 1fr); padding: 16px; }
  .public-trust-footer__number { width: 36px; height: 36px; }
}

/* --------------------------------------------------------------------------
   Cat detail cover card v4
   One calm name-led profile card replaces competing labels and tiles.  This
   final block is intentionally authoritative so the rest of the detail page,
   persistent return control and contact dock can stay untouched.
   -------------------------------------------------------------------------- */

.cat-detail-page .detail-profile-summary {
  min-width: 0;
  max-width: 620px;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid rgba(144, 83, 62, .12);
  border-radius: 34px 22px 34px 22px;
  background:
    radial-gradient(circle at 92% 6%, rgba(248, 205, 151, .3), transparent 9rem),
    linear-gradient(145deg, rgba(255, 252, 247, .94), rgba(255, 238, 226, .88));
  box-shadow: 0 22px 52px rgba(102, 63, 47, .11);
}

/* The cover is a real, swipeable album.  The scrollable viewport remains the
   baseline so touch and no-JS visitors can always reach every item; JS only
   adds the desktop arrows, live counter and video coordination. */
.cat-detail-page .profile-gallery {
  position: absolute;
  inset: 0;
  min-height: 0;
  isolation: isolate;
}
.cat-detail-page .profile-gallery__clip {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, #f8e4d8, #ead8cb);
  pointer-events: auto;
}
.cat-detail-page .profile-gallery__viewport {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(145deg, #f8e4d8, #ead8cb);
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(181, 94, 72, .5) rgba(255, 250, 244, .72);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.cat-detail-page .profile-gallery.is-enhanced .profile-gallery__viewport {
  scrollbar-width: none;
}
.cat-detail-page .profile-gallery.is-enhanced .profile-gallery__viewport::-webkit-scrollbar {
  display: none;
}
.cat-detail-page .profile-gallery__viewport:focus-visible {
  outline: 4px solid rgba(184, 95, 72, .44);
  outline-offset: -4px;
}
.cat-detail-page .profile-gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
}
.cat-detail-page .profile-gallery__slide {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  overflow: hidden;
  margin: 0;
  background: #f4e3d7;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.cat-detail-page .profile-gallery__slide > img,
.cat-detail-page .profile-gallery__slide video,
.cat-detail-page .profile-gallery__video-stage {
  width: 100%;
  height: 100%;
}
.cat-detail-page .profile-gallery__slide > img { object-fit: cover; }
.cat-detail-page .profile-gallery__video-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .28), transparent 31%),
    linear-gradient(145deg, #8d6558, #5c4139);
}
.cat-detail-page .profile-gallery__video-stage::before {
  content: "♡";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  color: rgba(255, 244, 235, .24);
  font-family: var(--serif);
  font-size: clamp(5.5rem, 20vw, 9rem);
  line-height: 1;
  transform: translate(-50%, -55%) rotate(-8deg);
}
.cat-detail-page .profile-gallery__video-stage.has-poster {
  background: #f4e3d7;
}
.cat-detail-page .profile-gallery__video-stage.has-poster::before { display: none; }
.cat-detail-page .profile-gallery__slide video {
  display: block;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.cat-detail-page .profile-gallery__slide video:not(.is-ready) { opacity: .08; }
.cat-detail-page .profile-gallery__slide video[poster]:not(.is-ready) { opacity: 1; }
.cat-detail-page .profile-gallery__video-button { z-index: 4; }

/* Detail album video: one tap plays/pauses; sound stays a separate cat-ear button. */
.cat-detail-page .profile-gallery__video-stage video::-webkit-media-controls,
.cat-detail-page .profile-gallery__video-stage video::-webkit-media-controls-enclosure,
.cat-detail-page .profile-gallery__video-stage video::-webkit-media-controls-panel,
.cat-detail-page .profile-gallery__video-stage video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
.cat-detail-page .profile-gallery__video-stage video:focus-visible {
  outline: 4px solid rgba(255, 244, 232, .94);
  outline-offset: -6px;
}
.cat-detail-page .profile-gallery__video-button {
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border-width: 2px;
  border-color: rgba(255, 255, 255, .82);
  background: rgba(90, 55, 46, .7);
  box-shadow: 0 10px 26px rgba(54, 31, 25, .24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cat-detail-page .profile-gallery__video-paw {
  display: block;
  font-size: 1rem;
  line-height: 1;
  text-indent: 3px;
}
.cat-detail-page .profile-gallery__play-state {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .84);
  border-radius: 50%;
  background: rgba(96, 55, 45, .62);
  box-shadow: 0 9px 24px rgba(46, 27, 22, .2);
  color: #fffaf5;
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-indent: 3px;
  transform: translate(-50%, -50%) scale(.82);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.cat-detail-page .profile-gallery__video-stage.is-paused .profile-gallery__play-state {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cat-detail-page .profile-gallery__sound-button {
  position: absolute;
  z-index: 6;
  top: 13px;
  right: 13px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: #fff8f0;
  box-shadow: 0 8px 20px rgba(65, 38, 30, .2);
  color: #9a4d3a;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-detail-page .profile-gallery__sound-button::before,
.cat-detail-page .profile-gallery__sound-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -5px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 3px 8px 3px 8px;
  background: inherit;
  transform: rotate(42deg);
}
.cat-detail-page .profile-gallery__sound-button::before { left: 5px; }
.cat-detail-page .profile-gallery__sound-button::after {
  right: 5px;
  transform: rotate(48deg) scaleX(-1);
}
.cat-detail-page .profile-gallery__sound-button[data-sound-state="off"],
.cat-detail-page .profile-gallery__sound-button[data-sound-state="off"]:hover,
.cat-detail-page .profile-gallery__sound-button[data-sound-state="off"]:focus,
.cat-detail-page .profile-gallery__sound-button[data-sound-state="off"]:focus-visible,
.cat-detail-page .profile-gallery__sound-button[data-sound-state="off"]:active {
  background: #fff8f0;
  color: #9a4d3a;
}
.cat-detail-page .profile-gallery__sound-button[data-sound-state="on"],
.cat-detail-page .profile-gallery__sound-button[data-sound-state="on"]:hover {
  background: rgba(181, 88, 67, .86);
  color: #fffaf5;
}
.cat-detail-page .profile-gallery__sound-button:active { transform: scale(.94); }
.cat-detail-page .profile-gallery__sound-button:focus-visible {
  outline: 3px solid rgba(255, 244, 232, .96);
  outline-offset: 3px;
}
.cat-detail-page .profile-gallery__sound-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-detail-page .profile-gallery__sound-icon--audible,
.cat-detail-page .profile-gallery__sound-button[data-sound-state="on"] .profile-gallery__sound-icon--muted {
  display: none;
}
.cat-detail-page .profile-gallery__sound-button[data-sound-state="on"] .profile-gallery__sound-icon--audible {
  display: block;
}
.cat-detail-page .profile-gallery__controls {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}
.cat-detail-page .profile-gallery__controls[hidden] { display: none; }
.cat-detail-page .profile-gallery__arrow {
  position: absolute;
  top: 50%;
  display: none;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(255, 248, 240, .92);
  box-shadow: 0 9px 24px rgba(76, 45, 36, .2);
  color: #934936;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cat-detail-page .profile-gallery__arrow--previous { left: 11px; }
.cat-detail-page .profile-gallery__arrow--next { right: 11px; }
.cat-detail-page .profile-gallery__arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-detail-page .profile-gallery__arrow:hover:not(:disabled) {
  background: #fffdf9;
  transform: translateY(-50%) scale(1.04);
}
.cat-detail-page .profile-gallery__arrow:disabled {
  cursor: default;
  opacity: .35;
}
.cat-detail-page .profile-gallery__counter,
.cat-detail-page .profile-gallery__fallback-hint {
  position: absolute;
  z-index: 8;
  right: 8%;
  bottom: -27px;
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 12px;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 11px 18px 11px 18px;
  background: var(--blush);
  box-shadow: 0 8px 18px rgba(95, 61, 47, .14);
  color: #8d514c;
  font-family: "STKaiti", "KaiTi", var(--serif);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-2deg);
}
.cat-detail-page .profile-gallery__counter { gap: 3px; }
.cat-detail-page .profile-gallery__counter-hint {
  margin-left: 2px;
  font-size: .64rem;
  opacity: .82;
}
.cat-detail-page .profile-gallery.is-enhanced .profile-gallery__fallback-hint { display: none; }
.cat-detail-page .profile-gallery__video-fallback {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff8f0;
  box-shadow: 0 9px 24px rgba(38, 25, 20, .23);
  color: #8d4939;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.cat-detail-page .life-cover__birth { pointer-events: none; }
.cat-detail-page .profile-photo.is-gallery-video-active .life-cover__birth {
  top: 12px;
  right: auto;
  bottom: auto;
  width: max-content;
  max-width: calc(100% - 24px);
  gap: 14px;
  padding: 7px 10px;
  border-radius: 999px;
}

@media (min-width: 768px) {
  .cat-detail-page .profile-gallery__arrow { display: grid; }
}

.cat-detail-page .detail-masthead { min-width: 0; }
.cat-detail-page .detail-profile-summary .profile-intro__topline {
  width: 100%;
  min-height: 44px;
  align-items: center;
}
.cat-detail-page .profile-kicker {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #925946;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.cat-detail-page .profile-kicker__heart {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #ffe7dc;
  color: #b65c47;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0;
}
.cat-detail-page .share-button {
  display: inline-flex;
  min-width: 82px;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border-color: rgba(143, 86, 65, .18);
  background: rgba(255, 253, 249, .9);
  box-shadow: 0 6px 16px rgba(105, 66, 49, .055);
  color: #724b3e;
  font-weight: 760;
}
.cat-detail-page .share-button svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: #fffaf5;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-detail-page .detail-profile-summary .profile-nameplate {
  display: block;
  width: 100%;
  margin-top: 14px;
}
.cat-detail-page .detail-profile-summary .profile-nameplate__hello {
  display: block;
  margin: 0 0 3px;
  color: #a0604d;
  font-family: "STKaiti", "KaiTi", var(--serif);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.15;
  transform: rotate(-1deg);
  transform-origin: left center;
}
.cat-detail-page .profile-nameplate__name-row {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.cat-detail-page .profile-nameplate__name-row h1 {
  min-width: 0;
  flex: 0 1 auto;
}
.cat-detail-page .profile-nameplate__name-row .status-badge {
  min-height: 26px;
  flex: 0 0 auto;
  margin-bottom: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .74);
  box-shadow: 0 4px 12px rgba(88, 58, 44, .08);
  font-size: .61rem;
}
.cat-detail-page .detail-profile-summary h1 {
  max-width: 100%;
  margin: 0;
  color: #5e382e;
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: left;
}
.cat-detail-page .detail-profile-summary h1::after { content: none; }
.cat-detail-page .detail-profile-summary .profile-intro__headline {
  max-width: 540px;
  margin: 11px 0 18px;
  color: #6b5147;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.cat-detail-page .detail-identity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(137, 83, 62, .14);
  border-radius: 18px;
  background: rgba(255, 253, 249, .86);
  box-shadow: 0 10px 25px rgba(104, 67, 50, .055);
}
.cat-detail-page .detail-identity-summary > div,
.cat-detail-page .detail-identity-summary > div:nth-child(2n),
.cat-detail-page .detail-identity-summary > div:nth-child(3n) {
  display: flex;
  min-width: 0;
  min-height: 66px;
  flex-direction: column;
  justify-content: center;
  padding: 9px 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.cat-detail-page .detail-identity-summary > div + div {
  border-left: 1px solid rgba(137, 83, 62, .12);
}
.cat-detail-page .detail-identity-summary dt {
  color: #9a7569;
  font-size: .55rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: .07em;
}
.cat-detail-page .detail-identity-summary dd {
  margin: 4px 0 0;
  color: #60463c;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 780;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cat-detail-page .profile-whisper {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(153, 91, 67, .13);
  border-radius: 19px 13px 19px 13px;
  background: linear-gradient(135deg, rgba(255, 236, 222, .82), rgba(255, 248, 222, .82));
  box-shadow: 0 10px 25px rgba(103, 68, 51, .055);
}

.cat-detail-page .detail-price-note {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(197, 133, 91, .22);
  border-radius: 13px;
  background: rgba(255, 247, 235, .86);
  color: #765549;
  font-size: .66rem;
}
.cat-detail-page .detail-price-note span {
  flex: 0 0 auto;
  color: #9b5a45;
  font-weight: 800;
}
.cat-detail-page .detail-price-note strong {
  flex: 0 0 auto;
  color: #754035;
  font-family: var(--serif);
  font-size: .84rem;
}
.cat-detail-page .detail-price-note small {
  min-width: 0;
  overflow: hidden;
  color: #8c7369;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-detail-page .profile-whisper__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fffaf5;
  color: #b85e48;
  font-size: 1.12rem;
  box-shadow: 0 6px 14px rgba(135, 71, 53, .1);
}
.cat-detail-page .profile-whisper small {
  display: block;
  margin: 1px 0 4px;
  color: #a0523f;
  font-size: .6rem;
  font-weight: 820;
  letter-spacing: .07em;
}
.cat-detail-page .profile-whisper p {
  margin: 0;
  color: #6e5147;
  font-size: .72rem;
  line-height: 1.62;
}
.cat-detail-page .detail-profile-summary .publication-note,
.cat-detail-page .profile-intro__updated { display: none; }

@media (min-width: 768px) {
  .cat-detail-page .profile-hero { padding-block: 72px 76px; }
  .cat-detail-page .profile-hero__grid {
    column-gap: clamp(46px, 6vw, 88px);
    align-items: start;
  }
  .cat-detail-page .detail-profile-summary .profile-nameplate { margin-top: 20px; }
  .cat-detail-page .profile-photo {
    border-width: 9px;
    border-bottom-width: 40px;
    border-radius: 32px 23px 23px 32px;
    transform: rotate(-.55deg);
  }
}

@media (max-width: 767.98px) {
  .cat-detail-page .site-header { display: none; }
  .cat-detail-page .profile-hero {
    padding-top: calc(12px + env(safe-area-inset-top));
    padding-bottom: 26px;
  }
  .cat-detail-page .detail-profile-summary { position: static; }
  .cat-detail-page .profile-hero__grid { gap: 14px; }
  .cat-detail-page .detail-masthead {
    position: relative;
    display: grid;
    min-height: 58px;
    grid-template-columns: 112px minmax(0, 1fr) 112px;
    gap: 8px;
    align-items: center;
  }
  .cat-detail-page .detail-profile-summary .profile-intro__topline { display: contents; }
  .cat-detail-page .profile-kicker { display: none; }
  .cat-detail-page .detail-profile-summary .profile-nameplate {
    position: static;
    z-index: auto;
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    text-align: center;
  }
  .cat-detail-page .detail-profile-summary .profile-nameplate__hello {
    margin: 0 0 2px;
    font-size: .76rem;
    line-height: 1.12;
    transform: rotate(-1deg);
  }
  .cat-detail-page .profile-nameplate__name-row {
    gap: 5px;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .cat-detail-page .profile-nameplate__name-row .status-badge {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    min-height: 20px;
    margin: 0;
    padding: 3px 6px;
    font-size: .5rem;
    white-space: nowrap;
  }
  .cat-detail-page .detail-profile-summary h1 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-size: clamp(1.72rem, 8vw, 2rem);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cat-detail-page .detail-profile-summary .profile-intro__headline {
    margin: 10px 0;
    padding-right: 58px;
    font-size: clamp(.9rem, 3.8vw, 1.02rem);
    line-height: 1.36;
  }
  .cat-detail-page .detail-profile-summary {
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .cat-detail-page .detail-identity-summary {
    border-radius: 15px;
  }
  .cat-detail-page .detail-identity-summary > div,
  .cat-detail-page .detail-identity-summary > div:nth-child(2n),
  .cat-detail-page .detail-identity-summary > div:nth-child(3n) {
    min-height: 56px;
    padding: 7px 6px;
    text-align: center;
  }
  .cat-detail-page .detail-identity-summary dt {
    font-size: .5rem;
    letter-spacing: .035em;
  }
  .cat-detail-page .detail-identity-summary dd {
    margin-top: 3px;
    font-size: clamp(.61rem, 2.8vw, .7rem);
    line-height: 1.2;
  }
  .cat-detail-page .profile-photo {
    width: calc(100% - 8px);
    border-width: 7px;
    border-bottom-width: 34px;
    border-radius: 27px 20px 20px 27px;
    box-shadow: 0 20px 44px rgba(103, 68, 51, .14);
    transform: rotate(-.3deg);
  }
  .cat-detail-page .profile-whisper { display: none; }
  .cat-detail-page .profile-photo > img,
  .cat-detail-page .profile-photo > .media-placeholder,
  .cat-detail-page .profile-photo > .profile-gallery,
  .cat-detail-page .profile-gallery__clip {
    border-radius: 20px 14px 14px 20px;
  }
  .cat-detail-page .profile-gallery__clip {
    -webkit-clip-path: inset(0 round 20px 14px 14px 20px);
    clip-path: inset(0 round 20px 14px 14px 20px);
  }
  .cat-detail-page .memory-sticker--hello { display: none; }
  .cat-detail-page .memory-sticker--soft {
    right: 7%;
    bottom: -21px;
    min-height: 33px;
    border-width: 1px;
    box-shadow: 0 6px 15px rgba(95, 61, 47, .11);
    font-size: .66rem;
    transform: rotate(-1.5deg);
  }
}

@media (max-width: 359px) {
  .cat-detail-page .detail-masthead {
    grid-template-columns: 106px minmax(0, 1fr) 82px;
    gap: 5px;
  }
  .cat-detail-page .profile-nameplate__name-row .status-badge { display: none; }
  .cat-detail-page .detail-profile-summary .profile-intro__headline { padding-right: 0; }
  .cat-detail-page .detail-identity-summary > div,
  .cat-detail-page .detail-identity-summary > div:nth-child(2n),
  .cat-detail-page .detail-identity-summary > div:nth-child(3n) {
    min-height: 54px;
    padding-inline: 4px;
  }
  .cat-detail-page .detail-identity-summary dd { font-size: .6rem; }
}

/* --------------------------------------------------------------------------
   Contact scene controls v4
   The source-aware link now belongs to the intro surface instead of reading
   as a second floating card. Its visible label stays deliberately short.
   -------------------------------------------------------------------------- */

.contact-page .contact-page__back {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 48px;
  max-width: 90px;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 0;
  padding: 4px 12px 4px 0;
  border: 0;
  border-right: 1px solid rgba(167, 75, 54, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #713b30;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .025em;
}
.contact-page .contact-page__back-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #cb715a, #b1503e);
  box-shadow:
    0 5px 11px rgba(151, 66, 48, .18),
    inset 0 1px rgba(255, 255, 255, .28);
  color: #fffaf5;
  font-size: 0;
}
.contact-page .contact-page__back-icon svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-page .contact-page__back .contact-page__back-label {
  min-width: 0;
  overflow: hidden;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-page .contact-page__back:hover {
  color: #713b30;
  border-right-color: rgba(167, 75, 54, .3);
  background: transparent;
  box-shadow: none;
  transform: translateX(-1px);
}
.contact-page .contact-page__back:active { transform: translateX(-1px) scale(.985); }
.contact-page .contact-page__back:focus-visible {
  outline: 3px solid rgba(198, 104, 80, .3);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .contact-page .contact-page__back {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 359px) {
  .contact-page__topbar {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }
  .contact-page .contact-page__back { max-width: 84px; padding-right: 8px; }
  .contact-page .contact-page__back-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .contact-page__intro h1 { font-size: 1.22rem; }
  .contact-page__intro > p { font-size: .6rem; line-height: 1.45; }
}

/* Contact is already the destination: keep its closing area quiet instead of
   repeating the site's full vision and another contact call-to-action. */
.contact-page .public-trust-footer {
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(184, 95, 72, .11);
  background: #fff1e7;
  color: #876b60;
}
.contact-page .public-trust-footer__inner { display: none; }
.contact-page .public-trust-footer__bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: #9b7c70;
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-page__back { transition: none; }
}

/* --------------------------------------------------------------------------
   Paired persistent detail edge controls v3
   Return and share stay visible as a balanced pair, then glide into mirrored
   edge tabs after the reader leaves the cover.
   -------------------------------------------------------------------------- */

.cat-detail-page {
  /*
   * Edge controls and the centre nameplate deliberately use separate top
   * offsets.  The controls stay close to the safe-area edge for reachability,
   * while the nameplate sits lower so a notch / Dynamic Island never crowds it.
  */
  --detail-safe-inset-top: env(safe-area-inset-top, 0px);
  --detail-mobile-control-top: calc(12px + var(--detail-safe-inset-top));
  --detail-title-offset: 14px;
  --detail-compact-top-offset: var(--detail-mobile-control-top);
  --detail-control-top: calc(var(--header-height) + 16px);
}
.cat-detail-page.is-preview {
  --detail-control-top: calc(var(--header-height) + 66px);
}
.cat-detail-page .detail-home-button,
.cat-detail-page .detail-share-button {
  position: fixed;
  z-index: 110;
  top: var(--detail-control-top);
  width: 112px;
  height: 58px;
  min-width: 112px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 7px 17px 7px 7px;
  border: 2px solid rgba(167, 75, 54, .28);
  border-radius: 999px;
  background: rgba(255, 250, 244, .97);
  box-shadow:
    0 13px 32px rgba(83, 45, 35, .18),
    0 2px 7px rgba(83, 45, 35, .09),
    inset 0 1px rgba(255, 255, 255, .92);
  color: #713b30;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .06em;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: width .24s ease, min-width .24s ease, height .24s ease, top .24s ease, left .24s ease, right .24s ease, padding .24s ease, gap .2s ease, border-radius .24s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cat-detail-page .detail-home-button {
  left: max(calc(18px + env(safe-area-inset-left)), calc((100vw - var(--shell)) / 2 - 78px));
}
.cat-detail-page .detail-share-button {
  right: max(calc(18px + env(safe-area-inset-right)), calc((100vw - var(--shell)) / 2 - 78px));
  flex-direction: row-reverse;
  padding: 7px 7px 7px 17px;
}
.cat-detail-page .detail-home-button__icon,
.cat-detail-page .detail-share-button > .detail-share-button__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #c96d55, #a94936);
  box-shadow:
    0 6px 13px rgba(151, 66, 48, .26),
    inset 0 1px rgba(255, 255, 255, .28);
  color: #fffaf5;
}
.cat-detail-page .detail-home-button__icon svg,
.cat-detail-page .detail-share-button__icon svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-detail-page .detail-home-button__label,
.cat-detail-page .detail-share-button > .detail-share-button__label {
  display: inline-block;
  overflow: hidden;
  max-width: 3.2em;
  opacity: 1;
  white-space: nowrap;
  transition: max-width .2s ease, opacity .16s ease;
}
.cat-detail-page .detail-home-button.is-compact,
.cat-detail-page .detail-share-button.is-compact {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  gap: 0;
  padding: 6px;
}
.cat-detail-page .detail-home-button.is-compact {
  left: 0;
  padding-left: 3px;
  border-left: 0;
  border-radius: 0 26px 26px 0;
}
.cat-detail-page .detail-share-button.is-compact {
  right: 0;
  padding-right: 3px;
  border-right: 0;
  border-radius: 26px 0 0 26px;
}
.cat-detail-page .detail-home-button.is-compact .detail-home-button__label,
.cat-detail-page .detail-share-button.is-compact > .detail-share-button__label {
  max-width: 0;
  opacity: 0;
}
.cat-detail-page .detail-home-button:hover,
.cat-detail-page .detail-share-button:hover {
  color: #713b30;
  border-color: rgba(167, 75, 54, .42);
  background: #fffdf9;
  box-shadow:
    0 15px 35px rgba(83, 45, 35, .21),
    0 3px 8px rgba(83, 45, 35, .1);
  transform: translateY(-1px);
}
.cat-detail-page .detail-home-button:active,
.cat-detail-page .detail-share-button:active { transform: translateY(1px) scale(.985); }
.cat-detail-page .detail-share-button:disabled,
.cat-detail-page .detail-share-button:disabled:hover,
.cat-detail-page .detail-share-button:disabled:active {
  cursor: not-allowed;
  opacity: .62;
  box-shadow: 0 6px 16px rgba(105, 66, 49, .04);
  transform: none;
}
.cat-detail-page .detail-home-button:focus-visible,
.cat-detail-page .detail-share-button:focus-visible {
  outline: 4px solid rgba(198, 104, 80, .35);
  outline-offset: 3px;
}

.cat-detail-page .detail-share-fallback {
  width: min(520px, calc(100vw - 28px));
  max-width: 520px;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: #5a382f;
  background: transparent;
  box-shadow: 0 28px 80px rgba(64, 35, 29, .28);
}
.cat-detail-page .detail-share-fallback:not([open]) { display: none; }
.cat-detail-page .detail-share-fallback::backdrop {
  background: rgba(59, 34, 29, .52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.cat-detail-page .detail-share-fallback__card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(174, 94, 70, .2);
  border-radius: inherit;
  background:
    radial-gradient(circle at 92% 4%, rgba(247, 201, 171, .5), transparent 8rem),
    linear-gradient(145deg, #fffdf9, #fff0e5);
}
.cat-detail-page .detail-share-fallback__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(167, 75, 54, .2);
  border-radius: 50%;
  color: #7b4337;
  background: rgba(255, 255, 255, .72);
  font-size: 1.4rem;
  cursor: pointer;
}
.cat-detail-page .detail-share-fallback__mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf5;
  background: linear-gradient(145deg, #c96d55, #a94936);
  font-size: 1.35rem;
}
.cat-detail-page .detail-share-fallback h2 { margin: 5px 48px 10px 0; font-size: clamp(1.45rem, 6vw, 2rem); }
.cat-detail-page .detail-share-fallback p { line-height: 1.7; }
.cat-detail-page .detail-share-fallback label { display: block; margin: 19px 0 7px; font-size: .75rem; font-weight: 800; }
.cat-detail-page .detail-share-fallback__copy-row { display: flex; gap: 8px; }
.cat-detail-page .detail-share-fallback__copy-row input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(167, 75, 54, .25);
  border-radius: 14px;
  color: #593b33;
  background: rgba(255, 255, 255, .84);
  font-size: .78rem;
}
.cat-detail-page .detail-share-fallback__copy-row button {
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 14px;
  color: #fffaf5;
  background: #ad513e;
  font-weight: 800;
  cursor: pointer;
}
.cat-detail-page .detail-share-fallback__status { min-height: 1.7em; margin: 10px 0 0; color: #8b5b4e; font-size: .72rem; }

@media (max-width: 480px) {
  .cat-detail-page .detail-share-fallback__card { padding: 24px 18px 20px; }
  .cat-detail-page .detail-share-fallback__copy-row { align-items: stretch; flex-direction: column; }
  .cat-detail-page .detail-share-fallback__copy-row button { width: 100%; }
}

@media (max-width: 767.98px) {
  .cat-detail-page {
    --detail-control-top: var(--detail-mobile-control-top);
  }
  .cat-detail-page.is-preview {
    --detail-control-top: calc(var(--detail-mobile-control-top) + 50px);
  }
  .cat-detail-page .profile-hero { padding-top: var(--detail-mobile-control-top); }
  .cat-detail-page.is-preview .profile-hero {
    padding-top: var(--detail-mobile-control-top);
  }
  .cat-detail-page .detail-masthead {
    min-height: calc(58px + var(--detail-title-offset));
    padding-top: var(--detail-title-offset);
  }
  .cat-detail-page .detail-home-button {
    left: calc(12px + env(safe-area-inset-left));
    width: 112px;
    height: 58px;
    min-width: 112px;
    min-height: 58px;
    padding: 7px 17px 7px 7px;
    place-content: initial;
    border-radius: 999px;
  }
  .cat-detail-page .detail-share-button {
    right: calc(12px + env(safe-area-inset-right));
    width: 112px;
    height: 58px;
    min-width: 112px;
    min-height: 58px;
    padding: 7px 7px 7px 17px;
    border-radius: 999px;
  }
  .cat-detail-page .detail-home-button__icon,
  .cat-detail-page .detail-share-button > .detail-share-button__icon { width: 40px; height: 40px; }
  .cat-detail-page .detail-home-button__label,
  .cat-detail-page .detail-share-button > .detail-share-button__label { display: inline-block; }
  .cat-detail-page .detail-home-button.is-compact {
    top: var(--detail-compact-top-offset);
    left: env(safe-area-inset-left, 0px);
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 6px 7px 6px 3px;
    border-left: 0;
    border-radius: 0 26px 26px 0;
  }
  .cat-detail-page .detail-share-button.is-compact {
    top: var(--detail-compact-top-offset);
    right: env(safe-area-inset-right, 0px);
    padding: 6px 3px 6px 7px;
    border-right: 0;
    border-radius: 26px 0 0 26px;
  }
  .cat-detail-page .detail-home-button.is-compact .detail-home-button__icon,
  .cat-detail-page .detail-share-button.is-compact > .detail-share-button__icon { width: 38px; height: 38px; flex-basis: 38px; }
}

@media (max-width: 359px) {
  .cat-detail-page .detail-masthead {
    grid-template-columns: 100px minmax(0, 1fr) 100px;
    gap: 4px;
  }
  .cat-detail-page .detail-home-button,
  .cat-detail-page .detail-share-button {
    width: 100px;
    min-width: 100px;
  }
  .cat-detail-page .detail-home-button {
    left: calc(10px + env(safe-area-inset-left));
    padding-right: 14px;
  }
  .cat-detail-page .detail-share-button {
    right: calc(10px + env(safe-area-inset-right));
    padding-left: 14px;
  }
  .cat-detail-page .detail-home-button__icon,
  .cat-detail-page .detail-share-button > .detail-share-button__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .cat-detail-page .detail-profile-summary .profile-nameplate__hello {
    font-size: .7rem;
    white-space: nowrap;
  }
  .cat-detail-page .detail-home-button.is-compact,
  .cat-detail-page .detail-share-button.is-compact {
    width: 52px;
    min-width: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cat-detail-page .detail-home-button,
  .cat-detail-page .detail-share-button,
  .cat-detail-page .detail-home-button__label,
  .cat-detail-page .detail-share-button__label { transition: none; }
}

/* --------------------------------------------------------------------------
   Cat detail album corner backing fix v1
   The rounded gallery deliberately reveals its parent in the four corner
   cut-outs.  That parent used the oat photo fallback, which left two square
   beige pixels/patches behind the lower rounded corners.  Keep the fallback
   underneath the gallery the same paper white as the physical photo border;
   the gallery remains the only layer that clips, so the counter, arrows,
   tape and birth strip stay outside that clipping context.
   -------------------------------------------------------------------------- */

.warm-storybook.cat-detail-page .profile-photo {
  background: #fffdf9;
}

/* --------------------------------------------------------------------------
   Detail controls glass finish v1
   One translucent finish is shared by the mirrored controls in both their
   labelled and compact states. The warm veil stays legible over photography,
   cream paper and the dark closing panel without becoming visually opaque.
   -------------------------------------------------------------------------- */

.cat-detail-page .detail-home-button,
.cat-detail-page .detail-share-button {
  border-color: rgba(255, 255, 255, .76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .58), rgba(255, 238, 228, .18)),
    rgba(255, 248, 242, .76);
  box-shadow:
    0 13px 32px rgba(72, 38, 29, .18),
    0 2px 8px rgba(72, 38, 29, .1),
    inset 0 1px rgba(255, 255, 255, .9),
    inset 0 0 0 1px rgba(160, 75, 55, .1);
  color: #64342a;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.cat-detail-page .detail-home-button.is-compact,
.cat-detail-page .detail-share-button.is-compact {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .53), rgba(255, 235, 224, .16)),
    rgba(255, 247, 240, .72);
  box-shadow:
    0 10px 26px rgba(72, 38, 29, .19),
    0 2px 7px rgba(72, 38, 29, .09),
    inset 0 1px rgba(255, 255, 255, .88),
    inset 0 0 0 1px rgba(160, 75, 55, .1);
}

.cat-detail-page .detail-home-button:hover,
.cat-detail-page .detail-share-button:hover {
  border-color: rgba(255, 255, 255, .88);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .68), rgba(255, 236, 225, .2)),
    rgba(255, 249, 244, .82);
  color: #5a2e25;
}

.cat-detail-page .detail-home-button__icon,
.cat-detail-page .detail-share-button > .detail-share-button__icon {
  background: linear-gradient(145deg, rgba(204, 108, 84, .97), rgba(163, 69, 50, .97));
  box-shadow:
    0 6px 13px rgba(115, 45, 32, .28),
    inset 0 1px rgba(255, 255, 255, .34);
  color: #fffdf9;
}

@media (prefers-contrast: more) {
  .cat-detail-page .detail-home-button,
  .cat-detail-page .detail-share-button,
  .cat-detail-page .detail-home-button.is-compact,
  .cat-detail-page .detail-share-button.is-compact {
    border-color: rgba(111, 53, 41, .62);
    background: rgba(255, 250, 246, .95);
    color: #48231c;
  }
}

/* --------------------------------------------------------------------------
   Home hero profile glance
   A compact avatar cluster uses the previously empty right side without
   repeating the large catalogue cards below it.
   -------------------------------------------------------------------------- */

.home-page--cat-first .home-intro--cat-first {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) 122px;
  gap: clamp(10px, 3vw, 28px);
  align-items: center;
}
.home-page--cat-first .home-intro__copy { min-width: 0; }
.home-page--cat-first .home-intro__profile-glance {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 7px;
  padding: 10px 8px 9px;
  border: 1px solid rgba(169, 80, 60, .12);
  border-radius: 24px 15px 24px 15px;
  background: rgba(255, 253, 249, .68);
  box-shadow: 0 10px 25px rgba(112, 70, 52, .07);
}
.home-page--cat-first .home-intro__avatars {
  display: flex;
  justify-content: center;
  padding-left: 12px;
}
.home-page--cat-first .home-intro__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  margin-left: -12px;
  border: 3px solid #fffaf5;
  border-radius: 50%;
  background: #f8e8dd;
  box-shadow: 0 6px 14px rgba(81, 49, 39, .17);
  object-fit: cover;
}
.home-page--cat-first .home-intro__avatar:nth-child(2) { transform: translateY(2px); }
.home-page--cat-first .home-intro__avatar:nth-child(3) { transform: translateY(-1px); }
.home-page--cat-first .home-intro__profile-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: #7b6259;
  line-height: 1;
  white-space: nowrap;
}
.home-page--cat-first .home-intro__profile-count strong {
  color: #a44f3c;
  font-family: var(--serif);
  font-size: 1.08rem;
}
.home-page--cat-first .home-intro__profile-count span { font-size: .55rem; font-weight: 700; }
.home-page--cat-first .home-intro__profile-count--pending span { line-height: 1.25; white-space: normal; text-align: center; }

@media (min-width: 620px) {
  .home-page--cat-first .home-intro--cat-first { grid-template-columns: minmax(0, 1fr) auto; }
  .home-page--cat-first .home-intro__profile-glance {
    grid-template-columns: auto auto;
    gap: 13px;
    padding: 12px 16px;
    border-radius: 28px 18px 28px 18px;
  }
  .home-page--cat-first .home-intro__avatar { width: 56px; height: 56px; flex-basis: 56px; margin-left: -14px; }
  .home-page--cat-first .home-intro__avatars { padding-left: 14px; }
  .home-page--cat-first .home-intro__profile-count { display: grid; gap: 2px; }
  .home-page--cat-first .home-intro__profile-count strong { font-size: 1.35rem; }
  .home-page--cat-first .home-intro__profile-count span { font-size: .61rem; }
}

@media (max-width: 359px) {
  .home-page--cat-first .home-intro--cat-first { grid-template-columns: minmax(0, 1fr) 88px; gap: 8px; }
  .home-page--cat-first .home-intro__kicker { display: block; }
  .home-page--cat-first .home-intro__kicker-en { display: none; }
  .home-page--cat-first .home-intro__profile-glance { gap: 5px; padding: 8px 5px 7px; }
  .home-page--cat-first .home-intro__avatar { width: 40px; height: 40px; flex-basis: 40px; margin-left: -11px; border-width: 2px; }
  .home-page--cat-first .home-intro__avatar:nth-child(3) { display: none; }
  .home-page--cat-first .home-intro__avatars { padding-left: 11px; }
  .home-page--cat-first .home-intro__profile-count strong { font-size: .92rem; }
  .home-page--cat-first .home-intro__profile-count span { font-size: .48rem; }
}
