/* Google Fonts Import Link */
@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:ital,wght@1,900&family=Open+Sans:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Agbalumo&family=Honk&family=Josefin+Sans:wght@300&family=Open+Sans:wght@350&display=swap');
/*Font for nav bar*/
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Honk&family=Josefin+Sans:wght@500&family=Kode+Mono:wght@400..700&family=Open+Sans:wght@800&family=Righteous&family=Roboto+Slab:wght@100..900&display=swap');


@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Kode+Mono:wght@500&family=Manrope:wght@400;600&display=swap");

:root {
  --black: #000;
  --plum: #2e1065;
  --violet: #7c3aed;
  --lilac: #ede9fe;
  --pink: #ff99ff;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
body {
  margin: 0;
  padding-top: 70px;
  font:
    400 18px/1.65 Manrope,
    sans-serif;
  color: var(--black);
}
h1,
h2,
h3 {
  font-family: Fraunces, serif;
  line-height: 1.08;
  margin: 0;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}
h3 {
  font-size: 1.8rem;
}
p {
  margin: 0;
  max-width: 60ch;
}
a {
  color: inherit;
}
section {
  padding: clamp(64px, 10vw, 120px) 6vw;
}
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid currentColor;
}
.btn.fill {
  background: #fff;
  color: var(--black);
  border-color: #fff;
}
.btn.dark {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.more {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Navigation bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 30px;
  background: #000;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  z-index: 1030;
}
.navbar .logo {
  margin-right: auto;
  font:
    700 1.35rem Fraunces,
    serif;
  color: #fff;
  text-decoration: none;
}
.navbar ul {
  display: flex;
  margin: 0;
  padding: 0;
}
.navbar li {
  list-style: none;
  margin: 0 35px;
}
.navbar li a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: #fff;
  font:
    500 17px "Kode Mono",
    monospace;
  text-decoration: none;
}
.navbar li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6'%3E%3Cpath d='M0 3H12' fill='none' stroke='%23ff99ff' stroke-width='2'/%3E%3C/svg%3E")
  repeat-x;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s linear;
}
.navbar li a:hover::after {
  clip-path: inset(0);
}
.navbar li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L11 .5L15.5 5L7.5 13Z' fill='%23fff'/%3E%3Cpath d='M0 16L2.5 9L7 13.5Z' fill='%23ff99ff'/%3E%3C/svg%3E")
    no-repeat;
  opacity: 0;
  pointer-events: none;
}
.navbar li a:hover::before {
  animation: write 0.5s linear forwards;
}
@keyframes write {
  0% {
    left: 0;
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    left: 100%;
    opacity: 0;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  background: var(--plum);
  color: #fff;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding-left: 1in;   /* new line: moves the heading, text, and buttons 1 inch right */
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 700;
  max-width: 15ch;
  animation: rise 0.9s both;
}
.hero p {
  font-size: 1.25rem;
  color: var(--lilac);
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Work */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  margin: 56px 0 80px;
}
.feature .text {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.covers {
  position: relative;
  justify-self: center;
  width: min(300px, 70%);
  aspect-ratio: 3/4;
}
.cover {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--violet);
  color: #fff;
  font:
    700 1.8rem/1.1 Fraunces,
    serif;
}
.cover.back {
  background: var(--pink);
  transform: rotate(7deg) translate(24px, 6px);
}
.cover.front {
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px rgba(46, 16, 101, 0.35);
}
.cover small {
  font:
    600 0.9rem Manrope,
    sans-serif;
  opacity: 0.85;
}
.pair {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.tile {
  min-height: 340px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  text-decoration: none;
}
.tile.video {
  background: #000;
  color: #fff;
  border-radius: 28px;
}
.tile.press {
  background: var(--lilac);
  border-radius: 4px;
}
.play {
  width: 72px;
  height: 72px;
  margin-bottom: auto;
  border-radius: 50%;
  background: var(--pink);
  position: relative;
}
.play::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 22px;
  border-left: 22px solid #000;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.press::before {
  content: "";
  width: 70%;
  height: 110px;
  margin-bottom: auto;
  background: repeating-linear-gradient(
    var(--violet) 0 6px,
    transparent 6px 20px
  );
  opacity: 0.45;
}

/* Officiating */
.officiating {
  background: var(--lilac);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}
.officiating .text {
  display: grid;
  gap: 20px;
  justify-items: start;
}
blockquote {
  margin: 0;
  padding-left: 28px;
  border-left: 6px solid var(--violet);
  font:
    500 clamp(1.4rem, 2.6vw, 2rem) / 1.35 Fraunces,
    serif;
}
blockquote cite {
  display: block;
  margin-top: 16px;
  font:
    600 1rem Manrope,
    sans-serif;
}

/* Contact */
.contact {
  background: #000;
  color: #fff;
  display: grid;
  gap: 24px;
}
.contact a {
  font:
    700 clamp(1.5rem, 4vw, 3rem) Fraunces,
    serif;
  color: var(--pink);
  text-underline-offset: 8px;
}
.contact small {
  opacity: 0.6;
}

@media (max-width: 800px) {
  .feature,
  .pair,
  .officiating {
    grid-template-columns: 1fr;
  }
  .navbar {
    padding: 16px 18px;
  }
  .navbar li {
    margin: 0 0 0 18px;
  }
  .navbar li a {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 {
    animation: none;
  }
  .navbar li a::before {
    display: none;
  }
  .navbar li a::after {
    transition: none;
  }
}
