/* Barbossa: a photographic publication. 12-column grid, restrained motion, real images. */
@font-face { font-family: 'Archivo'; src: url('./assets/fonts/archivo-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Noto Sans Editorial'; src: url('./assets/fonts/noto-sans-sc-editorial.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
 color-scheme: light;
 --bg: #f1f0e9; --bg-soft: #e8e5dc; --panel: #f1f0e9; --accent: #b82f20;
 --text: #151713; --text-soft: #53564e; --muted: #676b61;
 --line: rgba(36,38,33,.15); --line-strong: rgba(36,38,33,.28);
 --page-width: min(1392px, calc(100% - 112px)); --content-width: var(--page-width);
 --font-ui: 'Archivo', 'Noto Sans Editorial', 'PingFang SC', 'Microsoft YaHei', sans-serif;
 --font-display: 'Archivo', 'Noto Sans Editorial', sans-serif;
 --s1: 8px; --s2: 12px; --s3: 20px; --s4: 32px; --s5: 48px; --s6: 72px; --s7: 112px;
 --type-body: 15px; --type-caption: 11px; --type-section: 30px; --grid-gap: 24px;
 --ease: cubic-bezier(.22,.68,0,1);
}
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: var(--type-body); font-weight: 400; line-height: 1.8; letter-spacing: 0; }
h1,h2,h3,p,figure { margin-top: 0; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 750; text-wrap: balance; }
a { color: inherit; }
a:focus-visible,button:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; }
a,button { -webkit-tap-highlight-color: transparent; }
button { min-height: 44px; }
img { filter: none; }
.eyebrow { font-family: var(--font-ui); font-size: var(--type-caption); font-weight: 400; line-height: 1.6; letter-spacing: .035em; text-transform: none; color: var(--muted); }
.site-header,body:not([data-page="home"]) .site-header,.site-header.is-scrolled {
 position: relative; top: auto; left: auto; width: var(--page-width); min-height: 80px; margin: 0 auto; padding: 22px 0;
 display: flex; align-items: center; justify-content: space-between; gap: var(--s4); transform: none;
 border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1;
}
.site-header-meta { display: none; }
.site-mark,.site-nav a,.menu-toggle,.site-header.is-scrolled .site-mark,.site-header.is-scrolled .site-nav a,.site-header.is-scrolled .menu-toggle,body:not([data-page="home"]) .site-mark,body:not([data-page="home"]) .site-nav a,body:not([data-page="home"]) .menu-toggle {
 color: var(--text); font-family: var(--font-ui); font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.6; text-transform: none; text-shadow: none; filter: none;
}
.site-header .site-mark { font-size: 25px; font-weight: 500; letter-spacing: -.055em; }
.site-nav { display: flex; align-items: center; gap: var(--s4); }
.site-nav a { display: inline-flex; align-items: baseline; gap: 7px; padding: 5px 0; white-space: nowrap; }
.site-nav a span { color: var(--muted); font-size: 10px; }
.site-nav a::after { height: 1px; bottom: 0; background: var(--text); }
.site-nav:hover a,.site-header.is-scrolled .site-nav:hover a { color: var(--text); opacity: 1; }
.site-nav [aria-current]::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.page-shell,.edit-home { width: var(--content-width); margin: 0 auto; }
.page-shell { padding: 64px 0 0; }
.edit-home { padding-top: 56px; }
.text-link,.profile-links a,.collection-lead a,.edit-section-head>a,.edit-case-copy>a,.edit-contact a,.collection-end a,.project-entry-action a {
 display: inline-block; font-family: var(--font-ui); font-size: 13px; line-height: 1.7; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; white-space: nowrap;
}
.portfolio-opening { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--grid-gap); align-items: start; }
.portfolio-introduction { grid-column: 1 / 5; padding-top: 34px; }
.portfolio-introduction h1 { font-family: 'Noto Sans Editorial','Songti SC',serif; font-size: clamp(36px,4.2vw,64px); line-height: 1.45; letter-spacing: -.035em; margin: 0 0 36px; }
.portfolio-introduction>p { font-size: 14px; line-height: 2; color: var(--text-soft); margin: 0 0 var(--s4); }
.portfolio-cover { grid-column: 5 / 13; margin: 0; }
.portfolio-cover img { display: block; width: 100%; height: auto; }
.portfolio-cover figcaption { margin-top: var(--s2); color: var(--muted); font-size: var(--type-caption); }
.edit-selection { margin-top: 128px; }
.edit-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); border: 0; padding: 0; margin-bottom: var(--s5); }
.edit-section-head h2 { font-size: var(--type-section); line-height: 1.5; letter-spacing: -.025em; margin: 0; }
.section-translation { margin: var(--s1) 0 0; color: var(--muted); font-size: var(--type-caption); }
.edit-photo-sequence { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 80px var(--grid-gap); align-items: start; }
.edit-home .edit-photo { margin: 0; }
.edit-photo:nth-child(1) { grid-column: 1 / 5; }
.edit-photo:nth-child(2) { grid-column: 6 / 13; margin-top: 128px; }
.edit-photo:nth-child(3) { grid-column: 2 / 12; }
.edit-photo:nth-child(4) { grid-column: 1 / 8; margin-top: 104px; }
.edit-photo:nth-child(5) { grid-column: 9 / 13; }
.edit-photo:nth-child(6) { grid-column: 4 / 13; }
.edit-photo a { display: block; }
.edit-photo img { display: block; width: 100%; height: auto; }
.edit-photo figcaption { color: var(--muted); font-size: var(--type-caption); margin-top: var(--s2); }
.edit-categories { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--grid-gap); border: 0; margin: var(--s4) 0 0; padding: 0; font-size: 12px; }
.edit-categories span { color: var(--muted); font-size: 10px; margin-left: 4px; }
.edit-case { margin-top: 128px; }
.edit-case-layout { display: grid; grid-template-columns: 7fr 4fr; gap: 9%; align-items: center; }
.edit-case-image img { width: 100%; height: auto; }
.edit-case-copy h3 { font-size: clamp(30px,3.4vw,48px); line-height: 1.6; letter-spacing: -.025em; margin: 24px 0; }
.edit-case-copy>p:not(.eyebrow) { color: var(--text-soft); font-size: 14px; line-height: 1.9; margin-bottom: var(--s4); }
.edit-contact { display: block; border-top: 1px solid var(--line-strong); margin-top: 128px; padding: 56px 0 88px; }
.edit-contact>div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--s3) var(--s5); }
.edit-contact h2 { font-size: 40px; line-height: 1.5; margin: 0; }
.edit-contact p { grid-column: 1; grid-row: 2; color: var(--text-soft); font-size: 13px; margin: 0; }
.edit-contact a { grid-column: 2; grid-row: 1; }
.page-footer { width: var(--content-width); margin: 0 auto; padding: 24px 0 40px; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); border-top: 1px solid var(--line); }
.page-footer::before { display: none; }
.footer-contact { font-size: 12px; font-weight: 400; letter-spacing: 0; }
.footer-note { font-size: 10px; font-weight: 400; color: var(--muted); line-height: 1.7; }
/* Archive: deliberate sequence, never automatically reordered masonry. */
.collection-intro { max-width: 100%; padding-bottom: 64px; }
.collection-intro h1 { font-size: clamp(36px,4vw,58px); line-height: 1.45; letter-spacing: -.04em; margin: 0 0 24px; }
.collection-lead { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); }
.collection-lead p { color: var(--text-soft); font-size: var(--type-body); line-height: 1.9; max-width: 32rem; margin: 0; }
.photo-directory { display: flex; gap: 0; justify-content: flex-start; margin: 0 0 80px; border: 0; padding-top: var(--s3); border-top: 1px solid var(--line); }
.photo-directory a { display: flex; gap: var(--s1); align-items: baseline; margin-right: 44px; padding: 0; border: 0; }
.photo-directory strong { font-size: 14px; font-weight: 400; }
.photo-directory [lang] { font-size: var(--type-caption); color: var(--muted); }
.photo-directory a>:last-child { display: none; }
body[data-page="selected"] .curated-series { scroll-margin-top: var(--grid-gap); }
body[data-page="selected"] .curated-series-head { display: block; border: 0; padding: 0; margin-bottom: 40px; }
.curated-series-head h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--type-section); letter-spacing: -.02em; line-height: 1.5; }
.curated-series-head p { font-size: 13px; color: var(--muted); margin: var(--s2) 0 0; }
body[data-page="selected"] .curated-gallery { display: grid; columns: auto; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 56px var(--grid-gap); align-items: start; margin-bottom: var(--s7); }
body[data-page="selected"] .curated-item { margin: 0; width: 100%; }
body[data-page="selected"] .curated-item:nth-child(1) { grid-column: 1 / 10; }
body[data-page="selected"] .curated-item:nth-child(2) { grid-column: 1 / 7; }
body[data-page="selected"] .curated-item:nth-child(3) { grid-column: 9 / 13; margin-top: var(--s6); }
body[data-page="selected"] .curated-item:nth-child(4) { grid-column: 3 / 13; }
body[data-page="selected"] .curated-item:nth-child(5) { grid-column: 1 / 7; }
body[data-page="selected"] .curated-item:nth-child(6) { grid-column: 8 / 13; margin-top: 80px; }
.curated-media img { width: 100%; height: auto; filter: none; }
body[data-page="selected"] .curated-item figcaption { display: block; color: var(--muted); font-size: var(--type-caption); margin-top: var(--s2); }
.project-entry { display: grid; grid-template-columns: 1fr 3fr; gap: var(--s4); border: 0; padding-top: 0; }
.project-entry-index p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.9; }
.project-entry-image { display: block; }
.project-entry-image img { width: 100%; height: auto; }
.project-entry-detail { display: grid; grid-template-columns: 2fr 1fr; gap: var(--grid-gap); margin-top: var(--grid-gap); }
.project-entry-detail h2 { font-size: 32px; line-height: 1.6; margin: var(--s2) 0 16px; }
.project-entry-detail p { color: var(--text-soft); font-size: 13px; margin: 0; }
.project-entry-action { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 24px; }
.collection-end { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-top: 80px; padding: var(--s4) 0 var(--s6); border-top: 1px solid var(--line); }
.collection-end>p { font-family: var(--font-display); font-size: 24px; line-height: 1.6; margin: 0; }
.moved-photo-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: var(--type-caption); color: var(--muted); padding-bottom: var(--s5); }
.moved-photo-links p { margin: 0; }
/* Text pages use narrow measures rather than oversized service headlines. */
.profile-intro { display: grid; grid-template-columns: 1fr 3fr; gap: var(--s4); padding: 0; border: 0; margin-bottom: 88px; }
.profile-intro>div { grid-column: 2; }
.profile-intro h2 { font-size: 34px; line-height: 1.7; margin: 0 0 var(--s4); letter-spacing: -.025em; }
.profile-intro>div>p { max-width: 36rem; color: var(--text-soft); font-size: var(--type-body); line-height: 2; margin-bottom: var(--s3); }
.profile-links { display: flex; flex-wrap: wrap; gap: 24px; }
.profile-intro .profile-links { margin-top: var(--grid-gap); }
.profile-services .edit-section-head { margin-bottom: 24px; }
#services-title { scroll-margin-top: var(--grid-gap); }
.service-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s5); margin-left: 25%; border-top: 1px solid var(--line); padding: var(--grid-gap) 0; }
.service-row h3 { font-family: var(--font-ui); font-weight: 400; font-size: 19px; line-height: 1.6; margin: 0; }
.service-row h3 span { display: block; font-family: var(--font-ui); color: var(--muted); font-size: var(--type-caption); margin-top: var(--s1); }
.service-row>p { margin: 0; font-size: 14px; color: var(--text-soft); line-height: 1.9; }
.inquiry-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14%; border: 0; padding: 0; }
.inquiry-layout h2 { font-size: 28px; line-height: 1.7; margin: 0 0 24px; }
.inquiry-intro { font-size: var(--type-body); line-height: 2; color: var(--text-soft); margin-bottom: 40px; }
.inquiry-email { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--grid-gap); }
.inquiry-email>a { font-family: var(--font-ui); font-size: clamp(24px,2.7vw,38px); letter-spacing: -.035em; line-height: 1.4; overflow-wrap: anywhere; }
.inquiry-layout .commission-link { display: inline-flex; align-items: center; gap: 36px; min-height: 46px; padding: var(--s2) var(--s3); font-size: 13px; font-weight: 400; letter-spacing: 0; white-space: nowrap; background: var(--text); color: var(--bg); border: 1px solid var(--text); border-radius: 0; box-shadow: none; }
.inquiry-layout .commission-link:hover { background: transparent; color: var(--text); }
.inquiry-wechat { border-top: 1px solid var(--line); margin-top: var(--s4); padding-top: var(--s3); }
.inquiry-wechat-line { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.inquiry-wechat .contact-qr-trigger { font-family: var(--font-ui); font-weight: 400; font-size: 13px; letter-spacing: 0; line-height: 1.6; }
.inquiry-wechat .contact-qr-popover { display: none; position: static; width: min(100%,240px); margin: 24px 0 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; pointer-events: auto; transform: none; }
.inquiry-wechat.is-open .contact-qr-popover { display: block; }
.inquiry-wechat.is-open .contact-qr-trigger::after { content: '−'; }
.inquiry-wechat .contact-qr-popover img { width: 100%; height: auto; }
.inquiry-wechat .contact-qr-popover p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: var(--s2); }
.inquiry-brief ol { list-style: none; padding: 0; margin: 0; }
.inquiry-brief li { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.inquiry-brief li::before { display: none; }
.inquiry-brief h3 { font-family: var(--font-ui); font-size: var(--type-body); font-weight: 500; line-height: 1.8; margin: 0 0 var(--s1); }
.inquiry-brief li p,.inquiry-footnote { font-size: 13px; line-height: 1.9; color: var(--text-soft); margin: 0; }
.inquiry-footnote { color: var(--muted); }
/* Case study: title, facts and film remain one composition. */
.case-back,.case-text-link { font-family: var(--font-ui); font-weight: 400; font-size: 13px; }
.case-back { margin-bottom: var(--s5); }
.case-intro { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 80px; row-gap: var(--s3); align-items: end; }
.case-year { grid-column: 1 / -1; font-family: var(--font-ui); font-size: 12px; color: var(--muted); margin: 0; }
.case-intro h1 { font-family: var(--font-display); font-size: clamp(38px,4.6vw,64px); line-height: 1.5; font-weight: 400; letter-spacing: -.03em; margin: 0; }
.case-lead { font-size: 18px; line-height: 1.9; max-width: 26rem; }
.case-lead p { margin-bottom: 24px; }
.case-facts { grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--grid-gap); margin: var(--s5) 0 80px; padding: var(--s3) 0 0; border-top: 1px solid var(--line); border-bottom: 0; }
.case-facts dt { font-size: var(--type-caption); color: var(--muted); margin-bottom: var(--s1); }
.case-facts dd { font-size: 13px; }
.case-section-head { display: block; margin-bottom: var(--grid-gap); }
.case-section-head h2 { font-size: 28px; font-weight: 400; line-height: 1.6; }
.case-film,.case-story,.case-stills,.case-cover { margin-bottom: 96px; }
.case-film video { max-width: 960px; }
.case-media-note { max-width: 960px; font-size: var(--type-caption); margin-top: var(--s2); }
.case-story { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.case-story-copy { width: 100%; max-width: 38rem; font-size: var(--type-body); line-height: 2; margin-left: 0; }
.case-still-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--grid-gap); align-items: start; }
.case-still-grid figure:nth-child(1) { grid-column: 1 / 8; }
.case-still-grid figure:nth-child(2) { grid-column: 9 / 13; margin-top: 96px; }
.case-still-grid figure:nth-child(3) { grid-column: 4 / 12; margin-top: var(--s4); }
.case-still-grid figcaption { font-size: var(--type-caption); color: var(--muted); }
.case-cover-layout { grid-template-columns: 1fr 1fr; gap: 10%; }
.case-cover-layout img { max-width: 540px; }
.case-cover-copy { font-size: var(--type-body); line-height: 2; }
.case-commission { margin-bottom: 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.case-commission .commission-copy h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; line-height: 1.7; }
.case-commission .commission-copy>p { font-size: 14px; color: var(--text-soft); }
.case-commission .commission-link { font-size: 13px; white-space: nowrap; }
[data-parallax],.reveal,.reveal-media { transform: none !important; opacity: 1 !important; filter: none !important; }
.cursor-dot { display: none !important; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 a,button { transition: color 180ms var(--ease), opacity 180ms var(--ease), background 180ms var(--ease); }
 .portfolio-cover img,.edit-photo img,.project-entry-image img { transition: opacity 280ms var(--ease); }
 .edit-photo a:hover img,.project-entry-image:hover img { opacity: .88; }
 button:active { transform: translateY(1px); }
}
@media(max-width:1100px) {
 :root { --page-width: calc(100% - 64px); }
 .site-nav { gap: 22px; }
 .site-nav a span { display: none; }
 .portfolio-introduction { grid-column: 1 / 6; }
 .portfolio-cover { grid-column: 6 / 13; }
 .portfolio-introduction h1 { font-size: 42px; }
 .inquiry-layout { gap: 8%; }
}
@media(max-width:780px) {
 :root { --page-width: calc(100% - 40px); }
 .site-header,body:not([data-page="home"]) .site-header,.site-header.is-scrolled { min-height: 72px; padding: 14px 0; flex-wrap: wrap; gap: 0; }
 .site-header .site-mark { font-size: 23px; }
 .menu-toggle { display: block; padding: 6px 0 6px var(--s3); }
 .site-nav { display: none; flex-basis: 100%; }
 .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 16px; padding: var(--s2) 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
 .site-nav a { justify-content: space-between; min-height: 44px; padding: var(--s2) 0; }
 .site-nav a span { display: inline; }
 .page-shell { padding-top: 40px; }
 .edit-home { padding-top: var(--grid-gap); }
 .portfolio-opening { display: flex; flex-direction: column; gap: var(--s4); }
 .portfolio-introduction { padding-top: 0; display: grid; grid-template-columns: 1fr auto; gap: 16px; width: 100%; }
 .portfolio-introduction h1 { grid-column: 1 / -1; font-size: 36px; line-height: 1.4; margin-bottom: 4px; }
 .portfolio-introduction h1 br { display: none; }
 .portfolio-introduction>p { font-size: 13px; line-height: 1.9; margin: 0; }
 .portfolio-introduction>a { align-self: end; font-size: 12px; }
 .portfolio-cover { width: 100%; }
 .portfolio-cover figcaption { font-size: 10px; margin-top: 10px; }
 .edit-selection,.edit-case { margin-top: var(--s6); }
 .edit-section-head { gap: var(--s3); margin-bottom: var(--grid-gap); }
 .edit-section-head h2 { font-size: 25px; }
 .edit-section-head>a { font-size: 12px; }
 .edit-photo-sequence { display: flex; flex-direction: column; gap: 40px; }
 .edit-home .edit-photo:nth-child(n) { width: 100%; margin: 0; }
 .edit-home .edit-photo:nth-child(1),.edit-home .edit-photo:nth-child(5) { width: 84%; }
 .edit-home .edit-photo:nth-child(5) { align-self: flex-end; }
 .edit-categories { justify-content: flex-start; gap: 16px 24px; }
 .edit-categories span { display: none; }
 .edit-case-layout { grid-template-columns: 1fr; gap: var(--grid-gap); }
 .edit-case-copy h3 { font-size: 32px; margin: var(--s2) 0 var(--s3); }
 .edit-case-copy h3 br { display: none; }
 .edit-case-copy>p:not(.eyebrow) { margin-bottom: 24px; }
 .edit-contact { margin-top: var(--s6); padding: var(--s4) 0 56px; }
 .edit-contact>div { display: block; }
 .edit-contact h2 { font-size: var(--type-section); margin-bottom: var(--s3); }
 .edit-contact p { margin-bottom: 24px; line-height: 1.9; }
 .page-footer { display: block; padding: 24px 0 var(--s4); }
 .footer-note { margin-top: var(--s3); max-width: 32rem; font-size: 10px; }
 .collection-intro { padding-bottom: 40px; }
 .collection-intro h1 { font-size: 36px; margin-bottom: var(--s3); line-height: 1.5; }
 .collection-lead { display: block; }
 .collection-lead p { font-size: 14px; margin-bottom: 24px; }
 .collection-lead>a { font-size: 12px; }
 .photo-directory { flex-wrap: wrap; gap: var(--s3) var(--grid-gap); margin-bottom: var(--s5); }
 .photo-directory a { margin: 0; }
 .photo-directory strong { font-size: 13px; }
 .photo-directory [lang] { font-size: 10px; }
 .curated-series-head h2 { font-size: 25px; }
 .curated-series-head p { font-size: 12px; }
 body[data-page="selected"] .curated-series-head { margin-bottom: var(--grid-gap); }
 body[data-page="selected"] .curated-gallery { grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px; }
 body[data-page="selected"] .curated-item:nth-child(n) { grid-column: 1; width: 100%; margin: 0; }
 body[data-page="selected"] .curated-item:nth-child(3) { width: 82%; justify-self: end; }
 .project-entry { grid-template-columns: 1fr; gap: var(--s3); }
 .project-entry-index p br { display: none; }
 .project-entry-detail { grid-template-columns: 1fr; gap: 24px; }
 .project-entry-detail h2 { font-size: 28px; }
 .project-entry-action { flex-direction: row; align-items: baseline; }
 .collection-end { display: block; margin-top: 56px; padding: 24px 0 var(--s5); }
 .collection-end>p { font-size: 22px; margin-bottom: var(--s3); }
 .moved-photo-links { gap: 16px; font-size: 10px; }
 .profile-intro { display: block; margin-bottom: 64px; }
 .profile-intro h2 { font-size: 27px; line-height: 1.6; margin-bottom: 24px; }
 .profile-intro>div>p { font-size: 14px; line-height: 2; }
 .service-row { grid-template-columns: 1fr; gap: 16px; margin-left: 0; padding: 24px 0; }
 .service-row h3 { font-size: 18px; }
 .service-row>p { font-size: 14px; }
 .inquiry-layout { grid-template-columns: 1fr; gap: 56px; }
 .inquiry-layout h2 { font-size: 25px; }
 .inquiry-intro { margin-bottom: var(--grid-gap); font-size: 14px; }
 .inquiry-email>a { font-size: clamp(24px,7vw,32px); }
 .inquiry-brief { border-top: 1px solid var(--line); padding-top: var(--grid-gap); }
 .case-back { margin-bottom: var(--s4); font-size: 12px; }
 .case-intro { grid-template-columns: 1fr; gap: 24px; }
 .case-intro h1 { font-size: 38px; }
 .case-year { font-size: var(--type-caption); }
 .case-lead { font-size: 16px; }
 .case-facts { grid-template-columns: 1fr 1fr; gap: 24px; margin: var(--s4) 0 56px; }
 .case-section-head h2 { font-size: 25px; }
 .case-film,.case-story,.case-stills,.case-cover { margin-bottom: 64px; }
 .case-story { grid-template-columns: 1fr; gap: 0; }
 .case-story-copy { font-size: 14px; }
 .case-still-grid { grid-template-columns: 1fr; gap: var(--s4); }
 .case-still-grid figure:nth-child(n) { grid-column: 1; margin: 0; }
 .case-cover-layout { grid-template-columns: 1fr; gap: 24px; }
 .case-cover-copy { font-size: 14px; }
 .case-commission { padding-top: var(--grid-gap); margin-bottom: 40px; }
 .case-commission .commission-copy h2 { font-size: 25px; }
}
@media(max-width:360px) {
 :root { --page-width: calc(100% - 32px); }
 .portfolio-introduction h1 { font-size: var(--type-section); }
 .portfolio-introduction { display: block; }
 .portfolio-introduction>p { margin: var(--s3) 0; }
 .portfolio-introduction>a { display: inline-block; }
 .collection-intro h1 { font-size: 32px; }
 .case-intro h1 { font-size: 34px; }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Final interaction and optical checks from the design/accessibility review. */
body p { text-wrap: pretty; }
a,button { touch-action: manipulation; }
.site-header,body:not([data-page="home"]) .site-header,.site-header.is-scrolled { padding-block: 18px; }
.site-header .site-mark { display: inline-flex; align-items: center; min-height: 44px; }
.lightbox { overscroll-behavior: contain; }
@media(max-width:780px) {
 .site-header,body:not([data-page="home"]) .site-header,.site-header.is-scrolled { padding-block: 14px; }
 .text-link,.profile-links a,.collection-lead a,.edit-section-head>a,.edit-case-copy>a,.edit-contact a,.collection-end a,.project-entry-action a,.footer-contact { min-height: 44px; display: inline-flex; align-items: center; }
 .photo-directory a { min-height: 44px; align-items: center; }
}

/* Swiss / Bauhaus: a typographic grid with a functional vermilion field. */
:root { --page-width: min(1600px,calc(100% - 80px)); --line: #b9b9af; --line-strong: #151713; --type-section: 40px; }
.site-header,body:not([data-page="home"]) .site-header,.site-header.is-scrolled { min-height: 80px; padding-block: 12px; border-bottom: 1px solid var(--text); }
.site-header .site-mark { font-weight: 850; font-size: 26px; }
.site-nav a { font-weight: 650; }
.site-nav [aria-current] { color: var(--accent); }
.edit-home { padding-top: 24px; }
.swiss-masthead { border-bottom: 1px solid var(--text); margin-bottom: 24px; padding-bottom: 18px; }
.swiss-masthead h1 { font-family: Archivo,sans-serif; font-weight: 900; font-size: clamp(64px,16.1vw,274px); line-height: .82; letter-spacing: -.075em; margin: 0 0 24px -.055em; white-space: nowrap; }
.swiss-descriptor { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.swiss-opening-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.swiss-cover { margin: 0; min-width: 0; }
.swiss-cover img { width: 100%; height: auto; display: block; }
.swiss-cover figcaption { display: flex; justify-content: space-between; font-size: 11px; padding-top: 10px; }
.swiss-practice { background: var(--accent); color: var(--bg); aspect-ratio: 3/4; padding: 28px; display: flex; flex-direction: column; }
.swiss-practice-label { font-size: 11px; margin: 0 0 32px; }
.swiss-practice h2 { font-size: clamp(32px,4.2vw,68px); font-weight: 800; line-height: 1.14; letter-spacing: -.055em; margin: 0; }
.swiss-practice-bottom { margin-top: auto; padding-top: 24px; }
.swiss-practice-bottom p { font-size: 13px; line-height: 1.8; margin: 0 0 24px; }
.swiss-practice a { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid currentColor; padding-top: 14px; font-size: 18px; font-weight: 700; min-height: 44px; }
.swiss-practice a span { font-size: 32px; line-height: 1; }
.swiss-practice a:focus-visible { outline-color: var(--bg); }
.edit-selection,.edit-case { margin-top: 96px; }
.edit-section-head { border-top: 2px solid var(--text); padding-top: 18px; margin-bottom: 40px; align-items: start; }
.edit-section-head h2 { font-weight: 800; letter-spacing: -.05em; line-height: 1.15; }
.section-translation { font-size: 12px; color: var(--text); margin-top: 12px; }
.edit-section-head>a { color: var(--accent); font-weight: 650; }
.edit-photo-sequence { gap: 64px 24px; }
.edit-photo:nth-child(1) { grid-column: 1/5; }
.edit-photo:nth-child(2) { grid-column: 6/13; margin-top: 64px; }
.edit-photo:nth-child(3) { grid-column: 1/10; }
.edit-photo:nth-child(4) { grid-column: 1/8; margin-top: 40px; }
.edit-photo:nth-child(5) { grid-column: 9/13; }
.edit-photo:nth-child(6) { grid-column: 4/13; }
.edit-categories { justify-content: stretch; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; }
.edit-categories a { border-top: 1px solid var(--text); padding-top: 12px; font-weight: 700; }
.edit-case-layout { grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.edit-case-copy { padding: 24px 0 0; border-top: 1px solid var(--text); }
.edit-case-copy h3 { font-size: clamp(30px,3.7vw,60px); font-weight: 800; line-height: 1.18; letter-spacing: -.055em; margin: 24px 0; }
.edit-case-copy>a { color: var(--accent); font-weight: 700; }
.edit-contact h2 { font-size: clamp(40px,6vw,88px); font-weight: 800; letter-spacing: -.055em; }
.edit-contact a { color: var(--accent); font-weight: 700; }
.page-shell { padding-top: 56px; }
.collection-intro h1 { font-size: clamp(48px,7vw,104px); font-weight: 800; line-height: 1.12; letter-spacing: -.06em; }
.collection-intro { padding-bottom: 40px; }
.photo-directory { border-top-color: var(--text); margin-bottom: 64px; }
.photo-directory strong { font-weight: 750; font-size: 20px; }
body[data-page="selected"] .curated-series-head { border-top: 2px solid var(--text); padding-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: baseline; }
.curated-series-head h2 { font-size: 40px; font-weight: 800; line-height: 1.15; }
.profile-intro h2 { font-size: clamp(32px,4vw,58px); font-weight: 750; line-height: 1.3; }
.service-row { border-top-color: var(--text); }
.service-row h3 { font-weight: 750; font-size: 24px; }
.inquiry-layout h2 { font-weight: 800; font-size: 32px; line-height: 1.3; }
.inquiry-layout .commission-link { background: var(--accent); border-color: var(--accent); font-weight: 650; }
.inquiry-email>a { font-weight: 700; }
.inquiry-brief h3 { font-weight: 750; }
.project-entry { border-top: 2px solid var(--text); padding-top: 24px; }
.project-entry-detail h2 { font-weight: 800; font-size: 40px; line-height: 1.2; }
.case-intro h1 { font-weight: 800; font-size: clamp(40px,6vw,88px); line-height: 1.2; }
.case-section-head h2,.case-commission .commission-copy h2 { font-weight: 800; }
.case-section-head { border-top: 1px solid var(--text); padding-top: 16px; }
.collection-end>p { font-weight: 700; }
@media(min-width:1700px) { .swiss-masthead h1 { font-size: 274px; } }
@media(max-width:1100px) { :root { --page-width: calc(100% - 48px); } .swiss-practice { padding: 22px; } .swiss-practice-label { margin-bottom: 24px; font-size: 10px; } .swiss-practice-bottom p { font-size: 12px; margin-bottom: 16px; } }
@media(max-width:780px) {
 :root { --page-width: calc(100% - 32px); --grid-gap: 20px; }
 .site-header,body:not([data-page="home"]) .site-header,.site-header.is-scrolled { min-height: 68px; }
 .edit-home { padding-top: 20px; }
 .swiss-masthead { padding-bottom: 12px; margin-bottom: 16px; }
 .swiss-masthead h1 { font-size: 15.7vw; margin-bottom: 20px; }
 .swiss-descriptor { font-size: 9px; gap: 10px; }
 .swiss-descriptor span:last-child { max-width: 128px; text-align: right; }
 .swiss-opening-grid { grid-template-columns: 1fr; gap: 20px; }
 .swiss-cover figcaption { font-size: 10px; }
 .swiss-practice { aspect-ratio: auto; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
 .swiss-practice-label { grid-column: 1/-1; margin: 0; }
 .swiss-practice h2 { font-size: 36px; }
 .swiss-practice-bottom { padding: 0; margin: 0; align-self: end; }
 .swiss-practice-bottom p { font-size: 11px; line-height: 1.75; margin-bottom: 12px; }
 .swiss-practice a { font-size: 15px; padding-top: 8px; }
 .edit-selection,.edit-case { margin-top: 64px; }
 .edit-section-head { margin-bottom: 28px; padding-top: 16px; }
 .edit-section-head h2 { font-size: 32px; }
 .edit-categories { grid-template-columns: 1fr 1fr; margin-top: 32px; }
 .edit-case-layout { grid-template-columns: 1fr; gap: 24px; }
 .edit-case-copy h3 { font-size: 36px; }
 .edit-contact h2 { font-size: 48px; }
 .collection-intro h1 { font-size: 48px; }
 .page-shell { padding-top: 36px; }
 body[data-page="selected"] .curated-series-head { display: block; }
 .curated-series-head h2 { font-size: 32px; }
 .project-entry-detail h2 { font-size: 32px; }
 .profile-intro h2 { font-size: 30px; }
 .inquiry-layout h2 { font-size: 28px; }
 .case-intro h1 { font-size: 42px; }
}
@media(max-width:360px) { .swiss-practice { padding: 18px; gap: 16px; } .swiss-practice h2 { font-size: 31px; } .swiss-descriptor { font-size: 8px; } }
body:not([data-page="home"]) .site-header .site-mark,.site-header.is-scrolled .site-mark { font-size: 26px; font-weight: 850; letter-spacing: -.055em; }
body:not([data-page="home"]) .site-nav a,.site-header.is-scrolled .site-nav a { font-weight: 650; }
body:not([data-page="home"]) .site-nav [aria-current] { color: var(--accent); }
/* Author-led opening: a photographic spread, with a working index in the margin. */
.swiss-masthead h1 { font-size: clamp(64px,13.3vw,228px); letter-spacing: -.07em; margin-bottom: 28px; }
.artist-opening { display: grid; grid-template-columns: minmax(0,9fr) minmax(0,3fr); gap: 32px; align-items: start; }
.artist-main { margin: 0; }
.artist-main>a { display: block; position: relative; }
.artist-main img { display: block; width: 100%; height: auto; }
.artist-main figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; font-size: 11px; }
.image-enter { position: absolute; right: 20px; bottom: 20px; padding: 10px 16px; color: var(--text); background: var(--bg); font-size: 12px; opacity: 0; transform: translateY(5px); transition: opacity 180ms,transform 180ms; }
.artist-main a:hover .image-enter,.artist-main a:focus-visible .image-enter { opacity: 1; transform: none; }
.artist-index { min-width: 0; }
.artist-index-heading { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--text); padding-top: 10px; font-size: 11px; margin-bottom: 28px; }
.artist-secondary { display: block; width: 65%; margin: 0 0 28px auto; }
.artist-secondary img { width: 100%; height: auto; }
.artist-secondary>span { display: block; margin-top: 9px; font-size: 10px; }
.artist-index nav>a { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding: 11px 0; font-size: 17px; font-weight: 700; min-height: 44px; }
.artist-index nav>a>span:first-child { color: var(--accent); font-size: 10px; font-weight: 500; }
.artist-index nav small { font-size: 10px; font-weight: 400; color: var(--muted); }
.artist-index nav>a>span:last-child { margin-left: auto; font-size: 10px; font-weight: 400; }
.artist-signature { border-top: 1px solid var(--text); padding-top: 16px; margin-top: 20px; font-size: 10px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.artist-signature>a { color: var(--accent); }
.photo-directory { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 12px 0; border-bottom: 1px solid var(--text); gap: 32px; }
.photo-directory a { margin: 0; min-height: 44px; }
.photo-directory a[aria-current="location"] strong { color: var(--accent); }
body[data-page="selected"] .curated-series { scroll-margin-top: 100px; }
.lightbox { background: #11120f; color: #f1f0e9; }
.lightbox button:focus-visible { outline-color: #f1f0e9; }
.lightbox-thumb.is-active { outline: 1px solid #f1f0e9; outline-offset: 2px; }
.lightbox-stage { cursor: default; }
@media(hover:hover) { .artist-index nav>a:hover { color: var(--accent); } .artist-secondary:hover { opacity: .85; } }
@media(max-width:1100px) { .artist-opening { grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 24px; } }
@media(max-width:780px) {
 .swiss-masthead h1 { font-size: 15.7vw; margin-bottom: 24px; }
 .artist-opening { grid-template-columns: 1fr; gap: 32px; }
 .artist-main figcaption { font-size: 10px; }
 .artist-index { display: grid; grid-template-columns: 1fr 1.4fr; column-gap: 24px; }
 .artist-index-heading { grid-column: 1/-1; margin-bottom: 20px; }
 .artist-secondary { width: 100%; margin: 0; }
 .artist-index nav { align-self: start; }
 .artist-index nav>a { font-size: 16px; gap: 8px; padding: 8px 0; }
 .artist-index nav small { display: none; }
 .artist-signature { grid-column: 1/-1; margin-top: 24px; }
 .artist-signature a { min-height: 44px; display: inline-flex; align-items: center; }
 .artist-signature>span { align-self: center; }
 .image-enter { opacity: 1; transform: none; right: 12px; bottom: 12px; padding: 7px 12px; font-size: 11px; }
 .photo-directory { flex-wrap: nowrap; gap: 0; justify-content: space-between; padding-block: 8px; margin-bottom: 40px; }
 .photo-directory a { gap: 0; }
 .photo-directory strong { font-size: 16px; }
 .photo-directory [lang] { display: none; }
 body[data-page="selected"] .curated-series { scroll-margin-top: 88px; }
}
@media(prefers-reduced-motion:reduce) { .image-enter { transform: none; } }
/* A contact-sheet view gives visitors an active way to read the photographic edit. */
.view-controls { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--text); padding: 12px 0 20px; font-size: 12px; }
.view-controls button { background: transparent; border: 1px solid transparent; color: var(--text-soft); border-radius: 0; padding: 8px 16px; font: inherit; min-height: 44px; cursor: pointer; }
.view-controls button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.view-feedback { margin-left: auto; color: var(--muted); font-size: 11px; }
body[data-gallery-view="index"] .curated-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 24px; }
body[data-gallery-view="index"] .curated-item:nth-child(n) { grid-column: auto; margin: 0; width: 100%; }
body[data-gallery-view="index"] .curated-media { aspect-ratio: 4/3; display: grid; place-items: center; background: #e7e5dd; }
body[data-gallery-view="index"] .curated-media img { width: 100%; height: 100%; object-fit: contain; }
body[data-gallery-view="index"] .curated-item figcaption { font-size: 11px; }
.curated-media:focus-visible { outline-offset: 6px; }
@media(hover:hover) {
 .curated-media img { transition: opacity 180ms ease; }
 .curated-media:hover img { opacity: .82; }
 .curated-item:has(.curated-media:hover) figcaption,.edit-photo:has(a:hover) figcaption { color: var(--accent); }
}
::view-transition-old(root),::view-transition-new(root) { animation-duration: 220ms; }
@media(max-width:780px) {
 .view-controls { gap: 8px; flex-wrap: wrap; }
 .view-controls>span:first-child { font-size: 11px; }
 .view-controls button { padding-inline: 12px; }
 .view-feedback { font-size: 10px; }
 body[data-gallery-view="index"] .curated-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
}
@media(prefers-reduced-motion:reduce) { ::view-transition-old(root),::view-transition-new(root) { animation: none; } }
/* Three images form the opening exhibition; the identity leaves room for the work. */
.author-heading { display: grid; grid-template-columns: 2fr 1fr auto; align-items: end; gap: 32px; padding: 4px 0 28px; border-bottom: 1px solid var(--text); margin-bottom: 24px; }
.author-heading h1 { font-family: Archivo,sans-serif; font-weight: 850; font-size: clamp(48px,6.7vw,106px); letter-spacing: -.065em; line-height: .88; margin: 0 0 0 -.045em; }
.author-heading p { font-size: 13px; line-height: 1.8; margin: 0; }
.author-heading p span { font-size: 11px; color: var(--muted); }
.author-heading>a { font-size: 12px; min-height: 44px; display: inline-flex; align-items: end; color: var(--accent); }
.opening-exhibition { display: grid; grid-template-columns: minmax(0,9fr) minmax(0,3fr); gap: 32px; align-items: start; }
.opening-artwork { min-width: 0; }
.opening-frame { margin: 0; }
.opening-frame[hidden] { display: none; }
.opening-frame>a { display: block; position: relative; aspect-ratio: 4/3; background: #11120f; }
.opening-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.opening-frame figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; padding-top: 12px; }
.opening-enter { position: absolute; right: 16px; bottom: 16px; font-size: 12px; padding: 10px 16px; background: var(--bg); color: var(--text); opacity: 0; transform: translateY(4px); transition: opacity 180ms,transform 180ms; }
.opening-frame a:hover .opening-enter,.opening-frame a:focus-visible .opening-enter { opacity: 1; transform: none; }
.programme-heading { border-top: 2px solid var(--text); padding: 12px 0 28px; display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.programme-option { display: grid; grid-template-columns: 26px 80px 1fr; gap: 12px; width: 100%; position: relative; text-align: left; align-items: start; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 20px 0; color: var(--text); font-family: var(--font-ui); cursor: pointer; }
.programme-option img { width: 80px; height: 96px; object-fit: contain; background: #e7e5dd; }
.programme-number { font-size: 12px; line-height: 1.4; }
.programme-title { font-size: 13px; line-height: 1.6; font-weight: 650; padding-right: 12px; }
.programme-title small { display: block; font-size: 10px; color: var(--muted); margin-top: 8px; font-weight: 400; }
.programme-indicator { position: absolute; bottom: 20px; right: 0; opacity: 0; }
.programme-option[aria-pressed="true"] { border-top-color: var(--accent); }
.programme-option[aria-pressed="true"] .programme-number,.programme-option[aria-pressed="true"] .programme-title { color: var(--accent); }
.programme-option[aria-pressed="true"] .programme-indicator { opacity: 1; }
.programme-status { font-size: 10px; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.programme-all { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--text); font-size: 13px; font-weight: 650; }
.opening-directory { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 40px; }
.opening-directory>a { display: flex; align-items: baseline; gap: 12px; font-size: 20px; font-weight: 700; padding-block: 12px; border-block: 1px solid var(--text); }
.opening-directory span { font-size: 10px; font-weight: 400; color: var(--accent); }
.opening-directory small { font-size: 10px; color: var(--muted); font-weight: 400; }
.opening-directory span:last-child { margin-left: auto; color: var(--text); }
.opening-frame.is-entering { animation: artwork-enter 240ms ease-out; }
@keyframes artwork-enter { from {opacity: .3; transform: translateY(6px);} to {opacity: 1;transform: none;} }
@media(hover:hover) { .programme-option:hover .programme-title,.opening-directory>a:hover { color: var(--accent); } }
@media(max-width:1100px) { .opening-exhibition { grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 24px; } .programme-option { grid-template-columns: 20px 64px 1fr; gap: 8px; } .programme-option img { width: 64px; height: 80px; } }
@media(max-width:780px) {
 .author-heading { grid-template-columns: 1fr auto; gap: 20px; padding-bottom: 24px; }
 .author-heading h1 { grid-column: 1/-1; font-size: 15vw; }
 .author-heading p { font-size: 12px; }
 .author-heading p span { font-size: 10px; }
 .opening-exhibition { grid-template-columns: 1fr; gap: 24px; }
 .opening-frame figcaption { font-size: 10px; }
 .opening-enter { opacity: 1; transform: none; font-size: 11px; right: 10px; bottom: 10px; padding: 8px 12px; }
 .programme-heading { padding-bottom: 16px; }
 .programme-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
 .programme-option { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; }
 .programme-option img { width: 100%; height: 92px; }
 .programme-title { font-size: 11px; padding: 0; }
 .programme-title small { font-size: 9px; margin-top: 4px; }
 .programme-indicator { top: 10px; bottom: auto; }
 .programme-status { margin: 0; padding-top: 12px; }
 .programme-all { padding: 16px 0; }
 .opening-directory { grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 32px; }
 .opening-directory>a { font-size: 17px; gap: 10px; }
}
@media(prefers-reduced-motion:reduce) { .opening-frame.is-entering { animation: none; } }
/* Programme as an editorial contents page: number, title, then image evidence. */
.programme-option { grid-template-columns: 48px 1fr 60px; gap: 12px; min-height: 140px; padding: 24px 0; align-items: start; }
.programme-number { grid-column: 1; grid-row: 1; font-family: Archivo,sans-serif; font-size: 42px; font-weight: 650; line-height: .95; letter-spacing: -.06em; }
.programme-option img { grid-column: 3; grid-row: 1; width: 60px; height: 76px; background: transparent; }
.programme-title { grid-column: 2; grid-row: 1; font-size: 15px; line-height: 1.5; font-weight: 650; padding-right: 0; }
.programme-title small { margin-top: 12px; }
.programme-option[aria-pressed="true"] { border-top-width: 2px; padding-top: 23px; }
.programme-option:not([aria-pressed="true"]) .programme-number { color: var(--muted); }
.programme-indicator { font-size: 16px; bottom: 18px; }
@media(max-width:1100px) and (min-width:781px) { .programme-option { grid-template-columns: 36px 1fr 48px; gap: 10px; } .programme-number { font-size: 34px; } .programme-title { font-size: 13px; } .programme-option img { width: 48px; height: 64px; } }
@media(max-width:780px) {
 .programme-options { gap: 14px; }
 .programme-option { display: flex; min-height: 0; padding: 16px 0; gap: 12px; }
 .programme-option[aria-pressed="true"] { padding-top: 15px; }
 .programme-number { font-size: 34px; }
 .programme-option img { width: 100%; height: 76px; order: 3; }
 .programme-title { font-size: 11px; order: 2; }
 .programme-title small { margin-top: 5px; }
 .programme-indicator { top: 16px; }
}
/* A photographic reading, with the same edit available as a light table. */
.reading-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 10px 0 36px; }
.reading-intro h1 { font-family: Archivo,sans-serif; font-size: clamp(48px,6.5vw,100px); font-weight: 850; letter-spacing: -.065em; line-height: .9; margin: 0 0 0 -.04em; }
.reading-intro>div { display: flex; align-items: baseline; gap: 32px; font-size: 12px; }
.reading-intro p { margin: 0; }
.reading-intro a { color: var(--accent); }
.reading-edit>.view-controls { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--text); margin-bottom: 36px; padding: 8px 0; }
.reading-sequence { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 88px 32px; align-items: center; }
.reading-item { margin: 0; min-width: 0; scroll-margin-top: 90px; }
.reading-item:nth-child(1) { grid-column: 1/12; }
.reading-item:nth-child(2) { grid-column: 1/5; }
.reading-item:nth-child(3) { grid-column: 6/13; }
.reading-item:nth-child(4) { grid-column: 2/6; }
.reading-item:nth-child(5) { grid-column: 7/13; }
.reading-item:nth-child(6) { grid-column: 1/7; }
.reading-item:nth-child(7) { grid-column: 7/13; margin-top: 72px; }
.reading-item:nth-child(8) { grid-column: 2/12; }
.reading-item:nth-child(9) { grid-column: 1/10; }
.reading-item:nth-child(10) { grid-column: 7/13; }
.reading-photo { position: relative; display: block; width: 100%; height: auto; min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; cursor: zoom-in; }
.reading-photo img { width: 100%; height: auto; display: block; }
.reading-item figcaption { display: flex; gap: 20px; font-size: 11px; margin-top: 12px; line-height: 1.6; }
.reading-item figcaption>span:first-child { color: var(--accent); font-variant-numeric: tabular-nums; }
.viewed-label { visibility: hidden; margin-left: auto; font-size: 10px; color: var(--muted); }
.reading-item:has([data-viewed="true"]) .viewed-label { visibility: visible; }
body[data-gallery-view="index"] .reading-sequence { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 36px 24px; align-items: start; }
body[data-gallery-view="index"] .reading-item:nth-child(n) { grid-column: auto; margin: 0; }
body[data-gallery-view="index"] .reading-photo { aspect-ratio: 4/3; display: grid; place-items: center; background: var(--bg-soft); }
body[data-gallery-view="index"] .reading-photo img { width: 100%; height: 100%; object-fit: contain; }
body[data-gallery-view="index"] .reading-item figcaption { gap: 8px; font-size: 10px; flex-wrap: wrap; }
.reading-photo[data-viewed="true"] { outline: 1px solid var(--line); outline-offset: 5px; }
.reading-photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.reading-end { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--text); margin-top: 64px; padding: 24px 0; font-size: 12px; }
.reading-end>span { color: var(--muted); }
.compare-section { margin-top: 96px; }
.compare-section>header { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; border-top: 2px solid var(--text); padding-top: 20px; margin-bottom: 32px; }
.compare-section h2 { font-size: 40px; line-height: 1.2; letter-spacing: -.04em; margin: 0; }
.compare-section header p { font-size: 13px; color: var(--text-soft); margin: 0; }
.compare-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.compare-panel { margin: 0; min-width: 0; }
.compare-panel label { display: block; font-size: 11px; margin-bottom: 8px; color: var(--muted); }
.compare-panel select { width: 100%; min-height: 44px; background: var(--bg); border: 0; border-bottom: 1px solid var(--text); border-radius: 0; color: var(--text); font-family: var(--font-ui); font-size: 14px; padding: 8px 24px 8px 0; margin-bottom: 24px; }
.compare-panel select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.compare-panel>a { display: grid; place-items: center; height: clamp(260px,35vw,520px); background: var(--bg-soft); }
.compare-panel img { width: 100%; height: 100%; object-fit: contain; }
.compare-panel figcaption,.compare-feedback { font-size: 11px; margin-top: 12px; color: var(--muted); }
body.is-lightbox-open .reading-edit>.view-controls { z-index: 0; }
body.is-lightbox-open .lightbox-image { animation: reading-enter 200ms ease-out; }
@keyframes reading-enter { from {opacity: .4; transform: scale(.985);} to {opacity: 1;transform: scale(1);} }
@media(hover:hover) { .reading-photo:hover img { opacity: .91; } .reading-end a:hover { color: var(--accent); } }
@media(max-width:780px) {
 .reading-intro { display: block; padding-bottom: 28px; }
 .reading-intro h1 { font-size: 15vw; margin-bottom: 24px; }
 .reading-intro>div { justify-content: space-between; gap: 16px; font-size: 11px; }
 .reading-intro a { min-height: 44px; display: inline-flex; align-items: center; }
 .reading-edit>.view-controls { margin-bottom: 24px; }
 .reading-sequence { display: flex; flex-direction: column; gap: 44px; align-items: stretch; }
 .reading-item:nth-child(n) { width: 100%; margin: 0; }
 .reading-item:nth-child(2),.reading-item:nth-child(4) { width: 78%; }
 .reading-item:nth-child(4),.reading-item:nth-child(10) { align-self: end; }
 .reading-item:nth-child(10) { width: 84%; }
 body[data-gallery-view="index"] .reading-sequence { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; }
 body[data-gallery-view="index"] .reading-item:nth-child(n) { width: 100%; align-self: start; }
 .reading-item figcaption { font-size: 10px; gap: 12px; }
 .reading-end { margin-top: 40px; font-size: 11px; }
 .compare-section { margin-top: 64px; }
 .compare-section>header { display: block; }
 .compare-section h2 { font-size: 32px; margin-bottom: 16px; }
 .compare-section header p { font-size: 12px; }
 .compare-pair { grid-template-columns: 1fr; gap: 36px; }
 .compare-panel>a { height: 360px; }
 .compare-panel select { font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) { body.is-lightbox-open .lightbox-image { animation: none; } }
body[data-gallery-view="index"] .reading-photo { display: block; position: relative; overflow: hidden; }
body[data-gallery-view="index"] .reading-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.compare-panel>a { position: relative; overflow: hidden; }
.compare-panel>a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
