/* Shared public styles extracted from public/assets/css/style.css. */
:root {
  color-scheme: light;
  /* Semantic public colors. Existing art.gl names remain compatibility aliases. */
  --color-background: #f7f3eb;
  --color-text: #151515;
  --color-text-secondary: rgba(21, 21, 21, .63);
  --color-text-quiet: rgba(21, 21, 21, .45);
  --color-photo-credit: color-mix(in srgb, var(--color-text) 62%, var(--color-background));
  --color-surface: rgba(255, 255, 255, .45);
  --color-border: rgba(21, 21, 21, .12);
  --color-border-strong: rgba(21, 21, 21, .18);
  --color-border-hover: rgba(169, 133, 59, .42);
  --color-link: var(--color-text);
  --color-link-hover: #8a6b2c;
  --color-link-underline: rgba(21, 21, 21, .35);
  --color-on-action: #fff;
  --color-action-hover: rgba(21, 21, 21, .86);
  --color-surface-hover: rgba(255, 255, 255, .52);
  --shadow-action: 0 14px 32px rgba(21, 21, 21, .18);
  --bg: var(--color-background);
  --ink: var(--color-text);
  --muted: var(--color-text-secondary);
  --line: var(--color-border);
  --card: var(--color-surface);
  --white: #fff;
  --dark: #151515;
  --gold: var(--color-link-hover);
  --shadow: 0 26px 70px rgba(21, 21, 21, .14);
  --header-bg: rgba(247, 243, 235, .91);
  --header-bg-scrolled: rgba(247, 243, 235, .96);
  --field-bg: rgba(255, 255, 255, .62);
  --panel-bg: rgba(255, 255, 255, .45);
  --selection: rgba(169, 133, 59, .22);
}

/* Explicit palette selected by the public header control. */
[data-theme="dark"] {
  color-scheme: dark;
  --color-background: #0d0c0a;
  --color-text: #f4efe6;
  --color-text-secondary: rgba(244, 239, 230, .66);
  --color-text-quiet: rgba(244, 239, 230, .45);
  --color-surface: rgba(255, 255, 255, .055);
  --color-border: rgba(244, 239, 230, .14);
  --color-border-strong: rgba(244, 239, 230, .22);
  --color-border-hover: rgba(210, 173, 98, .42);
  --color-link-hover: #d2ad62;
  --color-link-underline: rgba(244, 239, 230, .35);
  --color-on-action: #151515;
  --color-action-hover: rgba(244, 239, 230, .86);
  --color-surface-hover: rgba(255, 255, 255, .09);
  --shadow-action: 0 14px 32px rgba(0, 0, 0, .32);
  --white: #151515;
  --dark: #050505;
  --shadow: 0 28px 80px rgba(0, 0, 0, .42);
  --header-bg: rgba(13, 12, 10, .9);
  --header-bg-scrolled: rgba(13, 12, 10, .97);
  --field-bg: rgba(255, 255, 255, .08);
  --panel-bg: rgba(255, 255, 255, .065);
  --selection: rgba(210, 173, 98, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .25s ease, color .25s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

::selection {
  background: var(--selection);
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: -999px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--color-on-action);
}

.skip-link:focus {
  left: 10px;
}

.eyebrow {
  color: color-mix(in srgb, var(--ink) 48%, transparent);
  font-size: 12px;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: .25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--color-on-action);
}

.btn-dark:hover {
  background: var(--color-action-hover);
  box-shadow: var(--shadow-action);
}

.btn-light {
  border-color: var(--color-border-strong);
  background: transparent;
  color: var(--ink);
}

.btn-light:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  position: relative;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  letter-spacing: -.03em;
}

.nav a::after,
.footer-nav a::after,
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  display: block;
  width: 0;
  height: 1px;
  max-height: 1px;
  background: currentColor;
  transform: scaleY(.5);
  transform-origin: left center;
  transition: width .3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current]::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.footer-link:hover::after,
.footer-link:focus-visible::after {
  width: 100%;
}

.nav {
  display: flex;
  gap: 34px;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  font-size: 14px;
}

.nav a {
  position: relative;
}

.nav a:hover,
.nav a[aria-current] {
  color: var(--ink);
}

.page-hero h1 {
  max-width: 980px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 5.3vw, 72px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
}

.page-copy {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.page-hero {
  padding: 82px 0 50px;
}

.section-title {
  margin-top: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}

.text-link {
  text-decoration: underline;
  text-decoration-color: var(--color-link-underline);
  text-underline-offset: 5px;
  transition: .25s;
}

.text-link:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.site-footer {
  padding: 62px 0 28px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, var(--ink) 8%);
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(180px, .7fr) minmax(260px, 1fr);
  align-items: start;
  gap: 56px;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.footer-brand p,
.footer-contact p {
  line-height: 1.7;
}

.footer-label {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--ink) 46%, transparent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-size: 14px;
}

.footer-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.footer-link {
  display: inline-block;
  position: relative;
  margin-top: 16px;
  color: var(--color-link);
  font-size: 14px;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  color: color-mix(in srgb, var(--ink) 42%, transparent);
  font-size: 12px;
}

.detail-panel h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}

