* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: #111;
  background: #f7f6f2;
}

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


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

.header {
  height: 80px;
  padding: 0 5vw;

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

  background: #f7f6f2;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 15px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 1px;
}

.logo span {
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 11px;
  letter-spacing: 1.5px;
}

.menu-button {
  display: none;

  border: 0;
  background: none;

  font-size: 11px;
  letter-spacing: 1px;
}


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

.hero {
  padding: 0 5vw;
}

.hero-image {
  height: 75vh;
  min-height: 500px;

  position: relative;

  background-image:
    url("https://images.unsplash.com/photo-1515876305430-f06edab8282a?auto=format&fit=crop&w=2000&q=85");

  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;

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

.hero-text {
  position: absolute;
  left: 6%;
  bottom: 8%;

  color: white;
}

.hero-small {
  margin: 0 0 20px;

  font-size: 11px;
  letter-spacing: 3px;
}

.hero-text h1 {
  margin: 0;

  font-size: clamp(60px, 9vw, 140px);
  line-height: 0.82;
  letter-spacing: -5px;
}

.hero-description {
  margin-top: 35px;

  font-size: 14px;
  line-height: 1.8;
}


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

.intro {
  max-width: 900px;

  margin: 0 auto;
  padding: 140px 30px;
}

.section-label {
  margin: 0 0 20px;

  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
}

.intro h2 {
  margin: 0;

  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -2px;
}

.intro-text {
  margin-top: 35px;

  font-size: 14px;
  line-height: 2;
  color: #666;
}


/* =========================
   ARTICLES
========================= */

.articles {
  padding: 100px 5vw;
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: -3px;
}

.view-all {
  font-size: 10px;
  letter-spacing: 2px;
}


/* =========================
   ARTICLE SCROLL
========================= */

.article-scroll {

  display: flex;

  gap: 22px;

  overflow-x: auto;

  overflow-y: hidden;

  scroll-snap-type: x mandatory;

  padding-bottom: 15px;

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;
}

.article-scroll::-webkit-scrollbar {
  display: none;
}


/* =========================
   ARTICLE CARD
========================= */

.post-card {

  flex: 0 0 250px;

  scroll-snap-align: start;

  border: 1px solid #ddd;

  background: #fff;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.post-card:hover {

  transform: translateY(-5px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-image {

  width: 100%;

  aspect-ratio: 4 / 3;

  object-fit: cover;

  display: block;
}

.post-card-content {

  padding: 18px;
}

.post-meta {

  margin-bottom: 10px;

  display: flex;

  justify-content: space-between;

  font-size: 9px;

  letter-spacing: 1.5px;

  color: #888;
}

.post-title {

  margin: 0;

  font-size: 18px;

  font-weight: 500;

  line-height: 1.45;
}

.post-excerpt {

  margin-top: 10px;

  font-size: 11px;

  line-height: 1.7;

  color: #777;
}

/* =========================
   CATEGORY
========================= */

.categories {
  padding: 120px 5vw;
}

.category-grid {
  display: grid;

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

  border-top: 1px solid #bbb;
}

.category {
  min-height: 230px;

  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-bottom: 1px solid #bbb;

  transition: background 0.3s ease;
}

.category:nth-child(odd) {
  border-right: 1px solid #bbb;
}

.category span {
  font-size: 10px;
  letter-spacing: 2px;
}

.category strong {
  font-size: clamp(35px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -3px;
}

.category small {
  font-size: 11px;
  color: #777;
}

.category:hover {
  background: #e9e8e3;
}


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

.footer {
  padding: 70px 5vw;

  background: #111;
  color: white;

  text-align: center;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 2px;
}

.footer-logo span {
  font-weight: 400;
}

.footer p {
  margin: 30px 0;

  font-size: 11px;
  color: #aaa;
}

.footer small {
  font-size: 9px;
  color: #666;
}


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

@media (max-width: 768px) {

  .header {
    height: 65px;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    padding: 0;
  }

  .hero-image {
    height: 70vh;
    min-height: 500px;
  }

  .hero-text {
    left: 7%;
    bottom: 7%;
  }

  .hero-text h1 {
    font-size: 64px;
    letter-spacing: -3px;
  }

  .intro {
    padding: 90px 25px;
  }

  .articles {
    padding: 80px 20px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }

  .categories {
    padding: 80px 20px;
  }

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

  .category:nth-child(odd) {
    border-right: 0;
  }

  .category {
    min-height: 180px;
  }

}