:root {
  --bg: #fbf9f1;
  --surface: #fffdf8;
  --ink: #20211e;
  --muted: #5f605b;
  --line: #ddd6c8;
  --accent: #849f82;
  --accent-dark: #728d70;
  --sidebar: #eff2e8;
  --peach: #f3a18e;
  --gold: #d7b36a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
}

.call-lumi-overlay {
  --toy-x: 50vw;
  --toy-y: 64vh;
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(251, 249, 241, 0.68);
  cursor: none;
  opacity: 1;
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.call-lumi-overlay::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 78%, rgba(255, 253, 248, 0.28), transparent 24%),
    rgba(255, 253, 248, 0.54);
  backdrop-filter: blur(7px);
  content: "";
}

.call-lumi-overlay::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(251, 249, 241, 0.62), rgba(251, 249, 241, 0.24) 52%, rgba(251, 249, 241, 0.12));
  content: "";
  pointer-events: none;
}

.call-lumi-overlay.is-dismissed {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.call-lumi-copy {
  position: relative;
  z-index: 3;
  width: min(660px, calc(100vw - 40px));
  padding-bottom: 80px;
  text-align: center;
}

.call-lumi-brand {
  position: fixed;
  top: 32px;
  left: 42px;
  margin: 0;
  color: #20211e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  line-height: 1;
}

.call-lumi-copy h2 {
  margin: 0;
  color: #20211e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.03;
}

.call-lumi-instruction {
  max-width: 430px;
  margin: 28px auto 0;
  color: #555b57;
  font-size: 20px;
  line-height: 1.35;
}

.call-lumi-counter {
  margin: 24px 0 0;
  color: #70736b;
  font-size: 24px;
  font-weight: 500;
}

.call-lumi-counter span {
  color: #5e8668;
  font-weight: 700;
}

.call-lumi-button {
  position: relative;
  z-index: 8;
  display: inline-flex;
  min-width: 138px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border: 1px solid rgba(132, 159, 130, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  color: #425948;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(43, 45, 35, 0.09);
}

.call-lumi-button:hover {
  background: #fffdf8;
}

.call-lumi-skip,
.call-lumi-enter {
  position: fixed;
  z-index: 8;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(132, 159, 130, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  color: #425948;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(43, 45, 35, 0.09);
}

.call-lumi-skip:hover,
.call-lumi-enter:hover {
  background: #fffdf8;
}

.call-lumi-skip {
  top: 32px;
  right: 42px;
  padding: 0 18px;
}

.call-lumi-enter {
  bottom: clamp(42px, 7vh, 76px);
  left: 50%;
  min-width: 184px;
  padding: 0 22px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition:
    opacity 360ms ease,
    transform 360ms ease,
    visibility 360ms ease;
  visibility: hidden;
}

.call-lumi-overlay.is-awake .call-lumi-enter {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.call-lumi-heard {
  position: absolute;
  right: clamp(130px, 22vw, 300px);
  bottom: clamp(238px, 31vh, 355px);
  z-index: 4;
  margin: 0;
  color: #5e8668;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: rotate(-3deg) translateY(12px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.call-lumi-heard::before {
  display: inline-block;
  width: 28px;
  height: 22px;
  margin-right: 13px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  content: "";
  transform: skewY(25deg) rotate(-23deg);
  vertical-align: 4px;
}

.call-lumi-face {
  position: absolute;
  right: clamp(-210px, -9vw, -86px);
  bottom: clamp(-72px, -4vw, -28px);
  z-index: 3;
  width: clamp(560px, 62vw, 930px);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 38px rgba(43, 45, 35, 0.2));
  opacity: 0;
  pointer-events: none;
  transform: rotate(-2deg) translate(12%, 11%) scale(0.48);
  transform-origin: 70% 76%;
  transition:
    opacity 420ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 420ms ease;
  visibility: hidden;
}

.call-lumi-overlay.is-awake .call-lumi-face {
  z-index: 6;
  opacity: 1;
  transform: rotate(-2deg) translate(0, 0) scale(1.04);
  visibility: visible;
}

.call-lumi-overlay.is-awake .call-lumi-heard {
  opacity: 1;
  transform: rotate(-3deg) translateY(0);
}

.call-lumi-overlay.is-awake .call-lumi-copy {
  animation: call-copy-fade 620ms ease forwards;
}

.cat-toy {
  position: fixed;
  top: var(--toy-y);
  left: var(--toy-x);
  z-index: 5;
  width: 92px;
  height: 184px;
  pointer-events: none;
  transform: translate(-50%, -18%);
}

.toy-string {
  position: absolute;
  top: 0;
  left: 42px;
  width: 13px;
  height: 128px;
  border-left: 5px solid #6f8c75;
  border-radius: 50%;
  filter: drop-shadow(0 8px 14px rgba(43, 45, 35, 0.13));
  transform: rotate(-9deg);
}

.toy-bell {
  position: absolute;
  right: 19px;
  bottom: 12px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 238, 222, 0.95) 0 16%, transparent 18%),
    #ef8f78;
  box-shadow: 0 12px 24px rgba(43, 45, 35, 0.2);
}

.toy-bell::before {
  position: absolute;
  top: 24px;
  left: 8px;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: rgba(120, 58, 48, 0.54);
  content: "";
}

.toy-bell::after {
  position: absolute;
  bottom: 7px;
  left: 24px;
  width: 7px;
  height: 12px;
  border-radius: 999px;
  background: #20211e;
  content: "";
}

.call-lumi-overlay.is-ringing .toy-bell {
  animation: bell-ring 220ms ease;
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, 864px) 489px;
  gap: 40px;
  width: 100%;
  max-width: 1487px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 58px 42px 10px 54px;
}

