/* ============================================================
   Rizal Hilman — Portfolio
   Design source: Claude Design handoff (Rizal Hilman Site.dc.html)
   ============================================================ */

:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --ink: #1d1d1f;
  --gray: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --surface: #f7f9fb;
  --blue-tint: #eaf3fd;
  --gold-tint: #fdf2dc;
  --green-tint: #e6f5ef;
  --gold: #b07914;
  --green: #0d7a5c;
  --blue-tint-ink: #4a6076;
  --gold-tint-ink: #7a6236;
  --green-tint-ink: #3f6b5d;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

a:active {
  transform: scale(.97);
}

a {
  transition: transform .15s ease;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
  box-sizing: border-box;
}

/* ---------- Animations ---------- */

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
}

[data-reveal].is-visible {
  animation: riseIn .55s var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    animation: none !important;
  }

  .hero {
    animation: none !important;
  }

  * {
    transition-duration: .01ms !important;
  }
}

/* ---------- Buttons & pills ---------- */

.btn {
  display: inline-block;
  border-radius: 980px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-outline {
  color: var(--blue);
  border: 1px solid rgba(0, 113, 227, .4);
}

.btn-outline:hover {
  background: rgba(0, 113, 227, .06);
}

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
}

.btn-sm {
  font-size: 13px;
  padding: 9px 18px;
}

.badge {
  display: inline-block;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 980px;
}

/* Arrow nudge: ".arrow" span slides on hover of its link/row */
.arrow {
  display: inline-block;
  transition: transform .25s ease;
}

a:hover>.arrow,
.talk-row:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Image placeholders (design's image-slots, unfilled) ---------- */

.img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .04);
  color: rgba(0, 0, 0, .45);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 8px;
  overflow: hidden;
}

.img-ph svg {
  opacity: .45;
  flex: none;
}

