/* =========================================================
   JAAG — RESPONSIVE STYLESHEET
   ========================================================= */


/* =========================================================
   FONT
   ========================================================= */

@font-face {
  font-family: "Neue Haas";
  src: url("fonts/NeueHaasGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Neue Haas";
  src: url("fonts/NeueHaasGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;

  background: #f5f3ef;
  color: #111;

  font-family: "Neue Haas", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;

  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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


/* =========================================================
   FIXED DESKTOP NAV
   ========================================================= */

.site-nav {
  position: fixed;

  top: 0;
  left: 0;

  width: 190px;
  height: 100vh;

  padding: 28px 25px;

  display: flex;
  flex-direction: column;

  z-index: 100;
}


/* Logo */

.logo {
  display: block;

  width: 70px;

  margin-bottom: 80px;
}

.logo img {
  width: 100%;
  height: auto;
}


/* Navigation */

.site-nav nav {
  display: flex;
  flex-direction: column;

  gap: 9px;
}

.site-nav nav a {
  width: fit-content;

  font-size: 11px;
  line-height: 1.2;

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

  transition: opacity 0.2s ease;
}

.site-nav nav a:hover {
  opacity: 0.45;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

main {
  margin-left: 190px;
}


/* =========================================================
   HERO — DESKTOP
   ========================================================= */

.hero {
  min-height: 100vh;

  padding: 60px 7vw 80px 4vw;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 0.7fr);

  align-items: center;

  gap: 6vw;
}


/* Hero text */

.hero-text {
  min-width: 0;
}

.hero h1 {
  margin: 0;

  font-size: clamp(64px, 8.5vw, 145px);

  line-height: 0.84;

  font-weight: 400;

  letter-spacing: -0.065em;

  max-width: 900px;
}


/* Hero metadata */

.hero-meta {
  margin: 55px 0 0;

  max-width: 400px;

  font-size: 10px;

  line-height: 1.4;

  letter-spacing: 0.1em;
}

.hero-socials {
  gap: 15px;
  margin-top: 18px;
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  margin-top: 22px;
}

.hero-socials a {
  font-size: inherit;
  line-height: inherit;

  text-decoration: none;
  text-transform: uppercase;

  border-bottom: 1px solid #111;
  padding-bottom: 2px;

  transition: opacity 0.2s ease;
}

.hero-socials a:hover {
  opacity: 0.45;
}

/* Hero photo */

.hero-image {
  width: 100%;
  max-width: 520px;

  justify-self: end;
}

.hero-image img {
  width: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding: 120px 7vw 130px 4vw;

  border-top: 1px solid #111;
}


/* Section title */

.section-label {
  display: grid;

  grid-template-columns: 55px 1fr;

  margin-bottom: 65px;
}

.section-label span {
  font-size: 10px;

  letter-spacing: 0.08em;
}

.section-label h2 {
  margin: 0;

  font-size: 11px;

  font-weight: 500;

  letter-spacing: 0.08em;
}


/* =========================================================
   SHOWS
   ========================================================= */

.show-list {
  width: 100%;
}

.show {
  display: grid;

  grid-template-columns:
    120px
    minmax(0, 1fr)
    220px;

  align-items: baseline;

  padding: 19px 0;

  border-top: 1px solid #aaa;

  transition: padding-left 0.2s ease;
}

.show:last-child {
  border-bottom: 1px solid #aaa;
}

.show:hover {
  padding-left: 12px;
}

.date,
.location {
  font-size: 10px;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.event {
  font-size: clamp(18px, 2vw, 23px);

  letter-spacing: -0.02em;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-content {
  margin-left: 55px;

  max-width: 900px;
}

.about-large {
  max-width: 850px;

  margin: 0 0 65px;

  font-size: clamp(32px, 4vw, 56px);

  line-height: 0.98;

  letter-spacing: -0.04em;
}

.about-body {
  max-width: 550px;

  font-size: 16px;
}

.about-body p {
  margin: 0 0 25px;
}


/* =========================================================
   MIXES
   ========================================================= */

.mix-list {
  margin-left: 55px;

  max-width: 950px;
}

/*.mix {
  display: grid;

  grid-template-columns: 55px minmax(0, 1fr) 60px;

  column-gap: 20px;

  align-items: baseline;

  padding: 19px 0;

  border-top: 1px solid #aaa;

  font-size: 18px;
}

.mix span:last-child {
  white-space: nowrap;
  text-align: right;
}
*/

.mix {
  display: flex;
  align-items: baseline;
  gap: 20px;

  width: 100%;

  padding: 19px 0;

  border-top: 1px solid #aaa;

  font-size: 18px;
}

.mix:last-child {
  border-bottom: 1px solid #aaa;
}

.mix span:nth-child(1) {
  flex: 0 0 55px;
}

.mix span:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.mix span:last-child {
  flex: 0 0 auto;

  white-space: nowrap;

  margin-left: auto;
}

.mix:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {

  .mix {
    gap: 12px;
    font-size: 16px;
  }

  .mix span:nth-child(1) {
    flex: 0 0 35px;
  }

  .mix span:last-child {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
  }

}

}


/* =========================================================
   WRITING
   ========================================================= */

.writing-list {
  margin-left: 55px;

  max-width: 950px;
}

.writing {
  display: flex;

  justify-content: space-between;

  align-items: baseline;

  gap: 30px;

  padding: 19px 0;

  border-top: 1px solid #aaa;

  font-size: 21px;

  letter-spacing: -0.02em;
}

.writing:last-child {
  border-bottom: 1px solid #aaa;
}

.writing:hover {
  text-decoration: underline;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  min-height: 80vh;

  padding: 150px 7vw 150px 4vw;

  border-top: 1px solid #111;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.contact-label {
  margin: 0 0 45px;

  font-size: 10px;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.contact h2 {
  margin: 0 0 65px;

  font-size: clamp(70px, 9vw, 150px);

  line-height: 0.82;

  font-weight: 400;

  letter-spacing: -0.065em;
}

.contact-email {
  width: fit-content;

  font-size: 18px;

  padding-bottom: 3px;

  border-bottom: 1px solid #111;
}

.contact-email:hover {
  opacity: 0.5;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  margin-left: 190px;

  padding: 24px 4vw;

  border-top: 1px solid #111;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  font-size: 10px;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.footer-links {
  display: flex;

  flex-wrap: wrap;

  gap: 25px;
}

.footer-links a:hover {
  opacity: 0.5;
}


/* =========================================================
   TABLET — 1000px
   ========================================================= */

@media (max-width: 1000px) {

  /* Narrower navigation */

  .site-nav {
    width: 150px;

    padding: 24px 20px;
  }

  main {
    margin-left: 150px;
  }

  footer {
    margin-left: 150px;
  }


  /* Hero */

  .hero {
    padding-left: 3vw;
    padding-right: 5vw;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(240px, 0.65fr);

    gap: 5vw;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 105px);
  }


  /* Shows */

  .show {
    grid-template-columns:
      95px
      minmax(0, 1fr)
      150px;
  }

}


/* =========================================================
   SMALL TABLET / LARGE PHONE — 760px
   ========================================================= */

@media (max-width: 760px) {

  /*
     Switch from fixed sidebar navigation
     to a normal top navigation.
  */

  .site-nav {
    position: relative;

    width: 100%;
    height: auto;

    padding: 20px 22px;

    display: flex;

    flex-direction: row;

    justify-content: space-between;

    align-items: flex-start;
  }


  /* Logo */

  .logo {
    width: 65px;

    margin: 0;
  }


  /* Mobile navigation */

  .site-nav nav {
    align-items: flex-end;

    gap: 7px;
  }

  .site-nav nav a {
    font-size: 9px;
  }


  /* Main */

  main {
    margin-left: 0;
  }


  /* Hero becomes vertical */

  .hero {
    min-height: auto;

    padding: 70px 22px 90px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 60px;
  }

  .hero h1 {
    font-size: clamp(62px, 15vw, 105px);

    line-height: 0.85;
  }

  .hero-meta {
    margin-top: 35px;

    max-width: 300px;
  }


  /* Image */

  .hero-image {
    width: 100%;

    max-width: 520px;

    margin-left: auto;
    margin-right: auto;
  }


  /* Sections */

  .section {
    padding: 80px 22px 90px;
  }


  /* Section heading */

  .section-label {
    grid-template-columns: 40px 1fr;

    margin-bottom: 45px;
  }


  /* Shows */

  .show {
    grid-template-columns:
      75px
      minmax(0, 1fr);

    gap: 5px 10px;

    padding: 17px 0;
  }

  .date {
    grid-row: span 2;
  }

  .event {
    font-size: 19px;
  }

  .location {
    grid-column: 2;
  }


  /* About */

  .about-content {
    margin-left: 0;
  }

  .about-large {
    font-size: clamp(32px, 8vw, 48px);

    margin-bottom: 45px;
  }


  /* Mixes */

  .mix-list {
    margin-left: 0;
  }

  .mix {
    grid-template-columns:
      40px
      minmax(0, 1fr);

    font-size: 16px;
  }

  .mix span:last-child {
    display: none;
  }


  /* Writing */

  .writing-list {
    margin-left: 0;
  }

  .writing {
    font-size: 18px;

    gap: 15px;
  }


  /* Contact */

  .contact {
    min-height: 70vh;

    padding: 100px 22px;
  }

  .contact h2 {
    font-size: clamp(65px, 17vw, 110px);

    margin-bottom: 50px;
  }


  /* Footer */

  footer {
    margin-left: 0;

    padding: 20px 22px;

    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
  }

}


/* =========================================================
   PHONE — 480px
   ========================================================= */

@media (max-width: 480px) {

  /* Header */

  .site-nav {
    padding: 18px 18px;

    gap: 20px;
  }

  .logo {
    width: 58px;
  }

  .site-nav nav {
    gap: 6px;
  }

  .site-nav nav a {
    font-size: 8px;

    letter-spacing: 0.06em;
  }


  /* Hero */

  .hero {
    padding: 55px 18px 70px;

    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 82px);

    letter-spacing: -0.07em;
  }

  .hero-meta {
    font-size: 9px;

    margin-top: 30px;
  }


  /* Photo */

  .hero-image img {
    aspect-ratio: 4 / 5;
  }


  /* Sections */

  .section {
    padding: 65px 18px 75px;
  }

  .section-label {
    margin-bottom: 35px;
  }


  /* Shows */

  .show {
    grid-template-columns:
      65px
      minmax(0, 1fr);
  }

  .date,
  .location {
    font-size: 9px;
  }

  .event {
    font-size: 18px;
  }


  /* About */

  .about-large {
    font-size: 30px;

    line-height: 1;
  }

  .about-body {
    font-size: 15px;
  }


  /* Mixes */

  .mix {
    padding: 16px 0;

    font-size: 15px;
  }


  /* Writing */

  .writing {
    font-size: 17px;

    padding: 16px 0;
  }


  /* Contact */

  .contact {
    min-height: 65vh;

    padding: 85px 18px;
  }

  .contact h2 {
    font-size: 20vw;

    letter-spacing: -0.07em;
  }

  .contact-email {
    font-size: 16px;
  }


  /* Footer */

  footer {
    padding: 18px;

    font-size: 9px;
  }

}


/* =========================================================
   VERY SMALL PHONES — 360px
   ========================================================= */

@media (max-width: 360px) {

  .site-nav {
    align-items: flex-start;
  }

  .site-nav nav a {
    font-size: 7.5px;
  }

  .hero h1 {
    font-size: 55px;
  }

  .hero-meta {
    max-width: 230px;
  }

  .event {
    font-size: 17px;
  }

}
