/* =========================
   NAVIGATION
========================= */

#site-nav {
  width: 100%;
  height: 72px;
  padding: 0 7vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--paper);
  border-bottom: 1px solid rgba(7, 61, 36, 0.25);

  position: relative;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  width: 110px;
}

.nav-logo img {
  display: block;
  width: 105px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-links a {
  color: var(--forest-green);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--bright-pink);
}/* =========================================================
   CAFÉ ARTIFACT
   MAIN STYLESHEET
========================================================= */

  :root {
  --ink: #073d24;        /* Forest green */
  --paper: #ffffff;
  --cream: #fffbea;

  --bright-yellow: #ffd400;
  --bright-pink: #f542a7;
  --forest-green: #073d24;

  --soft: #f5f1df;

  --max: 1240px;
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

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

::selection {
  background: var(--ink);
  color: var(--paper);
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

  width: 100%;
  height: 82px;

  padding: 0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid var(--ink);

  transition: transform 0.35s ease;
}

nav.header-hidden {
  transform: translateY(-100%);
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 118px;
  height: auto;
  display: block;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}

.nav-links a {
  position: relative;

  font-size: 0.78rem;
  font-weight: 700;

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

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  background: var(--ink);

  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 88vh;

  padding: 150px 7vw 90px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(360px, 0.9fr);

  gap: 6vw;

  align-items: center;

  overflow: hidden;

  background: var(--cream);
}

.hero-text {
  max-width: 650px;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.eyebrow,
.label,
.artist-heading > span {
  display: inline-block;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {
  margin: 0;

  font-family: "Fredoka", sans-serif;

  font-size: clamp(4rem, 8vw, 8.5rem);

  line-height: 0.88;

  letter-spacing: -0.055em;

  font-weight: 600;
}

.hero h1 span {
  display: block;
  margin-left: 0.5em;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-text > p {
  max-width: 550px;

  margin: 34px 0 30px;

  font-size: clamp(1rem, 1.5vw, 1.18rem);
}


/* =========================================================
   MAIN BUTTON
========================================================= */

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 25px;

  border: 2px solid var(--ink);

  background: var(--ink);
  color: var(--paper);

  font-size: 0.78rem;
  font-weight: 700;

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

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);

  background: transparent;
  color: var(--ink);
}


/* =========================================================
   HERO ART
========================================================= */

.hero-art {
  position: relative;

  width: min(100%, 560px);

  aspect-ratio: 1;

  margin-inline: auto;
}


/* =========================================================
   HERO CIRCLE
========================================================= */

.hero-circle {
  position: absolute;

  z-index: 3;

  top: 50%;
  left: 50%;

  width: 43%;

  aspect-ratio: 1;

  transform: translate(-50%, -50%);

  border: 2px solid var(--ink);

  border-radius: 50%;

  display: grid;
  place-content: center;

  text-align: center;

  font-family: "Fredoka", sans-serif;

  font-size: clamp(1.1rem, 2vw, 1.7rem);

  line-height: 0.95;

  letter-spacing: 0.03em;

  background: var(--paper);
}


/* =========================================================
   HERO SHAPES
========================================================= */

/* =========================================================
   HERO SHAPES
   LOGO COLOR PALETTE
========================================================= */

.shape {
  position: absolute;
  border: 3px solid var(--forest-green);
}


/* BRIGHT PINK */

.shape-one {
  width: 48%;
  height: 30%;

  top: 8%;
  left: 5%;

  border-radius: 50%;

  background: var(--bright-pink);

  transform: rotate(-16deg);
}


/* BRIGHT YELLOW */

.shape-two {
  width: 32%;
  height: 32%;

  right: 6%;
  top: 13%;

  border-radius: 50%;

  background: var(--bright-yellow);
}


/* FOREST GREEN */

.shape-three {
  width: 40%;
  height: 27%;

  left: 4%;
  bottom: 12%;

  background: var(--forest-green);

  transform: rotate(19deg);
}


/* BRIGHT PINK */

.shape-four {
  width: 34%;
  height: 38%;

  right: 5%;
  bottom: 8%;

  border-radius: 50% 50% 8% 8%;

  background: var(--bright-pink);

  transform: rotate(-13deg);
}


/* =========================================================
   COLOR STRIP
========================================================= */

.color-strip {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  height: 16px;

  border-bottom: 1px solid var(--ink);
}

.color-strip span:nth-child(1) {
  background: var(--ink);
}

.color-strip span:nth-child(2) {
  background: var(--accent-1);
}

.color-strip span:nth-child(3) {
  background: var(--accent-2);
}

.color-strip span:nth-child(4) {
  background: var(--accent-3);
}

.color-strip span:nth-child(5) {
  background: var(--accent-4);
}


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

.section,
.artist-section {
  width: 100%;

  padding: 120px 7vw;
}


/* =========================================================
   EXHIBITION INTRO
========================================================= */

.section-intro {
  max-width: 760px;

  margin: 0 auto 90px;

  text-align: center;
}

.section-intro h2,
.cafe-content h2,
.contact-text h2 {
  margin: 18px 0 24px;

  font-family: "Fredoka", sans-serif;

  font-size: clamp(3rem, 6vw, 6.5rem);

  line-height: 0.94;

  letter-spacing: -0.045em;

  font-weight: 500;
}

.section-intro h2 em,
.cafe-content h2 em,
.contact-text h2 em {
  display: block;

  font-style: normal;
}

.section-intro p {
  max-width: 650px;

  margin: 0 auto;

  font-size: 1.05rem;
}


/* =========================================================
   ARTIST NAVIGATION
========================================================= */

.artist-jump {
  max-width: var(--max);

  margin: 0 auto 105px;

  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.artist-jump a {
  flex: 1 1 220px;

  padding: 18px 20px;

  text-align: center;

  font-size: 0.78rem;
  font-weight: 700;

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

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.artist-jump a + a {
  border-left: 1px solid var(--ink);
}

.artist-jump a:hover {
  background: var(--ink);
  color: var(--paper);
}


/* =========================================================
   ARTIST SECTIONS
========================================================= */

.artist-section {
  max-width: 1440px;

  margin: 0 auto;

  padding-top: 115px;
  padding-bottom: 125px;

  scroll-margin-top: 70px;
}

.artist-section + .artist-section {
  border-top: 1px solid var(--ink);
}


/* =========================================================
   ARTIST BACKGROUNDS
========================================================= */

.warhol-section {
  background: var(--paper);
}

.calder-section {
  background: var(--cream);
}

.deleon-section {
  background: var(--paper);
}


/* =========================================================
   ARTIST HEADINGS
========================================================= */

.artist-heading {
  max-width: 440px;

  margin-bottom: 70px;
}

.artist-heading > span {
  margin-bottom: 20px;
}

.artist-heading h3 {
  margin: 0 0 26px;

  font-family: "Fredoka", sans-serif;

  font-size: clamp(4rem, 7vw, 7.5rem);

  line-height: 0.82;

  letter-spacing: -0.06em;

  font-weight: 500;
}

.artist-heading p {
  max-width: 400px;

  margin: 0;

  font-size: 1rem;
}


/* =========================================================
   ARTWORK GRID
========================================================= */

.art-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: clamp(22px, 3vw, 42px);
}


/* =========================================================
   ARTWORK CARD
========================================================= */

.art-card {
  min-width: 0;
}


/* =========================================================
   ARTWORK IMAGE
========================================================= */

.art-image {
  width: 100%;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  background: var(--soft);

  border: 1px solid var(--ink);
}

.art-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.6s
    cubic-bezier(.2, .7, .2, 1);
}

.art-card:hover .art-image img {
  transform: scale(1.035);
}


/* =========================================================
   ARTWORK INFORMATION
========================================================= */

.art-info {
  padding: 19px 0 0;
}

.artist-name {
  margin: 0 0 5px;

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.art-info h4 {
  margin: 0;

  font-family: "Fredoka", sans-serif;

  font-size: clamp(1.35rem, 2vw, 1.8rem);

  line-height: 1;

  font-weight: 500;
}

.art-title {
  margin: 9px 0 0;

  font-size: 0.78rem;

  opacity: 0.68;
}


/* =========================================================
   ARTWORK BUTTON
========================================================= */

.art-button {
  display: inline-block;

  margin-top: 17px;

  padding-bottom: 4px;

  border-bottom: 1px solid var(--ink);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  transition: opacity 0.2s ease;
}

.art-button:hover {
  opacity: 0.55;
}


/* =========================================================
   MARIO DELEON
========================================================= */

.deleon-section {
  background: var(--paper);
}


/* Mario artwork oval */

.deleon-section .art-image.deleon-oval {
  aspect-ratio: 1 / 1.12;

  border-radius: 50%;

  overflow: hidden;
}

.deleon-section .art-image.deleon-oval img {
  object-position: center;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================================================
   FOR CAFÉ OWNERS
========================================================= */

.cafe-section {
  padding: 150px 7vw;

  background: var(--ink);

  color: var(--paper);
}

.cafe-content {
  max-width: 1000px;

  margin: 0 auto;

  text-align: center;
}

.cafe-content h2 {
  max-width: 900px;

  margin-inline: auto;
}

.cafe-content p {
  max-width: 670px;

  margin: 0 auto 34px;

  font-size: 1.05rem;
}

.cafe-section .button {
  border-color: var(--paper);

  background: var(--paper);

  color: var(--ink);
}

.cafe-section .button:hover {
  background: transparent;

  color: var(--paper);
}


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

.contact-section {
  max-width: 1240px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1fr 0.7fr;

  gap: 70px;

  align-items: end;
}

.contact-text h2 {
  max-width: 720px;
}

.contact-text p {
  max-width: 560px;

  font-size: 1rem;
}

.contact-box {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);

  padding: 28px 0;
}

.contact-box a {
  display: inline-block;

  margin-bottom: 10px;

  font-family: "Fredoka", sans-serif;

  font-size: clamp(1.5rem, 3vw, 2.4rem);

  line-height: 1;

  font-weight: 500;

  word-break: break-word;
}

.contact-box p {
  margin: 0;

  font-size: 0.78rem;
}


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

footer {
  padding: 50px 7vw 35px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  border-top: 1px solid var(--ink);

  flex-wrap: wrap;
}

.footer-logo img {
  width: 105px;

  display: block;
}

footer p {
  margin: 0;

  font-size: 0.78rem;
}

footer .copyright {
  opacity: 0.6;
}


/* =========================================================
   DESIGNED BY CHLOE GROSS
========================================================= */

footer .designer {
  width: 100%;

  margin-top: 15px;

  padding-top: 15px;

  border-top: 1px solid rgba(23, 23, 23, 0.25);

  text-align: center;

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  opacity: 0.65;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;

    padding-top: 130px;
  }

  .hero-art {
    width: min(100%, 500px);
  }

  .art-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  /* Navigation */

  nav {
    height: 70px;

    padding: 0 20px;
  }

  .logo img {
    width: 95px;
  }

  .nav-links {
    gap: 13px;
  }

  .nav-links a {
    font-size: 0.6rem;

    letter-spacing: 0.04em;
  }


  /* Hero */

  .hero {
    padding: 115px 22px 65px;
  }

  .hero h1 {
    font-size:
      clamp(3.6rem, 17vw, 5.5rem);
  }

  .hero h1 span {
    margin-left: 0;
  }

  .hero-art {
    width: 90vw;
  }


  /* Sections */

  .section,
  .artist-section {
    padding: 85px 22px;
  }


  /* Exhibition */

  .section-intro {
    margin-bottom: 60px;
  }


  /* Artist navigation */

  .artist-jump {
    margin-bottom: 65px;
  }

  .artist-jump a {
    flex: 1 1 100%;
  }

  .artist-jump a + a {
    border-left: 0;

    border-top: 1px solid var(--ink);
  }


  /* Artist headings */

  .artist-heading {
    margin-bottom: 50px;
  }

  .artist-heading h3 {
    font-size:
      clamp(3.8rem, 18vw, 5.8rem);
  }


  /* Artwork */

  .art-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }


  /* Mario artwork */

  .deleon-section
  .art-image.deleon-oval {
    max-width: 82%;

    margin-inline: auto;
  }


  /* Café section */

  .cafe-section {
    padding: 100px 22px;
  }


  /* Contact */

  .contact-section {
    gap: 50px;
  }


  /* Footer */

  footer {
    padding: 35px 22px;

    flex-direction: column;

    align-items: center;

    text-align: center;
  }

  footer .designer {
    margin-top: 10px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
/* =========================
   ARTISTS PAGE
========================= */

.artists-page {
  width: 100%;
  background: var(--paper);
  padding: 115px 7vw 120px;
}


/* INTRO */

.artists-intro {
  max-width: 900px;
  margin: 0 auto 110px;
  text-align: center;
}

.artists-intro .eyebrow {
  margin-bottom: 18px;
  color: var(--forest-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artists-intro h1 {
  margin: 0 0 28px;

  font-family: "Fredoka", sans-serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;

  color: var(--forest-green);
}

.artists-intro h1 span {
  color: var(--bright-pink);
}

.artists-intro > p:last-child {
  max-width: 650px;
  margin: 0 auto;

  color: var(--forest-green);
  font-size: 1rem;
  line-height: 1.8;
}


/* =========================
   ARTIST PROFILE
========================= */

.artist-profile {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 135px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;

  gap: clamp(50px, 8vw, 110px);
}

.artist-profile:last-child {
  margin-bottom: 0;
}


/* Alternate the layout */

.artist-profile.reverse {
  direction: rtl;
}

.artist-profile.reverse .artist-profile-info {
  direction: ltr;
}


/* =========================
   ARTIST IMAGE
========================= */

.artist-profile-image {
  width: 100%;
  aspect-ratio: 4 / 5;

  overflow: hidden;

  border: 3px solid var(--forest-green);
  border-radius: 50% 50% 8% 8%;

  background: var(--soft);
}

.artist-profile-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


/* =========================
   ARTIST INFO
========================= */

.artist-profile-info {
  direction: ltr;
}

.artist-number {
  margin: 0 0 15px;

  color: var(--bright-pink);

  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.artist-profile-info h2 {
  margin: 0;

  color: var(--forest-green);

  font-family: "Fredoka", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.artist-type {
  margin: 18px 0 30px;

  color: var(--forest-green);

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.artist-profile-info > p:not(.artist-number):not(.artist-type) {
  max-width: 500px;
  margin: 0 0 18px;

  color: var(--forest-green);

  font-size: 0.95rem;
  line-height: 1.8;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

  #site-nav {
    height: 68px;
    padding: 0 6vw;
  }

  .nav-logo {
    width: 90px;
  }

  .nav-logo img {
    width: 90px;
    max-height: 42px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.65rem;
  }

  .artists-page {
    padding: 90px 6vw 80px;
  }

  .artists-intro {
    margin-bottom: 80px;
  }

  .artists-intro h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .artist-profile,
  .artist-profile.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 100px;
    direction: ltr;
  }

  .artist-profile.reverse .artist-profile-info {
    direction: ltr;
  }

  .artist-profile-image {
    aspect-ratio: 1 / 1;
  }

  .artist-profile-info h2 {
    font-size: 3rem;
  }
  @media (max-width: 800px) {

  .artist-images {
    min-height: 430px;
  }

  .artist-portrait {
    width: 55%;
    box-shadow:
      8px 8px 0 var(--bright-yellow);
  }

  .artist-artwork {
    width: 65%;
    box-shadow:
      -8px -8px 0 var(--bright-pink);
  }

  .artist-profile.reverse .artist-portrait {
    right: auto;
    left: 0;

    box-shadow:
      8px 8px 0 var(--bright-yellow);
  }

  .artist-profile.reverse .artist-artwork {
    left: auto;
    right: 0;

    box-shadow:
      -8px -8px 0 var(--bright-pink);
  }

}
/* =========================
   ARTIST IMAGE FRAMES
========================= */

.artist-images {
  position: relative;
  min-height: 560px;
  width: 100%;
}


/* Artist portrait */

.artist-portrait {
  position: absolute;
  z-index: 2;

  width: 52%;
  aspect-ratio: 4 / 5;

  top: 0;
  left: 0;

  overflow: hidden;

  background: var(--paper);

  border: 3px solid var(--forest-green);

  box-shadow:
    12px 12px 0 var(--bright-yellow);
}

.artist-portrait img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


/* Artwork */

.artist-artwork {
  position: absolute;
  z-index: 1;

  width: 65%;
  aspect-ratio: 4 / 5;

  right: 0;
  bottom: 0;

  overflow: hidden;

  background: var(--paper);

  border: 3px solid var(--forest-green);

  box-shadow:
    -12px -12px 0 var(--bright-pink);
}

.artist-artwork img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}
.artist-profile.reverse .artist-portrait {
  left: auto;
  right: 0;

  box-shadow:
    -12px 12px 0 var(--bright-yellow);
}

.artist-profile.reverse .artist-artwork {
  right: auto;
  left: 0;

  box-shadow:
    12px -12px 0 var(--bright-pink);
}
}