/* Homepage only. No shared page styles or external image requests. */
body[data-homepage="20261025"]{--hp-ink:#243c35;--hp-muted:#54685f;--hp-accent:#315b48;--hp-soft:#eaf0e7;--hp-paper:#fffdf7;--hp-line:#d3ddd0;background:#f4f5ef;color:var(--hp-ink)}
body[data-homepage="20261025"][data-design-family="dog"]{--hp-accent:#795136;--hp-soft:#eee7dc;--hp-line:#ddd5c6;--hp-ink:#3c3a30;--hp-muted:#646556}
body[data-homepage="20261025"] #main-content{max-width:none;padding:0 20px 70px}
body[data-homepage="20261025"] .page-ad-disclosure{max-width:1160px;margin:16px auto;font-size:.8rem;color:var(--hp-muted)}
.hp-shell{max-width:1160px;margin:auto;font-family:system-ui,"Yu Gothic",sans-serif;line-height:1.8}
.hp-shell *{box-sizing:border-box;min-width:0}.hp-shell a{color:var(--hp-accent)}.hp-shell p{margin:.75em 0}
.hp-shell h1,.hp-shell h2,.hp-shell h3{color:var(--hp-ink);line-height:1.45;letter-spacing:-.035em}.hp-shell h1{font-size:clamp(2rem,4.4vw,3.5rem);max-width:14em;margin:18px 0}.hp-shell h2{font-size:clamp(1.5rem,2.7vw,2.1rem);margin:0 0 14px}.hp-shell h3{font-size:1.1rem;margin:.15em 0 .6em}
.hp-shell .hp-eyebrow{font-size:.74rem;font-weight:750;letter-spacing:.12em;color:var(--hp-accent);margin:0 0 8px}.hp-shell .hp-lead{font-size:1.02rem;color:var(--hp-muted);max-width:37em}.hp-shell .hp-small{font-size:.82rem;color:var(--hp-muted)}
.hp-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(265px,.8fr);gap:clamp(24px,5vw,70px);align-items:center;background:var(--hp-paper);border:1px solid var(--hp-line);border-radius:22px;padding:clamp(25px,5vw,54px)}
.hp-hero-copy{padding:5px 0}.hp-search{margin:28px 0 0}.hp-search>label{display:block;font-size:.91rem;font-weight:750;margin-bottom:8px}.hp-search-row{display:flex;gap:8px}.hp-search-row input{appearance:none;flex:1;width:100%;border:1px solid #8b9e8d;border-radius:8px;background:#fff;font:inherit;font-size:16px;padding:12px 14px;min-height:50px}.hp-search-row button{border:1px solid var(--hp-accent);border-radius:8px;background:var(--hp-accent);color:#fff;font:inherit;font-weight:750;padding:10px 20px;min-height:50px;cursor:pointer;white-space:nowrap}
.hp-shell [hidden]{display:none!important}.hp-search-status{font-size:.82rem;color:var(--hp-muted);margin:8px 0!important}.hp-search-results{padding:0;margin:12px 0 0;list-style:none;border-top:1px solid var(--hp-line)}.hp-search-results li{border-bottom:1px solid var(--hp-line)}.hp-search-results a{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 2px;min-height:48px;text-decoration:none;font-weight:750}.hp-search-results a span:last-child{font-size:.73rem;font-weight:500;color:var(--hp-muted)}
.hp-note{position:relative;background:var(--hp-soft);padding:26px 25px;border-radius:7px 18px 18px 7px;border:1px solid var(--hp-line);box-shadow:8px 9px 0 #f4f3ec}.hp-note:before{content:"";position:absolute;left:15px;top:0;bottom:0;border-left:1px solid rgba(105,102,77,.18)}.hp-note-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #bfcab9;padding-bottom:15px;margin-bottom:15px}.hp-note-kicker strong{font-size:1rem}.hp-note-kicker span{font-size:.72rem;color:var(--hp-muted);letter-spacing:.12em}.hp-note ol{list-style:none;padding:0;margin:0;counter-reset:notes}.hp-note li{counter-increment:notes;display:grid;grid-template-columns:24px 1fr;gap:12px;margin:0;padding:16px 0;border-bottom:1px solid #cbd3c4}.hp-note li:before{content:"0" counter(notes);font:600 .7rem/1.8 system-ui;color:var(--hp-accent);padding-top:3px}.hp-note li strong{display:block;font-size:1rem}.hp-note li p{font-size:.8rem;color:var(--hp-muted);margin:4px 0 0}.hp-note .hp-small{margin-top:17px}
.hp-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.hp-link{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:48px;padding:11px 18px;border:1px solid var(--hp-accent);border-radius:7px;font-size:.9rem;font-weight:750;text-decoration:none;line-height:1.6}.hp-link-primary{background:var(--hp-accent);color:#fff!important}.hp-link:after{content:"↗";font-size:.9em}.hp-link-primary:after{content:"→"}.hp-shell a:hover{text-decoration:underline}.hp-shell :is(a,button,input,select):focus-visible{outline:3px solid #a85e12;outline-offset:4px}
.hp-section{padding:48px 0 0}.hp-section-intro{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:22px}.hp-section-intro p:last-child{max-width:37em;font-size:.9rem;color:var(--hp-muted)}
.hp-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hp-entry{display:flex;flex-direction:column;border:1px solid var(--hp-line);border-radius:12px;background:#fff;padding:24px 21px;text-decoration:none;min-height:180px;color:var(--hp-ink)!important;transition:background .15s ease,border-color .15s ease}.hp-entry:hover{background:var(--hp-paper);border-color:var(--hp-accent);text-decoration:none!important}.hp-entry-number{font-size:.75rem;font-weight:750;color:var(--hp-accent);letter-spacing:.1em}.hp-entry strong{display:flex;justify-content:space-between;gap:8px;font-size:1.08rem;margin:12px 0 8px}.hp-entry strong:after{content:"→";color:var(--hp-accent)}.hp-entry p{font-size:.85rem;color:var(--hp-muted);margin:0}.hp-extra-links{display:flex;gap:15px 24px;flex-wrap:wrap;margin:20px 0 0}.hp-extra-links a{min-height:44px;display:inline-flex;align-items:center;font-size:.9rem;font-weight:650}
.hp-finder{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:40px;background:var(--hp-soft);border:1px solid var(--hp-line);padding:30px;border-radius:14px;align-items:center}.hp-finder h2{font-size:1.5rem}.hp-finder p{font-size:.9rem;color:var(--hp-muted)}.hp-filter-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hp-filter-form label{display:grid;gap:6px;font-size:.85rem;font-weight:750}.hp-filter-form select{width:100%;font:inherit;font-size:16px;background:#fff;border:1px solid #9cae9c;border-radius:7px;padding:12px 10px;min-height:48px;color:var(--hp-ink)}.hp-filter-form button{grid-column:1/-1;border:1px solid var(--hp-accent);border-radius:7px;min-height:48px;font:inherit;font-weight:750;color:#fff;background:var(--hp-accent);padding:11px 16px;cursor:pointer}
.hp-reading-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.hp-reading-card{margin:0;padding:30px;border:1px solid var(--hp-line);border-radius:14px;box-shadow:none;background:var(--hp-paper)}.hp-reading-card p{font-size:.92rem;color:var(--hp-muted)}.hp-reading-card ul{padding-left:1.2em;font-size:.9rem;color:var(--hp-muted)}.hp-reading-card li{padding:5px 0}.hp-reading-card h2{font-size:1.55rem}.hp-reading-card .hp-link{margin-top:8px}
.hp-method{border-top:1px solid var(--hp-line);padding:32px 0 0;display:grid;grid-template-columns:1fr 1.3fr;gap:35px}.hp-method h2{font-size:1.25rem}.hp-method p{font-size:.85rem;color:var(--hp-muted);margin-top:0}.hp-method .hp-extra-links{margin-top:10px}
@media(max-width:950px){.hp-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-hero{grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:25px}.hp-note{padding:23px}.hp-finder{gap:25px;padding:25px}.hp-section-intro{display:block}.hp-section-intro p:last-child{max-width:none}}
@media(max-width:700px){body[data-homepage="20261025"] #main-content{padding:0 16px 44px}.hp-hero{grid-template-columns:1fr;padding:24px 22px;border-radius:16px;gap:25px}.hp-shell h1{font-size:2rem;line-height:1.45;margin:12px 0 16px}.hp-hero-copy{padding:0}.hp-lead{font-size:.95rem!important}.hp-note{box-shadow:5px 5px 0 #f4f3ec;padding:20px 25px}.hp-note li{padding:11px 0}.hp-note .hp-small{margin-bottom:0}.hp-section{padding-top:34px}.hp-section-intro{margin-bottom:17px}.hp-entry-grid{gap:10px}.hp-entry{padding:19px 15px;min-height:174px}.hp-entry strong{font-size:1rem;flex-wrap:wrap}.hp-entry p{font-size:.8rem}.hp-finder{grid-template-columns:1fr;gap:12px;padding:23px 20px}.hp-filter-form{gap:12px}.hp-reading-grid{grid-template-columns:1fr;gap:14px}.hp-reading-card{padding:24px}.hp-method{grid-template-columns:1fr;gap:8px;padding-top:25px}.hp-links{gap:9px}.hp-links .hp-link{flex:1 1 140px;padding:11px 13px}.hp-extra-links{gap:6px 18px}.hp-search-results a{align-items:start;flex-direction:column;gap:0}.hp-search-row button{padding:10px 15px}.hp-shell h2{font-size:1.5rem}.hp-shell .hp-small{font-size:.8rem}.hp-section-intro p:last-child{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.hp-entry{transition:none}}

/* Keep the search and category links before the illustration in reading order. */
.hp-hero > .named-hero-art { margin: 0; align-self: center; }
.hp-reading-note { margin: 24px 0 0; }
@media (min-width: 701px) {
  .hp-hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .hp-reading-note ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 700px) {
  .hp-hero { gap: 20px; }
  .hp-hero .hp-lead br { display: none; }
}

.hp-search-more{width:100%;margin-top:12px;background:var(--hp-paper);color:var(--hp-accent)}
.hp-search-more:after{content:none}

.hp-search a.hp-search-fallback{text-decoration:underline;text-underline-offset:.15em}

/* Put the catalog search in the initial view on narrow phones. */
@media (max-width: 360px) {
  body[data-homepage="20261025"] .hp-hero {
    padding: 18px 16px;
  }
  body[data-homepage="20261025"] .hp-hero-copy .hp-search {
    margin-top: 16px;
  }
}