.img-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-ph:has(img) {
  padding: 0;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 56px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

.nav-links a {
  color: var(--gray);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.is-active {
  color: var(--blue);
  font-weight: 600;
}

.nav-links .btn-primary {
  color: #fff;
}

.nav-links .btn-primary:hover {
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 72px;
  animation: riseIn .7s ease both;
}

.hero .badge {
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 500px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.hero-photo {
  position: relative;
  padding: 10px;
}

.hero-photo::before,
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px;
}

.hero-photo::before {
  background: var(--blue-tint);
  transform: rotate(3deg);
}

.hero-photo::after {
  background: var(--gold-tint);
  transform: rotate(-2deg);
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

/* Hover: fan out the paper layers, lift the photo, bounce the badge */
.hero-photo::before,
.hero-photo::after,
.hero-photo img,
.hero-tag {
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .4s cubic-bezier(.34, 1.56, .64, 1);
}

.hero-photo:hover::before {
  transform: rotate(6deg);
}

.hero-photo:hover::after {
  transform: rotate(-5deg);
}

.hero-photo:hover img {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
}

.hero-photo:hover .hero-tag {
  transform: translateX(-50%) translateY(-8px) scale(1.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
}

@media (prefers-reduced-motion: reduce) {

  .hero-photo::before,
  .hero-photo::after,
  .hero-photo img,
  .hero-tag {
    transition: none;
  }

  .hero-photo:hover::before {
    transform: rotate(3deg);
  }

  .hero-photo:hover::after {
    transform: rotate(-2deg);
  }

  .hero-photo:hover img {
    transform: none;
    box-shadow: none;
  }

  .hero-photo:hover .hero-tag {
    transform: translateX(-50%);
  }
}

.hero-tag {
  position: absolute;
  z-index: 2;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 980px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  white-space: nowrap;
}

.hero-tag svg {
  vertical-align: -1px;
  margin-right: 6px;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 24px;
}

.stat {
  border-radius: 24px;
  padding: 28px 26px;
}

.stat-number {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.stat-label {
  font-size: 14px;
  margin-top: 2px;
}

.stat-blue {
  background: var(--blue-tint);
}

.stat-blue .stat-number {
  color: var(--blue);
}

.stat-blue .stat-label {
  color: var(--blue-tint-ink);
}

.stat-gold {
  background: var(--gold-tint);
}

.stat-gold .stat-number {
  color: var(--gold);
}

.stat-gold .stat-label {
  color: var(--gold-tint-ink);
}

.stat-green {
  background: var(--green-tint);
}

.stat-green .stat-number {
  font-size: 30px;
  letter-spacing: -.02em;
  color: var(--green);
  margin-top: 8px;
}

.stat-green .stat-label {
  color: var(--green-tint-ink);
  margin-top: 6px;
}

/* ---------- Section headings ---------- */

h2.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Recognitions ---------- */

.recognitions {
  padding-top: 64px;
  padding-bottom: 8px;
}

.recognitions h2 {
  margin-bottom: 22px;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.recognition {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: 20px;
  padding: 24px 26px;
  transition: background .2s ease;
}

.recognition:hover {
  background: var(--blue-tint);
}

.recognition-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--ink);
}

.recognition-title {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.recognition-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 80px;
  padding-bottom: 80px;
  align-items: start;
}

.about h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.about p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  text-wrap: pretty;
}

.about h2+p {
  margin-top: 20px;
}

.about p+p {
  margin-top: 14px;
}

/* ---------- Story video ---------- */

.story-video {
  padding-bottom: 80px;
}

.story-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(29, 29, 31, .18);
}

.story-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-video-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- Work ---------- */

.work-band {
  background: var(--surface);
}

.work {
  padding-top: 64px;
  padding-bottom: 80px;
}

.work h2 {
  margin-bottom: 24px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  border-radius: 24px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-media {
  width: 100%;
  height: 170px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.work-title {
  font-size: 21px;
  font-weight: 600;
  margin-top: 10px;
}

.work-desc {
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 8px;
  flex: 1;
}

.work-link {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 18px;
}

.work-blue {
  background: var(--blue);
  color: #fff;
}

.work-blue:hover {
  box-shadow: 0 16px 40px rgba(0, 113, 227, .3);
}

.work-blue .work-kicker {
  opacity: .75;
}

.work-blue .work-desc {
  opacity: .85;
}

.work-blue .work-link {
  color: #fff;
}

.work-blue .work-link:hover {
  color: #fff;
  opacity: .85;
}

.work-gold {
  background: var(--gold-tint);
}

.work-gold:hover {
  box-shadow: 0 16px 40px rgba(176, 121, 20, .2);
}

.work-gold .work-kicker {
  color: var(--gold);
}

.work-gold .work-desc {
  color: #6b5c3a;
}

.work-gold .work-link {
  color: var(--gold);
}

.work-gold .work-link:hover {
  color: #8f6a0e;
}

.work-green {
  background: var(--green-tint);
}

.work-green:hover {
  box-shadow: 0 16px 40px rgba(13, 122, 92, .2);
}

.work-green .work-kicker {
  color: var(--green);
}

.work-green .work-desc {
  color: var(--green-tint-ink);
}

.work-green .work-link {
  color: var(--green);
}

.work-green .work-link:hover {
  color: #0a6049;
}

/* ---------- Apps built ---------- */

.built-apps {
  padding-top: 8px;
  padding-bottom: 80px;
}

.built-apps h2 {
  margin-bottom: 8px;
}

.built-apps .section-sub {
  margin-bottom: 32px;
}

.built-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.built-app-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.built-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.built-app-media {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.built-app-media img,
.built-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.built-app-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.built-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
}

.built-app-title {
  font-size: 18px;
  font-weight: 600;
}

.built-app-subtitle {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.built-app-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray);
  margin-top: 16px;
  flex: 1;
}

.built-app-link {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 18px;
}

/* ---------- Apps mentored ---------- */

.apps {
  padding-top: 8px;
  padding-bottom: 88px;
}

.apps-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.apps-head h2 {
  margin-bottom: 8px;
}

.apps-head a {
  font-size: 14px;
  font-weight: 500;
}

.apps .section-sub {
  margin-bottom: 32px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 24px;
}

.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

button.app-tile {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

button.app-tile[data-app]:hover .app-name,
button.app-tile[data-app]:focus-visible .app-name {
  color: var(--blue);
}

button.app-tile[data-app]:focus-visible .app-icon {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s var(--ease);
}

.app-tile:hover .app-icon {
  transform: scale(1.07);
}

.app-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  text-align: center;
}

a.app-tile {
  justify-content: center;
}

a.app-tile:hover {
  opacity: .75;
}

.app-more {
  width: 96px;
  height: 96px;
  border: 2px dashed rgba(0, 113, 227, .35);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 28px;
  font-weight: 300;
  box-sizing: border-box;
}

a.app-tile .app-name {
  color: var(--blue);
}

.apps-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue-tint);
  border-radius: 24px;
  padding: 28px 32px;
  margin-top: 40px;
}

.apps-cta-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.apps-cta-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--blue-tint-ink);
  margin-top: 4px;
}

