/* Generated print assets carry the material character; live type stays accessible. */
#heroTitle.is-revealed { animation: none; }
#heroTitle.is-revealed .hero-title-highlight { animation: hero-block-jerk .24s steps(1,end) both; }
/* The whole-title shimmer sweep (title-shimmer, defined in styles.css) only fires once the tilt
   above has fully settled (main.js listens for its animationend before adding .is-shining) -
   .hero-title-highlight stays solid throughout (styles.css forces its own text color) and is
   excluded from the shine's own clipping context entirely (see .hero-title-rest in main.js/
   styles.css), so only the surrounding "하는 PM 한태희" text sweeps. */
#heroTitle.is-revealed.is-shining .hero-title-rest { animation: title-shimmer 1800ms ease-in-out 1 both; }
@keyframes hero-block-jerk {
  0%,18% { transform: rotate(0deg); }
  42% { transform: rotate(-5deg); }
  72%,100% { transform: rotate(-3.5deg); }
}
#heroTitle .hero-title-highlight { padding-left: .08em; padding-right: .16em; }

/* A typeset field of questions, read across rather than a heading beside a list. */
#intro { background: #faf8f2; padding-block: 40px; min-height: var(--scene-height); }
#intro .split-content-section { display: block; }
#intro .split-content-section__title { max-width: none; margin-bottom: 56px; }
#intro .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--layout-gap); counter-reset: question; padding-bottom: 32px; }
#intro .checklist li, #intro .checklist li.is-reading { position: relative; color: #26232b; letter-spacing: -.035em; padding: 0 0 0 32px; border: 0; max-width: 530px; transition: none; word-break: keep-all; }
#intro .checklist li:nth-child(even) { transform: translateY(28px); }
#intro .checklist li::before { counter-increment: question; content: counter(question,decimal-leading-zero); position: absolute; top: 5px; left: 0; width: auto; height: auto; background: none; border: 0; border-radius: 0; color: #7b6f87; font: 500 12px/1.4 ui-monospace,monospace; }
#intro .checklist li::after { display: none; }

/* Same print, same size, same registration: only the middle plate reverses. */
#capybara .capybara-sticky { background: #f0e9fa; transition: none; }
#capybara .capybara-portrait img { filter: none; mix-blend-mode: multiply; transform: none; transition: none; animation: none; }

