:root {
  --berry: #b8325d;
  --berry-dark: #922446;
  --blush: #f8e3e9;
  --cream: #fbf5ee;
  --sage: #a9c4b0;
  --char: #24201f;
  --muted: #6b6461;
  --line: #ece3da;
  --white: #ffffff;
  --max: 1240px;
  --font: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--char); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; background: var(--blush); }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--berry); margin-bottom: .9em; }
.eyebrow-light { color: var(--blush); }
.lead { color: var(--muted); font-size: 1.08rem; }

.btn { display: inline-block; padding: .85em 1.7em; border-radius: 14px; background: var(--berry); color: var(--white); font: inherit; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--berry-dark); transform: translateY(-1px); }
.btn-dark { background: var(--char); }
.btn-dark:hover { background: #3a3432; }
.btn:focus-visible, .pet:focus-visible, .add:focus-visible, .arrow:focus-visible, .f:focus-visible, select:focus-visible, .tile-photo:focus-visible, .repeat-tag:focus-visible, .rail:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251,245,238,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; height: 74px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { background: none; }
.wordmark { display: flex; flex-direction: column; font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: -0.03em; }
.wordmark small { font-size: .66rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--berry); margin-top: 4px; }
.wordmark-light { color: var(--white); }
.wordmark-light small { color: var(--blush); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; padding: .45em 1em; border-radius: 999px; }
.nav a:hover { background: var(--blush); color: var(--berry-dark); }
.basket { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; padding: .5em .95em; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.basket svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.900; stroke-linejoin: round; stroke-linecap: round; }
.basket.has-items { background: var(--berry); color: var(--white); border-color: var(--berry); }

/* Bento hero */
.hero { padding: 26px 0 50px; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr .8fr; grid-template-rows: repeat(3, 168px); gap: 14px; }
.tile { border-radius: 26px; overflow: hidden; position: relative; }
.tile-text { grid-row: span 3; background: var(--white); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.usp { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.usp li { font-size: .86rem; font-weight: 700; background: var(--blush); color: var(--berry-dark); padding: .35em .85em; border-radius: 999px; }
.tile-photo { display: block; text-decoration: none; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile-photo:hover img { transform: scale(1.05); }
.tile-photo span { position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--char); font-weight: 800; padding: .4em 1em; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.t-dog { grid-row: span 3; }
.t-small span { background: var(--sage); }
.t-bird span { background: var(--blush); }

/* Product rail */
.shop { padding: 40px 0 70px; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.shop-head h2 { margin: 0; }
.pets { display: flex; flex-wrap: wrap; gap: 8px; }
.pet { font: inherit; font-weight: 700; padding: .55em 1.1em; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--char); cursor: pointer; }
.pet:hover { border-color: var(--berry); }
.pet.is-active { background: var(--char); border-color: var(--char); color: var(--white); }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; }
.prod { scroll-snap-align: start; background: var(--white); border-radius: 22px; padding: 12px 12px 16px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.prod-img { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.prod-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.repeat-tag { position: absolute; top: 10px; right: 10px; font: inherit; font-size: .76rem; font-weight: 800; padding: .35em .75em; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: var(--berry-dark); cursor: pointer; }
.repeat-tag:hover { background: var(--berry); color: var(--white); }
.prod p { color: var(--muted); font-size: .92rem; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.add { font: inherit; font-weight: 800; min-width: 64px; padding: .55em 1em; border-radius: 12px; border: 0; background: var(--berry); color: var(--white); cursor: pointer; }
.add:hover { background: var(--berry-dark); }
.rail-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--char); background: transparent; font-size: 1.2rem; font-weight: 800; cursor: pointer; color: var(--char); }
.arrow:hover { background: var(--char); color: var(--white); }

/* Repeat delivery */
.repeat { background: var(--berry); color: var(--white); padding: 80px 0; border-radius: 40px 40px 0 0; }
.repeat-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.repeat-copy p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 28em; }
.planner { background: var(--white); color: var(--char); border-radius: 26px; padding: 26px; box-shadow: 0 24px 50px rgba(60,10,30,.3); }
.pl-label { display: block; margin: 0 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.planner select { width: 100%; font: inherit; font-weight: 700; padding: .7em .8em; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); margin-bottom: 18px; }
.freq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.f { font: inherit; font-weight: 700; font-size: .9rem; padding: .6em .3em; border-radius: 12px; border: 2px solid var(--line); background: var(--white); cursor: pointer; color: var(--char); }
.f.is-active { background: var(--char); border-color: var(--char); color: var(--white); }
.dates { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dates li { background: var(--cream); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; }
.dates li:first-child { background: var(--blush); }
.dates b { font-size: .98rem; }
.dates em { font-style: normal; font-size: .74rem; color: var(--muted); }
.pl-price { margin: 0; font-weight: 600; }
.pl-price b { color: var(--berry); font-size: 1.3rem; }
.pl-price s { color: var(--muted); margin-left: 6px; }

.faq { background: var(--white); padding: 70px 0; }
.faq-inner { display: grid; grid-template-columns: .7fr 1.3fr .8fr; gap: 40px; align-items: start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--berry); font-size: 1.3rem; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa p { color: var(--muted); margin: 0 0 16px; }
.contact { background: var(--blush); border-radius: 22px; padding: 22px; }
.contact p { font-weight: 800; font-size: 1.15rem; }
.contact .btn { font-size: .86rem; padding: .8em 1.1em; word-break: break-all; }

.site-footer { background: var(--char); color: #a89f9b; font-size: .88rem; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.footer-inner p { margin: 0; }

@media (max-width: 1040px) {
  .rail { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .faq-inner { grid-template-columns: 1fr 1fr; }
  .faq-inner h2 { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .basket { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto repeat(3, 140px); }
  .tile-text { grid-column: 1 / -1; grid-row: auto; padding: 30px 24px; }
  .t-dog { grid-row: span 3; }
  .repeat-inner { grid-template-columns: 1fr; gap: 30px; }
  .rail { grid-auto-columns: calc((100% - 18px) / 2.2); }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .bento { grid-template-rows: auto repeat(3, 120px); gap: 10px; }
  .rail { grid-auto-columns: 74%; }
  .faq-inner { grid-template-columns: 1fr; }
  .dates { grid-template-columns: 1fr 1fr; }
  .freq { grid-template-columns: 1fr 1fr; }
  .repeat { border-radius: 26px 26px 0 0; padding: 60px 0; }
  .wordmark { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
