/* Vidova pot — "Igrivo" design */

:root {
  --ink: #1b2559;
  --body: #46507a;
  --muted: #5a6386;
  --bg: #f5f8ff;
  --white: #ffffff;
  --coral: #ff6b5b;
  --coral-btn: #c73a30;
  --coral-shadow: #8f241d;
  --sun: #ffd65a;
  --sun-deep: #ffc23d;
  --sun-soft: #ffe9a8;
  --sky: #d3e3ff;
  --mint: #cff2e2;
  --lav: #e7e1ff;
  --pink: #ffd9de;
  --line: #c9d3f2;
  --display: 'Gabarito', 'Nunito Sans', system-ui, sans-serif;
  --text: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.4, 0.5, 1);
  --radius: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Phones ignore the clip on <body> when sizing the page, so decorations that stick out
   (the spinning ring on the home page) would make the whole page wider than the screen. */
main {
  display: block;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd,
ol,
ul {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--coral-btn);
}

:focus-visible {
  outline: 3px solid #2e4bc7;
  outline-offset: 3px;
  border-radius: 8px;
}

.display {
  font-family: var(--display);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

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

.h2 {
  font-weight: 900;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h3 {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 20px;
  color: var(--body);
  max-width: 640px;
}

.body-lg {
  font-size: 19px;
  color: var(--body);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 15px;
}

.pl {
  white-space: pre-line;
}

.nums {
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* ---------- Tones ---------- */

.tone-sky { --tone: var(--sky); --tone-ink: #2e4bc7; }
.tone-mint { --tone: var(--mint); --tone-ink: #1e6b4a; }
.tone-sun { --tone: var(--sun-soft); --tone-ink: #7a5000; }
.tone-lav { --tone: var(--lav); --tone-ink: #4b3ba8; }
.tone-pink { --tone: var(--pink); --tone-ink: #a3302a; }

.cycle > :nth-child(5n + 1) { --tone: var(--sky); --tone-ink: #2e4bc7; }
.cycle > :nth-child(5n + 2) { --tone: var(--mint); --tone-ink: #1e6b4a; }
.cycle > :nth-child(5n + 3) { --tone: var(--sun-soft); --tone-ink: #7a5000; }
.cycle > :nth-child(5n + 4) { --tone: var(--lav); --tone-ink: #4b3ba8; }
.cycle > :nth-child(5n + 5) { --tone: var(--pink); --tone-ink: #a3302a; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-3px) rotate(-1deg);
}

.btn:active {
  transform: translateY(2px);
}

.btn-lg {
  min-height: 60px;
  padding: 0 30px;
  font-size: 20px;
  border-radius: 20px;
}

.btn-block {
  width: 100%;
}

.btn-coral {
  background: var(--coral-btn);
  color: var(--white);
  box-shadow: 0 5px 0 var(--coral-shadow);
}

.btn-coral:hover {
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--line);
}

.btn-white:hover {
  color: var(--ink);
}

.btn-navy {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 5px 0 #0b1238;
}

.btn-navy:hover {
  color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 3px solid var(--coral);
  align-self: flex-start;
}

.link-arrow svg {
  transition: transform 0.25s var(--spring);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

.link-back {
  border-bottom: 0;
  font-size: 17px;
}

/* ---------- Header (sticks to the top while scrolling) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-stuck {
  background: rgba(245, 248, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 12px 30px -24px rgba(27, 37, 89, 0.55);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
  position: relative;
  transition: padding 0.3s var(--ease);
}

.site-header.is-stuck .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--ink);
}

.logo-dots {
  display: flex;
  gap: 4px;
}

.logo-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  transition: transform 0.4s var(--spring);
}

.logo-dots i:nth-child(2) {
  background: var(--sun);
}

.logo-dots i:nth-child(3) {
  background: #6c8cff;
}

.logo:hover .logo-dots i {
  transform: translateY(-4px);
}

.logo:hover .logo-dots i:nth-child(2) {
  transition-delay: 0.05s;
}

.logo:hover .logo-dots i:nth-child(3) {
  transition-delay: 0.1s;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 20px -12px rgba(27, 37, 89, 0.35);
  font-weight: 700;
  font-size: 15px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s;
}

.main-nav a:hover {
  background: var(--bg);
  color: var(--ink);
}

.main-nav a[aria-current='page'] {
  background: var(--ink);
  color: var(--white);
}

.btn-help {
  min-height: 48px;
  font-size: 17px;
}

.main-nav .nav-help {
  display: none;
  gap: 8px;
  background: var(--coral-btn);
  color: var(--white);
}

/* The language link sits in the menu on phones (the header has no room for it). */
.main-nav .nav-lang {
  display: none;
  gap: 10px;
}

.nav-lang-code {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.main-nav .nav-help:hover {
  background: var(--coral-shadow);
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--line);
}

@media (max-width: 1240px) {
  .js .menu-toggle {
    display: inline-flex;
  }
  .js .main-nav {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    border-radius: 24px;
    padding: 10px;
  }
  .js .main-nav.is-open {
    display: flex;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .js .main-nav a {
    min-height: 48px;
    font-size: 17px;
  }
  .js .main-nav .nav-help {
    display: inline-flex;
    margin-top: 6px;
  }
  .header-actions {
    margin-left: auto;
  }
}

/* On phones the header has no room for the donate button, so it floats at the bottom instead. */
.donate-float {
  display: none;
}

@media (max-width: 520px) {
  .btn-help {
    display: none;
  }
  .header-actions .lang-pill {
    display: none;
  }
  .main-nav .nav-lang {
    display: inline-flex;
  }
  .header-actions {
    order: 1;
  }
  .js .menu-toggle {
    order: 2;
  }
  .donate-float {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 45;
    min-height: 56px;
    box-shadow: 0 5px 0 var(--coral-shadow), 0 18px 40px -16px rgba(27, 37, 89, 0.6);
    transition: transform 0.45s var(--spring), opacity 0.3s;
  }
  .js .donate-float {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
  }
  .js .donate-float.is-visible {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-footer .footer-inner {
    padding-bottom: 100px;
  }
}

/* Language switch next to the donate button. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--line);
  transition: transform 0.25s var(--spring);
}

.lang-pill:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

/* A signed-in admin gets a small bar in the corner: edit this page, or go to the admin. */
.admin-bar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 18px 40px -16px rgba(27, 37, 89, 0.7);
}

.admin-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
}

.admin-bar-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.admin-bar-primary,
.admin-bar-primary:hover {
  background: var(--sun);
  color: var(--ink);
}

.admin-bar-note {
  padding: 0 10px;
  color: var(--sun-soft);
  font-weight: 600;
}

/* Admins have their bar at the bottom instead. */
body:has(.admin-bar) .donate-float {
  display: none;
}

/* ---------- Pills & highlights ---------- */

.pill {
  display: inline-block;
  padding: 0 0.18em;
  border-radius: 0.28em;
  transform: rotate(var(--r, 0deg));
}

.pill-sun { background: var(--sun); --r: -3deg; }
.pill-sky { background: var(--sky); --r: 2deg; }
.pill-pink { background: var(--pink); --r: -2deg; }
.pill-lav { background: var(--lav); --r: 2deg; }
.pill-mint { background: var(--mint); --r: -2deg; }

.hl-sun {
  color: var(--sun);
}

/* ---------- Hero (home) ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 96px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(50px, 6.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-media {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.orbit-wrap {
  position: relative;
  width: min(calc(100% - 64px), 470px);
  aspect-ratio: 1 / 1;
}

.orbit {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 3px dashed #b9c6f5;
}

.orbit-item {
  position: absolute;
}

.oi-1 { left: 50%; top: -30px; margin-left: -30px; }
.oi-2 { right: -26px; top: 62%; }
.oi-3 { left: -24px; top: 58%; }

.sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--tone, var(--sun));
  color: var(--tone-ink, var(--ink));
}

.sticker.round {
  border-radius: 50%;
}

.tone-pink.sticker { color: var(--coral-btn); }

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sky);
  box-shadow: 0 30px 70px -30px rgba(27, 37, 89, 0.55);
}

.hero-photo img,
.hero-frame img,
.polaroid-img img,
.photo-card img,
.photo-round img,
.feature-photo img,
.photo-band-img img,
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 8%;
  padding: 12px 18px;
  border-radius: 20px;
  background: var(--white);
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 14px 30px -14px rgba(27, 37, 89, 0.5);
  --r: 4deg;
  transform: rotate(var(--r));
}

/* ---------- Progress ---------- */

.progress-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--line);
}

.progress-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.progress-raised {
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.progress {
  height: 16px;
  border-radius: 999px;
  background: var(--sky);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  min-width: 16px;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, var(--coral) 0 12px, #ff8577 12px 24px);
}

/* ---------- Sections ---------- */

.wave {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}

.wave-down {
  margin-top: -1px;
  margin-bottom: 0;
}

.section {
  padding: 104px 0;
}

.section-tight {
  padding: 48px 0 104px;
}

.section-tight-top {
  padding-top: 24px;
}

.page-plain {
  padding-top: 40px;
  min-height: 60vh;
}

.bg-lav { background: var(--lav); }
.bg-white { background: var(--white); }
.bg-sun { background: var(--sun); }

.bg-lav + .wave-down,
.bg-white + .wave-down,
.bg-sun + .wave-down {
  background: var(--bg);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stack-xs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
  align-items: center;
}

.split-top {
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 22px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 20px;
}

.head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.head-center {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* ---------- Polaroid cards ---------- */

.polaroid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 14px 22px;
  border-radius: 26px;
  background: var(--white);
  transform: rotate(var(--tilt, -3deg));
  transition: transform 0.5s var(--spring), box-shadow 0.5s;
}

.polaroids > :nth-child(3n + 2) .polaroid { --tilt: 2deg; }
.polaroids > :nth-child(3n + 3) .polaroid { --tilt: -1.5deg; }

.polaroid:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -30px rgba(27, 37, 89, 0.45);
}

.polaroid-img {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sky);
}

.polaroid figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
}

.polaroid figcaption strong {
  font-size: 24px;
  line-height: 1.2;
}

.polaroid figcaption span {
  color: var(--body);
  font-size: 17px;
}

/* ---------- Tiles ---------- */

.tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--tone, var(--sky));
  transition: transform 0.4s var(--spring);
}

.tile:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}

.tile p {
  color: #2f3966;
}

.tile-num {
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--tone-ink, #2e4bc7);
}

.tile-icon {
  min-height: 0;
}

.icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--tone, var(--sky));
  color: var(--tone-ink, #2e4bc7);
}

.tile .icon-bubble {
  background: var(--white);
}

.icon-bubble.big {
  width: 104px;
  height: 104px;
  border-radius: 34px;
}

/* ---------- Stepping stones (home) ---------- */

.stones {
  position: relative;
}

.stones-path {
  position: absolute;
  left: 4%;
  top: 40px;
  width: 92%;
  height: 120px;
  fill: none;
  stroke: #b9c6f5;
  stroke-width: 4;
  stroke-dasharray: 2 14;
  stroke-linecap: round;
}

.stones-list {
  position: relative;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 24px;
}

.stone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.stone-item:nth-child(even) {
  padding-top: 80px;
}

.stone-item strong {
  font-size: 21px;
  line-height: 1.2;
}

.stone-item .muted {
  font-size: 16px;
}

.stone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--tone, var(--sky));
  color: var(--tone-ink, #2e4bc7);
  font-weight: 900;
  font-size: 25px;
  transition: transform 0.4s var(--spring);
}

.stone:hover {
  transform: scale(1.08) rotate(-4deg);
}

.stone-item:last-child .stone {
  background: var(--coral-btn);
  color: var(--white);
  box-shadow: 0 6px 0 var(--coral-shadow);
}

@media (max-width: 760px) {
  .stones-path {
    display: none;
  }
  .stone-item:nth-child(even) {
    padding-top: 0;
  }
}

/* ---------- Donate block & bank card ---------- */

.donate {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 48px;
  background: var(--sun);
}

.donate-dot {
  position: absolute;
  border-radius: 50%;
}

.donate-dot-1 {
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: var(--sun-deep);
}

.donate-dot-2 {
  left: 40%;
  bottom: -80px;
  width: 180px;
  height: 180px;
  background: #ffe07f;
}

.donate-copy {
  position: relative;
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.donate-copy .lead {
  color: #3a3412;
}

.donate .bank-card {
  position: relative;
  flex: 1 1 380px;
}

.bank-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 8px 0 rgba(27, 37, 89, 0.12);
}

.bank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: #2e4bc7;
  font-weight: 800;
  font-size: 13px;
}

.bank-body {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
}

.bank-list {
  flex: 1 1 240px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  font-size: 17px;
}

.bank-list dt {
  color: var(--muted);
}

.bank-list dd {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.bank-qr {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.qr-slot {
  position: relative;
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
}

.qr-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 88px;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 0 var(--line);
}

.eyebrow i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tone, var(--coral));
  box-shadow: inset 0 0 0 3px var(--tone-ink, var(--coral-btn));
}

.page-title {
  font-weight: 900;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.hero-blob {
  position: absolute;
  inset: 4% 8% 0 14%;
  border-radius: 46% 54% 44% 56% / 52% 44% 56% 48%;
  background: var(--tone, var(--sky));
  transform: rotate(-6deg);
}

.hero-frame {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 4.4;
  border-radius: 40px;
  overflow: hidden;
  border: 8px solid var(--white);
  background: var(--sky);
  transform: rotate(2deg);
  box-shadow: 0 30px 60px -30px rgba(27, 37, 89, 0.5);
}

.hero-sticker {
  position: absolute;
  left: 4%;
  bottom: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--tone, var(--sun));
  color: var(--tone-ink, var(--ink));
  box-shadow: 0 14px 30px -14px rgba(27, 37, 89, 0.45);
}

.tone-sun.hero-sticker {
  background: var(--sun);
}

/* ---------- Photos & quotes ---------- */

.photo-card {
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  overflow: hidden;
  border: 8px solid var(--white);
  background: var(--sky);
  box-shadow: 0 30px 60px -32px rgba(27, 37, 89, 0.45);
}

.tilt-right { transform: rotate(2deg); }
.tilt-left { transform: rotate(-2deg); }

.photo-round {
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sky);
  box-shadow: 0 0 0 14px var(--white), 0 0 0 17px #b9c6f5;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 30px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--line);
}

