/* Scoped review polish; shared stylesheet remains coordinator-owned. */
#models .section-head { margin-bottom: 48px; }
#models .model { padding: clamp(20px, 2vw, 28px); border: 1px solid rgba(255, 241, 0, .13); }
#models .model-index { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--yellow); font: 11px "IBM Plex Mono", monospace; letter-spacing: .08em; }
#models .model-index span { color: var(--on-dark-muted); font: 12px "Noto Sans TC", sans-serif; letter-spacing: 0; }
#models .model-viz { display: grid; align-items: center; min-height: 140px; margin-bottom: 26px; background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 241, 0, .025)); border: 1px solid rgba(255, 255, 255, .055); }
#models .model h3 { letter-spacing: .025em; }
#models .model .fit { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); line-height: 1.8; }
@media (max-width: 760px) {
  #models .model-viz { min-height: 130px; }
  #models .model-index { margin-bottom: 16px; }
}

#models .model > p:not(.model-index):not(.fit) { padding-bottom: 24px; }

/* Real brand artwork and a hero that explains the bridge. */
.wordmark .official-logo { display: block; width: 206px; height: auto; }
footer .wordmark .official-logo { width: 144px; }
.hero .hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; column-gap: 64px; align-items: center; }
.hero .eyebrow, .hero .hero-index { grid-column: 1 / -1; }
.hero h1 { grid-column: 1; font-size: clamp(46px, 6.2vw, 94px); margin: 26px 0 30px; }
.hero .hero-bottom { grid-column: 1; align-items: flex-start; flex-direction: column; gap: 26px; }
.hero-visual { grid-column: 2; grid-row: 2 / 4; width: 100%; max-width: 430px; margin: 22px 0 0; position: relative; }
.hero-sources { display: flex; justify-content: center; gap: 9px; }
.hero-sources > .hero-task { padding: 9px 13px; border: 1px solid rgba(255,255,255,.19); border-radius: 8px; color: var(--on-dark-muted); font-size: 12px; background: #1A1A17; }
.hero-sources > .hero-task:first-child { transform: rotate(-5deg); }
.hero-sources > .hero-task:last-child { transform: rotate(5deg); }
.hero-bridge { display: flex; align-items: center; justify-content: center; gap: 12px; height: 64px; color: var(--yellow); }
.hero-bridge b { font: 11px "Noto Sans TC", sans-serif; letter-spacing: .1em; }
.hero-bridge span { width: 36px; height: 1px; background: var(--yellow); opacity: .5; }
.hero-plan { position: relative; background: var(--yellow); color: #0A0A0A; padding: 28px; border-radius: 22px; box-shadow: 0 20px 70px rgba(255,241,0,.10); transform: rotate(-2deg); }
.hero-plan::before, .hero-plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,241,0,.36); pointer-events: none; z-index: -1; transform: rotate(7deg); }
.hero-plan::after { transform: rotate(-5deg); border-color: rgba(255,241,0,.17); }
.hero-plan-top, .hero-plan-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.hero-plan-top { font: 10px "IBM Plex Mono", "Noto Sans TC", monospace; letter-spacing: .07em; }
.hero-plan-top > span:last-child { font-size: 24px; }
.hero-plan .hero-plan-title { font: 800 clamp(26px, 2.5vw, 36px)/1.4 "Noto Sans TC", sans-serif; margin: 24px 0 14px; letter-spacing: -.035em; }
.hero-plan .hero-plan-note { font-size: 13px; line-height: 1.9; margin: 0 0 24px; }
.hero-plan-footer { border-top: 1px solid rgba(0,0,0,.23); padding-top: 16px; font-size: 12px; font-weight: 600; }
.hero-plan-footer > span:last-child { font-size: 24px; }
.hero-visual figcaption { display: flex; justify-content: center; gap: 12px; margin-top: 30px; font-size: 11px; color: var(--on-dark-muted); }
.hero-visual figcaption span { color: var(--yellow); }
@media (max-width: 1040px) {
  .hero .hero-inner { column-gap: 32px; }
  .hero-plan { padding: 22px; }
  .hero-sources { gap: 6px; }
  .hero-sources > .hero-task { padding: 8px; font-size: 11px; }
}
@media (max-width: 760px) {
  .wordmark .official-logo { width: 162px; }
  .hero .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(40px, 12vw, 62px); margin: 24px 0; }
  .hero .hero-bottom .button { margin-top: 0; }
  .hero-visual { grid-column: 1; grid-row: auto; margin: 48px auto 0; max-width: 360px; padding: 0 10px; }
  .hero-plan .hero-plan-title { font-size: 30px; }
  .hero .hero-index { margin-top: 40px; }
}

