@font-face {
  font-family: "Awesome Serif Semi Bold Tall";
  src: url("./assets/fonts/AwesomeSerif-SemiBoldTall.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "AwesomeSerif-SemiBoldTall";
  src: url("./assets/fonts/AwesomeSerif-SemiBoldTall.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
}

:root {
  --bg: #f8f9f4;
  --text: #12150f;
  --modal-bg: #12150f;
  --modal-text: #f9f2e2;
  --green-dark: #3b6d38;
  --green-mid: #477d3f;
  --green-light: #5a8d4c;
  --font-display: "Awesome Serif Semi Bold Tall", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-modal-body: "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.65), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  height: 100vh;
  padding: clamp(1.25rem, 2.4vw, 2.5rem) clamp(1.5rem, 3vw, 3rem) clamp(1.25rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  column-gap: clamp(2.5rem, 8vw, 6rem);
  width: 100%;
}

.brand {
  display: inline-flex;
  grid-column: 2;
  justify-self: center;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: clamp(12rem, 18vw, 18.5rem);
  height: auto;
}

.nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.1rem;
  font-size: 0.95rem;
}

.nav a {
  transition: opacity 180ms ease;
}

.nav a:hover,
.nav-link-button:hover {
  opacity: 0.66;
}

.nav-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.instagram-link {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
}

.instagram-link svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.instagram-link .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-height: 0;
}

.hero-art {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: min(100%, 45rem);
  min-height: 0;
}

.hero-video {
  display: block;
  width: 100%;
  max-width: min(44.95rem, 62vh);
  height: auto;
  max-height: 42vh;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-copy {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(1.75rem, 5vh, 3.5rem);
  text-align: center;
}

.hero-copy h1,
.hero-copy p {
  margin: 0;
  font-family: "Awesome Serif Semi Bold Tall", Georgia, serif;
  font-weight: 600;
  font-style: normal;
  text-transform: capitalize;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
  line-height: 1.07;
  letter-spacing: 0;
}

.hero-copy p {
  margin-top: 0.3rem;
  font-size: clamp(1.5rem, 2.1vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.about-modal[hidden] {
  display: none;
}

.about-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  background: var(--modal-bg);
  color: var(--modal-text);
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.5rem, 3vw, 2.75rem) clamp(2rem, 5vh, 3rem);
}

.about-modal-close {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.75rem);
  right: clamp(1.5rem, 3vw, 2.75rem);
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--modal-text);
  cursor: pointer;
}

.about-modal-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.3rem;
  height: 0.18rem;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.about-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.about-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.about-modal-content {
  display: flex;
  align-items: flex-start;
  gap: clamp(2.25rem, 3vw, 3rem);
  width: min(100%, 47rem);
  margin: 0;
}

.about-modal-heading {
  width: 17.5rem;
  text-align: right;
  flex: 0 0 17.5rem;
}

.about-modal-heading h2 {
  margin: 0;
  font-family: "AwesomeSerif-SemiBoldTall", "Awesome Serif Semi Bold Tall", Georgia, serif;
  font-size: 3rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: capitalize;
}

.about-modal-list {
  width: 18.75rem;
  padding-top: 0.15rem;
  font-family: var(--font-modal-body);
  font-size: 1.643rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0;
}

.about-modal-list p {
  margin: 0;
}

@media (max-width: 720px) {
  .page-shell {
    height: 100svh;
    padding-top: calc(3.5rem + env(safe-area-inset-top, 0px));
  }

  .topbar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .brand {
    grid-column: auto;
    justify-self: auto;
  }

  .nav {
    grid-column: auto;
    justify-self: auto;
  }

  .hero-art {
    width: min(100%, 24rem);
  }

  .hero-video {
    max-width: min(100%, 22rem);
    max-height: 32vh;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .hero-copy p {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .about-modal-close {
    top: 1.25rem;
    right: 1.25rem;
  }

  .about-modal-content {
    width: 100%;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
  }

  .about-modal-heading,
  .about-modal-list {
    width: 100%;
    flex-basis: auto;
  }

  .about-modal-heading {
    text-align: left;
  }

  .about-modal-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .about-modal-list {
    font-size: clamp(1rem, 4.9vw, 1.35rem);
    line-height: 1.9;
  }
}
