* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;

  overflow-x: hidden;
}

/* ===== Navigation ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 70px;

  background: white;

  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 30px;
  height: 100%;
}

.nav-left,
.nav-right {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               system-ui, sans-serif;

  font-size: 0.82rem;
  font-weight: 500;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  text-decoration: none;
  color: #000;

  white-space: nowrap;
}

.nav-left:hover,
.nav-right:hover {
  opacity: 0.6;
}

main {
  padding-top: 50px;
}

/* ===== Homepage Hero ===== */

.hero {
  min-height: 1vh;

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

  padding: 20px 60px 40px 50px;
}

/* ===== Title ===== */

.hero-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 450;

  letter-spacing: 0.035em;
  line-height: 0.95;

  margin: 0;

  max-width: 70%;
}

/* ===== Bottom Hero Layout ===== */

.hero-content {
  display: grid;

  grid-template-columns: auto 1fr;
  align-items: end;

  margin-top: 2rem;
  min-height: 0;
}

/* ===== Metadata ===== */

.hero-meta {
  align-self: end;

  padding-bottom: 8px;

  z-index: 2;
}

.publication-number {
  font-family: 'Times New Roman', Times, serif;

  font-size: clamp(4rem, 7vw, 6rem);

  letter-spacing: 0.07em;
  line-height: 1;

  margin-bottom: 0.2rem;
}

.read-link {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               system-ui, sans-serif;

  font-size: 1rem;

  letter-spacing: 0.05em;
  text-transform: uppercase;

  color: #000;

  text-decoration: underline;
  text-underline-offset: 3px;

  transition:
    opacity 0.2s ease,
    text-decoration-color 0.2s ease;
}

.read-link:hover {
  opacity: 0.55;

  text-decoration-color: transparent;
}

/* ===== Image ===== */

.hero-image {
  justify-self: end;
  align-self: end;
}

.hero-image img {
  width: min(38vw, 560px);

  display: block;

  aspect-ratio: 14 / 15;

  object-fit: cover;
}

/* ===== Featured Publications ===== */

.featured-publications {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    260px;

  gap: 5rem;

  padding: 4.5rem 56px 6rem 56px;

  background: #f5f5f3;
}

/* ===== Main Publications Title ===== */

.featured-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: 3.5rem;

  font-weight: 450;

  letter-spacing: 0.03em;

  margin: 0 0 3rem 0;
}

/* ===== Sidebar Titles ===== */

.sidebar-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: 1.4rem;

  font-weight: 500;

  letter-spacing: 0.04em;

  margin: 0 0 1.5rem 0;
}

.publication-grid {
  display: grid;

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

  gap: 3rem;
}

.publication-card {
  text-decoration: none;

  color: inherit;

  display: block;
}

.publication-card img {
  width: 100%;

  aspect-ratio: 14 / 15;

  object-fit: cover;

  display: block;

  margin-bottom: 1rem;

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

.publication-card:hover img {
  opacity: 0.9;

  transform: translateY(-2px);
}

.publication-card-meta {
  font-family: 'Times New Roman', Times, serif;

  font-size: 1.5rem;

  margin-bottom: 0.75rem;
}

.publication-card h3 {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: 2rem;

  font-weight: 450;

  line-height: 1.05;

  letter-spacing: 0.02em;

  margin: 0;
}

.featured-sidebar {
  align-self: start;
  padding-top: 6.85rem;
}

.explore-links {
  display: flex;

  flex-direction: column;

  gap: 1rem;
}

.explore-links a {
  font-family: 'Times New Roman', Times, serif;

  font-size: 1.15rem;

  color: #000;

  text-decoration: underline;

  text-underline-offset: 3px;

  transition:
    opacity 0.2s ease,
    text-decoration-color 0.2s ease;
}

.explore-links a:hover {
  opacity: 0.55;

  text-decoration-color: transparent;
}

.recent-posts {
  margin-top: 5rem;
}

.recent-post-links {
  display: flex;

  flex-direction: column;

  gap: 1rem;
}

.recent-post-links a {
  font-family: 'Times New Roman', Times, serif;

  font-size: 1.15rem;

  color: #000;

  text-decoration: underline;

  text-underline-offset: 3px;

  transition:
    opacity 0.2s ease,
    text-decoration-color 0.2s ease;
}

.recent-post-links a:hover {
  opacity: 0.55;

  text-decoration-color: transparent;
}

/* ===== Post Pages ===== */

.post-page {
  padding: 48px 56px 60px 56px;

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

  max-width: 1400px;
  min-height: 100vh;
  margin: 0 auto;
}

.post-header {
  display: grid;

  grid-template-columns:
    minmax(300px, 720px)
    minmax(320px, 350px);

  justify-content: start;

  gap: 3rem;

  align-items: start;

  margin-bottom: 2.5rem;
}

.post-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: clamp(4rem, 8vw, 7rem);

  font-weight: 450;

  letter-spacing: 0.035em;
  line-height: 0.95;

  margin: 0;

  max-width: 85%;
}

