
:root {
  --paper: #f2f0ec;
  --paper-dark: #e8e6e1;
  --ink: #20242b;
  --muted: #777b82;
  --blue: #3457e8;
  --acid: #d5ff55;
  --line: rgba(32,36,43,.2);

  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
  --mono: "DM Mono", monospace;
  --pad: clamp(22px,6.3vw,104px);
}


::selection {
  background: var(--acid);
  color: var(--ink);
}

.section-pad {
  padding-left: var(--pad);
  padding-right: var(--pad);
}


/* COMMON HEADINGS */
/* 
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 55px;
}

.section-heading h2,
.contact-heading h2 {
  font: 600 clamp(58px,8vw,112px)/.84 var(--display);
  letter-spacing: -.085em;
  margin-top: 24px;
}

.section-heading h2 em,
.contact-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.section-description {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  padding-bottom: 5px;
} */

/* GALLERY */

.work {
  padding-top: 130px;
  padding-bottom: 130px;
}

.filters {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  margin-bottom: 28px;
}

.filter {
  border: 0;
  background: none;
  white-space: nowrap;
  cursor: pointer;
  color: var(--muted);
  font: 10px var(--mono);
}

.filter.active,
.filter:hover {
  color: var(--blue);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: 90px;
  gap: 14px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 4;
  min-height: 260px;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: #d6d4cf;
  text-align: left;
}

.gallery-card.tall {
  grid-row: span 6;
}

.gallery-card.wide {
  grid-column: span 8;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: .8s;
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: grayscale(20%);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  color: white;
  background: linear-gradient(180deg,rgba(0,0,0,.2),transparent 40%,rgba(0,0,0,.65));
}

.gallery-caption small {
  font: 9px var(--mono);
}

.gallery-caption strong {
  font: 600 17px var(--display);
}

.gallery-card.hidden {
  display: none;
}

.gallery-note {
  margin-top: 22px;
  font: 9px var(--mono);
  color: var(--muted);
  letter-spacing: 1px;
}

/* ABOUT */

.about {
  background: var(--ink);
  color: var(--paper);
  padding-top: 28px;
  padding-bottom: 110px;
}

.about-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.about-top span {
  font: 9px var(--mono);
  color: #aaa;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10vw;
  align-items: center;
  padding-top: 85px;
}

.about-image {
  height: 620px;
  max-height: 70vh;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.about-image span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: white;
  font: 9px var(--mono);
}

.about-content h2 {
  font: 600 clamp(55px,7vw,100px)/.84 var(--display);
  letter-spacing: -.085em;
  margin: 27px 0;
}

.about-content h2 em {
  color: var(--blue);
  font-style: normal;
}

.about-description {
  font-size: 14px;
  line-height: 1.8;
  color: #b5b7bc;
  max-width: 410px;
  margin-bottom: 28px;
}

.text-link {
  display: inline-block;
  font: 10px var(--mono);
  border-bottom: 1px solid var(--acid);
  padding-bottom: 9px;
}

.principles {
  margin-top: 62px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.principles > div {
  display: flex;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.principles > div > span {
  font: 10px var(--mono);
  color: var(--acid);
}

.principles p {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.principles strong {
  font: 500 13px var(--display);
}

.principles small {
  color: #9b9ea5;
  font-size: 11px;
}

/* STYLES */

.styles {
  padding-top: 130px;
  padding-bottom: 140px;
}

.style-list {
  border-top: 1px solid var(--line);
}

.style-item {
  display: grid;
  grid-template-columns: 70px 1fr 1fr 40px;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: .3s;
}

.style-item:hover {
  padding-left: 15px;
  background: rgba(52,87,232,.04);
}

.style-item span {
  color: var(--blue);
  font: 10px var(--mono);
}

.style-item h3 {
  font: 500 clamp(25px,3.3vw,43px) var(--display);
  letter-spacing: -1.8px;
}

.style-item p {
  font-size: 12px;
  color: var(--muted);
}

.style-item b {
  color: var(--blue);
  font-size: 22px;
  text-align: right;
}

/* QUOTE */

.quote-band {
  background: var(--acid);
  padding: 75px 0;
}

.quote-mark {
  font: 100px/.6 Georgia;
  color: var(--blue);
}

.quote-band p {
  font: 600 clamp(25px,4.4vw,58px)/1.05 var(--display);
  letter-spacing: -2px;
  margin: 25px 0 32px;
}

.quote-band em {
  color: var(--blue);
  font-style: normal;
}

.quote-band small {
  font: 9px var(--mono);
}


/* MOBILE */

@media(max-width:760px) {

  :root { --pad: 22px; }

  .header { height: 72px; }

  .nav {
    position: fixed;
    inset: 72px 0 auto;
    background: var(--paper);
    padding: 30px var(--pad);
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%);
    transition: .35s;
    z-index: -1;
  }

  .nav.open { transform: translateY(0); }

  .nav a { font: 500 15px var(--display); }

  .header-btn {
    margin-left: auto;
    margin-right: 18px;
    font-size: 8px;
    padding: 10px;
  }

  .menu-btn { display: block; }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .top-meta { font-size: 7px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 58px 0 50px;
  }

  .hero-content h1 {
    font-size: clamp(74px,17vw,126px);
    margin: 30px 0;
  }

  .hero-visual {
    width: 88%;
    justify-self: center;
    margin-right: 4%;
  }

  .hero-image {
    height: 470px;
    min-height: 0;
  }

  .round-stamp {
    width: 94px;
    height: 94px;
    right: -24px;
  }

  .hero-footer { font-size: 7px; }
  .scroll-line { width: 22%; }

  .work,.styles,.contact {
    padding-top: 85px;
    padding-bottom: 90px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .contact-heading h2 {
    font-size: clamp(58px,13vw,90px);
  }

  .filters { gap: 22px; }
  .filter { font-size: 9px; }

  .gallery {
    grid-auto-rows: 70px;
    gap: 9px;
  }

  .gallery-card {
    grid-column: span 6;
    grid-row: span 4;
    min-height: 0;
  }

  .gallery-card.tall { grid-row: span 5; }
  .gallery-card.wide {
    grid-column: span 12;
    grid-row: span 4;
  }

  .gallery-caption { padding: 11px; }
  .gallery-caption strong { font-size: 13px; }

  .about { padding-bottom: 80px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 55px;
  }

  .about-image {
    height: 420px;
    max-height: none;
    width: 88%;
  }

  .about-content h2 {
    font-size: clamp(60px,13vw,90px);
  }

  .principles { margin-top: 42px; }

  .style-item {
    grid-template-columns: 32px 1fr 25px;
    gap: 10px;
    padding: 22px 0;
  }

  .style-item p {
    grid-column: 2;
    grid-row: 2;
  }

  .style-item b {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .quote-band { padding: 55px 0; }

  .quote-band p {
    font-size: clamp(26px,6vw,42px);
    letter-spacing: -1px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 48px;
  }

  .footer-top {
    padding-bottom: 45px;
  }

  .footer-logo { font-size: 60px; }
  .footer-top h2 { font-size: 30px; }

  .footer-bottom {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 7px;
  }

  .lightbox { padding: 18px; }
  .lightbox-content { max-width: 88vw; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media(max-width:420px) {
  .header-btn { display: none; }
  .hero-image { height: 390px; }
  .about-image { height: 350px; }
  .gallery { grid-auto-rows: 58px; }
  .footer-top h2 { font-size: 25px; }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