.quote-card p {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.3;
}

.quote-card footer,
.big-quote footer {
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
}

.quote-mark {
  color: var(--coral);
}

.quote-float {
  max-width: 360px;
  margin: -60px 0 0 auto;
  position: relative;
  transform: rotate(-2deg);
}

.big-quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.big-quote p {
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ---------- Vertical timeline ---------- */

.vtimeline {
  position: relative;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.vtimeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  border-left: 4px dashed #b9c6f5;
  transform: translateX(-2px);
}

.vt-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: center;
}

.vt-stone {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding: 6px;
  border-radius: 50%;
  background: var(--tone, var(--sky));
  color: var(--tone-ink, #2e4bc7);
  font-weight: 900;
  font-size: 23px;
  line-height: 1;
  text-align: center;
  box-shadow: 0 0 0 8px var(--section-bg, var(--bg));
  transition: transform 0.4s var(--spring);
}

.vt-item:hover .vt-stone {
  transform: scale(1.08) rotate(-5deg);
}

.vt-card {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 28px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--line);
  text-align: right;
}

.vt-item:nth-child(even) .vt-card {
  grid-column: 3;
  text-align: left;
}

.vt-card p {
  color: var(--body);
  font-size: 17px;
}

.vt-item:last-child .vt-stone {
  background: var(--coral-btn);
  color: var(--white);
}

