.site-gallery-section{
  padding:96px 0;
  border-bottom:1px solid var(--line);
  background:#11110f;
  color:#f3f0e8;
}
.site-gallery-head{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:30px;
  margin-bottom:48px;
}
.site-gallery-head h2{
  margin:0;
  max-width:900px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px,6vw,78px);
  font-weight:400;
  letter-spacing:-.055em;
  line-height:.94;
}
.site-gallery-head p{
  margin:16px 0 0;
  max-width:760px;
  color:#aaa59b;
  font-size:16px;
  line-height:1.65;
}
.site-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.site-demo{
  min-width:0;
  border:1px solid #3b3935;
  background:#171715;
  overflow:hidden;
}
.site-demo.featured{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);
}
.site-demo-preview{
  position:relative;
  display:block;
  height:350px;
  overflow:hidden;
  background:#fff;
  border-bottom:1px solid #3b3935;
  text-decoration:none;
}
.site-demo.featured .site-demo-preview{
  height:440px;
  border-right:1px solid #3b3935;
  border-bottom:0;
}
.site-demo-preview iframe{
  width:1440px;
  height:1000px;
  border:0;
  transform:scale(.47);
  transform-origin:top left;
  pointer-events:none;
}
.site-demo.featured .site-demo-preview iframe{transform:scale(.59)}
.preview-open{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:3;
  padding:9px 11px;
  background:#11110f;
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
  font:800 10px/1 Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:.08em;
  transition:.18s ease;
}
.site-demo-preview:hover .preview-open{
  background:var(--green);
  color:#11110f;
  border-color:var(--green);
}
.site-demo-body{padding:24px}
.site-demo.featured .site-demo-body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:34px;
}
.site-demo-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:15px;
}
.site-demo-type{
  color:#8f8a80;
  font:700 10px/1 "Courier New",monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.site-demo-live{
  padding:6px 8px;
  border:1px solid #4b4944;
  color:var(--green);
  font:700 9px/1 "Courier New",monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.site-demo h3{
  margin:0;
  font:400 clamp(32px,3.4vw,48px)/.98 Georgia,"Times New Roman",serif;
  letter-spacing:-.045em;
}
.site-demo p{
  margin:14px 0 19px;
  color:#aaa59b;
  font-size:13px;
  line-height:1.65;
}
.site-demo-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:20px;
}
.site-demo-tags span{
  padding:6px 8px;
  border:1px solid #3b3935;
  color:#c9c4ba;
  font-size:10px;
}
.site-demo-body>a{
  width:max-content;
  color:#f3f0e8;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  border-bottom:1px solid #f3f0e8;
  padding-bottom:3px;
}
.site-demo-body>a:hover{
  color:var(--green);
  border-color:var(--green);
}
.site-gallery-note{
  margin:20px 0 0;
  color:#77736c;
  font-size:11px;
  line-height:1.55;
}
@media(max-width:980px){
  .site-gallery-head{grid-template-columns:1fr}
  .site-demo.featured{display:block}
  .site-demo.featured .site-demo-preview{
    height:360px;
    border-right:0;
    border-bottom:1px solid #3b3935;
  }
  .site-demo.featured .site-demo-preview iframe{transform:scale(.49)}
}
@media(max-width:720px){
  .site-gallery-section{padding:68px 0}
  .site-gallery{grid-template-columns:1fr}
  .site-demo.featured{grid-column:auto}
  .site-demo-preview,
  .site-demo.featured .site-demo-preview{height:290px}
  .site-demo-preview iframe,
  .site-demo.featured .site-demo-preview iframe{transform:scale(.36)}
  .site-demo-top{align-items:flex-start;flex-direction:column}
}