@charset "UTF-8";
:root { color-scheme: light; --paper: #fafaf8; --ink: #222522; --muted: #636863; --line: #d7dad5; --accent: #8b4a58; --surface: #fffefa; --input: #fff; --soft: #f0f0e9; --on-accent: #fff; --error: #aa382a; }
:root[data-theme="dark"] { color-scheme: dark; --paper: #191c1a; --ink: #eeeee8; --muted: #b0b6af; --line: #3d443e; --accent: #d5a0ad; --surface: #222623; --input: #191d1a; --soft: #2c322d; --on-accent: #2a1c21; --error: #f2a99c; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", "Malgun Gothic", sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px; background: var(--surface); z-index: 20; }
.skip-link:focus { top: 16px; }
.back-to-top { position: fixed; right: max(20px,env(safe-area-inset-right)); bottom: max(20px,env(safe-area-inset-bottom)); z-index: 10; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: 0 3px 16px rgb(0 0 0 / .15); }
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }
body > .site-footer { padding-bottom: max(88px,calc(68px + env(safe-area-inset-bottom))); }
.site-header, main, .site-footer { max-width: 1600px; margin-inline: auto; padding-inline: 5.5%; }
main { min-height: calc(100svh - 108px); }
.site-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; min-height: 108px; gap: 12px 20px; padding-block: 16px; }
.site-header .wordmark { grid-column: 1; grid-row: 1; }
.site-header .header-actions { grid-column: 2; grid-row: 1; justify-self: end; flex-wrap: nowrap; }
.site-header .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; min-width: 0; }
[data-theme-control] { display: inline-flex; width: 44px; height: 44px; flex: 0 0 44px; }
.wordmark { font-family: Georgia, serif; font-size: clamp(1.75rem, 3.3vw, 2.75rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; white-space: nowrap; }
.wordmark-dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.site-nav a { font-size: .875rem; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 8px; }
.site-nav a:hover { color: var(--ink); }
.photo-exif { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px 18px; font-size: .8125rem; line-height: 1.6; margin: 20px 0; }
.photo-exif dt { color: var(--muted); }
.photo-exif dd { color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.metadata-gear-link { text-decoration:underline; text-decoration-color:var(--line); text-underline-offset:4px; }
.metadata-gear-link:hover { color:var(--accent); text-decoration-color:currentColor; }
.photo-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; }
.photo-tags a { font-size: .75rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 20px; color: var(--accent); }
.photo-tags a:hover { border-color: var(--accent); }
@media(max-width:700px) { .site-nav { width: 100%; justify-content: center; border-top: 1px solid var(--line); gap: 8px 16px; padding-top: 6px; } .site-nav a { font-size: .8125rem; } }
.header-note { font-size: .75rem; letter-spacing: .15em; color: var(--muted); }
.header-link { font-size: .875rem; display: flex; gap: 18px; align-items: center; }
.header-link span[aria-hidden] { color: var(--accent); font-size: 1.5rem; }
.header-actions, .viewer-actions { display: flex; align-items: center; gap: 26px; }
.language-switch { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.language-switch button { min-height: 44px; min-width: 44px; padding: 8px; background: transparent; border: 0; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.language-switch button[aria-pressed="true"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.language-switch button:hover { color: var(--accent); }
.theme-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.theme-button svg { width: 20px; height: 20px; pointer-events: none; }
.theme-button:hover { color: var(--accent); border-color: var(--accent); }
.theme-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.header-actions { flex-wrap: wrap; gap: 12px 20px; }
@media (max-width: 1200px) { .header-note { display: none; } }
html[lang="en"] h1 { font-family: Georgia, serif; letter-spacing: -.045em; }
html[lang="en"] .viewer-notes h2, html[lang="en"] .closing-note p { font-family: Georgia, serif; }
.introduction { border-top: 1px solid var(--line); padding: 72px 0 86px; display: grid; grid-template-columns: 1fr 3fr 1.25fr; gap: 24px; align-items: end; }
.eyebrow { font-size: .75rem; letter-spacing: .13em; font-weight: 600; }
.introduction .eyebrow, .explore-intro .eyebrow, .studio-heading .eyebrow { color: var(--accent); }
.intro-side { align-self: start; padding-top: 10px; display: flex; flex-direction: column; gap: 23px; }
.little-line { width: 27px; height: 2px; background: var(--accent); }
h1 { font-family: "Batang", "Noto Serif KR", Georgia, serif; font-size: clamp(2.5rem, 4.3vw, 4.5rem); font-weight: 400; margin: 0 0 22px; line-height: 1.25; letter-spacing: -.055em; }
.intro-copy p { color: var(--muted); margin: 0; line-height: 1.8; }
.edition { font-size: .75rem; line-height: 2; color: var(--accent); text-align: right; letter-spacing: .05em; }
.edition span { color: var(--muted); letter-spacing: 0; }
.edition .edition-volume { color: var(--accent); }
.photo-section { scroll-margin-top: 24px; padding-bottom: clamp(48px,6vw,80px); }
.gallery > .photo-card:last-child { margin-bottom: 0; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: .875rem; font-weight: 500; }
.section-heading h2 .section-subtitle { margin-left: 20px; font-size: .75rem; letter-spacing: .08em; color: var(--muted); }
.preview-label { font-size: .75rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 22px; row-gap: 80px; padding-top: 8px; }
.gallery .loading-frame { aspect-ratio: 3/2; background: var(--soft); }
.gallery [aria-hidden="true"]::after { content: ''; display: block; height: 32px; }
.gallery > .photo-card { grid-column: var(--card-start,auto) / span var(--card-span,6); }
.gallery > .pair-offset { margin-top: clamp(24px,4vw,64px); }
.photo-button { display: block; border: 0; padding: 0; width: 100%; background: none; text-align: left; }
.photo-frame { width: 100%; aspect-ratio: var(--photo-ratio); overflow: hidden; position: relative; background: var(--frame-bg); color: var(--frame-ink); }
.tone-stone { --frame-bg: #e5e5df; --frame-ink: #65675e; }
.tone-blue { --frame-bg: #dfe6ec; --frame-ink: #5b6873; }
.tone-silver { --frame-bg: #e4e6e7; --frame-ink: #656b6e; }
.tone-ink { --frame-bg: #343d42; --frame-ink: #c1c9ce; }
:root[data-theme="dark"] .tone-stone { --frame-bg: #30352f; --frame-ink: #c2c8bd; }
:root[data-theme="dark"] .tone-blue { --frame-bg: #2b353d; --frame-ink: #bdcbd5; }
:root[data-theme="dark"] .tone-silver { --frame-bg: #343938; --frame-ink: #c5cdca; }
:root[data-theme="dark"] .tone-ink { --frame-bg: #242c30; --frame-ink: #b9c5ca; }
.placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.frame-top, .frame-bottom { font-family: "Consolas", monospace; font-size: .75rem; letter-spacing: .1em; }
.frame-bottom { display: flex; justify-content: space-between; gap: 12px; }
.frame-center { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; font-size: .875rem; }
.frame-outline { width: 40px; height: 29px; border: 1px solid currentColor; opacity: .65; }
.gallery > .photo-card { position: relative; z-index: 0; }
.gallery > .photo-card:hover { z-index: 1; }
/* Browsing lists stay still; motion begins when a photograph is opened. */
.gallery .photo-button > .photo-frame { pointer-events: none; }
.photo-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
img.image-pending { opacity: 0; }
.card-caption { display: flex; align-items: baseline; gap: 13px; padding-top: 15px; }
.card-caption > span:first-child, .photo-heading > .photo-reference { font-family: "Consolas", monospace; font-size: .75rem; font-weight: 400; color: var(--accent); }
.photo-heading { display: flex; align-items: baseline; gap: 13px; }
.photo-heading > .photo-reference { flex: 0 0 auto; }
.photo-heading > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.card-caption h3 { margin: 0; font-size: .875rem; font-weight: 500; overflow-wrap: anywhere; }
.photo-card .photo-exposure, .gear-main .explore-card .photo-exposure { margin: 10px 0 0; font-size: .75rem; color: var(--ink); line-height: 1.7; }
.photo-card .photo-camera-note, .gear-main .explore-card .photo-camera-note { margin: 5px 0 0; font-size: .6875rem; color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.card-status { margin-left: auto; font-size: .75rem; color: var(--muted); }
.closing-note { text-align: center; padding: 110px 0 96px; }
.note-mark { color: var(--accent); font-family: Georgia, serif; font-size: 1.5rem; }
.closing-note p { font-family: "Batang", Georgia, serif; font-size: 1.75rem; margin: 24px 0 14px; }
.closing-note > span:last-child { font-size: .875rem; color: var(--muted); line-height: 1.8; }
.site-footer { position: relative; padding-block: 34px 42px; display: flex; justify-content: space-between; gap: 24px; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 5.5%; right: 5.5%; height: 1px; background: var(--line); }
.footer-wordmark { font: bold 1.75rem Georgia, serif; letter-spacing: -.06em; }
.site-footer p, .footer-right { font-size: .75rem; color: var(--muted); line-height: 1.9; }
.site-footer p { margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 8px; }
.footer-links a { display: inline-block; padding-block: 6px; font-size: .75rem; line-height: 1.6; color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.about-copy { max-width: 640px; padding-bottom: clamp(56px,8vw,100px); }
.about-copy p { color: var(--muted); font-size: 1rem; line-height: 2; margin: 0 0 24px; word-break: keep-all; overflow-wrap: anywhere; }
.about-copy .about-signature { margin-top: 36px; color: var(--ink); font-size: .875rem; }
.footer-right { display: flex; flex-direction: column; justify-content: end; text-align: right; }
.viewer-open { overflow: hidden; }
dialog { width: calc(100% - 64px); max-width: 1500px; max-height: calc(100dvh - 48px); padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; }
dialog.photo-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; overflow: hidden; }
dialog.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
dialog::backdrop { background: rgb(15 20 24 / .8); backdrop-filter: blur(7px); }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 20px; border-bottom: 1px solid var(--line); }
.viewer-brand { font: bold 1.75rem Georgia, serif; letter-spacing: -.05em; }
.viewer-counter { font: .875rem "Consolas", monospace; color: var(--muted); }
.icon-button { width: 44px; height: 44px; background: transparent; border: 0; font-size: 2rem; }
.viewer-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(144px, 26vw, 340px); min-height: 0; min-width: 0; }
.viewer-stage { --viewer-edge-width: clamp(44px, 12%, 96px); position: relative; min-width: 0; min-height: 0; }
.viewer-stage > .viewer-image { position: absolute; inset: 0; }
.viewer-image-navigation { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.viewer-image.photo-zoomed ~ .viewer-image-navigation { display: none; }
.viewer-edge { position: absolute; top: 0; bottom: 0; width: var(--viewer-edge-width); min-width: 44px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; pointer-events: auto; touch-action: pan-y pinch-zoom; -webkit-tap-highlight-color: transparent; }
.viewer-edge-previous { left: 0; }
.viewer-edge-next { right: 0; }
.viewer-edge > span { display: grid; place-items: center; width: 44px; height: 72px; color: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .95)) drop-shadow(0 0 3px rgb(0 0 0 / .6)); opacity: 0; pointer-events: none; }
.viewer-edge svg { width: 40px; height: 64px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.viewer-edge:disabled { cursor: default; }
.viewer-edge:focus-visible { outline-offset: -3px; }
.viewer-edge:focus-visible > span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .viewer-edge:hover:not(:disabled) > span { opacity: 1; } }
.viewer-image { min-width: 0; min-height: 0; padding: 12px; display: flex; flex-direction: column; overflow: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; }
.viewer-image:not(.photo-zoomed) { touch-action: pan-y pinch-zoom; }
.viewer-image.photo-zoomed { overflow: auto; user-select: none; -webkit-user-select: none; }
/* Explicit dimensions come from the pane size and the web image's pixel budget. */
.enlarged-frame { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; background: transparent; flex: 0 0 auto; margin: auto; }
.enlarged-frame img { height: 100%; }
/* Stay on the photograph itself while zooming; never intercept pan gestures. */
.enlarged-frame.photo-vintage::after, .filter-swatch-vintage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 38%, rgb(42 24 30 / .12) 66%, rgb(30 18 24 / .56) 100%), linear-gradient(135deg, rgb(241 163 109 / .12), transparent 48%, rgb(42 82 80 / .10));
  opacity: var(--vintage-strength, 1);
}
.enlarged-frame.photo-cool, .filter-swatch-cool { isolation: isolate; }
.enlarged-frame.photo-cool-vintage::after, .filter-swatch-cool-vintage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgb(22 38 62 / .14) 70%, rgb(18 30 50 / .48) 100%), linear-gradient(135deg, rgb(128 170 209 / .20), rgb(116 150 190 / .12));
}
.enlarged-frame.photo-cool::after, .filter-swatch-cool::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: rgb(158 187 230); mix-blend-mode: multiply;
  opacity: calc(var(--cool-strength, 1) * .24);
}
.viewer-zoom { position: absolute; right: 28px; bottom: 24px; z-index: 2; width: 44px; height: 44px; padding: 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: 0 3px 16px rgb(0 0 0 / .2); }
.viewer-zoom svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.viewer-zoom:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
.viewer-zoom:disabled { opacity: .4; cursor: default; }
.viewer-notes { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 20px; border-left: 1px solid var(--line); overflow-wrap: anywhere; }
.viewer-notes .eyebrow { color: var(--accent); }
.photo-filters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.photo-filters[hidden] { display: none; }
.photo-filters summary { position: absolute; right: 84px; bottom: 24px; width: 44px; height: 44px; padding: 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: 0 3px 16px rgb(0 0 0 / .2); cursor: pointer; list-style: none; pointer-events: auto; }
.photo-filters summary::-webkit-details-marker { display: none; }
.photo-filters summary > svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.photo-filters[open] summary, .photo-filters.has-filter summary { color: var(--accent); border-color: var(--accent); }
.photo-filters.has-filter summary::after { content: ''; position: absolute; right: 1px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.filter-panel { position: absolute; right: 84px; bottom: 80px; width: 156px; max-width: calc(100% - 106px); max-height: calc(100% - 96px); overflow-y: auto; overscroll-behavior: contain; padding: 4px; pointer-events: auto; }
.photo-filters summary:hover { color: var(--accent); }
.photo-filters :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-looks { display: flex; flex-direction: column; gap: 7px; }
.filter-looks button { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 3px 12px rgb(0 0 0 / .16); font-size: .75rem; line-height: 1.4; text-align: left; word-break: keep-all; }
.filter-looks button:hover { border-color: var(--accent); }
.filter-looks button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.filter-swatch { position: relative; flex: 0 0 24px; overflow: hidden; width: 24px; height: 28px; border-radius: 4px; background: linear-gradient(135deg,#c9d8ca 0%,#56776c 42%,#c19b79 43%,#d6b798 65%,#745457 100%); }
.photo-edit-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 3px; color: var(--accent); font-size: .875rem; text-decoration: none; }
.photo-edit-link[hidden] { display: none; }
.photo-edit-link:hover { border-color: var(--accent); }
.viewer-notes h2 { font: 400 2rem/1.4 "Batang", Georgia, serif; margin: 22px 0; letter-spacing: -.04em; }
.viewer-notes > p { color: var(--muted); font-size: 1rem; line-height: 1.9; word-break: keep-all; white-space: pre-line; }
.detail-meta, .detail-rights { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }
.detail-meta > span, .detail-rights > span { font-size: .875rem; }
.detail-meta p, .detail-rights p { font-size: .875rem; line-height: 1.9; color: var(--muted); white-space: pre-line; }
.detail-rights p { white-space: normal; }
.viewer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px; border-top: 1px solid var(--line); gap: 20px; }
.viewer-bottom > span { font-size: .875rem; color: var(--muted); }
.viewer-slideshow { display: flex; align-items: center; gap: 8px; }
.viewer-slideshow button, .slideshow-speed { min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: .875rem; }
.viewer-slideshow button { white-space: nowrap; }
.viewer-slideshow button:hover:not(:disabled), .viewer-slideshow button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.viewer-slideshow button:disabled, .slideshow-speed:disabled { opacity: .35; cursor: default; }
.slideshow-speed:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
@media(max-width:1000px) { .viewer-bottom > span { display: none; } }
@media(max-width:600px) { .viewer-bottom { flex-wrap: wrap; } .viewer-slideshow { flex: 1 0 100%; justify-content: center; } }
@media (min-width: 1700px) { .introduction { padding-block: 86px 100px; } }
@media (max-width: 900px) {
  .header-note { display: none; }
  .introduction { grid-template-columns: 1fr 3fr; padding: 50px 0 60px; }
  .edition { display: none; }
  .gallery { gap: 44px 18px; }
  .card-caption { flex-wrap: wrap; gap: 8px; }
  .card-status { flex-basis: 100%; margin-left: 24px; }
  .viewer-notes h2 { margin: 14px 0; }
}
@media (max-width: 760px) {
  .viewer-body { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .viewer-stage { height: min(62dvh, 640px); }
  .viewer-notes { overflow: visible; border-left: 0; border-top: 1px solid var(--line); padding: 24px 20px; }
}
@media (max-width: 580px) {
  .site-header, main, .site-footer { padding-inline: 22px; }
  .site-header { min-height: 88px; height: auto; padding-block: 16px; flex-wrap: wrap; gap: 8px 14px; }
  .header-actions { gap: 12px; }
  .header-link { gap: 6px; }
  .viewer-toolbar { flex-wrap: wrap; gap: 8px 14px; }
  .viewer-actions { gap: 8px; margin-left: auto; }
  .wordmark { font-size: 1.9rem; }
  .introduction { grid-template-columns: 1fr; gap: 25px; padding: 38px 0 42px; }
  .intro-side { flex-direction: row; align-items: center; padding: 0; }
  h1 { font-size: 2.6rem; margin-bottom: 15px; }
  .section-heading { gap: 10px; }
  .section-heading h2 .section-subtitle { display: none; }
  .gallery { display: block; }
  .photo-card { margin: 0 0 38px; }
  .gallery > .photo-card { width: 100%; margin-top: 0; }
  .gallery > .portrait-card { width: 90%; }
  .gallery > .portrait-card:nth-child(even) { margin-left: auto; }
  .placeholder { padding: 19px; }
  .card-caption { flex-wrap: wrap; }
  .card-status { flex-basis: auto; margin-left: auto; }
  .closing-note { padding: 45px 0 65px; }
  .site-footer { flex-direction: column; padding-block: 28px; }
  .site-footer::before { left: 22px; right: 22px; }
  .footer-right { text-align: left; }
  dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; }
  .viewer-toolbar { padding-inline: 20px; }
  .viewer-image { padding: 6px; }
  .viewer-zoom { right: 22px; bottom: 22px; }
  .photo-filters summary { right: 78px; bottom: 22px; }
  .filter-panel { right: 78px; bottom: 78px; max-width: calc(100% - 100px); }
  .viewer-notes { padding: 22px 20px; }
  .viewer-notes h2 { font-size: 1.5rem; }
  .viewer-notes > p { font-size: 1rem; line-height: 1.75; }
  .viewer-bottom { padding: 6px 20px; }
  .viewer-bottom > span { display: none; }
  .viewer-bottom { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width:480px) {
  .site-header .wordmark { font-size: 1.25rem; }
  .site-header .header-actions { gap: 6px; }
  .site-header .language-switch button { min-width: 36px; padding-inline: 4px; font-size: .75rem; }
  .site-header [data-theme-control], .site-header .theme-button { width: 40px; flex-basis: 40px; }
}
@media (max-width:360px) { .site-header .wordmark { font-size: 1rem; } }

/* Site-wide dropdowns. Page styles may set layout, never arrow/padding overrides. */
select:not([multiple]):not([size]) {
  appearance: none; -webkit-appearance: none;
  box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 44px;
  border: 1px solid var(--line); border-radius: 3px;
  background-color: var(--input); color: var(--ink);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 19px center, right 14px center;
  background-size: 5px 5px; background-repeat: no-repeat;
  font: inherit; font-size: .875rem; line-height: 1.4;
  padding: 11px 42px 11px 12px; text-overflow: ellipsis; white-space: nowrap;
  cursor: pointer;
}
select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
select:disabled { opacity: .5; cursor: default; }
@media (max-width:580px) { select:not([multiple]):not([size]) { font-size: 16px; } }
@media (forced-colors:active) {
  select:not([multiple]):not([size]) { appearance: auto; -webkit-appearance: auto; background-image: none; }
}

/* Only explicit button responses and photo-viewer blends are animated. */
:root { --motion-quick: 160ms; --motion-ease: cubic-bezier(.2,.65,.3,1); }
.primary, .quiet-button, .theme-button, .icon-button, .language-switch button {
  transition-property: color, background-color, border-color, box-shadow, opacity;
  transition-duration: var(--motion-quick);
  transition-timing-function: var(--motion-ease);
}
.site-header button, .site-header a, .site-nav a, .studio-nav a, .studio-account button { transition:none; }
.photo-transition-layer { z-index:0; background:var(--paper); pointer-events:none; }
[data-feedback-state] { min-height:1.7em; }
[data-feedback-state="saving"], [data-feedback-state="saved"] { color:var(--accent); }
[data-feedback-state="error"] { color:var(--error); }
[data-feedback-state="saving"]::before, [data-feedback-state="saved"]::before {
  display:inline-block; width:.85em; height:.85em; margin-right:.5em; vertical-align:-.05em;
}
[data-feedback-state="saved"]::before { content:'✓'; }
[data-feedback-state="saving"]::before {
  content:''; border:1.5px solid currentColor; border-right-color:transparent; border-radius:50%;
}
