/*
Theme Name: 骏骏宠物培训
Theme URI: https://jjpet.example/
Author: JJ Pet
Description: 固定 VI 的轻量 WordPress 主题，内容由 jjpet-core 统一提供。
Version: 1.0.11
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: jjpet-theme
*/

/* The design tokens live here and are mirrored by theme.json. Do not add
 * page-level overrides: visual changes are released with the theme. */
:root {
  --jj-bg: #fdf9f3;
  --jj-bg-soft: #fff7ea;
  --jj-surface: #ffffff;
  --jj-ink: #3a2417;
  --jj-ink-muted: #6d6258;
  --jj-line: #e9ded0;
  --jj-yellow: #fdd46b;
  --jj-yellow-hover: #f6be43;
  --jj-blue: #a9d3df;
  --jj-orange: #d39a6e;
  --jj-shadow: rgba(63, 40, 24, 0.08);
  --jj-font-display: "JJ Noto Serif SC", "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --jj-font-body: "JJ Noto Sans SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --jj-radius-sm: 12px;
  --jj-radius-md: 16px;
  --jj-radius-lg: 22px;
  --jj-content-width: 1200px;
  --jj-gutter: 24px;
  /* Card rhythm is shared by courses, articles and related-content grids. */
  --jj-card-inset: 8px;
  --jj-card-body-x: 18px;
  --jj-card-body-top: 14px;
  --jj-card-body-bottom: 16px;
  --jj-card-title-gap: 8px;
  --jj-card-action-gap: 16px;
  --jj-home-section-gap: 64px;
}

/* A small self-hosted subset keeps Chinese text legible without a network
 * dependency. The subset contains every glyph used by the shipped templates;
 * upload a broader subset when editorial content expands. */
@font-face {
  font-family: "JJ Noto Sans SC";
  src: url("assets/fonts/NotoSans400.woff2?ver=1.0.9") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JJ Noto Sans SC";
  src: url("assets/fonts/NotoSans700.woff2?ver=1.0.9") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JJ Noto Serif SC";
  src: url("assets/fonts/NotoSerif800.woff2?ver=1.0.9") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jj-bg);
  color: var(--jj-ink);
  font-family: var(--jj-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--jj-orange); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--jj-blue);
  outline-offset: 3px;
}
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--jj-ink); font-family: var(--jj-font-display); font-weight: 800; line-height: 1.25; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 16px; padding-left: 1.4em; }

.jj-shell {
  width: min(var(--jj-content-width), calc(100% - 164px));
  margin-inline: auto;
}
.jj-section { padding-block: 48px; }
.jj-section--tight { padding-block: 32px; }
.home .jj-section,
.front-page .jj-section,
.jj-home-preview .jj-section { padding-block: calc(var(--jj-home-section-gap) / 2); }
.jj-section__head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 12px; text-align: center; }
.jj-section__head h2 { letter-spacing: .02em; font-size: 24px; }
.jj-section__mark { width: 22px; height: 14px; flex: 0 0 auto; color: var(--jj-yellow); }
.jj-section__mark--right { transform: scaleX(-1); }
.jj-kicker { margin-bottom: 8px; color: var(--jj-orange); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.jj-muted { color: var(--jj-ink-muted); }
.jj-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.jj-site-header { position: relative; z-index: 20; min-height: 64px; border-bottom: 1px solid rgba(233,222,208,.62); background: var(--jj-bg-soft); }
.jj-header__inner { min-height: 64px; width: min(var(--jj-content-width), calc(100% - 64px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.jj-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--jj-ink); text-decoration: none; white-space: nowrap; }
.jj-brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.jj-brand__name { font-family: var(--jj-font-display); font-size: 18px; font-weight: 900; letter-spacing: .02em; }
.jj-primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(22px, 3.8vw, 42px); margin-right: 20px; }
.jj-primary-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; color: var(--jj-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.jj-primary-nav a::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; border-radius: 99px; background: var(--jj-yellow); content: ""; transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.jj-primary-nav a:hover::after, .jj-primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.jj-menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--jj-line); border-radius: 10px; background: var(--jj-surface); color: var(--jj-ink); cursor: pointer; }
.jj-menu-toggle svg { width: 22px; height: 22px; }

