/* Di Noble Charm · site styles.
   The page goes from dawn to night. On desktops public/js/site.js writes scroll
   progress into CSS variables (--p per scene, --hero, --dusk, --page on <html>)
   and the rules below are driven by them. Phones and touch screens get a calm
   version with no scroll maths at all: see "phones and touch screens" near the end. The MVP styles live in _research/mvp-backup/. */

/* ------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: "Onest", system-ui, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; background: var(--bg); color: var(--ink); }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Brand palette of Di Noble Charm (Diana's style sheet, November 2026). The old
   names --amber, --sable and --milk are kept as aliases: gold lines, deep chocolate,
   and a lighter tint of the peach-milk ground for chips and the menu. */
:root { --peach: #FBE8DE; --beige: #D9BBA7; --coffee: #785847; --terra: #C96F4D; --gold: #B18B66; --choc: #382017;
  --terra-deep: #925138; /* terracotta darkened with chocolate: small text on a light ground */
  --amber: var(--gold); --sable: var(--choc); --milk: #FFF6F0; }
/* The day fades while the kitten gallery travels sideways: day, golden hour, night.
   The colours are worked out again on each big section, so that on phones a
   section can simply be given its own hour (--dusk) without any scrolling maths. */
:root, .vg, .vp, .reg, .care, .ship, .pz, .fin {
  --t1: clamp(0, calc(var(--dusk, 0) / .5), 1);
  --t2: clamp(0, calc((var(--dusk, 0) - .5) / .5), 1);
  --flip: clamp(0, calc((var(--dusk, 0) - .64) / .025), 1);
  --bg: color-mix(in oklab, color-mix(in oklab, #FBE8DE, #D9BBA7 calc(var(--t1) * 100%)), #382017 calc(var(--t2) * 100%));
  --ink: color-mix(in oklab, #382017, #FBE8DE calc(var(--flip) * 100%));
  --ink-soft: color-mix(in oklab, #785847, #D9BBA7 calc(var(--flip) * 100%));
  --accent: color-mix(in oklab, #925138, #D98C6E calc(var(--flip) * 100%));
  --hair: color-mix(in oklab, rgba(177, 139, 102, .62), rgba(177, 139, 102, .5) calc(var(--flip) * 100%));
}
html.page-inner { --hero: 1; }
/* --over: 0 while the cover is on screen (the header is light there), 1 below it. site.js writes it on the home page. */
html.page-inner, html:not(.js) { --over: 1; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 6vw; padding-right: 6vw; }
.caps { font-family: "Playfair Display", Georgia, serif; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: 1.05; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.empty { color: var(--ink-soft); max-width: 40rem; }
.empty a { color: var(--ink); text-underline-offset: 4px; }
.noimg { display: block; width: 100%; height: 100%; background: #d8cbbb; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 16px; background: var(--milk); color: #382017; }
.skip:focus { left: 12px; top: 12px; }
.demo-note { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; padding: 6px 14px; text-align: center; font-size: 12px; background: rgba(20, 13, 9, .86); color: #d9cbbb; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; transition: transform .25s ease;
  background: var(--terra); color: #FFF9F5; font-weight: 600; }
.btn:hover { transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1px var(--accent); }

/* ------------------------------------------------------------ header -- */
.top { position: fixed; z-index: 50; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 16px 5vw; color: color-mix(in oklab, #FBE8DE, var(--ink) calc(var(--over) * 100%)); }
.top .btn { background: color-mix(in oklab, #FBE8DE, var(--terra) calc(var(--over) * 100%)); color: color-mix(in oklab, #382017, #FFF9F5 calc(var(--over) * 100%)); }
.top::before { content: ""; position: absolute; inset: 0 0 -22px 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--bg) 45%, transparent); opacity: var(--over, 0); }
.top__l { display: flex; align-items: center; gap: 26px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.top__l a { text-decoration: none; opacity: .78; transition: opacity .25s; }
.top__l a:hover { opacity: 1; }
.top__mark { display: block; width: 58px; height: 58px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.top__mark:hover { transform: rotate(-8deg) scale(1.05); }
.top__mark img { width: 100%; height: 100%; filter: invert(max(var(--flip), calc(1 - var(--over)))); }
.top__r { justify-self: end; display: flex; align-items: center; gap: 26px; }
.top__find { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border-radius: 50%; color: inherit; opacity: .82; transition: opacity .25s; }
.top__find:hover { opacity: 1; }
.top__find svg { width: 20px; height: 20px; }
.top__menu { display: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--accent); font-size: 14px; cursor: pointer; }
@media (max-width: 1140px) {
  .top { grid-template-columns: auto 1fr; padding: 12px 5vw; }
  .top__l { display: none; }
  .top__mark { width: 48px; height: 48px; }
  .top__menu { display: inline-flex; align-items: center; }
  .top__r { gap: 10px; }
  .top .btn { min-height: 40px; padding: 0 18px; }
}
.menu { width: min(88vw, 380px); padding: 26px 26px 30px; border: 0; border-radius: 28px; background: var(--milk); color: #382017; box-shadow: 0 30px 80px rgba(20, 13, 9, .4); }
.menu::backdrop { background: rgba(20, 13, 9, .55); }
.menu__close { display: block; margin-left: auto; padding: 6px 4px; border: 0; background: none; font-size: 14px; color: #785847; cursor: pointer; }
.menu__find { display: flex; gap: 8px; margin: 8px 0 12px; }
.menu__find input { flex: 1; min-width: 0; min-height: 46px; padding: 0 18px; border: 1px solid rgba(177, 139, 102, .7); border-radius: 999px; background: #fff; color: #382017; font: inherit; font-size: 16px; }
.menu__find .btn { min-height: 46px; width: 46px; padding: 0; flex: none; }
.menu__find svg { width: 19px; height: 19px; }
.menu__list a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(74, 46, 32, .16); font-family: "Playfair Display", serif; font-size: 1.5rem; text-decoration: none; }
.menu__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 24px; }

/* ------------------------------------------- photo in a knitted frame -- */
/* .knit is the frame (a card or a standalone figure), .ph is the photo window sunk into it */
.knit { --pad: 22px; --r: 32px; --win: 14px; --btn: 50px; position: relative; isolation: isolate; padding: var(--pad); border-radius: var(--r); background: url(/img/home/tx-knit.webp) center / cover;
  box-shadow: inset 0 3px 4px rgba(255, 252, 245, .5), inset 0 -16px 24px -8px rgba(58, 38, 24, .55), inset 16px 0 24px -16px rgba(58, 38, 24, .32), inset -16px 0 24px -16px rgba(58, 38, 24, .32),
    0 2px 3px rgba(42, 27, 18, .32), 0 30px 46px -18px rgba(42, 27, 18, .6), 0 44px 90px -30px rgba(177, 139, 102, calc(.7 * var(--t2))); }
.ph { position: relative; display: block; }
.ph > i { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--win); box-shadow: 0 1.5px 0 rgba(255, 252, 245, .75), 0 -1.5px 0 rgba(58, 38, 24, .4); }
.ph > i > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ph::after { content: ""; position: absolute; inset: 0; border-radius: var(--win); pointer-events: none; box-shadow: inset 0 7px 14px rgba(30, 18, 10, .5), inset 0 0 0 1px rgba(30, 18, 10, .28), inset 0 -2px 6px rgba(30, 18, 10, .2); }
/* the wooden button, sewn on crosswise */
.deco { position: absolute; z-index: 3; top: calc(var(--btn) * -.28); right: calc(var(--btn) * -.28); width: var(--btn); height: var(--btn); rotate: 14deg; pointer-events: none; background: url(/img/home/el-button.webp) center / contain no-repeat; filter: drop-shadow(0 1px 1px rgba(30, 18, 10, .65)) drop-shadow(0 6px 5px rgba(30, 18, 10, .42)); }
.deco::before, .deco::after { content: ""; position: absolute; left: 50%; top: 50%; width: 31%; height: 7.5%; translate: -50% -50%; border-radius: 3px; background: #F3EADB; box-shadow: 0 1px 1px rgba(30, 18, 10, .5); }
.deco::before { rotate: 45deg; }
.deco::after { rotate: -45deg; }

/* -------------------------------------------------------- I. hero -- */
/* One photograph: Diana with three cats. The room is dim at first and a soft
   light follows the pointer; scrolling lets the morning in and fills the title.
   The wall behind the photo is painted in the photo's own wall colour, so the
   frame can stand on the bottom edge of any screen and melt into it at the top. */
.hero { height: 240svh; }
.hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #FBE8DE;
  background: radial-gradient(120% 90% at 50% 45%, #9A6C59, #875E4C 78%);
  --g: clamp(0, calc((var(--p, 0) - .04) / .55), 1);
  --f: clamp(0, calc((var(--p, 0) - .2) / .42), 1); }
html:not(.js) .hero { height: 100svh; }
html:not(.js) .hero__stage { --p: 1; }
.pl { position: absolute; }
.wall { left: 50%; bottom: -3svh; height: max(56.3vw, 92svh); aspect-ratio: 1672 / 941; translate: -50% 0; transform-origin: 50% 100%;
  transform: translate3d(calc(var(--mx, 0) * -6px), 0, 0) scale(calc(1.06 - var(--p, 0) * .06));
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 13%); mask-image: linear-gradient(to bottom, transparent, #000 13%); }
.wall img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.shade { inset: 0; background: #2f211b; mix-blend-mode: multiply; opacity: calc((1 - var(--g)) * .62);
  -webkit-mask-image: radial-gradient(circle calc((22 + var(--g) * 150) * 1vmin) at calc(50% + var(--mx, 0) * 20%) calc(56% + var(--my, 0) * 14%), transparent 0%, rgba(0, 0, 0, .5) 55%, #000 100%);
  mask-image: radial-gradient(circle calc((22 + var(--g) * 150) * 1vmin) at calc(50% + var(--mx, 0) * 20%) calc(56% + var(--my, 0) * 14%), transparent 0%, rgba(0, 0, 0, .5) 55%, #000 100%); }
.title { z-index: 1; left: 0; right: 0; top: 9svh; text-align: center; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: min(4.9vw, 9.4svh); line-height: 1.1; text-transform: uppercase; white-space: nowrap;
  letter-spacing: calc(.3em + var(--p, 0) * .08em); padding-left: .3em;
  -webkit-text-stroke: 1px rgba(251, 232, 222, .82); color: transparent;
  background: linear-gradient(90deg, #FBE8DE calc(var(--f) * 112% - 12%), rgba(251, 232, 222, 0) calc(var(--f) * 112%)); -webkit-background-clip: text; background-clip: text; }
.tag { z-index: 5; left: 5vw; bottom: 9svh; max-width: 21rem; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.25rem; line-height: 1.35; color: #FBE8DE; text-shadow: 0 1px 14px rgba(30, 18, 12, .6); opacity: clamp(0, calc(1 - var(--p, 0) / .22), 1); }
.foot { z-index: 5; left: 5vw; right: 5vw; bottom: 6svh; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  --o: clamp(0, calc((var(--p, 0) - .7) / .16), 1); opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 30px)); pointer-events: none; }
.foot > * { pointer-events: auto; }
.foot .btn { min-height: 52px; padding: 0 30px; background: var(--sable); color: #FBE8DE; box-shadow: 0 14px 26px -14px rgba(30, 18, 10, .7); }
/* the motto is written on a linen label, like the names in the kitten gallery */
.script { font-family: "Great Vibes", "Playfair Display", cursive; font-style: normal; font-weight: 400; }
.foot__slogan { position: relative; isolation: isolate; padding: 18px 40px 20px; color: #382017; font-family: "Great Vibes", "Playfair Display", cursive; font-size: clamp(1.9rem, 2.9vw, 2.8rem); line-height: 1.12; }
.foot__slogan::before { content: ""; position: absolute; inset: 0; z-index: -1; rotate: -1.2deg; background: url(/img/home/el-label.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 1px 1px rgba(30, 18, 10, .45)) drop-shadow(0 12px 12px rgba(30, 18, 10, .34)); }
.foot__slogan em { font-style: normal; color: #925138; }
.grain { position: absolute; z-index: 6; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
@media (max-width: 860px) {
  .title { top: 12svh; font-size: 10.5vw; white-space: normal; letter-spacing: calc(.2em + var(--p, 0) * .06em); padding-left: .2em; }
  .title span { display: block; }
  .tag { left: 6vw; right: 6vw; bottom: 6svh; max-width: none; text-align: center; font-size: 1.1rem; }
  .foot { flex-direction: column; align-items: center; gap: 14px; bottom: 3svh; left: 4vw; right: 4vw; }
  .foot__slogan { padding: 13px 30px 15px; text-align: center; font-size: 1.85rem; }
}
@media (min-aspect-ratio: 16/9) {
  .wall { height: 103svh;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); }
}
/* an upright screen: the middle of the frame, larger, and the blanket goes on to the bottom edge */
@media (max-aspect-ratio: 4/5) {
  .hero__stage { background: linear-gradient(to bottom, #8A604E 50%, #AE806C 80%); }
  .wall { bottom: 15svh; height: auto; width: clamp(104vw, 57svh, 124vw); aspect-ratio: 830 / 941;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 93%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 93%, transparent); }
}

/* ------------------------------------------------------ II. about -- */
.about { padding: 16svh 6vw 14svh; }
.about__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 7vw; align-items: center; max-width: 1240px; margin: 0 auto; }
.about__photo { --pad: 28px; --r: 46px; --win: 20px; --btn: 74px; }
.about__photo .ph { aspect-ratio: 1 / 1; }
.about__photo .ph > i > img { object-position: 50% 50%; transform: scale(1.1) translateY(calc((var(--p, .5) - .5) * -7%)); }
.about__beam { position: absolute; inset: -10% -40%; mix-blend-mode: soft-light; pointer-events: none;
  background: linear-gradient(104deg, transparent 36%, rgba(255, 238, 205, .8) 45%, rgba(255, 238, 205, .8) 56%, transparent 66%);
  transform: translateX(calc((var(--p, .5) - .5) * 150%)); }
.about__seal { position: absolute; z-index: 3; right: -30px; bottom: -34px; width: 124px; height: 124px; rotate: -14deg; padding: 9px; border-radius: 50%; background: var(--milk); box-shadow: 0 12px 30px -14px rgba(42, 27, 18, .45); }
.about .eyebrow, .story .eyebrow { position: relative; isolation: isolate; display: inline-block; padding: 13px 28px 12px; color: #382017; }
.about .eyebrow::before, .story .eyebrow::before { content: ""; position: absolute; inset: 0; z-index: -1; rotate: -2deg; background: url(/img/home/el-label.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 5px 7px rgba(42, 27, 18, .16)); }
.about__quote { margin-top: 18px; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-style: italic; font-size: clamp(1.9rem, 3.7vw, 3.5rem); line-height: 1.14; letter-spacing: -.01em; }
.about__quote span { opacity: clamp(.16, calc((var(--p, 1) - .2) / .26 * var(--n) - var(--i)), 1); }
.about__body { margin-top: 28px; max-width: 34rem; color: var(--ink-soft); }
.about__body p + p { margin-top: 1em; }
.about__sign { margin-top: 24px; max-width: 32rem; font-family: "Great Vibes", "Playfair Display", cursive; font-size: 1.75rem; line-height: 1.25; color: var(--accent); }
@media (max-width: 860px) {
  .about { padding: 9svh 6vw; }
  .about__in { grid-template-columns: 1fr; gap: 54px; }
  .about__photo { max-width: 82vw; --pad: 20px; --r: 36px; --btn: 58px; }
  .about__seal { width: 96px; height: 96px; right: -18px; bottom: -28px; }
}

/* ---------------------------------------------------- III. kittens -- */
.vg { height: calc((140 + var(--n, 4) * 60) * 1svh); }
.vg__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.vg__lamp { position: absolute; left: 50%; top: 50%; width: 130vw; height: 110svh; transform: translate(-50%, -50%); pointer-events: none; opacity: var(--t2); background: radial-gradient(closest-side, rgba(177, 139, 102, .2), rgba(177, 139, 102, .05) 55%, transparent); }
.vg__track { position: relative; display: flex; align-items: center; gap: 4.5vw; padding: 0 8vw; width: max-content; will-change: transform; transform: translate3d(calc(var(--p, 0) * (100vw - 100%)), 0, 0); }
.vg__cards { display: flex; align-items: center; gap: 4.5vw; }
.vg__intro { width: min(78vw, 480px); }
.vg__intro p { margin-top: 22px; color: var(--ink-soft); max-width: 22rem; }
.vg__intro .vg__count { margin-top: 14px; color: var(--ink); font-size: 15px; letter-spacing: .04em; }
.vg__count b { font-weight: 600; color: var(--accent); }
.vg__end { width: min(78vw, 420px); }
.vg__end p { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.7rem; line-height: 1.25; margin-bottom: 24px; }
/* the card is a knitted frame; its text sits on a linen label, so it reads on any ground */
.gc { flex: none; display: block; text-decoration: none; color: #382017; padding-bottom: 24px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.gc:hover { transform: translateY(-8px); }
.gc .ph { height: min(50svh, 480px); aspect-ratio: 3 / 4; }
.gc .ph > i > img { transform-origin: 50% 12%; transform: scale(1.1) translateX(calc((var(--p, .5) - .5) * -7%)); }
.gc--off .ph > i > img { filter: saturate(.55) brightness(.94); }
.gc__cap { position: relative; isolation: isolate; margin-top: 16px; padding: 18px 24px 20px; }
.gc__cap::before { content: ""; position: absolute; inset: 0; z-index: -1; rotate: -.7deg; background: url(/img/home/el-label.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 1px 1px rgba(30, 18, 10, .45)) drop-shadow(0 9px 8px rgba(30, 18, 10, .32)); }
.gc__name { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 1.4rem; letter-spacing: .18em; text-transform: uppercase; }
.gc__meta { margin-top: 3px; color: #5C4033; font-size: 15px; }
.gc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(74, 46, 32, .2); }
.gc__price { color: #925138; font-weight: 600; }
.gc__st { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #785847; white-space: nowrap; }
.gc__st--on { color: #382017; font-weight: 500; }
.gc__st--on::before { content: ""; display: inline-block; width: 18px; height: 17px; margin-right: 6px; vertical-align: -3px; background: url(/img/home/el-paw.webp) center / contain no-repeat; }
.gc.is-new { animation: arrive 1.2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
/* gallery progress: a ball of yarn rolls along and leaves the thread behind */
.vg__bar { position: absolute; left: 8vw; right: 8vw; bottom: 10svh; height: 3px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 12%, transparent); }
.vg__bar::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: color-mix(in oklab, #B18B66, #D9BBA7 calc(var(--flip) * 100%)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.vg__bar::before { content: ""; position: absolute; z-index: 1; top: 50%; left: calc(var(--p, 0) * 100%); width: 50px; height: 50px; translate: -50% -50%; rotate: calc(var(--p, 0) * 1080deg); background: url(/img/home/el-yarn.webp) center / contain no-repeat; filter: drop-shadow(0 1px 1px rgba(30, 18, 10, .5)) drop-shadow(0 9px 7px rgba(30, 18, 10, .36)); }
.vg--empty { height: auto; padding: 14svh 6vw; text-align: center; }
.vg--empty p { max-width: 30rem; margin: 20px auto 28px; color: var(--ink-soft); }
/* without scripts the gallery is a plain sideways scroller */
html:not(.js) .vg { height: auto; }
html:not(.js) .vg__stage { position: static; height: auto; padding: 12svh 0; overflow-x: auto; }
html:not(.js) .vg__bar { display: none; }

/* ----------------------------------------------- IV. family tree -- */
.vp { padding: 16svh 6vw 10svh; text-align: center; }
.vp__lead { max-width: 40rem; margin: 24px auto 0; color: var(--ink-soft); }
.vp__lead p + p { margin-top: .9em; }
.vp__tree { display: block; width: min(100%, calc(var(--w, 600) * 1.3px)); height: auto; margin: 7svh auto 0; overflow: visible; }
.vp__tree--tall { display: none; }
.vp__tree text { font-family: "Playfair Display", Georgia, serif; fill: var(--ink); font-size: 23px; text-anchor: middle; letter-spacing: .08em; }
.vp__tree .ring { fill: none; stroke: var(--hair); stroke-width: 1; transition: stroke .3s; }
.tree__node:hover .ring, .tree__node:focus-visible .ring { stroke: var(--amber); stroke-width: 2; }
.tree__empty { fill: color-mix(in oklab, var(--ink) 14%, transparent); }
.ln path { fill: none; stroke: var(--amber); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--q)); }
.ln--a { --q: clamp(0, calc((var(--p, 1) - .26) / .1), 1); }
.ln--b { --q: clamp(0, calc((var(--p, 1) - .36) / .05), 1); }
.ln--c { --q: clamp(0, calc((var(--p, 1) - .41) / .09), 1); }
.par { opacity: clamp(0, calc((var(--p, 1) - .16) / .08), 1); }
.kid { opacity: clamp(0, calc((var(--p, 1) - .47 - var(--i) * .014) / .05), 1); }
.knot { fill: var(--amber); opacity: clamp(0, calc((var(--p, 1) - .35) / .03), 1); }
.vp__others { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 5svh; }
.vp__others a { display: block; width: 96px; text-decoration: none; font-family: "Playfair Display", Georgia, serif; }
.vp__others img, .vp__others .noimg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }

/* ------------------------------------------ text blocks of the home -- */
/* Diana's own texts: the story of the name, the parents, registration,
   health, delivery and the kittens that already live with their families. */
.sec-title { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.1; text-wrap: balance; }
.sec-title--s { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }

.story { position: relative; overflow: hidden; padding: 12svh 6vw 16svh; text-align: center; }
.story::before, .story::after { content: ""; position: absolute; z-index: 0; width: min(44vw, 560px); aspect-ratio: 4 / 3; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'><path d='M0 0H400C330 40 300 110 230 130C150 152 120 230 0 250Z' fill='%23D9BBA7' fill-opacity='.5'/><path d='M0 0H250C210 30 190 80 130 96C70 112 50 170 0 185Z' fill='%23B18B66' fill-opacity='.42'/><path d='M0 272C110 252 150 172 240 150C310 132 350 62 400 32' fill='none' stroke='%23FFFFFF' stroke-opacity='.85' stroke-width='1.6'/></svg>") 0 0 / 100% 100% no-repeat; }
.story::before { left: 0; top: 0; }
.story::after { right: 0; bottom: 0; rotate: 180deg; }
.story__in { position: relative; z-index: 1; }
.story__in { max-width: 42rem; margin: 0 auto; }
.story__lead { margin-top: 26px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: clamp(1.8rem, 3.3vw, 3rem); line-height: 1.16; text-wrap: balance; }
.story__knot { display: block; width: 34px; height: 30px; margin: 26px auto; background: var(--coffee);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'><path d='M12 20.3C12 20.3 2.2 14.4 2.2 7.6C2.2 4.5 4.5 2.2 7.3 2.2C9.3 2.2 11 3.3 12 5C13 3.3 14.7 2.2 16.7 2.2C19.5 2.2 21.8 4.5 21.8 7.6C21.8 14.4 12 20.3 12 20.3Z' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'><path d='M12 20.3C12 20.3 2.2 14.4 2.2 7.6C2.2 4.5 4.5 2.2 7.3 2.2C9.3 2.2 11 3.3 12 5C13 3.3 14.7 2.2 16.7 2.2C19.5 2.2 21.8 4.5 21.8 7.6C21.8 14.4 12 20.3 12 20.3Z' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.story__body { color: var(--ink-soft); font-size: 1.06rem; }
.story__body p + p { margin-top: 1em; }
.story__close { margin-top: 34px; font-family: "Great Vibes", "Playfair Display", cursive; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.2; color: var(--accent); }

/* a cat the cattery is proud of: photo in the knitted frame, name, titles */
.stars { max-width: 1040px; margin: 0 auto; text-align: left; }
.star { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 6vw; align-items: center; margin-top: 12svh; }
.star__photo { display: block; --pad: 22px; --r: 38px; --win: 16px; --btn: 58px; }
.star__photo .ph { aspect-ratio: 4 / 5; }
.star__role { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.star__name { margin-top: 12px; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.star__reg { margin-top: 8px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.3rem; color: var(--ink-soft); }
.star__lead { margin: 22px 0 28px; max-width: 36rem; color: var(--ink-soft); }
.star.is-new { animation: arrive 1.2s cubic-bezier(.2, .7, .2, 1) both; }
@media (max-width: 860px) {
  .star { grid-template-columns: 1fr; gap: 36px; margin-top: 9svh; }
  .star__photo { max-width: 72vw; }
}

/* registration reads like a certificate: a quiet double frame */
.reg { padding: 6svh 6vw 8svh; }
.reg__card { max-width: 880px; margin: 0 auto; padding: 48px min(6vw, 70px) 52px; text-align: center; border: 1px solid var(--hair); outline: 1px solid var(--hair); outline-offset: 7px; border-radius: 3px; }
.reg__title { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; text-wrap: balance; }
.reg__body { max-width: 38rem; margin: 18px auto 0; color: var(--ink-soft); }
.reg__body p + p { margin-top: 1em; }

.care { padding: 10svh 6vw 12svh; }
.care__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 7vw; align-items: start; max-width: 1240px; margin: 0 auto; }
.care__head { position: sticky; top: 18svh; }
.care__lead { margin-top: 26px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.35rem; line-height: 1.42; }
.care__body { color: var(--ink-soft); }
.care .care__body ul { list-style: none; padding-left: 0; }
.care__body li { position: relative; padding-left: 26px; color: var(--ink); }
.care__body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; rotate: 45deg; background: var(--amber); }
@media (max-width: 860px) {
  .story { padding: 15svh 6vw 17svh; }
  .story::before, .story::after { width: 62vw; }
  .care { padding: 8svh 6vw; }
  .care__in { grid-template-columns: 1fr; gap: 30px; }
  .care__head { position: static; }
}

.ship { padding: 10svh 6vw 12svh; border-top: 1px solid var(--hair); }
.ship__in { max-width: 1240px; margin: 0 auto; }
.ship .ship__body { max-width: none; margin-top: 34px; columns: 2; column-gap: 6vw; color: var(--ink-soft); }
.ship__body > p { margin: 0 0 1em; break-inside: avoid; }
.ship__cta { margin-top: 24px; }
.alumni { max-width: 1240px; margin: 12svh auto 0; }
.ship > .alumni:first-child { margin-top: 0; }
.alumni__intro { margin-top: 12px; color: var(--ink-soft); }
.alumni__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 26px; margin-top: 36px; }
.al { display: block; text-decoration: none; color: var(--ink); }
.al__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #2a1c14; box-shadow: 0 26px 50px -30px rgba(20, 13, 9, .7); }
.al__img img, .al__img .noimg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.al:hover .al__img img { transform: scale(1.05); }
.al__name { display: block; margin-top: 14px; font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; letter-spacing: .08em; }
.al__city { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-soft); }
.al.is-new { animation: arrive 1.2s cubic-bezier(.2, .7, .2, 1) both; }
@media (max-width: 860px) {
  .ship { padding: 8svh 6vw 10svh; }
  .ship .ship__body { columns: 1; margin-top: 26px; }
  .alumni { margin-top: 9svh; }
  .alumni__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
}

/* ----------------------------------------------------- V. useful -- */
.pz { padding: 10svh 6vw 12svh; }
.pz__head { max-width: 1240px; margin: 0 auto 6svh; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pz__head p { max-width: 24rem; color: var(--ink-soft); }
.pz > [data-live] { max-width: 1240px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 5svh; }
.chip { padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); text-decoration: none; font-size: 14px; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.chip.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.pcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 30px; }
.pc { display: block; text-decoration: none; color: var(--ink); }
.pc__img { aspect-ratio: 16 / 11; overflow: hidden; border-radius: 18px; background: #2a1c14; box-shadow: 0 26px 50px -30px rgba(20, 13, 9, .7); }
.pc__img img, .pc__img .noimg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc__cat { margin-top: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pc__title { margin-top: 6px; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.pc__ex { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.pc.is-new { animation: arrive 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.more { margin-top: 6svh; text-align: center; }
@media (max-width: 860px) { .pcs { grid-template-columns: 1fr; gap: 38px; } .pz { padding: 8svh 6vw; } }

/* ---------------------------------------------------------- close -- */
.fin { padding: 12svh 6vw 0; text-align: center; border-top: 1px solid var(--hair); }
.fin__seal { display: block; width: min(52vw, 210px); height: auto; margin: 0 auto 34px; filter: invert(var(--flip)); }
.fin__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.fin__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 26px; font-size: 15px; }
.fin__social a { text-underline-offset: 5px; }
.fin__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: 1240px; margin: 12svh auto 0; padding: 22px 0 46px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-soft); text-align: left; }
.fin--inner { margin-top: 12svh; }
.fin--inner .fin__seal { width: 150px; margin-bottom: 26px; }
.fin--inner .caps { font-size: clamp(1.6rem, 3.4vw, 2.8rem); }
@media (max-width: 860px) { .fin .caps { font-size: 7.2vw; letter-spacing: .1em; } }

/* ---------------------------------------------------- inner pages -- */
.pet, .post, .listing { padding-top: 130px; }
.crumbs { margin-bottom: 26px; font-size: 14px; color: var(--ink-soft); }
.crumbs a { text-underline-offset: 4px; }
.crumbs a:hover { color: var(--ink); }

.pet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6vw; align-items: start; }
.pet__main { --pad: 26px; --r: 42px; --win: 18px; --btn: 66px; }
.pet__main .ph { aspect-ratio: 4 / 5; }
.pet__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pet__thumb { width: 78px; height: 78px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; opacity: .6; background: none; transition: opacity .25s; }
.pet__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pet__thumb:hover, .pet__thumb.is-on { opacity: 1; }
.pet__thumb.is-on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.pet__info > * + * { margin-top: 22px; }
.pet__name { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.pet__role { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pet__info > .pet__role + .pet__name { margin-top: 10px; }
.pet__info > .pet__reg { margin-top: 8px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.3rem; color: var(--ink-soft); }
.pet__price { font-family: "Playfair Display", Georgia, serif; font-size: 1.9rem; color: var(--accent); }
.pet__facts { border-top: 1px solid var(--hair); }
.pet__facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.pet__facts dt { color: var(--ink-soft); }
.pet__facts dd { text-align: right; }
@media (max-width: 860px) { .pet, .post, .listing { padding-top: 104px; } .pet__grid { grid-template-columns: 1fr; gap: 44px; } .pet__main { --pad: 20px; --r: 34px; --btn: 56px; } }

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.8em; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { text-underline-offset: 4px; }

.post__head { max-width: 46rem; }
.post__title { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.08; letter-spacing: -.01em; }
.post__date { margin-top: 14px; color: var(--ink-soft); font-size: 14px; }
.post__cover { margin-top: 5svh; max-width: 860px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 60px -34px rgba(42, 27, 18, .5); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.post__body { margin-top: 5svh; font-size: 18px; line-height: 1.65; }
.post-more { margin-top: 12svh; }
.post-more__h { margin-bottom: 34px; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 1.9rem; }
.listing__head { margin-bottom: 5svh; }

/* ------------------------------------------------------------- shop -- */
/* «Товары для животных»: cards that lead to the marketplace. */
.shop__intro { margin-top: 16px; max-width: 36rem; color: var(--ink-soft); }
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px 32px; }
.pr { display: flex; flex-direction: column; align-items: flex-start; }
.pr__img { display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: var(--milk); box-shadow: 0 26px 50px -30px rgba(56, 32, 23, .5); }
.pr__img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pr__img:hover > img { transform: scale(1.04); }
/* a card that has no photo yet is lower, so three of them do not fill the screen with emptiness */
.pr__img:has(.pr__blank) { aspect-ratio: 4 / 3; }
.pr__blank { display: grid; place-items: center; width: 100%; height: 100%; background: var(--beige); }
.pr__blank img { width: 44%; height: auto; opacity: .5; }
.pr__title { margin-top: 20px; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.pr__note { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.pr .btn { margin-top: 18px; }
.pr.is-new { animation: arrive 1.2s cubic-bezier(.2, .7, .2, 1) both; }
@media (max-width: 1000px) { .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .shop { grid-template-columns: 1fr; gap: 44px; } }

/* ----------------------------------------------------------- search -- */
.find { display: flex; gap: 10px; max-width: 640px; margin-top: 26px; }
.find input { flex: 1; min-width: 0; min-height: 54px; padding: 0 24px; border: 1px solid var(--hair); border-radius: 999px; background: var(--milk); color: var(--ink); font: inherit; font-size: 17px; }
.find input::placeholder, .menu__find input::placeholder { color: #A08575; }
.find input:focus-visible, .menu__find input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 999px; }
.find .btn { min-height: 54px; }
.found__sum { margin: 6px 0 4px; color: var(--ink-soft); }
.found { max-width: 46rem; }
.found__item { padding: 24px 0; border-bottom: 1px solid var(--hair); }
.found__kind { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.found__title { display: inline-block; margin-top: 6px; font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; line-height: 1.2; text-decoration: none; }
.found__title:hover { text-decoration: underline; text-underline-offset: 5px; }
.found__text { margin-top: 8px; color: var(--ink-soft); }
.found mark { padding: 0 2px; border-radius: 3px; background: color-mix(in oklab, var(--terra) 24%, transparent); color: var(--ink); }
.found__ask { margin-top: 22px; }
@media (max-width: 620px) { .find { flex-direction: column; } .find .btn { align-self: flex-start; } }

/* ------------------------------------------------------------ toast -- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 42px; translate: -50% 20px; display: flex; align-items: center; gap: 14px; max-width: min(92vw, 520px); padding: 12px 14px 12px 20px; border-radius: 999px; background: rgba(20, 13, 9, .92); color: #FBE8DE; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .35s, translate .35s; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }
.toast.is-on { opacity: 1; translate: -50% 0; pointer-events: auto; }
.toast button { padding: 8px 16px; border: 0; border-radius: 999px; background: var(--terra); color: #FFF9F5; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }

/* ------------------------------------------- phones and touch screens -- */
/* Nothing here follows the scroll: site.js keeps its driver off under the same
   condition. The cover is one screen and plays its dawn once, by time; the
   kitten gallery is an ordinary sideways swipe; every section has its own hour
   of the day instead of a colour worked out on every frame. */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  /* header: three solid chips that read on any ground */
  .top { grid-template-columns: auto 1fr; padding: 10px 4vw; color: #382017; pointer-events: none; }
  .top > * { pointer-events: auto; }
  .top::before, .top__l { display: none; }
  .top__mark { width: 50px; height: 50px; padding: 4px; border-radius: 50%; background: var(--milk); box-shadow: 0 8px 18px -8px rgba(30, 18, 10, .55); }
  .top__mark img { filter: none; }
  .top__r { gap: 8px; }
  .top__find { margin-right: 0; background: var(--milk); color: #382017; opacity: 1; box-shadow: 0 8px 18px -8px rgba(30, 18, 10, .55); }
  .top__menu { display: inline-flex; align-items: center; background: var(--milk); color: #382017; box-shadow: 0 8px 18px -8px rgba(30, 18, 10, .55); }
  .top .btn { min-height: 40px; padding: 0 18px; background: var(--terra); color: #FFF9F5; box-shadow: 0 0 0 1px rgba(251, 232, 222, .16), 0 8px 18px -8px rgba(30, 18, 10, .55); }

  /* cover: the finished morning, one screen tall */
  .hero { height: 100svh; }
  .hero__stage { position: relative; --p: 1; --mx: 0; --my: 0; }
  .wall { transform: none; }
  .shade { mix-blend-mode: normal; background: rgba(34, 22, 16, .6); -webkit-mask-image: none; mask-image: none; }
  .grain { display: none; }

  .about__beam, .vg__lamp { display: none; }
  .about__photo .ph > i > img { transform: none; }

  /* kittens: heading, a row to swipe, the ball of yarn follows the swipe */
  .vg { height: auto; --dusk: .5; padding-bottom: 30svh; background: linear-gradient(to bottom, #FBE8DE, #D9BBA7 46svh, #D9BBA7 calc(100% - 30svh), #382017); }
  .vg__stage { position: static; flex-direction: column; align-items: stretch; height: auto; overflow: visible; padding-top: 13svh; }
  .vg__track { display: contents; }
  .vg__bar { order: 1; }
  .vg__end { order: 2; }
  .vg__intro { width: auto; padding: 0 6vw; }
  .vg__cards { align-items: flex-start; gap: 5vw; padding: 46px 6vw 80px; margin-bottom: -46px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 6vw; scrollbar-width: none; }
  .vg__cards::-webkit-scrollbar { display: none; }
  .gc { width: min(78vw, 340px); scroll-snap-align: start; }
  .gc__cap { padding: 18px 20px 20px; }
  .gc__row { flex-wrap: wrap; }
  .gc__st { font-size: 11px; letter-spacing: .1em; }
  .gc:hover { transform: none; }
  .gc .ph { height: auto; }
  .vg__bar { position: relative; left: auto; right: auto; bottom: auto; margin: 22px 10vw 0; }
  .vg__bar::before { left: 0; translate: calc(var(--p, 0) * 80vw - 50%) -50%; rotate: calc(var(--p, 0) * 720deg); }
  .vg__end { width: auto; padding: 9svh 6vw 0; }
  .vg--empty { padding: 14svh 6vw 36svh; }

  /* night from the family tree to the end of the page */
  .page-home .vp, .reg, .care, .ship, .page-home .pz, .page-home .fin { --dusk: 1; background: var(--bg); color: var(--ink); }
  .vp { padding: 8svh 6vw 10svh; }

  /* the cover's dawn: about three seconds, opacity and movement only */
  @media (prefers-reduced-motion: no-preference) {
    html.js:not(.seen) .shade { animation: dawn-shade 1.6s .5s both ease-in-out; }
    html.js:not(.seen) .title { animation: dawn-title 1.3s 1s both ease-out; }
    html.js:not(.seen) .tag { animation: dawn-tag 2.5s both linear; }
    html.js:not(.seen) .foot { animation: dawn-foot .8s 2.2s both ease-out; }

    /* blocks arrive once, when they come into view (site.js adds .rv and .is-in) */
    .rv [data-rv="up"] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
    .rv [data-rv="up"].is-in { opacity: 1; transform: none; }
    .rv [data-rv="draw"] .ln path { stroke-dashoffset: 1; transition: stroke-dashoffset .7s ease .25s; }
    .rv [data-rv="draw"] .ln--b path { transition-duration: 1.1s; transition-delay: .9s; }
    .rv [data-rv="draw"] .ln--c path { transition-duration: .5s; transition-delay: calc(1.25s + var(--i, 0) * .12s); }
    .rv [data-rv="draw"] .par, .rv [data-rv="draw"] .knot, .rv [data-rv="draw"] .kid { opacity: 0; transition: opacity .6s ease; }
    .rv [data-rv="draw"] .knot { transition-delay: .85s; }
    .rv [data-rv="draw"] .kid { transition-delay: calc(1.5s + var(--i, 0) * .12s); }
    .rv [data-rv="draw"].is-in .ln path { stroke-dashoffset: 0; }
    .rv [data-rv="draw"].is-in .par, .rv [data-rv="draw"].is-in .knot, .rv [data-rv="draw"].is-in .kid { opacity: 1; }
  }
}
@keyframes dawn-shade { from { opacity: 1; } }
@keyframes dawn-title { from { opacity: 0; transform: translateY(14px); } }
@keyframes dawn-tag { 0% { opacity: 0; } 12%, 76% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dawn-foot { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 860px) {
  .vp__tree--wide { display: none; }
  .vp__tree--tall { display: block; }
}
/* a tablet held upright: the wide layout, but the cat may take more of the screen */
@media (min-width: 861px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
  .title { top: 8svh; font-size: 6.2vw; }
  .wall { bottom: 11svh; }
}

@media (prefers-reduced-motion: reduce) {
  .gc.is-new, .pc.is-new, .star.is-new, .al.is-new { animation: none; }
}