/* Result hierarchy: score first, practical next step second. */
#q-result { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px 24px; align-items: center; text-align: left; }
#q-result[hidden] { display: none; }
#q-result .result-summary { text-align: center; }
#q-result .result-label { color: var(--on-dark-muted); font-size: 11px; letter-spacing: .07em; margin: 0 0 18px; }
#q-result .gauge-wrap { width: 160px; margin: 0 auto; }
#q-result .gauge-num { inset: auto 0 2px; padding: 0; }
#q-result .gauge-num b { font-size: 36px; line-height: 1; }
#q-result .gauge-num span { font-size: 9px; margin-top: 5px; }
#q-result #q-tier { font-size: 23px; margin: 18px 0 0; }
#q-result .result-next { border-left: 1px solid rgba(255,255,255,.16); padding-left: 24px; }
#q-result .result-next .result-label { color: var(--yellow); margin-bottom: 12px; }
#q-result #q-advice { font-size: 14px; line-height: 1.95; margin: 0; max-width: none; }
#q-result .result-disclaimer { font-size: 11px; color: var(--on-dark-muted); line-height: 1.7; margin: 16px 0 0; }
#q-result .result-actions { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
#q-result .result-actions > a.button { background: var(--yellow); color: #0A0A0A; }
.assess-panel .q-top { flex-wrap: wrap; letter-spacing: .06em; }
@media (max-width: 760px) {
  #q-result { grid-template-columns: 1fr; gap: 24px; }
  #q-result .result-next { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
  #q-result .result-actions { flex-direction: column; align-items: stretch; }
  #q-result .result-actions .button { justify-content: center; }
}
@media (max-width: 760px) {
  .header nav { gap: 10px; font-size: 11px; flex-wrap: wrap; row-gap: 8px; justify-content: flex-start; }
  .header nav a { white-space: nowrap; }
  .header nav .cta-pill { font-size: 11px; padding: 9px 12px; }
}
/* Replayable motion: all effects settle under either accessibility control. */
@keyframes planFloat { 0%,100% { transform: translateY(0) rotate(-2deg); box-shadow: 0 18px 50px rgba(255,241,0,.12); } 50% { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 28px 70px rgba(255,241,0,.32); } }
@keyframes sourceFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes bridgeTravel { from { transform: scaleX(.2); opacity: .2; } to { transform: scaleX(1); opacity: .8; } }
.hero.is-visible .hero-plan { animation: planFloat 7s ease-in-out infinite; }
.hero.is-visible .hero-sources > .hero-task { animation: sourceFloat 5s ease-in-out infinite; }
.hero.is-visible .hero-sources > .hero-task:nth-child(2) { animation-delay: -.8s; }
.hero.is-visible .hero-sources > .hero-task:nth-child(3) { animation-delay: -1.6s; }
.hero.is-visible .hero-bridge span { animation: bridgeTravel 2s ease-in-out infinite alternate; transform-origin: left; }
.hero:not(.is-visible) h1 .line i, .hero:not(.is-visible) .rise { animation-name: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused [data-deal], .motion-paused .rise, .motion-paused .hero h1 .line i { opacity: 1; transform: none; transition: none; }
.motion-paused .draw .dash { stroke-dashoffset: 0; transition: none; }
.motion-paused .draw .pop { opacity: 1; transform: none; transition: none; }
.stats-heading { max-width: 1320px; margin: 0 auto 30px; }
.stats-heading .eyebrow { margin-bottom: 12px; }
.stats-heading h2 { font-size: clamp(25px, 3vw, 38px); margin: 0 0 12px; color: var(--on-dark); }
.stats-heading > p:last-child { color: var(--on-dark-muted); font-size: 14px; margin: 0; }
.stats-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stats-row .stat { padding: clamp(18px, 1.6vw, 26px); border: 1px solid rgba(255,241,0,.13); background: linear-gradient(145deg, #242420, #161613); }
@media (max-width: 1040px) {
  .stats-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .stats-row { grid-template-columns: 1fr; }
}
.stat-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--on-dark-muted); font: 11px/1.6 "IBM Plex Mono", "Noto Sans TC", monospace; letter-spacing: .05em; margin-bottom: 14px; }
.stat-meta svg { width: 29px; height: 29px; color: var(--yellow); flex-shrink: 0; }
.stats-row .stat .val { font-size: clamp(42px, 3.6vw, 64px); }
.stats-row .stat .lbl { font-size: 16px; margin-top: 18px; }
.stats-row .stat .sub { font: 11px/1.9 "Noto Sans TC", sans-serif; letter-spacing: 0; margin-top: 12px; min-height: 42px; }
@media (max-width: 760px) { .stat-meta { font-size: 8px; flex-wrap: wrap; } .stat-meta svg { width: 24px; height: 24px; } .stats-row .stat .lbl { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-plan, .hero .hero-sources > .hero-task, .hero .hero-bridge span { animation: none !important; }
  .hero:not(.is-visible) .rise, .hero:not(.is-visible) h1 .line i { opacity: 1; transform: none; }
}
/* FAQ: a calm introduction beside a clearly numbered native accordion. */
.faq-shell { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 88px); max-width: 1320px; margin: auto; align-items: start; }
#faq .faq-intro { margin: 0; }
#faq .faq-intro h2 { font-size: clamp(32px, 3.7vw, 50px); line-height: 1.35; margin: 22px 0; }
.faq-lede { color: var(--on-light-muted); font-size: 14px; line-height: 1.9; margin: 0 0 28px; }
.faq-contact { display: inline-flex; gap: 14px; align-items: center; color: var(--on-light); font-size: 13px; font-weight: 600; border-bottom: 1px solid #8B8B80; padding-bottom: 8px; }
.faq-contact:hover { border-color: #0A0A0A; }
#faq .faq-list { margin: 0; width: 100%; max-width: none; counter-reset: faq; gap: 12px; }
#faq .faq-item { counter-increment: faq; border: 1px solid rgba(0,0,0,.09); border-radius: 18px; box-shadow: 0 8px 22px -18px rgba(0,0,0,.25); overflow: hidden; }
#faq .faq-item summary { display: flex; align-items: center; gap: 16px; padding: 24px; font-size: 16px; line-height: 1.7; }
#faq .faq-item summary::before { content: counter(faq, decimal-leading-zero); flex-shrink: 0; font: 10px "IBM Plex Mono", monospace; color: #66665D; }
#faq .faq-item summary::after { position: static; display: grid; place-items: center; margin-left: auto; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #F1F1E9; color: #0A0A0A; font-size: 21px; line-height: 1; }
#faq .faq-item[open] { border-color: #8A8100; box-shadow: inset 3px 0 0 var(--yellow), 0 10px 25px -20px rgba(0,0,0,.25); }
#faq .faq-item[open] summary::after { content: "−"; background: var(--yellow); transform: none; }
#faq .faq-item .answer { padding: 0 28px 26px 58px; max-width: none; font-size: 14px; line-height: 1.95; }
@media (max-width: 760px) {
  .faq-shell { grid-template-columns: 1fr; gap: 32px; }
  #faq .faq-item summary { padding: 20px 16px; gap: 10px; font-size: 14px; }
  #faq .faq-item .answer { padding: 0 20px 24px 40px; }
}
/* Contact motion is progressive enhancement: fields stay visible without JS. */
@keyframes contactEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes contactPhoto { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes contactUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes contactReady { from { box-shadow: 0 0 0 0 rgba(255,241,0,.3); } to { box-shadow: 0 0 0 12px rgba(255,241,0,0); } }
.contact-copy.is-visible > h2, .contact-copy.is-visible > .contact-actions, .contact-copy.is-visible > .contact-note { animation: contactEnter .7s cubic-bezier(.2,.8,.3,1) both; }
.contact-copy.is-visible > .contact-actions { animation-delay: .10s; }
.contact-copy.is-visible > .contact-note { animation-delay: .18s; }
.contact-copy h2 .hl { position: relative; }
.contact-copy h2 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: 2px; background: var(--yellow); transform-origin: left; opacity: .6; }
.contact-copy.is-visible h2 .hl::after { animation: contactUnderline .8s .2s cubic-bezier(.2,.8,.3,1) both; }
.contact-photo { overflow: hidden; border-radius: var(--r-chip); }
.contact-copy.is-visible .contact-photo img { animation: contactPhoto 1.2s cubic-bezier(.2,.8,.3,1) both; }
#contact-form { position: relative; border: 1px solid rgba(255,241,0,.13); transition: border-color .25s, box-shadow .25s; }
#contact-form.is-visible .contact-field { animation: contactEnter .55s cubic-bezier(.2,.8,.3,1) both; }
#contact-form.is-visible .contact-field:nth-of-type(2) { animation-delay: .06s; }
#contact-form.is-visible .contact-field:nth-of-type(3) { animation-delay: .12s; }
#contact-form.is-visible .contact-field:nth-of-type(4) { animation-delay: .18s; }
#contact-form .contact-field label { transition: color .2s; }
#contact-form .contact-field:focus-within label { color: var(--yellow); }
#contact-form input, #contact-form textarea { transition: border-color .2s, box-shadow .2s; }
#contact-form .contact-field:focus-within input, #contact-form .contact-field:focus-within textarea { border-color: var(--yellow); box-shadow: inset 3px 0 0 var(--yellow); }
#contact-form:focus-within { border-color: rgba(255,241,0,.45); }
#contact-form:focus-within .contact-field, .contact-copy:focus-within > .contact-actions { animation: none; }
#contact-form.is-ready { border-color: var(--yellow); }
#contact-form.is-ready #contact-form-status { animation: contactReady .6s ease-out; border-left: 2px solid var(--yellow); padding-left: 14px; }
#contact-submit .arr { display: inline-block; transition: transform .2s; }
#contact-submit:hover .arr { transform: translate(3px,-3px); }
.motion-paused .contact-motion,
.motion-paused .contact-motion::before,
.motion-paused .contact-motion::after,
.motion-paused .contact-motion *,
.motion-paused .contact-motion *::before,
.motion-paused .contact-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .contact-motion,
  .contact-motion::before,
  .contact-motion::after,
  .contact-motion *,
  .contact-motion *::before,
  .contact-motion *::after { animation: none !important; transition: none !important; }
}
/* JV line drawings explain the three parts without another image download. */
#jv .jv-fact { border: 1px solid rgba(10,10,10,.12); padding: 24px; }
#jv .jv-fact-top { display: flex; align-items: center; margin-bottom: 10px; }
#jv .jv-fact-top span { color: #3A3300; font: 10px "IBM Plex Mono", "Noto Sans TC", monospace; letter-spacing: .09em; }
#jv .jv-fact-diagram { display: block; width: 100%; max-width: 260px; height: auto; margin: 8px auto 24px; color: #0A0A0A; }
#jv .jv-fact b { display: block; margin-bottom: 12px; }
#jv .jv-node-icon { opacity: .95; }
@media (max-width: 760px) { #jv .jv-fact-diagram { max-width: 220px; margin-bottom: 20px; } }

/* JV cards: centered composition, visible ink reveal and a repeating flow cue. */
#jv .jv-fact { text-align: center; background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(10,10,10,.045)); }
#jv .jv-fact-top { justify-content: center; }
#jv .jv-fact > span { display: block; max-width: 32ch; margin-inline: auto; }
#jv .jv-fact-diagram { margin-block: 20px 28px; }
@keyframes jvInk { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes jvFlow { 0%,10% { opacity: 0; transform: translateX(0); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(30px); } }
@keyframes jvBranch { 0%,10% { opacity: 0; transform: translate(0,0); } 20% { opacity: 1; } 75% { transform: translate(var(--branch),0); opacity: 1; } 100% { transform: translate(var(--branch),12px); opacity: 0; } }
#jv .jv-fact.is-visible .jv-stroke { stroke-dasharray: 1; animation: jvInk 1.25s cubic-bezier(.3,.7,.2,1) both; animation-delay: var(--stroke-delay); }
#jv .jv-flow-dot { opacity: 0; }
#jv .jv-fact.is-visible .jv-flow-dot { animation: jvFlow 2.8s 1.5s ease-in-out infinite; }
#jv .jv-fact.is-visible .jv-flow-split { animation-name: jvBranch; }
.motion-paused #jv .jv-stroke { animation: none !important; stroke-dashoffset: 0; }
.motion-paused #jv .jv-flow-dot { animation: none !important; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  #jv .jv-fact.is-visible .jv-stroke { animation: none; stroke-dashoffset: 0; }
  #jv .jv-fact.is-visible .jv-flow-dot { animation: none; opacity: 0; }
}

/* A larger first screen, with a visible journey from busywork to useful work. */
.header { max-width: calc(2000px + var(--gutter) * 2); }
#motion-toggle { display: block; width: fit-content; margin-left: max(var(--gutter), calc((100% - 2000px) / 2)) !important; }
.hero { padding-top: clamp(36px, 5vh, 72px); }
.hero .hero-inner { max-width: 2000px; min-height: clamp(700px, calc(100svh - 220px), 1080px); grid-template-columns: 1.15fr 1fr; column-gap: clamp(40px, 5vw, 120px); }
.hero .eyebrow { grid-column: 1; grid-row: 1; align-self: end; font-size: clamp(10px, .75vw, 13px); line-height: 1.9; }
.hero h1 { grid-row: 2; align-self: end; font-size: clamp(56px, 6.3vw, 154px); margin: 28px 0; letter-spacing: -.045em; }
.hero .hero-bottom { grid-row: 3; align-self: start; gap: 28px; padding-bottom: 26px; }
.hero .hero-bottom p { font-size: clamp(16px, 1.15vw, 22px); }
.hero .hero-bottom .button { font-size: clamp(14px, 1vw, 18px); padding: 20px 30px; }
.hero .hero-visual { grid-row: 1 / 4; max-width: 820px; justify-self: center; margin: 20px 0 36px; padding: 0 14px; }
.hero-sources { gap: 16px; padding-inline: 12px; }
.hero-sources > .hero-task { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: clamp(12px, 1.2vw, 22px); border-radius: 13px; }
.hero-task svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-task > span { font-size: clamp(12px, 1vw, 17px); font-weight: 600; color: var(--on-dark); }
.hero-task small { font: 11px/1.6 "Noto Sans TC", sans-serif; color: var(--on-dark-muted); }
.hero .hero-bridge { height: 65px; }
.hero .hero-plan { padding: clamp(28px, 2.7vw, 54px); }
.hero .hero-plan .hero-plan-title { font-size: clamp(30px, 3vw, 58px); line-height: 1.35; margin: 25px 0 20px; }
.hero .hero-plan .hero-plan-note { font-size: clamp(13px, 1vw, 18px); }
.hero .hero-plan-footer { font-size: clamp(12px, .9vw, 15px); }
.hero-handoff { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; list-style: none; padding: 0; margin: 32px 0 0; }
.hero-handoff li { padding: 16px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #161613; }
.hero-handoff li:last-child { border-color: rgba(255,241,0,.5); }
.hero-handoff .handoff-number { color: var(--yellow); font: 9px/1.7 "IBM Plex Mono", "Noto Sans TC", monospace; }
.hero-handoff b { display: block; color: var(--on-dark); font-size: clamp(12px, 1vw, 17px); margin: 8px 0; }
.hero-handoff small { color: var(--on-dark-muted); font-size: 11px; line-height: 1.8; }
.hero .hero-visual figcaption { margin-top: 20px; }
.hero-sectors { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr repeat(4,1fr); gap: 12px; align-self: end; margin-top: 24px; }
.hero-sectors > p { font-size: 15px; font-weight: 600; margin: 0; align-self: center; }
.hero-sectors > p span { display: block; color: var(--on-dark-muted); font-size: 12px; font-weight: 400; margin-top: 8px; }
.hero-sectors a { display: flex; align-items: center; gap: 12px; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: var(--on-dark); font-size: 14px; transition: border-color .2s, background .2s; }
.hero-sectors a > span { font: 10px "IBM Plex Mono", monospace; color: var(--on-dark-muted); }
.hero-sectors i { font-style: normal; margin-left: auto; color: var(--yellow); }
.hero-sectors a:hover { border-color: var(--yellow); background: #202018; }
.hero .hero-index { margin-top: 30px; }
.industry-card { scroll-margin-top: 30px; }
@media (max-width: 1040px) {
  .hero .hero-inner { column-gap: 28px; }
  .hero h1 { font-size: clamp(46px, 6.2vw, 65px); }
  .hero .hero-visual { padding: 0 8px; }
  .hero-sources { gap: 8px; padding-inline: 0; }
  .hero-task small { display: none; }
  .hero .hero-plan { padding: 24px; }
  .hero .hero-plan .hero-plan-title { font-size: 29px; }
  .hero-handoff { gap: 6px; }
  .hero-handoff li { padding: 12px 8px; }
  .hero-handoff small { font-size: 10px; }
  .hero-sectors { grid-template-columns: repeat(4,1fr); }
  .hero-sectors > p { grid-column: 1/-1; }
  .hero-sectors > p span { display: inline; margin-left: 12px; }
  .hero-sectors a { padding: 14px 10px; font-size: 12px; gap: 8px; }
}
@media (max-width: 760px) {
  .hero .hero-inner { min-height: 0; grid-template-columns: 1fr; }
  .hero .eyebrow, .hero h1, .hero .hero-bottom, .hero .hero-visual { grid-column: 1; grid-row: auto; }
  .hero h1 { font-size: clamp(40px, 12vw, 66px); }
  .hero .hero-visual { max-width: 540px; margin: 28px auto; }
  .hero .hero-plan .hero-plan-title { font-size: clamp(28px, 6.5vw, 36px); }
  .hero .hero-bottom .button { padding: 18px 24px; }
  .hero-handoff { grid-template-columns: 1fr; gap: 8px; }
  .hero-handoff li { display: grid; grid-template-columns: 94px 1fr; column-gap: 8px; align-items: center; }
  .hero-handoff b { margin: 0; font-size: 13px; }
  .hero-handoff small { grid-column: 2; font-size: 11px; }
  .hero-sectors { grid-template-columns: repeat(2,1fr); }
  .hero .hero-index { font-size: 8px; line-height: 1.7; }
}
@keyframes handoffSignal { 0%,60%,100% { border-color: rgba(255,255,255,.16); translate: 0 0; } 12%,32% { border-color: #FFF100; translate: 0 -5px; } }
.hero.is-visible .hero-handoff li { animation: handoffSignal 7s ease-in-out infinite; }
.hero.is-visible .hero-handoff li:nth-child(2) { animation-delay: 1.4s; }
.hero.is-visible .hero-handoff li:nth-child(3) { animation-delay: 2.8s; }
@media (prefers-reduced-motion: reduce) { .hero.is-visible .hero-handoff li { animation: none; } }
.hero .hero-inner { align-content: center; }
.hero-copy { grid-column: 1; grid-row: 1; align-self: center; }
.hero .hero-visual { grid-column: 2; grid-row: 1; }
@media (min-width: 761px) and (max-width: 1600px) {
  .hero .hero-visual { margin-block: 10px 20px; }
  .hero-sources > .hero-task { padding: 12px; gap: 6px; }
  .hero-task svg { width: 22px; height: 22px; }
  .hero-task small { font-size: 10px; }
  .hero .hero-bridge { height: 48px; }
  .hero .hero-plan { padding: 26px; }
  .hero .hero-plan .hero-plan-title { font-size: clamp(29px, 2.5vw, 38px); margin: 20px 0 14px; }
  .hero .hero-plan .hero-plan-note { font-size: 13px; margin-bottom: 18px; }
  .hero .hero-plan-footer { padding-top: 12px; font-size: 12px; }
  .hero-handoff { margin-top: 26px; }
  .hero-handoff li { padding: 12px 9px; }
  .hero-handoff b { font-size: 13px; margin: 6px 0; }
  .hero-handoff small { font-size: 10px; }
}
@media (max-width: 760px) {
  .hero-copy, .hero .hero-visual { grid-column: 1; grid-row: auto; }
}
/* Section introductions read as a point, an explanation and optional takeaways. */
.lede.intro-note { padding: 20px 0 20px 24px; border-left: 2px solid var(--yellow-ink); max-width: 48ch; }
.intro-note strong { display: block; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.6; color: var(--fg); }
.intro-note > p { font-size: 14px; line-height: 1.95; color: var(--fg-muted); margin: 10px 0 0; }
.intro-tags { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 16px 0 0; }
.intro-tags li { padding: 5px 10px; border: 1px solid currentColor; border-radius: 6px; color: var(--fg-muted); font-size: 11px; line-height: 1.6; }
.band-dark .intro-note, .band-dark-alt .intro-note { border-color: var(--yellow); }
#jv .intro-note { border-color: #0A0A0A; max-width: 46ch; }
#jv .intro-note > p, #jv .intro-tags li { color: #3A3300; }
.human-first { max-width: 1320px; margin: 0 auto 28px; display: grid; grid-template-columns: .9fr 1.25fr; gap: 28px 36px; align-items: center; }
.human-first .eyebrow { font-size: 10px; margin: 0 0 16px; }
.human-first h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.5; margin: 0 0 14px; }
.human-first-intro > p:last-child { color: var(--fg-muted); font-size: 14px; line-height: 1.9; max-width: 30em; margin: 0; }
.human-work { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.human-work > div { background: #121210; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; padding: 22px; }
.human-work > div:last-child { border-color: rgba(255,241,0,.38); }
.human-role { display: block; color: var(--yellow); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.human-work ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.human-work li { display: flex; align-items: center; gap: 10px; color: var(--on-dark-muted); font-size: 13px; line-height: 1.7; }
.human-work li svg { width: 22px; height: 22px; flex: none; color: var(--yellow); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.human-note { grid-column: 1/-1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: var(--on-dark-muted); font-size: 12px; margin: 0; }
@media (max-width: 1040px) { .human-first { grid-template-columns: 1fr; } .human-first-intro > p:last-child { max-width: none; } }
@media (max-width: 760px) {
  .lede.intro-note { padding: 16px 0 16px 18px; margin-top: 24px; }
  .human-work { gap: 10px; }
}
@media (max-width: 640px) {
  .human-work { grid-template-columns: 1fr; }
  .human-work > div { padding: 16px 12px; }
  .human-work li { font-size: 12px; }
  .human-work li svg { width: 18px; height: 18px; }
  .human-role { font-size: 13px; }
}

.human-value { display: inline-block; max-width: 100%; }
/* Company-first hero: real-world context has equal weight to the message. */
.header { max-width: calc(2400px + var(--gutter) * 2); }
#motion-toggle { margin-left: max(var(--gutter), calc((100% - 2400px) / 2)) !important; }
.hero .hero-inner { max-width: 2400px; }
.hero h1 { font-size: clamp(56px, 6.5vw, 170px); }
.hero .hero-visual { max-width: 1000px; }
.hero-sources > .hero-task { display: grid; grid-template-columns: 24px 1fr; align-items: center; padding: 12px 16px; gap: 6px 10px; }
.hero-task small { grid-column: 2; }
.hero-stage { position: relative; }
.hero-photo-wrap { overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.16); }
.hero-company-photo { display: block; width: 100%; height: clamp(260px, 21vw, 480px); object-fit: cover; object-position: center; }
.hero .hero-plan { width: 80%; margin: -110px 0 0 auto; padding: clamp(24px, 2vw, 38px); }
.hero .hero-plan .hero-plan-title { font-size: clamp(28px, 2.3vw, 44px); margin: 18px 0 12px; }
.hero .hero-plan .hero-plan-note { font-size: clamp(13px, .85vw, 16px); margin-bottom: 18px; }
.hero .hero-bridge { height: 44px; }
.hero .hero-handoff { margin-top: 22px; }
.hero-sectors { grid-template-columns: .85fr repeat(4,1fr); gap: 14px; }
.hero-sectors a { padding: 22px 18px; gap: 16px; background: linear-gradient(145deg,#20201B,#11110F); border-color: rgba(255,241,0,.23); }
.hero-sectors a > svg { width: 34px; height: 34px; color: var(--yellow); flex-shrink: 0; }
.hero-sectors a > .sector-copy { font-family: "Noto Sans TC",sans-serif; color: var(--on-dark); }
.sector-copy b { display: block; font-size: 15px; line-height: 1.7; }
.sector-copy small { display: block; color: var(--on-dark-muted); font-size: 11px; line-height: 1.8; margin-top: 5px; }
.blueprint-photo { margin: 20px 0 0; width: min(100%, 440px, 50svh); }
.blueprint-photo img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
.blueprint-photo figcaption { color: var(--on-dark-muted); font-size: 9px; margin-top: 6px; }
.blueprint .industry-tags { margin-top: 22px; }
#process .process-cards { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; min-width: 1050px; list-style: none; padding: 0; margin: 0; }
.process-cards li { position: relative; padding: 24px 20px; border: 1px solid rgba(255,241,0,.18); border-radius: 18px; background: #1A1A17; }
.process-cards li:last-child { border-color: var(--yellow); }
.process-number { color: var(--yellow); font: 11px "IBM Plex Mono",monospace; }
#process .route-strip svg { display: block; width: 100%; height: 100px; min-width: 0; color: var(--yellow); margin: 22px 0; }
.process-cards h3 { font-size: 17px; margin: 0 0 14px; color: var(--on-dark); }
.process-cards p { color: var(--on-dark-muted); font-size: 13px; line-height: 1.9; margin: 0; }
.process-hint { display: none; max-width: 1320px; margin: 16px auto 0; color: var(--on-dark-muted); font-size: 12px; }
@media (max-width: 1180px) { .process-hint { display: block; } }
@media (max-width: 1600px) {
  .hero h1 { font-size: clamp(46px, 6.2vw, 98px); }
  .hero .hero-plan { width: 88%; margin-top: -80px; padding: 24px; }
  .hero .hero-plan .hero-plan-title { font-size: clamp(25px, 2.3vw, 36px); }
  .hero-sectors { grid-template-columns: repeat(4,1fr); }
  .hero-sectors > p { grid-column: 1/-1; }
  .hero-sectors > p span { display: inline; margin-left: 12px; }
  .hero-sectors a { padding: 16px 12px; gap: 12px; }
  .sector-copy b { font-size: 13px; }
}
@media (max-width: 1040px) {
  .hero .hero-plan { width: 94%; }
  .hero-sources > .hero-task { padding: 10px; grid-template-columns: 1fr; gap: 6px; }
  .sector-copy small { font-size: 10px; }
  .hero-sectors a > svg { width: 26px; height: 26px; }
  .hero-sectors a { gap: 8px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(36px, 10.7vw, 62px); }
  .hero-company-photo { height: 250px; }
  .hero .hero-plan { width: 92%; margin-top: -55px; }
  .hero .hero-plan .hero-plan-title { font-size: 27px; }
  .hero-sectors { grid-template-columns: repeat(2,1fr); }
  .hero-sectors a { flex-wrap: wrap; }
  .hero-sectors a > .sector-copy { flex: 1; min-width: 72px; }
  .hero-sectors i { margin-left: 0; }
  .sector-copy small { font-size: 10px; }
  .blueprint-photo { margin-top: 12px; width: min(100%, 280px); }
  .blueprint-photo figcaption { font-size: 8px; }
  .blueprint .industry-tags { margin-top: 14px; }
  #process .process-cards { gap: 12px; }
}
@media (max-width: 760px) and (max-height: 799px) { .blueprint-photo { display: none; } }
@media (max-width: 760px) { .blueprint-photo { display: none; } }
/* A full-height first impression; mobile retains its natural stacked flow. */
@media (min-width: 761px) { .hero .hero-inner { min-height: calc(105svh - 130px); } }
.bp-photo-slides { position: relative; width: 100%; aspect-ratio: 3 / 2; height: auto; overflow: hidden; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,241,0,.22); }
.blueprint-photo .bp-photo-slides img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: 0; object-fit: cover; object-position: center; opacity: 0; transition: opacity .9s ease; }
.blueprint-photo .bp-photo-slides img.is-current { opacity: 1; }
.blueprint-photo figcaption { display: flex; align-items: center; gap: 10px; max-width: none; flex-wrap: wrap; }
.motion-paused .blueprint-photo img { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .blueprint-photo img { transition: none !important; } }
.blueprint-photo { pointer-events: auto; }
/* Six scroll chapters: one company theme and image per chapter. */
.pin-wrap { height: 560vh; min-height: 0; }
.bp-node-layer { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bp-node { position: absolute; left: 0; top: 0; }
.bp-node-card { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 8px; background: #1A1A17; border: 1px solid rgba(255,241,0,.32); border-radius: 13px; box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.bp-node-art { display: block; width: 100%; height: var(--art-height,64px); object-fit: cover; border-radius: 6px; }
.bp-node-id { color: var(--yellow); font: 11px/1.4 "IBM Plex Mono", "Noto Sans TC", monospace; margin-top: 3px; }
.bp-node-card h3 { color: var(--on-dark); font-size: 19px; line-height: 1.3; margin: 0; }
.bp-node-card p { color: var(--on-dark-muted); font-size: 10px; line-height: 1.35; margin: auto 0 0; }
.bp-node.is-current .bp-node-card { border-color: var(--yellow); }
.bp-node.is-delivered .bp-node-card { background: var(--yellow); box-shadow: 0 0 24px rgba(255,241,0,.25); }
.bp-node.is-delivered :is(.bp-node-id,h3,p) { color: #0A0A0A; }
@keyframes nodeFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(.6deg); } }
.blueprint.is-visible .bp-node-card { animation: nodeFloat calc(5.5s + var(--node-index) * .4s) ease-in-out infinite; animation-delay: calc(var(--node-index) * -.8s); }
.blueprint .industry-tags { max-width: none; width: 100%; }
.blueprint .industry-tags span { font-size: 11px; padding: 11px 10px; gap: 7px; transform: none; }
@media (max-width: 760px) {
  .pin-wrap { height: 480vh; }
  .bp-node-card { padding: 6px; gap: 2px; border-radius: 9px; }
  .bp-node-id { font-size: 7px; margin-top: 1px; }
  .bp-node-card h3 { font-size: 13px; }
  .bp-node-card p { font-size: 7px; }
  .blueprint .industry-tags span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pin-wrap { height: auto; min-height: 0; }
  .blueprint.is-visible .bp-node-card { animation: none; }
}

/* Section details replay with the shared visibility observer. */
@keyframes detailLift { from { transform: translateY(10px); } to { transform: translateY(0); } }
@keyframes detailNod { 0%, 80%, 100% { transform: rotate(0); } 88% { transform: rotate(-6deg); } 94% { transform: rotate(4deg); } }
@keyframes detailSweep { 0%, 15% { transform: scaleX(0); } 65%, 100% { transform: scaleX(1); } }
.human-first.is-visible .human-work li,
.compare.is-visible li { animation: detailLift .6s ease both; }
.human-work li:nth-child(2), .compare li:nth-child(2) { animation-delay: .12s; }
.human-work li:nth-child(3), .compare li:nth-child(3) { animation-delay: .24s; }
.compare li:nth-child(4) { animation-delay: .36s; }
.compare li:nth-child(5) { animation-delay: .48s; }
.approach-item.is-visible .icon-chip svg { animation: detailNod 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.7s); }
.ppoint.is-visible .ppoint-num, .principle.is-visible .num { animation: detailNod 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.8s); }
.ppoint, .principle { position: relative; overflow: hidden; }
.ppoint::after, .principle::after { content: ''; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: #998E00; transform: scaleX(0); transform-origin: left; }
.ppoint.is-visible::after, .principle.is-visible::after { animation: detailSweep 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
.motion-paused .human-work li, .motion-paused .compare li { animation: none !important; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .human-work li, .compare li, .approach-item .icon-chip svg, .ppoint .ppoint-num, .principle .num,
  .ppoint::after, .principle::after { animation: none !important; transform: none; }
}

/* Industry cards: the photo, chip and outcome pill carry the motion. */
.photo-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin: 18px 0 20px; border-radius: var(--r-chip); }
.photo-frame .industry-photo { position: absolute; left: -6%; top: -6%; display: block; width: 112%; height: 112%; object-fit: cover; object-position: center; }
.industry-card.is-visible .photo-frame .industry-photo { animation: industryDrift 16s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -2.4s); }
.photo-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.28) 48%, transparent 64%); transform: translateX(-130%); pointer-events: none; }
.industry-card.is-visible .photo-frame::after { animation: industrySheen 7.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .7s); }
.industry-card.is-visible .icon-chip { animation: industryChip 5.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.8s); }
.industry-card .solution { position: relative; border-top: 0; }
.industry-card .solution::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #6B5500, transparent); transform: scaleX(0); transform-origin: left; }
.industry-card.is-visible .solution::before { animation: industryRule .8s ease forwards; animation-delay: calc(var(--i, 0) * .12s); }
.industry-card.is-visible .shift { animation: shiftGlow 4.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
.industry-card:hover .photo-frame .industry-photo,
.industry-card:focus-within .photo-frame .industry-photo { animation: none; object-position: 42% 46%; transition: object-position .6s ease; }
@keyframes industryDrift { 0%, 100% { object-position: 58% 42%; } 50% { object-position: 42% 58%; } }
@keyframes industryRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes industrySheen { 0%, 58% { transform: translateX(-130%); } 82%, 100% { transform: translateX(130%); } }
@keyframes industryChip { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-6px); } }
@keyframes shiftGlow { 0%, 100% { box-shadow: 0 8px 16px -12px rgba(255,241,0,.15); } 50% { box-shadow: 0 12px 22px -8px rgba(255,241,0,.7); } }
.motion-paused .photo-frame .industry-photo,
.motion-paused .photo-frame::after,
.motion-paused .industry-card .icon-chip,
.motion-paused .industry-card .solution::before,
.motion-paused .industry-card .shift { animation: none !important; }
.motion-paused .photo-frame .industry-photo { left: 0; top: 0; width: 100%; height: 100%; object-position: center; }
.motion-paused .industry-card .solution::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .photo-frame .industry-photo, .photo-frame::after, .industry-card .icon-chip,
  .industry-card .solution::before, .industry-card .shift { animation: none !important; }
  .photo-frame .industry-photo { left: 0; top: 0; width: 100%; height: 100%; object-position: center; }
  .industry-card .solution::before { transform: scaleX(1); }
}

@media (min-width: 761px) {
  .blueprint-shell { max-width: calc(1680px + var(--gutter) * 2); }
  .bp-left { width: 34%; }
}

/* Hero visual: the photo, yellow card and industry row keep moving without shifting layout. */
@keyframes heroPan { 0%, 100% { object-position: 48% 42%; } 50% { object-position: 58% 56%; } }
@keyframes heroSheen { 0%, 62% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
@keyframes sectorEdge { 0%, 72%, 100% { border-color: rgba(255,241,0,.28); } 18%, 40% { border-color: #FFF100; } }
@keyframes sectorIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hero-photo-wrap { position: relative; }
.hero-photo-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.22) 50%, transparent 64%); transform: translateX(-130%); pointer-events: none; }
.hero.is-visible .hero-company-photo { animation: heroPan 18s ease-in-out infinite; }
.hero.is-visible .hero-photo-wrap::after { animation: heroSheen 8.5s ease-in-out infinite; }
.hero-sectors a { position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.22,.8,.3,1), border-color .35s, box-shadow .35s, background .35s; }
.hero-sectors a::before { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.hero-sectors a > svg { transition: transform .35s ease; }
.hero-sectors i { transition: transform .35s ease; }
.hero.is-visible .hero-sectors a { animation: sectorEdge 7.2s ease-in-out infinite; }
.hero.is-visible .hero-sectors a:nth-child(3) { animation-delay: 1.2s; }
.hero.is-visible .hero-sectors a:nth-child(4) { animation-delay: 2.4s; }
.hero.is-visible .hero-sectors a:nth-child(5) { animation-delay: 3.6s; }
.hero.is-visible .hero-sectors a > svg { animation: sectorIcon 4.8s ease-in-out infinite; }
.hero.is-visible .hero-sectors a:nth-child(3) > svg { animation-delay: -.6s; }
.hero.is-visible .hero-sectors a:nth-child(4) > svg { animation-delay: -1.2s; }
.hero.is-visible .hero-sectors a:nth-child(5) > svg { animation-delay: -1.8s; }
.hero.is-visible .hero-sectors a:hover,
.hero.is-visible .hero-sectors a:focus-visible { transform: translateY(-6px); border-color: var(--yellow); box-shadow: 0 18px 36px -22px rgba(255,241,0,.7); animation: none; }
.hero-sectors a:hover::before, .hero-sectors a:focus-visible::before { transform: scaleX(1); }
.hero.is-visible .hero-sectors a:hover > svg,
.hero.is-visible .hero-sectors a:focus-visible > svg { transform: translateY(-2px) rotate(-6deg); animation: none; }
.hero-sectors a:hover i, .hero-sectors a:focus-visible i { transform: translateX(5px); }
.motion-paused .hero-company-photo,
.motion-paused .hero-photo-wrap::after,
.motion-paused .hero-sectors a,
.motion-paused .hero-sectors a > svg { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero-company-photo, .hero-photo-wrap::after, .hero-sectors a, .hero-sectors a > svg, .hero-handoff li { animation: none !important; }
  .hero-sectors a { transition: none; }
}

nav a[aria-current="page"] { color: var(--yellow); }
/* Instead of hiring a full-time AI specialist. */
.hire-total { max-width: 1320px; margin: 28px auto 0; padding: 26px 28px; border-radius: 22px; background: var(--yellow); color: #0A0A0A; display: grid; gap: 6px; }
.hire-total span { font: 12px/1.4 "IBM Plex Mono", "Noto Sans TC", monospace; letter-spacing: .14em; }
.hire-total b { font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(28px, 3vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.hire-total p { margin: 4px 0 0; max-width: 40em; font-size: 16px; line-height: 1.7; }
.hire-total .total-line { font-weight: 700; font-size: 17px; }
.role-wrap .hire-total { max-width: none; margin: 8px 0 22px; }
/* Cost ladder — the expensive options first, on one shared 0–120k scale. */
.cost-ladder { max-width: 1320px; margin: 26px auto 0; padding: 26px 28px 22px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 241, 0, .18); }
.ladder-head { margin: 0 0 18px; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--on-dark); }
.cost-ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cost-ladder li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 15em; gap: 18px; align-items: center; }
.cost-ladder b { font-size: 15px; color: var(--on-dark); }
.cost-ladder .track { position: relative; height: 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.cost-ladder .track i { position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from)); border-radius: 999px; background: rgba(255, 255, 255, .3); transform-origin: left center; transform: scaleX(.02); transition: transform .9s cubic-bezier(.3, .8, .3, 1) var(--d, 0s); }
.cost-ladder li:nth-child(2) .track i { --d: .1s; }
.cost-ladder li:nth-child(3) .track i { --d: .2s; }
.cost-ladder li:nth-child(4) .track i { --d: .3s; }
.cost-ladder.is-visible .track i { transform: none; }
.cost-ladder .ours .track i { background: var(--yellow); box-shadow: var(--glow-sm); }
.cost-ladder .ours b { color: var(--yellow); }
.cost-ladder em { font-style: normal; display: grid; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--on-dark); }
.cost-ladder .ours em { color: var(--yellow); }
.cost-ladder em small { margin-top: 3px; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--on-dark-muted); }
.ladder-scale { margin: 16px 0 0; font: 11px/1.6 "IBM Plex Mono", monospace; letter-spacing: .04em; color: var(--on-dark-muted); }
.motion-paused .cost-ladder .track i { transform: none; transition: none; }
@media (max-width: 760px) {
  .cost-ladder { padding: 20px 18px 18px; }
  .cost-ladder li { grid-template-columns: 1fr; gap: 8px; }
  .cost-ladder em { font-size: 16px; }
}
/* What building it yourself actually costs. A dark panel on the light band:
   this is the heavy option, and it should look like it. */