/* Hero */
.jj-hero { position: relative; overflow: hidden; min-height: 338px; background: var(--jj-bg); }
.jj-hero__inner { position: relative; min-height: 338px; width: min(var(--jj-content-width), calc(100% - 64px)); margin-inline: auto; display: grid; grid-template-columns: 48% 52%; align-items: center; }
.jj-hero__copy { position: relative; z-index: 2; padding-left: clamp(42px, 8vw, 115px); padding-block: 40px; }
.jj-hero__copy h1 { max-width: 430px; font-size: clamp(2.25rem, 4.1vw, 3rem); letter-spacing: .015em; }
.jj-hero__copy p { max-width: 370px; margin-top: 13px; color: var(--jj-ink); font-size: 17px; font-weight: 600; line-height: 1.6; }
.jj-hero__cta { width: 186px; min-height: 46px; margin-top: 26px; padding-inline: 20px; font-size: 17px; }
.jj-hero__media { position: absolute; inset: 0 0 0 34%; z-index: 1; margin: 0; }
.jj-hero__media::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--jj-bg) 0%, rgba(253,249,243,.98) 14%, rgba(253,249,243,0) 39%); content: ""; pointer-events: none; }
.jj-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.jj-hero__brush { position: absolute; z-index: 3; pointer-events: none; }
.jj-hero__brush--top { top: 0; left: 6%; width: 290px; height: 72px; }
.jj-hero__brush--right { top: 70px; right: 48px; width: 44px; height: 44px; }
.jj-hero__brush--bottom { right: -2px; bottom: -1px; width: 190px; height: 105px; }
.jj-hero__brush--blue { bottom: -4px; left: -4px; width: 104px; height: 112px; }
.jj-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 28px; border: 0; border-radius: 999px; background: var(--jj-yellow); color: var(--jj-ink); font-size: 16px; font-weight: 800; line-height: 1.2; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(211,154,110,.12); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.jj-button:hover { background: var(--jj-yellow-hover); color: var(--jj-ink); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(211,154,110,.2); }
.jj-button--small { min-width: 120px; min-height: 36px; padding: 8px 16px; font-size: 14px; line-height: 1.2; }
.jj-button--outline { border: 1px solid var(--jj-yellow-hover); background: transparent; }
.jj-button__icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.jj-button--small .jj-button__icon { width: 16px; height: 16px; flex-basis: 16px; }
@media (min-width: 768px) {
  .jj-hero__copy h1 { white-space: nowrap; }
}