.bg-white { --section-bg: var(--white); }
.bg-lav { --section-bg: var(--lav); }

.bg-white .vt-card {
  background: var(--bg);
  box-shadow: none;
}

@media (max-width: 760px) {
  .vtimeline::before {
    left: 40px;
  }
  .vt-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
  }
  .vt-stone {
    grid-column: 1;
    width: 76px;
    height: 76px;
    font-size: 19px;
  }
  .vt-card,
  .vt-item:nth-child(even) .vt-card {
    grid-column: 2;
    text-align: left;
  }
}

/* ---------- Traits ---------- */

.traits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trait {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tone, var(--sky));
  color: var(--tone-ink, #2e4bc7);
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  transform: rotate(-1.5deg);
  transition: transform 0.3s var(--spring);
}

.trait:nth-child(even) {
  transform: rotate(1.5deg);
}

.trait:hover {
  transform: rotate(0deg) scale(1.06);
}

/* ---------- Closing band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 48px;
  background: var(--tone, var(--pink));
}

.tone-sun.cta-band {
  background: var(--sun);
}

.cta-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.cta-dot-1 {
  right: 18%;
  top: -70px;
  width: 180px;
  height: 180px;
}

.cta-dot-2 {
  left: -40px;
  bottom: -60px;
  width: 140px;
  height: 140px;
}

.cta-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.cta-copy .lead {
  color: #3d2f3a;
}

.cta-band .btn {
  position: relative;
}

/* ---------- Illustrations ---------- */

