@charset "utf-8";

/* Supplied Styletile: Amatic SC / Menco, forest green and warm earth tones.
   Paper tints give the original photos room without changing their colours. */
:root {
  color-scheme: light;
  --green: #315a27;
  --olive: #3c401e;
  --ink: #241f1b;
  --brown: #8c5535;
  --clay: #bf814b;
  --footer: #402318;
  --paper: #fcf9f3;
  --sand: #eddbc3;
  --line: #d5cfbf;
  --body-font: "menco", "Trebuchet MS", sans-serif;
  --heading-font: "amatic-sc", "Arial Narrow", sans-serif;
  --page-width: 1240px;
  --gutter: clamp(24px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; scrollbar-color: var(--brown) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 18px/1.55 var(--body-font); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button, a, summary { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2 { color: var(--green); font-family: var(--heading-font); font-weight: 700; line-height: 1.04; overflow-wrap: break-word; }
h1 { font-size: clamp(66px, 7.2vw, 104px); letter-spacing: -.015em; line-height: 1.08; }
h2 { font-size: clamp(48px, 4.4vw, 64px); line-height: 1.1; }
p + p { margin-top: 16px; }
button:disabled { cursor: default; opacity: .3; }
[hidden] { display: none !important; }
:is(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--brown); outline-offset: 5px; }
main:focus { outline: none; }
::selection { background: var(--sand); color: var(--green); }
.page-width { width: min(var(--page-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-space { padding-block: clamp(64px, 7vw, 100px); }
.eyebrow { margin-bottom: 18px; color: var(--brown); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.icon { display: block; flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--green); border-radius: 8px; font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; transition: background-color .18s, color .18s; }
.button-primary { color: var(--paper); background: var(--green); border-color: var(--green); }
.button-primary:hover { background: var(--olive); border-color: var(--olive); }
.button-primary:active { background: var(--brown); }
.quiet-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--green); font-size: 16px; font-weight: 700; text-align: left; }
.quiet-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.skip-link { position: fixed; z-index: 10001; top: 12px; left: 24px; padding: 12px 20px; border-radius: 6px; background: var(--green); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* One navigation and one content tree, from narrow phones to wide screens. */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 100px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 16px; }
.brand > img { width: 45px; height: 62px; object-fit: contain; }
.brand strong { display: block; color: var(--green); font-size: 25px; line-height: 1.15; }
.brand small { display: block; margin-top: 5px; color: var(--olive); font-size: 14px; }
.main-navigation { display: flex; align-items: center; gap: clamp(22px, 3vw, 38px); }
.main-navigation > :is(a:not(.button), .nav-contact) { min-height: 44px; display: inline-flex; align-items: center; color: var(--green); font-size: 17px; font-weight: 700; }
.main-navigation > :is(a:not(.button), .nav-contact):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 7px; }
.nav-help { margin-left: 6px; padding-inline: 16px; font-size: 15px; }
.menu-toggle { display: none; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; column-gap: clamp(36px, 5vw, 78px); padding-block: 56px; border-bottom: 1px solid var(--line); }
.hero-copy { min-width: 0; align-self: center; padding-block: 12px 24px; }
.hero-intro { max-width: 30ch; margin-top: 24px; font-size: 24px; line-height: 1.4; color: var(--olive); }
.hero-copy > .button { margin-top: 28px; }
.hero-photo { position: relative; align-self: center; margin: 0; padding: 12px; background: #f0e7d9; border-radius: 100px 18px 18px 18px; }
.hero-photo > img { width: 100%; height: auto; aspect-ratio: 1.06; object-fit: cover; object-position: 52% 45%; border-radius: 90px 10px 10px 10px; }
.section-heading { margin-bottom: 36px; }
.animal-gallery { scrollbar-color: var(--brown) var(--sand); scrollbar-width: thin; }
.animal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.animal-card, .animal-card-link { min-width: 0; }
.animal-card-link { display: block; width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fffdf9; text-align: left; transition: border-color .2s; }
.animal-card-link:hover { border-color: var(--brown); }
.animal-photo { display: block; overflow: hidden; background: var(--sand); }
.animal-photo img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; transition: transform .3s ease; }
.animal-photo-dog, .animal-photo-cat, .animal-photo-rabbits { border-radius: 13px 13px 0 0; }
.animal-photo-dog img { object-position: 50% 40%; }
.animal-photo-cat img { object-position: 35% 50%; }
.animal-card-link:hover .animal-photo img { transform: scale(1.035); }
.animal-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px; }
.animal-card-heading strong { display: block; color: var(--green); font-size: 25px; line-height: 1.2; }
.animal-card-heading small { display: block; margin-top: 6px; font-size: 16px; }
.card-arrow { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 7px; color: var(--brown); transition: color .18s, background-color .18s; }
.animal-card-link:hover .card-arrow { background: var(--green); color: var(--paper); }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.gallery-controls p { color: var(--olive); font-size: 15px; }
.gallery-controls > div { display: flex; gap: 12px; }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); transition: color .18s, background-color .18s; }
.gallery-controls button:hover:not(:disabled) { background: var(--green); color: var(--paper); }