.apps-cta .btn {
  flex: none;
  font-size: 14.5px;
  padding: 13px 26px;
}

/* ---------- Talks ---------- */

.talks-band {
  background: var(--surface);
}

.talks {
  padding-top: 72px;
  padding-bottom: 72px;
}

.talks h2 {
  margin-bottom: 8px;
}

.talks .section-sub {
  margin-bottom: 28px;
}

.talk-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.talk-row {
  display: grid;
  grid-template-columns: auto 1.2fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 30px;
  transition: background .2s ease;
}

.talk-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.talk-row:hover {
  background: var(--blue-tint);
}

.talk-photo {
  width: 112px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
}

.talk-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.talk-venue {
  font-size: 14px;
  color: var(--muted);
}

.talk-row .arrow {
  font-size: 16px;
  color: var(--blue);
}

/* ---------- Communities ---------- */

.communities {
  padding-top: 64px;
  padding-bottom: 24px;
}

.communities .section-sub {
  margin-top: 10px;
  margin-bottom: 28px;
}

.communities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.community-card {
  border-radius: 24px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.community-card:hover {
  transform: translateY(-4px);
}

.community-role {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 980px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.community-blue {
  background: var(--blue-tint);
}

.community-blue:hover {
  box-shadow: 0 16px 40px rgba(0, 113, 227, .18);
}

.community-blue .community-role,
.community-blue .community-link {
  color: var(--blue);
}

.community-blue .community-desc {
  color: var(--blue-tint-ink);
}

.community-gold {
  background: var(--gold-tint);
}

.community-gold:hover {
  box-shadow: 0 16px 40px rgba(176, 121, 20, .2);
}

.community-gold .community-role,
.community-gold .community-link {
  color: var(--gold);
}

.community-gold .community-desc {
  color: var(--gold-tint-ink);
}

.community-green {
  background: var(--green-tint);
}

.community-green:hover {
  box-shadow: 0 16px 40px rgba(13, 122, 92, .2);
}

.community-green .community-role,
.community-green .community-link {
  color: var(--green);
}

.community-green .community-desc {
  color: var(--green-tint-ink);
}

.community-link:hover {
  opacity: .8;
}

.community-name {
  font-size: 20px;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: -.01em;
  color: var(--ink);
}

.community-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  flex: 1;
}

.community-link {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Press ---------- */

.press {
  padding-top: 64px;
  padding-bottom: 88px;
}

.press h2 {
  margin-bottom: 8px;
}

.press .section-sub {
  margin-bottom: 32px;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 18px;
}

.press-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.press-card .img-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #3a3a3c, #1c1c1e);
  color: rgba(255, 255, 255, .35);
}

.press-card>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, 0) 70%);
}

.press-card-body {
  position: relative;
  z-index: 1;
  padding: 20px 22px;
}

.press-card-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.press-card-source {
  font-size: 12.5px;
  font-weight: 500;
  opacity: .8;
  margin-top: 6px;
}

.press-card--big {
  grid-column: span 2;
  grid-row: span 2;
}

.press-card--big .press-card-title {
  font-size: 22px;
}

.press-card--tall {
  grid-row: span 2;
}

/* ---------- Classes ---------- */

.classes-band {
  background: var(--surface);
}

.classes {
  padding-top: 80px;
  padding-bottom: 80px;
}

.classes h2 {
  margin-bottom: 8px;
}

.classes .section-sub {
  margin-bottom: 28px;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.class-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 24px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.class-age {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 980px;
}

.class-age-green {
  background: var(--green-tint);
  color: var(--green);
}

.class-age-gold {
  background: var(--gold-tint);
  color: var(--gold);
}

.class-age-blue {
  background: var(--blue-tint);
  color: var(--blue);
}

.class-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: -.01em;
}

.class-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 8px;
  flex: 1;
}

.class-link {
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 20px;
}

/* ---------- Mentorship / testimonials ---------- */

.mentorship-band {
  background: #fff;
}

.mentorship {
  padding-top: 88px;
  padding-bottom: 80px;
  text-align: center;
}

.mentorship-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
}

.mentorship-featured-quote {
  margin: 0 auto;
  max-width: 780px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
}

.mentorship-featured-author {
  margin-top: 24px;
}

.mentorship-featured-author .testimonial-name {
  font-size: 15px;
}

.mentorship-featured-author .testimonial-role {
  margin-top: 2px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}

