/* Keep the entire portrait at its original 659:900 ratio at every viewport. */
.hero .profile-photo { width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center; display: block; }
.creative-jump { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--blue); font-size: 14px; }
.creative-jump:hover { color: var(--blue-dark); }
.creative-jump > span { font-size: 20px; }
.creative-section { border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 64px; }
.creative-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.creative-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.creative-media { width: 100%; aspect-ratio: 844 / 480; border-bottom: 1px solid var(--line); }
.game-preview { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .9fr); align-items: center; gap: 16px; padding: 32px; color: white; background: var(--blue); isolation: isolate; }
.game-preview::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#ffffff24 1px, transparent 1px); background-size: 20px 20px; }
.game-preview:hover { color: white; background: var(--blue-dark); }
.game-preview:focus-visible { outline-offset: -5px; outline-color: var(--lime); }
.game-preview-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.game-live { font-size: 10px; letter-spacing: .16em; color: #e2f1e5; }
.game-preview-copy > strong { margin: 16px 0; font: 600 clamp(20px, 2.1vw, 28px)/1.5 var(--serif); }
.game-preview-rule { font-size: 12px; color: #e2f1e5; }
.game-preview-cta { margin-top: 24px; display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--lime); }
.game-preview-cta > span { font-size: 22px; }
.game-board { width: 100%; max-width: 208px; justify-self: center; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; border: 1px solid #ffffff30; border-radius: 16px; background: #ffffff15; box-shadow: 0 12px 32px #2c5b3630; transform: rotate(-6deg); transition: transform .3s; }
.game-preview:hover .game-board { transform: rotate(-2deg) translateY(-4px); }
.game-board > span { aspect-ratio: 1; display: grid; place-items: center; min-width: 0; background: #fafdfb; border-radius: 8px; font-size: clamp(17px, 2vw, 25px); }
.game-board > .matched { background: var(--lime); box-shadow: 0 0 0 2px #edffb3; }
.performance-media { background: #233a2e; }
.performance-media video { width: 100%; height: 100%; display: block; object-fit: contain; }
.performance-media video:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.creative-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.creative-kicker { display: flex; justify-content: space-between; gap: 16px; color: var(--blue); font-size: 12px; }
.creative-kicker > span:last-child { color: var(--muted); }
.creative-body h3 { font: 600 28px/1.5 var(--serif); margin: 12px 0 16px; }
#performance-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
#performance-title > span { white-space: nowrap; }
#performance-title .stage-role { font: 500 16px/1.5 var(--sans); color: var(--muted); }
.creative-description { color: var(--muted); font-size: 15px; line-height: 1.95; }
.creative-skills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0; }
.creative-skills li { font-size: 12px; padding: 4px 8px; border-radius: 4px; background: #eff6f1; color: #546858; }
.creative-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.creative-actions .button { font-size: 14px; padding: 12px 16px; }
.creative-actions .button > span { margin-left: 8px; font-size: 20px; }
.creative-platform { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 0; min-height: 44px; font-size: 12px; color: var(--muted); }
.creative-platform:hover { color: var(--blue); }
.creative-platform small { flex-basis: 100%; font-size: 11px; }
.creative-attachment { display: flex; align-items: center; gap: 12px; padding: 16px; margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.creative-attachment:hover { border-color: #b6dcbe; background: #f3f9f4; }
.word-file-icon { display: grid; place-items: center; width: 36px; height: 44px; background: #e8f4eb; color: #489458; border-radius: 4px; font: 600 21px var(--serif); flex-shrink: 0; }
.attachment-name { min-width: 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.attachment-name small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 4px; }
.attachment-action { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12px; white-space: nowrap; color: var(--blue); }
.attachment-action svg { width: 18px; height: 18px; }
.performance-notes { display: flex; align-items: center; gap: 16px; margin-top: auto; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.performance-note-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-size: 14px; flex-shrink: 0; }
.performance-notes strong { font-size: 14px; font-weight: 500; }
.performance-notes p { margin-top: 4px; font-size: 12px; color: var(--muted); }
.performance-error { margin-top: 16px; padding: 12px 16px; background: #fff3ee; color: #a44b37; border-radius: 8px; font-size: 13px; }
.performance-error[hidden] { display: none; }
@media (max-width: 1050px) {
  .site-header nav { gap: 20px; }
  .game-preview { padding: 24px; grid-template-columns: minmax(0, 1fr) minmax(110px, .9fr); }
  .game-board { padding: 8px; gap: 6px; }
  .game-preview-copy > strong { font-size: 22px; margin: 12px 0; }
  .game-preview-rule { font-size: 11px; }
  .game-preview-cta { margin-top: 16px; }
  .creative-body { padding: 24px; }
  .creative-body h3 { font-size: 25px; }
}
@media (max-width: 700px) {
  .hero .profile-card { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr); align-items: center; }
  .hero .profile-photo { align-self: center; }
  .creative-section { padding-top: 40px; padding-bottom: 40px; }
  .creative-grid { grid-template-columns: 1fr; gap: 24px; }
  .creative-section .section-heading h2 { font-size: 28px; }
  .game-preview { padding: 24px; gap: 16px; }
  .game-preview-copy > strong { font-size: 24px; }
  .game-board > span { font-size: 22px; }
  .creative-body { padding: 24px; }
  .creative-body h3 { font-size: 26px; }
  .creative-description { font-size: 14px; }
  .creative-actions .button { flex: 1; white-space: nowrap; }
  .creative-platform { flex: 0 0 120px; }
  .creative-attachment { padding: 12px; gap: 8px; }
  .attachment-action { font-size: 11px; gap: 4px; }
}
@media (max-width: 380px) {
  .hero .profile-card { display: block; }
  .hero .profile-photo { max-width: 220px; margin-inline: auto; }
  .game-preview { padding: 16px; gap: 8px; grid-template-columns: minmax(0, 1fr) minmax(100px, .9fr); }
  .game-preview-copy > strong { font-size: 20px; }
  .game-preview-rule { font-size: 10px; }
  .game-preview-cta { margin-top: 12px; font-size: 12px; }
  .game-board { gap: 4px; padding: 6px; }
  .game-board > span { font-size: 16px; border-radius: 5px; }
  .creative-actions .button { flex-basis: 100%; }
  .creative-platform { flex-basis: 100%; }
  .attachment-action { font-size: 0; }
  .attachment-action svg { width: 20px; height: 20px; }
}
