/* Product contract: shared semantic roles; regular-width composition below. */
:root,html[data-theme="light"]{--experience-control-line:#70806e;--experience-hero-surface:#17211b;--experience-hero-text:#f1f4ed;--experience-hero-muted:#d5dfd2}
html[data-theme="dark"]{--experience-control-line:#85917f}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--experience-control-line)}
body .discovery-popup :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--experience-control-line);background:var(--experience-surface);color:var(--experience-text)}
body :focus-visible{outline:3px solid var(--experience-brand);outline-offset:3px}
body .site-header :focus-visible{outline-color:#fff;outline-offset:3px}
body .experience-account-menu summary img{border-radius:5px}
body .discovery-students-entry{min-height:44px;display:inline-flex;align-items:center}
body .discovery-card__location{font-size:.8125rem;line-height:1.4;margin:4px 0 0;color:var(--experience-muted);overflow-wrap:anywhere}
body .discovery-card__preview{min-height:44px;min-width:44px;margin:4px 0 0;padding:6px 10px;border:1px solid var(--experience-control-line);border-radius:5px;color:var(--experience-text);background:var(--experience-surface);font:inherit;font-size:.8125rem;cursor:pointer}
body .discovery-card__preview:hover,body .discovery-card__preview[aria-expanded=true]{background:var(--experience-raised)}
body .discovery-card__preview:focus-visible{outline:3px solid var(--experience-brand);outline-offset:3px}
body .event-preview{box-sizing:border-box;scrollbar-gutter:stable;overflow-x:hidden;border-color:var(--experience-control-line);background:var(--experience-raised);color:var(--experience-text)}
body .event-preview__image{aspect-ratio:1.65;flex:none}
body .event-preview__image>button{width:44px;height:44px;border-radius:5px;background:var(--experience-hero-surface);color:var(--experience-hero-text);border:1px solid var(--experience-hero-muted)}
body .event-preview__body{padding:18px}
body .event-preview__body h3{font-size:1.375rem;line-height:1.25;overflow-wrap:anywhere}
body .event-preview__body p{font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
body .event-preview .event-plan-actions{display:flex;flex-wrap:wrap;gap:8px}
body .event-preview .event-plan-actions :is(a,button){min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;font-size:.8125rem}
body .discovery-source-provenance,body .discovery-source-status{color:var(--experience-muted);font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere}
body.discovery-page :is(.discovery-back,.discovery-map){color:var(--experience-brand)}
body.discovery-page .event-detail-plans{background:var(--experience-raised);color:var(--experience-text);border-color:var(--experience-line)}
body.discovery-page .event-detail-plans p{color:var(--experience-text)}
body .login-link{color:var(--experience-brand)}
body .site-footer__brand{color:var(--experience-text)}
body .site-footer__copyright{color:var(--experience-muted)}
body[data-page="society"] .detail-inline-action{color:var(--experience-brand);min-height:44px;min-width:44px}
body[data-page="society"] .detail-meta__icon{color:var(--experience-text)}
body[data-page="society"] .detail-title-block__eyebrow{color:var(--experience-muted)}
body[data-page="society"] [data-membership-root]>[role=status]:empty{display:none}
body .discovery-feature-options{grid-column:1/-1;min-width:0;margin:0;padding:16px 0 0;border:0;border-top:1px solid var(--experience-line)}
body .discovery-feature-options legend{color:var(--experience-text);font-size:.875rem;font-weight:650;padding:0 8px 0 0}
body .discovery-feature-options .event-feature-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
body .discovery-feature-options .event-feature-chip{min-height:44px;font-size:.8125rem;background:var(--experience-surface);color:var(--experience-text);border-color:var(--experience-control-line);border-radius:5px}
body .discovery-feature-options .event-feature-chip[aria-pressed=true]{background:var(--experience-brand);color:var(--experience-on-brand);border-color:var(--experience-brand)}
body .discovery-featured-actions :is(a,button):focus-visible,body .event-plan-actions [aria-pressed=true]:focus-visible{box-shadow:0 0 0 3px var(--experience-surface)}
@media(min-width:769px){
  body .site-header__inner{min-height:68px;gap:24px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);justify-items:stretch}
  body .site-nav{gap:24px;justify-self:center;width:max-content;grid-column:2;grid-row:1}
  body .site-nav .nav-link{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
  body .header-actions{gap:12px;justify-self:end;grid-column:3;grid-row:1}
  body .experience-theme-toggle{font-size:.8125rem}
  body.discovery-page #homeHero{margin:0;padding:0}
  body.discovery-page .discovery-featured{display:flex;align-items:center;min-height:0;max-height:none;height:auto;padding:68px 4% 28px;margin:0 0 12px;background:var(--experience-hero-surface);overflow:hidden;box-sizing:border-box}
  body.discovery-page .discovery-featured-art{left:32%;width:68%;object-position:center;opacity:1}
  body.discovery-page .discovery-featured-art.discovery-poster{object-fit:contain;background:var(--experience-hero-surface)}
  body.discovery-page .discovery-featured-ambient{opacity:.12;filter:blur(48px) brightness(.6)}
  body.discovery-page .discovery-featured::after{display:none;background:none}
  body.discovery-page .discovery-featured .discovery-area-nav{top:16px;left:4%;gap:8px}
  body.discovery-page .discovery-featured .discovery-area-nav a{min-height:40px;display:inline-flex;align-items:center;box-sizing:border-box;background:var(--experience-hero-surface);border-color:#80917f;font-size:.8125rem;color:var(--experience-hero-text)}
  body.discovery-page .discovery-featured .discovery-area-nav a[aria-current=page]{background:var(--experience-brand);color:var(--experience-on-brand);border-color:var(--experience-brand)}
  body.discovery-page .discovery-featured-copy{position:relative;width:46%;min-width:340px;max-width:650px;padding:24px;background:var(--experience-hero-surface);border-radius:6px;box-sizing:border-box}
  body.discovery-page .discovery-featured-copy h1{font-size:clamp(2.25rem,3.2vw,3.5rem);line-height:1.08;letter-spacing:-.035em;margin:8px 0 16px;color:var(--experience-hero-text);overflow-wrap:anywhere;text-wrap:balance}
  body.discovery-page .discovery-featured-copy .discovery-eyebrow{font-size:.8125rem;color:var(--experience-hero-muted)}
  body.discovery-page .discovery-featured-timing{font-size:1rem;color:var(--experience-hero-text);line-height:1.5;margin:0 0 10px}
  body.discovery-page .discovery-featured-synopsis{font-size:.9375rem;color:var(--experience-hero-muted);line-height:1.5;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.discovery-page .discovery-featured-copy>small{font-size:.75rem;line-height:1.5;color:var(--experience-hero-muted)}
  body.discovery-page .discovery-featured-actions{margin-bottom:10px}
  body.discovery-page .discovery-featured-actions :is(a,button){font-size:.875rem;background:var(--experience-hero-surface);color:var(--experience-hero-text);border-color:#80917f;min-height:44px}
  body.discovery-page .discovery-featured-actions a{background:var(--experience-brand);color:var(--experience-on-brand);border-color:var(--experience-brand)}
  body.discovery-page .discovery-featured-dots{right:4%;bottom:16px;gap:4px}
  body.discovery-page .discovery-featured-dots button{width:44px;height:32px;border:0;border-radius:4px;background:var(--experience-hero-surface);color:var(--experience-hero-muted);font-size:0;display:grid;place-items:center;transform:none}
  body.discovery-page .discovery-featured-dots button::before{content:"";position:static;width:24px;height:3px;background:#85917f}
  body.discovery-page .discovery-featured-dots button[aria-current=true]::before{background:#f1f4ed}
  body.discovery-page #pageFilters,body.discovery-page #eventSections{width:92%;max-width:1520px;margin-inline:auto}
  body.discovery-page .discovery-compact-tools{margin:12px 0 16px;padding-right:230px;gap:8px;min-height:44px}
  body.discovery-page .discovery-compact-tools>button,body.discovery-page .discovery-filter-chip,body.discovery-page .event-feature-chip{min-height:44px;font-size:.8125rem;border-color:var(--experience-control-line)}
  body.discovery-page .discovery-active-search,body.discovery-page .discovery-view-switch button{font-size:.8125rem}
  body.discovery-page .discovery-results__head{margin-bottom:16px;gap:16px}
  body.discovery-page .discovery-row{margin-bottom:28px}
  body.discovery-page .discovery-row__head{margin-bottom:10px;align-items:center}
  body.discovery-page .discovery-row__head h3{font-size:1.375rem;line-height:1.3;letter-spacing:-.02em;margin:0 0 4px}
  body.discovery-page .discovery-row__head p,body.discovery-page .discovery-caption,body.discovery-page .discovery-notice{font-size:.8125rem;line-height:1.5}
  body.discovery-page .discovery-view-all{font-size:.8125rem;min-height:44px;display:inline-flex;align-items:center;padding:8px 4px;box-sizing:border-box}
  body.discovery-page .discovery-row__controls button{width:44px;height:44px;border-radius:5px;border-color:var(--experience-control-line)}
  body.discovery-page .discovery-row__controls button:focus-visible{opacity:1}
  body.discovery-page .discovery-rail{grid-auto-columns:calc((100% - 64px)/4.3);gap:16px;padding:4px 0 10px;scroll-padding-inline:0;scrollbar-width:thin;scrollbar-color:var(--experience-control-line) transparent}
  body.discovery-page .discovery-rail::-webkit-scrollbar{display:block;height:5px}
  body.discovery-page .discovery-rail::-webkit-scrollbar-thumb{background:var(--experience-control-line);border-radius:3px}
  body.discovery-page .discovery-card{min-width:0}
  body.discovery-page .discovery-card__image{aspect-ratio:1.65;border-radius:6px}
  body.discovery-page .discovery-card__body{padding:10px 0 0;min-height:0}
  body.discovery-page .discovery-card h3,body.discovery-page .discovery-rail .discovery-card h3{font-size:.9375rem;font-weight:650;line-height:1.35;margin:0 0 6px}
  body.discovery-page .discovery-card__date{font-size:.8125rem;line-height:1.45;white-space:normal;border:0;padding-bottom:0}
  body.discovery-page .discovery-card__status{font-size:.75rem;background:var(--experience-hero-surface);color:var(--experience-hero-text)}
  body.discovery-page .discovery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px}
  body.discovery-page .discovery-detail{max-width:1380px;padding-top:28px}
  body.discovery-page .discovery-detail h1{font-size:clamp(2rem,3vw,3rem);line-height:1.15;letter-spacing:-.035em}
  body.discovery-page .discovery-detail__organiser{font-size:.9375rem;line-height:1.5;margin-bottom:24px}
  body.discovery-page .discovery-detail__layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(240px,.8fr);gap:24px;align-items:start}
  body.discovery-page .discovery-detail__image{aspect-ratio:1.25;border-radius:6px;object-fit:cover}
  body.discovery-page .discovery-detail__image.discovery-poster{object-fit:contain}
  body.discovery-page .discovery-detail__info,body.discovery-page .discovery-detail__actions{padding:20px;min-width:0}
  body.discovery-page .discovery-detail__info dl{grid-template-columns:80px minmax(0,1fr);gap:14px 12px}
  body.discovery-page .discovery-detail__info :is(dt,dd){font-size:.875rem;overflow-wrap:anywhere}
  body.discovery-page .discovery-detail__actions :is(a,button){min-height:44px;white-space:normal;overflow-wrap:anywhere}
  body.discovery-page .discovery-detail>.discovery-copy{max-width:76ch;margin:28px 0}
  body.discovery-page .discovery-copy p{font-size:1rem;line-height:1.65}
  body .discovery-popup{font-size:1rem}
  body .discovery-filters :is(input,select){min-height:44px;font-size:1rem}
  body .collection-explanation{font-size:.8125rem;line-height:1.5}
}
@media(min-width:769px) and (max-width:1099px){
  body .site-header__inner{gap:16px}
  body .site-nav{gap:16px}
  body .theme-toggle-label{display:none}
  body.discovery-page .discovery-featured-copy{width:55%;min-width:0}
  body.discovery-page .discovery-featured-copy h1{font-size:2.25rem}
  body.discovery-page .discovery-rail{grid-auto-columns:calc((100% - 40px)/3.2);gap:14px}
  body.discovery-page .discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.discovery-page .discovery-detail__layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body.discovery-page .discovery-detail__actions{grid-column:1/-1}
  body.discovery-page .discovery-compact-tools{padding-right:0}
}
@media(prefers-contrast:more){body :is(input,select,textarea,.discovery-card__preview,.event-preview){border-color:var(--experience-text)}body .discovery-card__date,body .discovery-card__location{color:var(--experience-text)}}
@media(prefers-reduced-transparency:reduce){body .discovery-featured-ambient{display:none}body :is(dialog,.discovery-popup)::backdrop{backdrop-filter:none;background:#111613}body .site-header{backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){body .event-preview,body .discovery-card,body .discovery-rail{animation:none;transition:none;scroll-behavior:auto}}
@media(forced-colors:active){body :is(.event-preview,.discovery-card__preview,.discovery-source){border:1px solid ButtonText}body :focus-visible{outline-color:Highlight}body .discovery-card__status{background:Canvas;color:CanvasText}}
/* Integrated Explore controls span the usable page, without the old reserved switch gap. */
@media(min-width:768px){
 body.discovery-page #pageFilters{width:calc(100% - 8vw);max-width:none;margin-inline:4vw;}
 body.discovery-page .discovery-compact-tools{padding-right:0;margin:4px 0 6px;}
 body.discovery-page .discovery-results:has(.discovery-rows)>.discovery-results__head{height:0;margin:0;}
 body.discovery-page .discovery-results:has(.discovery-rows)>.discovery-results__head>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 body.discovery-page .discovery-rail-edge{color:#fff;background:#07110feb;opacity:.92;pointer-events:auto;}
}
