/* Photo-led homepage. Commerce controls stay on solid surfaces. */
:root {
  --paper: #f8f4eb; --ivory: #fffaf0; --ink: #172b22; --deep: #132c22;
  --pine: #254d3b; --clay: #944329; --gold: #efd6a7;
  --line: #dfdbce; --copper: #f0b28d;
  --glass: #172a20bf; --glass-border: #fff2d548;
}
.section { margin-block: clamp(45px, 5.35vw, 84px); }
.section-heading { margin-bottom: clamp(15px, 2vw, 25px); }
.section-heading h2 { font-size: clamp(37px, 4vw, 61px); }
.hero-wrap { margin-top: 18px; }
.hero { height: clamp(455px, 36vw, 556px); border-radius: 18px; touch-action: pan-y; }
.hero-copy { padding-bottom: 28px; }
.scene-media { inset: -18px; transform: translate3d(var(--hero-x,0px),calc(var(--hero-y,0px) + var(--hero-scroll,0px)),0) scale(1.035); }
.scene-kitchen { background: #34432b; }
.scene-kitchen .scene-media img { object-position: 65% 48%; }
.scene-kitchen .scene-shade { background: linear-gradient(90deg,#122418f4 0%,#16261bd1 30%,#1a2e1e5c 58%,transparent 88%),linear-gradient(0deg,#17231980,transparent 36%); }
.scene.replay .scene-media img { animation: hero-camera 1.28s var(--ease) both; }
@keyframes hero-camera { from { transform: translateX(1.6%) scale(1.11); } to { transform: none; } }
.hero-controls {
  left: auto; right: 22px; bottom: 22px; gap: 4px; padding: 3px;
  border-radius: 40px; border: 1px solid #fff4da62;
  background: #172a20c7; backdrop-filter: blur(13px);
  box-shadow: 0 7px 26px #0c1a144a;
}
.hero-controls .glass-button { border: 0; background: transparent; }
.hero-controls .glass-button:hover { background: #fff8e128; }
.hero-steps { display: flex; align-items: center; }
.hero-steps button {
  min-width: 44px; min-height: 44px; padding: 0 4px;
  border: 0; border-radius: 25px; color: #fff7e7; background: transparent;
  font-size: 11px; letter-spacing: .065em; font-weight: 690; font-variant-numeric: tabular-nums;
  transition: background .25s, color .25s;
}
.hero-steps button:hover { background: #fff8e123; }
.hero-steps button[aria-pressed="true"] { background: #f6e4bb; color: #253027; }
.hero-stamp { bottom: 86px; right: 30px; width: 76px; height: 76px; }
.hero-light { background: radial-gradient(450px circle at var(--light-x,50%) var(--light-y,50%),#ffe2a737,transparent 70%); }
.hero-caption { min-height: 36px; }
.service-strip { padding-block: 11px; }
.service-icon { width: 35px; height: 35px; }
.departments { margin-top: clamp(36px, 4vw, 64px); }
.department-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 11px; }

/* Each outer anchor retains stable hit/focus geometry while its inner scene tilts. */
.photo-link { display: block; position: relative; min-width: 0; color: var(--ivory); border-radius: var(--art-radius,14px); isolation: isolate; }
.photo-surface {
  display: block; position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  border-radius: inherit; background: var(--photo-bg,#233a2e);
  box-shadow: 0 8px 24px #172d241c;
  transform: perspective(950px) translateY(var(--tile-lift,0px)) rotateX(var(--photo-rx,0deg)) rotateY(var(--photo-ry,0deg));
  transition: transform .43s var(--ease), box-shadow .43s var(--ease);
}
.photo-link.pointer-active .photo-surface { --tile-lift: -3px; box-shadow: 0 17px 42px #172d2438; }
.photo-window { position: absolute; inset: 0; display: block; overflow: hidden; }
.photo-img {
  position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover;
  object-position: var(--focal,50% 50%);
  transform: translate3d(var(--photo-x,0px),calc(var(--photo-y,0px) + var(--scroll-pan,0px)),0)
    scale(calc(var(--scroll-zoom,1.015) + var(--hover-zoom,0)));
  transition: transform .55s var(--ease);
}
.photo-link.pointer-active { --hover-zoom: .075; }
.photo-surface::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,#101c18b5,transparent 60%); }
.photo-glare {
  position: absolute; z-index: 1; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(255px circle at var(--light-x,50%) var(--light-y,50%),#ffdf9f67,transparent 72%);
  transition: opacity .32s;
}
.photo-link.pointer-active .photo-glare { opacity: .7; }
.image-reveal[data-reveal].revealed { animation: none; }
.image-reveal.revealed .photo-window { animation: unmask .84s var(--ease) var(--reveal-delay,0ms) both; }
.image-reveal.revealed .glass-caption { animation: caption-rise .59s var(--ease) calc(var(--reveal-delay,0ms) + 95ms) both; }
@keyframes unmask { from { clip-path: inset(0 76% 0 0); opacity: .45; } to { clip-path: inset(0); opacity: 1; } }
@keyframes caption-rise { from { transform: translateY(7px); opacity: .42; } to { transform: none; opacity: 1; } }
.glass-caption {
  position: absolute; z-index: 3; inset: auto 11px 11px; display: flex; justify-content: space-between;
  align-items: center; gap: 9px; min-width: 0; padding: 11px 12px; border-radius: 8px;
  background: var(--glass); color: #fff9ec; border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px) saturate(130%); box-shadow: 0 7px 25px #0c1b1830;
}
.glass-caption strong { display: block; font: 400 clamp(19px,1.9vw,30px)/1.04 var(--display); letter-spacing: -.032em; }
.art-arrow {
  display: grid; place-items: center; flex: none; width: 33px; height: 33px;
  border: 1px solid #fff1d64f; border-radius: 50%; color: #fff6de; background: #fff7d820;
  transition: background .25s, translate .25s var(--ease);
}
.art-arrow .icon { width: 16px; height: 16px; }
.photo-link:is(:hover,:focus-visible) .art-arrow { background: #fff7d83b; translate: 2px 0; }
.category-art { aspect-ratio: .92; min-height: 157px; }
.category-art .glass-caption { inset: auto 8px 8px; padding: 7px 8px; }
.category-art .glass-caption strong { font-size: clamp(16px,1.55vw,24px); overflow-wrap: anywhere; }
.category-art .art-arrow { width: 26px; height: 26px; }
.category-art .art-arrow .icon { width: 13px; height: 13px; }
.category-index, .campaign-number {
  position: absolute; z-index: 3; inset: 10px auto auto 10px; padding: 5px 8px;
  border: 1px solid #fff3d34d; border-radius: 40px; background: #19291dbb; color: #fff6e2;
  backdrop-filter: blur(8px); font-size: 9px; font-weight: 730; letter-spacing: .12em;
}
.category-art.is-packshot .photo-surface { background: radial-gradient(ellipse at 50% 30%,#fff9ed,var(--tile,#e3e9d9)); }
.category-art.is-packshot .photo-img { inset: 4% 10% 15%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }

.collections { margin-top: clamp(47px, 5vw, 77px); }
.collection-bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2,minmax(180px,1fr)); min-height: clamp(405px,36vw,510px); gap: 12px; }
.campaign-kitchen { grid-row: span 2; --photo-bg: #5a6544; --focal: 60% 54%; }
.campaign-care { --photo-bg: #75402d; --focal: 67% 53%; --glass: #39241fc7; }
.campaign-tech { --photo-bg: #193845; --focal: 66% 52%; --glass: #192f39d2; }
.campaign-number { inset: 14px 14px auto auto; }
.campaign .glass-caption { inset: auto auto 14px 14px; width: min(100% - 28px, 307px); padding: 10px 12px 10px 15px; }
.campaign-kitchen .glass-caption { inset: auto auto 19px 19px; width: min(100% - 38px, 443px); padding: 15px 16px; }
.campaign .glass-caption strong { font-size: clamp(24px,2.6vw,43px); }
.campaign-kitchen .glass-caption strong { font-size: clamp(29px,3.55vw,55px); }
.campaign .art-arrow { width: 40px; height: 40px; }
.art-kicker { display: block; margin-bottom: 5px; color: #f5dcb3; font-size: 9px; font-weight: 740; text-transform: uppercase; letter-spacing: .13em; }

.picks { margin-bottom: clamp(35px,5vw,69px); }
.shelf-tools { display: flex; gap: 14px; align-items: center; }
.shelf-tools > [data-shelf-controls] { flex: none; }
.shelf-controls { display: flex; align-items: center; gap: 5px; }
.shelf-count { margin-right: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; font-weight: 730; font-variant-numeric: tabular-nums; }
.shelf-button {
  display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #b9c0b2;
  border-radius: 50%; background: #fffaf1; color: var(--ink); transition: background .2s, color .2s;
}
.shelf-button[data-direction="1"], .shelf-button:hover:not(:disabled) { background: var(--pine); color: #fff9ec; border-color: var(--pine); }
.shelf-button:disabled { opacity: .42; cursor: default; }
.shelf-button .icon { width: 16px; height: 16px; }
.filters { margin-bottom: 14px; gap: 7px; }
.filter { min-height: 44px; padding-inline: 13px; }
.filter.type-selected { background: #efe6d6; color: var(--ink); border-color: #9f8767; }
.shelf-window { min-width: 0; overflow: clip; margin: -3px; padding: 3px; }
.shelf-track.product-grid {
  --columns: 6; --shelf-gap: 11px;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--columns) - 1) * var(--shelf-gap)) / var(--columns));
  gap: var(--shelf-gap); overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 3px; scrollbar-width: none;
  padding: 4px 3px 8px;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track:focus-visible { outline-offset: -2px; border-radius: 12px; }
.shelf-track .product { scroll-snap-align: start; transform: none; background: #fffdf7; border-radius: 11px; padding: 7px; }
.shelf-track .product:hover { transform: none; box-shadow: 0 2px 9px #172d2412; }
.shelf-track .pack { min-height: 0; aspect-ratio: 1.23; }
.shelf-track .pack img { position: absolute; inset: 0; margin: auto; width: 78%; height: 85%; aspect-ratio: auto; }
.shelf-track .product:hover .pack img { transform: scale(1.09); }
.shelf-track .product-body { padding: 9px 3px 3px; }
.shelf-track .product h3 {
  font-size: clamp(12px,1vw,15px); line-height: 1.28; min-height: 2.56em; margin: 5px 0 2px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.shelf-track .product-detail { line-height: 1.4; margin-bottom: 8px; }
.shelf-track .add { flex: none; }
.shelf-track .empty-state, .shelf-track > noscript { grid-column: 1/-1; min-width: 65vw; }
.shelf-track .empty-state a { text-decoration: underline; }
.shelf-band { padding-block: 1px; border-block: 1px solid #dcded2; background: #eef0e6; }
.shelf-band.shelf-care { background: #f3e9e0; border-color: #e4d7ca; }
.shelf-band .section { margin-block: clamp(32px,4.5vw,64px); }
.shelf-band.shelf-tech { background: #eaf0eb; }
.shelf-band.shelf-school { background: #f2eadb; border-color: #e6dbca; }
#more-shelves > .section { margin-block: clamp(37px,5vw,73px); }
.type-section { padding-block: 1px; background: #eee8dc; border-block: 1px solid #e3dbcd; }
.type-section .section { margin-block: clamp(32px,4vw,59px); }
.type-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.type-art { min-height: 156px; }
.type-art .glass-caption { inset: auto 8px 8px; padding: 8px 9px; }
.type-art .glass-caption strong { font-size: clamp(18px,1.8vw,29px); }
.type-art .art-arrow { width: 27px; height: 27px; }
.type-art .art-arrow .icon { width: 13px; height: 13px; }
.type-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.type-shortcuts a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; border: 1px solid #d8ccba; border-radius: 6px; padding: 0 9px; font-size: 11px; font-weight: 700; }
.type-shortcuts a:hover { background: #fff8e9; }
.type-shortcuts .icon { width: 13px; height: 13px; color: var(--clay); }
.preview-note { display: flex; align-items: center; gap: 10px; padding: 13px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.preview-note > .icon { color: var(--clay); width: 14px; height: 14px; }
.preview-note .text-link { margin-left: auto; }

@media (max-width:1199px) {
  .shelf-track.product-grid { --columns: 4; }
  .department-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-art { aspect-ratio: 1.28; }
  .category-art .glass-caption strong { font-size: clamp(18px,2.5vw,28px); }
}
@media (max-width:820px) {
  .hero { height: 435px; }
  .hero-copy { padding-bottom: 38px; }
  .collection-bento { min-height: 370px; grid-template-rows: repeat(2,minmax(164px,1fr)); }
  .shelf-tools { gap: 8px; }
}
@media (max-width:700px) {
  .section { margin-block: 41px; }
  .section-heading { gap: 3px 10px; }
  .section-heading h2 { font-size: clamp(33px,8.5vw,44px); }
  .hero-wrap { margin-top: 12px; }
  .hero { height: clamp(464px, 117vw, 535px); border-radius: 14px; }
  .hero-copy { padding: 0 20px 76px; }
  .scene-media { inset: -10px -7px auto; transform: translateY(var(--hero-scroll,0px)) scale(1.02); }
  .scene-kitchen .scene-media img { object-position: 72% 49%; }
  .scene-kitchen .scene-shade { background: linear-gradient(0deg,#293821 37%,#293821ef 45%,#29382185 54%,transparent 73%); }
  .hero-controls { bottom: 12px; right: 12px; }
  .hero-stamp { top: 13px; left: 13px; bottom: auto; right: auto; width: 59px; height: 59px; }
  .hero-caption { min-height: 33px; }
  .department-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .category-art { aspect-ratio: 1; min-height: 132px; --art-radius: 10px; }
  .category-art .glass-caption strong { font-size: clamp(16px,4.2vw,23px); }
  .category-index { inset: 7px auto auto 7px; }
  .collection-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 8px; min-height: 0; }
  .campaign-kitchen { grid-row: auto; grid-column: 1/-1; min-height: 284px; }
  .campaign-care,.campaign-tech { min-height: 160px; }
  .campaign-number { inset: 8px 8px auto auto; }
  .campaign .glass-caption, .campaign-kitchen .glass-caption { inset: auto 8px 8px; width: auto; padding: 7px 8px; }
  .campaign-kitchen .glass-caption { inset: auto 11px 11px; padding: 10px 11px; }
  .campaign .glass-caption strong { font-size: clamp(17px,4.65vw,25px); }
  .campaign-kitchen .glass-caption strong { font-size: clamp(27px,7vw,38px); }
  .campaign .art-arrow { width: 28px; height: 28px; }
  .campaign .art-arrow .icon { width: 13px; height: 13px; }
  .campaign .art-kicker { font-size: 8px; letter-spacing: .08em; }
  .shelf-tools { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .shelf-track.product-grid { --columns: 2; --shelf-gap: 8px; }
  .shelf-track .product { padding: 5px; }
  .shelf-track .pack { aspect-ratio: 1.25; }
  .shelf-track .product-detail { min-height: 17px; }
  .shelf-track .add { width: 42px; }
  .type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .type-art { min-height: 135px; }
  .type-art .glass-caption strong { font-size: clamp(16px,4.3vw,22px); }
  .preview-note { flex-wrap: wrap; gap: 3px 6px; }
  .preview-note > p { flex: 1; }
}
@media (max-width:360px) {
  .hero-copy { padding-inline: 15px; }
  .hero-steps button, .hero-controls .glass-button { min-width: 41px; min-height: 43px; }
  .category-art .glass-caption { gap: 4px; }
  .category-art .art-arrow { width: 22px; height: 22px; }
}
html.motion-off .photo-surface, html.motion-off .photo-img, html.motion-off .art-arrow,
html.motion-off .shelf-track .pack img { transform: none !important; translate: none !important; }
html.motion-off .photo-glare, html.motion-off .product .pack::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .photo-surface, .photo-img, .art-arrow, .shelf-track .pack img { transform: none !important; translate: none !important; }
  .photo-glare, .product .pack::after { display: none; }
}