.left-column {
  padding-top: 18px;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.03;
}

.intro-copy {
  max-width: 560px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.28;
}

.companion-panel {
  height: 694px;
  margin-top: 41px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(43, 45, 35, 0.11);
}

.panel-grid {
  display: grid;
  grid-template-columns: 176px 1fr;
  grid-template-rows: 596px 98px;
  height: 100%;
}

.panel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 38px 26px;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}

.panel-brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.panel-brand span {
  margin-left: 8px;
  font-size: 18px;
}

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 28px;
}

.nav-item {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 0 16px;
  color: #4d574b;
  font-size: 14px;
  font-weight: 500;
}

.nav-item.active {
  background: #ffffff;
  color: #26382c;
  box-shadow: 0 10px 20px rgba(45, 52, 38, 0.08);
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #29362c;
  font-size: 15px;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 999px;
  background: #d7d3c6;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-caret {
  margin-left: auto;
  color: #71756c;
  font-size: 18px;
}

.panel-main {
  padding: 69px 35px 0;
}

.timer-block {
  text-align: center;
}

.timer-label {
  margin: 0;
  color: #26382c;
  font-size: 18px;
  line-height: 1;
}

.timer-value {
  margin: 13px 0 0;
  color: #26382c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  font-weight: 500;
  line-height: 0.86;
}

.primary-button,
.secondary-button,
.play-button {
  cursor: pointer;
}

