/* site.css — homepage and generated route pages (scripts/build-route-stubs.mjs).
   Visual language matches the Pawly iOS app's design system
   (dog/web/frontend/src/design-import/tokens.css): Young Serif + Figtree, coral, sage, paper.
   research.html is generated elsewhere and still uses style.css; do not merge the two blindly.
   Motion: [data-reveal] fades up once when scrolled into view (index.html script adds .in);
   the phone and hero cards drift gently. All of it switches off under prefers-reduced-motion,
   and content stays visible when JavaScript is off (reveal is gated on html.js). */

@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Young Serif";
  src: url("assets/fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2B2935;
  --ink-2: #4A4757;
  --muted: #6F6C7C;
  --paper: #FDFBF7;
  --cream: #FBF6EF;
  --card: #F4F1EC;
  --lip: #E5E1DA;
  --line: #EAE6DE;
  --coral: #E5734B;
  --coral-bright: #F08A5C;
  --coral-tint: #FBE9DC;
  --coral-deep: #B4532A;
  --sage: #7FB69B;
  --sage-tint: #E3F0E9;
  --sage-deep: #3F7A5C;
  --apricot: #F2C48D;
  --gold-tint: #F7E7BF;
  --lilac-tint: #EDE9FF;
  --night: #221F2B;
  --display: "Young Serif", Georgia, serif;
  --body: "Figtree", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 28px;
  --r-sm: 18px;
  --shadow-lip: 0 5px 0 -1px var(--lip), 0 18px 28px rgba(43, 41, 53, 0.06);
  --shadow-soft: 0 24px 60px rgba(43, 41, 53, 0.12);
  --shadow-lift: 0 2px 0 rgba(255,255,255,0.7) inset, 0 30px 60px -24px rgba(120, 60, 30, 0.28), 0 12px 24px -12px rgba(43, 41, 53, 0.12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--coral-deep); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--display); line-height: 1.05; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.08rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; position: relative; z-index: 1; }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; overflow-x: clip; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.6; }
.large { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-2); line-height: 1.62; }
.fine { font-size: 0.9rem; color: var(--muted); }
.center { text-align: center; }
.head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -0.02em; }
.head .large { margin-top: 20px; }
.center-head { margin-inline: auto; text-align: center; }
.center-head .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.6; }

