:root {
  --bg: #0b0c0f;
  --text: #f2f2f2;
  --muted: #8a8f98;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: auto;
  margin: auto;
  padding: 6rem 2rem;
}

.lightbox iframe {
  width: 80vw;
  height: 45vw;
  max-width: 1000px;
  max-height: 560px;
}

/* INTRO 

.intro h1 {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2rem;
}*/

.intro h1 {
  font-family: var(--font-headline);
  font-weight: 300;

  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  margin: 0 0 2rem 0;
}


.intro h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--muted);
  max-width: 600px;
}

/* STATEMENT */

.statement {
  margin: 8rem 0;
}

.statement p {
  font-size: 1.2rem;
  max-width: 680px;
}

/* WORK */


.work {
     margin: 5rem 0;
 
}

.work-item {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  margin-bottom: 50px;
  /*border-top: 1px solid rgba(255,255,255,.08);*/
  cursor: pointer;
  border-style: solid;
  border-color: #8a8f98;
  border-radius: 25px;
  border-width: 1px;

  transition:
    transform .35s cubic-bezier(.2,.6,.2,1),
    color .35s ease;
}

.work-item:hover {
  transform: translateY(-10px);
}

.work-item:hover .meta h3 {
  color: #ffffff;
}

.work-item:hover .meta p,
.work-item:hover .index {
  color: rgba(255,255,255,.7);
}



.index {
  font-size: .9rem;
  color: var(--muted);
  min-width: 2rem;
}

.meta h3 {
  font-size: 1.6rem;
  font-weight: 500;
}

.meta p {
  color: var(--muted);
  margin-top: .4rem;
}

.work-item:hover h3 {
  text-decoration: underline;
}
.work-item:hover {
    background-color:rgba(57, 56, 56, 0.819);
}
.work .work-item:hover .meta {
  transform: translateX(6px);
}

.work .work-item:hover .meta h3 {
  color: #ffffff;
}

.work .work-item:hover .meta p,
.work .work-item:hover .index {
  color: rgba(255,255,255,.7);
}

/* CONTACT */

.contact {
  margin-top: 12rem;
}

.contact p {
  color: var(--muted);
}

.contact a {
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
}

/* Videosection */
.scroll-video-section {
  width: 100vw;
  margin:0;
  overflow: hidden;
}

.scroll-video {
  display: block;
  width: 95vw;
  aspect-ratio: 16 / 9;
  object-fit: cover;

  opacity: 0;
  transition: opacity .8s ease;
}

.scroll-video.visible {
  opacity: 1;
}

/* Footer*/
footer {
    text-align: center;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox video {
  max-width: 90vw;
  max-height: 90vh;
}


.close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */


.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  align-items: start;
  gap: 4rem;
}

.intro-image img {
  width: 100%;
  max-width: 260px;
  border-radius: 6px;
 
}
@media (max-width: 700px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-image img {
    max-width: 200px;
  }
}