.testimonial {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 20px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-role {
  font-size: 12.5px;
  color: var(--muted);
}

.mentorship-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.mentorship-action .btn {
  padding: 14px 30px;
}

/* ---------- Contact ---------- */

.contact-band {
  background: var(--surface);
}

.contact {
  padding-top: 88px;
  padding-bottom: 88px;
  text-align: center;
}

.contact h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.contact-lead {
  margin: 18px auto 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 620px;
  text-wrap: pretty;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 980px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .05);
  transition: background .2s ease, box-shadow .2s ease;
}

.contact-chip:hover {
  background: var(--blue-tint);
  color: var(--blue);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 113, 227, .15);
}

.contact-chip span {
  color: var(--muted);
  font-weight: 400;
}

.contact-chip-primary {
  background: var(--blue);
  color: #fff;
}

.contact-chip-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--muted);
}

.footer-copy {
  font-size: 12.5px;
  color: var(--faint);
}

/* ============================================================
   Apps Mentored page
   ============================================================ */

.apps-header {
  padding-top: 76px;
  padding-bottom: 40px;
  animation: riseIn .7s ease both;
}

.apps-header .badge {
  margin-bottom: 18px;
}

.apps-header h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  max-width: 720px;
  text-wrap: balance;
}

.apps-header h1 span {
  color: var(--blue);
}

.apps-header-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 580px;
  text-wrap: pretty;
}

.apps-header-stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
}

.header-stat-number {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.header-stat-number.is-blue {
  color: var(--blue);
}

.header-stat-number.is-gold {
  color: var(--gold);
}

.header-stat-number.is-green {
  color: var(--green);
}

.header-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.featured {
  padding-top: 24px;
  padding-bottom: 8px;
}

.featured h2 {
  font-size: 24px;
  margin-bottom: 22px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.featured-card {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease;
}

.featured-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.featured-shot {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
}

.featured-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.featured-icon {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
}

.featured-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.featured-maker {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.featured-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
  flex: 1;
}

.featured-link {
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 16px;
}

.all-apps {
  padding-top: 24px;
  padding-bottom: 24px;
}

.all-apps h2 {
  font-size: 24px;
  margin-bottom: 22px;
}

.all-apps .apps-grid {
  gap: 32px 24px;
}

.apps-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.apps-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 980px;
  padding: 10px 18px;
  min-width: 260px;
  color: var(--faint);
  transition: border-color .2s ease, background .2s ease;
}

.apps-search:focus-within {
  border-color: var(--blue);
  background: #fff;
}

.apps-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
}

.apps-search input::placeholder {
  color: var(--faint);
}

.apps-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 980px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-chip:hover {
  border-color: rgba(0, 113, 227, .4);
  color: var(--blue);
}

.filter-chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.apps-count {
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 26px;
}

.app-maker {
  font-size: 12px;
  color: var(--faint);
  margin-top: -4px;
  text-align: center;
}

.apps-empty {
  text-align: center;
  padding: 56px 0;
}

.apps-empty p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

.cta-section {
  padding-top: 72px;
  padding-bottom: 88px;
}

.cta-panel {
  background: var(--blue);
  color: #fff;
  border-radius: 32px;
  padding: 56px;
  text-align: center;
}

.cta-panel h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cta-panel p {
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.65;
  opacity: .85;
  max-width: 520px;
  text-wrap: pretty;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.cta-actions .btn-white {
  background: #fff;
  color: var(--blue);
  font-weight: 600;
}

.cta-actions .btn-white:hover {
  background: var(--blue-tint);
  color: var(--blue);
}

.cta-actions .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
}

.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

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

  .mentorship-featured-quote {
    font-size: 28px;
  }

  .press-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .press-card--big {
    grid-column: span 2;
  }
}

/* ============================================================
   Class detail pages
   ============================================================ */

.class-hero {
  padding-top: 76px;
  padding-bottom: 44px;
  animation: riseIn .7s ease both;
}

.class-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.class-hero .badge {
  margin-bottom: 18px;
}

.class-hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}

.class-hero-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray);
  text-wrap: pretty;
}

.class-hero .hero-actions {
  margin-top: 32px;
}

.class-hero-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
}

.class-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.class-section {
  padding-top: 56px;
  padding-bottom: 8px;
}

.class-section h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.class-section .section-sub {
  margin-bottom: 28px;
}

.class-showcase {
  width: 100%;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 24px;
}

.info-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .07);
}

.info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 18px 26px;
}

.info-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.info-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.info-value {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  padding: 0 22px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  transition: transform .2s ease;
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  padding-bottom: 20px;
  margin-top: -4px;
}

