/* Keepsake portfolio: image-first, mobile-friendly; artwork is never cropped. */
.portfolio-page { background: #101010; color: #f6f2ec; }
.pf-main { padding: 26px 0 0; background: radial-gradient(ellipse at 88% 0%, rgba(var(--season-accent-rgb, 255, 122, 0), .07), transparent 34rem), #111; }
.pf-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.pf-main *, .pf-lightbox * { box-sizing: border-box; }
.pf-main [hidden], .pf-lightbox [hidden] { display: none !important; }
.pf-main a, .pf-lightbox a { text-decoration: none; }
.pf-main a:focus-visible, .pf-main button:focus-visible, .pf-lightbox a:focus-visible, .pf-lightbox button:focus-visible { outline: 3px solid #ffbd73; outline-offset: 5px; }
.pf-skip { position: fixed; top: -100px; left: 16px; z-index: 99999; padding: 12px 20px; color: #111; background: #fff; }
.pf-skip:focus { top: 12px; }
.pf-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #b2aaa2; font-size: 12px; }
.pf-breadcrumb a { color: #dad3cd; }
.pf-preview { margin-left: auto; padding: 5px 10px; border: 1px solid #795329; border-radius: 5px; color: #f7b76e; font-size: 10px; letter-spacing: .04em; }
.pf-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 35px 0 26px; }
.pf-eyebrow { margin: 0 0 9px; color: var(--season-accent-light, #ff9f2f); font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.pf-heading h1 { margin: 0; color: #fff; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; text-transform: none; }
.pf-heading-note { margin: 0 0 3px; color: #bbb4ae; font-size: 15px; line-height: 1.6; text-align: right; }
.pf-artists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 27px; }
.pf-artist-option { display: flex; min-width: 0; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid #3c3630; border-radius: 12px; color: #f5f2ed; background: #1b1917; transition: border-color .15s, background .15s; }
.pf-artist-option:hover { color: #fff; border-color: #b17642; background: #241e19; }
.pf-artist-option[aria-current] { border-color: var(--season-accent, #ff7a00); background: #2a2017; box-shadow: inset 0 -2px var(--season-accent, #ff7a00); }
.pf-artist-option img { display: block; width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.pf-artist-option strong { display: block; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.2; }
.pf-artist-option small { display: block; margin-top: 5px; color: #c2b8ad; font-size: 12px; }
.pf-artist-arrow { margin-left: auto; color: #f4a04a; font-size: 24px; }
.pf-bio { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 65px; padding: 12px 0 30px; border-bottom: 1px solid #36312c; }
.pf-bio h2 { margin: 0 0 10px; color: #fff; font-size: 28px; font-weight: 700; text-transform: none; }
.pf-bio-copy > p:not(.pf-eyebrow) { max-width: 700px; margin: 0 0 10px; color: #c5beb6; font-size: 14px; line-height: 1.75; }
.pf-text-link { color: #ffb570; font-size: 13px; font-weight: 700; }
.pf-text-link:hover { color: #ffd1a3; text-decoration: underline; }
.pf-booking { padding-left: 25px; border-left: 1px solid #3c342c; }
.pf-booking p { margin: 0 0 12px; color: #fff; font-size: 15px; font-weight: 600; }
.pf-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 15px; padding: 11px 18px; border: 1px solid #66523e; border-radius: 7px; color: #fff; background: #24201c; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.pf-primary { color: #1d1005; background: var(--season-accent-light, #ff9f2f); border-color: transparent; }
.pf-primary:hover { color: #140c03; background: #ffb969; }
.pf-booking small { display: block; margin-top: 9px; color: #bdb3a9; font-size: 11px; }
.pf-gallery-section { padding: 25px 0 0; }
.pf-gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pf-gallery-heading h2 { margin: 0 0 4px; color: #f9f7f3; font-size: 23px; font-weight: 700; text-transform: none; }
.pf-gallery-heading p { margin: 0; color: #ada69f; font-size: 12px; }
.pf-gallery-heading .pf-upload-date { display: block; margin-top: 7px; color: #a9a39d; font-size: 11px; font-weight: 400; line-height: 1.5; }
#pf-range { color: #ccc4bb; font-size: 12px; white-space: nowrap; }
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pf-photo { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 1px solid #37312c; border-radius: 9px; background: #080808; }
.pf-photo img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.pf-enlarge { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff44; border-radius: 50%; color: #fff; background: #111b; opacity: 0; transition: opacity .15s; }
.pf-photo:hover, .pf-photo:focus-visible { border-color: #d68e49; }
.pf-photo:hover .pf-enlarge, .pf-photo:focus-visible .pf-enlarge { opacity: 1; }
.pf-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; padding: 26px 0; }
.pf-pagination .pf-button { min-width: 44px; min-height: 44px; padding: 10px 13px; }
.pf-pagination [aria-current] { color: #1d1005; background: #ffab50; border-color: #ffab50; }
.pf-pagination .pf-button:hover { color: #fff; border-color: #e79a4f; }
.pf-pagination [aria-current]:hover { color: #1d1005; }
.pf-pagination .pf-disabled { color: #c3b7aa; opacity: .45; pointer-events: none; }
.pf-page-gap { padding: 0 4px; color: #b8aea3; }
.pf-end-note { padding: 27px 0 47px; border-top: 1px solid #36312c; text-align: center; }
.pf-end-note p { margin: 8px 0 12px; color: #e5ddd4; font-size: 18px; }
.pf-noscript, #pf-error { padding: 15px; color: #fff; background: #412914; border-radius: 8px; }
.pf-lightbox { width: min(1200px, calc(100vw - 32px)); max-width: none; height: min(960px, calc(100dvh - 32px)); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 1px solid #62503c; border-radius: 12px; color: #fff; background: #0b0b0b; }
.pf-lightbox[open] { display: flex; flex-direction: column; }
.pf-lightbox::backdrop { background: #000e; }
.pf-lightbox-top, .pf-lightbox-bottom { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 18px; background: #191613; }
.pf-lightbox h2 { margin: 0; color: #fff; font-size: 18px; font-weight: 600; text-transform: none; }
.pf-icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #7a6855; border-radius: 50%; color: #fff; background: #211a14ed; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.pf-icon-button:disabled { opacity: .3; cursor: default; }
.pf-lightbox-stage { position: relative; display: flex; flex: 1 1 auto; align-items: center; justify-content: center; min-height: 0; padding: 5px 62px; overflow: hidden; }
#pf-full-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.pf-photo-prev, .pf-photo-next { position: absolute; top: calc(50% - 22px); z-index: 2; }
.pf-photo-prev { left: 9px; }
.pf-photo-next { right: 9px; }
.pf-lightbox-bottom p { margin: 0; color: #d4c9bc; font-size: 12px; }
.pf-lightbox-bottom a { color: #ffb570; font-size: 12px; }
html.pf-modal-open { overflow: hidden; }
.artist-grid .artist .social-links a.artist-portfolio-link { width: auto; min-height: 38px; gap: 7px; padding: 0 12px; border-color: #cc843b; border-radius: 7px; color: #211204; background: var(--season-accent-light, #ffab50); font-size: 12px; font-weight: 800; line-height: 1.2; }
.artist-grid .artist .social-links a.artist-portfolio-link:hover, .artist-grid .artist .social-links a.artist-portfolio-link:focus-visible { color: #160d03; background: #ffc17a; outline-offset: 4px; }
.artist-card[id], .artist-card img[id], #pf-gallery-title { scroll-margin-top: 135px; }
@media (max-width: 900px) {
  .pf-bio { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pf-container { width: calc(100% - 28px); }
  .pf-main { padding-top: 15px; }
  .pf-preview { margin-left: 0; font-size: 9px; }
  .pf-heading { padding: 27px 0 20px; }
  .pf-heading-note { display: none; }
  .pf-artists { gap: 9px; margin-bottom: 20px; }
  .pf-artist-option { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .pf-artist-option img { width: 42px; height: 42px; }
  .pf-artist-option strong { font-size: 21px; }
  .pf-artist-option small { margin-top: 3px; font-size: 10px; }
  .pf-artist-arrow { display: none; }
  .pf-bio { grid-template-columns: 1fr; gap: 20px; padding-bottom: 24px; }
  .pf-bio h2 { font-size: 26px; }
  .pf-booking { padding-left: 0; border-left: 0; }
  .pf-booking p { display: none; }
  .pf-booking small { display: inline-block; margin: 7px 0 0; }
  .pf-booking .pf-primary { display: flex; }
  .pf-gallery-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .pf-pagination { gap: 5px; }
  .pf-pagination .pf-button { padding: 9px; min-width: 40px; }
  .pf-lightbox { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .pf-lightbox-top, .pf-lightbox-bottom { padding: 10px 12px; }
  .pf-lightbox-stage { padding: 0; }
  .pf-photo-prev, .pf-photo-next { top: auto; bottom: 12px; }
  .pf-lightbox-bottom { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-main *, .pf-lightbox * { transition: none; scroll-behavior: auto; }
}

/* Reuse the existing Halloween palette and animated spiders without touching photos. */
.portfolio-page .pf-heading { position: relative; isolation: isolate; overflow: hidden; padding-top: 30px; padding-bottom: 30px; }
.portfolio-page .pf-heading::after { content: ''; position: absolute; z-index: -1; top: 0; right: 0; width: 125px; height: 125px; opacity: .28; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 130'%3E%3Cg fill='none' stroke='%23ff9f2f' stroke-width='1'%3E%3Cpath d='M130 0H0M130 0v130M130 0L0 130M130 0L0 60M130 0L70 130M105 0A25 25 0 0 0 130 25M80 0A50 50 0 0 0 130 50M55 0A75 75 0 0 0 130 75M30 0A100 100 0 0 0 130 100M5 0A125 125 0 0 0 130 125'/%3E%3C/g%3E%3C/svg%3E") no-repeat right top / contain; }
.pf-season-note { color: #dda66b; font-size: 12px; white-space: nowrap; }
.pf-season-note span { color: var(--season-accent-light, #ff9f2f); padding-right: 5px; }
body.seasonal-team #nav-toggle { background: linear-gradient(120deg, #ad390b, #e97811); border: 1px solid #ff9f2f; }
body.seasonal-team #nav-toggle .Menu-mb { color: #fff; }
@media (max-width: 600px) {
  .portfolio-page .pf-heading { padding-top: 24px; padding-bottom: 23px; }
  .portfolio-page .pf-heading::after { width: 82px; height: 82px; opacity: .2; }
}
