/* ==========================================================================
   EASTOR: Persian & Exotic kittens, Tonbridge, Kent

   Warm and light: cream, two sands and a chocolate brown, with one
   caramel accent for buttons and links. One rounded font (Poppins).

   Sections come in two flavours. Cream is the default. Adding the class
   "section-light" to a <section> re-points the same colour tokens at the
   deeper sand, so every component below works in both without being
   written twice.
   ========================================================================== */

:root{
  --cream:   #fdf7ee;
  --sand-1:  #f9e6c4;
  --sand-2:  #f3d29c;
  --choc:    #4a2412;

  --bg:      var(--cream);
  --bg-alt:  #fbf0dc;
  --surface: #ffffff;
  --line:    #f0dfc2;
  --text:    var(--choc);
  --text-2:  #6e4a36;
  --muted:   #a07a5e;
  --accent:  #b8622a;
  --accent-2:#d9a066;
  --ok:      #5e8a3e;
  --ink:     #ffffff;

  --display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --data:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gut: clamp(1rem, 5vw, 4rem);
  --max: 1180px;
}

.section-light{
  --bg:      var(--sand-1);
  --surface: #ffffff;
  --line:    #edd3a6;
  --text:    var(--choc);
  --text-2:  #6e4a36;
  --muted:   #9a6f50;
  --accent-2:#c98b4f;
  --ok:      #4f7a33;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--body);
  font-size:clamp(1rem, .96rem + .2vw, 1.075rem);
  font-weight:400;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3{ margin:0; font-weight:600; }
p,figure,fieldset,legend{ margin:0; }
a{ color:inherit; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
img{ max-width:100%; }

:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:3px; }

.skip{
  position:absolute; left:-9999px;
  background:var(--accent); color:var(--ink);
  padding:.7rem 1.1rem; font-weight:600; z-index:60;
}
.skip:focus{ left:1rem; top:1rem; }

/* flow-root stops a child's top margin collapsing out through the section and
   showing the page background as a stray stripe between two sections. */
.wrap{
  width:100%; max-width:var(--max);
  margin-inline:auto; padding-inline:var(--gut);
  display:flow-root;
}
/* Narrow content still starts on the same left edge as every other section,
   rather than centring and knocking the alignment out. */
.wrap-narrow > *{ max-width:800px; }

/* ── Shared type ─────────────────────────────────────────────────────── */

.eyebrow{
  font-family:var(--data); font-weight:600;
  font-size:.74rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent);
  margin-bottom:1rem;
}

.section-title{
  font-family:var(--display); font-weight:700;
  font-size:clamp(1.9rem, 1.25rem + 2.9vw, 3.1rem);
  line-height:1.08; letter-spacing:-.025em;
  max-width:22ch;
  color:var(--text);
}

.section-lede{
  margin-top:1.3rem; max-width:56ch;
  color:var(--text-2); font-size:1.05em;
}

.sub-title{
  font-family:var(--data); font-weight:600;
  font-size:.74rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent); margin-bottom:1rem;
}

/* ── Top bar ─────────────────────────────────────────────────────────── */

.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:.9rem var(--gut);
  background:color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  color:var(--choc);
}
.mark{
  font-family:var(--display); font-weight:700;
  font-size:1.1rem; letter-spacing:.2em;
  text-decoration:none;
}
.topbar nav{ display:flex; align-items:center; gap:clamp(.7rem,2vw,1.6rem); }
.topbar nav a{
  font-size:.88rem; font-weight:500; text-decoration:none;
  color:#8a5e44; white-space:nowrap;
  transition:color .2s ease;
}
.topbar nav a:hover{ color:var(--choc); }
.topbar nav a[aria-current="page"]{ color:var(--choc); font-weight:600; text-decoration:underline;
  text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:6px; }
.nav-cta{ background:var(--choc); color:#fff !important; border-radius:999px; padding:.45rem 1.1rem; }
.nav-cta:hover{ background:var(--accent); }
.nav-cta[aria-current="page"]{ background:var(--accent); text-decoration:none !important; }

/* ── Hero ────────────────────────────────────────────────────────────── */

/* A rounded frame. On the left, two sand stripes with the headline running
   across them; on the right, a big photo; at the bottom left, a small white
   card that hangs over the edge of the stripes. */
.hero{
  padding:clamp(1rem,3vw,2.5rem) var(--gut) clamp(2.5rem,6vh,4.5rem);
}
.hero-frame{
  position:relative;
  max-width:var(--max); margin-inline:auto;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  min-height:clamp(30rem, 78vh, 44rem);
  border-radius:28px; overflow:hidden;
  background:#fff;
  box-shadow:0 30px 60px -28px rgba(74,36,18,.35);
}
.hero-bands{
  position:absolute; inset:0 auto 0 0; width:50%;
  background:linear-gradient(90deg, var(--sand-1) 0 44%, var(--sand-2) 44% 100%);
  pointer-events:none;
}
.hero-text{
  position:relative; z-index:2;
  padding:clamp(2rem,5vw,4rem) 0 clamp(10.5rem,18vw,13.5rem) clamp(1.5rem,5vw,4rem);
  display:flex; flex-direction:column; justify-content:center;
}
.hero-h1{
  font-family:var(--display); font-weight:700;
  font-size:clamp(2.5rem, 1.2rem + 4.2vw, 4.6rem);
  line-height:1.02; letter-spacing:-.035em;
  margin:.1em 0 .45em;
  margin-right:-12%;          /* just tips over into the photo's pale edge */
  color:var(--choc);
}
.hero-body{ max-width:40ch; padding-right:1.5rem; color:var(--text-2); font-size:.96em; }
/* Long welcome text: show the first lines, with a Read more button, so the
   top of the page fits one screen and the photo stays well framed. */
.hero-body.is-clamped{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; line-clamp:5; overflow:hidden;
}
body.wb-editing .hero-body.is-clamped{ display:block; -webkit-line-clamp:unset; line-clamp:none; overflow:visible; }
.read-more{
  align-self:flex-start; margin-top:.6rem; padding:.35rem 0; border:0; background:none; cursor:pointer;
  font:600 .95rem var(--body); color:var(--accent);
  text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px;
}
.read-more:hover{ color:var(--choc); }
body.wb-editing .read-more{ display:none; }

img[hidden]{ display:none !important; }
.hero-photo{
  position:relative; z-index:1; background:var(--sand-1);
  margin:0; min-height:100%;
}
.hero-photo img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:50% 45%;
}
/* soft fade on the photo's left edge so the headline stays readable */
.hero-photo::before{
  content:''; position:absolute; inset:0 auto 0 0; width:28%; z-index:1;
  background:linear-gradient(90deg, rgba(255,255,255,.55), transparent);
}