.illustration-wrap {
  position: relative;
}

.illustration {
  padding: 32px;
  border-radius: 40px;
  background: var(--tone, var(--sky));
}

.illustration svg {
  width: 100%;
  height: auto;
}

.flow {
  stroke-dasharray: 2 16;
}

.spark {
  transform-box: fill-box;
  transform-origin: center;
}

.illustration-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.label-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--tone-ink, var(--ink));
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
}

.aso {
  transform-box: fill-box;
}

.bind {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0.9;
}

/* ---------- Icon cards, features, steps ---------- */

.icon-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--line);
  transition: transform 0.4s var(--spring), box-shadow 0.4s;
}

.icon-card:hover {
  transform: translateY(-6px) rotate(0.6deg);
}

.icon-card p {
  color: var(--body);
  font-size: 17px;
}

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 48px;
  background: var(--tone, var(--mint));
}

.feature-photo {
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  overflow: hidden;
  border: 8px solid var(--white);
  transform: rotate(-2deg);
}

.feature .body-lg {
  color: #2f3966;
}

.statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(36px, 6vw, 80px) clamp(24px, 6vw, 96px);
  border-radius: 48px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.statement .lead {
  color: #c9d1f0;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border-radius: 28px;
  background: var(--tone, var(--sky));
}