.help-section { background: var(--sand); }
.help-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-block: 80px; }
.help-copy { position: relative; }
.help-copy h2 { position: relative; z-index: 1; color: var(--olive); font-size: clamp(48px, 4.5vw, 62px); }
.help-copy > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 34ch; margin-top: 24px; }
/* A separate corner ornament keeps the paw trail clear of every text block. */
.help-paws { position: absolute; right: 0; top: 12px; width: 100px; height: auto; opacity: .4; pointer-events: none; }
.help-options { display: grid; gap: 12px; }
.help-options > button { display: grid; grid-template-columns: 24px 1fr 20px; align-items: center; gap: 16px; width: 100%; min-height: 98px; padding: 22px; border: 1px solid #c8ae92; border-radius: 10px; background: #fcf9f366; text-align: left; transition: background-color .18s, border-color .18s; }
.help-options > button:hover { background: var(--paper); border-color: var(--brown); }
.help-options strong { display: block; color: var(--footer); font-size: 23px; line-height: 1.2; }
.help-options small { display: block; margin-top: 6px; font-size: 15px; }
.help-number { align-self: start; margin-top: 4px; color: var(--brown); font-size: 14px; }
.help-arrow { color: var(--brown); transition: transform .2s; }
.help-options button:hover .help-arrow { transform: translateX(3px); }
.help-options button:hover strong { color: var(--green); }
.about-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; object-position: center; border-radius: 14px; }
.about-photo figcaption { margin-top: 16px; color: var(--brown); font-size: 16px; }
.about-copy > p:not(.eyebrow) { margin-top: 22px; }
.about-copy .quiet-link { margin-top: 18px; }
.guide-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; border-top: 1px solid var(--line); }
.guide-intro h2 { max-width: 18ch; }
.guide-intro > p:not(.eyebrow) { max-width: 36ch; margin-top: 22px; }
.emergency-link { margin-top: 20px; font-size: 16px; }
.guide-questions { align-self: center; border-top: 1px solid var(--line); }
.guide-questions details { padding: 23px 0; border-bottom: 1px solid var(--line); }
.guide-questions summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; list-style: none; cursor: pointer; font-size: 21px; font-weight: 700; color: var(--olive); }
.guide-questions summary::-webkit-details-marker { display: none; }
.guide-questions summary span { flex: none; font: 24px Arial, sans-serif; color: var(--brown); transition: transform .2s; }
.guide-questions details[open] summary span { transform: rotate(45deg); }
.guide-questions details p { margin-top: 18px; font-size: 17px; }
.guide-questions details .quiet-link { margin-top: 12px; }
.news-section { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; margin-bottom: 100px; padding: 40px; background: #f0e7d9; border-radius: 16px; }
.news-section > img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; border-radius: 10px; }
.news-section .eyebrow { margin-bottom: 12px; }
.news-section h2 { font-size: 46px; }
.news-section h2 br { display: initial; }
.news-section p:not(.eyebrow) { max-width: 57ch; margin-top: 16px; font-size: 17px; }
.news-section .quiet-link { margin-top: 10px; }