.primary-button {
  display: inline-flex;
  min-width: 152px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(73, 92, 72, 0.16);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.room-section {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #ded8c9;
}

.room-heading {
  margin: 0;
  color: #29362c;
  font-size: 18px;
  line-height: 1;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.room-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px 16px 15px;
  text-align: left;
}

.room-card:hover {
  border-color: #a8b49f;
}

.room-card.selected {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(73, 92, 72, 0.08);
}

.room-image {
  position: relative;
  display: block;
  aspect-ratio: 151 / 155;
  overflow: hidden;
  border-radius: 6px;
  background: #ece6d8;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-check {
  position: absolute;
  top: -1px;
  right: -1px;
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 0 6px 0 14px;
  background: var(--accent);
}

.room-check::after {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  content: "";
  transform: rotate(-45deg);
}

.room-card.selected .room-check {
  display: block;
}

.room-name {
  display: block;
  margin-top: 15px;
  color: #29362c;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.panel-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 30px;
  border-top: 1px solid var(--line);
}

.footer-note {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #29362c;
  font-size: 16px;
  line-height: 1.5;
}

.footer-cat {
  width: 44px;
  height: 44px;
  overflow: hidden;
}

.footer-cat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.secondary-button {
  display: inline-flex;
  min-width: 178px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: #425948;
  font-size: 16px;
  font-weight: 500;
}

.secondary-button:hover {
  background: #eef1e5;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-card {
  margin: 0;
  padding: 15px;
  border: 1px solid #e2dbce;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(43, 45, 35, 0.06);
}

.feature-card + .feature-card {
  margin-top: 0;
}

.feature-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #ece6d8;
}

.focus-image {
  aspect-ratio: 457 / 313;
}

.reference-image {
  aspect-ratio: 458 / 147;
}

.reference-scene-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 458 / 147;
  overflow: hidden;
  border-radius: 8px;
  background: #171b1f;
}

.reference-scene-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition:
    opacity 220ms ease,
    transform 700ms ease;
}

.reference-scene-stage.is-switching .reference-scene-bg {
  opacity: 0.82;
}

.reference-scene-stage.is-patrolling .reference-scene-bg {
  animation: scene-zoom-pulse 7.2s ease-in-out infinite;
}

.reference-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 20, 22, 0.08), rgba(16, 20, 22, 0.42)),
    linear-gradient(90deg, rgba(16, 20, 22, 0.22), rgba(16, 20, 22, 0) 42%, rgba(16, 20, 22, 0.2));
  pointer-events: none;
}

.patrol-path {
  position: absolute;
  right: 16%;
  bottom: 45px;
  left: 12%;
  z-index: 2;
  border-top: 2px dotted rgba(255, 253, 248, 0.72);
  filter: drop-shadow(0 1px 1px rgba(20, 22, 20, 0.28));
}

.patrol-path::before,
.patrol-path::after {
  position: absolute;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  content: "";
}

.patrol-path::before {
  left: -1px;
}

.patrol-path::after {
  right: -1px;
}

.lumi-route {
  position: absolute;
  bottom: 37px;
  left: 12%;
  z-index: 3;
  width: clamp(56px, 17%, 82px);
  opacity: 1;
  transform: translateX(-50%) scale(0.62);
  transform-origin: 50% 100%;
}

.lumi-model {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 8px rgba(20, 22, 20, 0.3));
  transform-origin: 50% 100%;
}

.lumi-model.previous-lumi {
  width: 138%;
  max-width: none;
  margin-left: -19%;
}

.reference-scene-stage.is-patrolling .lumi-route {
  animation: lumi-route 7.2s cubic-bezier(0.42, 0, 0.22, 1) infinite;
}

.reference-scene-stage.is-patrolling .lumi-model {
  animation: lumi-walk-cycle 0.58s steps(2, end) infinite;
}

.lumi-zoom {
  position: absolute;
  top: 48%;
  left: 51%;
  z-index: 3;
  width: clamp(124px, 42%, 190px);
  height: auto;
  image-rendering: pixelated;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(20, 22, 20, 0.34));
  transform: translate(-50%, -50%) scale(0.36);
  transform-origin: 50% 70%;
}

.lumi-zoom.previous-lumi-zoom {
  width: clamp(156px, 46%, 226px);
}

.reference-scene-stage.is-patrolling .lumi-zoom {
  animation: lumi-closeup-zoom 7.2s ease-in-out infinite;
}

.scene-chips {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  z-index: 4;
  display: flex;
  gap: 7px;
  align-items: center;
}

