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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fafafa;
    color: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 100;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

nav a.active {
  color: #000;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

main {
    max-width: 80rem;
    margin: 0 auto;
    padding: 8rem 1.5rem 5rem;
    height: 100%;
}

.header-section {
    margin-bottom: 4rem;
}

.label {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.75rem;
    font-weight: 100;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    h1 {
    font-size: 4.5rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: #4b5563;
    max-width: 42rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .grid {
    grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid {
    grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-image {
    aspect-ratio: 4 / 3;
    background: linear-gradient(to bottom right, #d1d5db, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    font-weight: 100;
    color: #d1d5db;
    overflow: hidden;
    position: relative;
}

.card:hover .card-image > div {
    transform: scale(1.1);
}

.card-image > div {
    transition: transform 0.5s ease;
}

.card-week {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #000;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.card:hover .card-title {
    transform: translateX(0.5rem);
}

.card-description {
    font-size: 0.875rem;
    font-weight: 300;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.card:hover .card-link {
    opacity: 1;
}

.arrow {
    width: 1rem;
    height: 1rem;
    display: inline-block;
}

    @media (max-width: 767px) {
      nav-content {
        padding: 1rem 1rem;
      }

      .nav-left {
        gap: 1rem;
      }

      h1 {
        font-size: 2.25rem;
      }

      main {
        padding: 6rem 1rem 3rem;
      }
    }

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

a:visited {
    color: inherit;
}

a:focus, a:active {
    outline: none;
}

.title-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-image, .title-image img {
    transition: transform 0.5s ease;
}

.card:hover .title-image img {
    transform: scale(1.05);
}