/* Round I, the footer (Karo, 27 Oct 2026: cleaner, and "not adopting a flat style"; he chose this, option A, over
   the same footer on the ink plane). Loaded last in the head on every page carrying it, by scripts/build-full-site.mjs.
   Every link stays, under four headed groups; on phones the groups fold away (footer.js; open without it). A raised
   lit ledge lies across the seam with the page, a turned door stands on it, and a deeper warm band holds the legal line.
   Every link is a 44px target, mouse or touch (design system). The footer sits on the store's own grid, as the header
   and top bar do (--store-width, --store-gutter in responsive-layout.css; the critic, 27 Oct 2026). */

html body .hhi-footer.foot-v2{display:block;max-width:none;margin:120px 0 0;padding:0;background:linear-gradient(transparent 0,transparent 64px,#E8E3DA 64px);color:#17152B;font:14px/1.6 'Open Sans',sans-serif}
.foot-v2 .foot-inner{max-width:none;margin:0;padding-inline:max(var(--store-gutter,24px),calc((100% - var(--store-width,1840px))/2 + var(--store-gutter,24px)))}
.foot-v2 .foot-ledge{position:relative;display:grid;grid-template-columns:minmax(250px,.95fr) minmax(0,2.6fr);gap:clamp(32px,4vw,72px);align-items:stretch}

/* The visit block: the logo, the address, Plan your visit, and a turned door standing on the ground. */
.foot-v2 .foot-visit{position:relative;min-height:290px;padding-right:110px}
html body .foot-v2 .ecds-brand{display:block;margin:0 0 18px}
html body .foot-v2 .ecds-brand img{width:132px;height:auto}
.foot-v2 .foot-visit p{margin:0 0 6px;font-size:14px;line-height:1.6}
.foot-v2 .foot-nw{white-space:nowrap}
.foot-v2 .foot-visit-actions{display:flex;flex-wrap:wrap;gap:0 22px}
html body .foot-v2 .foot-visit-actions a{display:inline-flex;align-items:center;min-height:44px;margin:0;font-weight:700;color:inherit;text-decoration:none}
.foot-v2 .foot-door{position:absolute;right:0;bottom:2px;width:96px;height:196px;pointer-events:none}
.foot-v2 .foot-door img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 2px rgba(41,33,22,.18)) drop-shadow(0 14px 14px rgba(41,33,22,.14))}
.foot-v2 .foot-door:after{content:'';position:absolute;left:50%;bottom:-7px;width:112%;height:16px;transform:translateX(-50%) rotate(-3.5deg) scaleX(.94);border-radius:50%;background:radial-gradient(closest-side,rgba(38,34,30,.28),rgba(38,34,30,.1) 58%,rgba(38,34,30,0))}

/* The site index: four groups, each a heading over its links. */
.foot-v2 .foot-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 clamp(20px,2.4vw,40px)}
.foot-v2 .foot-group summary{display:block;list-style:none;cursor:default}
.foot-v2 .foot-group summary::-webkit-details-marker{display:none}
html body .foot-v2 .foot-group h3{margin:0 0 8px;padding:0 0 12px;border-bottom:1px solid #DDD9E5;font-size:12px;line-height:1.4;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#615f69}
.foot-v2 .foot-group ul{list-style:none;margin:0;padding:0}
html body .foot-v2 .foot-group a{display:flex;align-items:center;min-height:44px;margin:0;color:inherit;font-size:14px;text-decoration:none}
/* The underline only where a pointer hovers: on a touch screen it stuck to the link that slid under a finger. */
@media (hover:hover){html body .foot-v2 a:hover{text-decoration:underline;text-underline-offset:3px}}

/* The base band: the company line on the left, the legal and social links and the credit together on the right. */
.foot-v2 .foot-base .foot-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 28px;padding-top:22px;padding-bottom:22px}
.foot-v2 .foot-base p{margin:0;font-size:12px;line-height:1.6}
.foot-v2 .foot-links,.foot-v2 .foot-legal,.foot-v2 .foot-social{display:flex;flex-wrap:wrap;gap:0 18px}
.foot-v2 .foot-links{gap:0 32px}
html body .foot-v2 .foot-base a{display:inline-flex;align-items:center;min-height:44px;margin:0;color:inherit;font-size:13px;text-decoration:none}
/* The credit reads as the band's own small print: "Built by" in the band's colour, the name as an ordinary footer link. */
.foot-v2 .foot-base .foot-credit{display:flex;align-items:center;gap:.3em;margin:0;font-size:13px;line-height:1.4;white-space:nowrap}

/* The lit ledge: a raised card on Round G's lit ground, lifted across the seam with the page above, over a deeper
   warm base. */
.foot-v2 .foot-ledge{margin-top:-8px;padding:44px clamp(28px,4vw,56px) 40px;border-radius:10px;background:radial-gradient(130% 95% at 50% 0%,#fbfaf7 0%,#f3f0ea 55%,#e9e3d9 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 2px 6px rgba(41,33,22,.06),0 34px 60px -34px rgba(41,33,22,.38)}
.foot-v2 .foot-base{color:#4d4a57}

/* Up to 1280px the visit block leads, the door standing on its own floor line, and the groups keep four columns down
   to 861px (the widest link is about 167px); below that two; on phones each group folds away under its heading, a 52px
   row with a chevron. The base band stacks below 1100px. */
@media (max-width:1280px){
 .foot-v2 .foot-ledge{grid-template-columns:minmax(0,1fr);gap:28px}
 .foot-v2 .foot-visit{min-height:216px;padding:0 120px 20px 0;border-bottom:1px solid #DDD9E5}
 .foot-v2 .foot-door{bottom:0}
}
@media (max-width:1100px){
 .foot-v2 .foot-base .foot-inner{flex-direction:column;align-items:flex-start;gap:4px;padding-top:18px;padding-bottom:18px}
}
@media (max-width:860px){
 .foot-v2 .foot-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px clamp(20px,4vw,40px)}
}
@media (max-width:760px){
 html body .hhi-footer.foot-v2{margin-top:72px}
 .foot-v2 .foot-ledge{padding:28px 20px 12px;gap:0}
 .foot-v2 .foot-visit{min-height:178px;padding:0 96px 18px 0}
 .foot-v2 .foot-door{width:78px;height:160px}
 .foot-v2 .foot-groups{grid-template-columns:minmax(0,1fr);gap:0}
 .foot-v2 .foot-group summary{position:relative;cursor:pointer}
 html body .foot-v2 .foot-group h3{display:flex;align-items:center;min-height:52px;margin:0;padding:0 36px 0 0;font-size:13px}
 .foot-v2 .foot-group summary:after{content:'';position:absolute;right:6px;top:50%;width:9px;height:9px;margin-top:-6px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .25s ease;opacity:.7}
 .foot-v2 .foot-group[open] summary:after{transform:rotate(-135deg);margin-top:-2px}
 .foot-v2 .foot-group ul{padding:4px 0 12px 2px}
 .foot-v2 .foot-links{flex-direction:column;gap:0}
}
@media (prefers-reduced-motion:reduce){.foot-v2 .foot-group summary:after{transition:none}}
