/* Neni Art — minimal gallery styles */
:root {
  --bg: #ffffff;
  --ink: #1d1d1b;
  --ink-2: #57564f;
  --muted: #8c8a83;
  --line: #e8e6e1;
  --soft: #f7f6f3;
  --accent: #1d1d1b;
  --green: #6f8f6a;
  --amber: #c49a4a;
  --red: #b4553f;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, dd a, .small a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
p a:hover, dd a:hover { border-color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.15; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(40px, 5.2vw, 68px); }
h2 { font-size: clamp(28px, 3vw, 38px); }
h3 { font-size: 22px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 34em; }

/* ---------- header ---------- */
.site-header, .admin-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter);
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 28px; font-weight: 300; letter-spacing: .04em; }
.brand-sub { font-size: 11px; text-transform: uppercase; letter-spacing: .28em; color: var(--muted); margin-top: 6px; }
.site-nav, .admin-nav { display: flex; gap: 36px; align-items: center; }
.site-nav a, .admin-nav a, .admin-nav .linklike {
  font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-2);
  padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.site-nav a:hover, .site-nav a.active, .admin-nav a:hover, .admin-nav a.active { color: var(--ink); border-color: var(--ink); }
.nav-toggle, .nav-burger { display: none; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block; font: inherit; font-size: 13px; font-weight: 400;
  text-transform: uppercase; letter-spacing: .18em;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  padding: 15px 30px; cursor: pointer; transition: background .2s, color .2s;
  border-radius: 0; text-align: center;
}
.btn:hover { background: #fff; color: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 8px 16px; font-size: 11px; }
.btn-big { padding: 17px 34px; }
.btn-block { width: 100%; }
.link-arrow { font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-2); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 36px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: inherit; }
.back { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.back:hover { color: var(--ink); }

/* ---------- layout ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { margin: 120px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 40px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.section-head h2 { margin: 0; }
.page-head { padding: 48px 0 24px; }
.page-head h1 { margin-bottom: 4px; }
.center { text-align: center; padding: 120px 0; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px);
  align-items: center; padding: 56px 0 40px; min-height: min(78vh, 760px);
}
.hero h1 { font-size: clamp(42px, 5.4vw, 76px); }
.hero-img { position: relative; display: block; }
.hero-img img { width: 100%; max-height: 74vh; object-fit: cover; }
.hero-img .caption {
  position: absolute; left: 0; bottom: -30px; font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--muted);
}

/* ---------- grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 56px 32px; }
.grid-gallery { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 64px 40px; margin-bottom: 120px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: block; }
.card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; }
.card-meta h3 { font-size: 21px; margin: 0; }
.card-meta p { margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; letter-spacing: .04em; }

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: middle; background: var(--green); }
.dot.sold { background: var(--red); }
.dot.reserved { background: var(--amber); }
.dot.hidden { background: var(--muted); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding: 12px 0 48px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.filters a { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.filters a:hover, .filters a.active { color: var(--ink); border-color: var(--ink); }
.filters .sep { flex: 1; }
.filters .toggle { display: inline-flex; align-items: center; gap: 10px; border: 0 !important; }
.filters .toggle .box { width: 12px; height: 12px; border: 1px solid var(--muted); display: inline-block; }
.filters .toggle.active .box { background: var(--ink); border-color: var(--ink); }
.empty { color: var(--muted); padding: 40px 0 120px; }

/* ---------- quote & cta ---------- */
.quote { text-align: center; margin: 140px auto; max-width: 820px; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.3; margin: 0 0 20px; }
.cta { text-align: center; padding: 100px 0 140px; border-top: 1px solid var(--line); }
.cta .btn { margin-top: 20px; }

/* ---------- artwork page ---------- */
.artwork { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 96px); padding: 32px 0 40px; align-items: start; }
.artwork-img { margin: 0; background: var(--soft); display: flex; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.artwork-img img { max-height: 80vh; width: auto; box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); cursor: zoom-in; }
.artwork-info { position: sticky; top: 32px; padding-top: 8px; }
.artwork-info h1 { font-size: clamp(36px, 4vw, 54px); margin-bottom: 6px; }
.artist { font-family: var(--serif); font-style: italic; font-size: 20px; margin: 0 0 32px; }
.specs { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0 0 32px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; padding-top: 3px; }
.specs dd { margin: 0; }
.price { font-family: var(--serif); font-size: 32px; margin: 0 0 4px; }
.artwork-info .btn { margin: 24px 0 36px; width: 100%; }
.desc { color: var(--ink-2); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 7vw, 120px); padding: 56px 0 140px; align-items: start; }
.about-text p { color: var(--ink-2); max-width: 36em; }
.about-text .lead { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--ink); margin: 8px 0 36px; }
.about-img { margin: 0; position: sticky; top: 32px; }
.about-img figcaption { margin-top: 12px; font-style: italic; font-family: var(--serif); font-size: 16px; }

