:root{--ink:#071e34;--cream:#fffaf1;--surface:#f1ebdf;--white:#fffefd;--rule:#c2cfd6;--berry:#75394f;--porcelain:#fff9ed;--side:clamp(20px,5vw,86px);font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--cream);scroll-behavior:smooth}
*{box-sizing:border-box}
body{margin:0;font-size:17px;line-height:1.45}
button,input{font:inherit;color:inherit}
button,summary{cursor:pointer}a{color:inherit;text-underline-offset:.22em}
button{border:0;background:none}
:focus-visible{outline:3px solid #4077aa;outline-offset:3px}
h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.03;letter-spacing:-.055em}
h2{font-size:clamp(30px,4vw,58px);font-weight:600}
header{position:relative;z-index:3;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:20px var(--side)}
.brand{justify-self:start}.brand img{width:clamp(140px,13vw,188px);display:block}
nav{display:flex;gap:2.3rem}nav a,.feature,footer a{text-decoration:none}nav a:hover,footer a:hover,.feature:hover strong{text-decoration:underline}
.bag,#toggleNav,.add{display:grid;place-items:center;border-radius:50%;width:46px;height:46px;background:var(--white);position:relative}
.bag{justify-self:end}.bag:hover,.add:hover,#toggleNav:hover{background:#edf3f6}
.bag svg,#toggleNav svg{width:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#count{position:absolute;right:-4px;top:0;min-width:18px;padding:0 4px;border:1px solid white;border-radius:15px;background:var(--ink);color:white;font-size:11px;line-height:16px;text-align:center}#toggleNav{display:none}
.stage{text-align:center;--dog:clamp(310px,33vw,450px);padding-top:clamp(16px,2.2vw,36px)}
h1{font-size:clamp(64px,7.2vw,108px);letter-spacing:-.072em;line-height:.91}
.portrait{display:grid;grid-template-columns:1fr var(--dog) 1fr;align-items:center;margin-top:-.2em}
.retriever{position:relative;z-index:1;width:100%;height:auto;pointer-events:none}
.feature{display:grid;justify-items:center;justify-self:center;gap:8px}.feature img{width:clamp(120px,14vw,200px)}.feature strong{font-size:21px;font-weight:500;letter-spacing:-.035em}
.strip{display:grid;grid-template-columns:1fr max(var(--dog),34%) 1fr;align-items:stretch;background:var(--surface);margin-top:calc(var(--dog)*-.19)}
.strip>p{align-self:center;padding:24px;font-size:clamp(21px,2vw,34px);letter-spacing:-.055em}.strip small,.strip>p a{display:block;font-size:15px;letter-spacing:normal;margin-top:4px}
.primary{background:var(--ink);color:white;display:flex;align-items:center;flex-direction:column;gap:1px;padding:calc(var(--dog)*.19 + 6px) 8px 18px}
.seal{display:grid;place-items:center;width:232px;aspect-ratio:232/62;background:url(assets/button-b.png) center/contain no-repeat;color:white;text-decoration:none;font-weight:700}.seal{color:var(--porcelain)}.seal:hover,.seal:focus-visible{filter:brightness(1.12)}
.link{font-size:15px;text-decoration:underline;text-underline-offset:4px;padding:8px 0}
#menues{padding:clamp(36px,5vw,80px) var(--side);background:var(--cream)}.sectionhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:22px}small,.fine{font-size:14px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,28px)}
.product{overflow:hidden;background:var(--white);border-radius:16px;scroll-margin-top:20px}.pack{position:relative;display:grid;place-items:center;padding:22px}.pack img{width:100%;max-width:320px;height:clamp(120px,18vw,270px);object-fit:contain}
.add{position:absolute;right:10px;top:10px;font-size:29px;line-height:1;font-weight:400}.card-body{padding:0 clamp(14px,2vw,30px) 18px}
.product h3{font-size:clamp(22px,2.7vw,41px);font-weight:500}.price{font-size:clamp(18px,2vw,29px);font-weight:700;letter-spacing:-.04em;margin-top:8px}.product small{color:#435a69}
details{margin-top:14px;border-top:1px solid #dce4e8;font-size:15px}summary{padding:12px 0 0}details p,details a{margin-top:8px}details a{display:inline-block}
.help,footer,.row,.actions{display:flex;align-items:center;justify-content:space-between;gap:18px}
.help{padding:clamp(36px,5vw,75px) var(--side)}.help h2{font-size:clamp(27px,3vw,42px)}.help p{margin-top:8px}.help>a{font-size:clamp(22px,2.4vw,34px);letter-spacing:-.04em}
footer{padding:20px var(--side);background:var(--ink);color:white;font-size:14px;flex-wrap:wrap}footer span{margin-right:auto}
dialog{border:0;border-radius:18px;background:var(--white);color:var(--ink);width:min(520px,94vw);max-height:90dvh;padding:clamp(22px,3vw,38px)}dialog::backdrop{background:#071e3499}dialog h2{font-size:34px}dialog h3{font-size:24px}dialog p{margin:14px 0}
#close{display:block;margin-left:auto;margin-bottom:14px;font-size:14px;text-decoration:underline}
.btn{display:inline-block;padding:12px 18px;border-radius:25px;background:var(--ink);color:white;text-decoration:none;font-weight:600}
.line{padding:12px 0;border-bottom:1px solid var(--rule)}.sum{font-weight:bold}.demo{background:var(--surface);padding:12px;border-radius:8px}
dialog label{display:grid;gap:3px;font-size:14px}input{padding:8px;border:1px solid var(--rule);border-radius:8px}.qty{width:70px}.actions{justify-content:flex-start;flex-wrap:wrap}
@media(max-width:700px){
 header{padding:12px 16px}#toggleNav{display:grid}.brand{grid-column:2;justify-self:center}.brand img{width:128px}.bag{grid-column:3}
 nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--cream);padding:16px 20px;box-shadow:0 10px 15px #071e3415}#toggleNav[aria-expanded=true]~nav{display:flex}
 .stage{--dog:min(83vw,345px);padding-top:25px}h1{font-size:clamp(47px,12.5vw,70px)}.portrait{display:block;width:var(--dog);margin:0 auto}.feature,.strip>p{display:none}.strip{display:block}.seal{width:214px}.primary{padding-bottom:13px}
 #menues{padding:28px 14px}.sectionhead{margin-bottom:16px;align-items:end}.sectionhead h2{font-size:clamp(24px,6.8vw,33px)}.sectionhead small{font-size:12px}.grid{gap:10px}.product{border-radius:12px}.pack{padding:19px 6px 9px}.pack img{height:clamp(110px,32vw,180px)}.add{right:2px;top:2px;width:44px;height:44px;background:transparent}.card-body{padding:3px 12px 12px}.product small{font-size:12px}.price{margin-top:4px}details{font-size:14px}
 .help{align-items:start;flex-direction:column;gap:14px}footer{gap:12px 22px}footer span{width:100%}
}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

/* A framed, three-column composition for larger screens. */
@media (min-width: 701px) {
  html { background: var(--ink); }
  body {
    --shop-frame: clamp(14px, 2.6vw, 44px);
    width: min(1500px, calc(100% - 2 * var(--shop-frame)));
    margin: var(--shop-frame) auto;
    background: var(--cream);
    --side: clamp(26px, 4vw, 66px);
  }
  header { padding-block: clamp(16px, 1.65vw, 26px); }
  .brand img { width: clamp(130px, 11.5vw, 174px); }
  nav { gap: clamp(24px, 3vw, 52px); font-size: 15px; }
  .bag { box-shadow: inset 0 0 0 1px #071e3417; }
  .stage {
    --dog: clamp(284px, min(31vw, 45vh), 435px);
    --wing: clamp(104px, 15vw, 212px);
    display: grid;
    grid-template-columns: 1fr minmax(var(--dog), 40%) 1fr;
    grid-template-rows: auto auto auto;
    padding-top: clamp(10px, 2vh, 24px);
    isolation: isolate;
  }
  .stage h1 {
    grid-area: 1 / 1 / 2 / -1;
    font-size: clamp(58px, min(7.8vw, 11.4vh), 112px);
    font-weight: 650;
    letter-spacing: -.066em;
    line-height: .93;
  }
  .portrait, .strip { display: contents; }
  .portrait .retriever {
    grid-area: 2 / 2; justify-self: center; align-self: end;
    width: var(--dog); margin-top: -.28em;
    margin-bottom: calc(-.19 * var(--dog));
  }
  .feature {
    align-self: center; justify-self: end; width: var(--wing);
    margin-right: clamp(4px, 1vw, 18px); margin-top: -2.5em; gap: 7px;
  }
  .feature:first-child { grid-area: 2 / 1; }
  .feature:last-child { grid-area: 2 / 3; justify-self: start; margin: -2.5em 0 0 clamp(4px, 1vw, 18px); }
  .feature img { display: block; width: 100%; }
  .feature strong { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.04em; }
  .strip > p {
    display: flex; flex-direction: column; justify-content: center;
    align-self: stretch; background: var(--surface);
    padding: 24px 12px; font-size: clamp(22px, 2.15vw, 33px);
  }
  .strip > p:first-child { grid-area: 3 / 1; }
  .strip > p:last-child { grid-area: 3 / 3; }
  .strip small, .strip > p a { font-size: 14px; }
  .primary {
    grid-area: 3 / 2; align-self: stretch;
    padding: calc(.19 * var(--dog) + 1px) 8px 15px;
  }

  #menues { background: var(--cream); padding-block: clamp(40px, 4vw, 64px); }
  .sectionhead { margin-bottom: clamp(20px, 2vw, 30px); }
  .sectionhead h2 { font-size: clamp(32px, 3.5vw, 54px); }
  .grid { gap: clamp(12px, 1.5vw, 24px); align-items: start; }
  .product { background: #fffefd; border: 1px solid #071e341a; }
  .pack { background: var(--surface); padding: 16px; }
  .pack img { height: clamp(150px, 15vw, 225px); }
  .card-body { padding: 20px clamp(18px, 2vw, 30px); }
  .help { background: var(--surface); padding-block: 34px; }
  footer { padding-inline: 0; }
}
@media (min-width: 1040px) {
  .product { display: grid; grid-template-columns: 43% 1fr; }
  .pack { min-height: 202px; }
  .card-body { align-self: center; }
  .product h3 { font-size: clamp(28px, 2.4vw, 38px); }
  .pack .add { left: 10px; right: auto; top: 10px; width: 36px; height: 36px; }
}

.side-pet, .wing { display: none; }
@media (min-width: 701px) {
  .stage { grid-template-columns: 31% 38% 31%; }
  .side-pet {
    display: block; grid-row: 2; align-self: end; justify-self: center;
    width: min(78%, calc(var(--dog) * .69)); max-height: calc(var(--dog) * .46);
    object-fit: contain; object-position: center bottom; z-index: 1;
    margin-bottom: calc(var(--dog) * -.055); pointer-events: none;
  }
  .terrier { grid-column: 1; }
  .tabby { grid-column: 3; }
  .wing {
    display: flex; grid-row: 3; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px; background: var(--surface);
    padding: 30px 10px 15px; text-decoration: none;
  }
  .wing strong { font-size: clamp(22px,2.35vw,37px); letter-spacing: -.05em; font-weight: 600; }
  .superfoods { grid-column: 1; background: #eee1c9; }
  .cat-link { grid-column: 3; position: relative; background: #efdde0; }
  .cat-portrait {
    position: absolute; left: 50%; bottom: calc(100% - var(--dog) * .055);
    transform: translateX(-50%); width: min(78%, calc(var(--dog) * .69));
    max-height: calc(var(--dog) * .46); object-fit: contain; object-position: bottom;
  }
  .species {
    display: inline-grid; grid-template-columns: repeat(2, 1fr); align-items: stretch;
    padding: 2px; border-radius: 30px; background: var(--porcelain); gap: 0;
  }
  .cat-link span {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 7px 14px; border-radius: 30px;
    color: #183443; border: 1px solid #809998; font-size: 14px;
    text-decoration: none; background: var(--porcelain);
  }
  .superfoods strong { font-weight: 600; letter-spacing: -.055em; }
  .species a {
    display: grid; place-items: center; min-height: 44px;
    padding: 5px clamp(10px,1.2vw,19px);
    color: var(--porcelain); text-decoration: none; font-size: 14px; font-weight: 600;
  }
  .species .for-dogs { background: #102e50; border-radius: 24px 0 0 24px; }
  .species .for-cats { background: var(--berry); border-radius: 0 24px 24px 0; border-left: 1px solid var(--porcelain); }
  .species a:focus-visible { outline: 2px solid white; outline-offset: -4px; }
  .cat-link span { background: var(--berry); color: var(--porcelain); border-color: var(--berry); font-weight: 600; }
  .species .for-dogs:is(:hover, :focus-visible) { background: var(--ink); }
  .species .for-cats:is(:hover, :focus-visible) { background: #542537; }
  .cat-link:hover span, .cat-link:focus-visible span { background: #542537; border-color: #542537; }
  .wing { gap: 12px; }
  nav .mobile-cats { display: none; }
}
.primary { padding-top: max(10px, calc(var(--dog) * .19 - 26px)); gap: 3px; }
.reorder {
  min-height: 44px; padding: 7px 12px; color: var(--porcelain);
  font-size: 15px; text-decoration: underline; text-underline-offset: .3em;
  text-decoration-thickness: 1px; text-decoration-color: #acc0d0;
}
.reorder:hover, .reorder:focus-visible { text-decoration-color: currentColor; }
.help > a, details a, dialog .link, #close {
  text-decoration: underline; text-underline-offset: .24em;
  text-decoration-thickness: 1px; text-decoration-color: #829098;
}
.help > a:hover, details a:hover, dialog .link:hover, #close:hover { text-decoration-color: currentColor; }
nav a:hover, footer a:hover { text-decoration: none; }
nav a:hover { color: #315875; }
footer a:hover { color: #bdd6e7; }
#close { display: block; }

nav .mobile-cats { color: var(--berry); font-weight: 600; }
.pack .add, .bag { background: var(--white); color: var(--ink); }
.pack .add:hover, .bag:hover { background: var(--surface); }

.product-photo { border-radius: 0; width: 100%; cursor: pointer; }
.product-photo:focus-visible { outline-offset: -4px; }
.ingredients { margin-top: 8px; font-size: 15px; }
.choose-pack { display: block; margin-top: 14px; font-size: 15px; }
.detail-photo { display: grid; place-items: center; margin: 0 0 18px; padding: 12px; background: var(--surface); border-radius: 12px; }
.detail-photo img { max-width: 100%; height: 160px; object-fit: contain; }
#pickPack fieldset { border: 0; padding: 0; margin: 20px 0 10px; }
#pickPack legend { font-weight: 600; margin-bottom: 7px; }
.sizes { display: flex; gap: 7px; }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; opacity: 0; }
.sizes span { display: grid; place-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 24px; }
.sizes input:checked + span { background: var(--ink); color: white; }
.sizes input:focus-visible + span { outline: 3px solid #4077aa; outline-offset: 2px; }
#pickPack .quantity-label { display: flex; align-items: center; gap: 12px; }
@media(max-width:700px){.product .ingredients{display:none}.choose-pack{padding:8px 10px;min-height:44px;font-size:14px}.detail-photo img{height:125px}}
