:root {
  --ink: #4b2d1e;
  --ink-soft: #765745;
  --paper: #fffdf8;
  --cream: #fff8e9;
  --sun: #ffb829;
  --sun-deep: #ef981d;
  --peach: #ffe5cc;
  --mint: #e7f3df;
  --sky: #e8f3f5;
  --line: rgba(104, 67, 37, 0.13);
  --shadow: 0 18px 45px rgba(119, 76, 35, 0.11);
  --radius-lg: 34px;
  --radius-md: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 201, 84, .12), transparent 24rem),
    linear-gradient(180deg, #fffdf8 0%, #fffaf0 44%, #fffdf8 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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; left: 20px; top: -60px; z-index: 100; background: var(--ink); color: white; padding: 10px 16px; border-radius: 12px; transition: top .2s; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(111, 72, 39, .08); }
.nav-wrap { width: min(1240px, calc(100% - 40px)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "STKaiti", "KaiTi", serif; font-size: 22px; font-weight: 800; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 50% 46% 48% 44%; background: #fff; transform: rotate(-4deg); box-shadow: 0 6px 16px rgba(94, 55, 25, .07); }
.brand-mark img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 31px; font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; padding: 28px 0 24px; color: #644939; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 17px; width: 0; height: 3px; border-radius: 99px; background: var(--sun); transform: translateX(-50%); transition: width .25s ease; }
.site-nav a:hover::after, .site-nav a.active::after { width: 24px; }
.nav-chip { padding: 11px 17px; border-radius: 999px; background: var(--sun); font-size: 13px; font-weight: 800; box-shadow: 0 8px 20px rgba(238, 157, 27, .22); }
.menu-button { display: none; margin-left: auto; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.hero { min-height: 650px; padding-block: 82px 72px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
.eyebrow { margin: 0 0 15px; color: var(--sun-deep); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.eyebrow span { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow span::before { content: ""; width: 25px; height: 2px; border-radius: 9px; background: currentColor; }
.hero h1, .section-heading h2, .notes-copy h2, .about h2 { margin: 0; font-family: "STKaiti", "KaiTi", serif; font-weight: 900; letter-spacing: .01em; line-height: 1.18; }
.hero h1 { font-size: clamp(47px, 5.2vw, 72px); }
.hero h1 em { position: relative; color: var(--ink); font-style: normal; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 4%; right: -2%; bottom: -7px; height: 11px; border-top: 5px solid var(--sun); border-radius: 50%; transform: rotate(-1deg); }
.hero-lead { max-width: 540px; margin: 28px 0 0; color: var(--ink-soft); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--sun); box-shadow: 0 12px 25px rgba(239, 152, 29, .25); }
.button.soft { background: white; border: 1px solid var(--line); box-shadow: 0 10px 25px rgba(104, 67, 37, .08); white-space: nowrap; }
.text-link { font-size: 14px; font-weight: 800; border-bottom: 1px solid rgba(75,45,30,.25); }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 46px; }
.hero-note p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.hero-note strong { color: var(--ink); font-size: 14px; }
.mini-faces { display: flex; }
.mini-faces b { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; border: 3px solid var(--paper); border-radius: 50%; background: #fff0c8; font-size: 17px; }
.mini-faces b:nth-child(2) { background: #eaf4e4; }.mini-faces b:nth-child(3) { background: #ffe6d1; }

.hero-art { position: relative; min-height: 510px; display: grid; place-items: center; }
.hero-art::before { display: none; }
.pet-illustration { display: none; }
.hero-generated-image { position: relative; z-index: 2; display: block; width: min(100%, 650px); height: auto; border-radius: 44% 56% 51% 49% / 50% 45% 55% 50%; object-fit: cover; box-shadow: 0 24px 60px rgba(119, 76, 35, .12); }
.float-icon { display: none; }
.heart-one { left: 6%; top: 20%; }.star-one { right: 7%; top: 8%; animation-delay: -.9s; }.paw-one { right: 2%; bottom: 20%; font-size: 30px; animation-delay: -1.8s; }
.art-label { position: absolute; z-index: 4; min-width: 150px; padding: 13px 18px; border: 1px solid rgba(99,62,29,.1); border-radius: 18px; background: rgba(255,255,255,.91); box-shadow: var(--shadow); transform: rotate(-3deg); }
.art-label span { display: block; color: #98725a; font-size: 10px; }.art-label strong { font-size: 13px; }
.label-left { left: 3%; bottom: 10%; }.label-right { right: -2%; top: 24%; transform: rotate(4deg); }

.quick-guide { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4,1fr); margin-top: -28px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.quick-guide article { display: flex; align-items: center; gap: 14px; padding: 6px 20px; border-right: 1px solid var(--line); }.quick-guide article:last-child { border: 0; }
.guide-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 14px; background: #fff0c6; color: var(--sun-deep); font-family: serif; font-size: 22px; font-weight: 900; }
.quick-guide h2, .quick-guide p { margin: 0; }.quick-guide h2 { font-size: 14px; }.quick-guide p { color: #927360; font-size: 11px; }

.breeds { padding-block: 125px 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 35px; }
.section-heading h2, .notes-copy h2, .about h2 { font-size: clamp(36px, 4vw, 52px); }
.section-heading > p { max-width: 520px; margin: 0 0 4px; color: var(--ink-soft); font-size: 14px; }
.breed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.breed-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.9); box-shadow: 0 14px 35px rgba(91, 55, 25, .07); transition: transform .25s ease, box-shadow .25s ease; }
.breed-card:hover, .breed-card:focus-visible { outline: none; transform: translateY(-7px) rotate(-.3deg); box-shadow: 0 23px 48px rgba(91, 55, 25, .13); }
.portrait { position: relative; height: 205px; display: grid; place-items: center; overflow: hidden; }
.portrait::before, .portrait::after { content: ""; position: absolute; border: 1px solid rgba(85,48,26,.12); border-radius: 50%; }
.portrait::before { width: 172px; height: 172px; }.portrait::after { width: 122px; height: 122px; border-style: dashed; }
.portrait img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.breed-card:hover .portrait img { transform: scale(1.055); }
.portrait i { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.75); color: #72513f; font-size: 10px; font-style: normal; }
.peach .portrait { background: var(--peach); }.vanilla .portrait, .butter .portrait { background: #fff1bd; }.mint .portrait { background: var(--mint); }.sky .portrait { background: var(--sky); }
.card-body { padding: 21px 20px 19px; }.card-body p { min-height: 68px; margin: 13px 0 18px; color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.card-title h3 { margin: 0; font-family: "STKaiti", "KaiTi", serif; font-size: 20px; }.card-title > span { padding: 4px 9px; border-radius: 99px; background: var(--cream); color: #a4692c; font-size: 10px; font-weight: 800; }
.card-body dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding-top: 13px; border-top: 1px dashed var(--line); }
.card-body dl > div + div { padding-left: 14px; border-left: 1px solid var(--line); }.card-body dt { color: #a18776; font-size: 9px; }.card-body dd { margin: 1px 0 0; font-size: 11px; font-weight: 800; }
.dog-heading { margin-top: 100px; }

.notes { margin-bottom: 110px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff0c9, #fff8e8 65%); box-shadow: var(--shadow); }
.notes-art { position: relative; min-height: 510px; overflow: hidden; background: linear-gradient(155deg, rgba(255,192,56,.22), transparent 60%); }
.notes-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.notes-art > :not(img) { display: none; }
.sun { position: absolute; left: 10%; top: 10%; color: #f8bd35; font-size: 56px; }.window { position: absolute; left: 18%; top: 22%; width: 64%; height: 55%; border: 16px solid #fffdf5; border-radius: 140px 140px 20px 20px; background: linear-gradient(#bfe2eb, #eef8f7 72%, #b9d897 72%); box-shadow: inset 0 0 0 3px rgba(92,55,25,.16), 0 20px 30px rgba(92,55,25,.1); }
.window::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; background: #fffdf5; }.window span { position: absolute; top: 24%; color: #fff; font-size: 40px; }.window span:first-child { left: 11%; }.window span:last-child { right: 7%; top: 38%; }
.sleeping-pet { position: absolute; left: 24%; bottom: 14%; z-index: 2; font-size: 76px; transform: rotate(-2deg); filter: drop-shadow(0 14px 9px rgba(94,55,25,.13)); }.sleeping-pet small { position: absolute; right: -46px; top: -25px; color: #cc8234; font: 700 18px serif; letter-spacing: 7px; }
.notes-copy { padding: 68px 68px 62px 42px; }.notes-copy h2 { margin-bottom: 34px; }
.note-list article { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(104,67,37,.13); }.note-list b { color: var(--sun-deep); font: 800 15px Georgia, serif; }.note-list h3, .note-list p { margin: 0; }.note-list h3 { font-size: 15px; }.note-list p { margin-top: 5px; color: var(--ink-soft); font-size: 12px; }

.about { margin-bottom: 105px; display: grid; grid-template-columns: 145px 1fr auto; align-items: center; gap: 42px; padding: 38px 46px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.about-badge { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 39% 61% 55% 45% / 45% 44% 56% 55%; background: #fff1bf; font-size: 44px; transform: rotate(-5deg); }.about-badge span { font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.about h2 { font-size: 32px; }.about p:last-child { max-width: 730px; margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; }

.site-footer { padding: 43px 0; border-top: 1px solid var(--line); background: #f9f2e6; }.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; gap: 40px; }.footer-inner > div:first-child p, .legal p { margin: 8px 0 0; color: #8a6d5a; font-size: 11px; }.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; font-size: 12px; font-weight: 700; }.footer-links a:hover { color: var(--sun-deep); }.legal { text-align: right; }.legal a { display: block; margin-top: 5px; color: #8a6d5a; font-size: 10px; }.legal a:hover { color: var(--sun-deep); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }.reveal.visible { opacity: 1; transform: none; }.breed-card:nth-child(2) { transition-delay: .08s; }.breed-card:nth-child(3) { transition-delay: .16s; }.breed-card:nth-child(4) { transition-delay: .24s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }

@media (max-width: 980px) {
  .nav-chip { display: none; }.site-nav { gap: 20px; }.hero { grid-template-columns: 1fr 1fr; gap: 15px; }.hero-art { min-height: 420px; }.breed-grid { grid-template-columns: repeat(2,1fr); }.quick-guide { grid-template-columns: repeat(2,1fr); }.quick-guide article:nth-child(2) { border-right: 0; }.quick-guide article:nth-child(-n+2) { padding-bottom: 18px; border-bottom: 1px solid var(--line); }.quick-guide article:nth-child(n+3) { padding-top: 18px; }.notes-copy { padding: 52px 38px 48px 24px; }.about { grid-template-columns: 120px 1fr; }.about .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .section-shell, .nav-wrap { width: min(100% - 28px, 1180px); }.nav-wrap { min-height: 66px; }.brand { font-size: 19px; }.brand-mark { width: 38px; height: 38px; }.menu-button { display: block; }.site-nav { position: absolute; left: 14px; right: 14px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: #fffdf8; box-shadow: var(--shadow); }.site-nav.open { display: flex; }.site-nav a { padding: 12px 16px; border-radius: 12px; }.site-nav a:hover { background: var(--cream); }.site-nav a::after { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 58px 46px; }.hero h1 { font-size: clamp(43px, 13vw, 62px); }.hero-lead { font-size: 15px; }.hero-note { margin-top: 34px; }.hero-art { min-height: 400px; margin-top: 14px; }.label-right { right: 0; }.label-left { left: 0; }.art-label { min-width: 130px; padding: 10px 13px; }.float-icon { font-size: 29px; }
  .quick-guide { margin-top: 0; padding: 12px; grid-template-columns: 1fr 1fr; }.quick-guide article { padding-inline: 8px; gap: 9px; }.guide-icon { flex-basis: 35px; height: 35px; border-radius: 11px; }.quick-guide p { display: none; }
  .breeds { padding-block: 88px 80px; }.section-heading { display: block; }.section-heading > p { margin-top: 16px; }.section-heading h2, .notes-copy h2 { font-size: 38px; }.breed-grid { grid-template-columns: 1fr; }.portrait { height: 230px; }.card-body p { min-height: 0; }.dog-heading { margin-top: 72px; }
  .notes { grid-template-columns: 1fr; margin-bottom: 80px; }.notes-art { min-height: 340px; }.sleeping-pet { font-size: 61px; }.notes-copy { padding: 42px 28px 38px; }.about { grid-template-columns: 1fr; gap: 25px; padding: 30px; margin-bottom: 75px; }.about-badge { width: 95px; height: 95px; font-size: 34px; }.about .button { grid-column: 1; }.footer-inner { grid-template-columns: 1fr; }.legal { text-align: left; }
}

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

:focus-visible { outline: 3px solid rgba(239, 152, 29, .55); outline-offset: 4px; }