/* Cards / courses */
.jj-courses { padding-top: 20px; padding-bottom: 0; background: var(--jj-bg); }
.jj-course-grid, .jj-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.jj-card { overflow: hidden; border: 1px solid rgba(233,222,208,.48); border-radius: var(--jj-radius-md); background: var(--jj-surface); box-shadow: 0 6px 24px var(--jj-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.jj-card:hover { border-color: rgba(211,154,110,.34); box-shadow: 0 10px 28px rgba(63,40,24,.12); transform: translateY(-2px); }
.jj-course-card { display: flex; min-height: 286px; flex-direction: column; }
.jj-card__media { display: block; overflow: hidden; flex: 0 0 auto; margin: var(--jj-card-inset); aspect-ratio: 16 / 8.25; border-radius: 12px; background: #eee7de; }
.jj-card__media img { width: 100%; height: 100%; object-fit: cover; }
.jj-card__media:focus-visible { outline: 2px solid var(--jj-blue); outline-offset: -2px; }
.jj-card__media picture, .jj-hero__media picture, .jj-trust-panel__main-media picture, .jj-trust-panel__gallery picture, .jj-contact__media picture, .jj-contact-page-image picture, .jj-course-detail__media picture { display: block; width: 100%; height: 100%; }
.jj-course-card .jj-card__media { aspect-ratio: 4 / 3; }
.jj-course-card__body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: var(--jj-card-body-top) var(--jj-card-body-x) var(--jj-card-body-bottom); }
.jj-course-card h2, .jj-course-card h3 { font-size: clamp(1.125rem, 1.7vw, 1.25rem); line-height: 1.35; }
.jj-card h2 a, .jj-card h3 a { text-decoration: none; }
.jj-card__excerpt { margin: var(--jj-card-title-gap) 0 0; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.6; }
.jj-course-card__action { display: flex; justify-content: center; margin: auto 0 0; padding-top: var(--jj-card-action-gap); text-align: center; }
.jj-course-card__action .jj-button { flex: 0 0 auto; }

/* About / trust */
.jj-about { padding-top: 20px; padding-bottom: 10px; }
.jj-trust-panel { overflow: hidden; padding: 16px 18px 14px; border-radius: var(--jj-radius-lg); background: var(--jj-bg-soft); box-shadow: 0 5px 18px rgba(63,40,24,.035); }
.jj-trust-panel__top { display: grid; grid-template-columns: 40% 1fr; gap: 38px; align-items: start; }
.jj-trust-panel__main-media { margin: 0; aspect-ratio: 330 / 172; overflow: hidden; border-radius: var(--jj-radius-md); }
.jj-trust-panel__main-media img { width: 100%; height: 100%; object-fit: cover; }
.jj-trust-panel__copy { padding-top: 3px; }
.jj-trust-panel__copy h2 { margin-bottom: 8px; font-size: 24px; }
.jj-trust-panel__copy > p { color: var(--jj-ink-muted); font-size: 14px; line-height: 1.6; }
.jj-trust-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 14px 0 0; padding: 0; list-style: none; }
.jj-trust-list li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: start; }
.jj-trust-list > li > .jj-trust-list__icon { display: grid; width: 30px; height: 30px; margin: 0; place-items: center; align-self: start; justify-self: start; border-radius: 50%; background: var(--jj-yellow); color: var(--jj-ink); line-height: 0; box-shadow: 0 3px 8px rgba(63,40,24,.08); }
.jj-trust-list li:nth-child(2) .jj-trust-list__icon { background: var(--jj-blue); }
.jj-trust-list li:nth-child(3) .jj-trust-list__icon { background: var(--jj-yellow); }
.jj-trust-list > li > .jj-trust-list__icon svg { display: block; width: 16px; height: 16px; margin: 0; }
.jj-trust-list > li > span:not(.jj-trust-list__icon) { display: block; min-width: 0; }
.jj-trust-list strong { display: block; font-family: var(--jj-font-display); font-size: 14px; line-height: 1.3; }
.jj-trust-list > li > span:not(.jj-trust-list__icon) > span { display: block; margin-top: 5px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.5; }
/* Gallery thumbnails use the same 4:3 editorial frame as article imagery. */
.jj-trust-panel__gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.jj-trust-panel__gallery figure { overflow: hidden; margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; background: #eee7de; }
.jj-trust-panel__gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Q&A */
.jj-qa { background: var(--jj-bg); }
.jj-qa__intro { max-width: 650px; margin: -4px auto 20px; color: var(--jj-ink-muted); text-align: center; font-size: 15px; }
.jj-qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.jj-faq-item { padding: 20px 22px; border: 1px solid var(--jj-line); border-radius: var(--jj-radius-md); background: var(--jj-surface); }
.jj-faq-item h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.jj-faq-item h3::before { display: inline-grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; background: var(--jj-yellow); color: var(--jj-ink); content: "Q"; font-family: var(--jj-font-body); font-size: 14px; font-weight: 800; }
.jj-faq-item__answer { position: relative; margin: 8px 0 0 34px; padding-left: 14px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.7; }
.jj-faq-item__answer::before { position: absolute; top: .55em; bottom: .55em; left: 0; width: 3px; border-radius: 99px; background: var(--jj-blue); content: ""; }
.jj-faq-item__links { margin-top: 10px; font-size: 14px; }
.jj-section__action { margin: 18px 0 0; text-align: center; }
.jj-faq-meta { margin-top: 8px; font-size: 14px; }

/* The supplied artwork has no article-list CTA; keep the card grid as the
 * final action in that section while retaining the required homepage Q&A. */
.home .jj-articles .jj-section__action,
.front-page .jj-articles .jj-section__action,
.jj-home-preview .jj-articles .jj-section__action { display: none; }

/* Articles */
.jj-articles { padding-top: 10px; padding-bottom: 0; background: var(--jj-bg); }
/* Article imagery is intentionally 4:3; object-fit: cover preserves source proportions. */
.jj-article-card { display: flex; min-height: 224px; flex-direction: column; }
.jj-article-card .jj-card__media { aspect-ratio: 4 / 3; }
.jj-article-card__body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: var(--jj-card-body-top) 14px var(--jj-card-body-bottom); }
.jj-article-card h2, .jj-article-card h3 { font-size: 16px; line-height: 1.45; }
.jj-article-card__excerpt { margin: var(--jj-card-title-gap) 0 0; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.6; }
.jj-article-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: var(--jj-card-action-gap); color: var(--jj-ink-muted); font-size: 14px; line-height: 1.45; }
.jj-article-card__meta time { display: inline-flex; align-items: center; gap: 5px; }
.jj-meta-icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; }
.jj-avatar { width: 18px; height: 18px; overflow: hidden; border-radius: 50%; background: var(--jj-line); }
.jj-avatar img { width: 100%; height: 100%; object-fit: cover; }
.jj-meta-sep { color: var(--jj-line); }

/* Contact */
.jj-contact { padding-top: 18px; padding-bottom: 0; }
.jj-contact__panel { position: relative; display: grid; grid-template-columns: 48% 52%; align-items: stretch; overflow: hidden; min-height: 186px; border-radius: var(--jj-radius-lg); background: var(--jj-bg-soft); }
.jj-contact__copy { padding: 20px 28px 20px 36px; display:flex; flex-direction:column; }
.jj-contact__copy h2 { font-size: 23px; }
.jj-contact__copy > p { margin-top: 8px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.55; }
.jj-contact__list { display: flex; flex-direction:column; gap: 6px; flex:1; margin: 12px 0 0; padding: 0; list-style: none; color: var(--jj-ink); font-size: 14px; line-height: 1.45; }
.jj-contact__list li { display: flex; gap: 10px; align-items: center; }
.jj-contact__list svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
.jj-contact__list .jj-contact__wechat-qr { align-items: flex-start; justify-content: center; padding-left: 0; margin-bottom: -20px; }
.jj-contact__list .jj-contact__wechat-qr img { width: 240px; height: 240px; object-fit: contain; display: block; cursor: zoom-in; }
.jj-contact__list .jj-contact__wechat-qr { margin-top: auto; }
.jj-qr-lightbox { display:block; }
.jj-qr-lightbox:focus-visible { outline: 3px solid var(--jj-blue); outline-offset: 4px; }
.jj-contact-icon-text { display: inline-grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; background: var(--jj-blue); color: var(--jj-ink); font-size: 14px; font-weight: 800; line-height: 1; }
.jj-contact__media { position: relative; margin: 0 16px 0 0; min-height: 186px; overflow: hidden; border-radius: var(--jj-radius-lg); }
.jj-contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.jj-contact__media .jj-button { position: absolute; right: 10px; bottom: 18px; min-width: 120px; min-height: 40px; padding-inline: 16px; font-size: 14px; }
.jj-contact__brush { position: absolute; z-index: 2; pointer-events: none; }
.jj-contact__brush--heart { top: 72px; left: -52px; width: 64px; height: 64px; }
.jj-contact__brush--orange { right: 48%; bottom: 12px; width: 54px; height: 54px; transform: rotate(-8deg); }