.build-cost { max-width: 1320px; margin: 0 auto 30px; padding: 36px 38px 30px; border-radius: 24px; background: #121210; color: var(--on-dark); box-shadow: 0 40px 80px -54px rgba(0, 0, 0, .9); }
.build-cost .ladder-head { margin: 0 0 4px; color: #fff; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(21px, 2vw, 28px); font-weight: 700; }
.build-cost .bc-lede { margin: 0 0 28px; max-width: 46em; color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.8; }
.build-cost ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.build-cost li { display: grid; align-content: start; padding: 24px 26px 4px; border-left: 1px solid rgba(255, 255, 255, .1); }
.build-cost li:first-child { padding-left: 0; border-left: 0; }
.build-cost .bc-no { font: 500 11px/1 var(--mono); letter-spacing: .16em; color: var(--yellow); }
.build-cost .bc-ico { display: inline-flex; width: 40px; height: 40px; margin: 16px 0 14px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.build-cost .bc-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.build-cost b { font-size: 13px; letter-spacing: .02em; color: var(--on-dark-muted); }
.build-cost em { font-style: normal; margin: 8px 0 10px; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(19px, 1.7vw, 25px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.build-cost small { max-width: 17em; font-size: 13px; line-height: 1.8; color: var(--on-dark-muted); }
.build-cost .ladder-scale { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark-muted); }
@media (max-width: 980px) {
  .build-cost ol { grid-template-columns: 1fr 1fr; }
  .build-cost li { padding: 22px 22px 4px; }
  .build-cost li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .build-cost li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 18px; padding-top: 22px; }
}
@media (max-width: 620px) {
  .build-cost { padding: 26px 22px 22px; }
  .build-cost ol { grid-template-columns: 1fr; }
  .build-cost li { padding: 20px 0 4px; border-left: 0; }
  .build-cost li + li { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 0; padding-top: 20px; }
  .build-cost small { max-width: none; }
}
.hire-total .button { justify-self: start; margin-top: 14px; background: #0A0A0A; color: var(--yellow); }
.hire-total .button:hover { background: #242420; }
.hire-ranges { max-width: 1320px; margin: 14px auto 0; display: flex; gap: 14px; flex-wrap: wrap; }
.hire-ranges article { padding: 22px 24px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,241,0,.22); }
.hire-ranges article span, .hire-source { font: 11px/1.6 "IBM Plex Mono", monospace; letter-spacing: .04em; color: var(--on-dark-muted); }
.hire-ranges b { display: block; margin: 10px 0 6px; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; letter-spacing: -.03em; color: var(--yellow); }
.hire-ranges small { color: var(--on-dark-muted); font-size: 13px; }
.hire-ranges .button { grid-column: 1 / -1; justify-self: start; align-self: center; }
.hire-source { max-width: 1320px; margin: 16px auto 0; }
.role-hero { padding: clamp(56px, 9vh, 110px) var(--gutter) clamp(40px, 6vh, 72px); }
.role-hero-inner, .role-wrap { max-width: 1100px; margin: 0 auto; }
.role-hero h1 { max-width: 12em; margin: 16px 0 22px; font-size: clamp(46px, 6vw, 88px); line-height: 1.12; letter-spacing: -.045em; }
.role-hero .lede { max-width: 38rem; margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.85; color: var(--on-dark-muted); }
.pay-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.pay-card { padding: 34px 32px; border-radius: 20px; background: #fff; color: #0A0A0A; border: 1px solid rgba(10,10,10,.08); }
.pay-card .kicker { font: 11px/1.6 "IBM Plex Mono", monospace; letter-spacing: .06em; color: #6B5500; }
.pay-card h3 { margin: 10px 0 14px; font-size: clamp(24px, 2vw, 32px); line-height: 1.3; }
.pay-card .amount { font-family: Outfit, "Noto Sans TC", sans-serif; font-weight: 800; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1.1; color: #0A0A0A; }
.pay-card .year { margin: 10px 0 0; max-width: 54ch; color: #56564F; font-size: 15px; line-height: 1.75; }
.pay-card > p:last-child { margin: 16px 0 0; max-width: 54ch; font-size: 15px; line-height: 1.8; color: #3A3A34; }
.pay-card.lead { background: #0A0A0A; color: #fff; border-color: transparent; }
.pay-card.lead .kicker { color: #FFF100; }
.pay-card.lead .amount { color: #FFF100; }
.pay-card.lead .year, .pay-card.lead p { color: rgba(255,255,255,.72); }
.bench { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; align-items: stretch; }
.bench article { padding: 20px 18px 18px; border-radius: 16px; background: rgba(10,10,10,.04); display: grid; grid-template-rows: auto auto 1fr; gap: 0; }
.bench span { display: block; font-size: 13px; line-height: 1.6; color: #56564F; }
.bench b { display: block; align-self: end; margin-top: 14px; font-size: clamp(19px, 1.6vw, 25px); letter-spacing: -.03em; white-space: nowrap; }
.role-note, .source-list { max-width: 68ch; margin: 22px 0 0; font-size: 14px; line-height: 1.8; color: var(--fg-muted, #56564F); }
.source-list a { text-decoration: underline; text-underline-offset: 3px; }
.role-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-split article { padding: 28px; border-radius: 20px; }
.role-split h3 { margin: 8px 0 18px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.25; }
.role-split ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.role-split li { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: 16px; line-height: 1.7; }
.role-split article:first-child { background: #161613; color: #fff; }
.role-split article:last-child { background: #FFF100; color: #0A0A0A; }
.role-split article:last-child li { border-top-color: rgba(10,10,10,.16); }
.role-duties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.role-duties article { padding: 22px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hairline); }
.role-duties span { font: 12px "IBM Plex Mono", "Noto Sans TC", monospace; color: var(--yellow); }
.role-duties h3 { margin: 12px 0 8px; font-size: 18px; }
.role-duties p { margin: 0; color: var(--fg-muted); font-size: 14px; line-height: 1.75; }
.role-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ai-role: the hero figure, plus a mark on every card so the page is not all type. */
.role-hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); gap: 40px; align-items: center; }
.role-slot { margin: 0; }
.role-slot svg { display: block; width: min(100%, 340px); height: auto; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.role-slot .slot-box { stroke: rgba(255, 255, 255, .34); stroke-width: 1.8; stroke-dasharray: 8 7; }
.role-slot .slot-head, .role-slot .slot-body { stroke: rgba(255, 255, 255, .42); }
.role-slot .slot-cap { fill: var(--on-dark-muted); stroke: none; font: 13px/1 var(--sans); text-anchor: middle; }
.role-slot .slot-link { stroke: var(--yellow); stroke-width: 2.2; }
.role-slot .slot-plug { fill: var(--yellow); stroke: none; }
.role-slot .slot-plug-cap { fill: #0A0A0A; stroke: none; font: 700 15px/1 var(--sans); letter-spacing: .04em; text-anchor: middle; }
.role-slot .slot-note { fill: var(--yellow); stroke: none; font: 13px/1 var(--sans); text-anchor: middle; }
.role-slot .slot-plug, .role-slot .slot-plug-cap { transform: translateX(26px); opacity: 0; transition: transform .7s cubic-bezier(.3, .9, .3, 1) .35s, opacity .5s linear .35s; }
.role-slot .slot-note { opacity: 0; transition: opacity .5s linear .8s; }
.team-motion.is-visible .role-slot .slot-plug,
.team-motion.is-visible .role-slot .slot-plug-cap { transform: none; opacity: 1; }
.team-motion.is-visible .role-slot .slot-note { opacity: 1; }
.motion-paused .role-slot .slot-plug,
.motion-paused .role-slot .slot-plug-cap,
.motion-paused .role-slot .slot-note { transform: none; opacity: 1; transition: none; }

/* Pay cards share one column rhythm: mark, kicker, title, amount, note. */
.pay-grid { align-items: stretch; }
.pay-card { display: flex; flex-direction: column; }
.pay-card > p:last-child { margin-top: auto; }
.pay-card.base > p:last-child { margin-top: 14px; }
.pay-card.base { grid-column: 1 / -1; background: var(--paper-soft); border-color: rgba(10, 10, 10, .07); }
.pay-card.base .amount { color: #0A0A0A; }
.pay-sub { margin: 40px 0 0; font-size: 22px; }
.role-wrap .hire-total .total-line { font-weight: 700; font-size: 17px; margin-top: 6px; }
.pay-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 15px; background: rgba(10, 10, 10, .06); }
.pay-ico svg { width: 28px; height: 28px; fill: none; stroke: #0A0A0A; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pay-ico svg .fill { fill: #0A0A0A; stroke: none; }
.pay-card.lead .pay-ico { background: rgba(255, 241, 0, .14); }
.pay-card.lead .pay-ico svg { stroke: var(--yellow); }
.pay-card.lead .pay-ico svg .fill { fill: var(--yellow); }
.pay-card { transition: transform .35s ease, box-shadow .35s ease; }
.pay-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.bench article { transition: transform .35s ease, background .35s ease; }
.bench article:hover { transform: translateY(-3px); background: rgba(10, 10, 10, .07); }
.bench-ico { width: 30px; height: 30px; margin-bottom: 12px; fill: none; stroke: var(--yellow-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hire-total { position: relative; padding-right: 110px; }
.total-seal { position: absolute; top: 24px; right: 26px; width: 64px; height: 64px; fill: none; stroke: #0A0A0A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.total-seal circle:last-of-type { stroke-width: 1.4; opacity: .5; }
.total-seal .tick { stroke-width: 3; }

.role-duties article { display: grid; align-content: start; }
.role-duties .icon-chip { margin-bottom: 14px; }
.role-duties article { transition: transform .35s ease, border-color .35s ease; }
.role-duties article:hover { transform: translateY(-3px); border-color: rgba(255, 241, 0, .4); }

.role-split li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.li-ico { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.li-ico.good { opacity: 1; stroke-width: 1.8; }

.source-list { list-style: none; padding-left: 0; }
.source-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.src-ico { width: 16px; height: 16px; margin-top: 4px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }

@media (max-width: 860px) {
  .role-hero-split { grid-template-columns: 1fr; gap: 28px; }
  .role-slot svg { width: min(100%, 300px); }
  .hire-total { padding-right: 28px; }
  .total-seal { position: static; margin-bottom: 4px; }
}
@media (max-width: 900px) {
  .hire-ranges, .pay-grid, .role-split, .bench, .role-duties { grid-template-columns: 1fr 1fr; }
  .hire-ranges .button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .hire-ranges, .pay-grid, .role-split, .bench, .role-duties { grid-template-columns: 1fr; }
}

/* Keyword band: a little more yellow so the strip is not shaved against the
   dark sections, plus a cursor spotlight that lifts the words underneath. */
.marquee {
  position: relative;
  padding: 22px 0;
  margin-block: -1px;
  box-shadow: 0 -2px 0 var(--yellow), 0 2px 0 var(--yellow);
}
.marquee-glow {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: 220px;
  height: 140px;
  margin-top: -70px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 68%);
  mix-blend-mode: overlay;
  opacity: 0;
}
.marquee.is-pointer .marquee-glow { opacity: 1; }
.marquee-track span,
.marquee-track i { transition: transform .12s linear; }
.marquee-track span { transform: translateY(calc(var(--near, 0) * -5px)) scale(calc(1 + var(--near, 0) * .14)); }
.marquee-track i { transform: translateY(calc(var(--near, 0) * -3px)) rotate(45deg) scale(calc(1 + var(--near, 0) * .7)); }

/* One shared intro: a line draws under the point, then the chips light in order. */
.lede.intro-note > strong { position: relative; width: fit-content; max-width: 100%; }
.lede.intro-note > strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.12em;
  width: 100%;
  height: 2px;
  background: var(--yellow-ink);
  transform: scaleX(1);
  transform-origin: left center;
  pointer-events: none;
}
.lede.intro-note.is-visible > strong::after { animation: introRule .7s cubic-bezier(.2, .8, .3, 1) both; }
.lede.intro-note.is-visible > p { animation: introFade .6s .12s ease both; }
.lede.intro-note.is-visible .intro-tags li { animation: introChip .5s ease both; }
.lede.intro-note.is-visible .intro-tags li:nth-child(2) { animation-delay: .12s; }
.lede.intro-note.is-visible .intro-tags li:nth-child(3) { animation-delay: .24s; }
.band-dark .lede.intro-note > strong::after,
.band-dark-alt .lede.intro-note > strong::after { background: var(--yellow); }
.band-dark .lede.intro-note.is-visible .intro-tags li,
.band-dark-alt .lede.intro-note.is-visible .intro-tags li { animation-name: introChipDark; }
#jv .lede.intro-note > strong::after { background: #0A0A0A; }
#jv .lede.intro-note.is-visible .intro-tags li { animation-name: introChipDark; }
#jv:has(.lede.intro-note.is-visible) .jv-ul {
  background-repeat: no-repeat;
  animation: jvMark 1.15s ease both;
}
#jv:has(.lede.intro-note.is-visible) .jv-actions .arr {
  display: inline-block;
  animation: arrNudge 1.6s ease-in-out infinite;
}
.compare .win-col { position: relative; overflow: hidden; }
.compare.is-visible .win-col { animation: winGlow 4.2s ease-in-out infinite; }
.compare.is-visible .win-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 241, 0, .16) 50%, transparent 64%);
  transform: translateX(-130%);
  animation: compareSheen 4s ease-in-out infinite;
  pointer-events: none;
}
.compare.is-visible .win-col li::before { animation: tickDraw .5s cubic-bezier(.2, .8, .2, 1) both; }
.compare.is-visible .win-col li:nth-child(2)::before { animation-delay: .1s; }
.compare.is-visible .win-col li:nth-child(3)::before { animation-delay: .2s; }
.compare.is-visible .win-col li:nth-child(4)::before { animation-delay: .3s; }
.compare.is-visible .win-col li:nth-child(5)::before { animation-delay: .4s; }
.compare.is-visible .muted-col li::before { transform-origin: left center; animation: dashGrow .45s ease both; }
.compare.is-visible .muted-col li:nth-child(2)::before { animation-delay: .08s; }
.compare.is-visible .muted-col li:nth-child(3)::before { animation-delay: .16s; }
.compare.is-visible .muted-col li:nth-child(4)::before { animation-delay: .24s; }
.compare.is-visible .muted-col li:nth-child(5)::before { animation-delay: .32s; }

@keyframes introRule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes introFade {
  from { opacity: .35; }
  to { opacity: 1; }
}
@keyframes introChip {
  from { border-color: transparent; box-shadow: none; }
  to { border-color: currentColor; box-shadow: inset 0 -2px 0 var(--yellow-ink); }
}
@keyframes introChipDark {
  from { border-color: transparent; box-shadow: none; }
  to { border-color: currentColor; box-shadow: inset 0 -2px 0 currentColor; }
}
@keyframes jvMark {
  from { background-size: 0 100%; }
  to { background-size: 100% 100%; }
}
@keyframes arrNudge {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -5px); }
}
@keyframes winGlow {
  0%, 100% { box-shadow: var(--shadow-card); }
  50% { box-shadow: 0 22px 44px -18px rgba(255, 241, 0, .35), 0 0 0 1px rgba(255, 241, 0, .45); }
}
@keyframes compareSheen {
  0%, 18% { transform: translateX(-130%); }
  62%, 100% { transform: translateX(130%); }
}
@keyframes tickDraw {
  from { transform: rotate(-45deg) scale(0); }
  to { transform: rotate(-45deg) scale(.86); }
}
@keyframes dashGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: .5; }
}

.motion-paused .marquee-glow { display: none; }
.motion-paused .marquee-track span { transform: none !important; }
.motion-paused .marquee-track i { transform: rotate(45deg) !important; }
.motion-paused .lede.intro-note > strong::after,
.motion-paused .lede.intro-note > p,
.motion-paused .lede.intro-note .intro-tags li,
.motion-paused .compare .win-col,
.motion-paused .compare .win-col::after,
.motion-paused .compare li::before,
.motion-paused #jv .jv-ul,
.motion-paused #jv .jv-actions .arr,
.motion-paused .hire-ranges article,
.motion-paused .hero-sources::after { animation: none !important; }
.motion-paused .lede.intro-note > strong::after,
.motion-paused .hero-sources::after { transform: scaleX(1); }
.motion-paused .lede.intro-note > p { opacity: 1; }
.motion-paused .lede.intro-note .intro-tags li { border-color: currentColor; box-shadow: none; }
.motion-paused .compare .win-col::after { opacity: 0; }
.motion-paused .compare .win-col li::before { transform: rotate(-45deg) scale(.86); }
.motion-paused #jv .jv-actions .arr { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee-glow { display: none; }
  .marquee-track span { transform: none; }
  .marquee-track i { transform: rotate(45deg); }
  .lede.intro-note > strong::after,
  .lede.intro-note > p,
  .lede.intro-note .intro-tags li,
  .compare .win-col,
  .compare .win-col::after,
  .compare li::before,
  #jv .jv-ul,
  #jv .jv-actions .arr,
  .hire-ranges article,
  .hero-sources::after,
  .hire-flow,
  .team-motion,
  .team-motion * { animation: none !important; }
  .team-motion .dash { stroke-dashoffset: 0; transition: none; }
  .cost-ladder .track i { transform: none; transition: none; }
  .pmp-track .g-bar, .pmp-track .g-mile, .cert-rail li { transform: none; opacity: 1; transition: none; }
  .lede.intro-note > strong::after,
  .hero-sources::after { transform: scaleX(1); }
  .lede.intro-note > p { opacity: 1; }
  .lede.intro-note .intro-tags li { border-color: currentColor; box-shadow: none; }
  .compare .win-col::after { content: none; }
  .compare .win-col li::before { transform: rotate(-45deg) scale(.86); }
  #jv .jv-actions .arr { transform: none; }
}

/* Hero: a quiet glow and a line under the task cards. The yellow plan keeps planFloat. */
.hero-photo-wrap {
  box-shadow:
    0 0 0 1px rgba(255, 241, 0, .45),
    0 0 70px 8px rgba(255, 241, 0, .16),
    0 28px 64px -34px rgba(255, 241, 0, .72);
}
.hero-sources { position: relative; }
.hero-sources > .hero-task {
  box-shadow: inset 0 1px 0 rgba(255, 241, 0, .4), 0 14px 28px -22px rgba(0, 0, 0, .85);
}
.hero-sources::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FFF100 18%, #FFF100 82%, transparent);
  transform: scaleX(1);
  transform-origin: left center;
  pointer-events: none;
}
.hero.is-visible .hero-sources::after { animation: introRule .9s .12s cubic-bezier(.2, .8, .3, 1) both; }

/* Hire diagram: three steps, then the two public ranges. */
.hire-viz { max-width: 1320px; margin: 0 auto 22px; }
.hire-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1.15fr);
  gap: 10px;
  align-items: stretch;
}
.hire-flow article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 241, 0, .28);
  background: rgba(255, 255, 255, .04);
}
.hire-flow svg { width: 56px; height: 56px; }
.hire-flow .hire-link { width: 64px; height: 24px; align-self: center; }
.hire-flow b { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.35; color: var(--on-dark); }
.hire-flow small { color: var(--on-dark-muted); font-size: 13px; line-height: 1.65; }
.hire-flow .hire-end { background: var(--yellow); border-color: var(--yellow); color: #0A0A0A; }
.hire-flow .hire-end b { color: #0A0A0A; }
.hire-flow .hire-end small { color: #3A3300; }
.hire-viz.is-visible ~ .hire-ranges article { animation: hireIn .8s ease both; }
.hire-viz.is-visible ~ .hire-ranges article:nth-child(2) { animation-delay: .16s; }
@keyframes hireIn {
  from { border-color: rgba(255, 241, 0, .12); }
  to { border-color: rgba(255, 241, 0, .72); }
}
@media (max-width: 900px) {
  .hire-flow { grid-template-columns: 1fr; }
  .hire-flow .hire-link { transform: rotate(90deg); justify-self: center; margin: 22px 0; }
}

/* A little more contact motion, still inside the existing kill switch. */
.contact-copy.is-visible .contact-details > * { animation: contactEnter .7s cubic-bezier(.2, .8, .3, 1) both; }
.contact-copy.is-visible .contact-details > :nth-child(1) { animation-delay: .24s; }
.contact-copy.is-visible .contact-details > :nth-child(2) { animation-delay: .34s; }
.contact-copy.is-visible .contact-details > :nth-child(3) { animation-delay: .44s; }
.contact-photo { position: relative; }
.contact-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(1);
  transform-origin: left center;
  pointer-events: none;
}
.contact-copy.is-visible .contact-photo::after { animation: contactUnderline .8s .28s cubic-bezier(.2, .8, .3, 1) both; }
#contact-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--yellow);
  transform: scaleY(1);
  transform-origin: top center;
  pointer-events: none;
}
#contact-form.is-visible::before { animation: contactSpine .7s .08s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes contactSpine {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Team credentials. Marks are drawn wordmarks, not official partner logos. */
.team-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); gap: 36px; align-items: center; }
.pmp-card { margin: 0; }
.pmp-card svg { display: block; width: min(100%, 320px); height: auto; }
.uni-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* The three captions sit exactly under the three panels of the track above. */
.pmp-steps { display: grid; grid-template-columns: 278fr 42fr 278fr 42fr 278fr; margin-top: -4px; }
.pmp-steps article:nth-child(1) { grid-column: 1; }
.pmp-steps article:nth-child(2) { grid-column: 3; }
.pmp-steps article:nth-child(3) { grid-column: 5; }
.uni-card, .pmp-steps article, .cert-board article {
  border-radius: 18px;
  padding: 22px 18px;
}
.uni-card { display: flex; flex-direction: column; align-items: center; background: #161613; border: 1px solid rgba(255, 241, 0, .28); text-align: center; }
.uni-card span { display: block; margin-top: 6px; color: var(--on-dark-muted); font-size: 13px; line-height: 1.6; }
.pmp-steps article { padding: 0; background: none; border: 0; }

.pmp-steps b { display: block; margin: 14px 0 8px; font-size: 17px; }
.pmp-steps p { margin: 0; max-width: 24em; color: #56564F; font-size: 14px; line-height: 1.7; }
/* Legend first: the three levels every certificate below is tagged with. */
.cert-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.cert-board b { overflow-wrap: anywhere; }
.cert-board article { background: #fff; border: 1px solid rgba(10, 10, 10, .08); }
.cert-board h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 20px; }
.cert-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: #0A0A0A; }
.cert-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cert-board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cert-board li { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(10, 10, 10, .08); }
.cert-board b { font-size: 14px; line-height: 1.45; }
.cert-board li .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cert-board .tag { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.cert-board .tag.lv { background: rgba(10, 10, 10, .07); color: #3A3A34; }
.cert-board .tag.topic { border: 1.2px solid rgba(10, 10, 10, .22); color: #3A3A34; }
.cert-board .tag.ai { border-color: var(--yellow-deep); background: rgba(255, 241, 0, .22); }
.team-note { max-width: 68ch; margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: var(--fg-muted, #56564F); }
.band-dark .team-note { color: var(--on-dark-muted); }
/* Draw-on for every hand-drawn mark on the team page, staggered with --d. */
.team-motion .dash { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .95s cubic-bezier(.4, 0, .2, 1) var(--d, 0s); }
.team-motion.is-visible .dash { stroke-dashoffset: 0; }
.motion-paused .team-motion .dash { stroke-dashoffset: 0; transition: none; }

/* A real plan artifact: four tasks across six weeks, a today line, a sign-off. */
.pmp-track { margin: 6px 0 22px; padding: 26px 28px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(10, 10, 10, .1); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .5); }
.pmp-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.pmp-track text { fill: #0A0A0A; }
.pmp-track .g-cap { font: 500 12px/1 var(--mono); letter-spacing: .14em; fill: #6B5500; }
.pmp-track .g-wk { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; fill: #9A9A92; text-anchor: middle; }
.pmp-track .g-task { font: 700 15px/1 var(--sans); }
.pmp-track .g-grid { stroke: rgba(10, 10, 10, .07); stroke-width: 1; }
.pmp-track .g-rule { stroke: rgba(10, 10, 10, .07); stroke-width: 1; }
.pmp-track .g-bar { fill: rgba(10, 10, 10, .1); transform-box: fill-box; transform-origin: left center; transform: scaleX(.03); opacity: 0; transition: transform .85s cubic-bezier(.3, .8, .3, 1) var(--d, 0s), opacity .3s linear var(--d, 0s); }
.pmp-track .g-bar.g-done { fill: rgba(10, 10, 10, .32); }
.pmp-track .g-bar.g-now { fill: var(--yellow); }
.team-motion.is-visible .pmp-track .g-bar { transform: none; opacity: 1; }
.pmp-track .g-link { fill: none; stroke: rgba(10, 10, 10, .34); stroke-width: 1.6; stroke-dasharray: 1; }
.pmp-track .g-today { fill: none; stroke: var(--yellow-deep); stroke-width: 2; }
.pmp-track .g-flag { fill: var(--yellow-deep); }
.pmp-track .g-flag-cap { font: 700 11px/1 var(--sans); fill: #0A0A0A; }
.pmp-track .g-mile { fill: #0A0A0A; transform-box: fill-box; transform-origin: center; transform: scale(.3) rotate(-45deg); opacity: 0; transition: transform .55s cubic-bezier(.3, 1.4, .5, 1) .8s, opacity .35s linear .8s; }
.team-motion.is-visible .pmp-track .g-mile { transform: none; opacity: 1; }
.pmp-track .g-signoff { fill: var(--yellow); }
.pmp-track .g-tick { fill: none; stroke: #0A0A0A; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pmp-track .g-signoff-cap { font: 700 14px/1 var(--sans); }
.motion-paused .pmp-track .g-bar, .motion-paused .pmp-track .g-mile { transform: none; opacity: 1; transition: none; }

/* University cards: a drawn campus scene, then the name, then the detail. */
.uni-grid { gap: 18px; }
.uni-card { padding: 0; overflow: hidden; text-align: left; align-items: stretch; display: grid; grid-template-rows: auto auto 1fr auto; background: #0D0D0B; }
.uni-scene { display: block; width: 100%; height: auto; background: transparent; }
.uni-scene .sc-glow { fill: url(#uniGlow); }
.uni-scene .sc-ink { fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.uni-scene .sc-base { fill: none; stroke: rgba(255, 241, 0, .45); stroke-width: 2; }
.uni-scene .sc-wave { fill: none; stroke: rgba(255, 241, 0, .45); stroke-width: 1.8; stroke-linecap: round; }
.uni-plate { position: relative; padding: 20px 24px 18px; background: transparent; display: grid; align-content: start; }
.uni-plate::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(255, 241, 0, .1));
}
.uni-short { display: block; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(30px, 3vw, 40px); font-weight: 900; letter-spacing: -.045em; line-height: 1; color: var(--yellow); transition: color .35s ease; }
.uni-en { display: block; margin-top: 10px; min-height: 3.2em; font: 500 10px/1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #6E6E66; }
.uni-full { display: block; padding: 18px 24px 0; font-size: 16px; }
.uni-card .uni-role { display: block; padding: 5px 24px 20px; color: var(--on-dark-muted); font-size: 12.5px; }
.uni-card { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.uni-card:hover { transform: translateY(-4px); border-color: rgba(255, 241, 0, .55); box-shadow: var(--glow-sm); }
.uni-card:hover .uni-short { color: #fff; }

/* Three levels as one climb. Shared baseline, one connecting rule, so it
   reads as a scale rather than three cards dropped next to each other. */
.cert-rail { position: relative; margin: 0 0 22px; padding-bottom: 2px; }
.cert-rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: #0A0A0A; }
.cert-rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: end; min-height: 268px; }
.cert-rail li {
  position: relative;
  height: var(--h);
  padding: 20px 22px 18px;
  border-radius: 18px 18px 0 0;
  background: #121210;
  display: grid;
  align-content: start;
  transform-origin: bottom center;
  transform: scaleY(.08);
  transition: transform .8s cubic-bezier(.3, .8, .3, 1) var(--d, 0s);
}
.cert-rail li:nth-child(2) { --d: .12s; }
.cert-rail li:nth-child(3) { --d: .24s; }
.team-motion.is-visible .cert-rail li { transform: none; }
.motion-paused .cert-rail li { transform: none; transition: none; }
.cert-rail li.peak { background: var(--yellow); }
.cert-rail .rail-meter { display: flex; gap: 5px; margin-bottom: 16px; }
.cert-rail .rail-meter i { width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 241, 0, .18); }
.cert-rail .rail-meter i.on { background: var(--yellow); }
.cert-rail li.peak .rail-meter i { background: rgba(10, 10, 10, .18); }
.cert-rail li.peak .rail-meter i.on { background: #0A0A0A; }
.cert-rail .rail-step { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: #78786F; }
.cert-rail li.peak .rail-step { color: #6B5500; }
.cert-rail b { margin: 10px 0 8px; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(17px, 1.6vw, 22px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--yellow); }
.cert-rail li.peak b { color: #0A0A0A; }
.cert-rail .rail-note { max-width: 22em; font-size: 13px; line-height: 1.7; color: var(--on-dark-muted); }
.cert-rail li.peak .rail-note { color: rgba(10, 10, 10, .72); }

.cert-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.cert-board b { overflow-wrap: anywhere; }
.cert-board article { background: #fff; border: 1px solid rgba(10, 10, 10, .08); }
.cert-board h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 20px; }
.cert-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: #0A0A0A; }
.cert-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cert-board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cert-board li { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(10, 10, 10, .08); }
.cert-board b { font-size: 14px; line-height: 1.45; }
.cert-board li .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cert-board .tag { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.cert-board .tag.lv { background: rgba(10, 10, 10, .07); color: #3A3A34; }
.cert-board .tag.topic { border: 1.2px solid rgba(10, 10, 10, .22); color: #3A3A34; }
.cert-board .tag.ai { border-color: var(--yellow-deep); background: rgba(255, 241, 0, .22); }
.team-note { max-width: 68ch; margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: var(--fg-muted, #56564F); }
.band-dark .team-note { color: var(--on-dark-muted); }
/* Draw-on for every hand-drawn mark on the team page, staggered with --d. */
.team-motion .dash { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .95s cubic-bezier(.4, 0, .2, 1) var(--d, 0s); }
.team-motion.is-visible .dash { stroke-dashoffset: 0; }
.motion-paused .team-motion .dash { stroke-dashoffset: 0; transition: none; }

/* A real plan artifact: four tasks across six weeks, a today line, a sign-off. */
.pmp-track { margin: 6px 0 22px; padding: 26px 28px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(10, 10, 10, .1); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .5); }
.pmp-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.pmp-track text { fill: #0A0A0A; }
.pmp-track .g-cap { font: 500 12px/1 var(--mono); letter-spacing: .14em; fill: #6B5500; }
.pmp-track .g-wk { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; fill: #9A9A92; text-anchor: middle; }
.pmp-track .g-task { font: 700 15px/1 var(--sans); }
.pmp-track .g-grid { stroke: rgba(10, 10, 10, .07); stroke-width: 1; }
.pmp-track .g-rule { stroke: rgba(10, 10, 10, .07); stroke-width: 1; }
.pmp-track .g-bar { fill: rgba(10, 10, 10, .1); transform-box: fill-box; transform-origin: left center; transform: scaleX(.03); opacity: 0; transition: transform .85s cubic-bezier(.3, .8, .3, 1) var(--d, 0s), opacity .3s linear var(--d, 0s); }
.pmp-track .g-bar.g-done { fill: rgba(10, 10, 10, .32); }
.pmp-track .g-bar.g-now { fill: var(--yellow); }
.team-motion.is-visible .pmp-track .g-bar { transform: none; opacity: 1; }
.pmp-track .g-link { fill: none; stroke: rgba(10, 10, 10, .34); stroke-width: 1.6; stroke-dasharray: 1; }
.pmp-track .g-today { fill: none; stroke: var(--yellow-deep); stroke-width: 2; }
.pmp-track .g-flag { fill: var(--yellow-deep); }
.pmp-track .g-flag-cap { font: 700 11px/1 var(--sans); fill: #0A0A0A; }
.pmp-track .g-mile { fill: #0A0A0A; transform-box: fill-box; transform-origin: center; transform: scale(.3) rotate(-45deg); opacity: 0; transition: transform .55s cubic-bezier(.3, 1.4, .5, 1) .8s, opacity .35s linear .8s; }
.team-motion.is-visible .pmp-track .g-mile { transform: none; opacity: 1; }
.pmp-track .g-signoff { fill: var(--yellow); }
.pmp-track .g-tick { fill: none; stroke: #0A0A0A; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pmp-track .g-signoff-cap { font: 700 14px/1 var(--sans); }
.motion-paused .pmp-track .g-bar, .motion-paused .pmp-track .g-mile { transform: none; opacity: 1; transition: none; }

/* University plates: a name block over a detail block, one rule between. */
.uni-grid { gap: 18px; }
.uni-card { padding: 0; overflow: hidden; text-align: left; align-items: stretch; display: grid; grid-template-rows: 1fr auto; }
.uni-plate { position: relative; padding: 26px 26px 24px; background: #0A0A0A; display: grid; align-content: start; }
.uni-plate::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(255, 241, 0, .15));
}
.uni-ace { display: block; width: 15px; height: 15px; margin-bottom: 18px; fill: var(--yellow); opacity: .9; }
.uni-short { display: block; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(34px, 3.4vw, 46px); font-weight: 900; letter-spacing: -.045em; line-height: 1; color: var(--yellow); transition: color .35s ease; }
.uni-en { display: block; margin-top: 14px; min-height: 3.2em; font: 500 10px/1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #6E6E66; }
.uni-full { display: block; padding: 20px 26px 0; font-size: 16px; }
.uni-card .uni-role { display: block; padding: 5px 26px 22px; color: var(--on-dark-muted); font-size: 12.5px; }
.uni-card { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.uni-card:hover { transform: translateY(-4px); border-color: rgba(255, 241, 0, .55); box-shadow: var(--glow-sm); }
.uni-card:hover .uni-short { color: #fff; }

/* Three levels as one stepped rail, not three more cards. */
.cert-rail { margin: 0 0 18px; }
.cert-rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-items: end; min-height: 248px; }
.cert-rail li { position: relative; height: var(--h); padding: 18px 20px 16px; border-radius: 16px 16px 0 0; background: #121210; display: grid; align-content: start; transform-origin: bottom center; transform: scaleY(.08); transition: transform .8s cubic-bezier(.3, .8, .3, 1) var(--d, 0s); }
.cert-rail li:nth-child(2) { --d: .12s; }
.cert-rail li:nth-child(3) { --d: .24s; }
.team-motion.is-visible .cert-rail li { transform: none; }
.motion-paused .cert-rail li { transform: none; transition: none; }
.cert-rail li > * { transition: opacity .4s linear calc(var(--d, 0s) + .3s); }
.cert-rail li.peak { background: var(--yellow); }
.cert-rail .rail-meter { display: flex; gap: 5px; margin-bottom: 16px; }
.cert-rail .rail-meter i { width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 241, 0, .18); }
.cert-rail .rail-meter i.on { background: var(--yellow); }
.cert-rail li.peak .rail-meter i { background: rgba(10, 10, 10, .18); }
.cert-rail li.peak .rail-meter i.on { background: #0A0A0A; }
.cert-rail .rail-step { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: #78786F; }
.cert-rail li.peak .rail-step { color: #6B5500; }
.cert-rail b { margin: 10px 0 6px; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.02em; color: var(--yellow); }
.cert-rail li.peak b { color: #0A0A0A; }
.cert-rail .rail-note { font-size: 13px; line-height: 1.65; color: var(--on-dark-muted); }
.cert-rail li.peak .rail-note { color: rgba(10, 10, 10, .72); }

.cert-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.cert-board b { overflow-wrap: anywhere; }
.cert-board article { background: #fff; border: 1px solid rgba(10, 10, 10, .08); }
.cert-board h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 20px; }
.cert-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: #0A0A0A; }
.cert-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cert-board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cert-board li { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(10, 10, 10, .08); }
.cert-board b { font-size: 14px; line-height: 1.45; }
.cert-board li .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cert-board .tag { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.cert-board .tag.lv { background: rgba(10, 10, 10, .07); color: #3A3A34; }
.cert-board .tag.topic { border: 1.2px solid rgba(10, 10, 10, .22); color: #3A3A34; }
.cert-board .tag.ai { border-color: var(--yellow-deep); background: rgba(255, 241, 0, .22); }
.team-note { max-width: 68ch; margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: var(--fg-muted, #56564F); }
.band-dark .team-note { color: var(--on-dark-muted); }
/* Draw-on for every hand-drawn mark on the team page, staggered with --d. */
.team-motion .dash { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .95s cubic-bezier(.4, 0, .2, 1) var(--d, 0s); }
.team-motion.is-visible .dash { stroke-dashoffset: 0; }
.motion-paused .team-motion .dash { stroke-dashoffset: 0; transition: none; }

/* A real plan artifact: four tasks across six weeks, a today line, a sign-off. */
.pmp-track { margin: 6px 0 22px; padding: 26px 28px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(10, 10, 10, .1); box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .5); }
.pmp-track svg { display: block; width: 100%; height: auto; overflow: visible; }
.pmp-track text { fill: #0A0A0A; }
.pmp-track .g-cap { font: 500 12px/1 var(--mono); letter-spacing: .14em; fill: #6B5500; }
.pmp-track .g-wk { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; fill: #9A9A92; text-anchor: middle; }
.pmp-track .g-task { font: 700 15px/1 var(--sans); }
.pmp-track .g-grid { stroke: rgba(10, 10, 10, .07); stroke-width: 1; }
.pmp-track .g-rule { stroke: rgba(10, 10, 10, .07); stroke-width: 1; }
.pmp-track .g-bar { fill: rgba(10, 10, 10, .1); transform-box: fill-box; transform-origin: left center; transform: scaleX(.03); opacity: 0; transition: transform .85s cubic-bezier(.3, .8, .3, 1) var(--d, 0s), opacity .3s linear var(--d, 0s); }
.pmp-track .g-bar.g-done { fill: rgba(10, 10, 10, .32); }
.pmp-track .g-bar.g-now { fill: var(--yellow); }
.team-motion.is-visible .pmp-track .g-bar { transform: none; opacity: 1; }
.pmp-track .g-link { fill: none; stroke: rgba(10, 10, 10, .34); stroke-width: 1.6; stroke-dasharray: 1; }
.pmp-track .g-today { fill: none; stroke: var(--yellow-deep); stroke-width: 2; }
.pmp-track .g-flag { fill: var(--yellow-deep); }
.pmp-track .g-flag-cap { font: 700 11px/1 var(--sans); fill: #0A0A0A; }
.pmp-track .g-mile { fill: #0A0A0A; transform-box: fill-box; transform-origin: center; transform: scale(.3) rotate(-45deg); opacity: 0; transition: transform .55s cubic-bezier(.3, 1.4, .5, 1) .8s, opacity .35s linear .8s; }
.team-motion.is-visible .pmp-track .g-mile { transform: none; opacity: 1; }
.pmp-track .g-signoff { fill: var(--yellow); }
.pmp-track .g-tick { fill: none; stroke: #0A0A0A; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pmp-track .g-signoff-cap { font: 700 14px/1 var(--sans); }
.motion-paused .pmp-track .g-bar, .motion-paused .pmp-track .g-mile { transform: none; opacity: 1; transition: none; }

/* University plates: set the name, skip the clip art. */
.uni-card { padding: 0; overflow: hidden; text-align: left; align-items: stretch; }
.uni-plate { min-height: 196px; align-content: start; display: grid; padding: 26px 24px 22px; background: #0A0A0A; border-bottom: 2px solid var(--yellow); }
.uni-ace { display: block; width: 18px; height: 18px; margin-bottom: 16px; fill: var(--yellow); }
.uni-short { display: block; font-family: Outfit, "Noto Sans TC", sans-serif; font-size: clamp(40px, 4.4vw, 58px); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--yellow); }
.uni-en { display: block; margin-top: 12px; font: 500 10.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #78786F; }
.uni-full { display: block; padding: 20px 24px 0; font-size: 17px; }
.uni-card .uni-role { display: block; padding: 6px 24px 22px; color: var(--on-dark-muted); font-size: 13px; }
.uni-card { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.uni-card:hover { transform: translateY(-4px); border-color: rgba(255, 241, 0, .6); box-shadow: var(--glow-sm); }
.uni-card:hover .uni-short { color: #fff; }
.uni-short { transition: color .35s ease; }

/* Certificate tiers: one rosette, pips mark the step. */
@media (max-width: 800px) {
  .team-hero, .uni-grid, .cert-board { grid-template-columns: 1fr; }
  .cert-rail ol { grid-template-columns: 1fr; min-height: 0; }
  .cert-rail li { height: auto; border-radius: 16px; }
  .pmp-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 18px; }
  .pmp-steps article:nth-child(1), .pmp-steps article:nth-child(2), .pmp-steps article:nth-child(3) { grid-column: 1; }
  .pmp-track svg { min-width: 0; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .header nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
  .header nav .cta-pill { padding: 9px 14px; }
}

/* Simple project check. Right column, above the WhatsApp form. No score, no send. */
.contact-side { display: grid; gap: 18px; min-width: 0; align-content: start; }
.ai-review { margin: 0; scroll-margin-top: 28px; padding: 22px 22px 18px; min-width: 0; }
#contact-form { scroll-margin-top: 28px; }
.ai-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-count { margin: 0; color: var(--yellow); font: 11px/1.4 "IBM Plex Mono", "Noto Sans TC", monospace; letter-spacing: .08em; }
.ai-bar { height: 6px; margin-top: 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ai-bar i { display: block; height: 100%; background: var(--yellow); border-radius: inherit; }
.ai-review h3 { margin: 16px 0 8px; color: #fff; font-size: 26px; }
.ai-lede, .ai-disclaimer { margin: 0; color: var(--on-dark-muted); font-size: 14px; line-height: 1.7; }
.ai-step { display: none; }
.ai-step.is-active { display: block; }
.ai-step h4 { margin: 18px 0 12px; color: #fff; font-size: 18px; }
.ai-choices { display: grid; gap: 8px; }
.rv .ai-choices { counter-reset: rv-choice; gap: 10px; }
.rv .ai-choice {
  counter-increment: rv-choice;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 42px 15px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #1A1A17;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: inset 3px 0 0 transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rv .ai-choice::before {
  content: counter(rv-choice, decimal-leading-zero);
  flex: none;
  color: var(--yellow);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .04em;
}
.rv .ai-choice::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 2px solid rgba(255, 255, 255, .28);
  border-top: 2px solid rgba(255, 255, 255, .28);
  transform: rotate(45deg);
  transition: border-color .2s ease;
}
.rv .ai-choice:hover {
  border-color: rgba(255, 255, 255, .16);
  background: #242420;
  box-shadow: inset 3px 0 0 var(--yellow);
}
.rv .ai-choice:hover::after { border-color: var(--yellow); }
.rv .ai-choice:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.motion-paused .rv .ai-choice { transition: none; }
@media (prefers-reduced-motion: reduce) { .rv .ai-choice { transition: none; } }
.ai-choice {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: #242420;
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.45;
  cursor: pointer;
}
.ai-choice:hover { border-color: rgba(255, 241, 0, .45); background: #2c2c26; }
.ai-choice[aria-pressed="true"] { border-color: var(--yellow); background: #2c2c26; }
.ai-back, .ai-again {
  margin-top: 12px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--on-dark-muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.ai-back:hover, .ai-again:hover { color: var(--yellow); }
.ai-back[hidden], .ai-step[hidden], .ai-result[hidden] { display: none; }
.ai-kicker { margin: 16px 0 0; color: var(--yellow); font: 11px/1.4 "IBM Plex Mono", "Noto Sans TC", monospace; letter-spacing: .08em; }
.ai-result dl { display: grid; gap: 12px; margin: 12px 0 0; }
.ai-result dt { color: var(--yellow); font: 11px/1.4 "IBM Plex Mono", "Noto Sans TC", monospace; letter-spacing: .08em; }
.ai-result dd { margin: 4px 0 0; color: #fff; font-size: 15px; line-height: 1.65; }
.ai-disclaimer { margin-top: 14px; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.ai-actions .button { padding: 14px 18px; font-size: 14px; }
.ai-actions .ai-again { margin-top: 0; }
.ai-step:focus, .ai-step:focus-visible, .ai-result:focus, .ai-result:focus-visible { outline: none; }
.ai-choice:focus-visible, .ai-back:focus-visible, .ai-again:focus-visible, .ai-actions .button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 760px) {
  .ai-review { padding: 18px 16px 14px; }
  .ai-review h3 { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   Header — the links sit in one glass rail, the CTA stays the only yellow.
   -------------------------------------------------------------------------- */
.header nav { gap: 4px; padding: 5px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.header nav > a:not(.cta-pill) {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  color: var(--on-dark-muted);
  white-space: nowrap;
  transition: color .25s ease, background .25s ease;
}
.header nav > a:not(.cta-pill)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .25s ease, transform .25s ease;
}
.header nav > a:not(.cta-pill):hover { color: #fff; background: rgba(255, 255, 255, .07); }
.header nav > a:not(.cta-pill):hover::after { opacity: .8; transform: none; }
.header nav > a[aria-current="page"] { color: var(--yellow); background: rgba(255, 241, 0, .1); }
.header nav > a[aria-current="page"]::after { opacity: 1; transform: none; }
.header nav .cta-pill { margin-left: 6px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; }
.header nav .cta-pill .arr { display: inline-block; transition: transform .25s ease; }
.header nav .cta-pill:hover .arr { transform: translate(3px, -3px); }
.motion-paused .header nav .cta-pill:hover .arr { transform: none; }
@media (max-width: 1180px) and (min-width: 761px) {
  .header nav { gap: 2px; padding: 4px; }
  .header nav > a:not(.cta-pill) { padding: 8px 11px; }
}
@media (max-width: 760px) {
  .header nav { gap: 2px; padding: 4px; flex-wrap: wrap; justify-content: center; }
  .header nav > a:not(.cta-pill) { padding: 7px 10px; font-size: 13px; }
  .header nav > a:not(.cta-pill)::after { content: none; }
  .header nav .cta-pill { margin-left: 2px; }
}

/* --------------------------------------------------------------------------
   Three hero groups, three visual languages — they were all the same card.
   A. the repetitive work = torn-off slips   B. the handover = one rail
   C. the industries = tabs, not cards
   -------------------------------------------------------------------------- */

/* A — slips. A yellow edge where the work piles up, no box around it. */
.hero-sources > .hero-task {
  border: 0;
  border-left: 3px solid var(--yellow);
  border-radius: 3px 12px 12px 3px;
  background: linear-gradient(100deg, rgba(255, 241, 0, .12), rgba(255, 255, 255, .035) 46%);
  box-shadow: 0 14px 28px -22px rgba(0, 0, 0, .9);
}
.hero-sources > .hero-task > span { font-weight: 700; color: #fff; }
.hero-task svg { stroke-width: 1.7; }

/* B — one rail. Dashed joints and a signal that travels left to right. */
@keyframes handoffPass {
  0%, 62%, 100% { background: transparent; translate: 0 0; }
  12%, 30% { background: rgba(255, 241, 0, .1); translate: 0 -4px; }
}
.hero .hero-handoff {
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
}
.hero .hero-handoff li {
  border: 0;
  border-right: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 0;
  background: none;
  position: relative;
}
.hero .hero-handoff li:last-child { border-right: 0; background: rgba(255, 241, 0, .06); }
.hero .hero-handoff li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-right: 1.6px solid var(--yellow);
  border-top: 1.6px solid var(--yellow);
  transform: rotate(45deg);
}
.hero .hero-handoff .handoff-number {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 241, 0, .14);
  font-size: 10px;
  letter-spacing: .04em;
}
.hero.is-visible .hero-handoff li { animation-name: handoffPass; }

/* C — tabs. One rule under each, nothing boxed. */
@keyframes sectorTab { 0%, 72%, 100% { border-bottom-color: rgba(255, 241, 0, .28); } 18%, 40% { border-bottom-color: #FFF100; } }
.hero .hero-sectors a {
  padding: 18px 4px 16px;
  border: 0;
  border-bottom: 2px solid rgba(255, 241, 0, .28);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.hero .hero-sectors a::before { left: 0; right: 0; bottom: -2px; height: 2px; }
.hero .hero-sectors a > svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 11px;
  background: rgba(255, 241, 0, .12);
}
.hero.is-visible .hero-sectors a { animation-name: sectorTab; }
.hero.is-visible .hero-sectors a:hover,
.hero.is-visible .hero-sectors a:focus-visible { transform: translateY(-4px); background: none; box-shadow: none; border-bottom-color: var(--yellow); }
.hero .hero-sectors a:hover > svg, .hero .hero-sectors a:focus-visible > svg { background: var(--yellow); color: #0A0A0A; }
@media (prefers-reduced-motion: reduce) {
  .hero.is-visible .hero-handoff li, .hero.is-visible .hero-sectors a { animation: none !important; }
}
@media (max-width: 760px) {
  /* The plan keeps its proportions on a phone, so scale its type in user units. */
  .pmp-track { padding: 18px 16px 16px; }
  .pmp-track .g-cap { font-size: 19px; }
  .pmp-track .g-wk { font-size: 18px; }
  .pmp-track .g-task { font-size: 25px; }
  .pmp-track .g-flag-cap { font-size: 17px; }
  .pmp-track .g-signoff-cap { font-size: 23px; }
  .pmp-track .g-signoff { width: 420px; }
}

/* --------------------------------------------------------------------------
   Cursor — a crisp dot that is the pointer, a soft halo just behind it, and a
   slow light. Mouse pointers only; never built on touch or reduced motion.
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.cursor-glow, .cursor-halo, .cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor-glow {
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  background: radial-gradient(circle, rgba(255, 241, 0, .1), rgba(255, 241, 0, .035) 44%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity .4s ease;
}
.cursor-halo {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  background: rgba(255, 241, 0, .13);
  transition: width .25s cubic-bezier(.2, .8, .3, 1), height .25s cubic-bezier(.2, .8, .3, 1),
              margin .25s cubic-bezier(.2, .8, .3, 1), background .25s ease, box-shadow .25s ease;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--yellow);
  transition: width .2s ease, height .2s ease, margin .2s ease, background .25s ease;
}
html.has-cursor .cursor { opacity: 1; }
/* Our dot is the pointer now. Text fields keep the native caret so typing
   still reads correctly, and nothing is hidden before the JS has run. */
html.has-cursor,
html.has-cursor body,
html.has-cursor a,
html.has-cursor button,
html.has-cursor summary,
html.has-cursor label,
html.has-cursor select,
html.has-cursor [role="button"] { cursor: none; }
html.has-cursor input,
html.has-cursor textarea,
html.has-cursor [contenteditable] { cursor: text; }

html.cursor-hot .cursor-halo {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(255, 241, 0, .1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 241, 0, .55);
}
html.cursor-hot .cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
html.cursor-press .cursor-halo { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: rgba(255, 241, 0, .3); }
html.cursor-press .cursor-dot { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
html.cursor-bright .cursor-glow { opacity: 0; }
html.cursor-bright .cursor-halo, html.cursor-bright .cursor-dot, html.cursor-bright .cursor-burst { transition-duration: .18s; }
html.cursor-bright .cursor-halo { background: rgba(10, 10, 10, .1); box-shadow: inset 0 0 0 1.5px rgba(10, 10, 10, .4); }
html.cursor-bright .cursor-dot { background: #0A0A0A; }

/* Click: one quiet ring out of the point of contact. */
.cursor-burst {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 1.5px solid var(--yellow);
  opacity: .8;
  pointer-events: none;
  animation: cursorBurst .5s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes cursorBurst {
  from { transform: scale(.5); opacity: .8; }
  to { transform: scale(3.6); opacity: 0; }
}
html.cursor-bright .cursor-burst { border-color: #0A0A0A; }
@media (prefers-reduced-motion: reduce) { .cursor { display: none; } }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* --------------------------------------------------------------------------
   The header floats over the first screen instead of taking a strip of its
   own, so the background light runs unbroken from the very top.
   -------------------------------------------------------------------------- */
:root { --header-h: 106px; }
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
}
.hero { min-height: 100svh; display: grid; align-content: center; padding-top: calc(var(--header-h) + clamp(8px, 2vh, 28px)); }
.role-hero { padding-top: calc(var(--header-h) + clamp(28px, 5vh, 64px)); }
/* The hero is a grid now, and `margin: 0 auto` makes a grid item shrink to
   fit, so the inner rail has to claim the full width itself. */
.hero .hero-inner { min-height: 0; width: 100%; }
/* JS measures the real height and overwrites this; these are the fallbacks
   for the first paint and for no-JS. */
@media (max-width: 1180px) and (min-width: 761px) { :root { --header-h: 152px; } }
@media (max-width: 760px) { :root { --header-h: 150px; } }
/* Tighten the first screen: less dead space above the fold and below the cards. */
.hero .hero-visual { margin: 10px 0 16px; }
.hero .hero-sectors { margin-top: 10px; }
.hero .hero-index { margin-top: 14px; }
.hero { padding-bottom: clamp(24px, 4vh, 56px); }

/* --------------------------------------------------------------------------
   Phones — the three hero groups, the footer, and every text link that was
   too small to hit with a thumb.
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  /* A. the slips stack, and their one-line note comes back */
  .hero-sources { flex-direction: column; gap: 8px; padding-inline: 0; }
  .hero-sources > .hero-task {
    width: 100%;
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 2px 12px;
    padding: 11px 14px;
    transform: none !important;
  }
  .hero-task svg { width: 22px; height: 22px; grid-row: span 2; }
  .hero-task > span { font-size: 15px; }
  .hero-task small { display: block; grid-column: 2; font-size: 11.5px; }

  /* B. the handover rail turns vertical: dashed joints and arrows point down */
  .hero .hero-handoff li { border-right: 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); }
  .hero .hero-handoff li:last-child { border-bottom: 0; }
  .hero .hero-handoff li:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -5px;
    margin: 0 0 0 -5px;
    transform: rotate(135deg);
  }

  /* C. logo and copyright stack; the page links stay on one row */
  footer {
    display: grid !important;
    justify-items: start;
    gap: 10px;
    text-align: left;
  }
  footer .tagline, footer small { font-size: 12px; line-height: 1.8; }
  footer .footer-links {
    width: 100%;
    justify-content: space-between;
    order: 0;
    margin: 0;
    gap: 8px 12px;
    font: 12px var(--mono);
    letter-spacing: .04em;
  }
  footer .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* D. thumb-sized text links everywhere */
@media (hover: none), (pointer: coarse) {
  footer .footer-links a,
  .faq-contact,
  .source-list a,
  .contact-lines a,
  #contact a:not(.button):not(.cta-pill) {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
  }
  footer .footer-links a { padding-inline: 2px; }
  .wordmark { padding-block: 6px; }
  .source-list li { align-items: center; }
  .source-list .src-ico { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   Phone menu — a hamburger, because seven links in a wrapped pill rail stopped
   being readable. Desktop keeps the rail and never sees the button.
   -------------------------------------------------------------------------- */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .header { position: absolute; align-items: center; gap: 12px; padding: 18px var(--gutter); }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--yellow);
    transition: transform .28s cubic-bezier(.2, .8, .3, 1), opacity .2s linear;
  }
  html.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  html.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  html.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header nav {
    position: absolute;
    width: auto;                     /* style.css sets width:100% at this width */
    top: calc(100% - 6px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: rgba(14, 14, 12, .97);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .3, 1);
  }
  html.nav-open .header nav { opacity: 1; transform: none; pointer-events: auto; }
  .header nav > a:not(.cta-pill) {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
    color: var(--on-dark);
    text-align: left;
  }
  .header nav .cta-pill { margin: 8px 0 2px; justify-content: center; padding: 14px 20px; }
  html:not(.nav-open) .header nav > a { visibility: hidden; }
}

/* Scrollers snap one card at a time. */
@media (max-width: 1180px) {
  .case-scroll { scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
  #process .route-strip { scroll-snap-type: x mandatory; scroll-padding-inline: 2px; }
  #process .process-cards { min-width: 0; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; }
  #process .process-cards li { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .case-scroll { grid-auto-columns: 100%; gap: 14px; scroll-padding-inline: 0; }
  #process .process-cards { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
}
@media (max-width: 460px) {
  #process .process-cards { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  #process .process-cards li { padding: 18px 14px; }
  .process-cards h3 { font-size: 15px; }
  .process-cards p { font-size: 12px; line-height: 1.8; }
}

/* The WhatsApp button centres on a phone. The project field stays a field,
   not a black hole, and the band under the form does not open a dead gap. */
.contact .approach-split { margin-bottom: 56px; }
@media (max-width: 760px) {
  .contact { padding-bottom: 32px; }
  .contact .approach-split { margin-bottom: 0; }
  #contact-form { padding: 20px 16px 16px; gap: 14px; }
  #contact-form input,
  #contact-form textarea {
    background: #242420;
    border-color: rgba(255, 255, 255, .32);
  }
  #contact-form textarea { height: 96px; min-height: 0; }
  #contact-form .button { width: 100%; justify-content: center; }
}

/* Phone blueprint: the caption owns the top band. Cards stay under it, and
   the four industry chips sit in one row above the scroll ruler. */
@media (max-width: 760px) {
  .blueprint { height: 100svh; min-height: 0; }
  .bp-node-card { overflow: hidden; }
  .blueprint-shell { z-index: 2; }
  .blueprint .bp-left { display: contents; }
  .blueprint .drawing-caption {
    position: absolute;
    top: 54px;
    left: var(--gutter);
    right: var(--gutter);
    z-index: 2;
  }
  .blueprint .drawing-caption h2 {
    font-size: clamp(24px, 7.2vw, 30px);
    line-height: 1.25;
    margin: 8px 0;
  }
  .blueprint .drawing-caption p {
    font-size: 14px;
    line-height: 1.55;
    max-width: none;
    text-wrap: pretty;
  }
  .blueprint .industry-tags {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 54px;
    width: auto;
    margin: 0;
    z-index: 3;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .blueprint .industry-tags span {
    justify-content: center;
    font-size: 9px;
    line-height: 1.3;
    padding: 8px 4px;
    text-align: center;
  }
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

/* --------------------------------------------------------------------------
   Free AI project review — entry card plus the dialog it opens.
   -------------------------------------------------------------------------- */
.rv-entry h3 { margin: 10px 0 10px; color: #fff; font-size: 26px; }
.rv-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.rv-points li { position: relative; padding-left: 24px; color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.7; }
.rv-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}
.rv-entry .ai-actions { margin-top: 22px; }

.rv {
  /* The dialog UA stylesheet sets inset:0. On Safari that stretches the box
     up to max-height, so a four-option question sits on a tall empty panel.
     Pin the box to the centre and let the height follow the content. */
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: min(540px, calc(100vw - 32px));
  height: auto;
  max-height: min(720px, calc(100svh - 56px));
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: #121210;
  color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgba(255, 241, 0, .2), 0 50px 90px -40px rgba(0, 0, 0, .95);
  overflow: hidden;
}
/* The custom cursor is moved into the dialog. Absolute, not fixed, so the
   dialog's translate does not throw it outside and clip it. */
.rv > .cursor { position: absolute; z-index: 6; }
.rv::backdrop { background: rgba(5, 5, 4, .78); backdrop-filter: blur(6px); }
.rv[open] { display: flex; flex-direction: column; }
.rv:focus, .rv:focus-visible,
.rv-step:focus, .rv-step:focus-visible,
.rv-head h3:focus, .rv-head h3:focus-visible { outline: none; }
.rv-close-form { position: absolute; top: 14px; right: 14px; margin: 0; z-index: 2; }
.rv-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: var(--on-dark);
  font-size: 15px;
  cursor: pointer;
}
.rv-close:hover { border-color: var(--yellow); color: var(--yellow); }
/* Right padding clears the close button, so the count and the bar stop short of it. */
.rv-head { padding: 20px 84px 18px 26px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.rv-head h3 { margin: 16px 0 0; color: #fff; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; }
.rv-head .ai-bar { margin-top: 28px; }
.rv-body { flex: 0 1 auto; min-height: 0; padding: 20px 26px 24px; overflow-y: auto; }
/* The head already shows the current question; the step heading stays for
   assistive tech only so it is not printed twice. */
.rv-body .rv-step > h4 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rv-body .rv-done > h4 { position: static; width: auto; height: auto; margin: 0 0 10px; padding: 0; overflow: visible; clip-path: none; white-space: normal; color: #fff; }
/* .button sets display:inline-flex, which outranks the [hidden] default. */
.rv [hidden] { display: none !important; }
.rv-fields { display: grid; gap: 6px; }
.rv-fields label { margin-top: 12px; font-size: 14px; color: var(--on-dark); }
.rv-fields label:first-child { margin-top: 0; }
.rv-opt { color: var(--on-dark-muted); font-size: 12.5px; }
.rv-fields input {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: #1A1A17;
  color: #fff;
  font: inherit;
  font-size: 15px;
}
.rv-fields input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-error { margin: 14px 0 0; color: var(--yellow); font-size: 14px; line-height: 1.7; }
.rv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 28px 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.rv-foot-end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.rv-foot .ai-back { margin-top: 0; }
.rv-foot .button { padding: 14px 20px; font-size: 14.5px; }
.rv-done h4 { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; }
@media (max-width: 560px) {
  .rv { width: calc(100vw - 20px); max-height: calc(100svh - 24px); border-radius: 20px; }
  .rv-close-form { top: 12px; right: 12px; }
  .rv-head { padding: 16px 68px 16px 18px; }
  .rv-body, .rv-foot { padding-inline: 18px; }
  .rv-foot { flex-direction: column-reverse; align-items: stretch; }
  .rv-foot-end { margin-left: 0; flex-direction: column; align-items: stretch; }
  .rv-foot .button, .rv-foot .rv-wa { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .rv::backdrop { backdrop-filter: none; } }