.step p {
  color: #2f3966;
  font-size: 17px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--tone-ink, #2e4bc7);
  font-weight: 900;
  font-size: 26px;
}

.points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 26px;
  background: var(--white);
}

.point p {
  color: var(--body);
  font-size: 17px;
}

.info-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--line);
}

.info-copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-copy p {
  color: var(--body);
}

/* ---------- Share & awareness ---------- */

.share-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 48px;
  background: var(--sky);
}

.share-band .stack-sm {
  flex: 1 1 420px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
  border-top: 10px solid var(--tone, var(--sky));
  box-shadow: 0 6px 0 var(--line);
  transition: transform 0.4s var(--spring);
}

.action-card:hover {
  transform: translateY(-6px);
}

.action-card p {
  color: var(--body);
  font-size: 17px;
}

.action-icon {
  color: var(--tone-ink, #2e4bc7);
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  border-radius: 48px;
  overflow: hidden;
  background: var(--lav);
}

.photo-band-img {
  min-height: 420px;
}

.photo-band-copy {
  padding: clamp(32px, 5vw, 64px);
  justify-content: center;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: 28px;
  background: var(--white);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--bg);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 8px 0 rgba(27, 37, 89, 0.1);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 800;
}

.req {
  color: var(--coral-btn);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #2e4bc7;
  background: var(--white);
}