.hero-card{
  position:absolute; z-index:3; left:0; bottom:clamp(1rem,2.2vw,1.75rem);
  display:flex; align-items:stretch;
  width:min(30rem, 62%);
  text-decoration:none; color:var(--choc);
  transition:transform .2s ease;
}
.hero-card:hover{ transform:translateY(-3px); }
.hero-card-img{
  width:clamp(6rem,11vw,8.5rem); flex:none;
  background:var(--sand-1);
}
.hero-card-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-card .status{
  flex:1; display:flex; flex-direction:column; justify-content:center;
  background:#fff; border-radius:0 18px 18px 0;
  padding:1rem 3.2rem 1rem 1.3rem; position:relative;
  box-shadow:0 18px 36px -18px rgba(74,36,18,.4);
}
.hero-card .status::after{
  content:'\2192'; position:absolute; right:1.2rem; top:50%;
  transform:translateY(-50%); font-size:1.3rem; color:var(--accent);
}

.status-label{
  font-family:var(--data); font-weight:600;
  font-size:.68rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted);
}
.status-line{
  font-family:var(--display); font-weight:600;
  font-size:clamp(1rem,.9rem + .5vw,1.2rem);
  line-height:1.3; margin-top:.2rem; color:var(--accent);
}
.status-note{ font-size:.82rem; color:var(--text-2); margin-top:.2rem; }

.hero-actions{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:.5rem; }

.btn{
  display:inline-block;
  font-size:.92rem; font-weight:600; text-decoration:none;
  padding:.85rem 1.6rem; border-radius:999px;
  border:2px solid transparent;
  transition:transform .18s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--choc); color:#fff; }