/* Type pushes a folded poster fragment; the fragment is the project link. */
#dozer { display: flex; flex-direction: column; justify-content: space-between; min-height: var(--scene-height); padding-block: 32px; }
.dozer-event { position: relative; width: 100%; display: flex; align-items: center; min-height: 320px; flex: 1; }
.dozer-output { position: absolute; right: -3%; top: -3%; height: 106%; width: 34%; border: 0; border-radius: 0; background: url('./assets/generated/push-label.png') center/100% 100% no-repeat; color: #29242c; padding: clamp(60px,10vh,100px) 4% 32px 12%; text-align: left; font-family: inherit; font-weight: 800; letter-spacing: -.06em; cursor: pointer; }
.dozer-output:hover { background: url('./assets/generated/push-label.png') center/100% 100% no-repeat; color: #6f42c1; }
.dozer-output:focus-visible { outline: 3px solid #ffcd47; outline-offset: -10px; }
#dozer .dozer-bottomline { border: 0; padding-top: 16px; }
#dozer.has-arrived .dozer-output { animation: output-push .75s cubic-bezier(.4,0,.9,1) both; }
@keyframes type-drive { 0% { transform: translateX(-18%); } 75% { transform: translateX(1%); } 100% { transform: none; } }
@keyframes output-push { 0%,25% { transform: translateX(-50%); } 78% { transform: translateX(3%); } 100% { transform: none; } }

/* Remove decorative dividers; keep navigation, forms and document markings. */
/* FAQ 구분선은 장식이 아니라 행 구분이라 여기서 지우지 않는다. */
.kpi-grid article, .proof-card, #contact { border-top: 0; }
#kpi, .project-brief .project-outcome, .text-action { border-bottom: 0; }

/* Solid dark ground, no photographic sky - the six stars and the line between them carry the
   whole scene ("별처럼 이어진 경력", not a space photo). Same dark as the header's .is-on-dark
   tone so the sticky header reads as one continuous frame with the section beneath it. */
#career { position: relative; background: #10121d; color: #f7f3ff; height: var(--scene-height); min-height: var(--scene-height); padding-block: 32px; gap: 0; overflow: clip; }
#career > .section-copy { display: block; width: min(580px,80%); }
#careerTop .tds-top__title { color: #f7f3ff; max-width: none; }
.career-night { position: relative; z-index: 0; width: 100%; flex: 1; min-height: 320px; }
/* A small, deliberately limited field of background stars - texture, not a photo. Sizes/opacity
   vary so it doesn't read as uniform random dots. */
.career-night::before {
  content: '';
  position: absolute;
  inset: -12% -4%;
  background-image:
    radial-gradient(1.6px 1.6px at 6% 18%, rgba(247,243,255,.55), transparent 60%),
    radial-gradient(1.1px 1.1px at 14% 42%, rgba(247,243,255,.32), transparent 60%),
    radial-gradient(2px 2px at 23% 9%, rgba(247,243,255,.5), transparent 60%),
    radial-gradient(1.3px 1.3px at 31% 63%, rgba(247,243,255,.4), transparent 60%),
    radial-gradient(1.7px 1.7px at 42% 24%, rgba(247,243,255,.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 48% 78%, rgba(247,243,255,.3), transparent 60%),
    radial-gradient(1.9px 1.9px at 55% 45%, rgba(247,243,255,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 63% 15%, rgba(247,243,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 68% 58%, rgba(247,243,255,.4), transparent 60%),
    radial-gradient(2.1px 2.1px at 75% 84%, rgba(247,243,255,.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 82% 38%, rgba(247,243,255,.3), transparent 60%),
    radial-gradient(1.6px 1.6px at 89% 12%, rgba(247,243,255,.45), transparent 60%),
    radial-gradient(1.3px 1.3px at 92% 67%, rgba(247,243,255,.35), transparent 60%),
    radial-gradient(1.8px 1.8px at 12% 88%, rgba(247,243,255,.4), transparent 60%),
    radial-gradient(1.1px 1.1px at 37% 92%, rgba(247,243,255,.28), transparent 60%),
    radial-gradient(1.5px 1.5px at 60% 6%, rgba(247,243,255,.38), transparent 60%);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}
.career-constellation-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.career-constellation-lines polyline { fill: none; stroke: #cabdf0; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 7; opacity: 0; }
.career-constellation-lines.is-drawn polyline { transition: opacity 1.2s ease; opacity: .6; }
.career-experience { position: absolute; z-index: 1; left: var(--star-x); top: var(--star-y); width: 110px; }
.career-star { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 66px; gap: 8px; padding: 8px; font: 500 15px/1.4 inherit; font-family: inherit; color: #f4edff; background: transparent; border: 0; border-radius: 0; text-shadow: 0 1px 5px #000; }
.career-star::before { content: '✦'; font-size: var(--text-title-3); line-height: 1; color: #fff4cc; text-shadow: 0 0 9px #e7d3ff70; }
.career-star[aria-expanded="true"], .career-star:hover, .career-star:focus, .career-star:active { background: transparent; color: #ffcf65; transform: none; box-shadow: none; }
.career-star[aria-expanded="true"]::before { color: #ffcd47; }
.career-star:focus-visible { outline: 2px solid #ffcd47; outline-offset: 4px; }
.career-experience:nth-child(1) { --star-x: 4%; --star-y: 26%; }
.career-experience:nth-child(2) { --star-x: 37%; --star-y: 13%; }
.career-experience:nth-child(3) { --star-x: 77%; --star-y: 29%; }
.career-experience:nth-child(4) { --star-x: 21%; --star-y: 67%; }
.career-experience:nth-child(5) { --star-x: 57%; --star-y: 72%; }
.career-experience:nth-child(6) { --star-x: 82%; --star-y: 66%; }
.career-discovery { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 260px; padding: 16px 16px; background: rgba(250,248,242,.8); backdrop-filter: blur(9px); color: #29252f; z-index: 5; border-radius: 4px; box-shadow: 0 6px 18px rgba(10,8,20,.16); pointer-events: none; }
.career-discovery[hidden] { display: none; }
.career-experience:first-child .career-discovery { left: 0; transform: none; }
.career-experience:nth-child(3) .career-discovery, .career-experience:last-child .career-discovery { left: auto; right: 0; transform: none; }
.career-discovery strong { display: block; letter-spacing: -.035em; }
.career-discovery span { display: block; margin-top: 4px; color: #665a72; }
.career-discovery p { display: none; }

/* Cream stock, violet ink, a small yellow registration tab, real scratch coating. */
#scratch { background: var(--paper-purple); display: grid; grid-template-columns: .65fr 1fr; align-items: center; min-height: var(--scene-height); padding-block: 32px; gap: 32px; overflow: clip; }
#scratchTop { text-align: left; }
#scratchTop .tds-top__title { max-width: 370px; }
#scratch .scratch-ticket { position: relative; display: block; width: min(760px,100%); height: min(620px,calc(var(--scene-height) - 24px)); margin: 0; padding: 0; background: url('./assets/generated/ticket.png') center/100% auto no-repeat; transform: rotate(-3deg); box-shadow: none; }
#scratch .ticket-heading { position: absolute; top: 18%; left: 35%; right: 8%; display: block; padding: 0; border: 0; }
#scratch .ticket-heading > span { display: block; color: #2a2630; font-weight: 800; letter-spacing: -.05em; word-break: keep-all; }
#scratch .ticket-heading br { display: none; }
#scratch .scratch-card { position: absolute; left: 33%; top: 40%; width: 59%; height: 42%; min-height: 0; aspect-ratio: auto; margin: 0; background: #f4efdf; clip-path: polygon(2% 3%,97% 0,100% 96%,3% 100%,0 48%); transform: rotate(1deg); }
#scratch .scratch-content { background: #f4efdf; padding: 16px; }
#scratch .scratch-content strong { color: #37274c; }
#scratch .scratch-content p { gap: 8px; }
#scratch .scratch-canvas { cursor: crosshair; }

@media (hover:hover) and (pointer:fine) {
  #heroStage.is-cursor-active, #heroStage.is-cursor-active .paper, #heroStage.is-cursor-active .paper:active { pointer-events: auto; cursor: url('./assets/cursors/palm.png') 9 7, grab; }
  #career, #career .career-star { cursor: url('./assets/cursors/finger.png') 6 5, pointer; }
  #scratch .scratch-canvas { cursor: url('./assets/cursors/coin.png') 12 10, crosshair; }
}
@media (max-width:980px) {
  #intro { padding-block: 28px; }
  #intro .split-content-section__title { max-width: 320px; margin-bottom: 36px; }
  #intro .checklist { grid-template-columns: 1fr; gap: 24px; padding-bottom: 0; }
  #intro .checklist li, #intro .checklist li.is-reading { padding-left: 32px; max-width: 90%; }
  #intro .checklist li:nth-child(even) { transform: none; margin-left: var(--space-6); }
  .dozer-event { min-height: 370px; align-items: flex-start; padding-top: 12px; }
  .dozer-output { top: 24%; bottom: auto; right: -3%; height: 310px; width: min(230px,70%); padding: 64px 20px 32px 76px; }
  #dozer .dozer-bottomline { padding-top: 16px; }
  #career { padding-block: 28px; }
  #career > .section-copy { width: 100%; }
  #careerTop .tds-top__title { max-width: 320px; }
  .career-experience { width: 90px; }
  .career-experience:nth-child(1) { --star-x: 0%; --star-y: 24%; }
  .career-experience:nth-child(2) { --star-x: 54%; --star-y: 18%; }
  .career-experience:nth-child(3) { --star-x: 69%; --star-y: 39%; }
  .career-experience:nth-child(4) { --star-x: 3%; --star-y: 56%; }
  .career-experience:nth-child(5) { --star-x: 36%; --star-y: 78%; }
  .career-experience:nth-child(6) { --star-x: 72%; --star-y: 68%; }
  .career-discovery { width: 225px; padding: 12px 16px; }
  .career-experience:nth-child(2) .career-discovery { left: auto; right: 0; transform: none; }
  .career-experience:nth-child(4) .career-discovery { left: 0; transform: none; }
  #scratch { grid-template-columns: 1fr; align-content: center; gap: 16px; padding-block: 28px; }
  #scratchTop .tds-top__title { max-width: none; }
  #scratch .scratch-ticket { width: 100%; height: clamp(350px,55vh,470px); }
  #scratch .ticket-heading { left: 30%; right: 8%; }
  #scratch .ticket-heading br { display: block; }
  #scratch .scratch-card { left: 29%; width: 64%; top: 41%; height: 42%; }
  #scratch .scratch-content { padding: 12px; }
}
@media (max-width:980px) and (max-height:740px) {
  #intro .split-content-section__title { margin-bottom: 24px; }
  #intro .checklist { gap: 16px; }
  .dozer-event { min-height: 270px; }
  .dozer-output { height: 230px; width: 175px; top: 20%; padding: 44px 12px 20px 56px; }
  .career-night { min-height: 280px; }
  #scratch .scratch-ticket { height: 360px; }
}
@media (prefers-reduced-motion:reduce) {
  #heroTitle.is-revealed, #heroTitle.is-revealed .hero-title-highlight, #heroTitle.is-revealed.is-shining .hero-title-rest { animation: none; }
  #capybara { height: var(--scene-height); }
  #dozer.has-arrived .dozer-output { animation: none; }
  #scratch .scratch-canvas { transition: none; }
  .career-constellation-lines polyline { transition: none; opacity: .6; }
}