.post-meta {
  text-align: right;

  width: fit-content;

  justify-self: end;

  font-family: 'Times New Roman', Times, serif;

  font-size: 1.1rem;

  line-height: 1.8;

  white-space: nowrap;
}

.post-content-grid {
  display: grid;

  grid-template-columns:
    minmax(300px, 720px)
    minmax(320px, 350px);

  justify-content: start;
  align-items: start;

  gap: 3rem;
}

.post-body {
  font-family: 'Times New Roman', Times, serif;

  font-size: clamp(1.15rem, 1.3vw, 1.4rem);

  line-height: 1.9;

  max-width: 720px;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-image {
  justify-self: end;

  width: fit-content;
}

.post-image img {
  width: 340px;
  max-width: 100%;

  height: auto;
  display: block;
}

/* ===== Visual Posts ===== */

.visual-post {
  padding: 48px 56px 80px 56px;

  max-width: 1800px;

  margin: 0 auto;
}

.visual-header {
  display: grid;

  grid-template-columns:
    minmax(300px, 1fr)
    minmax(220px, 320px);

  gap: 3rem;

  align-items: start;

  margin-bottom: 1rem;
}

.visual-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: clamp(4rem, 8vw, 7rem);

  font-weight: 450;

  letter-spacing: 0.035em;
  line-height: 0.95;

  margin: 0 0 1rem 0;
}

.visual-meta {
  text-align: right;

  width: fit-content;

  justify-self: end;

  font-family: 'Times New Roman', Times, serif;

  font-size: 1.1rem;

  line-height: 1.8;

  white-space: nowrap;
}

/* ===== Masonry Gallery ===== */

.visual-gallery {
  columns: 2 340px;

  column-gap: 2rem;

  margin-top: 2rem;
}

.visual-item {
  break-inside: avoid;

  margin: 0 0 2rem 0;
}

.visual-item img {
  width: 100%;

  height: auto;

  display: block;
}

/* ===== Optional Text ===== */

.visual-text {
  margin-top: .5rem;

  max-width: 720px;

  font-family: 'Times New Roman', Times, serif;

  font-size: 1.25rem;

  line-height: 1.8;
}

.visual-text p {
  margin-bottom: 1.5rem;
}

/* ===== Post Back Link ===== */

.post-back {
  display: inline-block;

  margin-bottom: 2rem;

  font-family: 'Times New Roman', Times, serif;

  font-size: 1rem;

  color: #000;

  text-decoration: none;

  transition: opacity 0.2s ease;
}

.post-back:hover {
  opacity: 0.55;
}

/* ===== Archive Pages ===== */

.archive-page {
  padding: 48px 56px 60px 56px;

  max-width: 1400px;

  margin: 0 auto;

  min-height: 100vh;
}

.archive-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: clamp(4rem, 8vw, 7rem);

  font-weight: 450;

  letter-spacing: 0.035em;
  line-height: 0.95;

  margin: 0 0 3.5rem 0;
}

.archive-list {
  display: flex;

  flex-direction: column;
}

.archive-item {
  display: grid;

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

  gap: 2rem;

  align-items: baseline;

  padding: 1rem 0;

  text-decoration: none;

  color: inherit;

  transition: opacity 0.2s ease;
}

.archive-item:hover {
  opacity: 0.6;
}

.archive-item-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: 1.25rem;

  font-weight: 450;

  letter-spacing: 0.02em;

  line-height: 1.05;
}

.archive-item-meta {
  font-family: 'Times New Roman', Times, serif;

  font-size: 1rem;

  text-align: right;

  white-space: nowrap;  
}

/* ===== Visual Archive Pages ===== */

.gallery-page {
  padding: 48px 56px 60px 56px;

  max-width: 1600px;

  margin: 0 auto;

  min-height: 100vh;
}

.gallery-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: clamp(4rem, 8vw, 7rem);

  font-weight: 450;

  letter-spacing: 0.035em;
  line-height: 0.95;

  margin: 0 0 5rem 0;
}

.gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 320px));

  gap: 4rem 5rem;

  justify-content: start;
}