/* Page templates */
.jj-page-hero { padding-block: 62px 0; background: var(--jj-bg-soft); }
.jj-page-hero .jj-shell { display:grid; grid-template-columns: 1fr 360px; gap:34px; align-items:center; }
.jj-contact-page-hero-image { width:100%; max-width:100%; margin:0; height:170px; aspect-ratio:auto; }
.jj-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.jj-page-hero p { max-width: 680px; margin-top: 14px; color: var(--jj-ink-muted); font-size: 17px; }
.jj-breadcrumbs { padding-top: 20px; color: var(--jj-ink-muted); font-size: 14px; }
.jj-breadcrumbs a { color: var(--jj-ink-muted); }
.jj-content-wrap { padding-block: 44px 80px; }
.jj-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 50px; align-items: start; }
.jj-prose { max-width: 760px; }
.jj-prose > * + * { margin-top: 18px; }
.jj-prose h2 { margin-top: 36px; font-size: 28px; }
.jj-prose h3 { margin-top: 26px; font-size: 21px; }
.jj-prose figure { margin: 28px 0; }
.jj-prose figcaption { margin-top: 7px; color: var(--jj-ink-muted); font-size: 14px; }
.jj-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.jj-prose th, .jj-prose td { padding: 10px 12px; border: 1px solid var(--jj-line); text-align: left; }
.jj-prose th { background: var(--jj-bg-soft); }
.jj-article-header h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.jj-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--jj-ink-muted); font-size: 14px; }
.jj-summary { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--jj-yellow); border-radius: 0 var(--jj-radius-sm) var(--jj-radius-sm) 0; background: var(--jj-bg-soft); }
.jj-toc { position: sticky; top: 24px; padding: 18px; border: 1px solid var(--jj-line); border-radius: var(--jj-radius-md); background: var(--jj-surface); }
.jj-toc h2 { font-size: 18px; }
.jj-toc ol { margin-top: 10px; font-size: 14px; }
.jj-faq-section { margin-top: 38px; }
.jj-faq-section > h2 { margin-bottom: 16px; font-size: 28px; }
.jj-faq-section .jj-faq-item + .jj-faq-item { margin-top: 12px; }
.jj-related { margin-top: 42px; }
.jj-related h2 { margin-bottom: 16px; font-size: 26px; }
.jj-definition-list { display: grid; grid-template-columns: minmax(130px, 180px) 1fr; margin: 20px 0; border-top: 1px solid var(--jj-line); }
.jj-definition-list dt, .jj-definition-list dd { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--jj-line); }
.jj-definition-list dt { background: var(--jj-bg-soft); font-weight: 700; }
.jj-course-detail__hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.jj-course-detail__hero > div > p:not(.jj-kicker) { color: var(--jj-ink-muted); }
.jj-course-detail__lead { margin-top: 14px; color: var(--jj-ink-muted); font-size: 17px; }
.jj-course-detail__action { margin-top: 22px; }
.jj-course-detail__footer-action { margin: 34px 0 70px; }
.jj-course-detail__media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--jj-radius-lg); }
.jj-course-detail__media img { width: 100%; height: 100%; object-fit: cover; }