.scene-chip {
  display: inline-flex;
  height: 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, 0.46);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: #26382c;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 0 10px;
  white-space: nowrap;
}

.scene-chip:hover,
.scene-chip.active {
  border-color: rgba(132, 159, 130, 0.85);
  background: rgba(255, 253, 248, 0.95);
}

.scene-chip.active {
  box-shadow: 0 6px 14px rgba(20, 22, 20, 0.14);
}

.courier-image {
  aspect-ratio: 456 / 200;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.feature-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.feature-card p {
  margin: 9px 0 0;
  color: #4f514d;
  font-size: 14px;
  line-height: 1;
}

.breed-section {
  padding: 42px 54px 92px;
  background: var(--bg);
}

.breed-shell {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 34px;
}

.breed-copy h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

.breed-copy p {
  max-width: 650px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.42;
}

.breed-lineage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.breed-lineage-card {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(221, 214, 200, 0.95);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 0 17px;
  box-shadow: 0 10px 24px rgba(43, 45, 35, 0.06);
}

.breed-lineage-card.highlight {
  border-color: rgba(132, 159, 130, 0.72);
  background: #eff2e8;
  color: #29362c;
}

.breed-plus,
.breed-arrow {
  color: #87907f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1;
}

.breed-copy .breed-note {
  max-width: 590px;
  font-size: 16px;
}

.breed-chart-card {
  border: 1px solid rgba(221, 214, 200, 0.95);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.82)),
    var(--surface);
  padding: 29px 28px 26px;
  box-shadow: 0 18px 38px rgba(43, 45, 35, 0.08);
}

.breed-pie {
  position: relative;
  display: grid;
  width: 224px;
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, var(--accent) 0 50%, var(--peach) 0 75%, var(--gold) 0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(43, 45, 35, 0.08),
    0 18px 32px rgba(43, 45, 35, 0.1);
}

.breed-pie::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 253, 248, 0.68);
  border-radius: inherit;
  content: "";
}

.breed-pie::after {
  position: absolute;
  width: 116px;
  aspect-ratio: 1;
  border: 1px solid rgba(221, 214, 200, 0.95);
  border-radius: inherit;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(43, 45, 35, 0.07);
  content: "";
}

.breed-pie-center {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.breed-legend {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: #4f514d;
  font-size: 14px;
  line-height: 1.28;
}

.breed-legend span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.breed-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.breed-swatch.bsh {
  background: var(--accent);
}

.breed-swatch.persian {
  background: var(--peach);
}

.breed-swatch.munchkin {
  background: var(--gold);
}

.breed-dob {
  display: inline-flex;
  grid-column: 1 / -1;
  justify-self: end;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(221, 214, 200, 0.95);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  color: #4f514d;
  font-size: 14px;
  padding: 12px 17px;
}

.breed-dob span {
  color: #87907f;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.breed-dob strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.breed-section-top {
  margin-top: 30px;
  padding: 0;
  background: transparent;
}

.breed-section-top .breed-shell {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 18px;
}

.breed-section-top .breed-copy h2 {
  font-size: 32px;
}

.breed-section-top .breed-copy p {
  max-width: 520px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.35;
}

.breed-section-top .breed-lineage {
  gap: 7px;
  margin-top: 14px;
}

.breed-section-top .breed-lineage-card {
  min-height: 36px;
  border-radius: 7px;
  font-size: 13px;
  padding: 0 11px;
}

.breed-section-top .breed-plus,
.breed-section-top .breed-arrow {
  font-size: 18px;
}

.breed-section-top .breed-chart-card {
  padding: 17px;
}

.breed-section-top .breed-pie {
  width: 132px;
}

.breed-section-top .breed-pie::after {
  width: 72px;
}

.breed-section-top .breed-pie-center {
  font-size: 18px;
}

.breed-section-top .breed-legend {
  gap: 7px;
  margin-top: 14px;
  font-size: 12px;
}

.breed-section-top .breed-dob {
  justify-self: start;
  padding: 9px 13px;
}

.round-icon,
.play-button {
  display: grid;
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
}

.round-icon {
  background: #e0e3d3;
  color: #26382c;
}

.play-button {
  border: 0;
  background: var(--peach);
  color: var(--ink);
}

.play-button:hover {
  background: #ee927a;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  color: currentColor;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.icon[data-icon="clock"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v5l3 2'/%3E%3C/svg%3E");
}

.icon[data-icon="eye"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M3 12s3.4-6 9-6 9 6 9 6-3.4 6-9 6-9-6-9-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E");
}

.icon[data-icon="letter"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='4' y='6' width='16' height='12' rx='2'/%3E%3Cpath d='M4 8l8 6 8-6'/%3E%3C/svg%3E");
}

.icon[data-icon="play"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.8c0-1 1.1-1.6 2-1l8.4 5.3c.9.6.9 1.9 0 2.5L10 18c-.9.6-2-.1-2-1V5.8Z'/%3E%3C/svg%3E");
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes call-copy-fade {
  100% {
    opacity: 0.18;
    transform: translateY(-18px) scale(0.98);
  }
}

@keyframes bell-ring {
  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-12deg);
  }

  75% {
    transform: rotate(12deg);
  }
}

