/* ==========================================================================
   Stick'em Vietnam — Design system
   Bảng màu lấy trực tiếp từ linh kiện trong bộ kit:
     khớp nối cam #F16211 · khớp nối vàng #F9A100 · khớp nối xanh #51C3E3
     logo tím #C154BA · viền nâu đậm #33150E · đũa gỗ #E3C08B
   ========================================================================== */

:root {
  /* Màu linh kiện */
  --orange:       #F16211;
  --orange-deep:  #CB401A;
  --orange-soft:  #FFEDE2;
  --amber:        #F9A100;
  --amber-soft:   #FFF4DA;
  --sky:          #51C3E3;
  --sky-deep:     #23A1D2;
  --sky-soft:     #E4F6FC;
  --purple:       #C154BA;
  --purple-soft:  #FAECF9;
  --green:        #35B84A;
  --pink:         #F35BA0;
  --wood:         #E3C08B;
  --wood-soft:    #FBF3E6;

  /* Nền & chữ */
  --bg:           #FFFFFF;
  --surface:      #FFFFFF;
  --surface-2:    #FBFAF8;
  --ink:          #33150E;
  --ink-soft:     #6B5248;
  --line:         #EBE3DE;
  --line-strong:  #33150E;

  /* Nhịp */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 2px 0 rgba(51, 21, 14, .10);
  --shadow-md: 0 10px 30px rgba(51, 21, 14, .08);
  --shadow-pop: 0 6px 0 var(--ink);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 9vw, 7.5rem);
  --maxw: 78rem;
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.35rem + 4.4vw, 4.75rem); }
h2 { font-size: clamp(1.85rem, 1.15rem + 3vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem); line-height: 1.2; }
h4 { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.3; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

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

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* Header dính ở trên -> chừa khoảng khi nhảy tới anchor */
section[id],
#top { scroll-margin-top: 5.75rem; }

.section--tint {
  background: var(--surface-2);
  border-block: 2px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p { margin-top: 1rem; }

/* Nhãn nhỏ trên tiêu đề */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .85rem;
  padding: .3rem .85rem .35rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.6;
}

.eyebrow::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--orange);
  flex: none;
}

.eyebrow--sky   { background: var(--sky-soft); }
.eyebrow--sky::before { background: var(--sky-deep); }
.eyebrow--purple { background: var(--purple-soft); }
.eyebrow--purple::before { background: var(--purple); }

/* Chữ tô màu highlight */
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -.1em; right: -.1em; bottom: .04em;
  height: .32em;
  border-radius: 999px;
  background: var(--amber);
  opacity: .45;
  z-index: -1;
}
.hl--sky::after { background: var(--sky); }
.hl--purple::after { background: var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.25rem;
  padding: .7rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  box-shadow: 0 4px 0 var(--ink);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

.btn svg { flex: none; }

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

.btn--sky { background: var(--sky); color: var(--ink); }
.btn--sky:hover { background: var(--sky-deep); color: #fff; }

.btn--ghost { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--amber-soft); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

/* Trên màn hình rất hẹp, nút chiếm trọn chiều ngang */
@media (max-width: 26.25em) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: none;
}

.brand__mark {
  width: clamp(2.4rem, 6vw, 3rem);
  height: auto;
  flex: none;
}

.brand__text { display: flex; flex-direction: column; line-height: 1; }

.brand__name {
  font-weight: 800;
  font-size: clamp(1.15rem, 3.4vw, 1.4rem);
  letter-spacing: -0.02em;
}

.brand__sub {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--purple);
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
}

.nav__link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  padding-block: .35rem;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.nav__link:hover { color: var(--ink); border-bottom-color: var(--orange); }

.nav .btn { min-height: 2.85rem; padding-inline: 1.15rem; font-size: .9rem; }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: 0 3px 0 var(--ink);
}

.burger:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

.mobile-nav {
  display: grid;
  gap: .25rem;
  width: min(100% - 2rem, var(--maxw));
  margin: .5rem auto 1rem;
  padding: .6rem;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  padding: .8rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: background-color .16s ease;
}