.gallery-card {
  text-decoration: none;

  color: inherit;

  display: block;

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

.gallery-card:hover {
  opacity: 0.75;

  transform: translateY(-2px);
}

.gallery-card img {
  width: 100%;

  aspect-ratio: 14 / 15;

  object-fit: cover;

  display: block;

  margin-bottom: 1rem;
}

.gallery-card-meta {
  font-family: 'Times New Roman', Times, serif;

  font-size: 1rem;

  margin-bottom: 0.6rem;
}

.gallery-card h2 {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: clamp(1.6rem, 2vw, 2.5rem);

  font-weight: 450;

  line-height: 1.05;

  letter-spacing: 0.02em;

  margin: 0;
}

/* ===== About Page ===== */

.about-page {
  display: grid;

  grid-template-columns:
    minmax(0, 720px)
    minmax(320px, 420px);

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

  gap: 6rem;

  padding: 48px 56px 60px 56px;

  max-width: 1400px;
  min-height: 100vh;
  margin: 0 auto;
}

.about-text {
  max-width: 720px;
}

.about-title {
  font-family: -apple-system, BlinkMacSystemFont,
               "SF Pro Display", "SF Pro Text",
               system-ui, sans-serif;

  font-size: clamp(3.5rem, 7vw, 6rem);

  font-weight: 450;
  letter-spacing: 0.035em;

  line-height: 0.95;

  margin: 0 0 3rem 0;

  text-align: left;
}

.about-bio {
  font-family: 'Times New Roman', Times, serif;

  font-size: clamp(1.1rem, 1.4vw, 1.35rem);

  line-height: 1.7;
  font-weight: 400;
}

.about-bio p {
  margin-bottom: 2rem;
}

.about-image {
  width: fit-content;
}

.about-image img {
  width: 420px;
  max-width: 100%;

  height: auto;
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {

  .hero {
    min-height: auto;

    padding: 24px 16px 24px 16px;
  }

  .hero-title {
    max-width: 100%;

    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 450;

    margin-bottom: 1rem;
  }

  .hero-content {
    display: grid;

    grid-template-columns: 1fr;

    gap: 2rem;
  }

  .hero-image {
    order: 1;

    width: fit-content;

    justify-self: end;
  }

  .hero-meta {
    order: 2;

    justify-self: start;
  }

  .hero-image img {
    width: 460px;
    max-width: 100%;

    display: block;
  }

}

@media (max-width: 1200px) {

  .featured-publications {
    grid-template-columns: 1fr;

    gap: 4rem;

    padding: 5rem 24px 4rem 24px;
  }

  .featured-sidebar {
    padding-top: 0;
  }

}

@media (max-width: 800px) {

  .publication-grid {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }

  .featured-title {
    font-size: 2.25rem;
  }

  .sidebar-title {
    font-size: 1.2rem;
  }

  .publication-card h3 {
    font-size: 1.6rem;
  }

}

@media (max-width: 900px) {

  .about-page {
    grid-template-columns: 1fr;

    gap: 3rem;

    padding: 40px 24px 48px 24px;

    min-height: auto;
  }

  .about-image {
    order: 2;

    width: fit-content;

    justify-self: end;
  }

  .about-text {
    order: 1;
  }

  .about-title {
    margin-bottom: 2rem;
  }

  .about-image img {
    width: min(100%, 460px);
  }

}

@media (max-width: 800px) {

  .post-page {
    padding: 40px 24px 48px 24px;
  }

  .post-header {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 2.25rem;

    margin-bottom: 1.5rem;
  }

  .post-title {
    max-width: 100%;
    margin: 0;
  }

  .post-meta {
    text-align: left;
    margin: 0;
  }

  .post-content-grid {
    grid-template-columns: 1fr;

    gap: 1rem;
  }

  .post-image {
    order: 2;

    justify-self: end;
  }

  .post-body {
    order: 1;
  }

  .post-image img {
    width: min(100%, 460px);
  }

}

@media (max-width: 700px) {

  .archive-page {
    padding: 40px 24px 48px 24px;
  }

  .archive-item {
    grid-template-columns: 1fr;

    gap: 0.75rem;
  }

  .archive-item-meta {
    text-align: left;
  }

}

@media (max-width: 900px) {

  .gallery-page {
    padding: 40px 24px 48px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

}

@media (max-width: 700px) {

  .visual-post {
    padding: 40px 24px 48px 24px;
  }

  .visual-gallery {
    columns: 1;
  }

}

.mobile-break {
  display: none;
}

@media (max-width: 600px) {

  .mobile-break {
    display: block;
  }

}