/* Portfolio page only (lp/portfolio.html). Loaded after style.css, which holds the shared tokens and buttons. */
/* =====================================================================
   PORTFOLIO — lp/portfolio.html (generated by tools/build_portfolio.py)
   Same tokens as the LP: black / charcoal / white, red only as accent.
   ===================================================================== */
.pf { background: #07090D; color: #D5D8DF; }
.pf section { padding: 0; }
.pf-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 12px max(var(--gutter), calc(50% - 580px));
  background: rgba(7,9,13,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.pf-header .brand img { display: block; width: 128px; height: auto; }
.pf-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 700; }
.pf-nav a { color: #fff; }
.pf-nav a:hover { color: var(--red); }
.pf-head-cta { min-height: 42px; padding: 0 18px; font-size: 14px; }

.pf .pf-hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 72px); overflow: hidden;
  background: linear-gradient(90deg, rgba(7,9,13,.93) 0%, rgba(7,9,13,.72) 45%, rgba(7,9,13,.35) 100%), linear-gradient(to top, #07090D 0%, transparent 35%),
              url(assets/bg/works-pc.jpg) center / cover no-repeat, #07090D; }
.pf-title { margin-top: 12px; font-size: clamp(36px, 5.6vw, 68px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.pf-lead { margin-top: 18px; font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; line-height: 1.8; color: #D5D8DF; }
.pf-stats { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 880px; }
.pf-stats li { position: relative; padding: 16px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(10,16,24,.78); }
.pf-stats li::before { content: ""; position: absolute; left: -1px; top: -1px; width: 22px; height: 22px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); border-top-left-radius: 10px; }
.pf-num { font-family: var(--font-en); font-size: clamp(32px, 3.4vw, 44px); line-height: 1; color: #fff; }
.pf-unit { margin-left: 4px; font-size: 13px; font-weight: 700; color: #fff; }
.pf-lbl { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #B4BAC4; }
.pf-note { margin-top: 12px; font-size: 12px; font-weight: 500; line-height: 1.7; color: #9BA3AF; }

.pf-h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.35; color: #fff; }
.pf .pf-audience { padding: clamp(40px, 5vw, 64px) 0; }
.pf-aud-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-aud { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 18px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  background: linear-gradient(155deg, rgba(25,29,36,.9), rgba(7,9,14,.95)); color: #fff; transition: border-color .2s, transform .2s; }
.pf-aud:hover { border-color: rgba(240,0,36,.7); transform: translateY(-2px); }
.pf-aud .ic { width: 28px; height: 28px; color: var(--red); }
.pf-aud b { font-size: 17px; font-weight: 900; }
.pf-aud span { font-size: 13px; font-weight: 500; line-height: 1.7; color: #B4BAC4; }
.pf-aud .pf-aud-n { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--red); }

.pf .pf-works { padding: clamp(48px, 6vw, 80px) 0; background: linear-gradient(180deg, #07090D, #0B0E14 40%, #07090D); }
.pf-count { font-family: var(--font-en); color: var(--red); margin-left: 6px; }
.pf-h2 small { font-size: 15px; font-weight: 700; margin-left: 4px; color: #D5D8DF; }
.pf-sub { margin-top: 8px; font-size: 14px; font-weight: 500; color: #9BA3AF; }
.pf-filters { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-filters-sm { margin-top: 10px; }
.pf-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: #fff; font-size: 14px; font-weight: 700; transition: background .2s, border-color .2s; }
.pf-chip i { font-style: normal; font-family: var(--font-en); font-size: 13px; color: #9BA3AF; }
.pf-chip-sm { min-height: 36px; padding: 0 12px; font-size: 12.5px; font-weight: 600; color: #D5D8DF; }
.pf-chip:hover { border-color: rgba(240,0,36,.7); }
.pf-chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.pf-chip.is-on i { color: rgba(255,255,255,.85); }
.pf-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
.pf-card[hidden] { display: none; }
.pf-media { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; overflow: hidden;
  background: #111; cursor: pointer; box-shadow: 0 16px 30px rgba(0,0,0,.55); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pf-media:hover { transform: translateY(-3px); border-color: rgba(240,0,36,.6); box-shadow: 0 20px 36px rgba(0,0,0,.65), 0 0 24px rgba(255,0,58,.18); }
.pf-media img, .pf-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-media video { z-index: 2; background: #000; }
.pf-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; z-index: 1;
  background: rgba(7,9,13,.62); border: 1px solid rgba(255,255,255,.5); }
.pf-play::after { content: ""; position: absolute; left: 20px; top: 15px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.pf-media.is-playing .pf-play { display: none; }
.pf-media.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; z-index: 3; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: pf-spin .8s linear infinite; }
@keyframes pf-spin { to { transform: rotate(360deg); } }
.pf-meta { margin-top: 10px; display: grid; gap: 3px; }
.pf-meta h3 { font-size: 14px; font-weight: 700; line-height: 1.4; color: #fff; }
.pf-meta p { font-size: 12px; font-weight: 500; line-height: 1.4; color: #9BA3AF; }
.pf-meta .clip-genre { font-size: 11.5px; }

.pf .pf-partner { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(60% 80% at 100% 50%, rgba(240,0,36,.12), transparent 70%), #07090D; }
.pf-partner-in p { margin-top: 14px; max-width: 46em; font-size: 15px; font-weight: 600; line-height: 1.9; color: #D5D8DF; }

.pf .pf-service { padding: clamp(48px, 6vw, 80px) 0; }
.pf-plans { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pf-plans li { position: relative; display: grid; gap: 4px; align-content: start; padding: 18px 20px; border: 1px solid rgba(240,0,36,.7); border-radius: 12px; overflow: hidden;
  background: linear-gradient(155deg, rgba(25,29,36,.92), rgba(7,9,14,.95)); color: #fff; }
.pf-plans li::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 56px; background: linear-gradient(135deg, rgba(255,0,58,.85) 0, rgba(255,0,58,.3) 30%, transparent 52%); }
.pf-plans .plan-label { margin-bottom: 4px; }
.pf-plans b { font-size: 18px; font-weight: 900; }
.pf-dur { font-size: 12px; font-weight: 500; color: #B4BAC4; }
.pf-price { margin-top: 6px; font-family: var(--font-en); font-size: clamp(34px, 3.4vw, 44px); line-height: 1; color: #fff; white-space: nowrap; }
.pf-price small { margin-left: 4px; font-family: var(--font); font-size: 14px; font-weight: 600; color: #d0d0d0; }
.pf-steps { margin-top: 28px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pf-steps li { padding: 12px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-size: 13px; font-weight: 700; color: #fff; line-height: 1.5; background: rgba(13,17,25,.8); }
.pf-steps li span { display: block; font-family: var(--font-en); font-size: 20px; color: var(--red); line-height: 1.1; margin-bottom: 4px; }
.pf-more { margin-top: 20px; }
.pf-more a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }

.pf .pf-cta { padding: clamp(56px, 8vw, 96px) 0; text-align: center; position: relative; isolation: isolate;
  background: radial-gradient(50% 60% at 50% 50%, rgba(7,9,13,.75), rgba(7,9,13,.35)), url(assets/bg/final-pc.jpg) center / cover no-repeat, #07090D; }
.pf-cta-title { font-size: clamp(24px, 3.2vw, 38px); font-weight: 900; color: #fff; }
.pf-cta-sub { margin: 12px 0 28px; font-size: 15px; font-weight: 600; color: #D5D8DF; }
.pf-cta .btn-xl { min-width: min(100%, 440px); }
.pf-alt { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 13px; font-weight: 500; color: #9BA3AF; }
.pf-alt a { display: inline-flex; align-items: center; min-height: 44px; color: #D5D8DF; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.3); }
.pf-alt span { display: inline-flex; align-items: center; min-height: 44px; }
.pf-footer { padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 12px; color: #7a7a7a; }
.pf-footer p:first-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 8px; }
.pf-footer a { color: #9BA3AF; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 36px; align-items: center; }

@media (max-width: 1100px) { .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pf-aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pf-plans { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .pf-header { gap: 12px; padding: 10px var(--gutter); }
  .pf-header .brand img { width: 108px; }
  .pf-nav { gap: 14px; font-size: 13px; }
  .pf-nav a:last-child { display: none; }
  .pf-head-cta { min-height: 38px; padding: 0 12px; font-size: 12.5px; }
  .pf-head-cta .line-badge { display: none; }
  .pf .pf-hero { background: linear-gradient(180deg, rgba(7,9,13,.82), rgba(7,9,13,.9) 60%, #07090D), url(assets/bg/works-sp.jpg) center top / cover no-repeat, #07090D; }
  .pf-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pf-stats li { padding: 14px; }
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .pf-steps { grid-template-columns: 1fr 1fr; }
  .pf .pf-cta { background: radial-gradient(70% 50% at 50% 40%, rgba(7,9,13,.75), rgba(7,9,13,.35)), url(assets/bg/final-sp.jpg) center bottom / cover no-repeat, #07090D; }
}
@media (max-width: 400px) { .pf-nav { display: none; } .pf-head-cta { margin-left: auto; } }
@media (max-width: 720px) {
  .pf-aud-grid { grid-template-columns: 1fr; gap: 8px; }
  .pf-aud { grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 2px; padding: 14px 16px; }
  .pf-aud .ic { grid-row: span 2; }
  .pf-aud span:not(.pf-aud-n) { grid-column: 2; font-size: 12.5px; }
  .pf-aud .pf-aud-n { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

/* ---------- PORTFOLIO (personal) — name header, big hero, PICK UP showcase ---------- */
.pf-name-mark { display: grid; line-height: 1.1; color: #fff; }
.pf-name-mark b { font-size: 17px; font-weight: 900; letter-spacing: .04em; }
.pf-name-mark span { font-family: var(--font-en); font-size: 10px; letter-spacing: .28em; color: var(--red); }
.pf-person .pf-nav a { font-family: var(--font-en); font-size: 13px; letter-spacing: .14em; font-weight: 400; }

.pf-person .pf-hero { padding: clamp(72px, 10vw, 136px) 0 clamp(56px, 7vw, 88px); }
.pf-title { display: grid; gap: 6px; margin-top: 16px; font-size: clamp(44px, 7vw, 92px); line-height: 1.05; letter-spacing: .02em; }
.pf-title-en { font-family: var(--font-en); font-weight: 400; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .32em; color: var(--red); }
.pf-role { margin-top: 18px; display: inline-block; padding: 8px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  font-size: clamp(13px, 1.3vw, 15px); font-weight: 700; color: #fff; background: rgba(7,9,13,.5); }
.pf-person .pf-lead .nw { display: block; }
.pf-stats.has-big { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); max-width: 1000px; }
.pf-stats .pf-lbl { display: block; margin: 0 0 8px; }
.pf-stats .pf-big { border-color: rgba(240,0,36,.7); background: linear-gradient(155deg, rgba(240,0,36,.16), rgba(10,16,24,.85) 60%); }
.pf-stats .pf-big .pf-num { font-size: clamp(44px, 5.4vw, 72px); color: #fff; }
.pf-tools { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.pf-tools > span { font-size: 12px; font-weight: 700; color: #9BA3AF; }
.pf-tools ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tools li { padding: 5px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: rgba(255,255,255,.05); font-size: 13px; font-weight: 700; color: #fff; }

.pf .pf-pickup { padding: clamp(56px, 7vw, 96px) 0; background: radial-gradient(60% 50% at 50% 60%, rgba(240,0,36,.1), transparent 70%), #07090D; }
.pf-picks { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.pf-pick .pf-media-lg { border-radius: 14px; box-shadow: 0 28px 50px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.pf-pick:nth-child(3n+2) { transform: translateY(36px); }
.pf-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.pf-media.is-looping .pf-loop { opacity: 1; }
.pf-media.is-looping .pf-play { opacity: .0; }
.pf-media-lg:hover .pf-play { opacity: 1; }
.pf-play { z-index: 2; transition: opacity .3s; }
.pf-pick-no { position: absolute; left: 14px; top: 10px; z-index: 2; font-family: var(--font-en); font-size: 34px; line-height: 1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.pf-pick-no::after { content: ""; display: block; width: 22px; height: 2px; margin-top: 6px; background: var(--red); }
.pf-pick .pf-meta { margin-top: 14px; }
.pf-pick .pf-meta h3 { font-size: 16px; }
.pf-media video:not(.pf-loop) { z-index: 3; }

.pf .pf-genres { padding: 28px 0 clamp(40px, 5vw, 56px); }
.pf-h3 { font-size: 15px; font-weight: 700; color: #B4BAC4; }
.pf-genre-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.pf-genre-row li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: rgba(13,17,25,.8); font-size: 14px; font-weight: 700; color: #fff; }
.pf-genre-row .ic { width: 18px; height: 18px; color: var(--red); }
.pf-person .pf-cta .eyebrow { justify-content: center; }

@media (max-width: 900px) {
  .pf-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .pf-pick:nth-child(3n+2) { transform: none; }
  .pf-pick:nth-child(even) { transform: translateY(28px); }
  .pf-stats.has-big { grid-template-columns: 1fr 1fr; }
  .pf-stats.has-big .pf-big { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .pf-name-mark b { font-size: 15px; }
  .pf-person .pf-nav { gap: 12px; }
  .pf-person .pf-nav a { font-size: 11px; letter-spacing: .1em; }
  .pf-stats:not(.has-big) li:first-child { grid-column: 1 / -1; }
  .pf-pick-no { font-size: 26px; left: 10px; }
  .pf-pick .pf-meta h3 { font-size: 14px; }
  .pf-genre-row li { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 400px) { .pf-person .pf-nav { display: flex; } }
@media (prefers-reduced-motion: reduce) { .pf-pick, .pf-pick:nth-child(3n+2), .pf-pick:nth-child(even) { transform: none; } }
@media (max-width: 720px) { .pf-person .pf-lead .nw { white-space: normal; word-break: auto-phrase; } }

/* ---------- PORTFOLIO review round 1: hero CTA + company-stats label, picks, fold, two-way contact ---------- */
.pf-person .pf-hero { padding: clamp(64px, 7vw, 88px) 0 clamp(48px, 5vw, 64px); }
.pf-catch { margin-top: 22px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.45; color: #fff; }
.pf-person .pf-lead { margin-top: 10px; font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; line-height: 1.85; }
.pf-hero-cta { margin-top: 22px; min-height: 50px; padding: 0 26px; font-size: 15px; }
.pf-stats-title { margin-top: 30px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #9BA3AF; }
.pf-person .pf-stats { margin-top: 10px; }
.pf .pf-pickup, .pf .pf-works { padding: clamp(48px, 6vw, 80px) 0; }
.pf-pick:nth-child(3n+2) { transform: translateY(12px); }
.pf-picks { gap: 32px 22px; }
.pf-pick .pf-meta h3 { font-size: 16px; }
.pf-role-line { margin-top: 6px; font-size: 12.5px; font-weight: 600; line-height: 1.6; color: #D5D8DF; }
.pf-role-line b { display: inline-block; margin-right: 8px; padding: 1px 8px; border: 1px solid rgba(240,0,36,.6); border-radius: 4px; font-size: 11px; color: #fff; }
.pf-card.pf-fold[hidden] { display: none; }
.pf-more-btn { margin: 28px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; width: min(100%, 420px);
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(13,17,25,.8); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.pf-more-btn i { font-style: normal; color: var(--red); }
.pf-more-btn:hover { border-color: var(--red); }
.pf-more-btn[hidden] { display: none; }
.pf-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.pf-cta-btns .btn { min-width: 220px; min-height: 56px; }
.pf-person .pf-alt { margin-top: 18px; }
.pf-media.is-looping .pf-play { opacity: 0; }

@media (max-width: 720px) {
  .pf-person .pf-hero { padding: 48px 0 40px; }
  .pf-title { font-size: clamp(36px, 10.5vw, 42px); }
  .pf-role { margin-top: 12px; }
  .pf-catch { margin-top: 16px; font-size: clamp(20px, 5.8vw, 23px); }
  .pf-person .pf-lead { font-size: 14px; }
  .pf-hero-cta { margin-top: 18px; width: 100%; }
  .pf-stats-title { margin-top: 22px; }
  .pf-person .pf-stats { gap: 8px; }
  .pf-person .pf-stats li { padding: 12px; }
  .pf .pf-pickup, .pf .pf-works { padding: 44px 0; }
  /* PICK UP: one big card at a time, swipe sideways */
  .pf-picks { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 20px calc(-1 * var(--gutter)) 0;
    padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .pf-picks::-webkit-scrollbar { display: none; }
  .pf-pick { flex: 0 0 min(64vw, 240px); scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .pf-pick:nth-child(n) { transform: none; }
  .pf-pick .pf-meta h3 { font-size: 14px; }
  .pf-cta-btns .btn { width: 100%; min-width: 0; }
}
/* portfolio header: one line, name + red dot on the left, two links on the right, same weight family */
.pf-person .pf-header { min-height: 64px; padding-top: 0; padding-bottom: 0; align-items: center; }
.pf-person .pf-name-mark { display: inline-flex; align-items: baseline; gap: 3px; font-size: 18px; font-weight: 900; letter-spacing: .06em; line-height: 1; color: #fff; }
.pf-person .pf-name-mark i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pf-person .pf-nav { display: flex; gap: 24px; margin-left: auto; }
.pf-person .pf-nav a { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 720px) {
  .pf-person .pf-header { min-height: 64px; height: 64px; padding: 0 var(--gutter); }
  .pf-person .pf-name-mark { font-size: 17px; }
  .pf-person .pf-nav { display: flex; gap: 18px; }
  .pf-person .pf-nav a { font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 720px) { .pf-person .pf-nav a:last-child { display: inline-flex; } }

/* =====================================================================
   120-point pass (2026-11-02): player frame, anchors, sizes, contrast, focus
   ===================================================================== */
/* thumbnail button and player are siblings inside .pf-frame */
.pf-frame { position: relative; }
.pf-player { position: absolute; inset: 0; z-index: 4; border-radius: 10px; overflow: hidden; background: #000; }
.pf-frame-lg .pf-player { border-radius: 14px; }
.pf-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pf-frame.is-loading .pf-player::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: pf-spin .8s linear infinite; pointer-events: none; }
.pf-error { display: none; position: absolute; inset: 0; z-index: 2; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(7,9,13,.88); color: #fff; font-size: 13px; font-weight: 700; text-align: center; padding: 12px; }
.pf-frame.is-error .pf-error { display: flex; }
.pf-frame.is-error .pf-player::after { display: none; }
.pf-retry { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.pf-media.is-loading::after { display: none; }

/* anchors land below the 64px sticky header */
#pickup, #works, #contact { scroll-margin-top: 80px; }
@media (max-width: 720px) { #pickup, #works, #contact { scroll-margin-top: 72px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* hero: tighter lead, taller CTA, calmer letter-spacing on the English name */
.pf-person .pf-lead { line-height: 24px; max-width: 100%; }
.pf-hero-cta { min-height: 52px; }
.pf-title-en { letter-spacing: .25em; }

/* contrast: white on red buttons ≥ 4.5:1, small red text on black ≥ 4.5:1 */
.pf .btn-red { background: #E60023; }
.pf .btn-red:hover { background: #D10020; }
.pf .eyebrow, .pf-title-en, .pf-count, .pf .clip-genre .ic, .pf-more-btn i, .pf-detail-toggle i { color: #FF1744; }
.pf .eyebrow::before { background: #FF1744; }
.pf-chip.is-on { background: #E60023; border-color: #E60023; }

/* keyboard focus is always visible */
.pf :focus-visible { outline: 2px solid #FF1744; outline-offset: 3px; }
.pf .pf-media:focus-visible { outline-offset: 2px; }

/* works: count line, detail-genre drawer, every chip ≥ 44px */
#pf-showing { color: #B4BAC4; }
.pf-chip-sm { min-height: 44px; }
.pf-detail-toggle { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px dashed rgba(255,255,255,.3); background: transparent; color: #D5D8DF; font-size: 13px; font-weight: 700; }
.pf-detail-toggle i { font-style: normal; font-size: 15px; transition: transform .2s; }
.pf-detail-toggle.is-open i { transform: rotate(45deg); }
.pf-detail-on { color: #fff; font-weight: 700; }
.pf-detail-on:empty { display: none; }
#pf-detail[hidden] { display: none; }

/* PICK UP role lines (shown only when filled in): label 11px, text 12px / 19.2px */
.pf-role-line { margin-top: 8px; font-size: 12px; line-height: 19.2px; }
.pf-role-line b { padding: 4px 8px; font-size: 11px; line-height: 1; vertical-align: 1px; }
.pf-cta-sub .nw { white-space: nowrap; }
/* 「講師名：専門」 titles wrap after the colon, never inside a word */
.pf-meta h3 .nw { display: inline-block; }
/* narrow phones: grid columns may shrink below a long genre label */
@media (max-width: 720px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-meta .clip-genre { flex-wrap: wrap; min-width: 0; }
.pf-meta h3 { overflow-wrap: anywhere; }
.pf-meta, .pf-meta > * { min-width: 0; max-width: 100%; }
.pf-meta .nw { white-space: normal; }
