.hero-photo {
  background-image:
    linear-gradient(190deg, rgba(0, 40, 50, 0.08) 0%, rgba(0, 40, 50, 0.34) 60%, var(--bg) 100%),
    linear-gradient(155deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--sun) 14%, transparent)),
    url("../images/kids-crawl-action.jpg");
  background-size: cover; background-position: center 30%; background-blend-mode: normal;
  filter: saturate(1.15) brightness(1.03);
}

.buoy { width: 30px; height: 30px; color: var(--accent); }

#child .buoy { color: var(--accent); }

#chappu .buoy { color: var(--pop-pink); }

#swimkids .buoy { color: var(--pop-green); }

#ballet .buoy { color: var(--pop-purple); }

#dance .buoy { color: var(--sun); }

.category { padding-block: clamp(44px, 7vw, 72px); border-top: 1px solid var(--line); }

.category.alt { background: var(--surface-alt); }

.category-head { max-width: 720px; margin: 0 auto clamp(24px, 4vw, 36px); }

.category-head.with-media {
  max-width: 960px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 40px); align-items: center;
}

.category-media img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }


@media (max-width: 700px) { .category-head.with-media { grid-template-columns: 1fr; } }

.category-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.category-kicker { font-size: 0.76rem; letter-spacing: 0.1em; color: var(--accent-deep); font-weight: 700; }

.category-text h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }

.category-text p { color: var(--ink-soft); margin: 0 0 12px; }

.category-text p:last-child { margin-bottom: 0; }

/* ---------- Price / time grid ---------- */
.athlete-time { margin-top: 24px; }
.athlete-time h3 { margin: 0 0 12px; font-size: 1rem; }
.athlete-gallery { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.athlete-gallery img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
@media (max-width: 620px) { .athlete-gallery { grid-template-columns: 1fr; } }

/* ---------- Price / time grid ---------- */
.price-time-grid {
  max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px;
}

.price-box, .time-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow);
}

.price-box h4, .time-box h4 { margin: 0 0 14px; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-soft); font-weight: 700; }

.price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }

.price-line:last-child { margin-bottom: 0; }

.price-line.small { font-size: 0.86rem; color: var(--ink-soft); }

.price-line .amount { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.price-line.small .amount { font-size: 1.05rem; color: var(--accent-deep); }

.price-line .unit { font-size: 0.82rem; color: var(--ink-soft); }

.time-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }

.time-table th, .time-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: left; }

.time-table th { color: var(--ink-soft); font-weight: 600; width: 40%; white-space: nowrap; }

.time-table tr:last-child th, .time-table tr:last-child td { border-bottom: none; }

.time-note { margin: 10px 0 0; font-size: 0.8rem; color: var(--ink-soft); }

@media (max-width: 620px) { .price-time-grid { grid-template-columns: 1fr; } }

/* ---------- Grade table ---------- */
.subhead { max-width: 720px; margin: 32px auto 16px; }

.subhead h3 { margin: 0; font-size: 1.1rem; }

.grade-table-wrap { max-width: 720px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }

.grade-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }

.grade-table th { background: var(--accent); color: #fff; padding: 10px 16px; text-align: left; font-weight: 700; }

.grade-table td { padding: 9px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }

.grade-table td:first-child { font-weight: 700; color: var(--accent-deep); white-space: nowrap; width: 70px; }

.grade-table tr:last-child td { border-bottom: none; }
