:root {
  --paper: #f8f3e8;
  --ink: #34322e;
  --muted: #6f6a61;
  --terracotta: #b85f43;
  --terracotta-dark: #9c4c35;
  --sage: #667a61;
  --sage-light: #dfe7da;
  --kraft: #c9a878;
  --cream: #fffaf0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header { height: 92px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; position: absolute; z-index: 10; width: 100%; border-bottom: 1px dashed rgba(112,91,61,.24); }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.1vw, 31px); font-weight: 800; letter-spacing: .08em; }
.wordmark > span:first-child { font-size: 22px; }
nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); font-size: 14px; font-weight: 700; }
nav a { transition: color .2s; }
nav a:hover { color: var(--terracotta); }
.nav-contact { border: 1px solid var(--sage); border-radius: 99px; padding: 11px 18px; }

.hero { min-height: 790px; padding: 150px clamp(24px, 5vw, 76px) 70px; display: grid; grid-template-columns: 48% 52%; align-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 25% 30%, rgba(255,255,255,.8), transparent 40%), var(--paper); }
.paper-noise { position: absolute; inset: 0; opacity: .42; pointer-events: none; background-image: repeating-radial-gradient(circle at 15% 25%, rgba(112,91,61,.09) 0 1px, transparent 1px 4px); background-size: 14px 17px; mix-blend-mode: multiply; }
.hero-copy { position: relative; z-index: 2; padding-right: clamp(16px, 4vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(201,168,120,.23); color: var(--sage); font-weight: 800; letter-spacing: .08em; transform: rotate(-1deg); }
.hero h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.28; letter-spacing: .055em; margin: 32px 0 24px; text-wrap: balance; }
.hero h1::after { content: ""; display: block; width: 300px; max-width: 74%; border-bottom: 4px dashed #91a287; margin-top: 18px; }
.hero-lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 2; font-weight: 600; letter-spacing: .04em; }
.hero-actions { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.button { min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 25px; border-radius: 14px; font-weight: 800; letter-spacing: .04em; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(75,50,37,.16); }
.button-primary { background: var(--terracotta); color: white; }
.button-primary:hover { background: var(--terracotta-dark); }
.button-secondary { border: 2px solid var(--sage); color: var(--sage); background: rgba(255,255,255,.38); }
.paw-trail { color: #a69680; opacity: .85; transform: rotate(-12deg); font-size: 21px; margin: 42px 0 -20px 52%; letter-spacing: 12px; }
.hero-visual { position: relative; height: 610px; z-index: 1; }
.hero-visual::before { content: ""; position: absolute; inset: 5% -8% -6% 0; background: #d5bf98; transform: rotate(2deg); border-radius: 48% 17% 41% 27%; opacity: .52; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; position: relative; border-radius: 41% 13% 45% 21%; clip-path: polygon(3% 8%, 42% 2%, 78% 5%, 100% 12%, 97% 85%, 84% 98%, 49% 94%, 16% 99%, 0 81%, 4% 47%); filter: saturate(.88) contrast(.96); }
.tape { position: absolute; width: 180px; height: 48px; background: rgba(200,169,119,.75); right: -30px; top: 5px; transform: rotate(12deg); z-index: 3; box-shadow: inset 0 0 18px rgba(255,255,255,.3); }
.photo-caption { position: absolute; right: 4%; bottom: 5%; z-index: 3; background: rgba(255,250,240,.9); padding: 10px 14px; font-size: 13px; font-weight: 700; transform: rotate(-2deg); }

.section { padding: 110px clamp(24px, 7vw, 110px); }
.section-heading { max-width: 600px; }
.section-heading.centered { margin: 0 auto 58px; text-align: center; }
.kicker { color: var(--terracotta); font-size: 13px; font-weight: 900; letter-spacing: .22em; margin: 0 0 15px; }
.section h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(34px, 4vw, 55px); line-height: 1.45; letter-spacing: .05em; margin: 0 0 24px; }
.section p { line-height: 2; }

.intro { background: #fffaf0; position: relative; overflow: hidden; }
.intro::after { content: "🐾"; position: absolute; font-size: 90px; right: 5%; bottom: 5%; opacity: .06; transform: rotate(-20deg); }
.about-heading { max-width: 760px; }
.about-story { max-width: 1120px; margin: 60px auto 0; display: grid; grid-template-columns: 1fr 210px 1fr; align-items: center; gap: 28px; }
.story-photo { margin: 0; position: relative; background: white; padding: 13px 13px 22px; box-shadow: 0 15px 36px rgba(73,61,43,.16); }
.story-photo-left { transform: rotate(-2.2deg); }
.story-photo-right { transform: rotate(2deg); }
.story-photo img { width: 100%; height: 300px; object-fit: cover; display: block; }
.story-photo figcaption { display: flex; align-items: baseline; justify-content: space-between; padding: 17px 8px 0; }
.story-photo figcaption b { color: var(--terracotta); font-size: 20px; }
.story-photo figcaption span { font-size: 13px; color: var(--muted); }
.mini-tape { position: absolute; width: 115px; height: 32px; background: rgba(201,168,120,.73); left: calc(50% - 58px); top: -15px; z-index: 2; transform: rotate(1deg); }
.story-note { position: relative; background: #eee1c9; padding: 35px 18px 28px; text-align: center; transform: rotate(-1deg); box-shadow: 5px 7px 0 rgba(112,91,61,.09); clip-path: polygon(2% 2%, 98% 0, 100% 96%, 45% 100%, 0 97%); }
.story-note p { margin: 0; font-family: "Yu Mincho", serif; font-size: 19px; font-weight: 800; line-height: 1.5; }
.story-note i { display: block; color: var(--terracotta); font-style: normal; font-size: 22px; line-height: 1.25; }
.story-paw { display: block; margin-bottom: 12px; font-size: 28px; }
.about-message { text-align: center; margin: 48px auto 0; font-family: "Yu Mincho", serif; font-size: 20px; font-weight: 700; letter-spacing: .08em; }

.problem-section { background: #f1e9da; position: relative; padding-block: 90px; overflow: hidden; }
.problem-section::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(circle at 12% 8%, #fff 0 3%, transparent 11%), radial-gradient(circle at 91% 12%, #ead1c7 0 5%, transparent 15%), radial-gradient(circle at 7% 88%, #dfe7da 0 4%, transparent 13%); }
.matter-board { max-width: 1120px; min-height: 1040px; margin: auto; position: relative; padding: 35px 42px 85px; background: #fffaf0; border: 1px solid rgba(112,91,61,.14); border-radius: 12px 34px 14px 28px; box-shadow: 0 18px 45px rgba(70,53,33,.12); }
.matter-board::before { content: ""; position: absolute; inset: 0; opacity: .10; pointer-events: none; background-image: repeating-radial-gradient(circle, #806e57 0 1px, transparent 1px 5px); background-size: 14px 17px; }
.matter-board > * { position: relative; z-index: 1; }
.matter-alert { display: inline-block; margin: 8px 0 30px; padding: 14px 26px; background: var(--terracotta); color: white; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif !important; font-size: clamp(25px, 3.2vw, 43px) !important; line-height: 1.35 !important; font-weight: 800; letter-spacing: .055em !important; transform: rotate(-1.2deg); clip-path: polygon(1% 6%, 99% 0, 97% 96%, 0 91%); text-shadow: 0 1px 0 rgba(91,22,18,.18); }
.breeding-note { position: absolute; left: 5%; top: 250px; width: 36%; min-height: 165px; display: grid; place-items: center; padding: 32px 27px 24px; background: #f5ecd9; color: var(--ink); font-size: clamp(16px, 1.65vw, 23px); line-height: 1.65; transform: rotate(-2deg); box-shadow: 5px 7px 0 rgba(75,53,30,.09); clip-path: polygon(0 5%, 99% 0, 97% 95%, 4% 100%); }
.rainbow-tape { position: absolute; width: 120px; height: 31px; left: calc(50% - 60px); top: -13px; transform: rotate(2deg); background: rgba(201,168,120,.76); box-shadow: inset 0 0 12px rgba(255,255,255,.28); }
.breeding-flow { width: 59%; margin-left: auto; display: flex; flex-direction: column; align-items: center; }
.starting-cats { display: flex; align-items: center; gap: 22px; }
.starting-cats > strong { padding: 16px 25px; background: #edf1e9; color: var(--sage); border-radius: 10px 30px 12px 25px; font-family: "Yu Mincho", serif; font-size: clamp(20px, 2.2vw, 29px); line-height: 1.45; }
.polaroid-cats { position: relative; background: white; border: 8px solid white; border-bottom-width: 22px; padding: 16px 12px 8px; box-shadow: 3px 5px 0 rgba(66,47,25,.15); font-size: 39px; white-space: nowrap; }
.polaroid-cats i { position: absolute; right: 13px; top: 3px; color: #e75c7b; font-size: 21px; }
.pink-arrow { color: var(--terracotta); font-size: 66px; line-height: .9; font-weight: 900; -webkit-text-stroke: 0; text-shadow: 3px 4px 0 rgba(201,168,120,.22); }
.big-arrow { font-size: 88px; margin: -5px 0; }
.growth-stage { width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 18px; }
.cat-faces { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; padding: 10px 12px; background: #f8f1e4; clip-path: polygon(1% 3%, 99% 0, 97% 97%, 0 94%); box-shadow: 3px 5px 0 rgba(78,57,34,.08); }
.cat-faces span { font-size: clamp(19px, 2vw, 28px); line-height: .95; filter: saturate(.9); }
.year-label { padding: 15px 16px; background: #edf1e9; color: var(--sage); border-radius: 10px 27px 12px 22px; text-align: center; }
.year-label b, .year-label strong { display: block; }
.year-label b { font-size: clamp(17px, 1.8vw, 24px); }
.year-label strong { font-size: clamp(24px, 2.8vw, 38px); margin-top: 4px; }
.stage-two .cat-faces { grid-template-columns: repeat(12, 1fr); padding: 8px; }
.stage-two .cat-faces span { font-size: clamp(13px, 1.25vw, 19px); }
.stage-three { display: block; width: calc(100% + 67%); margin-left: -67%; position: relative; }
.many-cats { grid-template-columns: repeat(22, 1fr); gap: 0; padding: 10px; background: transparent; box-shadow: none; clip-path: none; }
.many-cats span { font-size: clamp(13px, 1.35vw, 20px); }
.final-number { margin: -8px auto 0; color: var(--terracotta-dark); font-family: "Yu Mincho", serif; font-size: clamp(32px, 5vw, 70px); font-weight: 900; line-height: 1.05; text-align: center; letter-spacing: -.035em; text-shadow: 3px 3px 0 white, -2px -2px 0 white, 5px 6px 0 rgba(102,122,97,.30); white-space: nowrap; }
.matter-warning { position: absolute !important; left: 3%; right: 3%; bottom: 18px; margin: 0; padding: 12px 18px; background: #edf1e9; color: #40503e; font-size: clamp(14px, 1.7vw, 21px); font-weight: 800; text-align: center; line-height: 1.5 !important; transform: rotate(-.3deg); border: 1px dashed rgba(102,122,97,.36); }
.note { position: relative; text-align: center; font-size: 12px; color: var(--muted); margin-top: 23px; }
.mobile-break { display: none; }

.tnr { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; background: var(--paper); }
.tnr-visual { min-height: 535px; background: var(--sage-light); border-radius: 9px 34px 12px 29px; position: relative; padding: 14px 14px 52px; box-shadow: 0 18px 45px rgba(65,61,50,.15); transform: rotate(-1.5deg); }
.tnr-visual img { width: 100%; height: 470px; object-fit: cover; display: block; border-radius: 5px 22px 5px 17px; }
.tnr-tape { position: absolute; width: 145px; height: 42px; background: rgba(201,168,120,.76); left: 34%; top: -14px; transform: rotate(2deg); z-index: 2; }
.tnr-caption { position: absolute; bottom: 18px; left: 28px; font-family: "Yu Mincho", serif; font-size: 14px; font-weight: 700; }
.tnr-copy > p:not(.kicker) { font-size: 17px; }
.tnr-steps { padding: 0; margin: 38px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tnr-steps li { min-height: 175px; display: flex; flex-direction: column; gap: 13px; align-items: center; justify-content: center; text-align: center; background: var(--cream); border: 2px dashed var(--kraft); border-radius: 10px 22px 12px 18px; padding: 18px 10px; box-shadow: 4px 6px 0 rgba(121,98,65,.08); }
.tnr-steps li:nth-child(2) { transform: translateY(-8px) rotate(1deg); background: #edf1e9; }
.tnr-steps li > span { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sage); font-size: 25px; font-weight: 900; }
.tnr-steps b, .tnr-steps small { display: block; }
.tnr-steps b { font-size: 21px; }
.tnr-steps small { color: var(--muted); margin-top: 5px; font-size: 14px; }

.activities { background: #fffaf0; }
.activity-grid { max-width: 1120px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.activity-grid article { position: relative; background: var(--paper); padding: 34px 26px 28px; min-height: 235px; border-radius: 13px 25px 12px 22px; border: 1px solid rgba(106,92,68,.12); transition: transform .2s; text-align: center; }
.activity-grid article:hover { transform: translateY(-5px) rotate(-.4deg); }
.number { position: absolute; right: 16px; top: 12px; color: var(--kraft); font-size: 12px; font-weight: 900; }
.activity-icon { font-size: 57px; margin-bottom: 22px; }
.activity-grid h3 { font-size: 19px; margin: 0 0 15px; }
.activity-grid p { font-size: 13px; line-height: 1.6; color: var(--muted); }

.contact { background: var(--sage); color: white; }
.contact-card { max-width: 1100px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 50px; border: 2px dashed rgba(255,255,255,.35); padding: 52px; border-radius: 20px; }
.contact-card > div { max-width: 680px; }
.contact .kicker { color: #f1d7b0; }
.contact .button { flex: none; background: var(--cream); color: var(--terracotta-dark); }
.contact-note { text-align: center; opacity: .78; font-size: 12px; margin: 22px auto 0; }

footer { background: #342f29; color: #eee5d5; padding: 55px clamp(24px, 6vw, 90px) 25px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.footer-brand span:last-child { font-size: 12px; color: #bdb3a5; margin-left: 14px; }
.footer-links { display: flex; gap: 25px; margin: 35px 0; font-size: 13px; color: #d2c7b8; }
.copyright { border-top: 1px solid #514a42; padding-top: 20px; font-size: 11px; color: #90877c; }

@media (max-width: 920px) {
  .site-header { position: relative; height: auto; padding-block: 22px; }
  nav { display: none; }
  .hero { padding-top: 50px; grid-template-columns: 1fr; }
  .hero-visual { height: 440px; margin-top: 45px; }
  .tnr { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr 150px 1fr; gap: 15px; }
  .story-photo img { height: 230px; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .matter-board { min-height: 1100px; }
  .breeding-note { position: relative; inset: auto; width: 76%; margin: 0 auto 34px; }
  .breeding-flow { width: 88%; margin: auto; }
  .stage-three { width: 114%; margin-left: -7%; }
  .contact-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .hero { min-height: auto; padding-inline: 22px; }
  .hero h1 { font-size: 39px; }
  .hero-lead br { display: none; }
  .button { width: 100%; }
  .hero-visual { height: 320px; }
  .section { padding: 75px 22px; }
  .activity-grid { grid-template-columns: 1fr; }
  .problem-section { padding-inline: 12px; }
  .matter-board { min-height: 1120px; padding: 26px 14px 90px; }
  .matter-alert { display: block; text-align: center; }
  .breeding-note { width: 92%; font-size: 15px; }
  .starting-cats { gap: 8px; }
  .starting-cats > strong { padding: 12px; font-size: 17px; }
  .polaroid-cats { font-size: 26px; }
  .breeding-flow { width: 100%; }
  .growth-stage { grid-template-columns: 1.45fr 1fr; gap: 7px; }
  .cat-faces span { font-size: 16px; }
  .stage-two .cat-faces span { font-size: 10px; }
  .stage-three { width: 104%; margin-left: -2%; }
  .many-cats { grid-template-columns: repeat(18, 1fr); }
  .many-cats span { font-size: 9px; }
  .final-number { white-space: normal; font-size: 39px; }
  .matter-warning { font-size: 12px; }
  .mobile-break { display: initial; }
  .about-story { grid-template-columns: 1fr; }
  .story-note { max-width: 220px; margin: 10px auto; }
  .story-photo img { height: 260px; }
  .tnr-steps { flex-direction: column; }
  .tnr-visual { min-height: 390px; }
  .tnr-visual img { height: 330px; }
  .contact-card { padding: 28px 22px; }
  .footer-brand { flex-wrap: wrap; }
  .footer-brand span:last-child { width: 100%; margin-left: 0; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
