/* UI components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(201, 62, 40, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  color: #fff !important;
}

.btn--ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: rgba(22, 15, 20, 0.2);
}

.btn--ghost:hover {
  border-color: var(--violet);
  color: var(--violet) !important;
}

.hero-band {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 1.5rem 2.5rem;
  max-width: 60rem;
}

@media (min-width: 900px) {
  .hero-band {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 2.5rem;
  }
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jade);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}

.hero-lede {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -40%;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(92, 61, 122, 0.12), transparent 65%);
  pointer-events: none;
}

.stat-card__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 0.35rem;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
}

.stat-card__note {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.section {
  padding: 2.5rem 1.5rem;
  max-width: 58rem;
}

.section__title {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0 0 0.75rem;
}

.section__intro {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: var(--max-text);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.photo-mosaic a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
  box-shadow: 0 6px 18px rgba(15, 6, 16, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.photo-mosaic a:hover {
  transform: translateY(-3px) rotate(-0.3deg);
  box-shadow: 0 14px 32px rgba(15, 6, 16, 0.12);
}

.photo-mosaic img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.embed {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin: 1.25rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  box-shadow: var(--shadow-soft);
}

.embed--16x9 {
  padding-bottom: 56.25%;
  height: 0;
}

.embed--16x9 iframe,
.embed--16x9 .embed__yt-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* YouTube: thumbnail + play until user loads iframe (avoids empty player / Error 153 flash) */
.embed--youtube .embed__yt-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #111;
}

.embed--youtube .embed__yt-poster:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.embed--youtube .embed__yt-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embed__yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.25rem;
  height: 3rem;
  margin: 0;
  transform: translate(-50%, -50%);
  background: rgba(200, 0, 0, 0.92);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.embed__yt-play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #fff;
}

.embed--tall iframe {
  display: block;
  width: 100%;
  min-height: 480px;
  border: 0;
}

@media (max-width: 640px) {
  .embed--tall iframe {
    min-height: 320px;
  }
}

.canva-shell {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin: 1.25rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.canva-shell__inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.canva-shell__inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.55);
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.grid-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