.mobile-nav a:hover { background: var(--orange-soft); }

.mobile-nav .btn { margin-top: .4rem; }

@media (min-width: 62em) {
  .nav { display: flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}

/* Chấm bi nền, rất nhạt */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero__title { margin-top: .5rem; }

.hero__title span { display: block; }

.hero__lead { margin-top: 1.4rem; max-width: 34rem; }

.hero__note {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__note svg { color: var(--orange); flex: none; }

.hero__art { position: relative; }

.hero__photo {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  box-shadow: 10px 10px 0 var(--sky);
  background: var(--sky-soft);
}

/* Linh vật "stickies" nổi ở góc ảnh */
.hero__mascot {
  position: absolute;
  width: clamp(6rem, 17vw, 10.5rem);
  right: -.5rem;
  bottom: -1.75rem;
  z-index: 2;
  filter: drop-shadow(0 8px 14px rgba(51, 21, 14, .22));
  animation: bob 4.5s ease-in-out infinite;
}

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

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-pop);
  text-align: center;
}

.stat:nth-child(1) { background: var(--orange-soft); }
.stat:nth-child(2) { background: var(--sky-soft); }
.stat:nth-child(3) { background: var(--amber-soft); }
.stat:nth-child(4) { background: var(--purple-soft); }

.stat__num {
  display: block;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stat__label {
  display: block;
  margin-top: .35rem;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-soft);
}

@media (min-width: 48em) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Mission ---------- */
.mission__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.mission__figure {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  background: var(--purple-soft);
  box-shadow: 10px 10px 0 var(--purple);
  text-align: center;
}

.mission__figure img { margin-inline: auto; }

.mission__figure figcaption {
  margin-top: 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.quote {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border: 2px solid var(--ink);
  border-left-width: 10px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quote p {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
}

.quote cite {
  display: block;
  margin-top: .7rem;
  font-size: .85rem;
  font-style: normal;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- Card grid (dùng chung) ---------- */
.grid-cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-pop);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  flex: none;
  margin-bottom: 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber-soft);
}

.card__icon--orange { background: var(--orange-soft); color: var(--orange-deep); }
.card__icon--sky    { background: var(--sky-soft);    color: var(--sky-deep); }
.card__icon--amber  { background: var(--amber-soft);  color: var(--orange-deep); }
.card__icon--purple { background: var(--purple-soft); color: var(--purple); }

.card p { margin-top: .7rem; color: var(--ink-soft); }

/* ---------- Kit ---------- */
.kit__top {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.kit__photo {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  box-shadow: 10px 10px 0 var(--amber);
  background: var(--wood-soft);
}

/* Bảng thành phần: 3 nhóm */
.kit-groups {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.kit-group {
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}

.kit-group__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.kit-group:nth-child(1) .kit-group__head { background: var(--orange-soft); }
.kit-group:nth-child(2) .kit-group__head { background: var(--sky-soft); }
.kit-group:nth-child(3) .kit-group__head { background: var(--amber-soft); }

.kit-group__head svg { flex: none; }

.kit-list { padding: .5rem 1.35rem 1.35rem; }

.kit-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem;
  border-bottom: 1px dashed var(--line);
  font-size: .97rem;
}

.kit-list li:last-child { border-bottom: 0; }

.kit-list .qty {
  flex: none;
  padding: .1rem .6rem .15rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.kit-note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  max-width: 52rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  padding: 1.1rem 1.35rem;
  border: 2px dashed var(--ink);
  border-radius: var(--r-md);
  background: var(--wood-soft);
  font-size: .95rem;
}

.kit-note svg { flex: none; margin-top: .3rem; color: var(--orange-deep); }

/* Chấm màu chú thích linh kiện */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .8rem .4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
}

.swatch::before {
  content: "";
  width: .85rem;
  height: .85rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  flex: none;
}

