@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Outfit:wght@400;600;800&display=swap");

:root {
  --bg: #fff8f0;
  --ink: #1a1033;
  --coral: #ff6b4a;
  --blue: #3d5afe;
  --yellow: #ffd23f;
  --purple: #9b5de5;
  --mint: #00c9a7;
  --line: #1a1033;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Chunky top bar ── */
.bloc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 40px);
  border-bottom: 4px solid var(--ink);
  background: var(--yellow);
}

.bloc-nav .back {
  font-size: 0.82rem;
  font-weight: 600;
}

.bloc-logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bloc-logo span {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 4px;
  background: var(--coral);
  color: #fff;
  transform: rotate(-3deg);
}

.bloc-nav nav {
  display: flex;
  gap: 8px;
}

.bloc-nav nav a {
  padding: 8px 14px;
  border: 3px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.bloc-nav nav a:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ── Hero: color block collage ── */
.bloc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(92vh, 780px);
  border-bottom: 4px solid var(--ink);
}

.bloc-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 64px);
  background: var(--blue);
  color: #fff;
  border-right: 4px solid var(--ink);
}

.bloc-hero-copy h1 {
  margin: 16px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.bloc-hero-copy h1 em {
  display: block;
  font-style: normal;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
}

.bloc-hero-copy p {
  max-width: 400px;
  font-size: 1rem;
  opacity: 0.92;
}

.bloc-sticker {
  align-self: flex-start;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
}

.bloc-hero-art {
  position: relative;
  background: var(--coral);
  overflow: hidden;
}

.bloc-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.bloc-shape {
  position: absolute;
  border: 3px solid var(--ink);
}

.bloc-shape.a {
  width: 80px;
  height: 80px;
  top: 12%;
  right: 10%;
  background: var(--yellow);
  border-radius: 50%;
}

.bloc-shape.b {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 8%;
  background: var(--purple);
  transform: rotate(15deg);
}

.bloc-shape.c {
  width: 0;
  height: 0;
  top: 40%;
  right: 25%;
  border: 40px solid transparent;
  border-bottom-color: var(--mint);
  border-left-color: var(--mint);
  background: transparent;
}

.bloc-shape.d {
  width: 100px;
  height: 24px;
  bottom: 12%;
  right: 15%;
  background: #fff;
  border-radius: 999px;
}

/* ── Programs: sticker cards ── */
.bloc-section {
  padding: clamp(48px, 8vw, 80px) clamp(16px, 4vw, 40px);
}

.bloc-section h2 {
  margin: 0 0 32px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.bloc-section h2 span {
  display: inline-block;
  padding: 4px 12px;
  background: var(--purple);
  color: #fff;
  transform: rotate(1deg);
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sticker-card {
  padding: 28px;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.sticker-card:nth-child(1) { background: var(--yellow); transform: rotate(-1deg); }
.sticker-card:nth-child(2) { background: var(--mint); transform: rotate(1.5deg); margin-top: 16px; }
.sticker-card:nth-child(3) { background: var(--coral); color: #fff; transform: rotate(-0.5deg); }

.sticker-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.sticker-card h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.sticker-card p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
}

/* ── Gallery strip ── */
.bloc-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.bloc-gallery div {
  min-height: 280px;
  border-right: 4px solid var(--ink);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bloc-gallery div:last-child { border-right: 0; }

.bloc-gallery .g1 { background: var(--purple); color: #fff; }
.bloc-gallery .g2 { background: var(--yellow); }
.bloc-gallery .g3 { background: var(--blue); color: #fff; }

.bloc-gallery strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
}

.bloc-gallery span {
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ── CTA block ── */
.bloc-cta {
  margin: 0 clamp(16px, 4vw, 40px) 64px;
  padding: clamp(40px, 6vw, 64px);
  background: var(--ink);
  color: #fff;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--coral);
  text-align: center;
}

.bloc-cta h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--yellow);
}

.bloc-cta a {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  background: var(--coral);
  border: 3px solid #fff;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--yellow);
}

.bloc-footer {
  padding: 20px clamp(16px, 4vw, 40px);
  border-top: 4px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 768px) {
  .bloc-nav nav { display: none; }

  .bloc-hero,
  .sticker-grid,
  .bloc-gallery {
    grid-template-columns: 1fr;
  }

  .bloc-hero-copy {
    border-right: 0;
    border-bottom: 4px solid var(--ink);
  }

  .bloc-gallery div {
    border-right: 0;
    border-bottom: 4px solid var(--ink);
    min-height: 180px;
  }

  .sticker-card:nth-child(2) { margin-top: 0; }
}
