/* ===== Base ===== */

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:#f5f5f5;
  color:#222;
  margin:0;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

/* ===== Shared page container ===== */

.container{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px;
}

h1{
  font-size:42px;
  line-height:1.1;
  margin:0 0 30px;
}

/* ===== Homepage ===== */

.site-shell{
  width:min(calc(100% - 48px), 1180px);
  margin:0 auto;
  padding:28px 0 60px;
}

.top-nav{
  display:flex;
  justify-content:flex-end;
  gap:28px;
  margin-bottom:36px;
  font-size:18px;
  font-weight:700;
}

.top-nav a{
  color:#222;
  text-decoration:none;
}

.top-nav a.active{
  color:#1d7ddc;
}

.gallery{
  width:min(100%, 980px);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}

.record-card{
  display:block;
}

.record-card img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  background:#ddd;
}

/* ===== Review pages ===== */

.review-layout{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:50px;
  align-items:start;
}

.review-media{
  width:320px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.review-cover{
  width:320px;
  display:block;
}

.review-video{
  width:320px;
}

.review-video iframe{
  width:320px;
  height:180px;
  border:0;
  display:block;
}

.review-text{
  max-width:730px;
  font-size:18px;
  line-height:1.75;
}

.review-text p{
  margin:0 0 20px;
}

.review-meta{
  margin-top:30px;
  font-size:17px;
}

/* ===== Open Letter ===== */

.open-letter{
  max-width:730px;
  margin-left:370px;
}

/* ===== Mobile ===== */

@media (max-width:900px){
  .gallery{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:800px){
  .review-layout{
    grid-template-columns:1fr;
  }

  .review-media{
    width:100%;
    max-width:320px;
  }

  .review-cover{
    width:100%;
  }

  .review-video{
    width:100%;
  }

  .review-video iframe{
    width:100%;
    height:auto;
    aspect-ratio:16/9;
  }

  .review-text{
    max-width:100%;
  }

  .open-letter{
    max-width:100%;
    margin-left:0;
  }
}

@media (max-width:640px){
  .site-shell{
    width:min(calc(100% - 28px), 1180px);
    padding-top:22px;
  }

  .top-nav{
    justify-content:center;
    flex-wrap:wrap;
    gap:16px;
    font-size:16px;
    margin-bottom:24px;
  }

  .gallery{
    grid-template-columns:1fr;
    gap:20px;
  }

  h1{
    font-size:32px;
  }

  .review-text{
    font-size:17px;
  }
}
.open-letter{
  max-width:730px;
  margin:0 auto;
}

.open-letter-title{
  max-width:730px;
  margin:0 auto 30px auto;
}
.site-footer{
    text-align:center;
    margin-top:80px;
    margin-bottom:40px;
    font-size:18px;
}
/* ===== Hamburger Menu ===== */

.site-header{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  margin-bottom:34px;
}


.site-brand{
  font-size:24px;
  font-weight:700;
  letter-spacing:.02em;
}

.site-brand a{
  text-decoration:none;
  color:inherit;
}

.menu-toggle{
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:5px;
}

.menu-toggle span{
  display:block;
  width:28px;
  height:3px;
  background:#222;
  border-radius:2px;
}

.site-menu{
  position:absolute;
  top:20px;
  left:0;
  background:#fff;
  border:1px solid #ddd;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  padding:14px 18px;
  min-width:190px;
  display:none;
  z-index:1000;
}


.site-menu.open{
  display:block;
}

.site-menu a{
  display:block;
  padding:10px 0;
  text-decoration:none;
  color:#222;
  font-size:16px;
  font-family:"Impact Label Reversed", sans-serif;
}

.site-menu a:hover{
  color:#1d7ddc;
}

.site-header-wrap{
  position:relative;
}

@media (max-width:640px){
  .site-brand{
    font-size:22px;
  }

  .site-menu{
    right:0;
    min-width:170px;
  }
}

@media (max-width:800px){

  .review-layout{
    grid-template-columns:1fr;
  }

  .review-text{
    order:1;
  }

  .review-media{
    order:2;
    margin:6px auto 0;
    max-width:320px;
    align-items:center;
  }

}

h1{
  text-wrap: balance;
}

@font-face{
  font-family:"Impact Label Reversed";
  src:url("../Fonts/Impact Label Reversed.ttf") format("truetype");
  font-weight:normal;
  font-style:normal;
}