@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap');

:root {
  --bg: #f7f7f4;
  --text: #171717;
  --muted: #6f6f6a;
  --line: #d9d9d3;
  --accent: #171717;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.nav, main, footer { max-width: var(--max); margin: auto; }
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.logo {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--text);
  border-radius: 50%;
  font: 600 13px "Space Grotesk", sans-serif;
}
nav { display: flex; gap: 26px; font-size: 14px; }
nav a, .text-link, footer a { color: var(--muted); }
nav a:hover, .text-link:hover, footer a:hover { color: var(--text); }

.hero { padding: 80px 24px 150px; max-width: 920px; }
.eyebrow, .tag, .section-head span {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: var(--muted);
}
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.08; }
h1 { font-size: clamp(48px, 7vw, 86px); letter-spacing: -.055em; margin: 18px 0 28px; }
.intro { max-width: 620px; font-size: 20px; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button {
  background: var(--accent); color: white;
  padding: 12px 18px; border-radius: 3px; font-size: 14px;
}
.section { padding: 100px 24px; border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: 45px 1fr; align-items: baseline; margin-bottom: 60px;
}
.section-head h2 { font-size: 38px; letter-spacing: -.04em; margin: 0; }
.project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding: 38px 0; border-top: 1px solid var(--line);
}
.project h3, .split h3 { font-size: 25px; margin: 8px 0; }
.project p { margin-top: 0; }
.muted { color: var(--muted); font-size: 14px; }
.large { font-size: clamp(24px, 4vw, 42px); line-height: 1.25; letter-spacing: -.025em; max-width: 850px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.stat { font: 600 42px "Space Grotesk", sans-serif; line-height: 1.2; }
.stat small { display: inline-block; font: 14px "DM Sans", sans-serif; color: var(--muted); margin-left: 8px; }
.video-showcase { margin: 72px 0 34px; }
.video-showcase .eyebrow { margin-bottom: 18px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { display: block; }
.video-thumbnail { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e6e6e1; }
.video-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(23, 23, 23, .9); }
.play-icon::after { content: ""; position: absolute; left: 18px; top: 13px; border: 9px solid transparent; border-left: 13px solid white; border-right: 0; }
.video-card h3 { margin: 14px 0 0; font-size: 18px; letter-spacing: -.025em; }
.video-card:hover img, .video-card:focus-visible img { transform: scale(1.035); }
.video-card:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
.blog-showcase { margin: 72px 0 34px; }
.blog-showcase .eyebrow { margin-bottom: 18px; }
.blog-card { display: block; max-width: 680px; padding: 28px; border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.blog-card h3 { margin: 10px 0 12px; font-size: 25px; letter-spacing: -.035em; }
.blog-card > p:not(.tag) { margin: 0 0 20px; color: var(--muted); }
.blog-card:hover, .blog-card:focus-visible { border-color: var(--text); transform: translateY(-2px); }
.blog-card:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
.about { display: grid; grid-template-columns: 1.4fr .8fr; gap: 80px; }
.facts { border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.facts span { color: var(--muted); }
.contact { padding: 140px 24px; text-align: center; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(54px, 9vw, 100px); margin: 10px 0 25px; letter-spacing: -.06em; }
.email { font-size: 18px; border-bottom: 1px solid var(--text); }
footer {
  border-top: 1px solid var(--line); padding: 24px;
  display: flex; justify-content: space-between; color: var(--muted); font-size: 13px;
}
footer div { display: flex; gap: 20px; }

@media (max-width: 700px) {
  nav { gap: 8px; font-size: 11px; white-space: nowrap; }
  .hero { padding-top: 60px; }
  .project, .split, .about, .video-grid { grid-template-columns: 1fr; gap: 20px; }
  .video-showcase { margin-top: 52px; }
  .blog-showcase { margin-top: 52px; }
  .section { padding: 75px 20px; }
  .nav { padding: 0 20px; }
  footer { margin: 0 20px; padding-left: 0; padding-right: 0; }
}
