/* Smile&Shine Global page styles. Shared tokens, buttons and base layout are in /base.css. */

/* dark band */
.dark { position: relative; overflow: hidden; background: linear-gradient(180deg, #f0f2fc 0%, var(--bg) 100%); }
.dark .orb { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.o1 { width: 460px; height: 460px; right: -140px; top: -200px; background: linear-gradient(135deg, #d9dcf8, #cfe9fa); opacity: .85; }
.o2 { width: 260px; height: 260px; right: 220px; top: 120px; background: #d3ecfa; opacity: .6; }
header { padding-block: 20px; z-index: 1; }
.lockup { display: flex; align-items: center; gap: 20px; min-width: 0; }
.brand { display: block; flex: none; }
.brand img { width: auto; display: block; }
.ssg img { height: 66px; }
.nova img { height: 34px; }
.rule { width: 1px; height: 44px; background: #cfd3ea; flex: none; }
nav { gap: 24px; }
nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--muted); }
nav a:not(.btn):hover { color: var(--fg); }
.hero { z-index: 1; max-width: 720px; padding-block: 40px 72px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 300; margin: 16px 0 18px; }
.hero p { max-width: 48ch; margin: 0 0 30px; }

.sec-head { max-width: 620px; }
.note { margin-bottom: 0; }
.lead { color: var(--muted); max-width: 62ch; margin: 18px 0 0; }

.programmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.programmes article { background: var(--surface); padding: 30px 28px 32px; min-width: 0; }
.programmes svg { width: 30px; height: 30px; margin-bottom: 18px; stroke: var(--sky); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.programmes h3 { font-size: 22px; margin-bottom: 8px; }
.programmes p { margin: 0; color: var(--muted); font-size: 15.5px; }

.about .role { font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.about .creds { font-weight: 600; color: var(--violet); font-size: 15px; line-height: 1.6; margin: -6px 0 0; }

.impact { display: flex; flex-wrap: wrap; gap: 24px 72px; padding-block: 8px; }
.impact div b { display: block; font: 300 clamp(48px, 9vw, 84px)/1 var(--display); background: linear-gradient(100deg, var(--violet), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.impact div span { display: block; margin-top: 8px; color: var(--muted); }

.chapter-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.chapter-head h3 { font-size: 26px; }
.chapter-head span { color: var(--muted); }
.team { list-style: none; margin: 24px 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.team li { display: grid; }
.team b { font: 400 20px/1.3 var(--display); }
.team span { font-size: 14px; color: var(--muted); }
.camps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.camp { min-width: 0; }
.carousel { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1 / 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.badge { position: absolute; left: 14px; top: 14px; background: rgba(18,19,42,.72); color: #fff; font: 500 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #23233a; font: 400 26px/1 system-ui, sans-serif; cursor: pointer; padding: 0 0 3px; }
.arrow.prev { left: 12px; } .arrow.next { right: 12px; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; }
.dot[aria-current="true"] { background: #fff; width: 22px; border-radius: 999px; }
.camp-body { padding-top: 18px; display: grid; gap: 10px; }
.camp-loc { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.camp-loc h3 { font-size: 22px; }
.camp-loc span { font-size: 14px; color: var(--muted); }
.camp-body p { margin: 0; color: var(--muted); font-size: 15.5px; }
.camp-body .camp-stat { color: var(--fg); }
.camp-stat b { font: 500 22px/1 var(--display); color: var(--violet); margin-right: 6px; }
.more { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.more b { color: var(--fg); font-weight: 500; }

.pills { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--muted); background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split p { color: var(--muted); margin: 16px 0 0; }

.contact { margin-top: 96px; background: var(--surface-2); border-radius: 24px; padding: 48px 44px; max-width: 720px; }
.contact h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 300; margin: 14px 0 20px; }
.contact p { margin: 0 0 26px; color: var(--muted); }
.contact dl { margin: 0; border-top: 0; }
.contact dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contact dt { margin: 0; font: 400 16px/1.65 var(--body); letter-spacing: 0; text-transform: none; color: var(--fg); }
.contact dd { margin: 0; text-align: right; font: 400 16px/1.65 var(--body); font-variant-numeric: tabular-nums; color: var(--muted); overflow-wrap: anywhere; }
.contact dd a { text-decoration: none; }
.tagline { text-align: center; font: italic 300 clamp(20px, 3.4vw, 28px)/1.4 var(--display); color: var(--violet); padding-block: 72px 0; }
footer { padding-block: 40px 36px; gap: 12px 24px; }
footer a { color: var(--violet); text-decoration: none; }

@media (max-width: 1024px) { nav a:not(.btn) { display: none; } }
@media (max-width: 900px) { .programmes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) {
  .hero { padding-block: 24px 52px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact { padding: 34px 24px; margin-top: 72px; }
  .camps { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 560px) {
  header { padding-block: 14px; }
  .lockup { gap: 14px; }
  .ssg img { height: 50px; }
  .nova img { height: 26px; }
  .rule { height: 34px; }
  nav .btn { display: none; }
  .hero h1 { font-size: clamp(32px, 9.4vw, 42px); }
  .programmes { grid-template-columns: 1fr; }
  .programmes article { padding: 24px 22px; }
  .contact { border-radius: 18px; padding: 28px 20px; }
  .contact dl div { flex-direction: column; gap: 0; padding: 14px 0; }
  .contact dd { text-align: left; }
  .o1 { right: -260px; } .o2 { right: -80px; }
  footer { flex-direction: column; }
}
