* { box-sizing: border-box; }

@font-face { font-family: "Cat Guide Figtree"; src: url("./figtree-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cat Guide Newsreader"; src: url("./newsreader-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --cat-paper: #fcf7f2;
  --cat-surface: #fffdfa;
  --cat-ink: #312720;
  --cat-muted: #5b534c;
  --cat-plum: #bc4a34;
  --cat-plum-deep: #8f382b;
  --cat-moss: #50613e;
  --cat-moss-soft: #e8ecd9;
  --cat-lilac: #f0e7f0;
  --cat-line: #eadbd0;
  --cat-focus: #225a65;
}

html { background: var(--cat-paper); scroll-behavior: smooth; scrollbar-color: #d1bdb0 var(--cat-paper); }
body { margin: 0; color: var(--cat-ink); background: var(--cat-paper); caret-color: var(--cat-plum); font: 17px/1.72 "Cat Guide Figtree", Figtree, system-ui, sans-serif; }
::selection { color: #fff; background: var(--cat-plum-deep); }
a { color: var(--cat-plum-deep); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--cat-moss); }
a:focus-visible, .cat-guide__mobile-nav > summary:focus-visible { outline: 3px solid var(--cat-focus); outline-offset: 4px; }

.cat-guide__header { position: relative; z-index: 5; width: min(100% - 48px, 1280px); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--cat-line); }
.cat-guide__brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--cat-ink); text-decoration: none; font: 600 23px/1.2 "Cat Guide Newsreader", Newsreader, Georgia, serif; letter-spacing: -.02em; }
.cat-guide__mark { width: 64px; height: 64px; display: block; flex: none; }
.cat-guide__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cat-guide__brand-copy { display: flex; flex-direction: column; gap: 1px; line-height: 1.08; }
.cat-guide__brand-tagline { color: var(--cat-muted); font: 500 12px/1.2 "Cat Guide Figtree", Figtree, system-ui, sans-serif; letter-spacing: 0; }
.cat-guide__header nav { display: flex; align-items: center; gap: 11px; color: var(--cat-muted); font-size: 14px; }
.cat-guide__header nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--cat-muted); text-decoration: none; }
.cat-guide__header nav a:first-child { min-width: 44px; padding: 0 15px; justify-content: center; border-radius: 8px; color: #fffaf4; background: var(--cat-plum); font-weight: 700; text-decoration: none; }
.cat-guide__header nav a:first-child:hover { color: #fffaf4; background: var(--cat-moss); }
.cat-guide__header nav a:not(:first-child):hover { color: var(--cat-plum-deep); text-decoration: underline; text-underline-offset: 4px; }
.cat-guide__header nav a[aria-current="page"] { color: var(--cat-ink); font-weight: 650; }
.cat-guide__mobile-nav { display: none; }
.cat-guide__visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.cat-guide__breadcrumb { width: min(100%, 1040px); margin: 12px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; color: var(--cat-muted); font-size: 14px; }
.cat-guide__breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.cat-guide main { padding: 0 24px; }
.cat-guide__skip { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 10px 16px; color: var(--cat-paper); background: var(--cat-plum); transform: translateY(calc(-100% - 20px)); }
.cat-guide__skip:hover, .cat-guide__skip:focus-visible { color: var(--cat-paper); }
.cat-guide__skip:focus-visible { transform: translateY(0); }

.cat-guide article { width: min(100%, 1040px); margin: auto; }
.cat-guide__hero { padding: clamp(48px, 8vw, 95px) 0 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .42fr); align-items: end; gap: clamp(28px, 6vw, 84px); border-bottom: 1px solid var(--cat-line); }
.cat-guide__label { margin: 0 0 14px; color: var(--cat-moss); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cat-guide h1, .cat-guide h2, .cat-guide h3 { font-family: "Cat Guide Newsreader", Newsreader, Georgia, serif; font-weight: 500; }
.cat-guide h1 { max-width: 13ch; margin: 0; font-size: clamp(44px, 7.5vw, 84px); line-height: .99; letter-spacing: -.035em; text-wrap: balance; }
.cat-guide__dek { max-width: 62ch; margin: 22px 0 14px; color: var(--cat-muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.62; }
.cat-guide__byline { margin: 0; color: var(--cat-muted); font-size: 14px; }
.cat-guide__note { padding: 20px 0 4px 23px; border-left: 1px solid var(--cat-line); }
.cat-guide__note span { color: var(--cat-plum); font: 500 22px/1.3 "Cat Guide Newsreader", Newsreader, Georgia, serif; }
.cat-guide__note p { margin: 8px 0 0; color: var(--cat-muted); font-size: 15px; line-height: 1.6; }
.cat-guide__photo, .cat-guide__care { padding: 49px 0; display: grid; grid-template-columns: minmax(230px, .68fr) minmax(0, 1fr); column-gap: clamp(30px, 6vw, 82px); border-bottom: 1px solid var(--cat-line); }
.cat-guide__section-title > p, .cat-guide__source-band > p { margin: 0 0 10px; color: var(--cat-moss); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cat-guide h2 { max-width: 12ch; margin: 0; font-size: clamp(31px, 4vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
.cat-guide__photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; color: var(--cat-muted); }
.cat-guide__photo-grid p { margin: 0; }
.cat-guide__observation { grid-column: 2; margin-top: 25px; padding: 20px 24px; background: var(--cat-lilac); }
.cat-guide h3 { margin: 0 0 8px; color: var(--cat-plum-deep); font-size: 23px; line-height: 1.25; }
.cat-guide__observation p { max-width: 65ch; margin: 0; color: var(--cat-muted); }
.cat-guide__care { border-bottom: 0; }
.cat-guide__care-column { grid-column: 2; border-top: 1px solid var(--cat-line); }
.cat-guide__care-row { padding: 23px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--cat-line); }
.cat-guide__symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--cat-moss); background: var(--cat-moss-soft); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cat-guide__care-row p { margin: 0 0 11px; color: var(--cat-muted); }
.cat-guide__care-row p:last-child { margin-bottom: 0; }
.cat-guide__care-row .cat-guide__source { color: var(--cat-muted); font-size: 15px; }
.cat-guide__source-band { margin: 0 0 52px; padding: 23px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 22px; border-block: 1px solid var(--cat-line); }
.cat-guide__source-band > p { flex: 0 0 auto; margin: 0; }
.cat-guide__source-band a { font: 500 21px/1.4 "Cat Guide Newsreader", Newsreader, Georgia, serif; }
.cat-guide__tool-cta { margin: 0 0 52px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-radius: 16px; background: var(--cat-lilac); }
.cat-guide__tool-cta h2 { max-width: 18ch; margin: 0 0 9px; font-size: clamp(28px, 4vw, 38px); }
.cat-guide__tool-cta p { max-width: 65ch; margin: 0; color: var(--cat-muted); }
.cat-guide__tool-cta a { min-height: 48px; padding: 12px 18px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 8px; color: #fffaf4; background: var(--cat-plum); font-weight: 650; text-decoration: none; }
.cat-guide__tool-cta a:hover { color: #fffaf4; background: var(--cat-moss); }
.cat-guide__footer { width: min(100% - 48px, 1280px); min-height: 83px; margin: auto; padding: 15px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--cat-line); color: var(--cat-muted); font-size: 14px; }
.cat-guide__footer a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 760px) {
  .cat-guide__header { width: min(100% - 36px, 1280px); min-height: 70px; align-items: center; flex-direction: row; justify-content: space-between; gap: 12px; }
  .cat-guide__brand { font-size: 21px; }
  .cat-guide__mark { width: 58px; height: 58px; }
  .cat-guide__header .cat-guide__desktop-nav { display: none; }
  .cat-guide__mobile-nav { position: relative; display: block; }
  .cat-guide__mobile-nav > summary { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--cat-line); border-radius: 50%; color: var(--cat-ink); cursor: pointer; list-style: none; }
  .cat-guide__mobile-nav > summary::-webkit-details-marker { display: none; }
  .cat-guide__mobile-nav > summary::before, .cat-guide__mobile-nav > summary::after { position: absolute; width: 19px; height: 2px; border-radius: 2px; background: currentColor; content: ""; transition: transform .16s ease-out, box-shadow .16s ease-out, opacity .16s ease-out; }
  .cat-guide__mobile-nav > summary::before { box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .cat-guide__mobile-nav > summary::after { opacity: 0; }
  .cat-guide__mobile-nav[open] > summary::before { box-shadow: none; transform: rotate(45deg); }
  .cat-guide__mobile-nav[open] > summary::after { opacity: 1; transform: rotate(-45deg); }
  .cat-guide__mobile-nav > nav { position: absolute; top: calc(100% + 9px); right: 0; z-index: 10; width: min(260px, calc(100vw - 32px)); padding: 8px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--cat-line); border-radius: 14px; background: var(--cat-paper); box-shadow: 0 12px 25px rgb(50 41 31 / 12%); }
  .cat-guide__mobile-nav > nav a { min-height: 46px; padding: 0 13px; display: flex; align-items: center; border-radius: 8px; font-size: 15px; }
  .cat-guide__mobile-nav > nav a:first-child { min-height: 46px; border-radius: 8px; }
  .cat-guide__mobile-nav > nav a:not(:first-child) { color: var(--cat-muted); }
  .cat-guide__mobile-nav > nav a:not(:first-child):hover, .cat-guide__mobile-nav > nav a:not(:first-child):focus-visible { background: var(--cat-lilac); text-decoration: none; }
  .cat-guide__mobile-nav > nav a:first-child:hover, .cat-guide__mobile-nav > nav a:first-child:focus-visible { color: #fffaf4; background: var(--cat-moss); text-decoration: none; }
  .cat-guide main { padding-inline: 18px; }
  .cat-guide__hero { padding: 43px 0 33px; grid-template-columns: 1fr; gap: 22px; }
  .cat-guide__label { margin-bottom: 12px; }
  .cat-guide h1 { max-width: 14ch; font-size: clamp(43px, 12vw, 62px); }
  .cat-guide__dek { margin-top: 16px; font-size: 18px; }
  .cat-guide__note { max-width: 430px; padding: 13px 0 0; border-top: 1px solid var(--cat-line); border-left: 0; }
  .cat-guide__photo, .cat-guide__care { padding: 35px 0; grid-template-columns: 1fr; gap: 21px; }
  .cat-guide h2 { max-width: 16ch; font-size: 34px; }
  .cat-guide__photo-grid { grid-template-columns: 1fr; gap: 15px; }
  .cat-guide__observation, .cat-guide__care-column { grid-column: 1; }
  .cat-guide__observation { margin-top: -3px; padding: 18px; }
  .cat-guide__care-row { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px 0; }
  .cat-guide__care-row h3 { font-size: 22px; }
  .cat-guide__source-band { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 36px; }
  .cat-guide__tool-cta { margin-bottom: 36px; padding: 21px; align-items: flex-start; flex-direction: column; gap: 18px; }
  .cat-guide__tool-cta h2 { font-size: 31px; }
  .cat-guide__tool-cta a { width: 100%; }
  .cat-guide__footer { width: min(100% - 36px, 1280px); align-items: flex-start; flex-direction: column; gap: 0; }
  .cat-guide__footer span { order: 1; }
  .cat-guide__footer a:last-child { order: 2; }
}

@media (max-width: 370px) {
  .cat-guide__brand-tagline { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
