@font-face {
  font-family: Space;
  src: url(../assets/space-grotesk.ttf);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #0e0f12;
  color: #E8EAED;
  font:
    16px/1.8 Space,
    "Microsoft Yahei",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  height: 78px;
  border-bottom: 1px solid rgba(138,143,152,.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 27px;
}
nav {
  display: flex;
  gap: 30px;
  color: #8A8F98;
  font-size: 13px;
}
nav a:hover,
a:focus-visible {
  color: #C87A5B;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 0 6% 100px;
}
.hero {
  padding: 100px 0 80px;
  max-width: 850px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #C87A5B;
}
.hero h1,
.article-heading h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.hero h1 span {
  color: #C87A5B;
}
.hero > p:last-child,
.description {
  color: #8A8F98;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}
.filters button,
.preview button {
  font: inherit;
  color: #E8EAED;
  background: rgba(138,143,152,.10);
  border: 1px solid rgba(138,143,152,.4);
  padding: 9px 17px;
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: #C87A5B;
  color: #0E0F12;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border-top: 1px solid rgba(138,143,152,.4);
}
.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: brightness(0.78);
}
.card h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
}
.card p {
  color: #8A8F98;
  font-size: 14px;
}
.tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #C87A5B;
}
.article-heading {
  max-width: 900px;
  padding: 85px 0 45px;
}
.article-body {
  max-width: 820px;
}
.article-body h2 {
  margin: 65px 0 20px;
  font-size: 30px;
  font-weight: 500;
}
.article-body p {
  color: #E8EAED;
  font-size: 17px;
  line-height: 2;
}
.preview {
  margin: 50px 0;
  background: rgba(138,143,152,.06);
  border: 1px solid rgba(138,143,152,.25);
}
.preview-screen {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: #0E0F12;
}
.preview-screen img,
.preview-screen video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-screen img {
  animation: drift 18s ease-in-out infinite alternate;
}
.preview-screen video[hidden] {
  display: none;
}
@keyframes drift {
  to {
    transform: scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .preview-screen img {
    animation: none;
  }
}
.preview-info {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.controls {
  display: flex;
  gap: 8px;
}
.preview button {
  padding: 6px 12px;
  font-size: 12px;
}
.preview .label {
  font-size: 12px;
  color: #8A8F98;
}
.cta {
  display: inline-block;
  margin-top: 30px;
  border-bottom: 1px solid #C87A5B;
  padding-bottom: 8px;
  color: #C87A5B;
}
footer {
  border-top: 1px solid rgba(138,143,152,.25);
  padding: 30px 6%;
  font-size: 13px;
  letter-spacing: 0.1em;
}
footer span {
  float: right;
  color: #8A8F98;
  font-size: 11px;
}
@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0;
  }
  .article-heading {
    padding: 55px 0 20px;
  }
  nav {
    gap: 12px;
  }
  .article-body h2 {
    font-size: 25px;
  }
}

.cta {
  background: #C87A5B;
  color: #0E0F12;
  padding: 14px 22px;
  border: 0;
}
.preview-screen video {
  z-index: 1;
}

@media (max-width: 700px) { header { height: auto; min-height: 78px; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; } nav { flex-wrap: wrap; align-items: center; } .article-body, .card { overflow-wrap: anywhere; } }
