/* Chinese Yo-yo School — clean rebuild, 2026 */
:root {
  --brand: #f47d3b;
  --brand-dark: #d96422;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #faf6f1;
  --border: #ece4d9;
  --radius: 14px;
  --maxw: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand img { height: 56px; width: auto; }

.main-nav { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--brand-dark); }
.main-nav a.active { color: var(--brand-dark); background: var(--bg-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, #1f1a16 0%, #3a2417 60%, #572f18 100%);
  color: #fff;
  padding: 84px 0;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 14px; }
.hero h1 .accent { color: var(--brand); }
.hero p.lead { font-size: 1.15rem; color: #f3e7d8; max-width: 640px; margin: 0 auto 28px; }

.hero-slides { position: relative; min-height: 150px; }
.hero-slide { display: none; animation: fade 0.6s ease; }
.hero-slide.show { display: block; }
.hero-slide h2 { font-size: 1.9rem; margin-bottom: 10px; color: #fff; }
.hero-slide p { color: #f3e7d8; max-width: 620px; margin: 0 auto; }
.hero-dots { margin-top: 22px; display: flex; gap: 10px; justify-content: center; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hero-dots button.on { background: var(--brand); }

.hero-photo {
  background:
    linear-gradient(to bottom, rgba(24,16,10,.62) 0%, rgba(24,16,10,.28) 45%, rgba(24,16,10,.72) 100%),
    url('../images/mainchineseyoyos.jpg') center center / cover no-repeat;
  padding: 110px 0 84px;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero-photo .hero-slide h2 { color: var(--brand); }
.hero-photo .hero-dots button { background: rgba(255,255,255,.45); }
.hero-photo .hero-dots button.on { background: var(--brand); }

.media-split {
  display: grid; grid-template-columns: minmax(0, 340px) 1fr;
  gap: 44px; align-items: center; margin-top: 36px;
}
.media-split figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}
.media-split .checklist { margin: 0; max-width: none; }
.inline-photo { margin: 32px auto 0; max-width: 640px; }
.inline-photo-sm { max-width: 300px; margin-top: 0; margin-bottom: 8px; }
.inline-photo img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

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

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand-dark) !important;
}
.btn-outline:hover { background: var(--brand); color: #fff !important; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section h2 { font-size: 2rem; margin-bottom: 12px; }
.section .kicker {
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand-dark); font-weight: 700; font-size: .85rem; margin-bottom: 8px;
}
.center { text-align: center; }
.narrow { max-width: 720px; margin: 0 auto; }
p + p { margin-top: 1em; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 12px 32px rgba(244,125,59,.14); transform: translateY(-3px); }
.card .icon { margin-bottom: 12px; }
.card .icon img { width: 45px; height: 45px; margin: 0 auto; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 36px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }

.checklist { list-style: none; margin: 24px auto 0; max-width: 560px; text-align: left; }
.checklist li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed var(--border); }
.checklist li::before { content: "✓"; position: absolute; left: 6px; color: var(--brand-dark); font-weight: 800; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.tag {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px; font-size: .92rem; font-weight: 600; color: var(--ink);
}

/* ---------- forms ---------- */
form.clean { max-width: 560px; margin: 32px auto 0; text-align: left; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--brand-dark); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #2e7d32; }
.form-status.err { display: block; color: #c62828; }

/* ---------- footer ---------- */
.site-footer { background: #211a14; color: #d9cbb8; padding: 56px 0 28px; margin-top: 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto 36px; padding: 0 24px; text-align: center; }
.footer-logo { height: 52px; width: auto; margin: 0 auto 18px; }
.site-footer h3 { color: #fff; margin-bottom: 10px; font-size: 1.1rem; }
.site-footer a { color: var(--brand); }
.footer-inner p { margin-bottom: 6px; }
.copyright { text-align: center; font-size: .85rem; color: #8d7d68; border-top: 1px solid #3a2d20; padding-top: 24px; max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 48px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .site-header { position: relative; }
  .header-inner { position: relative; }
  .media-split { grid-template-columns: 1fr; gap: 28px; }
  .media-split figure { max-width: 320px; margin: 0 auto; }
}
