/* ===== The Playground — farewell page ===== */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
/* vertical padding as longhand so it never clobbers .wrap's side gutter */
.section { padding-top: 96px; padding-bottom: 96px; }

/* Buttons (from the Kids system) */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 16px;
  padding: 16px 28px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-neutral-black); color: #fff; }
.btn--outline { background: transparent; color: var(--text-primary); border-color: var(--border-primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
/* inline text link inside body copy */
.ilink { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 700; }
.ilink:hover { color: var(--color-brand-orange); }

/* Lucide inline icon — inherits text colour + size */
.icon { width: 1em; height: 1em; flex: none; vertical-align: -0.12em; }
/* keep text + arrow on one line for inline links */
.topbar__by a, .footer__col a { display: inline-flex; align-items: center; gap: 4px; }
a:hover .icon { transform: translate(1px, -1px); transition: transform .12s ease; }

/* Top bar */
.topbar { display: flex; justify-content: space-between; align-items: center; padding-top: 36px; }
.topbar__logo { height: 30px; width: auto; }
.topbar__by { font-size: 14px; color: var(--text-muted); display: inline-flex; gap: 8px; align-items: center; }
.topbar__by a { font-weight: 700; color: var(--text-primary); }

/* Hero */
.hero { padding-top: 80px; padding-bottom: 64px; }
.hero__eyebrow { color: var(--text-muted); margin-bottom: 24px; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 8vw, 104px); line-height: 1.0; margin-bottom: 32px; max-width: 16ch; }
.hero__lead { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.5; max-width: 60ch; color: var(--color-neutral-800); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* Colour strip — "a bit of colour", full-bleed across the viewport */
.colours { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; height: 16px; margin: 8px 0 8px; }
.colours > i { display: block; }

/* Story */
.story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.story__media { aspect-ratio: 4/5; border-radius: var(--radius-card); background: var(--bg-pink) center/cover no-repeat; }
.story__copy { display: flex; flex-direction: column; gap: 24px; }
.story__copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; }
.story__copy p { font-size: 18px; line-height: 1.7; color: var(--color-neutral-800); }

/* Statement band */
.band { background: var(--bg-tertiary); color: #fff; border-radius: 16px; padding: 96px 64px; text-align: center; }
.band__eyebrow { color: var(--color-brand-yellow); margin-bottom: 24px; }
.band__quote { font-family: var(--font-display); font-size: clamp(28px, 4.2vw, 56px); line-height: 1.12; max-width: 24ch; margin: 0 auto; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { aspect-ratio: 1/1; border-radius: var(--radius-card); overflow: hidden; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* What's next */
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.next__copy { display: flex; flex-direction: column; gap: 24px; }
.next__copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; }
.next__copy p { font-size: 18px; line-height: 1.7; color: var(--color-neutral-800); }
.next__card { background: #F4B549; color: var(--color-brand-dark-grey); border-radius: 16px; padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.next__card img { height: 28px; width: auto; align-self: flex-start; filter: invert(1); } /* dark logo on gold */
.next__card p { color: var(--color-brand-dark-grey); font-size: 14px; line-height: 1.6; }

/* Footer */
.footer { background: var(--color-neutral-black); color: #fff; padding: 72px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 32ch; }
.footer__brand img { height: 30px; width: auto; filter: invert(1); align-self: flex-start; }
.footer__brand p { color: rgba(255,255,255,.6); }
.footer__links { display: flex; gap: 64px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col .t-eyebrow { color: var(--color-brand-yellow); margin-bottom: 4px; }
.footer__col a { color: rgba(255,255,255,.85); }
.footer__col a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 14px; }
.footer__bar img { height: 18px; width: auto; opacity: .8; } /* Kids logo is already white */
.footer__bar-left { display: flex; gap: 24px; align-items: center; }
.footer__bar a { color: rgba(255,255,255,.7); }
.footer__bar a:hover { color: #fff; }

/* ===== Legal / imprint page ===== */
.legal { max-width: 760px; padding-top: 72px; padding-bottom: 112px; }
.legal h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; margin-bottom: 40px; }
.legal h2 { font-family: var(--font-sans); font-weight: 700; font-size: 20px; margin: 44px 0 12px; }
.legal h3 { font-family: var(--font-sans); font-weight: 700; font-size: 16px; margin: 28px 0 8px; }
.legal p { font-size: 16px; line-height: 1.7; color: var(--color-neutral-800); margin-bottom: 16px; }
.legal address { font-style: normal; line-height: 1.7; color: var(--color-neutral-800); margin-bottom: 16px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--color-brand-orange); }

/* Responsive */
@media (max-width: 860px) {
  .section { padding-top: 64px; padding-bottom: 64px; } /* longhand keeps .wrap's side gutter */
  .story__grid, .next { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 64px 28px; }
  .footer__top { flex-direction: column; }
}