.testimonials-compact {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   Responsive — mirrors the design's 760px rules
   ============================================================ */

@media (max-width: 760px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    padding: 12px 20px;
  }

  .nav-links .nav-anchor {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 16px;
  }

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

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

  .about {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .story-video {
    padding-bottom: 56px;
  }

  .story-video-frame {
    border-radius: 18px;
  }

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

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

  .built-apps-grid {
    grid-template-columns: 1fr;
  }

  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
  }

  .apps-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .talks,
  .mentorship {
    padding: 48px 0;
  }

  .talk-row {
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    padding: 18px 16px;
  }

  .talk-venue {
    grid-column: 2;
  }

  .talk-row .arrow {
    display: none;
  }

  .press-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .press-card--big,
  .press-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .press-card--big .press-card-title {
    font-size: 18px;
  }

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

  .mentorship-featured-quote {
    font-size: 22px;
  }

  .testimonials {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .contact {
    padding-top: 56px;
  }

  .contact h2 {
    font-size: 30px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
    padding: 22px 0;
    text-align: center;
  }

  h2.section-title,
  .featured h2,
  .all-apps h2,
  .cta-panel h2 {
    font-size: 24px;
  }

  /* Class detail pages */
  .class-hero {
    padding-top: 44px;
  }

  .class-hero h1 {
    font-size: 32px;
  }

  .class-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .class-hero-media {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .class-hero-stats {
    gap: 24px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .testimonials-compact {
    grid-template-columns: 1fr;
  }

  .class-showcase {
    height: 220px;
  }

  /* Apps page */
  .apps-header {
    padding-top: 44px;
  }

  .apps-header h1 {
    font-size: 32px;
  }

  .apps-header-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

  .cta-panel {
    padding: 40px 24px;
  }

  .cta-panel h2 {
    font-size: 26px;
  }

  .cta-actions {
    flex-wrap: wrap;
  }

}

/* ============================================================
   App detail modal
   ============================================================ */

.app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  animation: fadeIn .2s ease both;
}

.app-modal-overlay[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes riseUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sheetUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
  animation: riseUp .28s var(--ease) both;
}

.app-modal:focus {
  outline: none;
}

.app-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, .06);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, color .2s ease;
}

.app-modal-close:hover {
  background: rgba(0, 0, 0, .1);
  color: var(--ink);
}

.app-modal-body {
  padding: 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.app-modal-columns {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "meta" "shots" "details";
  gap: 20px;
}

.app-modal-col-meta {
  grid-area: meta;
}

.app-modal-col-shots {
  grid-area: shots;
}

.app-modal-col-details {
  grid-area: details;
}

.app-modal-col-meta,
.app-modal-col-shots,
.app-modal-col-details {
  min-width: 0;
}

.app-modal-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-right: 32px;
}

.app-modal-store-btn {
  margin-left: auto;
  flex: none;
}

.app-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.app-modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-modal-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.app-modal-platforms {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.app-modal-platform {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-tint-ink);
  background: var(--blue-tint);
  padding: 3px 10px;
  border-radius: 980px;
}

.app-modal-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin-top: 20px;
  text-wrap: pretty;
}

.app-modal-carousel {
  margin-top: 0;
}

.app-modal-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 14px;
  scrollbar-width: none;
}

.app-modal-carousel-track::-webkit-scrollbar {
  display: none;
}

.app-modal-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 9 / 19;
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-modal-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.app-modal-carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.app-modal-dot {
  /* 6px visual dot with a ~18px tap target */
  width: 6px;
  height: 6px;
  padding: 6px;
  box-sizing: content-box;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .15);
  background-clip: content-box;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.app-modal-dot.is-active {
  background: var(--blue);
  transform: scale(0.6);
}

.app-modal-section {
  margin-top: 26px;
}

.app-modal-section h3 {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 12px;
}

.app-modal-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}

.app-modal-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-modal-feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.app-modal-feature-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 2px;
}

.app-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-modal-chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .07);
  padding: 6px 12px;
  border-radius: 980px;
}

.app-modal-devs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-modal-dev {
  font-size: 13px;
  color: var(--gray);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 980px;
}

a.app-modal-dev {
  color: var(--blue);
}

a.app-modal-dev:hover {
  color: var(--blue-hover);
}

.app-modal-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-modal-badge {
  display: inline-block;
  line-height: 0;
}

.app-modal-badge img {
  height: 44px;
  width: auto;
  display: block;
}