.field-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}

.privacy svg {
  flex: none;
  margin-top: 4px;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 18px;
  font-weight: 700;
}

.notice svg {
  flex: none;
}

.notice-ok {
  background: var(--mint);
  color: #14523a;
}

.notice-error {
  background: var(--pink);
  color: #8f241d;
}

/* ---------- News ---------- */

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.4s var(--spring);
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-media {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  color: #2e4bc7;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 18px;
  flex: 1;
}

.news-body h3 a {
  text-decoration: none;
}

.news-body .link-arrow {
  margin-top: auto;
  font-size: 17px;
  border-bottom-width: 2px;
}

.article {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-figure img {
  width: 100%;
  border-radius: 30px;
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 15px;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 20px;
  line-height: 1.7;
}

.empty {
  font-size: 20px;
  color: var(--muted);
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding-top: 40px;
}

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

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-thanks {
  font-weight: 900;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--sun);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2b3672;
  color: var(--white);
  transition: transform 0.3s var(--spring), background-color 0.2s;
}

.socials a:hover {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--coral-btn);
  color: var(--white);
}

.socials-light a {
  background: var(--bg);
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid #2f3a78;
  font-size: 15px;
  color: #c3cbea;
}

.footer-bottom a {
  color: #c3cbea;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  0% { opacity: 0; transform: scale(0.6) rotate(var(--r, 0deg)); }
  70% { opacity: 1; transform: scale(1.06) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-rev {
  to { transform: rotate(-360deg); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-9px) rotate(var(--r, 0deg)); }
}

@keyframes flow {
  to { stroke-dashoffset: -72; }
}

@keyframes spark {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 1; }
}

@keyframes bind {
  0%, 15% { transform: translateY(-34px); }
  45%, 80% { transform: translateY(14px); }
  100% { transform: translateY(-34px); }
}

@keyframes bind-ring {
  0%, 40% { transform: scale(0.4); opacity: 0; }
  55% { transform: scale(1); opacity: 1; }
  85%, 100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s var(--ease) both; }
  .rise-2 { animation-delay: 0.15s; }
  .rise-3 { animation-delay: 0.3s; }
  .rise-4 { animation-delay: 0.45s; }
  .pop { animation: pop 0.8s 0.3s var(--spring) both; }
  .pop-2 { animation-delay: 0.5s; }
  .spin { animation: spin 48s linear infinite; }
  .spin-rev { animation: spin-rev 48s linear infinite; }
  .bob { animation: bob 3.6s ease-in-out infinite; }
  .flow { animation: flow 2.4s linear infinite; }
  .flow-2 { animation-duration: 3.2s; }
  .flow-3 { animation-duration: 2.8s; animation-delay: -1s; }
  .spark { animation: spark 2.4s ease-in-out infinite; }
  .spark-2 { animation-delay: 0.8s; }
  .spark-3 { animation-delay: 1.6s; }
  .aso { animation: bind 4.5s var(--ease) infinite; }
  .bind { animation: bind-ring 4.5s var(--ease) infinite; }

  .js .reveal {
    opacity: 0;
    transform: translateY(32px);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
}

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