/* =========================================================
   GOOGLE FONT
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

/* =========================================================
   ROOT
========================================================= */

:root {
  --black: #080808;
  --white: #ffffff;
  --cream: #f5f2eb;
  --gold: #c5a46d;
  --gold-light: #dfc58f;
  --text: #222222;
  --muted: #777777;
  --border: #dedede;
}

/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================================
   PROJECT PAGE
========================================================= */

.project-page {
  width: 100%;
  background: #ffffff;
}

/* =========================================================
   PROJECT CONTAINER
========================================================= */

.project-container {
  width: min(1250px, calc(100% - 100px));
  margin: 0 auto;

  min-height: 700px;

  padding: 150px 0 130px;

  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 120px;

  align-items: start;
}

/* =========================================================
   SIDEBAR
========================================================= */

.project-sidebar {
  width: 100%;

  position: sticky;
  top: 120px;
}

/* =========================================================
   PROJECT INFO
========================================================= */

.project-info {
  padding: 0 0 30px;
  margin-bottom: 30px;

  border-bottom: 1px solid var(--border);
}

.project-info:last-child {
  margin-bottom: 0;
}

.project-info h3 {
  margin: 0 0 10px;

  font-family: "Inter", sans-serif;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #999999;
}

.project-info p {
  margin: 0;

  font-family: "Inter", sans-serif;

  font-size: 14px;
  font-weight: 500;

  line-height: 1.7;

  color: #111111;
}

/* =========================================================
   PROJECT CONTENT
========================================================= */

.project-content {
  max-width: 850px;

  padding-right: 20px;
}

/* =========================================================
   PROJECT LABEL
========================================================= */

.project-label {
  margin: 0 0 25px;

  color: var(--gold);

  font-family: "Inter", sans-serif;

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 3px;

  text-transform: uppercase;
}

/* =========================================================
   PROJECT TITLE
========================================================= */

.project-content h1 {
  max-width: 850px;

  margin: 0 0 45px;

  color: #111111;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(55px, 6vw, 92px);

  font-weight: 500;

  line-height: 0.95;

  letter-spacing: -2px;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.project-description {
  max-width: 720px;
}

.project-description p {
  margin: 0 0 25px;

  color: #666666;

  font-family: "Inter", sans-serif;

  font-size: 16px;

  font-weight: 400;

  line-height: 1.9;
}

.project-description p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   WEBSITE BUTTON
========================================================= */

.website-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 40px;

  padding: 15px 28px;

  background: #111111;

  color: #ffffff;

  font-family: "Inter", sans-serif;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  border: 1px solid #111111;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.website-button:hover {
  background: transparent;

  color: #111111;

  transform: translateY(-3px);
}

/* =========================================================
   SUBTLE GOLD LINE
========================================================= */

.project-content::after {
  content: "";

  display: block;

  width: 70px;
  height: 1px;

  margin-top: 70px;

  background: var(--gold);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .project-container {
    width: min(90%, 1000px);

    grid-template-columns: 210px 1fr;

    gap: 70px;

    padding: 120px 0 100px;
  }

  .project-content h1 {
    font-size: clamp(52px, 7vw, 75px);
  }
}

/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 850px) {
  .project-container {
    width: calc(100% - 70px);

    grid-template-columns: 1fr;

    gap: 60px;

    padding: 110px 0 90px;
  }

  .project-sidebar {
    position: static;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
  }

  .project-info {
    margin-bottom: 0;

    padding-bottom: 20px;
  }

  .project-content {
    max-width: 100%;

    padding-right: 0;
  }

  .project-content h1 {
    max-width: 800px;

    font-size: clamp(50px, 8vw, 72px);
  }

  .project-description {
    max-width: 750px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .project-container {
    width: calc(100% - 40px);

    padding: 90px 0 70px;

    gap: 50px;
  }

  /* SIDEBAR */

  .project-sidebar {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .project-info {
    padding: 0 0 18px;

    margin-bottom: 18px;
  }

  .project-info h3 {
    font-size: 10px;

    letter-spacing: 1.8px;

    margin-bottom: 7px;
  }

  .project-info p {
    font-size: 13px;

    line-height: 1.6;
  }

  /* LABEL */

  .project-label {
    margin-bottom: 20px;

    font-size: 10px;

    letter-spacing: 2.5px;
  }

  /* TITLE */

  .project-content h1 {
    margin-bottom: 30px;

    font-size: clamp(44px, 13vw, 60px);

    line-height: 0.95;

    letter-spacing: -1px;
  }

  /* DESCRIPTION */

  .project-description p {
    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 20px;
  }

  /* BUTTON */

  .website-button {
    margin-top: 30px;

    padding: 14px 23px;

    font-size: 10px;
  }

  /* GOLD LINE */

  .project-content::after {
    margin-top: 50px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .project-container {
    width: calc(100% - 30px);

    padding-top: 75px;
  }

  .project-content h1 {
    font-size: 42px;

    letter-spacing: -0.8px;
  }

  .project-description p {
    font-size: 13px;
  }
}