.site-footer { background: var(--footer); color: #f5e5d2; padding-top: 38px; padding-bottom: 80px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 52px; height: 72px; object-fit: contain; }
.footer-brand p { font-size: 18px; }
.social-icons { display: flex; align-items: center; gap: 4px; }
.social-icons button { display: grid; place-items: center; width: 44px; height: 44px; }
.social-icons img { width: 44px; height: 32px; object-fit: contain; }
.social-icons .affiliation-logo { width: 32px; height: 32px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 23px; border-top: 1px solid #7e5f4e; font-size: 14px; }
.footer-bottom > div { display: flex; flex-wrap: wrap; column-gap: 22px; }
.footer-bottom :is(a, button) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-bottom :is(a, button):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: #f5e5d2; }
/* Keep the shared portfolio exit legible on paper and above the dark footer. */
.portfolio-return-link { background: var(--paper); border-color: var(--green); color: var(--green); text-shadow: none; box-shadow: 0 2px 12px #40231816; }
.portfolio-return-link:hover, .portfolio-return-link:focus-visible { background: var(--green); border-color: var(--green); color: var(--paper); }
.portfolio-return-link:focus-visible { outline-color: var(--brown); }
.concept-dialog { width: min(540px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto; padding: 42px 36px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); font: 500 18px/1.55 var(--body-font); overflow: auto; }
.concept-dialog::backdrop { background: #241f1b99; }
body:has(.concept-dialog[open]) { overflow: hidden; }
.concept-dialog .eyebrow { margin-bottom: 14px; }
.concept-dialog h2 { margin-bottom: 22px; font-size: 48px; }
.concept-dialog-close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; color: var(--green); font: 30px Arial, sans-serif; }
.concept-dialog-done { margin-top: 28px; }
.concept-documents { margin-top: 20px; }
.concept-documents .quiet-link { font-size: 15px; }

@media (max-width: 1050px) {
  .header-inner { gap: 20px; }
  .main-navigation { gap: 14px; }
  .main-navigation > :is(a:not(.button), .nav-contact) { font-size: 16px; }
  .nav-help { gap: 10px; margin-left: 0; padding-inline: 14px; font-size: 15px; }
  .brand { gap: 12px; }
  .brand strong { font-size: 23px; }
  .hero { column-gap: 40px; }
  .hero-intro { font-size: 23px; }
  .animal-list { gap: 23px; }
  .animal-card-heading { padding: 18px; }
  .help-inner, .guide-section { gap: 42px; }
}
@media (max-width: 850px) {
  /* Hide the rails, not the scrolling: page, gallery and dialogs stay swipeable. */
  html, body, .animal-gallery, .concept-dialog { scrollbar-width: none; }
  *::-webkit-scrollbar { display: none; }
  .header-inner { flex-wrap: wrap; position: relative; gap: 0; min-height: 96px; padding-block: 16px; }
  .brand > img { width: 38px; height: 53px; }
  .brand strong { font-size: 23px; }
  .brand small { font-size: 13px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; min-height: 48px; padding-left: 14px; color: var(--green); font-size: 16px; font-weight: 700; }
  .menu-toggle img { width: 27px; height: 25px; object-fit: contain; }
  .main-navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 96px); padding-top: 22px; padding-bottom: 6px; overflow-x: clip; overflow-y: auto; scrollbar-width: none; }
  .main-navigation > :is(a:not(.button), .nav-contact) { flex-shrink: 0; padding-block: 12px; border-top: 1px solid var(--line); font-size: 19px; text-align: left; }
  .main-navigation .button { align-self: flex-start; margin-top: 14px; }
  .hero { padding-top: 44px; column-gap: 30px; }
  h1 { font-size: clamp(56px, 8vw, 68px); }
  .hero-photo { padding: 9px; border-top-left-radius: 64px; }
  .hero-photo > img { aspect-ratio: .85; border-top-left-radius: 56px; }
  .hero-intro { font-size: 22px; }
  .animal-card-heading { align-items: flex-start; }
  .animal-card-heading strong { font-size: 22px; }
  .animal-card-heading small { font-size: 15px; }
  .about-section { grid-template-columns: 1fr; gap: 38px; }
  .about-photo img { max-height: 440px; aspect-ratio: 1.7; }
  .about-copy { max-width: 600px; }
  .guide-section { grid-template-columns: 1fr; gap: 36px; }
  .guide-intro > p:not(.eyebrow) { max-width: 52ch; }
  .help-inner { gap: 32px; }
  .help-options strong { font-size: 23px; }
  .help-options small { font-size: 15px; }
  .news-section { grid-template-columns: .8fr 1fr; gap: 28px; padding: 28px; }
  .news-section h2 { font-size: 40px; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom > span { flex-basis: 100%; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  body { font-size: 17px; }
  h1 { font-size: clamp(67px, 13.5vw, 88px); }
  h2 { font-size: clamp(47px, 9vw, 60px); }
  .eyebrow { margin-bottom: 16px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 38px; }
  .hero-copy { padding: 0; }
  .hero-intro { max-width: 30ch; margin-top: 20px; font-size: 22px; }
  .hero-copy > .button { margin-top: 24px; }
  .hero-photo { width: 100%; margin-top: 28px; justify-self: center; }
  .hero-photo > img { max-height: 520px; aspect-ratio: 1.15; object-position: 50% 42%; }
  .section-heading { margin-bottom: 30px; }
  /* Native swipe and buttons share one list. Without JS all cards stay available. */
  .animal-gallery { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 5px; padding: 6px 5px 12px; margin: -6px -5px 0; }
  .animal-list { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88%; gap: 16px; }
  .animal-card { scroll-snap-align: start; }
  .animal-photo img { aspect-ratio: 1.08; }
  .animal-card-heading { padding: 18px; }
  .animal-card-heading strong { font-size: 25px; }
  .help-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 58px; }
  .help-copy h2 { font-size: clamp(46px, 10vw, 56px); }
  .help-copy > p:not(.eyebrow) { max-width: 37ch; }
  .help-paws { width: 80px; top: 8px; }
  .help-options > button { min-height: 96px; gap: 14px; padding: 18px; }
  .help-options strong { font-size: 23px; }
  .help-options small { font-size: 15px; }
  .about-photo img { aspect-ratio: 1.5; }
  .about-photo figcaption { font-size: 14px; }
  .about-copy > p:not(.eyebrow) { margin-top: 20px; }
  .guide-questions summary { font-size: 20px; }
  .guide-questions details { padding-block: 21px; }
  .news-section { grid-template-columns: 1fr; gap: 26px; padding: 20px; margin-bottom: 64px; }
  .news-section > img { aspect-ratio: 1.3; }
  .news-section h2 { font-size: 46px; }
  .news-section h2 br { display: initial; }
  .footer-main { flex-wrap: wrap; gap: 20px; }
  .footer-brand { gap: 14px; }
  .footer-brand img { width: 44px; height: 60px; }
  .footer-brand p { font-size: 16px; }
  .footer-bottom { gap: 12px; }
  .footer-bottom > div { column-gap: 18px; }
  .footer-bottom > a { margin-left: auto; }
  .site-footer { padding-bottom: 100px; }
  .concept-dialog { padding: 42px 24px 26px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .brand { gap: 10px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 12px; }
  .menu-toggle:not([hidden]) { gap: 8px; padding-left: 8px; }
  .menu-toggle > span { font-size: 14px; }
  h1 { font-size: 59px; }
  .help-options > button { grid-template-columns: 20px 1fr 20px; gap: 10px; }
  .help-options strong { font-size: 23px; }
  .help-options small { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .button, .menu-toggle,.card-arrow { border: 1px solid ButtonText; }
  .menu-toggle img { forced-color-adjust: none; }
}
