/* A brand's front page (partners.mjs frontPage): what its own domain opens on. The logo, one line and one button
   into its catalog page, the fine print at the foot. Shared by every brand that has one; each brand's own tokens
   (brand.css) and stylesheet (custom.css) do the dressing, so this file only lays the page out. Styles only. */
html.front-page body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--top-bg)}
html.front-page main{flex:1;display:flex;flex-direction:column}

/* One screen: the mark, line and button in the middle, the fine print on the floor. */
html.front-page.look-store .hero.front{flex:1;display:grid;grid-template-rows:1fr auto;align-content:stretch;min-height:100vh;min-height:100svh;padding:0;border-bottom:0}
html.front-page.look-store .hero.front .front-in{align-self:center;width:100%;padding-top:clamp(3.5rem,12vh,7rem);padding-bottom:clamp(2.5rem,7vh,4.5rem)}

/* The logo is the heading: the brand's name for anyone who cannot see it. */
html.front-page.look-store .hero.front h1.front-mark{margin:0;max-width:none;font-size:clamp(2.5rem,1.6rem + 3.6vw,4.5rem);line-height:1}
.front-logo{display:block;width:min(480px,80vw);height:auto;margin:0 auto}
.front-name{display:block}
.front-logo+.front-name{margin-top:.75rem;font-size:.5em}

html.front-page.look-store .hero.front .front-line{margin:clamp(1.5rem,4vh,2.25rem) auto 0;max-width:40rem;font-size:clamp(1.125rem,1rem + .5vw,1.375rem);line-height:1.45;text-wrap:balance}
html.front-page.look-store .hero.front .cta{margin-top:clamp(2rem,5.5vh,3rem)}

/* The one button: wide enough to hit with a thumb, an arrow that leans the way it goes. */
html.front-page .front-go{gap:.65rem;min-width:min(300px,100%);min-height:62px;padding:0 2.4rem;font-size:1.125rem}
.front-arrow{flex:none;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.front-go:hover .front-arrow,.front-go:focus-visible .front-arrow{transform:translateX(4px)}

.front-foot{padding:0 var(--gutter,20px) calc(1.5rem + env(safe-area-inset-bottom,0px));text-align:center;font-size:.8125rem;line-height:1.5;color:var(--top-muted)}
.front-foot p{margin:0}
.front-links{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:.35rem 1.25rem;margin-top:.55rem !important}
.front-links a{color:inherit;text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent);text-underline-offset:3px}
.front-links a:hover{color:var(--top-ink);text-decoration-color:currentColor}
.front-links a:focus-visible{outline:2px solid var(--top-ink);outline-offset:3px;border-radius:2px}

/* The flag's stripes run along the floor of the screen, so the fine print sits above them. */
html.front-page.motif-flag .front-foot{padding-bottom:calc(2.4rem + env(safe-area-inset-bottom,0px))}

/* A light page: the brand's glow sits behind the logo rather than off to one side. */
html.front-page.look-store:not(.top-dark) .hero.front::before{inset:-12% -25% auto -25%;height:100%}

@media (max-width:480px){
  html.front-page .front-go{width:100%}
  .front-links{gap:.35rem 1rem}
}
