:root {
  --ink: #111310;
  --ink-soft: #1a1d19;
  --paper: #f3f0e9;
  --paper-deep: #e7e1d7;
  --muted: #8c9289;
  --line: rgba(17, 19, 16, 0.16);
  --accent: #f5bb27;
  --heading: "Barlow Condensed", Impact, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.section-shell {
  width: min(1440px, calc(100% - 9vw));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4.5vw;
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--accent);
  font-family: var(--heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-copy {
  display: grid;
  gap: 5px;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: var(--heading);
  font-size: 20px;
  letter-spacing: 1.5px;
}

.brand-copy small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta) {
  opacity: 0.78;
  transition: opacity 180ms ease;
}

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

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 11px 18px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: #fff;
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: 100svh;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.8) 0%, rgba(7, 9, 8, 0.4) 35%, rgba(7, 9, 8, 0.08) 70%),
    linear-gradient(0deg, rgba(7, 9, 8, 0.5), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 9vw));
  margin: 0 auto 13vh;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(88px, 11vw, 180px);
}

h1 span,
h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-intro {
  width: min(520px, 92%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.text-link {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.text-link span {
  padding-left: 5px;
  color: var(--accent);
  font-size: 17px;
}

.hero-meta {
  position: absolute;
  z-index: 1;
  right: 4.5vw;
  bottom: 55px;
  display: flex;
  width: 240px;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hero-rule {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.45);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 48px;
  left: 4.5vw;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  padding-block: 120px 52px;
}

h2 {
  font-size: clamp(68px, 8vw, 118px);
}

.intro-copy {
  align-self: end;
}

.intro-copy > p {
  max-width: 600px;
  margin: 0 0 30px;
  color: #51564f;
  font-size: 15px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 14px;
  color: #5e645c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter:hover,
.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 160px;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding-bottom: 120px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  background: #d8d3cb;
  padding: 0;
  color: #fff;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 8, 0.64), transparent 55%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after {
  opacity: 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.045);
}

.gallery-card .caption {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 2px;
  opacity: 0;
  text-align: left;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.gallery-card:hover .caption,
.gallery-card:focus-visible .caption {
  opacity: 1;
  transform: translateY(0);
}

.caption small,
.lightbox-category {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.caption strong {
  font-family: var(--heading);
  font-size: 26px;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-card.feature {
  grid-column: span 8;
  grid-row: span 4;
}

.gallery-card.large {
  grid-column: span 6;
  grid-row: span 3;
}

.gallery-card.medium {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-card.tall {
  grid-column: span 4;
  grid-row: span 4;
}

.statement {
  position: relative;
  display: grid;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.statement > img,
.statement-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.statement > img {
  object-fit: cover;
}

.statement-shade {
  background: linear-gradient(90deg, rgba(8, 11, 9, 0.82), rgba(8, 11, 9, 0.23) 60%, transparent);
}

.statement-copy {
  position: relative;
  z-index: 1;
}

.statement-copy p:last-child {
  max-width: 510px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.about {
  padding-block: 126px;
}

.section-number {
  margin: 0 0 48px;
  color: #737970;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
}

.about-grid > div {
  max-width: 620px;
}

.about-grid .lead {
  margin-top: 0;
  color: #30342f;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.about-grid p:not(.lead) {
  color: #62675f;
}

.text-link.dark {
  display: inline-flex;
  margin-top: 16px;
  color: var(--ink);
}

.contact {
  background: var(--ink-soft);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  padding-block: 108px;
}

.contact-copy {
  align-self: end;
}

.contact-copy p {
  max-width: 570px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.68);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
}

.site-footer .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.site-footer .brand-copy strong {
  font-size: 17px;
}

.site-footer .brand-copy small,
.site-footer p,
.footer-top {
  color: #686e65;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  border: 0;
  background: rgba(5, 6, 5, 0.95);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(5, 6, 5, 0.82);
}

.lightbox figure {
  display: grid;
  width: min(1180px, 82vw);
  height: calc(100vh - 80px);
  margin: 40px auto;
  align-content: center;
  justify-items: center;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 142px);
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
}

.lightbox-title {
  font-family: var(--heading);
  font-size: 26px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  z-index: 2;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: #fff;
}

.lightbox-close {
  top: 20px;
  right: 27px;
  font-size: 42px;
  font-weight: 200;
}

.lightbox-arrow {
  top: 50%;
  padding: 15px;
  font-size: 60px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    padding-top: 18px;
  }

  .menu-toggle {
    z-index: 5;
    display: grid;
    cursor: pointer;
    gap: 7px;
    border: 0;
    background: transparent;
    padding: 10px 0 10px 10px;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: #fff;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 4;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 28px;
    background: rgba(17, 19, 16, 0.98);
    font-family: var(--heading);
    font-size: 34px;
    letter-spacing: 1px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a:not(.nav-cta) {
    opacity: 1;
  }

  .nav-cta {
    font-family: var(--body);
    font-size: 10px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-image {
    object-position: 54% center;
  }

  .hero-content {
    margin-bottom: 18vh;
  }

  h1 {
    font-size: clamp(76px, 23vw, 126px);
  }

  .hero-meta {
    display: none;
  }

  .intro,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 24px;
    padding-block: 80px 36px;
  }

  h2 {
    font-size: clamp(65px, 20vw, 100px);
  }

  .gallery {
    grid-auto-rows: 105px;
    gap: 8px;
    padding-bottom: 80px;
  }

  .gallery-card.feature {
    grid-column: span 12;
    grid-row: span 3;
  }

  .gallery-card.large {
    grid-column: span 12;
    grid-row: span 3;
  }

  .gallery-card.medium,
  .gallery-card.tall {
    grid-column: span 6;
    grid-row: span 3;
  }

  .caption {
    display: none !important;
  }

  .statement {
    min-height: 540px;
  }

  .statement > img {
    object-position: 57% center;
  }

  .about {
    padding-block: 82px;
  }

  .about-grid {
    gap: 22px;
  }

  .about-grid .lead {
    font-size: 18px;
  }

  .contact-grid {
    gap: 22px;
    padding-block: 78px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 18px;
  }

  .site-footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .lightbox figure {
    width: calc(100vw - 32px);
  }

  .lightbox-arrow {
    bottom: 20px;
    top: auto;
    font-size: 44px;
    transform: none;
  }
}