@keyframes lumi-route {
  0% {
    opacity: 1;
    bottom: 31px;
    left: 12%;
    transform: translateX(-50%) scale(0.54) scaleX(1) rotate(-2deg);
  }

  24% {
    bottom: 43px;
    left: 36%;
    transform: translateX(-50%) scale(0.64) scaleX(1) rotate(1deg);
  }

  48% {
    bottom: 39px;
    left: 58%;
    transform: translateX(-50%) scale(0.72) scaleX(1) rotate(-1deg);
  }

  56% {
    opacity: 1;
    bottom: 38px;
    left: 75%;
    transform: translateX(-50%) scale(0.78) scaleX(1) rotate(1deg);
  }

  59% {
    opacity: 1;
    bottom: 38px;
    left: 75%;
    transform: translateX(-50%) scale(0.78) scaleX(-1) rotate(0deg);
  }

  66% {
    opacity: 0;
    bottom: 45px;
    left: 58%;
    transform: translateX(-50%) scale(1.1) scaleX(-1) rotate(0deg);
  }

  90% {
    opacity: 0;
    bottom: 34px;
    left: 12%;
    transform: translateX(-50%) scale(0.54) scaleX(1) rotate(-2deg);
  }

  100% {
    opacity: 1;
    bottom: 31px;
    left: 12%;
    transform: translateX(-50%) scale(0.54) scaleX(1) rotate(-2deg);
  }
}

@keyframes lumi-walk-cycle {
  0% {
    transform: translateY(0) rotate(-1deg) scaleY(1);
  }

  50% {
    transform: translateY(-4px) rotate(1deg) scaleY(0.98);
  }

  100% {
    transform: translateY(0) rotate(-1deg) scaleY(1);
  }
}

@keyframes lumi-closeup-zoom {
  0%,
  52%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.36);
  }

  62% {
    opacity: 0.98;
    transform: translate(-50%, -52%) scale(0.78);
  }

  76% {
    opacity: 1;
    transform: translate(-50%, -54%) scale(1.05);
  }

  90% {
    opacity: 0;
    transform: translate(-50%, -56%) scale(1.22);
  }
}

