/* Shared exhibition-inspired system. Applied to the Portraits review page first. */
:root {
  --ex-ink: #10110f;
  --ex-panel: #191a16;
  --ex-paper: #eee9de;
  --ex-muted: #b8b6ab;
  --ex-gold: #b9a77d;
  --ex-line: #45463b;
  --ex-gutter: clamp(20px, 4.6vw, 84px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--ex-ink); color: var(--ex-paper); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.gallery-open { overflow: hidden; }
::selection { color: var(--ex-ink); background: var(--ex-gold); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, input, textarea, select { font: inherit; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ex-gold); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h2 { font-size: clamp(2.2rem, 3.3vw, 3.6rem); line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
p { text-wrap: pretty; }
.shell { max-width: 1800px; padding-inline: var(--ex-gutter); margin-inline: auto; }
.ex-section { padding-block: clamp(72px, 8vw, 140px); }
.label { font-size: .75rem; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; color: var(--ex-gold); }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 20px; background: var(--ex-paper); color: var(--ex-ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.ex-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 100px; position: relative; z-index: 5; }
.ex-header::after { content: ''; position: absolute; bottom: 0; left: var(--ex-gutter); right: var(--ex-gutter); border-bottom: 1px solid var(--ex-line); }
.ex-logo { font-size: 1.6rem; letter-spacing: -.065em; text-decoration: none; line-height: 1; }
.ex-logo span { color: var(--ex-gold); }
.ex-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); font-size: .9rem; }
.ex-nav > a, .nav-group > summary { display: flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; }
.ex-nav a:hover, .nav-group > summary:hover { color: var(--ex-gold); }
.nav-group { position: relative; }
.nav-group > summary { list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group[open] > summary span { transform: rotate(45deg); }
.nav-dropdown { position: absolute; top: calc(100% + 10px); left: -20px; width: 285px; padding: 12px 20px; background: var(--ex-panel); border: 1px solid var(--ex-line); }
.nav-dropdown a { display: block; padding-block: 10px; text-decoration: none; }
.nav-dropdown a[aria-current] { color: var(--ex-gold); }
.nav-inquire { border-bottom: 1px solid var(--ex-gold); }
.ex-menu-toggle { display: none; background: none; border: 0; padding: 10px 0 10px 12px; min-height: 44px; }
.no-js .ex-menu-toggle { display: none; }
.ex-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 13px 20px; color: var(--ex-ink); background: var(--ex-paper); border: 1px solid var(--ex-paper); text-decoration: none; font-size: .95rem; line-height: 1.5; transition: background .18s, border-color .18s; }
.ex-button:hover { background: var(--ex-gold); border-color: var(--ex-gold); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding-block: 8px; border-bottom: 1px solid var(--ex-line); text-decoration: none; line-height: 1.5; font-size: .95rem; }
.text-link:hover { color: var(--ex-gold); border-color: var(--ex-gold); }
.section-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 60px; }
.section-intro p:not(.label) { max-width: 590px; margin-top: 24px; color: var(--ex-muted); font-size: 1.1rem; }
.photo-link { display: block; position: relative; }
.photo-link img { width: 100%; }
.photo-enlarge { position: absolute; bottom: 16px; right: 16px; background: rgba(16,17,15,.88); color: var(--ex-paper); padding: 7px 12px; font-size: .75rem; opacity: 0; transition: opacity .18s; }
.photo-link:hover .photo-enlarge, .photo-link:focus-visible .photo-enlarge { opacity: 1; }
figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 13px; color: var(--ex-muted); font-size: .75rem; line-height: 1.5; }
figcaption span:first-child { color: var(--ex-gold); }
.questions details { border-top: 1px solid var(--ex-line); padding-block: 4px; }
.questions details:last-child { border-bottom: 1px solid var(--ex-line); }
.questions summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; font-size: 1.1rem; line-height: 1.5; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; color: var(--ex-gold); font-size: 1.4rem; }
.questions details[open] summary::after { content: '−'; }
.questions details p { color: var(--ex-muted); padding-bottom: 20px; max-width: 640px; }
.questions details > a { margin-bottom: 20px; }
.ex-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ex-form label { display: grid; gap: 8px; font-size: .875rem; }
.ex-form label > span { display: contents; color: var(--ex-muted); }
.ex-form input, .ex-form select, .ex-form textarea { width: 100%; min-width: 0; border: 1px solid #67695d; border-radius: 0; background: var(--ex-ink); color: var(--ex-paper); padding: 12px 14px; min-height: 50px; color-scheme: dark; }
.ex-form input::placeholder { color: var(--ex-muted); }
.ex-form textarea { resize: vertical; min-height: 120px; }
.form-note, .field-help { color: var(--ex-muted); font-size: .8rem; line-height: 1.6; }
.field-help { margin-top: -13px; }
.form-submit { width: 100%; cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-status { border-left: 2px solid var(--ex-gold); padding: 12px 16px; background: var(--ex-ink); }
.form-confirmation { border-block: 1px solid var(--ex-line); padding-block: 40px; }
.form-confirmation h3 { font-size: 2.5rem; margin-block: 20px; }
.form-confirmation p:not(.label) { margin-bottom: 20px; color: var(--ex-muted); }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.local-review { margin-block: 32px; color: var(--ex-muted); font-size: .875rem; }
.local-review strong { color: var(--ex-gold); }
.local-review p { max-width: 900px; margin-block: 8px; }
.ex-footer { padding-block: 65px 25px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 60px; }
.footer-top p { font-size: .9rem; color: var(--ex-muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-links .label { margin-bottom: 16px; }
.footer-links a { display: block; width: fit-content; min-height: 44px; padding-block: 9px; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ex-line); padding-top: 22px; font-size: .75rem; color: var(--ex-muted); }
.photo-dialog { padding: 0; width: min(1400px, 100%); height: 100%; max-width: 100%; max-height: 100%; border: 0; background: var(--ex-ink); color: var(--ex-paper); }
.photo-dialog[open] { display: flex; flex-direction: column; }
.photo-dialog::backdrop { background: rgba(5,6,5,.96); }
.gallery-toolbar, .gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 24px; flex-shrink: 0; }
.gallery-toolbar p, .gallery-controls span { color: var(--ex-muted); font-size: .8rem; }
.photo-dialog button { border: 1px solid var(--ex-line); background: none; padding: 10px 16px; min-height: 44px; }
.photo-dialog button:hover { border-color: var(--ex-gold); color: var(--ex-gold); }
.photo-dialog figure { display: flex; flex-direction: column; flex: 1; min-height: 0; padding-inline: 24px; }
.photo-dialog img { flex: 1; width: 100%; min-height: 0; object-fit: contain; }
.photo-dialog figcaption { justify-content: center; flex-shrink: 0; padding-block: 12px 0; color: var(--ex-paper); }
@media (max-width: 1000px) {
  .ex-header { flex-wrap: wrap; gap: 0; min-height: 80px; padding-block: 16px; }
  .ex-menu-toggle { display: inline-flex; gap: 18px; align-items: center; }
  .ex-nav { display: block; flex-basis: 100%; padding-block: 20px 8px; }
  .js .ex-nav:not(.is-open) { display: none; }
  .ex-nav > a, .nav-group > summary { justify-content: space-between; padding-block: 10px; border-top: 1px solid var(--ex-line); }
  .nav-dropdown { position: static; width: auto; border: 0; border-left: 1px solid var(--ex-line); margin-block: 0 16px; background: none; }
  .ex-nav .nav-inquire { border-bottom: 0; color: var(--ex-gold); }
}
@media (max-width: 760px) {
  .section-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
  .section-intro p:not(.label) { font-size: 1rem; }
  .photo-enlarge { opacity: 1; right: 10px; bottom: 10px; }
  figcaption { flex-wrap: wrap; gap: 4px 16px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-top { flex-direction: column; }
  .gallery-controls, .gallery-toolbar { padding: 12px 16px; gap: 10px; }
  .photo-dialog figure { padding-inline: 16px; }
  .gallery-controls span { display: none; }
}
@media (max-width: 420px) {
  .form-row, .footer-links { grid-template-columns: 1fr; }
  .ex-button { padding-inline: 16px; gap: 15px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