.app-modal-badge:hover {
  opacity: .85;
}

/* Bottom sheet on mobile (must come after the base modal styles above) */
@media (max-width: 760px) {
  .app-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .app-modal {
    width: 100%;
    max-width: none;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    animation: sheetUp .3s var(--ease) both;
  }

  .app-modal-close {
    top: 14px;
    right: 14px;
  }

  .app-modal-body {
    padding: 24px 20px 32px;
  }

  .app-modal-carousel-slide {
    max-height: 52vh;
  }
}

/* Two-column layout on desktop: text + icon left, screenshots right */
@media (min-width: 761px) {
  .app-modal {
    max-width: 880px;
  }

  .app-modal-body {
    padding: 36px;
  }

  .app-modal-columns {
    grid-template-columns: 1fr 300px;
    grid-template-areas: "meta shots" "details shots";
    column-gap: 36px;
    row-gap: 20px;
    align-items: start;
  }

  .app-modal-col-shots {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .app-modal-col-details .app-modal-section:first-child {
    margin-top: 0;
  }
}
/* ============================================================
   Kids class pages (Swift for Kids, Scratch Coder)
   ============================================================ */

.kids-page {
  --pink: #c2417d;
  --pink-tint: #fdeaf3;
  --pink-tint-ink: #86506b;
  overflow-x: hidden;
}

/* Floating pastel blobs behind the hero */
.kids-page .class-hero {
  position: relative;
}

.kids-page .class-hero::before,
.kids-page .class-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.kids-page .class-hero::before {
  width: 260px;
  height: 260px;
  background: var(--gold-tint);
  top: 10px;
  right: -80px;
}

.kids-page .class-hero::after {
  width: 180px;
  height: 180px;
  background: var(--green-tint);
  bottom: -30px;
  left: -90px;
}

/* Bouncy buttons */
.kids-page .btn {
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.kids-page .btn:hover {
  transform: translateY(-2px) scale(1.04);
}

/* Tilted, tinted media frames — like photos pinned to a wall */
.kids-page .class-hero-media {
  transform: rotate(1.5deg);
  border-radius: 32px;
}

.kids-page .class-showcase {
  transform: rotate(-1deg);
  border-radius: 32px;
}

.kids-page .class-hero-media .img-ph,
.kids-page .class-showcase .img-ph {
  background: var(--blue-tint);
  color: var(--blue-tint-ink);
}

/* "What you'll learn" cards: rotating candy tints + emoji bullets */
.kids-page .recognition {
  border-radius: 24px;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.kids-page .recognition:hover {
  transform: rotate(-1deg) translateY(-4px);
}

.kids-page .recognition:nth-of-type(4n+1) { background: var(--blue-tint); }
.kids-page .recognition:nth-of-type(4n+2) { background: var(--gold-tint); }
.kids-page .recognition:nth-of-type(4n+3) { background: var(--green-tint); }
.kids-page .recognition:nth-of-type(4n+4) { background: var(--pink-tint); }

.kids-page .recognition:nth-of-type(4n+1) .recognition-desc { color: var(--blue-tint-ink); }
.kids-page .recognition:nth-of-type(4n+2) .recognition-desc { color: var(--gold-tint-ink); }
.kids-page .recognition:nth-of-type(4n+3) .recognition-desc { color: var(--green-tint-ink); }
.kids-page .recognition:nth-of-type(4n+4) .recognition-desc { color: var(--pink-tint-ink); }

.kids-page .recognition-icon {
  font-size: 20px;
  line-height: 1;
}

/* Testimonials: pastel sticky notes */
.kids-page .testimonial {
  border-radius: 24px;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.kids-page .testimonial:nth-of-type(3n+1) { background: var(--gold-tint); transform: rotate(-1deg); }
.kids-page .testimonial:nth-of-type(3n+2) { background: var(--green-tint); transform: rotate(1deg); }
.kids-page .testimonial:nth-of-type(3n+3) { background: var(--pink-tint); transform: rotate(-.6deg); }

.kids-page .testimonial:hover {
  transform: rotate(0deg) translateY(-4px);
}

/* FAQ: rounder, friendlier */
.kids-page .faq-item {
  border-radius: 20px;
}

/* CTA: playful gradient */
.kids-page .cta-panel {
  background: linear-gradient(135deg, var(--blue) 0%, #7f56d9 60%, var(--pink) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .kids-page .btn,
  .kids-page .recognition,
  .kids-page .testimonial {
    transition: none;
  }
}
