/* Home page review: loaded only on the WordPress front page.
 * All colours inherit the editable TOGO palette. Fonts remain local.
 */
body {
  --home-line: color-mix(in srgb, var(--ink) 14%, transparent);
  --home-muted: color-mix(in srgb, var(--ink) 78%, var(--paper));
  --home-surface: color-mix(in srgb, var(--paper) 48%, white);
  font-size: 16px;
  line-height: 1.85;
}
body::before { display: none; }
.section-shell { max-width: 1280px; padding-inline: clamp(20px, 4vw, 56px); }
h1, h2, h3 { text-wrap: balance; }
html[dir=rtl] h1, html[dir=rtl] h2, html[dir=rtl] h3,
html[dir=rtl] .brand { letter-spacing: 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.7; }
html[dir=rtl] .eyebrow { letter-spacing: .025em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

/* Navigation: calm proportions, generous hit areas, no jump on hover. */
.site-header { background: var(--paper); backdrop-filter: none; border-color: var(--home-line); }
.site-header::after { display: none; }
.header-inner { max-width: 1376px; min-height: 88px; padding-inline: clamp(20px, 4vw, 56px); gap: 24px; }
.brand { gap: 10px; font-size: 21px; }
.brand-symbol { width: 44px; height: 44px; border-radius: 16px 16px 7px 16px; transform: none; }
.brand:hover .brand-symbol { transform: rotate(-5deg); }
.main-nav { gap: 4px; font-size: 14px; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 8px; }
.main-nav a::after { display: none; }
.main-nav a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.lang-switch { border: 1px solid var(--home-line); border-radius: 10px; padding: 2px 7px; background: transparent; font-size: 13px; }
.lang-switch a { min-height: 38px; min-width: 28px; display: inline-grid; place-items: center; }
.lang-switch>span { align-self: center; opacity: .3; }
body.admin-bar .site-header { top: 32px; }

/* A contained opening spread, with a readable title at every width. */
.hero {
  max-width: 1280px; margin: 0 auto; padding: 48px clamp(20px, 4vw, 56px) 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 72px); min-height: 0;
  border: 0; overflow: visible;
}
.hero-copy { padding: 24px 0; background: none; min-width: 0; }
.hero-copy::before { display: none; }
.hero-copy>.eyebrow { gap: 10px; color: var(--home-muted); font-size: 13px; }
.hero-copy>.eyebrow::before { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 800; line-height: 1.42; letter-spacing: -.035em; margin: 22px 0; max-width: 580px; }
html[lang=en] .hero h1 { font-size: clamp(36px, 4.1vw, 58px); line-height: 1.15; }
.hero-copy p { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.95; max-width: 440px; margin: 0; color: var(--home-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.hero-art { min-height: 0; height: auto; aspect-ratio: 1 / 1.13; border-radius: 160px 160px 28px 28px; overflow: hidden; background: var(--ink); box-shadow: 0 20px 44px -28px #203b3550; }
.hero-art>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.hero-art::before { inset: 14px; border: 1px solid #fff5; border-radius: inherit; clip-path: none; }
.hero-art::after { top: 34px; inset-inline-start: 30px; font-size: 26px; animation-duration: 40s; }
.hero-art .sample-stamp { top: auto; bottom: 26px; inset-inline-end: 26px; padding: 5px 10px; border: 0; border-radius: 6px; font-size: 11px; letter-spacing: 0; }
.art-caption { bottom: 78px; inset-inline-start: 28px; max-width: calc(100% - 56px); padding: 9px 13px; font-size: 13px; border: 0; background: #183b30e8; border-radius: 8px; }
.hero-number { display: none; }

/* Buttons use a distinct icon compartment and a clear focus state. */
.button { clip-path: none; border-radius: 12px; min-height: 52px; padding: 7px 8px 7px 18px; padding-inline-start: 20px; gap: 22px; font-size: 15px; line-height: 1.5; font-weight: 700; border: 1px solid var(--ink); background: var(--ink); color: #fff; box-shadow: 0 5px 0 color-mix(in srgb, var(--ink) 10%, transparent); }
.button span[aria-hidden] { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #ffffff1c; font-size: 21px; }
.button:hover { background: color-mix(in srgb, var(--ink) 85%, var(--accent)); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 16px -10px var(--ink); }
.button:active { transform: translateY(1px); }
.text-link { font-size: 14px; font-weight: 700; padding: 10px 0; min-height: 44px; color: var(--ink); }
.text-link::after { bottom: 7px; opacity: .35; }
.text-link:hover { color: var(--accent); }
.text-link:hover::after { transform: scaleX(.8); opacity: 1; }

/* Story rail: compact and scrollable rather than a second oversized hero. */
.story-section { padding-block: 30px; display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 32px; border-top: 1px solid var(--home-line); }
.story-section .section-head { display: block; margin: 0; }
.story-section .section-head h2 { font-size: 25px; margin: 7px 0 0; }
.story-list { gap: 20px; padding: 8px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.story-ring { width: 96px; font-size: 13px; line-height: 1.75; gap: 9px; }
.story-thumb { width: 76px; height: 76px; padding: 4px; border: 1.5px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 7%, transparent); }
.story-thumb::before { display: none; }
.story-ring:hover .story-thumb { transform: translateY(-3px); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent); }
.highlight-section { padding-block: 12px 30px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--home-line); }
.highlight-section>.eyebrow { width: 220px; flex-shrink: 0; }
.highlight-section .story-list { flex: 1; min-width: 0; }
.highlight-section .story-ring { width: auto; flex-direction: row; padding: 6px 14px 6px 6px; gap: 10px; border: 1px solid var(--home-line); border-radius: 40px; white-space: nowrap; }
.highlight-section .story-thumb { width: 38px; height: 38px; padding: 0; box-shadow: none; border: 0; }
.story-close { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ffffff45; border-radius: 50%; line-height: 1; }
.story-controls { gap: 10px; }
.story-controls button { min-width: 46px; min-height: 46px; border-radius: 10px; }
.story-controls button:hover { background: #ffffff40; }
.story-detail { border-radius: 12px; font-size: 15px; line-height: 1.8; }
.story-detail strong { font-size: 18px; }
.story-cta { min-height: 44px; border-radius: 8px; padding: 8px 16px; margin-top: 8px; }

/* The care narrative has an editorial side heading and a connected sequence. */
.manifest { padding-block: 88px; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 7vw, 96px); }
.section-head h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 750; line-height: 1.5; margin: 12px 0 0; }
.manifest .section-head { display: block; align-self: start; position: sticky; top: 125px; margin: 0; }
.manifest .section-head h2 { max-width: 340px; }
.path-list { border: 0; }
.path-row { grid-template-columns: 44px minmax(0, 1fr) 22px; gap: 18px; padding: 22px 0; min-height: 0; border-bottom: 1px solid var(--home-line); overflow: visible; }
.path-row:first-child { padding-top: 0; }
.path-row:last-child { border-bottom: 0; padding-bottom: 0; }
.path-row::before { display: none; }
.path-row:hover { padding-inline: 0; background: none; }
.path-index { display: grid; place-items: center; width: 40px; height: 40px; margin-top: 3px; padding: 0; border: 1px solid var(--home-line); border-radius: 50%; background: var(--home-surface); color: var(--ink); font-size: 13px; transition: background .25s, color .25s; }
.path-row:hover .path-index { background: var(--ink); color: var(--paper); }
.path-row h3 { font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; line-height: 1.65; margin: 0 0 5px; }
.path-row p { font-size: 15px; line-height: 1.9; color: var(--home-muted); margin: 0; }
.path-row>span:last-child { font-size: 21px; opacity: .7; }

/* A contrasting pause in the story, with controlled line lengths. */
.feature-band { margin-inline: max(20px, calc((100vw - 1168px) / 2)); border-radius: 24px; }
.feature-band::before { width: 340px; height: 340px; top: -160px; inset-inline-start: -190px; }
.feature-band::after { font-size: 200px; bottom: -40px; inset-inline-end: -12px; opacity: .7; }
.feature-inner { max-width: 950px; padding: 64px clamp(24px, 5vw, 72px); }
.feature-inner>.eyebrow { color: #e3bb9c; }
.feature-inner h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.5; margin: 14px 0 20px; max-width: 700px; }
.feature-inner p { font-size: 17px; line-height: 1.95; max-width: 640px; color: #e2e9df; }
.button.light { border-color: var(--paper); background: var(--paper); color: var(--ink); margin-top: 16px; padding: 13px 22px; box-shadow: none; }
.button.light::after { content: '↗'; font-size: 21px; }
.button.light:hover { background: white; transform: translateY(-2px); }

/* Animal profiles remain aligned, with the portrait as the focal point. */
.animals-home { padding-block: 88px; }
.animals-home .section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; margin-bottom: 32px; align-items: end; }
.animals-home .section-head>.eyebrow { grid-column: 1/-1; }
.animals-home .section-head h2 { margin: 0; }
.animals-home .section-head .text-link { margin: 0; }
.animal-grid { gap: 28px; }
.animal-item:nth-child(n) { margin-top: 0; }
.animal-visual { aspect-ratio: 1 / 1.06; clip-path: none; border-radius: 18px; box-shadow: none; background: #e2e5d7; }
.animal-visual::after { width: 42px; height: 42px; bottom: 14px; inset-inline-end: 14px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 23px; box-shadow: 0 3px 16px #203b3515; transition: background .25s, color .25s, transform .25s; }
.animal-item:hover .animal-visual::after { background: var(--ink); color: white; transform: rotate(5deg); }
.animal-item:nth-child(2) .animal-visual { border-radius: 100px 100px 18px 18px; }
.animal-item h3 { font-size: 23px; line-height: 1.5; font-weight: 700; margin: 6px 0; }
.animal-item p { font-size: 15px; line-height: 1.9; color: var(--home-muted); }
.animal-item>.eyebrow { margin-top: 18px; font-size: 12px; }
.animal-visual .sample-stamp { top: 14px; inset-inline-end: 14px; border: 0; border-radius: 6px; padding: 4px 9px; font-size: 11px; }

.closing { padding: 64px 0 72px; background: color-mix(in srgb, var(--accent) 9%, var(--paper)); border-top: 1px solid var(--home-line); }
.closing::before { width: 400px; height: 400px; top: -220px; opacity: .12; }
.closing h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.5; margin: 14px 0 32px; max-width: 670px; }
.closing-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: participation; }
.closing-links a { counter-increment: participation; min-width: 0; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 24px; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-surface); font-size: 17px; font-weight: 700; }
.closing-links a::before { content: '0' counter(participation); font-size: 12px; color: var(--accent); font-weight: 500; }
.closing-links a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-3px); }
.closing-links a:hover::before { color: #e3bb9c; }
.site-footer { border-top: 0; }
.footer-inner { max-width: 1280px; padding: 44px clamp(20px, 4vw, 56px); gap: 32px; font-size: 14px; }
.footer-inner strong { font-size: 26px; }
.footer-inner p { font-size: 14px; line-height: 1.9; }
.footer-links a { min-height: 36px; display: flex; align-items: center; }
.footer-links a:hover { color: #e3bb9c; }
.footer-inner small { font-size: 12px; align-self: end; opacity: .7; }

/* Tablet */
@media (max-width: 1050px) {
  .header-inner { gap: 8px 20px; padding-block: 12px; }
  .lang-switch { margin-inline-start: auto; }
  .main-nav { order: 3; width: 100%; padding-bottom: 0; }
  .main-nav a { padding-inline: 12px; }
  .hero { padding-top: 36px; gap: 32px; }
  .hero h1 { font-size: 40px; }
  html[lang=en] .hero h1 { font-size: 42px; }
  .hero-art { border-radius: 120px 120px 22px 22px; }
  .manifest .section-head { position: static; }
  .story-section { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .highlight-section>.eyebrow { width: 180px; }
  .animal-grid { gap: 20px; }
  .closing-links a { padding-inline: 18px; font-size: 16px; }
}
@media (max-width: 780px) {
  body.admin-bar .site-header { top: 46px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 24px; }
  .hero h1, html[lang=en] .hero h1 { font-size: 34px; }
  .hero-copy p { font-size: 16px; }
  .hero-art { aspect-ratio: .8; border-radius: 100px 100px 20px 20px; }
  .hero-art .sample-stamp { bottom: 16px; inset-inline-end: 16px; }
  .art-caption { inset-inline-start: 20px; bottom: 58px; max-width: calc(100% - 40px); font-size: 12px; }
  .hero-actions { gap: 12px; }
  .button { font-size: 14px; gap: 14px; }
  .manifest { grid-template-columns: 1fr; gap: 30px; padding-block: 60px; }
  .manifest .section-head h2 { max-width: none; }
  .animal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .animal-item h3 { font-size: 20px; }
  .animal-item p { font-size: 14px; }
  .feature-inner { padding-block: 44px; }
  .feature-inner p { font-size: 16px; }
  .animals-home { padding-block: 60px; }
}
/* Mobile: readable type, a full-width visual, and no tiny navigation targets. */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { position: relative; top: auto !important; }
  .header-inner { min-height: 0; padding-block: 12px 6px; }
  .brand { font-size: 19px; }
  .brand-symbol { width: 38px; height: 38px; border-radius: 13px 13px 6px 13px; }
  .brand-symbol svg { width: 28px; }
  .main-nav { gap: 2px; font-size: 13px; margin-top: 6px; }
  .main-nav a { padding-inline: 11px; min-height: 44px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 40px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.5; margin: 18px 0; }
  html[lang=en] .hero h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.18; }
  .hero-copy>.eyebrow { font-size: 12px; }
  .hero-copy p { max-width: none; line-height: 1.9; }
  .hero-actions { gap: 14px 22px; margin-top: 24px; }
  .hero-art { width: 100%; height: auto; aspect-ratio: 1.12; border-radius: 100px 100px 20px 20px; }
  .hero-art>img { object-position: center 42%; }
  .hero-art::after { font-size: 22px; top: 26px; }
  .art-caption { bottom: 54px; }
  .section-head h2 { font-size: 27px; line-height: 1.5; }
  .story-section { display: block; padding-block: 26px 16px; }
  .story-section .section-head { margin-bottom: 14px; }
  .story-section .section-head h2 { font-size: 24px; }
  .story-list { gap: 14px; }
  .story-ring { width: 84px; font-size: 12px; }
  .story-thumb { width: 68px; height: 68px; }
  .highlight-section { display: block; padding-bottom: 22px; }
  .highlight-section>.eyebrow { display: block; width: auto; margin-bottom: 8px; }
  .highlight-section .story-ring { font-size: 13px; }
  .path-row { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding-block: 20px; }
  .path-index { width: 32px; height: 32px; font-size: 11px; }
  .path-row>span:last-child { display: none; }
  .path-row h3 { font-size: 19px; }
  .path-row p { font-size: 14px; }
  .feature-band { border-radius: 18px; }
  .feature-inner { padding: 36px 24px; }
  .feature-inner h2 { font-size: 28px; }
  .animals-home .section-head { grid-template-columns: 1fr; gap: 12px; }
  .animals-home .section-head .text-link { justify-self: start; }
  .animal-grid { grid-template-columns: 1fr; gap: 32px; }
  .animal-visual { aspect-ratio: 1.2; }
  .animal-item:nth-child(2) .animal-visual { border-radius: 18px; }
  .animal-item h3 { font-size: 23px; }
  .animal-item p { font-size: 15px; }
  .closing { padding-block: 40px 48px; }
  .closing h2 { font-size: 28px; }
  .closing-links { grid-template-columns: 1fr; gap: 12px; }
  .closing-links a { min-height: 68px; font-size: 16px; padding: 16px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 36px; }
  .footer-inner>div:first-child { grid-column: 1/-1; }
  .footer-inner small { text-align: end; }
}
@media (hover: none) {
  .animal-item:hover img { transform: none; }
  .button:hover, .closing-links a:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art::after { animation: none; }
}
/* Compact care accordion; native keyboard support and exclusive opening. */
.path-list .care-step{display:block;padding:0;min-height:0}
.path-list .care-step summary{display:grid;grid-template-columns:38px minmax(0,1fr) 24px;gap:14px;align-items:center;padding:14px 0;cursor:pointer;list-style:none}
.care-step summary::-webkit-details-marker{display:none}
.path-list .care-step h3{font-size:clamp(17px,1.6vw,21px);margin:0 0 3px}
.path-list .care-step summary p{font-size:14px;line-height:1.8}
.care-toggle{font-size:24px;transition:transform .2s;color:var(--accent)}
.care-step[open] .care-toggle{transform:rotate(45deg)}
.care-description{padding:0 52px 18px;max-width:850px}
.path-list .care-description p{font-size:15px;line-height:2}
.care-step summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.path-list .care-step summary{grid-template-columns:28px minmax(0,1fr) 20px;gap:10px;padding-block:12px}.care-description{padding-inline:38px 0}.path-list .care-step summary p{font-size:13px}}
