
/* Second pass: public pages and device-only convenience. No extra motion. */
.nav-count { display: inline-grid; place-items: center; background: var(--accent); color: var(--ink); min-width: 19px; height: 19px; border-radius: 50%; font-size: 10px; }
.site-header nav { gap: 24px; }
.editorial { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; padding-bottom: 76px; }
.editorial-photo { margin: 0; min-width: 0; }
.editorial-photo img { display: block; width: 100%; height: auto; border-radius: 3px; }
.editorial-photo figcaption { font-size: 10px; color: var(--muted); margin-top: 12px; line-height: 1.7; }
.editorial-copy .eyebrow { color: var(--muted); }
.editorial-copy h2 { font-size: clamp(30px, 3.3vw, 46px); }
.editorial-copy > p:not(.eyebrow) { max-width: 360px; color: var(--muted); font-size: 14px; }
.editorial-copy > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.device-status { position: fixed; z-index: 12; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; background: var(--ink); color: var(--paper); padding: 12px 18px; border: 1px solid var(--accent); border-radius: 4px; font-size: 13px; box-shadow: var(--shadow); }
.device-status:empty { display: none; }
.device-note { font-size: 13px; color: var(--muted); line-height: 1.7; }
.primary-button, .save-button, .quiet-button { padding: 10px 17px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; font-size: 13px; }
.primary-button, .save-button[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent-line); }
.primary-button:hover, .save-button:hover, .quiet-button:hover { background: var(--accent-soft); }
.profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 18px 0; }
.profile-actions > a { min-height: 44px; display: inline-flex; align-items: center; }
.compact-masthead { padding-bottom: 0; }
.compact-masthead .site-header { border-bottom: 0; }
.scene-page, .saved-page { padding-block: 32px 70px; min-height: 70vh; }
.back-link { display: inline-block; min-height: 44px; font-size: 13px; margin-bottom: 25px; }
.profile-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 64px; }
.profile-copy h1, #scene-content > h1 { font-size: clamp(38px, 5vw, 76px); letter-spacing: -.055em; line-height: 1.02; overflow-wrap: anywhere; }
.profile-copy .eyebrow { text-transform: uppercase; color: var(--muted); }
.profile-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 23px; }
.profile-description { white-space: pre-line; line-height: 1.7; }
.profile-date { font-size: 20px; }
.profile-copy .source-links { justify-content: flex-start; }
.listing-media { margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.listing-media img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.listing-media figcaption { padding: 12px 16px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.listing-media > a { display: block; font-size: 12px; padding: 0 16px 16px; }
.media-fallback { position: relative; background: var(--accent-soft); min-height: 285px; display: flex; flex-direction: column; justify-content: space-between; }
.media-fallback::before, .media-fallback::after { content: ''; position: absolute; border: 1px solid var(--accent-line); border-radius: 50%; width: 210px; height: 210px; right: -55px; bottom: -65px; pointer-events: none; opacity: .35; }
.media-fallback::after { width: 290px; height: 290px; right: -95px; bottom: -105px; }
.media-monogram { padding: 35px; font-size: 80px; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.compact-media { width: 88px; }
.compact-media img { height: 76px; object-fit: contain; }
.compact-media figcaption { display: none; }
.compact-media.media-fallback { width: 88px; min-height: 88px; justify-content: center; }
.compact-media .media-monogram { padding: 15px; font-size: 35px; }
.result summary.with-media { grid-template-columns: 76px 88px minmax(0, 1fr) auto 38px; }
.result-detail > .listing-media { max-width: 360px; margin-bottom: 24px; }
.profile-notes, .profile-events { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.profile-notes h2, .profile-events h2 { font-size: 31px; }
.profile-notes p { white-space: pre-line; max-width: 760px; overflow-wrap: anywhere; }
.profile-event-list { padding: 0; margin: 20px 0; list-style: none; }
.profile-event-list > li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.profile-event-list h3 { margin: 6px 0; font-size: 22px; line-height: 1.3; letter-spacing: -.03em; overflow-wrap: anywhere; }
.profile-event-list a, .event-day { font-size: 13px; }
.profile-event-list .listing-media { max-width: 360px; margin-block: 20px; }
.event-day { color: var(--muted); }
.share-control { min-width: 0; }
.share-fallback { display: block; width: min(320px, 100%); margin-top: 8px; padding: 8px; font-size: 13px; }
.saved-page > h1 { font-size: clamp(55px, 7vw, 90px); margin: 20px 0; line-height: 1; }
.saved-page > h1 span { color: var(--ink); }
.preferences-panel { margin: 35px 0; padding: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
.preferences-panel h2 { font-size: 30px; }
.preferences-panel p { max-width: 550px; color: var(--muted); font-size: 13px; }
.preferences-panel form { display: flex; align-items: end; flex-wrap: wrap; gap: 15px; }
.preferences-panel label { flex: 1; min-width: 145px; font-size: 12px; }
.preferences-panel input, .preferences-panel select { display: block; width: 100%; padding: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; min-height: 44px; margin-top: 6px; }
.saved-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 13px; }
.saved-list { display: grid; gap: 16px; margin-top: 20px; }
.saved-card { display: grid; grid-template-columns: 88px 1fr auto; gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
.saved-card h2 { font-size: 27px; overflow-wrap: anywhere; }
.saved-card .eyebrow { text-transform: uppercase; color: var(--muted); margin-top: 0; }
.saved-card a { font-size: 13px; display: inline-flex; align-items: center; min-height: 44px; }
.clear-confirmation { border: 1px solid var(--accent-line); padding: 20px; margin-top: 20px; }
.clear-confirmation button { margin-right: 12px; }
.small-footer { padding-block: 24px; }.small-footer .footer-bottom { border-top: 0; padding-top: 0; }
@media (max-width: 1000px) {
  .profile-hero { gap: 30px; }.editorial { gap: 30px; }
  .result summary.with-media { grid-template-columns: 62px 74px minmax(0, 1fr) 36px; }
  .with-media .style-tags { grid-column: 3; justify-content: flex-start; }
  .with-media .card-arrow { grid-column: 4; grid-row: 1; }
  .with-media .compact-media { width: 74px; }
}
@media (max-width: 700px) {
  .site-header nav { gap: 12px; }.nav-count { display: none; }
  .editorial { grid-template-columns: 1fr; gap: 22px; padding-bottom: 40px; }
  .editorial-copy h2 { font-size: 35px; }.editorial-photo figcaption { font-size: 10px; }
  .profile-hero { grid-template-columns: 1fr; gap: 24px; }.profile-copy h1 { font-size: 43px; }
  .profile-hero .listing-media { max-width: 450px; width: 100%; }.media-fallback { min-height: 210px; }
  .profile-actions { gap: 10px; }.profile-events h2 { font-size: 29px; }
  .result summary.with-media { grid-template-columns: 49px minmax(0, 1fr) 29px; }
  .with-media .compact-media { grid-column: 2; grid-row: 2; width: 90px; }
  .with-media .result-copy { grid-column: 2; grid-row: 1; }.with-media .card-arrow { grid-column: 3; grid-row: 1; }
  .with-media .style-tags { grid-column: 2; grid-row: 3; }
  .scene-page, .saved-page { padding-block: 24px 45px; }.back-link { margin-bottom: 12px; }
  .preferences-panel { padding: 20px; }.preferences-panel label { flex-basis: 100%; }
  .preferences-panel input, .preferences-panel select { font-size: 16px; }
  .saved-card { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .saved-card .compact-media, .saved-card .compact-media.media-fallback { width: 60px; min-height: 60px; }
  .saved-card .media-monogram { padding: 10px; font-size: 27px; }.saved-card h2 { font-size: 24px; }
  .saved-card > button { grid-column: 2; justify-self: start; }.saved-toolbar { font-size: 12px; }
}
@media (max-width: 380px) { .site-header .brand { font-size: 13px; }.site-header nav { gap: 9px; font-size: 11px; } }

/* Festivals are an event type; this control shares the existing accent. */
.browse-refine { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.kind-filter select { max-width:100%; border:0; background:transparent; color:var(--ink); padding:12px 22px 12px 0; font:inherit; font-size:13px; }
.view-description { margin:16px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
@media(max-width:600px) { .browse-refine { width:100%; justify-content:space-between; gap:8px; } .browse-refine .country-filter { width:auto; flex:1; min-width:0; } .browse-refine .country-filter select { max-width:100%; } .kind-filter select { min-height:44px; } }