/* ---------- contact & forms ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 120px); padding: 56px 0 140px; }
.contact .specs { border-bottom: 0; }
.form label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2); margin-bottom: 26px; }
.form label .muted, .form label .req { text-transform: none; letter-spacing: 0; font-size: 13px; }
.form .req { color: var(--red); }
.form input:not([type=checkbox]):not([type=file]), .form textarea, .form select {
  display: block; width: 100%; margin-top: 10px; padding: 12px 0;
  font: inherit; font-size: 17px; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  outline: none; transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form textarea { border: 1px solid var(--line); padding: 14px; resize: vertical; line-height: 1.6; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.form .row-3 { grid-template-columns: 1fr 1fr 1fr; }
.hp { position: absolute; left: -9999px; }
.flash { background: var(--soft); border-left: 2px solid var(--ink); padding: 14px 18px; margin: 0 0 28px; font-size: 15px; }
.notice { padding: 48px; background: var(--soft); }
.enquiry-art { display: flex; gap: 16px; align-items: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.enquiry-art img { width: 64px; height: 64px; object-fit: cover; }
.enquiry-art p { margin: 0; }
.enquiry-art p:last-child { font-family: var(--serif); font-size: 22px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 64px; text-align: center; }
.footer-inner p { margin: 6px 0; }
.footer-name { font-family: var(--serif); font-size: 26px; }
.footer-links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin: 20px 0 !important; font-size: 13px; text-transform: uppercase; letter-spacing: .16em; }
.footer-links a { border: 0; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }

/* ================= ADMIN ================= */
body.admin { background: #fbfaf8; }
.admin-header { border-bottom: 1px solid var(--line); max-width: none; background: #fff; padding-top: 20px; padding-bottom: 20px; }
.admin-nav { gap: 28px; flex-wrap: wrap; }
.admin-nav form.inline { display: inline; }
.admin-main { max-width: 1080px; padding-top: 48px; padding-bottom: 120px; }
.admin h1 { font-size: clamp(34px, 4vw, 48px); }
.admin h2 { font-size: 26px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.admin-top h1 { margin-bottom: 4px; }
.admin-top p { margin: 0; }
.empty-box { text-align: center; padding: 72px 24px; background: #fff; border: 1px dashed var(--line); }

.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.admin-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 14px 20px 14px 14px; }
.admin-item.status-hidden { opacity: .6; }
.admin-item .thumb img { width: 96px; height: 96px; object-fit: cover; background: var(--soft); }
.admin-item .title { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.admin-item .info p { margin: 2px 0 10px; }
.status-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font: inherit; font-size: 12px; letter-spacing: .06em; padding: 5px 12px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; border-radius: 999px; transition: all .15s; }
.pill:hover { border-color: var(--ink-2); color: var(--ink); }
.pill.on.available { background: var(--green); border-color: var(--green); color: #fff; }
.pill.on.reserved { background: var(--amber); border-color: var(--amber); color: #fff; }
.pill.on.sold { background: var(--red); border-color: var(--red); color: #fff; }
.pill.on.hidden { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.item-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; color: var(--ink-2); }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.icon-btn:disabled { opacity: .3; cursor: default; }

.edit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 32px; align-items: start; }
.edit-form .fields-col { background: #fff; padding: 36px; border: 1px solid var(--line); }
.dropzone {
  position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  min-height: 380px; background: #fff; border: 1px dashed #cfccc4; cursor: pointer; text-align: center;
  padding: 24px; margin-bottom: 12px !important; text-transform: none !important; letter-spacing: 0 !important; transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--ink); background: var(--soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone img { display: none; max-height: 460px; width: auto; margin-bottom: 16px; }
.dropzone.has-img img { display: block; }
.dropzone .dz-text { display: flex; flex-direction: column; gap: 4px; }
.dropzone strong { font-weight: 400; font-size: 15px; color: var(--ink); text-transform: uppercase; letter-spacing: .14em; }
.dropzone:not(.has-img) .dz-text::before { content: "+"; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--muted); margin-bottom: 8px; }
.check { display: flex !important; align-items: center; gap: 12px; text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.form-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 12px; }
.link-muted { color: var(--muted); font-size: 14px; }
.link-muted:hover { color: var(--ink); }
.danger-zone { margin-top: 48px; text-align: right; }
.danger { color: var(--red); font-size: 14px; border-bottom: 1px solid transparent !important; }
.danger:hover { border-color: var(--red) !important; }
.settings-form { max-width: 760px; background: #fff; padding: 12px 40px 40px; border: 1px solid var(--line); }

.login { max-width: 380px; margin: 12vh auto 0; text-align: center; }
.login .brand-name { display: block; margin-bottom: 8px; color: var(--muted); }
.login .form { text-align: left; margin: 40px 0 24px; }

.inquiry-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.inquiry { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--ink); padding: 22px 26px; }
.inquiry.handled { border-left-color: var(--line); opacity: .7; }
.inq-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.inq-head strong { font-weight: 400; font-size: 18px; }
.inq-art { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); background: var(--soft); padding: 6px 12px 6px 6px; }
.inq-art img { width: 32px; height: 32px; object-fit: cover; }
.inq-msg { white-space: pre-wrap; margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero, .artwork, .about, .contact, .edit-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 16px; }
  .hero-img { order: -1; }
  .hero-img img { max-height: 62vh; }
  .hero-img .caption { position: static; display: block; margin-top: 8px; }
  .artwork-info, .about-img { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section { margin: 80px 0; }
  .quote { margin: 96px auto; }
}
@media (max-width: 700px) {
  .site-header { padding-top: 20px; padding-bottom: 20px; position: relative; }
  .nav-burger { display: flex; flex-direction: column; gap: 7px; cursor: pointer; padding: 10px 0 10px 10px; }
  .nav-burger span { width: 26px; height: 1px; background: var(--ink); transition: transform .25s; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); z-index: 10; }
  .site-nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked + .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .grid, .grid-gallery { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .card-meta { flex-direction: column; gap: 2px; padding-top: 10px; }
  .card-meta h3 { font-size: 18px; }
  .filters { gap: 6px 18px; padding-bottom: 28px; margin-bottom: 36px; }
  .filters .sep { flex-basis: 100%; }
  .form .row, .form .row-3 { grid-template-columns: 1fr; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .admin-nav { gap: 18px; }
  .admin-item { grid-template-columns: 72px 1fr; padding: 12px; gap: 14px; }
  .admin-item .thumb img { width: 72px; height: 72px; }
  .admin-item .title { font-size: 20px; }
  .item-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .admin-top .btn-big { width: 100%; }
  .edit-form .fields-col, .settings-form { padding: 24px 18px; }
  .dropzone { min-height: 260px; }
  .notice { padding: 28px; }
}

/* ---------- language switch ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding-left: 28px; border-left: 1px solid var(--line); font-size: 12px; letter-spacing: .16em; }
.site-nav .lang-switch a, .admin-nav .lang-switch a { font-size: 12px; color: var(--muted); border-bottom: 1px solid transparent; padding: 2px 0; }
.site-nav .lang-switch a.on, .admin-nav .lang-switch a.on { color: var(--ink); border-color: var(--ink); }
.lang-sep { color: var(--line); }
.lang-tag { display: inline-block; font-size: 10px; letter-spacing: .14em; color: var(--muted); border: 1px solid var(--line); padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.field-pair { border-left: 2px solid var(--line); padding-left: 18px; margin-bottom: 26px; }
.field-pair > .hint { margin: -10px 0 18px; }
@media (max-width: 700px) {
  .site-nav .lang-switch { margin: 18px 0 0; padding: 0; border: 0; gap: 14px; }
  .site-nav .lang-switch a { width: auto; padding: 6px 0; font-size: 14px; }
  .admin-nav .lang-switch { margin-left: 0; padding-left: 0; border: 0; }
}

/* ---------- lightbox ---------- */
.zoom-hint { display: none; }
.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(255,255,255,.98); color: var(--ink);
}
.lightbox::backdrop { background: rgba(255,255,255,.98); }
.lightbox[open] { display: flex; flex-direction: column; animation: lb-in .25s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 56px 24px 8px; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; box-shadow: 0 24px 60px -30px rgba(0,0,0,.4); user-select: none; }
.lightbox.zoomed .lb-stage { display: block; overflow: auto; padding: 0; cursor: grab; }
.lightbox.zoomed .lb-stage:active { cursor: grabbing; }
.lightbox.zoomed .lb-stage img { max-width: none; max-height: none; width: auto; cursor: zoom-out; box-shadow: none; margin: 0 auto; }
.lb-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 28px 22px; }
.lb-title { font-family: var(--serif); font-size: 22px; }
.lb-close {
  position: absolute; top: 12px; right: 16px; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.8);
  font: 300 38px/1 var(--sans); color: var(--ink); cursor: pointer; border-radius: 50%;
}
.lb-close:hover { background: var(--soft); }
body.lb-lock { overflow: hidden; }

/* ---------- prev / next ---------- */
.art-pager { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; }
.art-pager a { color: var(--muted); }
.art-pager a:hover { color: var(--ink); }

/* show whole paintings in the grid — never crop artwork */
.card-img { display: flex; align-items: center; justify-content: center; padding: 18px; }
.card-img img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 24px -16px rgba(0,0,0,.35); }

@media (hover: none) { .zoom-hint { display: block; text-align: center; margin-top: 10px; } }
@media (max-width: 700px) {
  .lb-stage { padding: 60px 8px 4px; }
  .lb-bar { flex-direction: column; gap: 2px; padding: 12px 16px 18px; }
  .lb-hint { display: none; }
  .card-img { padding: 10px; }
}

/* ---------- small fixes ---------- */
.form-hint { margin: -14px 0 26px; }
.btn.busy, .btn:disabled.busy { opacity: .6; cursor: progress; background: var(--accent); color: #fff; }
/* hero: show the whole painting instead of cropping it */
.hero-img { display: flex; flex-direction: column; align-items: center; }
.hero-img img { width: auto; max-width: 100%; max-height: 74vh; object-fit: contain; }
.hero-img .caption { position: static; align-self: flex-start; margin-top: 10px; }
@media (max-width: 900px) { .hero-img img { max-height: 62vh; } }
.artwork-img { flex-direction: column; align-items: center; }

/* ---------- email alert status ---------- */
.mail-status { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--muted); padding: 16px 20px; margin: 24px 0 8px; font-size: 15px; }
.mail-status.on { border-left-color: var(--green); }
.mail-status p { margin: 0 0 8px; }
.mail-status strong { font-weight: 400; }
.mail-status form { margin-top: 10px; }
.mail-error { color: var(--red); font-size: 14px; }
.settings-after { max-width: 760px; margin-top: 8px; }
.settings-after .mail-status { margin-top: 0; }

/* ---------- newsletter ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl-form { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; }
.nl-field { flex: 1; min-width: 0; }
.nl-field input {
  width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-right: 0; border-radius: 0; background: #fff; outline: none; -webkit-appearance: none;
}
.nl-field input:focus { border-color: var(--ink); }
.nl-btn {
  height: 46px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; border-radius: 0;
}
.nl-btn:hover { background: #fff; color: var(--ink); }
.nl-btn:disabled { opacity: .6; cursor: progress; }
.nl-msg { flex-basis: 100%; margin: 8px 0 0; font-size: 14px; min-height: 0; }
.nl-msg:empty { display: none; }
.nl-msg.ok { color: var(--green); }
.nl-msg.err { color: var(--red); }
.nl-form.done .nl-field, .nl-form.done .nl-btn { display: none; }
.nl-form.done .nl-msg { margin-top: 0; font-family: var(--serif); font-size: 20px; color: var(--ink); }

.nl-pop {
  position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 360px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--line); padding: 26px 26px 18px;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease;
}
.nl-pop.show { opacity: 1; transform: none; }
.nl-pop .eyebrow { margin-bottom: 10px; }
.nl-pop h3 { font-size: 26px; margin: 0 0 8px; padding-right: 20px; }
.nl-text { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.6; }
.nl-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.nl-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font: 300 26px/1 var(--sans); color: var(--muted); cursor: pointer; }
.nl-x:hover { color: var(--ink); }

.footer-nl { max-width: 440px; margin: 0 auto 56px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-nl-title { font-family: var(--serif); font-size: 24px; margin: 0 0 16px !important; }
.footer-nl .nl-msg { text-align: left; }
.footer-nl .nl-form.done .nl-msg { text-align: center; }

.narrow { max-width: 560px; margin: 0 auto; }
.sub-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 15px; margin-top: 16px; }
.sub-table th { text-align: left; font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sub-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.sub-table td.right { text-align: right; }

@media (max-width: 700px) {
  .nl-pop { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 22px 18px 14px; }
  .nl-pop h3 { font-size: 22px; }
  .sub-table th:nth-child(3), .sub-table td:nth-child(3) { display: none; }
  .sub-table td, .sub-table th { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .nl-pop { transition: none; } }