/* Grain: a fine paper texture over a section. Pure SVG noise, no network request. */
.grain { isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.07; mix-blend-mode: multiply;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Reveal on scroll */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift-tilt { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--coral-bright) 0%, var(--coral) 55%, #D8633B 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 12px 26px -8px rgba(229, 115, 75, 0.65), 0 2px 4px rgba(180, 83, 42, 0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 18px 34px -10px rgba(229, 115, 75, 0.75), 0 2px 4px rgba(180, 83, 42, 0.2); }
.btn-quiet { color: var(--ink); background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(43,41,53,0.1), 0 8px 20px -10px rgba(43,41,53,0.2); }
.btn-quiet:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(43,41,53,0.25), 0 14px 26px -12px rgba(43,41,53,0.25); }
.btn-light { color: var(--ink); background: #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5); }
.btn-light:hover { transform: translateY(-2px); background: var(--coral-tint); }
.text-link { font-weight: 700; color: var(--ink); text-decoration: none; }
.text-link:hover { color: var(--coral-deep); }
.text-link.light { color: #fff; }
.text-link.light:hover { color: var(--apricot); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, 0.78);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(234, 230, 222, 0.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.wordmark .paw { width: 28px; height: 28px; color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.96rem; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(43,41,53,0.6); }
.site-nav .nav-cta:hover { background: var(--coral-deep); color: #fff; }
.menu-button { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 100px) clamp(80px, 10vw, 140px);
  background: linear-gradient(180deg, #FFF4E8 0%, var(--cream) 55%, var(--paper) 100%);
}
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(40px); }
.hero-glow .g1 { width: 760px; height: 760px; right: -180px; top: -260px; background: radial-gradient(circle, rgba(242, 176, 120, 0.75), rgba(242, 196, 141, 0.25) 45%, transparent 70%); }
.hero-glow .g2 { width: 620px; height: 620px; left: -260px; bottom: -300px; background: radial-gradient(circle, rgba(127, 182, 155, 0.42), transparent 68%); }
.hero-glow .g3 { width: 480px; height: 480px; left: 34%; top: -120px; background: radial-gradient(circle, rgba(221, 213, 255, 0.7), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.9), 0 6px 16px -8px rgba(120,60,30,0.25);
  font-weight: 700; font-size: 0.88rem; color: var(--ink-2);
  margin-bottom: 28px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-tint); }
.hero h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -0.03em; max-width: 12ch; }
.hero h1 em {
  font-style: normal; color: var(--coral-deep);
  background: linear-gradient(95deg, #A94A22 0%, var(--coral) 55%, #EB9A5E 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lede { margin-top: 28px; font-size: clamp(1.1rem, 1.55vw, 1.27rem); color: var(--ink-2); max-width: 35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-status { margin-top: 24px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-sun {
  position: absolute; z-index: 0; left: 50%; top: 46%; width: 560px; height: 560px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 214, 170, 0.95), rgba(240, 138, 92, 0.35) 45%, transparent 70%);
  filter: blur(8px);
}
.phone-stage { position: relative; z-index: 1; width: min(320px, 100%); }
.phone {
  width: 100%;
  aspect-ratio: 320 / 650;
  border-radius: 48px;
  background: linear-gradient(145deg, #3A3746, #1E1C26);
  padding: 11px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 2px 0 rgba(255,255,255,0.18) inset,
    0 60px 100px -30px rgba(160, 70, 30, 0.45),
    0 30px 50px -25px rgba(43, 41, 53, 0.55);
  position: relative; z-index: 2;
  transform: rotate(-3deg);
  animation: drift-tilt 8s ease-in-out infinite;
}
.phone-screen {
  height: 100%; border-radius: 38px; overflow: hidden;
  background: linear-gradient(180deg, #FFF3E6 0%, var(--paper) 42%);
  display: flex; flex-direction: column; gap: 10px;
  padding: 10px 14px 0;
  font-size: 12px; line-height: 1.35;
}
.ph-status { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 11px; padding: 2px 8px 0; }
.ph-notch { width: 84px; height: 22px; border-radius: 999px; background: var(--ink); }
.ph-head { padding: 6px 4px 2px; }
.ph-head small { color: var(--muted); font-weight: 600; }
.ph-head strong { display: block; font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1.1; }
.ph-age { display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 700; color: var(--sage-deep); background: var(--sage-tint); padding: 3px 9px; border-radius: 999px; }
.ph-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-quick span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--ink-2); }
.ph-quick i { width: 40px; height: 40px; border-radius: 14px; background-color: #fff; box-shadow: 0 3px 0 -1px var(--lip), 0 4px 10px rgba(43,41,53,0.06); background-repeat: no-repeat; background-position: center; background-size: 26px; }
.q-meal { background-image: url("assets/icons/quick-check-food.svg"); }
.q-water { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 8S16 26 16 38a16 16 0 0 0 32 0C48 26 32 8 32 8Z' fill='%23DDEBFA' stroke='%232C2A4A' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M25 40a7 7 0 0 0 7 7' stroke='%23FFFDF9' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.q-walk { background-image: url("assets/icons/walk.svg"); }
.q-potty { background-image: url("assets/icons/potty.svg"); }
.ph-card { background: #fff; border-radius: 18px; padding: 11px 12px; box-shadow: 0 4px 0 -1px var(--lip), 0 8px 18px rgba(43,41,53,0.05); }
.ph-card small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-deep); }
.ph-card strong { display: block; font-size: 14px; margin-top: 2px; }
.ph-card p { color: var(--ink-2); margin-top: 3px; font-size: 11.5px; }
.ph-plan { background: linear-gradient(180deg, #fff, #FFF6EE); }
.ph-q { margin-top: 8px; font-weight: 700; font-size: 11.5px; }
.ph-chips { display: flex; gap: 5px; margin-top: 6px; }
.ph-chips span { flex: 1; text-align: center; border-radius: 999px; padding: 5px 0; font-weight: 700; font-size: 10.5px; box-shadow: inset 0 0 0 1.3px var(--lip); }
.ph-chips-4 { gap: 4px; }
.ph-chips-4 span { flex: 1 1 auto; white-space: nowrap; font-size: 9.5px; padding: 5px 5px; }
.ph-chips span:first-child { background: var(--sage-tint); box-shadow: inset 0 0 0 1.3px var(--sage); color: var(--sage-deep); }
.ph-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 4px 16px; border-top: 1px solid var(--line); background: #fff; margin-inline: -14px; font-size: 10px; font-weight: 700; color: var(--muted); text-align: center; }
.ph-tabs .on { color: var(--coral-deep); }
.ph-today p { margin-top: 4px; font-weight: 600; }
.ph-foryou { display: flex; align-items: center; gap: 10px; background: var(--lilac-tint); }
.ph-foryou img { width: 34px; height: 34px; flex: none; }
.ph-foryou strong { font-size: 12.5px; }

.float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 20px; padding: 13px 18px 13px 13px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.9), 0 24px 44px -18px rgba(120, 60, 30, 0.38), 0 6px 12px -6px rgba(43,41,53,0.12);
  font-size: 0.86rem; line-height: 1.3;
  animation: drift 7s ease-in-out infinite;
}
.float img { width: 42px; height: 42px; flex: none; }
.float strong { display: block; font-size: 0.93rem; }
.float span { color: var(--muted); }
.float-knows { right: -118px; top: 54px; width: 244px; animation-delay: -2s; }
.float-nights { left: -132px; top: 79%; animation-delay: -4.5s; }
.float .trend { display: flex; gap: 4px; margin-top: 5px; }
.hero-puppy {
  position: absolute; z-index: 4; right: -96px; bottom: -34px; width: 168px;
  aspect-ratio: 1; object-fit: cover; border-radius: 30px; box-shadow: 0 18px 28px rgba(120, 60, 30, 0.24); background: #fdf7e1;
  animation: drift 9s ease-in-out infinite; animation-delay: -1s;
}
.visual-note { position: relative; z-index: 1; margin-top: 30px; font-size: 0.8rem; color: var(--muted); }

/* Proof strip + figure blocks (numbers come only from scripts/build-stats.mjs) */
.proof { position: relative; z-index: 2; margin-top: -56px; padding-bottom: 8px; }
.proof-inner {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-radius: 30px; padding: 28px 34px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.95), 0 30px 60px -30px rgba(120, 60, 30, 0.35);
  display: grid; grid-template-columns: 0.8fr 2.2fr; gap: 12px 40px; align-items: center;
}
.proof-head .eyebrow { margin-bottom: 8px; }
.proof-sub { display: block; color: var(--ink-2); font-size: 0.98rem; line-height: 1.45; }
.proof-link { grid-column: 1 / -1; justify-self: end; font-size: 0.92rem; }
.fig-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 28px; }
.fig-strip li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--coral-tint); }
.fig { font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.fig-label { color: var(--muted); font-size: 0.88rem; line-height: 1.35; font-weight: 600; }
.page-sections .figures { margin-block: 22px; background: linear-gradient(135deg, #fff, #FFF6EE); border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow-lift); }
.page-sections .fig-strip li { border-left-color: var(--apricot); }

/* Two starting points */
.starts { background: var(--paper); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.start {
  border-radius: 32px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.start:hover { transform: translateY(-4px); }
.start-art { margin: 14px 14px 0; border-radius: 22px; overflow: hidden; background: #feefe3; }
.start-after .start-art { background: #e0d8ff; }
.start-before .start-art { flex: 1 1 auto; position: relative; min-height: 300px; }
.start-before .start-art img { position: absolute; inset: 0; height: 100%; }
.start-before .start-art img { transform: scale(1.3); transform-origin: 50% 62%; }
.start-before:hover .start-art img { transform: scale(1.36); }
.start-after .start-art img { object-position: center 40%; }
.start-art img { display: block; width: 100%; height: 350px; object-fit: cover; object-position: center 58%; transition: transform 1.2s var(--ease); }
.start:hover .start-art img { transform: scale(1.035); }
.start-copy { padding: 26px 34px 34px; }
.start h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 1.95rem); line-height: 1.18; margin-bottom: 14px; }
.start-copy p:not(.eyebrow) { color: var(--ink-2); }
.start-before { background: linear-gradient(180deg, #fff 0%, #FFF8F0 100%); }
.start-after { background: linear-gradient(180deg, #fff 0%, #EEF6F1 100%); }
.start-after .eyebrow { color: var(--sage-deep); }
.start-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 34px 34px; margin-top: auto; }
.start-tags li { background: #fff; border-radius: 999px; padding: 8px 15px; font-weight: 700; font-size: 0.88rem; color: var(--sage-deep); box-shadow: inset 0 0 0 1px rgba(63,122,92,0.14), 0 6px 14px -8px rgba(63,122,92,0.4); }

/* What it carries */
.carries { background: radial-gradient(1000px 600px at 0% 0%, rgba(242,196,141,0.28), transparent 70%), linear-gradient(180deg, var(--cream), #F8EFE4); }
.carries-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.carries-side { position: sticky; top: 110px; }
.carries-side .head { margin-bottom: 36px; }
.carries-art { margin: 0; max-width: 380px; border-radius: 28px; overflow: hidden; rotate: -2.5deg; box-shadow: var(--shadow-lift); background: #ddf0ff; }
.carries-art img { display: block; width: 100%; height: auto; }
.carry-list { list-style: none; margin: 0; padding: 0; counter-reset: carry; display: grid; gap: 16px; }
.carry-list li {
  position: relative; counter-increment: carry;
  background: rgba(255,255,255,0.9); border-radius: 26px; padding: 28px 30px 30px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.9), 0 20px 40px -26px rgba(120, 60, 30, 0.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.carry-list li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #fff, 0 28px 50px -26px rgba(120, 60, 30, 0.45); }
.carry-list li::after {
  content: counter(carry, decimal-leading-zero);
  position: absolute; right: 26px; top: 16px;
  font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--coral-tint);
  pointer-events: none;
}
.burden { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 8px; padding-right: 80px; }
.carry-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.15; padding-right: 70px; }
.carry-list li > p { margin-top: 12px; color: var(--ink-2); font-size: 1.02rem; }
.carry-list li.vent-note { counter-increment: none; background: linear-gradient(135deg, var(--sage-tint), #F1F8F4); color: var(--ink-2); padding: 22px 26px; }
.carry-list li.vent-note::after { content: none; }
.vent-note strong { color: var(--sage-deep); }

/* Follow-through: the one warm, full-colour band */
.follow {
  overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(255, 196, 140, 0.55), transparent 65%),
    linear-gradient(135deg, #9E4520 0%, #BE5733 45%, #DC7445 100%);
}
.follow-glow { position: absolute; left: -200px; bottom: -260px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 190, 0.28), transparent 65%); pointer-events: none; }
.follow.grain::after { mix-blend-mode: overlay; opacity: 0.16; }
.learns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.learns-copy h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); margin-bottom: 22px; letter-spacing: -0.02em; }
.follow .eyebrow { color: #FFE2CC; }
.follow .large { color: rgba(255,255,255,0.92); }
.learns-points { margin-top: 30px; display: grid; gap: 18px; }
.learns-points li { padding-left: 24px; position: relative; color: rgba(255,255,255,0.9); }
.learns-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: #FFE2CC; box-shadow: 0 0 0 4px rgba(255,226,204,0.2); }
.learns-points strong { color: #fff; }
.thread {
  position: relative; color: var(--ink);
  background: #FFFBF7; border-radius: 32px; padding: 28px 24px 22px;
  box-shadow: 0 2px 0 rgba(255,255,255,0.9) inset, 0 50px 90px -30px rgba(70, 20, 0, 0.6);
  display: flex; flex-direction: column; gap: 12px;
}
.thread-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.msg { max-width: 86%; border-radius: 22px; padding: 12px 16px 13px; font-size: 0.96rem; line-height: 1.45; }
.msg small { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 3px; opacity: 0.85; }
.msg.you { align-self: flex-end; background: linear-gradient(180deg, var(--coral-bright), var(--coral)); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 10px 20px -12px rgba(229,115,75,0.7); }
.msg.pawly { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 3px 0 -1px var(--lip), 0 10px 20px -14px rgba(43,41,53,0.3); }
.msg.pawly small { color: var(--coral-deep); }
.checkins { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin-top: 6px; }
.checkins > span { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 16px; padding: 9px 13px; box-shadow: 0 3px 0 -1px var(--lip); font-size: 0.86rem; }
.checkins small { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.checkins .checkins-next { flex: 1 1 180px; background: linear-gradient(135deg, var(--sage-tint), #F0F8F3); box-shadow: inset 0 0 0 1px rgba(63,122,92,0.15); font-weight: 700; color: var(--sage-deep); }
.t-easier, .t-same, .t-harder { display: inline-block; font-weight: 800; font-size: 0.8rem; border-radius: 999px; padding: 2px 10px; }
.t-easier { background: var(--sage-tint); color: var(--sage-deep); }
.t-same { background: var(--gold-tint); color: #7A5A12; }
.t-harder { background: var(--coral-tint); color: var(--coral-deep); }
.thread-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--lip); font-size: 0.76rem; font-weight: 800; color: var(--sage-deep); flex-wrap: wrap; }
.thread-foot i { flex: 1; min-width: 10px; height: 2px; background: linear-gradient(90deg, var(--sage), var(--apricot)); opacity: 0.7; border-radius: 2px; }
.follow-fine { margin-top: 56px; color: rgba(255,255,255,0.78); }

/* Everyday care */
.everyday { background: linear-gradient(180deg, var(--paper) 0%, #EDF5F0 100%); }
.everyday-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.everyday-art-wrap { position: relative; }
.everyday-art-wrap::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 40px; background: linear-gradient(135deg, var(--sage-tint), var(--gold-tint)); transform: rotate(3deg); }
.everyday-art { position: relative; width: 100%; background: #e4f8e7; border-radius: 34px; box-shadow: var(--shadow-lift); transform: rotate(-1.5deg); }
.everyday-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 22px; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 7px 15px 7px 8px;
  font-weight: 700; font-size: 0.9rem; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(43,41,53,0.06), 0 8px 18px -12px rgba(43,41,53,0.35);
}
.chips img { width: 26px; height: 26px; border-radius: 7px; }
.everyday-copy .fine { margin-top: 24px; }

/* Direction */
.next { background: var(--paper); }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.next-grid li {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FFF9F3 100%);
  border-radius: 30px; padding: 30px 28px 32px;
  box-shadow: var(--shadow-lift);
  transition: transform .4s var(--ease);
}
.next-grid li:hover { transform: translateY(-4px); }
.next-grid li::before { content: ""; position: absolute; top: -80px; right: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(242,196,141,0.45), transparent 70%); }
.next-icon { position: relative; width: 58px; height: 58px; margin-bottom: 18px; }
.next-grid h3 { position: relative; font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.18; margin: 14px 0 10px; }
.next-grid p { position: relative; color: var(--ink-2); font-size: 0.99rem; }
.vision-grid { grid-template-columns: repeat(2, 1fr); }
.vision-closing { text-align: center; max-width: 780px; margin: clamp(36px, 5vw, 56px) auto 0; }
.facilities-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.facilities-grid li { grid-column: span 2; }
.facilities-grid li:nth-last-child(-n + 2) { grid-column: span 3; }
.facilities-cta { text-align: center; margin-top: 28px; }
.tag { position: relative; display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #7A5A12; background: var(--gold-tint); padding: 5px 11px; border-radius: 999px; }

@media (max-width: 900px) {
  .facilities-grid { grid-template-columns: 1fr; }
  .facilities-grid li,
  .facilities-grid li:nth-last-child(-n + 2) { grid-column: auto; }
}

/* Under the hood */
.hood { overflow: hidden; background: var(--night); color: #F3EFE8; padding-block: clamp(80px, 10vw, 130px); }
.hood-glow { position: absolute; inset: 0; pointer-events: none; }
.hood-glow i { position: absolute; border-radius: 50%; filter: blur(30px); }
.hood-glow .h1 { width: 640px; height: 640px; left: -200px; top: -320px; background: radial-gradient(circle, rgba(229, 115, 75, 0.45), transparent 65%); }
.hood-glow .h2 { width: 560px; height: 560px; right: -160px; bottom: -300px; background: radial-gradient(circle, rgba(160, 140, 255, 0.28), transparent 65%); }
.hood.grain::after { mix-blend-mode: overlay; opacity: 0.2; }
.hood .eyebrow { color: var(--apricot); }
.hood-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px 72px; align-items: center; }
.hood h2 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-bottom: 18px; color: #fff; letter-spacing: -0.02em; }
.hood p:not(.eyebrow) { color: #CFCAD8; max-width: 36em; font-size: 1.08rem; }
.hood-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hood-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: #fff;
  background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hood-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 10px rgba(127,182,155,0.9); }
.hood-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hood .proof-stats { grid-column: 1 / -1; }

/* Generated stat blocks: hidden until scripts/build-stats.mjs publishes a row */
.proof-stats { margin-top: 32px; }
.proof-stats:not(:has(li, article)) { display: none; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.asset-grid li { background: rgba(255,255,255,0.07); border-radius: 18px; padding: 18px; }
.asset-grid .an { display: block; font-family: var(--display); font-size: 1.8rem; color: #fff; }
.asset-grid .al { color: #C9C4D3; font-size: 0.9rem; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.metric-grid:not(:has(article)) { display: none; }
.metric-grid .metric { font-family: var(--display); font-size: 1.8rem; color: #fff; }

/* Company */
.company { background: linear-gradient(180deg, var(--cream), #F8EEE3); }
.company-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.company h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; letter-spacing: -0.02em; }
.company-links { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.company-links .btn { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 44px 0 52px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.site-footer nav a:hover { color: var(--coral-deep); }
.copyright { grid-column: 1 / -1; font-size: 0.85rem; color: var(--muted); }

/* ---------- Route pages (generated by scripts/build-route-stubs.mjs) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 480px at 92% 0%, rgba(242, 176, 120, 0.5), transparent 70%),
    radial-gradient(600px 420px at 0% 100%, rgba(127, 182, 155, 0.22), transparent 70%),
    linear-gradient(180deg, #FFF4E8, var(--cream));
  padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 80px);
}
.page-hero-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 17ch; }
.page-hero .large { margin-top: 24px; max-width: 42em; }
.page-hero-art { margin: 0; justify-self: end; width: 100%; max-width: 380px; border-radius: 30px; background: #fff; overflow: hidden; box-shadow: var(--shadow-lift); rotate: 2.5deg; }
.page-hero-art img { display: block; width: 100%; height: auto; }
.page-body { padding-block: clamp(48px, 7vw, 96px); }
.page-sections { display: grid; gap: 0; }
.page-sections > section { display: grid; grid-template-columns: 300px 1fr; gap: 16px 56px; padding-block: 38px; border-top: 1px solid var(--line); }
.page-sections > section:first-child { border-top: 0; padding-top: 0; }
.page-sections h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.18; letter-spacing: -0.01em; }
.page-sections h2::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; margin-bottom: 16px; background: linear-gradient(90deg, var(--coral), var(--apricot)); }
.page-sections p { color: var(--ink-2); max-width: 44em; font-size: 1.04rem; }
.page-sections p + p { margin-top: 16px; }
.page-sections p + ul.bullets, .page-sections ul.bullets + p { margin-top: 18px; }
.page-sections ul.bullets { display: grid; gap: 12px; }
.page-sections ul.bullets li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 1.02rem; }
.page-sections ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-tint); }
.facts-card { margin-top: clamp(40px, 6vw, 72px); background: linear-gradient(135deg, #fff, #FFF6EE); border-radius: var(--r-card); padding: 30px 32px; box-shadow: var(--shadow-lift); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts-card div small { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts-card div span { font-weight: 600; }
.st { display: inline-block; vertical-align: 1px; margin: 0 6px 0 4px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.st-live { background: var(--sage-tint); color: var(--sage-deep); }
.st-trained, .st-built { background: var(--lilac-tint); color: #4B3F8F; }
.st-planned { background: var(--gold-tint); color: #7A5A12; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .float-knows { right: -40px; }
  .float-nights { left: -60px; }
  .hero-puppy { right: -40px; }
}

@media (max-width: 1080px) {
  .facts-card { grid-template-columns: repeat(2, 1fr); }
  .carries-grid { grid-template-columns: 1fr; }
  .carries-side { position: static; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 32px; align-items: end; }
  .carries-side .head { margin-bottom: 0; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .menu-button {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer;
  }
  .menu-button span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    box-shadow: 0 20px 30px rgba(43,41,53,0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; padding: 14px; }

  .hero-grid, .everyday-grid, .learns-grid, .company-inner, .start-grid, .hood-inner, .page-hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-visual { margin-top: 24px; }
  .phone-stage { width: min(290px, 78vw); }
  .hero-sun { width: 420px; height: 420px; }
  .float { display: none; }
  .hero-puppy { right: -34px; bottom: -22px; width: 118px; }
  .carries-side { grid-template-columns: 1fr; }
  .proof { margin-top: -40px; }
  .proof-inner { grid-template-columns: 1fr; padding: 24px 22px; }
  .proof-link { justify-self: start; }
  .fig-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
  .carries-art { max-width: 300px; margin-inline: auto; }
  .next-grid { grid-template-columns: 1fr; gap: 14px; }
  .page-hero-art { justify-self: start; max-width: 300px; }
  .page-sections > section { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .everyday-art-wrap { max-width: 520px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 72px; }
  .start-art img { height: 220px; }
  .start-after .start-art img { height: auto; }
  .start-copy { padding: 24px 22px 26px; }
  .start-tags { padding: 0 22px 26px; }
  .carry-list li { padding: 22px 20px 24px; border-radius: 22px; }
  .carry-list li::after { font-size: 2.6rem; right: 18px; top: 14px; }
  .burden { padding-right: 56px; }
  .carry-head h3 { padding-right: 44px; }
  .carry-list li > p { font-size: 0.98rem; }
  .chips li { font-size: 0.84rem; padding: 6px 12px 6px 7px; }
  .chips img { width: 22px; height: 22px; }
  .next-grid li { padding: 24px 22px 26px; border-radius: 24px; }
  .thread { padding: 22px 14px 18px; border-radius: 26px; }
  .msg { max-width: 92%; font-size: 0.92rem; }
  .checkins > span { padding: 7px 10px; }
  .facts-card { grid-template-columns: 1fr; padding: 22px; }
  .btn { width: 100%; justify-content: center; }
  .company-links, .hood-links { align-items: stretch; }
  .company-links .text-link { text-align: left; }
  .page-hero-art { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
