.before, .after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

.root {
--bg: #f5f0e8;
--white: #ffffff;
--dark: #1a1a1a;
--grey: #6b6b6b;
--yellow: #f7df72;
--pink: #f4b6d2;
--green: #c8e6a0;
--blue: #c5d8ff;
--shadow: 0 2px 16px rgba(0,0,0,0.07);
--radius: 18px;
}

.body {
background: var(--bg);
font-family: 'DM Sans', sans-serif;
min-height: 100vh;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 48px;
height: 72px;
background: var(--white);
border-bottom: 2px solid #ede7da;
position: sticky;
top: 0;
z-index: 100;
}

/* HERO */
    .hero {
      min-height: calc(100vh - 70px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 60px 48px;
      position: relative;
      overflow: hidden;
    }
    /* decorative blobs */
    .hero::before {
      content: '';
      position: absolute;
      width: 520px; height: 520px;
      background: var(--yellow);
      border-radius: 50%;
      top: -140px; right: -160px;
      opacity: .55;
      z-index: 0;
    }
    .hero::after {
      content: '';
      position: absolute;
      width: 340px; height: 340px;
      background: var(--pink);
      border-radius: 50%;
      bottom: -100px; left: -80px;
      opacity: .45;
      z-index: 0;
    }
    .hero-inner {
      max-width: 860px;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--white);
      border: 2px solid var(--cream);
      border-radius: 50px;
      padding: 8px 20px;
      font-size: 13px;
      font-weight: 700;
      color: var(--grey);
      letter-spacing: .5px;
      margin-bottom: 28px;
    }
    .hero-badge .dot {
      width: 8px; height: 8px;
      background: var(--green);
      border-radius: 50%;
    }
    .hero h1 {
      font-family: 'Instrument Serif', serif;
      font-size: clamp(42px, 7vw, 78px);
      line-height: 1.1;
      color: var(--dark);
      margin-bottom: 20px;
    }
    .hero h1 em { font-style: italic; color: #c0507a; }
    .hero p {
      font-size: 18px;
      color: var(--grey);
      max-width: 520px;
      margin: 0 auto 40px;
      line-height: 1.7;
    }

.logo {
font-family: 'DM Sans', sans-serif;
font-size: 26px;
font-weight: 800;
letter-spacing: 3px;
color: var(--dark);
}

.logo span {
color: #f4b6d2;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
}

.nav-links {
display: flex;
align-items: center;
gap: 6px;
list-style: none;
}

.nav-links li a {
text-decoration: none;
color: var(--dark);
font-size: 14px;
font-weight: 600;
padding: 8px 20px;
border-radius: 50px;
transition: all 0.2s ease;
}

.nav-links li a:hover {
background: var(--yellow);
color: var(--dark);
}

.main {
padding: 40px 48px 60px;
}

.page-header {
margin-bottom: 36px;
}

.page-header p {
font-size: 12px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--grey);
margin-bottom: 6px;
}

.page-header h2 {
font-family: 'Instrument Serif', serif;
font-size: 42px;
font-weight: 400;
color: var(--dark);
line-height: 1.1;
}

.page-header h2 em {
font-style: italic;
color: #b06090;
}

.card-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

@media (max-width: 1200px) {
.card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
.card-grid { grid-template-columns: repeat(2, 1fr); }
.navbar { padding: 0 24px; }
.main { padding: 28px 24px 48px; }
}
@media (max-width: 520px) {
.card-grid { grid-template-columns: 1fr; }
}

.card-item {
border-radius: var(--radius);
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: var(--shadow);
transition: transform 0.25s ease, box-shadow 0.25s ease;
cursor: pointer;
}

.card-item:hover {
transform: translateY(-6px);
box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.card-item:nth-child(1) { background: var(--yellow); }
.card-item:nth-child(2) { background: var(--pink); }
.card-item:nth-child(3) { background: var(--green); }
.card-item:nth-child(4) { background: var(--blue); }
.card-item:nth-child(5) { background: var(--pink); }
.card-item:nth-child(6) { background: var(--yellow); }
.card-item:nth-child(7) { background: var(--green); }
.card-item:nth-child(8) { background: var(--blue); }

card-img {
width: 100%;
aspect-ratio: 4 / 3;
overflow: hidden;
}

.card-img img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
transition: transform 0.4s ease;
}

.card-item:hover .card-img img {
transform: scale(1.04);
}

.card-body {
padding: 18px 20px 20px;
flex: 1;
display: flex;
flex-direction: column;
gap: 8px;
}

.card-body h3 {
font-size: 17px;
font-weight: 700;
color: var(--dark);
line-height: 1.2;
}

.card-body p {
font-size: 12.5px;
color: #444;
flex: 1;
line-height: 1.5;
}

.start-btn {
display: inline-block;
margin-top: 8px;
background: var(--dark);
color: rgb(250, 8, 178);
text-decoration: none;
font-size: 13px;
font-weight: 700;
padding: 10px 22px;
border-radius: 50px;
border: none;
cursor: pointer;
transition: background 0.2s ease, transform 0.15s ease;
align-self: flex-start;
}

.start-btn:hover {
background: #333;
transform: scale(1.04);
}

.footer {
background: var(--dark);
color: rgba(255,255,255,0.5);
text-align: center;
padding: 20px;
font-size: 13px;
letter-spacing: 1px;
}