/* About page */
.jj-about-page { overflow: hidden; background: var(--jj-bg); }
.jj-about-hero { position: relative; overflow: hidden; background: var(--jj-bg-soft); }
.jj-about-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 500px; align-items: stretch; }
.jj-about-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 72px 36px 72px 0; }
.jj-about-hero__copy .jj-kicker { margin-bottom: 12px; }
.jj-about-hero__copy h1 { max-width: 520px; font-size: clamp(2.65rem, 5vw, 4rem); line-height: 1.12; letter-spacing: .01em; }
.jj-about-hero__tagline { max-width: 500px; margin-top: 18px; font-size: 20px; font-weight: 700; line-height: 1.5; }
.jj-about-hero__lead { max-width: 480px; margin-top: 14px; color: var(--jj-ink-muted); font-size: 16px; line-height: 1.8; }
.jj-about-hero__cta { align-self: flex-start; margin-top: 24px; }
.jj-about-hero__media { position: relative; z-index: 1; width: 100%; min-height: 500px; margin: 0; overflow: hidden; border-radius: 0 0 0 var(--jj-radius-lg); background: #eee7de; }
.jj-about-hero__media picture, .jj-about-hero__media img { display: block; width: 100%; height: 100%; }
.jj-about-hero__media img { object-fit: cover; object-position: center; }
.jj-about-hero__brush { position: absolute; z-index: 3; pointer-events: none; }
.jj-about-hero__brush--orange { top: 18px; left: 3%; width: 220px; height: 74px; }
.jj-about-hero__brush--blue { bottom: -8px; left: -12px; width: 150px; height: 130px; }
.jj-about-section { padding-block: 64px; }
.jj-about-mission { background: var(--jj-bg); }
.jj-about-mission__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.jj-about-mission__media { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--jj-radius-lg); background: #eee7de; box-shadow: 0 8px 26px var(--jj-shadow); }
.jj-about-mission__media picture, .jj-about-mission__media img { display: block; width: 100%; height: 100%; }
.jj-about-mission__media img { object-fit: cover; object-position: center; }
.jj-about-mission__copy { max-width: 520px; }
.jj-about-mission__copy h2 { max-width: 480px; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.28; }
.jj-about-mission__copy > p:not(.jj-kicker) { margin-top: 18px; color: var(--jj-ink-muted); font-size: 16px; line-height: 1.8; }
.jj-about-heading__rule { display: block; width: 48px; height: 4px; margin-top: 18px; border-radius: 999px; background: var(--jj-yellow); }
.jj-text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-top: 18px; color: var(--jj-ink); font-size: 15px; font-weight: 800; text-decoration: none; }
.jj-text-link:hover { color: var(--jj-orange); }
.jj-text-link__icon { display: block; width: 18px; height: 18px; }
.jj-about-method { background: var(--jj-bg); }
.jj-about-method__panel { padding: 48px 56px; border: 1px solid rgba(233,222,208,.72); border-radius: var(--jj-radius-lg); background: var(--jj-bg-soft); box-shadow: 0 5px 18px rgba(63,40,24,.035); }
.jj-about-section-heading { max-width: 700px; margin-inline: auto; text-align: center; }
.jj-about-section-heading--left { margin-inline: 0; text-align: left; }
.jj-about-section-heading .jj-kicker { margin-bottom: 10px; }
.jj-about-section-heading h2 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); line-height: 1.28; }
.jj-about-section-heading > p:last-child { margin: 14px auto 0; color: var(--jj-ink-muted); font-size: 16px; line-height: 1.7; }
.jj-about-section-heading--left > p:last-child { margin-inline: 0; }
.jj-about-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; }
.jj-about-trust-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 112px; padding: 22px; border: 1px solid rgba(233,222,208,.8); border-radius: var(--jj-radius-md); background: var(--jj-surface); }
.jj-about-trust-card__icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--jj-yellow); color: var(--jj-ink); box-shadow: 0 4px 10px rgba(63,40,24,.08); }
.jj-about-trust-card:nth-child(2) .jj-about-trust-card__icon { background: var(--jj-blue); }
.jj-about-trust-card:nth-child(3) .jj-about-trust-card__icon { background: var(--jj-orange); }
.jj-about-trust-card__icon svg { display: block; width: 25px; height: 25px; }
.jj-about-trust-card strong { display: block; font-family: var(--jj-font-display); font-size: 18px; line-height: 1.35; }
.jj-about-trust-card > span:last-child > span { display: block; margin-top: 6px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.6; }
.jj-about-instructors { padding-top: 0; background: var(--jj-bg); }
.jj-about-instructor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.jj-about-instructor-card { display: flex; gap: 16px; align-items: center; min-height: 132px; padding: 20px; border: 1px solid var(--jj-line); border-radius: var(--jj-radius-md); background: var(--jj-surface); box-shadow: 0 6px 20px var(--jj-shadow); }
.jj-about-instructor-card__avatar { display: grid; width: 88px; height: 88px; flex: 0 0 88px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--jj-bg-soft); color: var(--jj-orange); }
.jj-about-instructor-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.jj-about-instructor-card__avatar svg { width: 34px; height: 34px; }
.jj-about-instructor-card h3 { font-size: 20px; line-height: 1.35; }
.jj-about-instructor-card h3 a { text-decoration: none; }
.jj-about-instructor-card p, .jj-about-instructor-card > div > span { display: block; margin-top: 6px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.55; }
.jj-about-gallery { background: var(--jj-bg); }
.jj-about-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.jj-about-gallery-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; margin: 0; border: 1px solid rgba(233,222,208,.76); border-radius: var(--jj-radius-md); background: var(--jj-surface); box-shadow: 0 6px 20px var(--jj-shadow); }
.jj-about-gallery-card__media { overflow: hidden; aspect-ratio: 4 / 3; background: #eee7de; }
.jj-about-gallery-card__media picture, .jj-about-gallery-card__media img { display: block; width: 100%; height: 100%; }
.jj-about-gallery-card__media img { object-fit: cover; object-position: center; }
.jj-about-gallery-card figcaption { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 20px; }
.jj-about-gallery-card figcaption strong { font-family: var(--jj-font-display); font-size: 18px; line-height: 1.35; }
.jj-about-gallery-card figcaption span { margin-top: 8px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.65; }
.jj-about-journey { background: var(--jj-bg); }
.jj-about-journey__panel { position: relative; padding: 48px 56px 52px; border-radius: var(--jj-radius-lg); background: rgba(169,211,223,.30); }
.jj-about-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; }
.jj-about-steps::before { position: absolute; top: 32px; right: 10%; left: 10%; height: 2px; background: rgba(58,36,23,.22); content: ""; }
.jj-about-step { position: relative; z-index: 1; min-height: 210px; padding: 18px 18px 22px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--jj-radius-md); background: rgba(255,255,255,.84); text-align: center; }
.jj-about-step__number { display: inline-flex; min-width: 38px; min-height: 28px; align-items: center; justify-content: center; border-radius: 999px; background: var(--jj-blue); color: var(--jj-ink); font-size: 14px; font-weight: 800; line-height: 1; }
.jj-about-step__icon { display: grid; width: 48px; height: 48px; margin: 14px auto 12px; place-items: center; border-radius: 50%; background: var(--jj-yellow); color: var(--jj-ink); }
.jj-about-step:nth-child(2) .jj-about-step__icon { background: var(--jj-orange); }
.jj-about-step:nth-child(3) .jj-about-step__icon { background: var(--jj-blue); }
.jj-about-step:nth-child(4) .jj-about-step__icon { background: var(--jj-yellow); }
.jj-about-step__icon svg { width: 23px; height: 23px; }
.jj-about-step h3 { font-size: 18px; line-height: 1.35; }
.jj-about-step p { margin-top: 8px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.6; }
.jj-about-cta { padding-top: 0; background: var(--jj-bg); }
.jj-about-cta__inner { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 42px; align-items: stretch; overflow: hidden; padding: 0; border-radius: var(--jj-radius-lg); background: var(--jj-bg-soft); box-shadow: 0 6px 24px var(--jj-shadow); }
.jj-about-cta__copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 0 48px 48px; }
.jj-about-cta__copy h2 { font-size: clamp(2rem, 3.1vw, 2.7rem); line-height: 1.28; }
.jj-about-cta__copy > p:not(.jj-kicker) { max-width: 410px; margin-top: 16px; color: var(--jj-ink-muted); font-size: 16px; line-height: 1.75; }
.jj-about-cta__copy .jj-button { align-self: flex-start; margin-top: 22px; }
.jj-about-cta__side { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr); gap: 22px; align-items: center; padding: 22px 22px 22px 0; }
.jj-about-cta__media { width: 100%; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--jj-radius-md); background: #eee7de; }
.jj-about-cta__media picture, .jj-about-cta__media img { display: block; width: 100%; height: 100%; }
.jj-about-cta__media img { object-fit: cover; }
.jj-about-cta__contact { min-width: 0; }
.jj-about-cta__contact h3 { font-size: 22px; }
.jj-about-cta__contact > p:not(.jj-about-cta__note):not(.jj-about-cta__fallback) { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.55; }
.jj-about-cta__contact > p svg { display: block; width: 18px; height: 18px; flex: 0 0 18px; color: var(--jj-orange); }
.jj-about-cta__fallback { margin-top: 12px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.6; }
.jj-about-cta__note { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--jj-line); color: var(--jj-ink-muted); font-size: 14px; line-height: 1.55; }

