@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600&display=swap');


/* ======================================
   VARIABLES
====================================== */

:root {
  --bg: #e8ed75;
  --bg-light: #fbfbe7;
  --ink: #272900;
  --line: rgba(39, 41, 0, 0.85);

  --page-padding: 22px;

  --display-font:
    "Anton",
    Impact,
    Haettenschweiler,
    "Arial Narrow Bold",
    sans-serif;

  --body-font:
    "Inter",
    Arial,
    Helvetica,
    sans-serif;
}


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

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;

  background: linear-gradient(
    135deg,
    #f1f394 0%,
    #e8ed75 45%,
    #cfd85f 100%
  );

  color: var(--ink);

  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.4;
}

img {
  display: block;

  width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

p {
  font-family: var(--body-font);
  font-weight: 400;
  letter-spacing: -0.01em;
}


/* ======================================
   HEADER
====================================== */

.site-header {
  min-height: 82px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 24px;

  padding:
    12px
    var(--page-padding);

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

  position: sticky;
  top: 0;

  z-index: 9999;

  background: #e7e979;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;

  gap: 34px;
}

.header-right {
  justify-content: flex-end;
}

.header-left a {
  text-transform: uppercase;
  letter-spacing: 0.02em;

  font-size: 15px;
}

.header-left a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-logo {
  font-family: var(--display-font);

  font-size: 24px;
  line-height: 1;

  text-align: center;
  text-transform: uppercase;
}


/* ======================================
   BUTTONS
====================================== */

.pill-button {
  min-width: 138px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 27px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  background: transparent;
  color: var(--ink);
}

/*  OLD VERSION - INVERTED
.pill-button {
  min-width: 138px;

  display: inline-flex;

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

  padding: 12px 27px;

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

  border-radius: 999px;

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

  cursor: pointer;

  text-transform: uppercase;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  background: var(--ink);
  color: var(--bg);
}
*/

/* ======================================
   MOBILE MENU BUTTON
====================================== */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 10px 5px;

  border: 0;

  background: transparent;

  cursor: pointer;

  position: relative;

  z-index: 10001;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 1px;

  margin: 7px 0;

  background: var(--ink);

  pointer-events: none;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.mobile-menu {
  display: none;
}


/* ======================================
   INTRO STRIP
====================================== */

.intro-strip {
  padding:
    12px
    var(--page-padding);

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

.intro-strip p {
  max-width: 447px;

  margin: 0;

  font-size:
    clamp(
      15px,
      1.4vw,
      18px
    );
}


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

.hero {
  display: flex;

  align-items: center;

  min-height: 215px;

  padding:
    10px
    var(--page-padding);

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

  overflow: hidden;
}

.hero h1 {
    width: 100%;
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(5rem, 14vw, 14rem);
    font-weight: 400;
    line-height: 0.75;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    padding: 22px 0;
}


/* ======================================
   COMING SOON
====================================== */

.coming-soon {
  min-height: 320px;

  display: flex;

  flex-direction: column;

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

  text-align: center;

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

.coming-soon p,
.coming-soon h2 {
  margin: 0;

  font-family: var(--display-font);

  text-transform: uppercase;
}

.coming-year {
  font-size:
    clamp(
      2.4rem,
      5vw,
      4rem
    );
}

.coming-soon h2 {
  font-size:
    clamp(
      2rem,
      4.2vw,
      3.4rem
    );

  line-height: 1;

  font-weight: 400;
}


/* ======================================
   SECTION HEADING
====================================== */

.section-heading {
  display: flex;

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

  gap: 20px;

  padding:
    14px
    var(--page-padding);

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

  text-transform: uppercase;

  font-size: 14px;
}

.section-heading p,
.section-heading span {
  margin: 0;
}


/* ======================================
   PROJECTS
====================================== */
/* THREE COLUMN GRID */
.projects-grid {
  display: grid;

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

/* TWO COLUMN GRID */

.projects-grid-two {
  display: grid;

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


.project-card {
  border-right:
    1px solid var(--line);
}

.project-card--wide .project-image {
  aspect-ratio: 16 / 9;
}

.project-card:last-child {
  border-right: 0;
}

.project-image {
  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: #dadf69;
}

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

  object-fit: cover;

  filter:
    grayscale(100%)
    contrast(0.95);

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.025);

  filter:
    grayscale(0%)
    contrast(1);
}

.project-meta {
  min-height: 110px;

  padding:
    16px
    var(--page-padding);

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

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

.project-meta h3 {
  margin:
    0
    0
    4px;

  font-family:
    var(--display-font);

  font-size:
    clamp(
      1.7rem,
      3vw,
      2.7rem
    );

  line-height: 1;

  text-transform: uppercase;

  font-weight: 400;
}

.project-meta p {
  margin: 0;

  font-size: 14px;
}


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

.about-section {
  display: grid;

  grid-template-columns:
    1fr
    2fr;

  min-height: 400px;

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

.about-label {
  padding:
    25px
    var(--page-padding);

  border-right:
    1px solid var(--line);

  text-transform: uppercase;
}

.about-label p {
  margin: 0;
}

.about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 73px clamp(24px, 7vw, 110px);
}

.about-copy p {
  max-width: 900px;

  margin:
    0
    0
    30px;

  font-size:
    clamp(
      1.7rem,
      3.3vw,
      3.8rem
    );

  line-height: 1.05;

  letter-spacing: -0.025em;
}

.about-copy p:last-child {
  margin-bottom: 0;
}


/* ======================================
   PRE-SAVE SECTION
====================================== */

.pre-save-section {
  padding:
    clamp(
      60px,
      8vw,
      120px
    )
    var(--page-padding);

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


/* centered content wrapper */

.pre-save-inner {
  width: 100%;

  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap:
    clamp(
      40px,
      6vw,
      90px
    );

  align-items: center;
}


/* ======================================
   PRE-SAVE COPY
====================================== */

.pre-save-copy {
  min-width: 0;
}

.pre-save-copy .eyebrow {
  margin:
    0
    0
    15px;

  font-family:
    var(--body-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pre-save-copy h2 {
  margin:
    0
    0
    25px;

  font-family:
    var(--display-font);
  font-size:
    clamp(
      3rem,
      7vw,
      7rem
    );
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.pre-save-copy p {
  max-width: 520px;
  margin: 0;
  font-family:
    var(--body-font);
  font-size:
    clamp(
      1rem,
      1.4vw,
      1.15rem
    );
  line-height: 1.5;
}


/* ======================================
   PRE-SAVE FORM
====================================== */

.pre-save-form {
  width: 100%;
  align-self: center;
  min-width: 0;
}

.pre-save-form label {
  display: block;
  margin-bottom: 8px;
  font-family:
    var(--body-font);
  font-size: 15px;
  font-weight: 500;
}

.pre-save-form label span {
  margin-left: 4px;
  opacity: 0.55;
  font-weight: 400;
}


/* ======================================
   PRE-SAVE INPUT + BUTTON ROW
====================================== */

.pre-save-input-row {
  display: flex;

  align-items: stretch;

  gap: 12px;

  width: 100%;
}

.pre-save-input-row input {
  flex: 1;

  min-width: 0;

  height: 48px;

  padding:
    8px
    18px;

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

  border-radius: 999px;

  background: transparent;

  color: var(--ink);

  font-family:
    var(--body-font);

  font-size: 16px;

  outline: none;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pre-save-input-row input::placeholder {
  color: var(--ink);

  opacity: 0.5;
}

.pre-save-input-row input:focus {
  background:
    rgba(255, 255, 255, 0.2);

  box-shadow:
    0
    0
    0
    2px
    rgba(39, 41, 0, 0.14);
}


/* ======================================
   PRE-SAVE BUTTON
====================================== */

.pre-save-input-row .pill-button {
  flex-shrink: 0;

  min-width: 140px;

  height: 48px;
}

.pre-save-submit:disabled {
  opacity: 0.55;

  cursor: wait;
}


/* ======================================
   PRE-SAVE RESPONSE MESSAGE
====================================== */

.pre-save-message {
  min-height: 22px;

  margin:
    14px
    0
    0;

  font-family:
    var(--body-font);

  font-size: 14px;

  line-height: 1.4;
}


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

.contact-section {
  background:
    var(--bg-light);

  padding:
    75px
    var(--page-padding)
    50px;
}

.contact-heading {
  display: flex;

  justify-content: center;

  margin-bottom: 45px;
}

.contact-heading h2 {
  margin: 0;

  font-family:
    var(--display-font);

  font-size:
    clamp(
      3.4rem,
      8vw,
      6rem
    );

  line-height: 0.9;

  text-align: center;

  text-transform: uppercase;

  font-weight: 400;
}

.contact-form {
  width:
    min(
      100%,
      635px
    );

  margin:
    0
    auto;
}

.form-group {
  margin-bottom: 20px;
}

.name-group {
  display: grid;

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

  gap: 10px;
}

label {
  display: block;

  margin-bottom: 6px;

  font-size: 15px;
}

label span {
  opacity: 0.55;

  margin-left: 4px;
}

input,
textarea {
  width: 100%;

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

  border-radius: 25px;

  background: transparent;

  color: var(--ink);

  outline: 0;

  transition:
    box-shadow 0.2s ease,
    background 0.2s ease;
}

input {
  height: 47px;

  padding:
    8px
    18px;
}

textarea {
  min-height: 120px;

  padding:
    16px
    18px;

  resize: vertical;
}

input:focus,
textarea:focus {
  box-shadow:
    0
    0
    0
    2px
    rgba(39, 41, 0, 0.16);

  background:
    rgba(255, 255, 255, 0.25);
}

.form-submit {
  margin-top: 0;
}

.form-submit:disabled {
  opacity: 0.55;

  cursor: wait;
}

.form-message {
  margin-top: 15px;

  min-height: 22px;

  font-size: 14px;
}

.form-message:not(:empty) {
  padding-top: 4px;
}


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

.site-footer {
  display: flex;

  justify-content: space-between;

  gap: 30px;

  padding:
    22px
    var(--page-padding);

  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;

  gap: 30px;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
}

.instagram-icon {
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

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

.instagram-link:hover .instagram-icon,
.instagram-link:focus-visible .instagram-icon {
  transform: scale(1.12);
  opacity: 0.7;
}


/* ======================================
   BACK TO TOP
====================================== */

.back-to-top {
  display: inline-flex;

  align-items: center;

  gap: 8px;
}

.back-to-top__icon {
  display: inline-flex;

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

  width: 24px;
  height: 24px;

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

  border-radius: 50%;

  font-size: 14px;

  line-height: 1;

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

.back-to-top:hover .back-to-top__icon,
.back-to-top:focus-visible .back-to-top__icon {
  transform:
    translateY(-3px);

  background:
    var(--ink);

  color:
    var(--bg);
}


/* ======================================
   TABLET / MOBILE NAVIGATION
====================================== */

@media (max-width: 900px) {

  .site-header {
    grid-template-columns:
      1fr
      auto;

    position: sticky;

    top: 0;

    z-index: 9999;

    background: #e7e979;
  }


  /* hide desktop navigation */

  .header-left,
  .header-right {
    display: none;
  }


  /* logo */

  .site-logo {
    text-align: left;

    font-size: 21px;

    min-width: 0;
  }


  /* hamburger */

  .menu-toggle {
    display: block;

    position: relative;

    z-index: 10001;
  }


  /* mobile navigation */

  .mobile-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    width: 100%;

    padding:
      20px
      var(--page-padding)
      30px;

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

    background: #e7e979;

    flex-direction: column;

    gap: 18px;

    text-transform: uppercase;

    z-index: 10000;
  }

  .mobile-menu.is-open {
    display: flex;
  }

   .mobile-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  /*border-radius: 999px;*/
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: var(--ink);
  color: var(--bg);

  transform: translateX(4px);
}

   .mobile-menu a:active {
  transform: translateX(6px) scale(0.99);
}


  /* hero */

  .hero {
    min-height: 185px;
  }

  .hero h1 {
    font-size:
      clamp(
        5rem,
        16vw,
        9rem
      );
  }


  /* projects */

  .projects-grid {
    grid-template-columns:
      1fr
      1fr;
  }

  .project-card {
    border-bottom:
      1px solid var(--line);
  }

  .project-card:nth-child(2) {
    border-right: 0;
  }

  .project-card:last-child {
    grid-column:
      1 / -1;
  }


  /* about */

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

  .about-label {
    border-right: 0;

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


  /* pre-save */

  .pre-save-inner {
    max-width: 760px;

    gap: 45px;
  }

  .pre-save-copy h2 {
    font-size:
      clamp(
        3rem,
        8vw,
        5rem
      );
  }

}


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

@media (max-width: 700px) {

  .pre-save-section {
    padding:
      60px
      var(--page-padding);
  }

  .pre-save-inner {
    grid-template-columns:
      1fr;

    max-width: 560px;

    gap: 40px;
  }

  .pre-save-copy h2 {
    margin-bottom: 20px;

    font-size:
      clamp(
        3.2rem,
        14vw,
        5rem
      );
  }

  .pre-save-copy p {
    max-width: 100%;
  }

  .pre-save-input-row {
    flex-direction: column;
  }

  .pre-save-input-row input {
    width: 100%;
  }

  .pre-save-input-row .pill-button {
    width: 100%;
  }

}


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

@media (max-width: 600px) {

  :root {
    --page-padding: 16px;
  }


  /* header */

  .site-header {
    min-height: 70px;

    grid-template-columns:
      1fr
      auto;

    z-index: 9999;
  }

  .site-logo {
    max-width: 220px;

    font-size: 18px;
  }

  .menu-toggle {
    position: relative;

    z-index: 10001;
  }

  .mobile-menu {
    z-index: 10000;
  }


  /* intro */

  .intro-strip p {
    max-width: 300px;
  }


  /* hero */

  .hero {
    min-height: 145px;
  }

  .hero h1 {
        font-size: clamp(4rem, 22vw, 6.6rem);
        line-height: 1.2;
        white-space: normal;
        letter-spacing: normal;
  }


  /* coming soon */

  .coming-soon {
    min-height: 260px;
  }


  /* section headings */

  .section-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 5px;
  }


  /* projects */

  .projects-grid {
    grid-template-columns:
      1fr;
  }

  .project-card {
    border-right: 0;
  }

  .project-card:last-child {
    grid-column: auto;
  }

  .project-image {
    aspect-ratio: 16 / 10;
  }


  /* about */

  .about-copy {
    padding:
      40px
      var(--page-padding);
  }


  /* contact */

  .contact-section {
    padding-top: 50px;
  }

  .contact-heading h2 {
        font-size: clamp(3.2rem, 16vw, 5rem);
        line-height: 1.1;
  }

  .name-group {
    grid-template-columns:
      1fr;
  }


  /* footer */

  .site-footer {
    flex-direction: column;

    gap: 15px;
  }

  .footer-links {
    justify-content: space-between;
  }

}


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

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

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;
  }

}