.detail-description {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.detail-description--lead {
  margin-top: 28px;
}

.breadcrumb {
  overflow-wrap: anywhere;
  margin-bottom: 22px;
  color: var(--color-text-quiet);
  font-size: 14px;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body { line-height: 1.65; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--gold); }
.page-hero .eyebrow { margin-bottom: 14px; }
.header-inner > *, .footer-inner > * { min-width: 0; }
.footer-contact { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.site-main { min-height: 50vh; }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; gap: 18px; }
  .nav { order: 3; flex-basis: 100%; justify-content: center; gap: 24px; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1240px); }
  .header-inner { padding: 14px 0; }
  .logo { font-size: 25px; }
  .header-inner .btn { min-height: 42px; padding: 10px 17px; }
  .nav { gap: 14px 22px; }
  .page-hero { padding: 36px 0 34px; }
  .page-hero h1 { font-size: 46px; }
  .site-footer { padding: 42px 0 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; max-width: 310px; }
  .footer-logo { margin-bottom: 12px; font-size: 30px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 26px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 34px; padding-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Public theme action: the icon describes the palette activated by a click. */
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-control { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.theme-control[hidden] { display: none; }
.theme-control:hover { border-color: var(--color-border-hover); color: var(--gold); }
.theme-control:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.theme-icon { display: none; flex-shrink: 0; }
[data-theme="light"] [data-theme-icon="dark"],
[data-theme="dark"] [data-theme-icon="light"] { display: block; }
@media (max-width: 620px) {
  .header-inner { column-gap: 10px; }
  .header-actions { gap: 8px; }
}

/* Shared formatted editorial content. */
.rich-copy { color: var(--muted); font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.rich-copy p { margin-bottom: 1.25em; }
.rich-copy h2, .rich-copy h3 { margin: 1.8em 0 .7em; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.15; }
.rich-copy h2 { font-size: 34px; }
.rich-copy h3 { font-size: 27px; }
.rich-copy ul, .rich-copy ol { padding-left: 1.5em; }
.rich-copy li { margin-block: .3em; }
.rich-copy a { text-decoration: underline; text-underline-offset: .2em; }
.rich-copy a:hover { color: var(--gold); }
.rich-copy > :first-child { margin-top: 0; }
.rich-copy > :last-child { margin-bottom: 0; }
.photo-credit { margin-top: 12px; color: var(--color-photo-credit); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }

/* Public navigation: native mobile disclosure, desktop links retain their layout. */
html { scroll-padding-top: calc(var(--public-header-height, 86px) + 20px); }
.mobile-inquire, .menu-toggle, .nav[hidden] { display: none; }
.menu-toggle { align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.menu-toggle:hover { color: var(--gold); }
.menu-close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
@media (max-width: 980px) {
  .site-header { background: var(--bg); backdrop-filter: none; box-shadow: none; }
  .header-inner { flex-wrap: nowrap; justify-content: space-between; gap: 16px; padding-block: 10px; min-height: 64px; }
  .header-actions { margin-left: auto; gap: 6px; }
  .desktop-inquire { display: none; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .nav { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 16px max(20px, calc((100vw - 1240px) / 2)); background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-header[data-menu-ready] .nav { position: absolute; inset: calc(100% + 1px) 0 auto; max-height: calc(100vh - var(--public-header-height, 64px)); max-height: calc(100dvh - var(--public-header-height, 64px)); overflow-y: auto; overscroll-behavior: contain; }
  .nav > a { align-self: stretch; display: flex; align-items: center; min-height: 44px; padding: 10px 0; }
  .nav > a::after { right: auto; width: 0; bottom: 6px; }
  .nav > a[aria-current]::after, .nav > a:hover::after, .nav > a:focus-visible::after { width: 24px; }
  .nav .mobile-inquire { display: flex; justify-content: center; margin-top: 10px; padding: 12px 20px; }
  .nav .mobile-inquire::after { display: none; }
  .nav .mobile-inquire:hover { color: var(--color-on-action); }
  /* Without JS, links stay available below the first row. */
  .site-header:not([data-menu-ready]) .header-inner { flex-wrap: wrap; }
  .site-header:not([data-menu-ready]) .nav { flex-basis: 100%; }
}

/* Content disclosure uses the existing text-link palette and keyboard focus. */
:is(.biography-toggle, .content-toggle) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; margin-top: 16px; padding: 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; }
:is(.biography-toggle, .content-toggle)[hidden], :is(.biography-content, [data-disclosure-content]) [hidden] { display: none !important; }
:is(.biography-toggle, .content-toggle) span { text-decoration: underline; text-decoration-color: var(--color-link-underline); text-underline-offset: .25em; }
:is(.biography-toggle, .content-toggle):hover { color: var(--gold); }
:is(.biography-toggle, .content-toggle):hover span { text-decoration-color: currentColor; }
:is(.biography-toggle, .content-toggle) svg { flex-shrink: 0; }
:is(.biography-toggle, .content-toggle)[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Shared catalog pagination: page numbers on desktop, compact status on mobile. */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding-top: 8px; margin-bottom: 60px; }
.pagination-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.pagination-control, .pagination-page { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px 12px; border-bottom: 1px solid transparent; font-size: 14px; color: var(--muted); }
.pagination-page[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.pagination a:hover { color: var(--gold); border-bottom-color: currentColor; }
.pagination [aria-disabled] { color: var(--color-text-quiet); }
.pagination-ellipsis { padding-inline: 8px; color: var(--muted); }
.pagination-summary { display: none; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 620px) {
  .pagination { justify-content: space-between; gap: 8px; flex-wrap: nowrap; }
  .pagination-pages { display: none; }
  .pagination-summary { display: inline; }
  .pagination-control { padding-inline: 4px; }
}