.swatch--orange::before { background: var(--orange); }
.swatch--amber::before  { background: var(--amber); }
.swatch--sky::before    { background: var(--sky); }
.swatch--green::before  { background: var(--green); }
.swatch--pink::before   { background: var(--pink); }
.swatch--wood::before   { background: var(--wood); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.step {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.35rem, 2.5vw, 1.75rem) clamp(1.35rem, 2.5vw, 1.75rem);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-pop);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -1.1rem;
  left: 1.35rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.step:nth-child(2)::before { background: var(--sky); }
.step:nth-child(3)::before { background: var(--orange); color: #fff; }
.step:nth-child(4)::before { background: var(--purple); color: #fff; }

.step h3 { margin-top: .9rem; }
.step p { margin-top: .6rem; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Audience ---------- */
.audience {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.aud {
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
}

.aud:nth-child(1) { background: var(--orange-soft); }
.aud:nth-child(2) { background: var(--sky-soft); }
.aud:nth-child(3) { background: var(--purple-soft); }

.aud h3 { margin-bottom: .9rem; }

.checklist { display: grid; gap: .65rem; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .97rem;
  line-height: 1.6;
}

.checklist svg { flex: none; margin-top: .35rem; color: var(--orange-deep); }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  background: var(--surface-2);
  box-shadow: 10px 10px 0 var(--orange);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s ease, transform .7s ease;
}

.slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }

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

.stage__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: .35rem;
  transform-origin: left;
  background: var(--orange);
}

.gallery__controls {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.round-btn:hover { background: var(--amber-soft); transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.round-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

.gallery__count {
  margin-left: .35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink);
  border-radius: var(--r-xl);
  background: var(--amber-soft);
  box-shadow: 12px 12px 0 var(--ink);
  text-align: center;
}

.contact-card__mascot {
  width: clamp(6.5rem, 16vw, 10rem);
  margin: 0 auto 1.5rem;
}

.contact-card p { margin-top: 1rem; }

.mailto {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 0 var(--ink);
  font-weight: 800;
  font-size: clamp(.95rem, .82rem + 0.7vw, 1.3rem);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  /* Email dài không được tràn trên máy hẹp */
  max-width: 100%;
  word-break: break-all;
}

.mailto:hover { background: var(--orange); color: #fff; transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.mailto:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }

.mailto svg { flex: none; }

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.contact-meta svg { color: var(--purple); flex: none; }

/* ---------- Footer ---------- */
.footer {
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  border-top: 2px solid var(--line);
  background: var(--surface-2);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.footer__links { display: grid; gap: .6rem; }

.footer__links a {
  font-weight: 600;
  color: var(--ink-soft);
  width: fit-content;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.footer__links a:hover { color: var(--ink); border-bottom-color: var(--orange); }

.footer__title {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 2px solid var(--line);
  font-size: .85rem;
  color: var(--ink-soft);
}

@media (min-width: 48em) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Breakpoints: 2 cột ---------- */
@media (min-width: 62em) {
  .hero__grid   { grid-template-columns: 1.05fr .95fr; }
  .mission__grid { grid-template-columns: .9fr 1.1fr; }
  .kit__top     { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: .8fr 1.2fr; }
}

/* Ảnh hero xuống dưới chữ trên mobile — giữ thứ tự đọc hợp lý */
@media (max-width: 61.99em) {
  .hero__art    { order: 2; }
  .hero__copy   { order: 1; }
  .mission__figure { order: 2; }
  .mission__copy   { order: 1; }
}

/* Nới lỏng shadow lệch trên màn hình nhỏ để không tạo scroll ngang */
@media (max-width: 36em) {
  .hero__photo,
  .kit__photo   { box-shadow: 6px 6px 0 var(--sky); }
  .kit__photo   { box-shadow: 6px 6px 0 var(--amber); }
  .mission__figure { box-shadow: 6px 6px 0 var(--purple); }
  .stage        { box-shadow: 6px 6px 0 var(--orange); }
  .contact-card { box-shadow: 6px 6px 0 var(--ink); }
}

/* Ẩn phần tử nhưng vẫn đọc được bằng screen reader */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