.jj-instructor-card { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--jj-radius-md); background: var(--jj-bg-soft); }
.jj-instructor-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.jj-contact-form { padding: 28px; border-radius: var(--jj-radius-lg); background: var(--jj-surface); box-shadow: 0 6px 24px var(--jj-shadow); }
.jj-contact-page-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 34px; align-items: start; margin-top: 34px; }
.jj-contact-page-info { padding: 26px 28px; border-radius: var(--jj-radius-lg); background: var(--jj-bg-soft); }
.jj-contact-page-info h2 { font-size: 27px; }
.jj-contact-page-info > p { margin-top: 10px; color: var(--jj-ink-muted); }
.jj-contact-page-image { margin: 24px 0 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--jj-radius-md); }
.jj-contact-page-image img { width: 100%; height: 100%; object-fit: cover; }
.jj-contact-hours svg { visibility: hidden; }
.jj-contact-cta { margin-top: 52px; padding: 30px; border-radius: var(--jj-radius-lg); background: var(--jj-bg-soft); text-align: center; }
.jj-contact-cta p { margin: 8px 0 18px; color: var(--jj-ink-muted); }
.jj-qa-toc { position: static; top: auto; max-width: 440px; margin: 26px 0 36px; }
.jj-qa-groups .jj-faq-section { margin-top: 36px; }
.jj-qa-maintenance { margin-top: 30px; color: var(--jj-ink-muted); font-size: 14px; text-align: center; }
.jj-author-card { margin-top: 34px; padding: 20px; border-radius: var(--jj-radius-md); background: var(--jj-bg-soft); }
.jj-author-card h2 { font-size: 21px; }
.jj-sources { margin-top: 32px; }
.jj-sources h2 { font-size: 23px; }
.jj-entry-content { margin-top: 38px; }
.jj-course-detail__section { padding-block: 36px 0; }
.jj-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.jj-form-field { display: grid; gap: 6px; }
.jj-form-field--full { grid-column: 1 / -1; }
.jj-form-field label { font-weight: 700; }
.jj-form-field input, .jj-form-field textarea, .jj-form-field select { width: 100%; padding: 11px 13px; border: 1px solid var(--jj-line); border-radius: 10px; background: var(--jj-bg); color: var(--jj-ink); }
.jj-form-field textarea { min-height: 128px; resize: vertical; }
.jj-form-notice { margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--jj-line); border-radius: 10px; background: var(--jj-bg-soft); }
.jj-form-notice--error { border-color: var(--jj-orange); }
.jj-form-notice--success { border-color: var(--jj-blue); }
.jj-form-notice p { margin-bottom: 4px; }
.jj-form-notice ul { margin: 4px 0 0; padding-left: 1.2em; color: var(--jj-ink-muted); font-size: 14px; }
.jj-field-error { margin: 0; color: #8d3c2b; font-size: 14px; line-height: 1.5; }
.jj-form-privacy { margin: 14px 0 16px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.6; }
.jj-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.jj-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.jj-pagination a, .jj-pagination span { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid var(--jj-line); border-radius: 10px; text-decoration: none; }
.jj-pagination .current { background: var(--jj-yellow); font-weight: 700; }
.jj-empty-state { text-align: center; }

/* Footer */
.jj-site-footer { position: relative; border-top: 1px solid var(--jj-yellow); background: var(--jj-bg); }
.jj-footer__paw { position: absolute; top: 5px; right: 10.5%; width: 38px; height: 33px; }
.jj-footer__inner { min-height: 72px; width: min(800px, calc(100% - 164px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.jj-footer__inner .jj-brand__mark { width: 28px; height: 28px; }
.jj-footer__inner .jj-brand__name { font-size: 15px; }
.jj-footer__nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.jj-footer__legal { width: min(1200px, calc(100% - 164px)); margin: 0 auto; padding: 0 0 16px; color: var(--jj-ink-muted); font-size: 14px; line-height: 1.5; text-align: center; }

@media (min-width: 1200px) {
  .jj-section { padding-block: 64px; }
  .jj-hero, .jj-hero__inner { min-height: 440px; }
}
@media (max-width: 900px) {
  .jj-page-hero .jj-shell { grid-template-columns: 1fr; }
  .jj-contact-page-hero-image { height: 220px; }
  .jj-shell, .jj-header__inner, .jj-footer__inner, .jj-footer__legal { width: calc(100% - 64px); }
  .jj-header__inner { gap: 16px; }
  .jj-primary-nav { gap: 14px; }
  .jj-primary-nav a { font-size: 14px; }
  .jj-course-grid, .jj-article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .jj-trust-panel__top { grid-template-columns: 1fr; gap: 20px; }
  .jj-trust-panel__main-media { max-height: 280px; }
  .jj-contact__panel { grid-template-columns: 1fr; }
  .jj-contact__media { min-height: 240px; margin-right: 0; border-radius: 0 0 var(--jj-radius-lg) var(--jj-radius-lg); }
  .jj-content-grid { grid-template-columns: 1fr; }
  .jj-contact-page-grid { grid-template-columns: 1fr; }
  .jj-toc { position: static; order: -1; }
}
@media (max-width: 767px) {
  html { scroll-behavior: auto; }
  .jj-shell, .jj-header__inner, .jj-footer__inner, .jj-footer__legal { width: calc(100% - 40px); }
  .jj-site-header, .jj-header__inner { min-height: 60px; }
  .jj-brand__mark { width: 30px; height: 30px; }
  .jj-brand__name { font-size: 16px; }
  .jj-menu-toggle { display: inline-grid; place-items: center; }
  .jj-primary-nav { position: absolute; top: 60px; right: 20px; left: 20px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--jj-line); border-radius: 14px; background: var(--jj-surface); box-shadow: 0 12px 30px var(--jj-shadow); }
  html.js .jj-primary-nav { display: none; }
  html.js .jj-primary-nav.is-open { display: flex; }
  .jj-primary-nav a { min-height: 46px; padding: 0 14px; }
  .jj-primary-nav a::after { right: 14px; left: auto; width: 28px; bottom: 10px; }
  .jj-hero, .jj-hero__inner { min-height: 520px; }
  .jj-hero__inner { width: 100%; display: flex; align-items: flex-end; }
  .jj-hero__media { inset: 0 0 170px 0; }
  .jj-hero__media::before { background: linear-gradient(180deg, rgba(255,247,234,0) 42%, rgba(255,247,234,.94) 92%); }
  .jj-hero__copy { width: 100%; padding: 0 20px 34px; }
  .jj-hero__copy h1 { font-size: 35px; }
  .jj-hero__copy p { font-size: 15px; }
  .jj-hero__brush--top { left: -28px; width: 180px; }
  .jj-course-grid, .jj-article-grid, .jj-qa-grid { grid-template-columns: 1fr; }
  .jj-section { padding-block: 40px; }
  .jj-section__head { gap: 11px; margin-bottom: 18px; }
  .jj-section__mark { width: 18px; }
  .jj-trust-panel { padding: 14px; }
  .jj-trust-list { grid-template-columns: 1fr; gap: 13px; }
  .jj-trust-panel__gallery { grid-template-columns: repeat(2,1fr); }
  .jj-contact__copy { padding: 24px 22px; }
  .jj-contact__brush--heart, .jj-contact__brush--orange, .jj-footer__paw { display: none; }
  .jj-form-grid { grid-template-columns: 1fr; }
  .jj-form-field--full { grid-column: auto; }
  .jj-definition-list { grid-template-columns: 1fr; }
  .jj-definition-list dt { border-bottom: 0; padding-bottom: 4px; }
  .jj-definition-list dd { padding-top: 4px; }
  .jj-course-detail__hero { grid-template-columns: 1fr; gap: 24px; }
  .jj-footer__inner { min-height: auto; flex-direction: column; align-items: flex-start; padding-block: 22px; }
  .jj-footer__nav { gap: 11px 18px; }
}
@media (max-width: 1100px) {
  .jj-about-mission__inner { gap: 40px; }
  .jj-about-method__panel, .jj-about-journey__panel { padding-inline: 36px; }
  .jj-about-cta__inner { grid-template-columns: 1fr; gap: 0; }
  .jj-about-cta__copy { padding: 42px 36px 24px; }
  .jj-about-cta__side { grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); padding: 0 36px 36px; }
}
@media (max-width: 900px) {
  .jj-about-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
  .jj-about-hero__copy { padding-block: 54px; }
  .jj-about-hero__media { min-height: 440px; }
  .jj-about-mission__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .jj-about-trust-grid { grid-template-columns: 1fr; }
  .jj-about-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jj-about-instructor-grid { grid-template-columns: 1fr; }
  .jj-about-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jj-about-steps::before { display: none; }
}
@media (max-width: 767px) {
  .jj-about-section { padding-block: 48px; }
  .jj-about-hero__inner { display: flex; min-height: 0; flex-direction: column; width: 100%; }
  .jj-about-hero__media { order: 1; min-height: 0; aspect-ratio: 4 / 3; border-radius: 0; }
  .jj-about-hero__copy { order: 2; padding: 44px 20px 50px; }
  .jj-about-hero__copy h1 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
  .jj-about-hero__tagline { margin-top: 14px; font-size: 18px; }
  .jj-about-hero__lead { font-size: 15px; }
  .jj-about-hero__brush--orange { top: 12px; left: -30px; width: 170px; }
  .jj-about-hero__brush--blue { bottom: -18px; width: 112px; height: 96px; }
  .jj-about-mission__inner { grid-template-columns: 1fr; gap: 28px; }
  .jj-about-mission__copy h2 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  .jj-about-method__panel, .jj-about-journey__panel { padding: 34px 20px 36px; }
  .jj-about-section-heading h2 { font-size: clamp(1.75rem, 7vw, 2.15rem); }
  .jj-about-section-heading > p:last-child { font-size: 15px; }
  .jj-about-trust-grid { gap: 14px; margin-top: 26px; }
  .jj-about-trust-card { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; min-height: 100px; padding: 18px; }
  .jj-about-trust-card__icon { width: 48px; height: 48px; }
  .jj-about-gallery__grid { gap: 14px; margin-top: 26px; }
  .jj-about-gallery-card figcaption { padding: 14px 14px 16px; }
  .jj-about-gallery-card figcaption strong { font-size: 17px; }
  .jj-about-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .jj-about-step { min-height: 0; padding: 18px 18px 20px; }
  .jj-about-cta { padding-top: 0; }
  .jj-about-cta__copy { padding: 36px 20px 24px; }
  .jj-about-cta__copy h2 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  .jj-about-cta__copy > p:not(.jj-kicker) { font-size: 15px; }
  .jj-about-cta__side { grid-template-columns: 1fr; gap: 20px; padding: 0 20px 24px; }
  .jj-about-cta__contact { padding: 0 2px; }
}
@media (max-width: 520px) {
  .jj-about-gallery__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
