body{
  margin:0;
  background:#f7f1e9;
  color:#2b211c;
  font-family:Inter,system-ui,sans-serif;
}
*{box-sizing:border-box}

main{
  width:min(1220px,calc(100% - 36px));
  margin:0 auto;
  padding:42px 0 72px;
}

.home-hero{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
  gap:34px;
  align-items:center;
  min-height:500px;
  padding:34px 0 54px;
}

.home-eyebrow{
  color:#17492a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.home-hero h1{
  max-width:790px;
  margin:10px 0 18px;
  color:#241914;
  font:700 clamp(52px,6.4vw,82px)/.95 Georgia,"Times New Roman",serif;
  letter-spacing:-.045em;
}

.home-hero-copy>p{
  max-width:690px;
  margin:0;
  color:#74665c;
  font-size:17px;
  line-height:1.65;
}

.home-hero-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:26px;
}

.home-primary,
.home-secondary{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 15px;
  border-radius:11px;
  font-size:12px;
  font-weight:850;
  text-decoration:none;
}

.home-primary{
  border:1px solid #17492a;
  background:#17492a;
  color:#fff;
}

.home-secondary{
  border:1px solid #dfd3c9;
  background:#fff;
  color:#342820;
}

.home-hero-panel{
  display:grid;
  gap:9px;
}

.home-feature-card{
  display:grid;
  grid-template-columns:44px 1fr auto;
  gap:12px;
  align-items:center;
  padding:17px;
  border:1px solid #e5d9cf;
  border-radius:16px;
  background:#fff;
  color:#2b211c;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease;
}

.home-feature-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(54,39,28,.07);
}

.home-feature-card.primary{
  background:#17492a;
  border-color:#17492a;
  color:#fff;
}

.home-feature-card .icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#f3ece6;
  font-size:20px;
}

.home-feature-card.primary .icon{
  background:rgba(255,255,255,.14);
}

.home-feature-card strong{
  display:block;
  font:700 20px Georgia,serif;
}

.home-feature-card p{
  margin:4px 0 0;
  color:#7b6e65;
  font-size:10px;
  line-height:1.45;
}

.home-feature-card.primary p{
  color:rgba(255,255,255,.72);
}

.home-feature-card b{
  font-size:18px;
}

.home-section{
  padding:42px 0;
  border-top:1px solid #e3d8cf;
}

.home-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:17px;
}

.home-section-head h2,
.home-about h2{
  margin:5px 0 0;
  font:700 clamp(34px,4vw,48px)/1 Georgia,serif;
  letter-spacing:-.025em;
}

.home-section-head>a{
  color:#17492a;
  font-size:11px;
  font-weight:850;
  text-decoration:none;
}

.home-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.home-cafe{
  overflow:hidden;
  border:1px solid #e4d8ce;
  border-radius:16px;
  background:#fff;
}

.home-cafe-photo{
  display:block;
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e9dfd6;
}

.home-cafe-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.home-cafe-photo .fallback{
  height:100%;
  display:grid;
  place-items:center;
  font-size:45px;
}

.home-open{
  position:absolute;
  top:10px;
  left:10px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#685b52;
  font-size:8px;
  font-weight:900;
}

.home-open.yes{
  color:#17492a;
}

.home-cafe-body{
  padding:13px;
}

.home-cafe-body h3{
  margin:0;
  font:700 23px Georgia,serif;
}

.home-cafe-body h3 a{
  color:#2b211c;
  text-decoration:none;
}

.home-cafe-place{
  margin-top:5px;
  color:#76685f;
  font-size:10px;
}

.home-cafe-tags{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:10px;
}

.home-cafe-tags span{
  padding:4px 6px;
  border-radius:999px;
  background:#f2ece7;
  color:#685a51;
  font-size:8px;
  font-weight:800;
}

.home-events{
  display:grid;
  gap:9px;
}

.home-event{
  display:grid;
  grid-template-columns:140px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:10px;
  border:1px solid #e4d8ce;
  border-radius:15px;
  background:#fff;
}

.home-event-photo{
  height:94px;
  overflow:hidden;
  border-radius:11px;
  background:#e9dfd6;
}

.home-event-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.home-event-photo .fallback{
  height:100%;
  display:grid;
  place-items:center;
  font-size:30px;
}

.home-event-date{
  color:#17492a;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
}

.home-event h3{
  margin:4px 0;
  font:700 22px Georgia,serif;
}

.home-event h3 a{
  color:#2b211c;
  text-decoration:none;
}

.home-event-place{
  color:#786a61;
  font-size:10px;
}

.home-event>a:last-child{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 11px;
  border-radius:9px;
  background:#17492a;
  color:#fff;
  font-size:9px;
  font-weight:850;
  text-decoration:none;
}

.home-about{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:60px;
  padding:52px 0;
  border-top:1px solid #e3d8cf;
}

.home-about-copy{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.home-about-copy p{
  margin:0;
  color:#6f6259;
  font-size:13px;
  line-height:1.7;
}

.home-loading,
.home-empty,
.home-error{
  grid-column:1/-1;
  min-height:130px;
  display:grid;
  place-items:center;
  padding:20px;
  border:1px dashed #ded2c8;
  border-radius:14px;
  color:#776960;
  text-align:center;
}

.home-footer{
  min-height:100px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:0 max(18px,calc((100vw - 1220px)/2));
  border-top:1px solid #e3d8cf;
  background:#f3ece4;
  color:#786a61;
  font-size:10px;
}

.home-footer a{
  color:#2b211c;
  font:700 22px Georgia,serif;
  text-decoration:none;
}

@media(max-width:900px){
  .home-hero{
    grid-template-columns:1fr;
    min-height:0;
    padding-top:28px;
  }

  .home-hero-panel{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .home-feature-card{
    grid-template-columns:1fr;
    align-content:start;
  }

  .home-feature-card b{
    display:none;
  }

  .home-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .home-about{
    grid-template-columns:1fr;
    gap:24px;
  }
}

@media(max-width:650px){
  main{
    width:calc(100% - 20px);
    padding-top:24px;
  }

  .home-hero{
    gap:23px;
    padding-bottom:36px;
  }

  .home-hero h1{
    font-size:49px;
  }

  .home-hero-copy>p{
    font-size:14px;
  }

  .home-hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .home-primary{
    grid-column:1/-1;
  }

  .home-hero-panel{
    grid-template-columns:1fr;
  }

  .home-feature-card{
    grid-template-columns:40px 1fr auto;
  }

  .home-feature-card b{
    display:block;
  }

  .home-cards{
    grid-template-columns:1fr;
  }

  .home-event{
    grid-template-columns:92px minmax(0,1fr);
  }

  .home-event-photo{
    height:86px;
  }

  .home-event>a:last-child{
    grid-column:2;
    justify-self:start;
  }

  .home-about-copy{
    grid-template-columns:1fr;
  }

  .home-footer{
    min-height:84px;
  }
}
