:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --ink: #111111;
  --muted: #6f6b62;
  --line: rgba(17, 17, 17, 0.18);
  --accent: #9e2532;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: #f1dc4b;
}

::-moz-selection {
  background: #f1dc4b;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(var(--paper), #eee8dc);
  background-size: 12px 12px, auto;
  font-family: Arial, Helvetica, sans-serif;
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  color: #f8f4ea;
  font-size: 0.875rem;
  mix-blend-mode: difference;
}

.site-mark {
  font-size: 1rem;
  line-height: 1;
}

.site-header p {
  color: inherit;
  text-align: right;
}

.home-grid {
  display: grid;
  min-height: 100vh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-link {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #181818;
  isolation: isolate;
}

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

.project-link img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition:
    filter 500ms ease,
    opacity 500ms ease,
    transform 700ms ease;
}

.project-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 55%);
  transition: opacity 500ms ease;
}

.project-link-season img {
  filter: saturate(0.78) contrast(1.02);
}

.project-link-fashion img {
  filter: saturate(0.9) contrast(1.08);
}

.project-link:hover img {
  opacity: 0.88;
  transform: scale(1.06);
}

.project-link:hover::after {
  opacity: 0.78;
}

.project-meta,
.project-link strong,
.project-link small {
  max-width: 560px;
  color: #fffaf0;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.project-meta {
  margin-bottom: 18px;
  font-size: 0.875rem;
  line-height: 1;
}

.project-link strong {
  font-size: 4.25rem;
  line-height: 0.92;
  font-weight: normal;
}

.project-link small {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.45;
}

.project-link-fashion .project-meta {
  color: #f8cdd2;
}

@media (max-width: 980px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .project-link {
    min-height: 50vh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-link:last-child {
    border-bottom: 0;
  }

  .project-link strong {
    font-size: 3rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    padding: 18px;
  }

  .site-header p {
    max-width: 160px;
  }

  .project-link {
    min-height: 52vh;
    padding: 20px;
  }

  .project-link strong {
    font-size: 2.15rem;
  }
}
