/* DANANG PT: shared styles. No BS Academy dark theme. */
:root {
  --bg: #0f0f0f;
  --bg-alt: #141414;
  --raised: #171717;
  --line: #2a2a2a;
  --line-strong: #737373;
  --ink: #ededed;
  --muted: #a3a3a3;
  --crimson: #ba2138;
  --crimson-hover: #a11d30;
  --crimson-text: #ef5a6f;
  --crimson-soft: #2b1218;
  --display: Anton, Impact, "Arial Narrow", sans-serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 12px;
  --max: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--crimson-text); }
a:hover { color: #f47a8b; }
:focus-visible { outline: 2px solid var(--crimson-text); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--crimson); color: #fff; padding: 8px 14px; border-radius: var(--r-md); z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.measure { max-width: 68ch; }

/* type */
.kicker { font-family: var(--display); font-size: 15px; line-height: 20px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson-text); }
.overline { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--crimson-text); }
.h-hero { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(46px, 10.5vw, 88px); line-height: 1.1; letter-spacing: 0.005em; }
.h-page { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 7.5vw, 58px); line-height: 1.1; }
.h-section { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 5vw, 40px); line-height: 1.15; }
.h-card { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1.12; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }

/* header */
.site-head { background: var(--raised); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }
@media (min-width: 760px) { .brand img { height: 54px; } }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--crimson-text); }
@media (max-width: 759px) {
  .nav { order: 3; width: 100%; margin-left: 0; gap: 4px 18px; border-top: 1px solid var(--line); padding-top: 4px; }
  .nav a { font-size: 14px; }
  .head-cta { margin-left: auto; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent; font-family: var(--display); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.1; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-hover); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--crimson-text); }
.btn-line:hover { background: var(--crimson-soft); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { flex: 1 1 100%; } }

/* sections */
.section { padding: 64px 0; }
@media (min-width: 760px) { .section { padding: 88px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.hero { padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .hero { padding: 88px 0 96px; } }
.hero .wrap > * + * { margin-top: 20px; }
.hero .btn-row { margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--crimson); flex: none; }
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-sm); background: var(--crimson-soft); color: var(--crimson-text); font-size: 13px; font-weight: 500; line-height: 1.5; }
.tag-quiet { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* filters */
.filters { display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--raised); margin-bottom: 28px; }
.filter-body { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; }
.filter-row { display: flex; flex-direction: column; gap: 8px; }
.filter-row > span { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* trainer cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: #1d1d1d; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; left: 12px; top: 12px; background: var(--bg); color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-sm); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.card-meta dt { color: var(--muted); }
.card-meta dd { margin: 0; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 auto; }
.stars { color: var(--crimson-text); letter-spacing: 0.1em; }
.empty { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: "0" counter(s); font-family: var(--display); font-size: 44px; line-height: 1; color: var(--crimson-text); }
.steps h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1.15; }
.steps p { color: var(--muted); font-size: 15px; }

/* band */
.band { background: var(--crimson); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.band .lead { color: #fff; }
.band .btn-primary { background: #fff; color: var(--crimson); }
.band .btn-primary:hover { background: #f1f1f1; color: var(--crimson); }
.band .btn-line { border-color: #fff; color: #fff; }
.band .btn-line:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* quiz */
.quiz { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 36px); }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.quiz-progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.quiz-progress span.on { background: var(--crimson); }
.quiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz legend { font-family: var(--display); font-size: clamp(24px, 4vw, 30px); line-height: 1.15; text-transform: uppercase; padding: 0; margin-bottom: 18px; }
.quiz-sub { font-size: 14px; color: var(--muted); margin: -8px 0 16px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md); font-weight: 500; font-size: 15px; }
.opt input:checked + span { background: var(--crimson-soft); border-color: var(--crimson-text); color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--crimson-text); outline-offset: 2px; }
.quiz-nav { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.quiz-result h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
.quiz-result .grid { margin-top: 20px; }

/* profile */
.profile { display: grid; gap: 32px; grid-template-columns: 1fr; padding-top: 24px; }
@media (min-width: 900px) { .profile { grid-template-columns: 400px 1fr; gap: 48px; align-items: start; } }
.profile-photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.profile-photo img { width: 100%; height: auto; }
.profile-main { display: flex; flex-direction: column; gap: 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.fact { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.fact dt { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; }
.pending { color: var(--muted); font-weight: 400; font-style: italic; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; align-items: start; }
.gallery video { width: 100%; height: auto; background: #000; }
.gallery figure { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--raised); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); }
.note { border-left: 3px solid var(--crimson); background: var(--raised); padding: 14px 18px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 14px; color: var(--muted); }
.sec-title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
th { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--raised); }
tr:last-child td { border-bottom: 0; }
td strong { font-weight: 600; }

/* forms */
.form { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.form fieldset { margin: 0; min-width: 0; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.form legend { float: left; width: 100%; padding: 0; margin: 0; }
.form legend .h-card { display: block; margin-top: 6px; }
.form legend .small { display: block; margin-top: 6px; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.field .hint { font-size: 13px; font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.4;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input[type="file"] { color: var(--muted); font-size: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); font-size: 15px; font-weight: 400; cursor: pointer; }
.check input { accent-color: var(--crimson); width: 18px; height: 18px; margin: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; line-height: 1.55; }
.agree input { accent-color: var(--crimson); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.group-label { font-size: 15px; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { font-size: 36px; line-height: 1; color: var(--line-strong); cursor: pointer; padding: 2px; }
.rating label:hover, .rating label:hover ~ label, .rating input:checked ~ label { color: var(--crimson-text); }
.rating input:focus-visible + label { outline: 2px solid var(--crimson-text); outline-offset: 2px; border-radius: 4px; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--crimson-text); font-family: var(--display); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* prose pages */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1.15; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 14px; color: #d6d6d6; }
.prose ul { padding-left: 22px; }

/* footer */
.site-foot { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 0; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid img { height: 54px; width: auto; }
.foot-grid h2 { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--ink); text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: var(--crimson-text); }
.sponsor { margin-top: 16px; font-size: 14px; color: var(--muted); }
.sponsor a { color: var(--ink); }
.legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
