/* Homepage. Uses the site wine, gold, and ivory. Bands stay burgundy in dark mode. */
body.home{--page-gutter:20px}
@media (max-width:800px){body.home{--page-gutter:14px}}
body.home .home-hero{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:86vh;
  min-height:86vh;
  overflow:hidden;
  color:#fffaf6;
  text-align:center;
}
body.home .home-hero-media{position:absolute;inset:0}
body.home .home-hero-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:73% 27%;
}
body.home .home-hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(77,23,41,.34),rgba(45,16,26,.55));
}
body.home .home-hero-copy{position:relative;z-index:1;padding:88px 0 72px}
body.home .home-hero .kicker{color:#fffaf6}
body.home .home-hero h1{
  color:#fffaf6;
  max-width:11em;
  margin-left:auto;
  margin-right:auto;
}
body.home .home-hero .lede{color:#fffaf6;max-width:36rem;margin-left:auto;margin-right:auto}
body.home .home-hero .hero-note{color:#f7eee9;font-size:.95rem;margin:8px 0 0}
body.home .hero-credit{
  position:absolute;
  z-index:2;
  left:0;
  bottom:22px;
  margin:0;
  max-width:560px;
  text-align:left;
  font-size:.82rem;
  letter-spacing:.04em;
  color:#fffaf6;
}
@media (min-width:900px){
  body.home .home-hero{justify-content:flex-start;text-align:left}
  body.home .home-hero-shade{
    background:linear-gradient(to right,rgba(45,16,26,.84) 0%,rgba(77,23,41,.7) 26%,rgba(77,23,41,.28) 48%,rgba(77,23,41,.06) 68%,rgba(77,23,41,0) 82%);
  }
  body.home .home-hero-copy{text-align:left;padding-bottom:72px}
  body.home .home-hero h1,
  body.home .home-hero .lede,
  body.home .home-hero .hero-note,
  body.home .home-hero .actions{
    max-width:560px;
    margin-left:0;
    margin-right:0;
  }
  body.home .home-hero .actions{justify-content:flex-start}
  body.home .hero-credit{
    left:auto;
    right:max(20px,calc((100% - 1080px) / 2));
    bottom:20px;
    text-align:right;
    font-size:.78rem;
    color:rgba(255,250,246,.85);
    text-shadow:0 1px 3px rgba(45,16,26,.45);
  }
}
@media (max-width:899px){
  body.home .home-hero{
    display:block;
    height:auto;
    min-height:0;
    overflow:visible;
    background:#4d1729;
    text-align:center;
  }
  body.home .home-hero-media{position:relative;height:clamp(260px,40vh,360px);overflow:hidden}
  body.home .home-hero-photo{object-position:70% 25%}
  body.home .home-hero-shade{display:none}
  body.home .hero-credit{left:14px;bottom:10px;font-size:.75rem;text-shadow:0 1px 2px rgba(45,16,26,.55)}
  body.home .home-hero-copy{width:100%;padding:28px 20px 32px;text-align:center}
  body.home .home-hero .kicker{color:#ac7c3d}
  body.home .home-hero h1{font-size:clamp(30px,8vw,36px);line-height:1.12;color:#fffaf6;margin-left:auto;margin-right:auto}
  body.home .home-hero .lede{font-size:16px;line-height:1.5;color:#fffaf6;margin-left:auto;margin-right:auto}
  body.home .home-hero .hero-note{font-size:13px;line-height:1.45;color:#fffaf6;margin-left:auto;margin-right:auto}
  body.home .home-hero .actions{justify-content:center}
  body.home .home-hero .btn{width:100%;background:transparent;border-color:#ac7c3d;color:#fffaf6}
  body.home .home-hero .btn.primary{background:#fffaf6;border-color:#fffaf6;color:#6f2942}
}
body.home .hero-credit a{color:#fffaf6;font-weight:600}
body.home .home-hero .btn.primary{background:#6f2942;border-color:#fffaf6;color:#fffaf6}
body.home .home-hero .btn{background:transparent;border-color:#fffaf6;color:#fffaf6}
body.home .home-hero .btn:hover{background:#fffaf6;border-color:#fffaf6;color:#6f2942}
@media (max-width:899px){
  body.home .home-hero .btn.primary{width:100%;background:#fffaf6;border-color:#fffaf6;color:#6f2942}
  body.home .home-hero .btn.primary:hover{background:#fffaf6;color:#6f2942}
  body.home .home-hero .btn:not(.primary){
    width:auto;
    min-height:44px;
    margin-top:4px;
    padding:8px 4px;
    border:0;
    background:transparent;
    color:#fffaf6;
    text-decoration:underline;
    text-underline-offset:4px;
  }
}

body.home .section{padding:72px 0 8px}
body.home .home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px;align-items:stretch}
body.home .home-card{
  background:#fffaf6;
  border:0;
  border-top:1px solid #ac7c3d;
  padding:22px 20px 18px;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
body.home .home-card .kicker{color:#ac7c3d;margin-bottom:8px}
body.home .tint-vendors{background:#f7eee9}
body.home .tint-support{background:rgba(237,206,211,.32)}
body.home .card-secondary{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;color:#6f2942;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.home .home-card img{
  width:100%;
  height:160px;
  object-fit:cover;
  object-position:top;
  margin:0 0 18px;
}
body.home .home-card h3{
  font-family:"Libre Baskerville",serif;
  font-weight:400;
  font-size:1.7rem;
  line-height:1.25;
  margin:0 0 8px;
}
body.home .home-card p{margin:0 0 12px;color:var(--muted)}
body.home .home-card .btn{margin-top:auto;align-self:flex-start}

body.home .home-steps{background:#4d1729;color:#fffaf6;padding:80px 0}
body.home .home-steps h2{font-family:"Libre Baskerville",serif;font-weight:400;font-size:clamp(2rem,4vw,3rem);margin:0;color:#fffaf6}
body.home .home-steps ol{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
  margin:36px 0 0;
  padding:0;
}
body.home .home-steps .num{
  display:block;
  font-family:"Libre Baskerville",serif;
  font-size:clamp(2.6rem,4vw,3.6rem);
  line-height:1;
  color:#ac7c3d;
  margin-bottom:14px;
}
body.home .home-steps strong{display:block;font-size:1.15rem;margin-bottom:8px}
body.home .home-steps p{margin:0;color:#f7eee9}
body.home .steps-cta{margin:28px 0 0}
body.home .home-steps .btn.primary{background:#fffaf6;border-color:#fffaf6;color:#6f2942}

body.home .founder-band{margin:0}
body.home .founder-band img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 32%}
body.home .founder-band figcaption{margin:8px auto 0;color:var(--muted);font-size:.82rem}
@media (min-width:900px){
  body.home .founder-band img{height:420px;aspect-ratio:auto;object-fit:cover;object-position:center 35%}
}

body.home .spot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:stretch}
body.home .spot{background:transparent;border:0;display:flex;flex-direction:column;min-height:100%}
body.home .spot-photo{position:relative;flex:0 0 auto;aspect-ratio:4/5;background:#fffaf6;overflow:hidden}
body.home .spot-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.home .spot-fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center;background:#fffaf6;color:#6f2942;font-family:"Libre Baskerville",serif;font-size:2.6rem}
body.home .spot-photo img.is-missing{visibility:hidden}
body.home .spot-photo:has(img.is-missing) .spot-fallback{display:flex}
body.home .spot-cta{margin:16px 0 0}
body.home .spot > div:not(.spot-photo){padding:16px 0 0;display:flex;flex-direction:column;gap:6px;flex:1}
body.home .spot h3{font-family:"Libre Baskerville",serif;font-weight:400;font-size:1.35rem;margin:0}
body.home .spot p{margin:0;color:var(--muted)}
body.home .spot a{color:var(--wine);font-weight:700;min-height:44px;display:inline-flex;align-items:center}
body.home .faq a,body.home .guide-list a,body.home .teaser a{color:var(--wine)}
body.home .guide-list{display:flex;flex-wrap:wrap;gap:8px 28px;margin:8px 0 0;padding:0;list-style:none}
body.home .guide-list a{display:inline-flex;align-items:center;min-height:48px;padding:0;border:0;text-decoration:none;font-weight:700}
body.home .guide-list a:hover{text-decoration:underline}
body.home .audience-note{margin-top:36px;margin-bottom:0;color:var(--muted);font-size:.92rem}
body.home .audience-note a{color:var(--muted);font-weight:600;text-decoration:underline;text-underline-offset:3px}
body.home .audience-note a:hover{color:var(--wine)}

body.home .home-close{background:#4d1729;color:#fffaf6;padding:80px 0;margin-top:48px}
body.home .home-close h2{font-family:"Libre Baskerville",serif;font-weight:400;font-size:clamp(2rem,4vw,3rem);margin:0 0 12px;color:#fffaf6;max-width:14em}
body.home .home-close p{margin:0 0 22px;max-width:36rem;color:#f7eee9}
body.home .home-close .btn{background:transparent;border-color:#ac7c3d;color:#fffaf6}
body.home .home-close .btn.primary{background:#fffaf6;border-color:#fffaf6;color:#6f2942}
body.home .home-close .btn:hover{background:#ac7c3d;border-color:#ac7c3d;color:#fffaf6}
body.home .home-close .btn.primary:hover{background:#ac7c3d;border-color:#ac7c3d;color:#fffaf6}

@media (prefers-reduced-motion:no-preference){
  body.home .home-card img,body.home .spot img{transition:transform .35s ease}
}
@media (max-width:899px){
  body.home .home-grid,body.home .home-steps ol{grid-template-columns:1fr}
  body.home .spot-grid{
    display:flex;
    gap:14px;
    margin-inline:calc(var(--page-gutter) * -1);
    padding-inline:var(--page-gutter);
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:var(--page-gutter);
    scrollbar-width:none;
  }
  body.home .spot-grid::-webkit-scrollbar{display:none}
  body.home .spot{flex:0 0 78%;scroll-snap-align:start;min-width:0}
  body.home .spot-cta{margin-top:12px}
  body.home .section{padding:48px 0 4px}
  body.home .section h2{margin-bottom:8px}
  body.home .section .intro{margin-bottom:12px}
  body.home .home-steps,body.home .home-close{padding:48px 0}
  body.home .home-close{margin-top:24px}
  body.home .home-card .btn,body.home .home-close .btn,body.home .spot-cta .btn,body.home .steps-cta .btn{width:100%}
  body.home .faq summary{min-height:0;padding:10px 0}
  body.home .faq details p{margin-bottom:8px}
  body.home .guide-list{flex-direction:column;gap:0}
  body.home .guide-list a{min-height:40px}
  body.home .audience-note{margin-top:16px}
  body.home .teaser{padding-top:8px;padding-bottom:24px}
}
