/* Project page extras drawn by js/project.js: the credit line under the title,
   type links, the "you might try" slider and the Random button (cards match
   Work and Archive). */
.hp-credit { font-size: 13px; line-height: 1.7; color: rgba(234,227,201,0.8); margin: -6px 0 10px; }
.hp-credit-label { color: rgba(234,227,201,0.45); margin-right: 5px; }
.hp-credit-dot { margin: 0 10px; color: rgba(234,227,201,0.3); }
.hp-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hp-credit a:hover { color: rgb(220,75,46); }
.hp-types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.hp-types a { font-size: 11px; letter-spacing: 0.04em; color: rgba(234,227,201,0.75); text-decoration: none; border: 1px solid rgba(234,227,201,0.25); border-radius: 999px; padding: 5px 10px; transition: color 0.2s, border-color 0.2s; }
.hp-types a:hover { color: rgb(220,75,46); border-color: rgb(220,75,46); }

.hp-suggest { max-width: 1200px; margin: 0 auto; padding: 8px 40px 64px; }
/* Same size and color as the project title. */
#hp-suggest .hp-suggest-title { font-size: 36px; line-height: 1.2; letter-spacing: 0.02em; color: rgb(234,227,201); margin: 0; }
#hp-suggest > .hp-suggest-title { margin-bottom: 20px; }
/* Two cards and a slice of the next, so it's clear there are more. */
.hp-slider { position: relative; }
.hp-suggest-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2.2); gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.hp-suggest-track::-webkit-scrollbar { display: none; }
.hp-suggest-track .hp-suggest-card { scroll-snap-align: start; }
.hp-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  background: rgba(33,29,29,0.75); color: rgb(234,227,201); border: 1px solid rgba(234,227,201,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35); transition: color 0.2s, border-color 0.2s, opacity 0.25s, visibility 0.25s; }
.hp-arrow-prev { left: -24px; }  /* half on, half off the cards */
.hp-arrow-next { right: -24px; }
.hp-arrow svg { width: 22px; height: 22px; display: block; }
.hp-arrow-prev svg { transform: scaleX(-1); }
.hp-arrow:hover { color: rgb(220,75,46); border-color: rgb(220,75,46); }
.hp-arrow.off { opacity: 0; visibility: hidden; }
.hp-random { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 48px; text-align: center; }
.hp-random-btn { font: bold 15px Arial, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(33,29,29); background: rgb(220,75,46);
  border: 0; border-radius: 999px; padding: 14px 30px; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.hp-random-btn:hover { background: rgb(234,227,201); transform: rotate(-3deg); }
.hp-suggest-title { font-size: 15px; font-weight: normal; letter-spacing: 0.02em; color: rgba(234,227,201,0.85); margin-bottom: 16px; }
.hp-suggest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hp-suggest-card { display: block; position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: #111; }
.hp-suggest-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease, opacity 0.3s ease; }
.hp-suggest-card:hover img { transform: scale(1.04); opacity: 0.85; }
.hp-suggest-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff; font: bold 0.8rem/1.3 Arial, sans-serif; letter-spacing: 0.05em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s ease;
}
.hp-suggest-card:hover .hp-suggest-label { opacity: 1; }
@media (hover: none) { .hp-suggest-label { opacity: 1; } }
@media (max-width: 768px) { .hp-suggest { padding: 8px 20px 48px; } #hp-suggest .hp-suggest-title { font-size: 26px; } .hp-arrow { width: 40px; height: 40px; } .hp-arrow-prev { left: -16px; } .hp-arrow-next { right: -16px; } }
@media (max-width: 600px) { .hp-suggest-grid { grid-template-columns: 1fr; } }
.hp-team-label { font-size: 14px; letter-spacing: 0.04em; color: rgba(234,227,201,0.6); margin: -6px 0 24px; }
#hp-team .hp-suggest-grid { margin-bottom: 64px; }
#hp-team .hp-suggest-title { margin-top: 24px; }
/* Archive: intro, role words, filter sentence */
.hp-archive { max-width: 1200px; margin: 0 auto; padding: 20px 40px 8px; }
.hp-intro { font-size: 26px; line-height: 1.45; color: rgb(234,227,201); margin-bottom: 22px; }
.hp-role-word { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(234,227,201,0.35); text-underline-offset: 5px; }
.hp-role-word:hover, .hp-role-word.on { color: rgb(220,75,46); text-decoration-color: rgb(220,75,46); }
.hp-filter { font-size: 18px; line-height: 2; color: rgba(234,227,201,0.75); }
.hp-filter-select { font: inherit; color: rgb(234,227,201); background: transparent; border: 0; border-bottom: 2px solid rgb(220,75,46); padding: 0 2px; cursor: pointer; max-width: 100%; }
.hp-filter-select option { color: #222; }
.hp-filter-status { font-size: 12px; color: rgba(234,227,201,0.5); margin-top: 10px; }
.hp-filter-clear { font: inherit; color: rgb(220,75,46); background: none; border: 0; margin-left: 12px; cursor: pointer; text-decoration: underline; }
.hp-filter-none { grid-column: 1 / -1; padding: 40px 0; color: rgba(234,227,201,0.6); text-align: center; }
@media (max-width: 768px) { .hp-archive { padding: 16px 20px 8px; } .hp-intro { font-size: 20px; } .hp-filter { font-size: 16px; } }
/* Description copy: one size and color for every paragraph of a project's story
   (overrides the older two-size .project-desc / .project-text rules in each page). */
main .project-desc, main .project-text { font-size: 15px; line-height: 1.7; color: rgba(234,227,201,0.85); max-width: 800px; margin-bottom: 20px; }
main .project-desc + :not(p), main .project-text + :not(p) { margin-top: 36px; }
.hp-team-list { max-width: 800px; margin: 0 0 20px 1.2em; padding: 0; font-size: 15px; line-height: 1.7; color: rgba(234,227,201,0.85); }
.hp-team-list li { margin-bottom: 8px; padding-left: 4px; }
main .project-text + .hp-team-list { margin-top: 0; }
#hp-archive + #hp-archive-grid { padding-top: 12px; }