.btn-primary:hover{ background:var(--accent); }
.btn-ghost{ border-color:var(--choc); color:var(--choc); }
.btn-ghost:hover{ background:var(--choc); color:#fff; }

.hero-art{ justify-self:center; width:100%; max-width:26rem; }
.photo-cap{
  margin-top:.7rem; text-align:center;
  font-size:.78rem; color:var(--muted);
}

/* ── Photo slots (a drawing until a real photo is dropped in) ────────── */

.photo{
  position:relative;
  display:grid; place-items:center;
  overflow:hidden;
  border-radius:18px;
  background:linear-gradient(150deg,#f6e2bf,#fbefd9 55%,#f3dbb2);
  border:0;
}

.photo-img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo.has-photo{ background:none; }

.photo-hero{ aspect-ratio:4/3; }
.photo-cat{ aspect-ratio:5/4; border-radius:14px 14px 0 0; border:0; border-bottom:1px solid var(--line); }
.photo-kitten{ aspect-ratio:1/1; border-radius:14px 14px 0 0; border:0; border-bottom:1px solid var(--line); }
.photo-home{ aspect-ratio:4/3; }

.face, .kit-big{ width:74%; height:auto; display:block; }
.photo-hero .face{ width:66%; }

/* ── The drawn faces ─────────────────────────────────────────────────── */

.face{ transition:transform .45s cubic-bezier(.2,.7,.25,1); }
.cat:hover .face, .hero-art:hover .face{ transform:translateY(-4px) scale(1.035); }

.head{ fill:var(--coat); }
.ear{ fill:var(--coat-dk); }
.ear-in{ fill:#d79a9f; opacity:.55; }
.cheek{ fill:var(--coat-lt); opacity:.45; }
.blaze{ fill:#fbf7f0; }
.mask{ fill:var(--coat-dk); opacity:.92; }
.tort{ fill:#c1743f; opacity:.34; }
.sclera{ fill:var(--eye); }
.pupil{ fill:#17131a; }
.glint{ fill:#fff; opacity:.92; }
.lid{ fill:var(--coat); }
.face-point .lid{ fill:var(--coat-dk); }
.nose{ fill:#dd939a; }
.mouth{ fill:none; stroke:#5b4a49; stroke-width:2.2; stroke-linecap:round; opacity:.55; }
.whisk circle{ fill:#5b4a49; opacity:.35; }

.kit-big{ --coat:#8fa2bd; --coat-dk:#71849f; --coat-lt:#a9b9d0; --eye:#d9863f; }

.pupil-g{
  transform:translate(var(--px,0px), var(--py,0px));
  transition:transform .15s ease-out;
}
html:not(.tracking) .pupil-g{ animation:glance 9s ease-in-out infinite; }

.lid{
  transform-box:fill-box; transform-origin:center top;
  transform:scaleY(0);
  animation:blink var(--blink,6s) infinite;
}

@keyframes blink{
  0%,92.5%,100%{ transform:scaleY(0); }
  94.5%,96%    { transform:scaleY(1); }
}
@keyframes glance{
  0%,18%   { transform:translate(0,0); }
  28%,44%  { transform:translate(4px,1px); }
  56%,72%  { transform:translate(-4px,2px); }
  82%,100% { transform:translate(0,0); }
}

/* ── Sections ────────────────────────────────────────────────────────── */

.section{
  padding-block:clamp(3.5rem,10vh,7rem);
  background:var(--bg);
  color:var(--text);
}
.section-alt{ --bg:var(--bg-alt); }
.section-tight{ padding-top:0; }
.section-head{ margin-bottom:clamp(2.25rem,5vh,3.5rem); }

/* Two light sections in a row read as one warm block. A hairline keeps them
   distinct without breaking the run of paper. */
.section-light + .section-light:not(.section-tight){ border-top:1px solid var(--line); }

/* ── Available kittens ───────────────────────────────────────────────── */

.empty{
  border:1px solid var(--line);
  border-radius:16px;
  padding:clamp(1.75rem,4vw,3rem);
  background:var(--surface);
  max-width:60ch;
}
.empty-h{
  font-family:var(--display); font-weight:600;
  font-size:clamp(1.3rem,1.1rem + .8vw,1.75rem);
  line-height:1.25;
}
.empty-b{ margin-top:1rem; color:var(--text-2); font-size:.96rem; }
.empty .btn{ margin-top:1.75rem; }

.kitten-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:1.25rem;
}
.kitten{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  display:flex; flex-direction:column;
  opacity:0; transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
  transition-delay:calc(var(--i,0) * 80ms);
}
.kitten.is-in{ opacity:1; transform:none; }
.kitten.is-taken{ opacity:.62; }
.kitten.is-taken.is-in{ opacity:.62; }

.kitten-body{ padding:1.3rem 1.35rem 1.5rem; display:flex; flex-direction:column; flex:1; }
.kitten-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:.75rem; }
.kitten-name{ font-family:var(--display); font-weight:600; font-size:1.5rem; line-height:1.15; letter-spacing:-.02em; }
.kitten-colour{ margin-top:.4rem; font-size:.88rem; color:var(--accent); }
.kitten-note{ margin-top:.8rem; font-size:.9rem; color:var(--text-2); }
.kitten-price{
  margin-top:auto; padding-top:1.2rem;
  font-family:var(--display); font-weight:600; font-size:1.5rem; letter-spacing:-.02em;
}
.price-off{ font-family:var(--body); font-size:.9rem; color:var(--muted); letter-spacing:0; }

/* ── Small definition rows, used on kitten and cat cards ─────────────── */

.mini{ margin:1.1rem 0 0; display:grid; gap:.4rem; }
.mini > div{ display:flex; justify-content:space-between; gap:1rem; }
.mini dt{ font-size:.82rem; color:var(--muted); flex:none; }
.mini dd{ margin:0; font-size:.84rem; text-align:right; font-family:var(--data); }

.chip{
  flex:none;
  font-family:var(--data);
  font-size:.6rem; letter-spacing:.14em; text-transform:uppercase;
  padding:.3rem .6rem; border-radius:999px;
  border:1px solid currentColor;
}
.chip-on{ color:var(--ok); }
.chip-off{ color:var(--muted); }
.chip-home{ color:var(--accent); }

/* ── What's included ─────────────────────────────────────────────────── */

.included{
  margin-top:clamp(2.5rem,5vh,3.5rem);
  border-top:1px solid var(--line);
  padding-top:clamp(2rem,4vh,2.75rem);
}
.ticks{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:.6rem 2rem;
  max-width:70ch;
}
.ticks li{
  position:relative; padding-left:1.6rem;
  font-size:.94rem; color:var(--text-2);
}
.ticks li::before{
  content:''; position:absolute; left:0; top:.45em;
  width:9px; height:5px;
  border-left:1.5px solid var(--ok); border-bottom:1.5px solid var(--ok);
  transform:rotate(-45deg);
}
.included-note{
  margin-top:1.75rem; max-width:56ch;
  font-size:.92rem; color:var(--muted);
}

/* ── Page heads (every page except the home page) ────────────────────── */

.pagehead{
  position:relative; overflow:hidden;
  padding:clamp(2.5rem,7vh,4.5rem) var(--gut) clamp(2.5rem,6vh,4rem);
}
/* The same two sand stripes as the home page, down the left edge. */
.pagehead::before{
  content:'';
  position:absolute; inset:0 auto 0 0; width:clamp(1.25rem,6vw,5rem);
  background:linear-gradient(90deg, var(--sand-1) 0 50%, var(--sand-2) 50% 100%);
  pointer-events:none;
}
.pagehead-inner{ position:relative; max-width:var(--max); margin-inline:auto; }
.page-h1{
  font-family:var(--display); font-weight:700;
  font-size:clamp(2.2rem, 1.3rem + 3.6vw, 4rem);
  line-height:1.04; letter-spacing:-.035em;
  max-width:20ch;
}
.page-lede{
  margin-top:1.3rem; max-width:54ch;
  color:var(--text-2); font-size:1.05em;
}

/* ── Running prose ───────────────────────────────────────────────────── */

.prose{ display:grid; gap:1.15rem; color:var(--text-2); }
.section-title + .prose, .page-lede + .prose, .sub-title + .prose{ margin-top:1.4rem; }
.prose p{ max-width:62ch; }
.prose a{ color:var(--text); text-decoration-color:var(--accent); text-underline-offset:3px; }
.prose-lead p:first-child{ font-size:1.1em; color:var(--text); }
.prose-more{ margin-top:1.75rem; }
.prose-more a{
  font-size:.92rem; text-decoration:none;
  color:var(--accent); font-weight:500;
}
.prose-more a:hover{ text-decoration:underline; text-underline-offset:4px; }

/* ── Quick links on the home page ────────────────────────────────────── */

.quick{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1rem;
}
.ql{
  display:block; text-decoration:none;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:1.5rem 1.4rem;
  opacity:0; transform:translateY(16px);
  transition:opacity .65s ease, transform .65s ease, border-color .25s ease;
}
.ql.is-in{ opacity:1; transform:none; }
.ql:nth-child(2){ transition-delay:.07s; }
.ql:nth-child(3){ transition-delay:.14s; }
.ql:nth-child(4){ transition-delay:.21s; }
.ql:hover{ border-color:var(--accent); }
.ql-t{ font-family:var(--display); font-weight:600; font-size:1.3rem; line-height:1.2; }
.ql-b{ margin-top:.7rem; font-size:.9rem; color:var(--text-2); }
.ql-go{ margin-top:1.1rem; font-size:.84rem; color:var(--accent); font-weight:500; }

/* ── How it works ────────────────────────────────────────────────────── */

.flow{ list-style:none; margin:0; padding:0; display:grid; gap:2.25rem; }
.flow-step{
  display:grid; grid-template-columns:4.5rem 1fr;
  gap:clamp(1rem,2.5vw,2rem);
  border-top:1px solid var(--line);
  padding-top:1.5rem;
  opacity:0; transform:translateY(14px);
  transition:opacity .6s ease, transform .6s ease;
}
.flow-step.is-in{ opacity:1; transform:none; }
.flow-n{
  font-family:var(--data); font-weight:700;
  font-size:1.5rem; line-height:1; letter-spacing:-.02em;
  color:var(--accent);
}
.flow-t{
  font-family:var(--display); font-weight:600;
  font-size:clamp(1.3rem,1.1rem + .8vw,1.75rem);
  line-height:1.2; letter-spacing:-.015em;
}
.flow-body{ display:grid; gap:.9rem; }
.flow-body p{ font-size:.96rem; color:var(--text-2); max-width:58ch; }
.flow-body p b{ color:var(--text); font-weight:600; }
.flow-body a{ color:var(--text); text-decoration-color:var(--accent); text-underline-offset:3px; }

/* ── Aftercare explainers ────────────────────────────────────────────── */

.explain{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:1.25rem;
}
.ex{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:1.6rem 1.5rem;
  opacity:0; transform:translateY(16px);
  transition:opacity .65s ease, transform .65s ease;
}
.ex.is-in{ opacity:1; transform:none; }
.ex:nth-child(2){ transition-delay:.08s; }
.ex:nth-child(3){ transition-delay:.16s; }
.ex:nth-child(4){ transition-delay:.24s; }
.ex-t{
  font-family:var(--display); font-weight:600;
  font-size:1.3rem; line-height:1.25; letter-spacing:-.015em;
}
.ex-b{ margin-top:.85rem; font-size:.94rem; color:var(--text-2); }

/* ── Call to action rows ─────────────────────────────────────────────── */

.cta-row{
  display:flex; flex-wrap:wrap; gap:.7rem;
  margin-top:clamp(2.25rem,5vh,3.25rem);
}

/* ── Travel details ──────────────────────────────────────────────────── */

.travel{ margin-top:2rem; border-top:1px solid var(--line); padding-top:1.5rem; }
.enq-next{ margin-top:2.5rem; border-top:1px solid var(--line); padding-top:1.75rem; }

/* ── Our cats ────────────────────────────────────────────────────────── */

.cats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
  gap:1.25rem;
}
.cat{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  display:flex; flex-direction:column;
  opacity:0; transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
}
.cat.is-in{ opacity:1; transform:none; }
.cat:nth-child(2){ transition-delay:.09s; }
.cat:nth-child(3){ transition-delay:.18s; }
.cat-home{ border-color:var(--accent); }

.cat-body{ padding:1.4rem 1.4rem 1.6rem; display:flex; flex-direction:column; flex:1; }
.cat-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:.75rem; }
.cat-pet{ font-family:var(--display); font-weight:600; font-size:1.85rem; line-height:1.1; letter-spacing:-.02em; }
/* Our cats from the admin: one wide card each, photo left, story right */
.girls{ display:grid; gap:clamp(1.25rem,3vw,2rem); }
.girl{
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:start;
  background:var(--surface); border:1px solid var(--line); border-radius:22px; overflow:hidden;
  box-shadow:0 18px 36px -24px rgba(74,36,18,.35);
}
.girl:not(:has(.girl-photo)){ grid-template-columns:1fr; }
.girl-photo{ position:relative; aspect-ratio:4/5; background:var(--sand-1); }
.girl-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.girl-body{ padding:clamp(1.25rem,3vw,2.25rem); }
.girl .cat-pet{ font-size:clamp(1.7rem,1.3rem + 1.2vw,2.3rem); }
.girl-bio{ margin-top:1rem; display:grid; gap:.85rem; color:var(--text-2); font-size:.98rem; }
.girl.js-in{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.girl.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .girl.js-in{ opacity:1; transform:none; } }
@media (max-width:760px){ .girl{ grid-template-columns:1fr; } .girl-photo{ aspect-ratio:4/3; } }

/* Pet name big, pedigree (registered) name small underneath. */
.cat-names{ min-width:0; }
.cat-pedigree, .kitten-pedigree{
  margin-top:.3rem;
  font-size:.72rem; font-weight:600; line-height:1.4;
  letter-spacing:.09em; text-transform:uppercase;
  color:var(--muted);
}
.cat-colour{ margin-top:.6rem; font-size:.88rem; color:var(--accent); }
.cat-reg span{ font-weight:600; color:var(--text-2); }
.cat-blurb{ margin-top:.9rem; font-size:.92rem; color:var(--text-2); }
.cat-reg{
  margin-top:1.2rem; padding-top:1rem;
  border-top:1px solid var(--line);
  font-size:.72rem; color:var(--muted);
}
.cat-reg span{ font-family:var(--data); }

/* ── Health cards ────────────────────────────────────────────────────── */

.hcards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1rem;
}
.hcard{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  padding:1.4rem 1.35rem;
  opacity:0; transform:translateY(16px);
  transition:opacity .65s ease, transform .65s ease;
}
.hcard.is-in{ opacity:1; transform:none; }
.hcard:nth-child(2){ transition-delay:.08s; }
.hcard:nth-child(3){ transition-delay:.16s; }
.hcard:nth-child(4){ transition-delay:.24s; }
/* ── Photo viewer: tap a photo to see them all, full screen ───────────── */
[data-gallery]{ cursor:pointer; }
.photo-more{
  display:inline-flex; align-items:center; gap:.4rem;
  margin:.75rem 1.4rem 0; padding:.55rem 1rem; min-height:44px;
  border:2px solid var(--choc); border-radius:999px; background:#fff; color:var(--choc);
  font:600 .9rem var(--body); cursor:pointer;
}
.photo-more:hover{ background:var(--choc); color:#fff; }
/* the version that sits on top of a photo */
.photo-more--on{
  position:absolute; left:.75rem; bottom:.75rem; margin:0; z-index:2;
  border:0; background:rgba(255,255,255,.92); box-shadow:0 6px 16px rgba(0,0,0,.2);
}
.lb-open, .lb-open body{ overflow:hidden; }
.lb{
  position:fixed; inset:0; z-index:10000;
  background:rgba(25,14,8,.94);
  display:flex; align-items:center; justify-content:center;
  padding:4.5rem 1rem 4rem;
}
.lb[hidden]{ display:none; }
.lb-img{ max-width:100%; max-height:100%; object-fit:contain; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lb button{ font:700 1.05rem var(--body); cursor:pointer; border:0; }
.lb-close{
  position:absolute; top:1rem; right:1rem; min-height:52px; padding:0 1.3rem;
  border-radius:999px; background:#fff; color:var(--choc);
}
.lb-prev, .lb-next{
  position:absolute; top:50%; transform:translateY(-50%);
  width:56px; height:56px; border-radius:50%;
  background:rgba(255,255,255,.92); color:var(--choc); font-size:2rem !important; line-height:1;
}
.lb-prev{ left:1rem; } .lb-next{ right:1rem; }
.lb-prev[hidden], .lb-next[hidden]{ display:none; }
.lb-count{ position:absolute; bottom:1.25rem; left:0; right:0; text-align:center; color:#fbeedd; font-size:1rem; }
.lb button:focus-visible{ outline:4px solid var(--sand-2); outline-offset:3px; }

/* Kittens page care section: two groups of two cards, side by side on wide screens */
.care-group + .care-group{ margin-top:clamp(2.5rem,6vh,4rem); }
.explain.explain-2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
@media (max-width:760px){ .explain.explain-2{ grid-template-columns:1fr; } }

/* Previous litters: a staggered wall of photos, each keeping its own shape */
#previousList.pgrid{ display:block; columns:3 240px; column-gap:1rem; }
.pg-item{
  display:block; width:100%; margin:0 0 1rem; padding:0; border:0; background:var(--sand-1);
  border-radius:18px; overflow:hidden; cursor:zoom-in; break-inside:avoid;
  box-shadow:0 14px 30px -20px rgba(74,36,18,.45);
  transition:transform .2s ease, box-shadow .2s ease;
}
.pg-item img{ display:block; width:100%; height:auto; }
.pg-item.js-in{ opacity:0; transform:translateY(14px); transition:opacity .6s ease calc(var(--i,0) * 60ms), transform .6s ease calc(var(--i,0) * 60ms), box-shadow .2s ease; }
.pg-item.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .pg-item.js-in{ opacity:1; transform:none; } }
.pg-item:hover{ transform:translateY(-3px); box-shadow:0 20px 36px -20px rgba(74,36,18,.55); }
.pg-item:focus-visible{ outline:4px solid var(--accent); outline-offset:3px; }
@media (max-width:620px){ #previousList.pgrid{ columns:2; column-gap:.6rem; } .pg-item{ margin-bottom:.6rem; border-radius:14px; } }

/* Previous litters: one card per litter, photo on the left, kittens listed */
#previousList{ display:grid; gap:clamp(1.25rem,3vw,2rem); }
.prev{
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  background:var(--surface); border:1px solid var(--line); border-radius:22px; overflow:hidden;
  box-shadow:0 18px 36px -24px rgba(74,36,18,.35);
}
.prev-photo{ position:relative; min-height:16rem; background:var(--sand-1); }
.prev-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.prev-body{ padding:clamp(1.25rem,3vw,2.25rem); }
.prev:not(:has(.prev-photo)){ grid-template-columns:1fr; }
.prev-name{ font-family:var(--display); font-weight:700; font-size:clamp(1.5rem,1.2rem + 1vw,2rem); letter-spacing:-.02em; line-height:1.15; }
.prev-mum{ margin-top:.35rem; color:var(--accent); font-weight:600; font-size:.92rem; }
.prev-desc{ margin-top:.9rem; color:var(--text-2); font-size:.95rem; }
.prev-kits{ list-style:none; margin:1.25rem 0 0; padding:0; display:grid; gap:.75rem; }
.prev-kits li{ display:flex; align-items:center; gap:.9rem; }
.prev-kits img, .pk-blank{ width:64px; height:64px; flex:none; border-radius:16px; object-fit:cover; background:var(--sand-1); }
.pk-text{ display:flex; flex-direction:column; min-width:0; }
.pk-name{ font-weight:600; color:var(--choc); }
.pk-ped{ font-size:.7rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.pk-col{ font-size:.85rem; color:var(--text-2); }
#previousList ~ .cta-row{ margin-top:2.25rem; }
@media (max-width:760px){
  .prev{ grid-template-columns:1fr; }
  .prev-photo{ min-height:0; aspect-ratio:4/3; }
}

/* Health section: plain paragraphs and a link to Wisdom Panel */
.health-prose{ max-width:62ch; }
.health-prose p{ font-size:1.02em; }
.health-link a{ color:var(--accent); font-weight:600; text-decoration-thickness:2px; text-underline-offset:4px; }
.health-link a:hover{ color:var(--choc); }
.health-prose ~ .cta-row{ margin-top:2.25rem; }

/* Wisdom Panel note under the health cards */
.dna-note{
  margin-top:clamp(1.5rem,3vw,2.25rem); max-width:64ch;
  background:var(--surface); border:1px solid var(--line);
  border-left:6px solid var(--sand-2); border-radius:16px;
  padding:1.5rem 1.75rem;
}
.dna-note .sub-title{ margin-bottom:.6rem; }
.dna-note p{ color:var(--text-2); font-size:.95rem; }
.dna-note p + p{ margin-top:.9rem; }
.dna-note a{ color:var(--accent); font-weight:600; text-decoration-thickness:2px; text-underline-offset:4px; }
.dna-note a:hover{ color:var(--choc); }

.hcard-t{ font-family:var(--display); font-weight:600; font-size:1.2rem; line-height:1.25; }
.hcard-b{ margin-top:.7rem; font-size:.9rem; color:var(--text-2); }

/* ── The honest bit ──────────────────────────────────────────────────── */

.honest-lede{
  margin-top:1.3rem; max-width:52ch;
  color:var(--text-2); font-size:1.05em;
}
.honest{ margin:2.5rem 0 0; display:grid; gap:1.5rem; }
.honest > div{ border-top:1px solid var(--line); padding-top:1.2rem; }
.honest dt{
  font-family:var(--display); font-weight:600;
  font-size:1.2rem; line-height:1.3;
}
.honest dd{ margin:.5rem 0 0; font-size:.94rem; color:var(--text-2); max-width:60ch; }

/* ── Visiting ────────────────────────────────────────────────────────── */

.visit{
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:clamp(2rem,5vw,4rem); align-items:start;
}
.visit-text{ display:grid; gap:1.15rem; color:var(--text-2); }
.visit-text p{ max-width:52ch; }
.visit-art{ width:100%; }

.mapmark{ text-align:center; }
.mapmark-x{ color:var(--accent); font-size:1.1rem; line-height:1; }
.mapmark-t{
  font-family:var(--display); font-weight:600;
  font-size:1.8rem; letter-spacing:-.02em; margin-top:.4rem;
}
.mapmark-s{
  font-family:var(--data);
  font-size:.66rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--muted); margin-top:.3rem;
}

/* ── Colour toy ──────────────────────────────────────────────────────── */

.lab{
  display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(1.25rem,3vw,2.25rem); align-items:start;
}
.lab-controls{ display:grid; gap:1.4rem; }
.ctl{ border:0; padding:0; }
.ctl legend{
  font-family:var(--data);
  font-size:.64rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin-bottom:.7rem; padding:0;
}
.opts{ display:grid; gap:.5rem; }
.opts-row{ grid-template-columns:repeat(3,1fr); }

.opt{
  text-align:left;
  border:1px solid var(--line); border-radius:10px;
  padding:.7rem .85rem;
  background:var(--surface);
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
.opt:hover{ border-color:var(--accent-2); transform:translateY(-1px); }
.opt b{ display:block; font-weight:500; font-size:.92rem; }
.opt span{ display:block; font-size:.73rem; color:var(--muted); margin-top:.1rem; }
.opt.is-on{ border-color:var(--accent); background:rgba(227,162,119,.12); }
.opt.is-on span{ color:var(--text-2); }
.opt-sm{ padding:.6rem .7rem; }
.opt-sm b{ font-size:.85rem; }

.lab-out{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:clamp(1.3rem,2.5vw,1.9rem);
}
.lab-out-label{
  font-family:var(--data);
  font-size:.64rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted);
}
.kittens{
  display:flex; flex-wrap:wrap; gap:.35rem;
  margin:1rem 0 1.4rem;
  padding:.85rem .65rem;
  min-height:72px;
  background:rgba(241,236,227,.055);
  border:1px solid var(--line);
  border-radius:12px;
}
.kit{
  width:clamp(42px,8vw,56px); height:auto;
  animation:pop .5s cubic-bezier(.3,1.5,.5,1) both;
  animation-delay:var(--d,0ms);
}
.kit-head{ fill:var(--k-coat); stroke:rgba(241,236,227,.22); stroke-width:.9; }
.kit-ear{ fill:var(--k-pt); }
.kit-mask{ fill:var(--k-pt); opacity:.8; }
.kit-eye{ fill:#f2bd77; stroke:rgba(25,20,30,.45); stroke-width:.8; }
.kit-nose{ fill:#dd939a; opacity:.8; }

@keyframes pop{
  from{ opacity:0; transform:translateY(8px) scale(.72); }
  to  { opacity:1; transform:none; }
}

.legend{
  list-style:none; margin:0 0 1.3rem; padding:1rem 0 0;
  border-top:1px solid var(--line);
  display:grid; gap:.4rem;
}
.legend li{ display:flex; align-items:center; gap:.55rem; font-size:.86rem; color:var(--text-2); }
.legend li b{ margin-left:auto; font-family:var(--data); font-size:.82rem; color:var(--accent); }
.legend .kit{ flex:none; width:28px; animation:none; }

.lab-verdict{
  font-family:var(--display); font-weight:500;
  font-size:clamp(1.05rem,.95rem + .5vw,1.28rem);
  line-height:1.42; color:var(--text);
}
.lab-small{
  margin-top:1.3rem; padding-top:1rem;
  border-top:1px solid var(--line);
  font-size:.8rem; color:var(--muted);
}

/* ── Enquire ─────────────────────────────────────────────────────────── */

.enq-lede{ margin-top:1.3rem; max-width:52ch; color:var(--text-2); }
.enq-mail{
  margin:2rem 0;
  font-family:var(--display); font-weight:600;
  font-size:clamp(1.35rem,1rem + 1.8vw,2.35rem);
  letter-spacing:-.015em; word-break:break-word;
}
.enq-mail a{
  text-decoration-color:var(--accent);
  text-decoration-thickness:2px;
  text-underline-offset:6px;
}
.enq-mail a:hover{ color:var(--accent); }

.enq-help{ border-top:1px solid var(--line); padding-top:1.75rem; }
.enq-contact{ margin:2rem 0; }
.enq-contact .enq-mail{ margin:0; }
.enq-phone{ margin-top:.75rem; display:flex; align-items:baseline; gap:.75rem; flex-wrap:wrap;
  font-family:var(--display); font-weight:600; font-size:clamp(1.2rem,1rem + 1.2vw,1.8rem); }
.enq-phone a{ text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:6px; }
.enq-phone a:hover{ color:var(--accent); }
.enq-label{ font-family:var(--data); font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); }
.enq-foot{
  margin-top:2.25rem;
  font-family:var(--data);
  font-size:.72rem; line-height:1.8; letter-spacing:.04em;
  color:var(--muted);
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.foot{
  padding-block:3rem;
  background:var(--choc); color:#fbeedd;
}
.foot-inner{ display:grid; gap:.75rem; }
.foot-mark{ font-family:var(--display); font-weight:700; font-size:1.05rem; letter-spacing:.2em; }
.foot-nav{ display:flex; flex-wrap:wrap; gap:.4rem 1.4rem; margin-bottom:.5rem; }
.foot-nav a{ font-size:.88rem; color:#f3d29c; text-decoration:none; }
.foot-nav a:hover{ color:#fff; text-decoration:underline; text-underline-offset:4px; }
.foot-note{ font-size:.84rem; color:#e6cdb3; max-width:56ch; }
.foot-dim{ color:#c4a488; }

/* ── Load-in ─────────────────────────────────────────────────────────── */

.reveal{ animation:rise .85s cubic-bezier(.2,.7,.25,1) both; animation-delay:var(--d,0ms); }
@keyframes rise{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width:940px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ order:-1; max-width:20rem; }

  /* Phone and small tablet: a squarer photo on top, the headline on a white
     card that overlaps the bottom of the photo, then the words and big
     full-width buttons on plain sand. */
  .hero{ padding:.75rem .75rem 2.5rem; }
  .hero-frame{ grid-template-columns:1fr; min-height:0; border-radius:24px; background:var(--sand-1); }
  .hero-bands{ width:10px; background:var(--sand-2); }
  .hero-photo{ order:-1; aspect-ratio:1/1; min-height:0; }
  .hero-photo img{ object-position:50% 35%; }
  .hero-photo::before{ display:none; }

  .hero-text{ padding:0 1.25rem 1.5rem 1.6rem; }
  .hero-title{
    position:relative; z-index:2;
    margin:-4.5rem -.35rem 1.25rem -.6rem;
    background:#fff; border-radius:20px;
    padding:1.15rem 1.25rem 1.25rem;
    box-shadow:0 16px 32px -18px rgba(74,36,18,.45);
  }
  .hero-title .eyebrow{ margin-bottom:.5rem; font-size:.68rem; }
  .hero-h1{ margin:0; font-size:clamp(1.9rem, 8.2vw, 3rem); line-height:1.05; }
  .hero-body{ max-width:none; padding-right:0; font-size:1rem; line-height:1.7; }

  .hero-actions{ flex-direction:column; gap:.65rem; margin-top:1.4rem; }
  .hero-actions .btn{ text-align:center; padding:1rem 1.5rem; font-size:1rem; }
  .btn-ghost{ background:#fff; }

  .hero-card{ position:relative; left:auto; bottom:auto; width:auto; margin:0 1.25rem 1.5rem 1.6rem; }
  .hero-card-img{ width:5.5rem; border-radius:16px 0 0 16px; overflow:hidden; }
  .hero-card .status{ border-radius:0 16px 16px 0; padding:.9rem 2.6rem .9rem 1rem; }
  .lab{ grid-template-columns:1fr; }
  .visit{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .flow-step{ grid-template-columns:1fr; gap:.5rem; }
}
@media (max-width:620px){
  /* Phone header: EASTOR with Enquire beside it, then one swipeable row of
     pill links. Not sticky, so it doesn't take up the small screen. */
  .topbar{
    position:relative; flex-direction:column; align-items:stretch; gap:.7rem;
    padding:.9rem 0 .8rem;
  }
  .mark{ padding:0 1rem; line-height:2.4rem; }
  .topbar nav{
    gap:.45rem; overflow-x:auto; padding:0 1rem .15rem;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  .topbar nav::-webkit-scrollbar{ display:none; }
  .topbar nav a{
    font-size:.88rem; padding:.45rem .95rem; border-radius:999px;
    background:var(--sand-1); color:var(--choc);
  }
  .topbar nav a[aria-current="page"]{ background:var(--choc); color:#fff; text-decoration:none; }
  .pagehead::before{ width:8px; }
  .pagehead-inner{ padding-left:.6rem; }
  .topbar nav a.nav-cta{
    position:absolute; top:.9rem; right:1rem;
    background:var(--choc); color:#fff; padding:.5rem 1.15rem;
  }
  .mini > div{ flex-direction:column; gap:0; }
  .mini dd{ text-align:left; }
  .opts-row{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    animation-delay:0ms !important;
    transition-duration:.001ms !important;
  }
  .cat,.kitten,.hcard,.flow-step,.ql,.ex{ opacity:1; transform:none; }
  .kitten.is-taken{ opacity:.62; }
  .lid{ transform:scaleY(0) !important; }
}

/* ── Admins viewing a hidden page see this note (site-pages.js) ──────── */
.hidden-page-note{
  margin:0; padding:.9rem 1.2rem; text-align:center;
  background:#fffbea; color:#1b1b1b; border-bottom:3px solid #e0a800;
  font-weight:600;
}

/* Jumping to a section (e.g. breed.html#health) stops below the sticky menu */
section[id]{ scroll-margin-top:110px; }

/* ── Reviews (js/reviews.js) ─────────────────────────────────────────── */
section[hidden], .fb-form[hidden], .fb-thanks[hidden], .fb-preview[hidden], .empty[hidden]{ display:none !important; }

.rv-grid{ columns:3 300px; column-gap:1.25rem; }
.rv{
  break-inside:avoid; margin:0 0 1.25rem;
  background:var(--surface); border:1px solid var(--line); border-radius:16px;
  overflow:hidden;
  opacity:0; transform:translateY(16px);
  transition:opacity .65s ease, transform .65s ease;
  transition-delay:calc(var(--i, 0) * 70ms);
}
.rv.is-in{ opacity:1; transform:none; }
.rv-photo{ display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; }
.rv-photo img{ display:block; width:100%; height:auto; max-height:420px; object-fit:cover; }
.rv-q{ margin:0; padding:1.4rem 1.4rem .5rem; color:var(--text-2); position:relative; }
.rv-q::before{
  content:"\201C"; display:block; font-size:3rem; line-height:.6; height:1.4rem;
  color:var(--accent-2); font-family:Georgia, serif;
}
.rv-q p + p{ margin-top:.8rem; }
.rv-who{ padding:0 1.4rem 1.3rem; font-weight:600; color:var(--text); }

/* The feedback form */
.fb-intro{ margin-top:1rem; color:var(--text-2); max-width:62ch; }
.fb-form{ display:grid; gap:1.25rem; max-width:640px; }
.fb-field{ display:grid; gap:.4rem; }
.fb-field label{ font-weight:600; color:var(--text); }
.fb-opt{ font-weight:400; color:var(--muted); }
.fb-form input:not([type=checkbox]):not([type=file]), .fb-form textarea{
  font:inherit; font-size:16px; color:var(--text);
  width:100%; padding:.8rem .9rem; border:1px solid var(--line); border-radius:10px;
  background:var(--surface);
}
.fb-form textarea{ resize:vertical; min-height:9rem; }
.fb-form input:focus, .fb-form textarea:focus{ outline:3px solid var(--accent-2); outline-offset:1px; border-color:var(--accent); }
.fb-form input[type=file]{ font:inherit; font-size:15px; max-width:100%; }
.fb-hint{ font-size:.9rem; color:var(--muted); }
.fb-preview{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.fb-preview img{ width:120px; height:120px; object-fit:cover; border-radius:12px; border:1px solid var(--line); }
.fb-remove{
  font:inherit; font-size:.95rem; cursor:pointer; padding:.5rem 1rem; border-radius:999px;
  border:1px solid var(--choc); background:transparent; color:var(--choc);
}
.fb-check{ display:flex; gap:.75rem; align-items:flex-start; cursor:pointer; color:var(--text); }
.fb-check input{ width:22px; height:22px; margin-top:.1rem; flex:none; accent-color:var(--choc); }
.fb-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.fb-form .btn{ justify-self:start; border:0; cursor:pointer; font:inherit; font-weight:600; }
.fb-form .btn:disabled{ opacity:.6; cursor:wait; }
.fb-status{ min-height:1.4em; color:var(--text-2); }
.fb-status--bad{ color:#b3261e; font-weight:600; }
.fb-thanks{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:1.5rem; max-width:640px; }
.fb-thanks-h{ font-size:1.3rem; font-weight:700; color:var(--text); margin-bottom:.5rem; }
