:root {
  --paper: #f3efe6;
  --ink: #172033;
  --muted: #5e6772;
  --line: #e3dbcf;
  --card: #fffdf8;
  --accent: #c2412d;
  --accent-dark: #9a3120;
  --navy: #1b3f73;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "PMingLiU", serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body.kk-site {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 22px;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif);
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: none;
}
.top nav { display: flex; gap: 18px; flex: 1; min-width: 0; }
.top nav a { text-decoration: none; color: var(--muted); font-size: 15px; white-space: nowrap; }
.top nav a[aria-current="page"], .top nav a:hover { color: var(--ink); }
.top .phone {
  margin-left: auto;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
  flex: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  padding: 54px 0 28px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.12em;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.lede { font-size: 18px; max-width: 38em; color: #2a3340; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #c9bfb0; }
.btn.ghost:hover { background: #fff; }
.btn:disabled { opacity: 0.6; cursor: wait; }

figure { margin: 0; }
figure img { width: 100%; height: 460px; border-radius: 18px; object-fit: cover; }
figure img.portrait { object-position: center 18%; }
figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.band { padding: 18px 0 8px; }
.quote {
  margin: 0;
  padding: 8px 0 22px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.job {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 8px;
}
.job .n {
  font-family: var(--serif);
  color: #c8b8a4;
  font-size: 28px;
  line-height: 1;
}
.job h2 { margin: 6px 0 8px; font-size: 26px; font-family: var(--serif); font-weight: 600; }
.job p { margin: 0 0 14px; }
.job a { color: var(--navy); }

.section { padding: 56px 0; }
.section h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.sub { color: var(--muted); max-width: 40em; margin-top: 0; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.split.reverse { grid-template-columns: 0.8fr 1.2fr; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.products article {
  background: var(--card);
  border-radius: 14px;
  padding: 16px 16px 4px;
  border: 1px solid var(--line);
}
.products h3 { margin: 0 0 6px; font-size: 18px; }
.products p { margin: 0 0 12px; color: #3c4654; font-size: 15px; }

.schools { margin: 14px 0 0; padding: 0; list-style: none; }
.schools li { padding: 8px 0; border-top: 1px solid var(--line); }

.people { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.people img { border-radius: 18px; width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; }

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li {
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  color: #3c4654;
  border: 1px solid var(--line);
}

.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 620; }
.faq p { margin: 8px 0 0; color: #2c3542; }
.faq a { color: var(--navy); }

.form-card {
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 22px;
  padding: 28px;
}
.form-card h2 { color: #fff; margin-top: 0; font-size: 30px; line-height: 1.3; }
.form-card p { color: #d9d0c3; overflow-wrap: anywhere; }
.form-card label { display: block; margin: 12px 0 6px; font-size: 14px; color: #efe6da; }
.form-card input,
.form-card select {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.form-card .btn { margin-top: 16px; width: 100%; }
.kk-note { min-height: 1.5em; margin: 10px 0 0; color: #f0d7c8; }

.foot {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.foot a { color: var(--navy); }
.foot p { margin: 6px 0; overflow-wrap: anywhere; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}
#place, #apply, #videos { scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); }

.kk-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 18px;
  overflow: hidden;
}
.kk-stage iframe,
.kk-play,
.kk-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.kk-play {
  padding: 0;
  background: #111;
  cursor: pointer;
  color: #fff;
}
.kk-play img { object-fit: cover; }
.kk-play span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  min-width: 72px;
  min-height: 72px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.kk-play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.vid { margin: 0 0 8px; }
.vid h3 {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 640;
}
.vid-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 6px 0 0;
  font-size: 14px;
}
.vid-links a { color: var(--navy); }
.vid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin-top: 18px;
}
.vid-grid .vid-lead { grid-column: 1 / -1; }
.vid-lead { margin-bottom: 18px; }
#videos > .vid-lead { margin-bottom: 22px; }
.faq summary { padding: 6px 0; }

@media (max-width: 800px) {
  body.kk-site { font-size: 16px; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .top {
    gap: 12px;
    padding: 12px 14px;
  }
  .logo { font-size: 20px; }
  .top nav { display: none; }
  .top .phone {
    font-size: 15px;
    letter-spacing: 0;
  }
  .hero,
  .split,
  .split.reverse,
  .jobs,
  .products,
  .people,
  .join-grid,
  .vid-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 24px 0 18px;
    gap: 18px;
    align-items: start;
  }
  .kicker {
    letter-spacing: 0.06em;
    font-size: 13px;
  }
  h1 { font-size: clamp(28px, 8vw, 36px); }
  .lede { font-size: 16px; }
  .actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 18px;
  }
  .actions .btn {
    width: 100%;
    white-space: nowrap;
  }
  .hero figure img,
  .split figure img {
    height: min(42vw, 240px);
    min-height: 180px;
    border-radius: 14px;
  }
  .quote { font-size: clamp(18px, 5.5vw, 26px); padding-bottom: 16px; }
  .section { padding: 36px 0; }
  .section h2 { font-size: clamp(24px, 7vw, 32px); }
  .job {
    border-radius: 14px;
    padding: 18px 16px 6px;
  }
  .job h2 { font-size: 22px; }
  .products article { padding: 14px 14px 2px; }
  .form-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .form-card h2 { font-size: 24px; }
  .foot { padding: 22px 0 28px; }
  .people { justify-items: center; }
  .people img { max-width: min(240px, 72vw); margin-inline: auto; }
  .faq summary { min-height: 44px; padding: 10px 0; }
  .chips a { min-height: 44px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  .logo { font-size: 18px; }
  .top .phone { font-size: 13px; }
  h1 { font-size: 26px; }
  .form-card { padding: 18px 14px; }
}

@media (max-height: 520px) {
  .hero { padding: 16px 0 8px; gap: 16px; }
  .hero figure img,
  .split figure img { height: 160px; min-height: 0; }
  .section { padding: 24px 0; }
  h1 { font-size: clamp(26px, 4vw, 40px); }
}