@keyframes scene-zoom-pulse {
  0%,
  52%,
  100% {
    transform: scale(1);
  }

  76% {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-lumi-overlay,
  .call-lumi-copy,
  .call-lumi-face,
  .call-lumi-heard,
  .call-lumi-enter,
  .call-lumi-overlay.is-ringing .toy-bell {
    animation: none;
    transition: none;
  }

  .reference-scene-bg {
    transition: none;
  }

  .reference-scene-stage.is-patrolling .reference-scene-bg,
  .reference-scene-stage.is-patrolling .lumi-route,
  .reference-scene-stage.is-patrolling .lumi-model,
  .reference-scene-stage.is-patrolling .lumi-zoom {
    animation: none;
  }

  .lumi-route {
    left: 66%;
  }

  .lumi-zoom {
    display: none;
  }
}

@media (max-width: 1199px) {
  .landing {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    padding: 56px 40px;
  }
}

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

  .feature-stack {
    max-width: 489px;
  }

  .breed-section {
    padding-right: 40px;
    padding-left: 40px;
  }

  .breed-section-top {
    padding: 0;
  }

  .breed-shell {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .breed-section-top .breed-shell {
    grid-template-columns: 1fr;
  }

  .breed-chart-card {
    max-width: 390px;
  }

  .breed-dob {
    justify-self: start;
  }

  .breed-section-top .breed-chart-card {
    max-width: 330px;
  }
}

@media (max-width: 767px) {
  .call-lumi-overlay {
    cursor: auto;
  }

  .call-lumi-brand {
    top: 24px;
    left: 24px;
    font-size: 36px;
  }

  .call-lumi-skip {
    top: 24px;
    right: 20px;
  }

  .call-lumi-enter {
    bottom: 28px;
  }

  .call-lumi-copy {
    align-self: start;
    padding-top: 144px;
    padding-bottom: 0;
  }

  .call-lumi-copy h2 {
    font-size: 46px;
  }

  .call-lumi-instruction {
    max-width: 310px;
    font-size: 17px;
  }

  .call-lumi-counter {
    font-size: 20px;
  }

  .call-lumi-heard {
    right: auto;
    bottom: 274px;
    left: 24px;
    max-width: 290px;
    font-size: 30px;
    line-height: 1.05;
  }

  .call-lumi-face {
    right: -174px;
    bottom: 18px;
    width: 620px;
  }

  .call-lumi-overlay.is-awake .call-lumi-face {
    transform: rotate(-2deg) translate(0, 0) scale(0.92);
  }

  .cat-toy {
    width: 76px;
    height: 150px;
  }

  .toy-string {
    height: 104px;
  }

  .toy-bell {
    width: 48px;
    height: 48px;
  }

  .landing {
    gap: 28px;
    padding: 40px 20px;
  }

  .breed-section {
    padding: 50px 20px 72px;
  }

  .breed-section-top {
    margin-top: 26px;
    padding: 0;
  }

  .breed-shell {
    gap: 22px;
  }

  .breed-copy h2 {
    font-size: 34px;
  }

  .breed-section-top .breed-copy h2 {
    font-size: 30px;
  }

  .breed-copy p {
    font-size: 17px;
  }

  .breed-section-top .breed-copy p {
    font-size: 15px;
  }

  .breed-lineage {
    gap: 8px;
  }

  .breed-lineage-card {
    flex: 1 1 132px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .breed-plus,
  .breed-arrow {
    width: 24px;
    text-align: center;
  }

  .breed-chart-card {
    width: 100%;
    max-width: none;
    padding: 24px 22px;
  }

  .breed-pie {
    width: min(204px, 68vw);
  }

  .breed-dob {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }

  h1 {
    font-size: 38px;
  }

  .desktop-break {
    display: none;
  }

  .companion-panel {
    height: auto;
  }

  .panel-grid {
    display: block;
    height: auto;
  }

  .panel-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .panel-brand,
  .sidebar-profile {
    display: none;
  }

  .panel-nav {
    flex: 1;
    flex-flow: row wrap;
    gap: 8px 16px;
    margin-top: 0;
  }

  .panel-main {
    padding: 36px 20px 32px;
  }

  .timer-value {
    font-size: 72px;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .panel-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .secondary-button {
    width: 100%;
  }
}
