:root {
  --bg: #020811;
  --bg-soft: #061521;
  --ink: #fff;
  --muted: rgba(255, 255, 255, .65);
  --gold: #d09732;
  --gold-rgb: 208, 151, 50;
  --gold-light: #deaf53;
  --gold-pale: #e7d3a7;
  --gold-soft: rgba(var(--gold-rgb), .42);
  --line: rgba(var(--gold-rgb), .58);
  --shadow: rgba(0, 0, 0, .62);
  --max: 1180px;
  --nav-backdrop-opacity: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(rgba(0, 6, 12, .28), rgba(0, 6, 12, .28)), url("../images/desktop-background.webp");
  background-position: top center;
  background-repeat: repeat-y;
  background-size: 100% auto;
  font-family: "Questrial", sans-serif;
  font-size: 20px;
  line-height: 1.42;
}

main {
  flex: 1 0 auto;
}

body.is-zooming {
  overflow: hidden;
  touch-action: none;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 26px clamp(22px, 5vw, 72px) 12px;
  background: linear-gradient(rgba(2, 8, 17, .92), rgba(2, 8, 17, .35), rgba(2, 8, 17, 0));
}

.brand img {
  width: clamp(150px, 16vw, 218px);
  height: auto;
}

.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.5vw, 68px);
  margin-right: clamp(8px, 4vw, 54px);
  padding: 10px 24px;
  font-family: "Questrial", sans-serif;
  font-size: 19px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-nav::before {
  content: "";
  position: absolute;
  inset: -6px -18px;
  z-index: -1;
  border: 1px solid rgba(var(--gold-rgb), calc(.22 * var(--nav-backdrop-opacity)));
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent, rgba(0, 4, 10, calc(.7 * var(--nav-backdrop-opacity))) 11% 89%, transparent),
    linear-gradient(180deg, rgba(0, 4, 10, calc(.7 * var(--nav-backdrop-opacity))), rgba(0, 4, 10, calc(.34 * var(--nav-backdrop-opacity))), transparent);
  box-shadow: 0 18px 34px rgba(0, 0, 0, calc(.24 * var(--nav-backdrop-opacity)));
  opacity: var(--nav-backdrop-opacity);
  transition: opacity .22s ease;
}

.primary-nav a {
  color: var(--gold-pale);
  text-decoration: none;
  text-shadow: 0 2px 10px var(--shadow);
}

.primary-nav a.is-active {
  color: var(--gold);
}

.primary-nav a:hover {
  color: var(--gold-pale);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 7px auto;
  background: var(--gold);
}

.home-hero {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  min-height: clamp(640px, 55vw, 840px);
  margin-top: -118px;
  padding: 180px clamp(24px, 6vw, 88px) 82px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-art {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.home-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  filter: saturate(1.14) contrast(1.04);
  opacity: .9;
  transform-origin: 50% 43%;
  animation: hero-slow-zoom 16s ease-out forwards;
  -webkit-mask-image: radial-gradient(ellipse 76% 78% at 50% 47%, #000 0 54%, rgba(0, 0, 0, .74) 68%, rgba(0, 0, 0, .22) 84%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 78% at 50% 47%, #000 0 54%, rgba(0, 0, 0, .74) 68%, rgba(0, 0, 0, .22) 84%, transparent 100%);
}

@keyframes hero-slow-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.07);
  }
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 6, 15, .2), rgba(0, 6, 15, .08) 34%, rgba(0, 6, 15, .72) 100%),
    linear-gradient(90deg, rgba(0, 6, 15, .55), rgba(0, 6, 15, .03) 30%, rgba(0, 6, 15, .03) 70%, rgba(0, 6, 15, .55));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(520px, 86vw);
  text-align: right;
  text-shadow: 0 3px 15px rgba(0, 0, 0, .88), 0 0 35px rgba(0, 0, 0, .8);
  transform: translate(clamp(18px, 3.4vw, 50px), clamp(22px, 4vw, 46px));
}

.ornament {
  width: min(260px, 64vw);
  height: 18px;
  margin: 4px auto 12px;
  background:
    linear-gradient(90deg, transparent, var(--line) 12% 43%, transparent 43% 57%, var(--line) 57% 88%, transparent),
    radial-gradient(circle at center, var(--gold) 0 2px, transparent 3px);
}

.intro-copy .ornament {
  opacity: .7;
}

.painting-credit {
  display: inline-block;
  margin: 0;
  padding: 5px 42px 8px 18px;
  color: var(--muted);
  background: linear-gradient(90deg, rgba(0, 4, 10, .5), rgba(0, 4, 10, .36) 58%, rgba(0, 4, 10, 0));
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
  font-size: clamp(21px, 2.1vw, 27px);
  font-style: italic;
}

.home-tagline {
  width: min(var(--max), calc(100% - 48px));
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(16px, 1.35vw, 21px);
  text-align: center;
  text-transform: uppercase;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(340px, 1fr);
  gap: clamp(42px, 8vw, 120px);
  row-gap: 26px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 30px;
}

.gallery-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 12px;
  padding: 14px 0 10px;
}

.cta-quote {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .85);
  font-family: "Questrial", sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.22;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .64);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--gold-light);
  font-weight: 500;
  line-height: 1.05;
}

.intro-copy h1,
.page-title h1 {
  text-align: center;
  font-size: clamp(42px, 5vw, 62px);
}

.intro-copy p {
  margin: 22px 0;
  text-align: justify;
}

.read-more-inline {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.button-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 64px;
  width: min(100%, 390px);
  padding: 11px 24px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(5, 26, 43, .82), rgba(2, 9, 18, .68));
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34), inset 0 0 28px rgba(20, 101, 185, .18);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1;
  text-decoration: none;
}

.button-link.primary-cta {
  min-height: 76px;
  width: min(460px, 100%);
  border-color: rgba(var(--gold-rgb), .9);
  color: var(--gold-pale);
  background:
    linear-gradient(110deg, rgba(255, 226, 177, .18), transparent 34%),
    linear-gradient(180deg, rgba(14, 47, 59, .96), rgba(4, 17, 25, .86));
  font-size: clamp(36px, 4vw, 50px);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, .5),
    0 0 34px rgba(var(--gold-rgb), .24),
    inset 0 0 0 1px rgba(255, 224, 180, .16),
    inset 0 0 35px rgba(20, 101, 185, .2);
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.button-link.primary-cta::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(var(--gold-rgb), .32);
  pointer-events: none;
}

.button-link.primary-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 36%, rgba(255, 237, 202, .18) 48%, transparent 62% 100%);
  opacity: .6;
  pointer-events: none;
  transform: translateX(-42%);
  transition: transform .35s ease, opacity .18s ease;
}

.button-link.primary-cta span {
  position: relative;
  z-index: 1;
}

.arrow-icon {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 14px;
  flex: 0 0 auto;
}

.arrow-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.arrow-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.arrow-icon.left {
  transform: rotate(180deg);
}

.button-link:hover,
.form-button:hover {
  border-color: var(--gold-light);
  color: var(--gold-pale);
}

.button-link.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 58px rgba(0, 0, 0, .54),
    0 0 46px rgba(var(--gold-rgb), .34),
    inset 0 0 0 1px rgba(255, 224, 180, .2),
    inset 0 0 38px rgba(20, 101, 185, .24);
}

.button-link.primary-cta:hover::after {
  opacity: .9;
  transform: translateX(42%);
}

.bio-card,
.about-portrait {
  margin: 0;
  border: 1px solid rgba(var(--gold-rgb), .3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.bio-card img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  max-height: 340px;
  object-fit: cover;
}

.home-signature-wrap {
  display: flex;
  justify-content: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 4px auto 8px;
}

.home-signature-wrap img {
  width: min(310px, 68vw);
  opacity: .9;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 24px;
  color: var(--muted);
  text-align: center;
}

.footer-rule {
  height: 24px;
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at center, var(--gold) 0 2px, transparent 3px);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: clamp(42px, 12vw, 180px);
  margin-bottom: 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer-links svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.site-footer p {
  margin: 0;
}

.content-page,
.gallery-page {
  width: min(var(--max), calc(100% - 48px));
  min-height: 65vh;
  margin: 0 auto;
  padding: 56px 0 42px;
}

.gallery-page {
  padding-top: 20px;
}

.page-title {
  margin-bottom: 34px;
  text-align: center;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 110px;
}

.about-portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 55% center;
}

.prose {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(19px, 1.6vw, 23px);
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: clamp(34px, 3.5vw, 46px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 26px 0 10px;
  color: var(--gold);
  font-size: clamp(26px, 2.5vw, 34px);
}

.prose p,
.prose li,
.timeline dd {
  margin-top: 0;
}

.prose p {
  text-align: justify;
}

.prose ul {
  padding-left: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 10px;
}

.timeline dt {
  grid-column: 1;
  color: var(--gold);
  font-family: "Questrial", sans-serif;
}

.timeline dd {
  grid-column: 2;
  margin-left: 0;
}

.artwork-detail {
  display: grid;
  justify-items: center;
  text-align: center;
}

.artwork-frame {
  position: relative;
  width: min(620px, 86vw);
  background: #01050a;
  box-shadow: 0 0 54px rgba(0, 0, 0, .62), 0 0 18px rgba(0, 0, 0, .46);
  cursor: zoom-in;
  touch-action: none;
  overflow: hidden;
}

.artwork-frame::after {
  content: "Touch to Zoom";
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  padding: 6px 14px 8px;
  border: 1px solid rgba(var(--gold-rgb), .38);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  background: rgba(0, 5, 12, .7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .34);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}

.artwork-frame:hover::after,
.artwork-frame:focus-within::after,
.artwork-frame.show-zoom-hint::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.artwork-frame img {
  width: 100%;
  max-height: min(78vh, 860px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.artwork-frame .artwork-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.artwork-frame .artwork-placeholder {
  position: relative;
  z-index: 1;
  filter: saturate(.96);
  transition: opacity .25s ease;
}

.artwork-frame .artwork-placeholder[aria-hidden="true"] {
  opacity: 0;
}

.artwork-frame .artwork-full.is-loaded {
  z-index: 2;
  opacity: 1;
}

.artwork-detail h2 {
  margin: 24px 0 10px;
  font-size: clamp(38px, 4.3vw, 54px);
}

.artwork-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
}

.artwork-meta span + span {
  position: relative;
}

.artwork-meta span + span::before {
  content: "|";
  position: absolute;
  left: -18px;
  color: var(--line);
}

.artwork-note {
  max-width: 620px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .85);
}

.button-link.compact {
  min-height: 54px;
  width: auto;
  padding: 9px 34px 12px;
  font-size: clamp(22px, 2.4vw, 30px);
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  width: min(690px, 100%);
  margin-top: 34px;
}

.button-link.ghost {
  min-height: 48px;
  width: auto;
  min-width: 132px;
  padding: 8px 18px 11px;
  background: rgba(1, 7, 14, .48);
  box-shadow: none;
  font-size: 23px;
}

.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background-color: #02050a;
  background-repeat: no-repeat;
  background-size: min(190vw, 190vh) auto;
  cursor: zoom-out;
}

.zoom-overlay.is-visible {
  display: block;
}

@media (min-width: 900px) and (max-height: 760px) {
  .home-hero {
    min-height: clamp(500px, 82vh, 660px);
    padding-top: 156px;
    padding-bottom: 58px;
  }

  .home-art img {
    object-position: 50% 39%;
  }
}

.contact-form,
.admin-panel {
  width: min(690px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid rgba(var(--gold-rgb), .32);
  background: rgba(1, 8, 15, .42);
}

.artwork-form {
  width: min(980px, 100%);
}

.content-editor-form {
  width: min(1040px, 100%);
}

.admin-form-heading,
.admin-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-form-heading h2,
.admin-list-header h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.eyebrow {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, .65);
  font-family: "Questrial", sans-serif;
  font-size: 17px;
  text-transform: uppercase;
}

.artwork-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.form-fields {
  min-width: 0;
}

.upload-panel {
  position: sticky;
  top: 110px;
}

.upload-drop {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(var(--gold-rgb), .58);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(6, 25, 35, .82), rgba(1, 8, 15, .74)),
    radial-gradient(circle at 50% 0, rgba(var(--gold-rgb), .18), transparent 42%);
  box-shadow: inset 0 0 32px rgba(20, 101, 185, .12), 0 18px 42px rgba(0, 0, 0, .24);
  cursor: pointer;
}

.upload-drop:focus-within {
  outline: 2px solid rgba(var(--gold-rgb), .58);
  outline-offset: 3px;
}

.image-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-preview {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(var(--gold-rgb), .28);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(var(--gold-rgb), .1) 0 25%, transparent 25% 50%, rgba(var(--gold-rgb), .1) 50% 75%, transparent 75%),
    rgba(0, 5, 11, .58);
  background-size: 28px 28px;
  overflow: hidden;
}

.upload-preview::before {
  content: "Select Image";
  color: rgba(255, 255, 255, .6);
  font-family: "Questrial", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.upload-drop.has-file .upload-preview::before {
  display: none;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-copy {
  display: grid;
  gap: 4px;
}

.upload-title {
  color: var(--gold-pale);
  font-size: 28px;
  line-height: 1;
}

.upload-hint,
.upload-filename {
  color: rgba(255, 255, 255, .6);
  font-size: 18px;
  line-height: 1.18;
}

.upload-filename {
  color: var(--gold);
  overflow-wrap: anywhere;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.admin-submit,
.admin-add-link {
  width: auto;
  min-width: 190px;
}

.admin-add-link {
  min-height: 56px;
  font-size: 28px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 23px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(var(--gold-rgb), .46);
  border-radius: 4px;
  padding: 11px 13px;
  color: var(--ink);
  background: rgba(0, 5, 11, .76);
  font: 20px/1.3 "Cormorant Garamond", Georgia, serif;
}

textarea {
  resize: vertical;
}

.rich-editor-label {
  display: block;
}

.rich-editor {
  margin-top: 7px;
}

.rich-editor.is-enhanced {
  display: none;
}

.pell-editor-wrap.is-html-mode {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.pell-editor-wrap {
  margin-top: 7px;
  border: 1px solid rgba(var(--gold-rgb), .46);
  border-radius: 4px;
  overflow: hidden;
}

.pell-editor-wrap .pell-actionbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px;
  border-bottom: 1px solid rgba(var(--gold-rgb), .3);
  background: #fffaf2;
}

.pell-editor-wrap .pell-button {
  min-width: 34px;
  min-height: 32px;
  border: 0;
  border-radius: 3px;
  color: #18212a;
  background: #fffaf2;
  font: 16px/1 Georgia, serif;
  cursor: pointer;
}

.pell-editor-wrap .pell-button:hover,
.pell-editor-wrap .pell-button-selected {
  background: #ead7b8;
}

.pell-editor-wrap .html-toggle-button {
  margin-left: auto;
  padding: 0 10px;
  font-weight: 700;
}

.pell-editor-wrap .pell-content {
  min-height: 220px;
  padding: 14px 16px;
  color: #18212a;
  background: #fffaf2;
  font: 18px/1.45 Georgia, serif;
  outline: 0;
}

.pell-editor-wrap.tall .pell-content {
  min-height: 560px;
}

.pell-editor-wrap.is-html-mode .pell-content {
  display: none;
}

.rich-editor:not(.is-enhanced) {
  min-height: 220px;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  color: #18212a;
  background: #fffaf2;
  font: 16px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rich-editor.tall:not(.is-enhanced) {
  min-height: 560px;
}

.pell-editor-wrap .pell-content h2,
.pell-editor-wrap .pell-content h3 {
  color: #7e541c;
  font-weight: 500;
}

.form-button {
  cursor: pointer;
  font-family: "Questrial", sans-serif;
}

.notice {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid;
}

.notice.success {
  color: #eaf8d5;
  border-color: rgba(154, 199, 112, .62);
}

.notice.error {
  color: #ffd6c7;
  border-color: rgba(230, 108, 80, .62);
}

.empty-state {
  text-align: center;
}

.admin-list {
  display: grid;
  gap: 16px;
  width: min(960px, 100%);
  margin: 34px auto 0;
}

.admin-topline {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: -8px 0 22px;
}

.current-image {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--muted);
}

.current-image img {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(var(--gold-rgb), .35);
  object-fit: cover;
}

.reset-form {
  margin-top: 14px;
}

.admin-item {
  display: grid;
  grid-template-columns: 22px 108px minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(var(--gold-rgb), .28);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(6, 21, 33, .58), rgba(1, 8, 15, .38));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.admin-item-image-link {
  display: block;
  border-radius: 4px;
}

.admin-item img {
  width: 108px;
  height: 108px;
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(0, 0, 0, .52);
  object-fit: cover;
}

.admin-item h2 {
  font-size: 32px;
}

.admin-title-link {
  color: inherit;
  text-decoration: none;
}

.admin-item-image-link:hover img,
.admin-title-link:hover {
  color: var(--gold-pale);
}

.admin-item-image-link:hover img {
  box-shadow: 0 0 32px rgba(0, 0, 0, .62), 0 0 18px rgba(var(--gold-rgb), .12);
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.admin-list-header .reorder-hint {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.drag-handle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 22px;
  padding: 2px 0;
  color: var(--gold);
  opacity: 0.55;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: opacity 120ms ease;
}
.drag-handle span {
  display: block;
  width: 15px;
  height: 1px;
  background: currentColor;
  border-radius: 1px;
}
.admin-item:hover .drag-handle,
.drag-handle:hover {
  opacity: 0.9;
}
.admin-item.is-dragging {
  opacity: 0.35;
  outline: 1px dashed var(--gold);
  outline-offset: -2px;
  z-index: 5;
}
.admin-item.drag-over-top {
  box-shadow: inset 0 4px 0 0 var(--gold);
}
.admin-item.drag-over-bottom {
  box-shadow: inset 0 -4px 0 0 var(--gold);
}

.delete-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(980px, 100%);
  margin: 18px auto 0;
  padding: 18px clamp(18px, 3vw, 28px);
  border: 1px solid rgba(230, 108, 80, .36);
  border-radius: 6px;
  background: rgba(64, 14, 9, .22);
}

.delete-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.danger-button {
  border-color: rgba(230, 108, 80, .62);
  color: #ffd6c7;
}

.small-link,
.small-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold);
  background: transparent;
  font: 19px/1 "Cormorant Garamond", Georgia, serif;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 760px) {
  body {
    background-image: linear-gradient(rgba(0, 6, 12, .22), rgba(0, 6, 12, .22)), url("../images/mobile-background.webp");
    background-size: 100% auto;
    font-size: 19px;
  }

  .site-header {
    position: relative;
    z-index: 24;
    padding: 28px 28px 6px;
    background: transparent;
  }

  .brand img {
    width: 172px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 78px;
    right: 24px;
    z-index: 30;
    display: none;
    min-width: 190px;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    background: rgba(2, 8, 17, .96);
  }

  .primary-nav::before {
    display: none;
  }

  .primary-nav.is-open {
    display: grid;
    gap: 10px;
  }

  .home-hero {
    min-height: 620px;
    margin-top: -112px;
    padding: 118px 22px 34px;
    align-items: end;
  }

  .home-art {
    position: absolute;
    inset: 0;
    width: auto;
    min-height: 0;
  }

  .home-art img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-position: 52% 34%;
    transform-origin: 52% 34%;
    -webkit-mask-image: radial-gradient(ellipse 96% 78% at 50% 42%, #000 0 50%, rgba(0, 0, 0, .72) 66%, rgba(0, 0, 0, .18) 84%, transparent 100%);
    mask-image: radial-gradient(ellipse 96% 78% at 50% 42%, #000 0 50%, rgba(0, 0, 0, .72) 66%, rgba(0, 0, 0, .18) 84%, transparent 100%);
  }

  .home-hero::after {
    background:
      radial-gradient(ellipse 72% 36% at 0 0, rgba(2, 8, 17, .78), rgba(2, 8, 17, .38) 38%, rgba(2, 8, 17, 0) 68%),
      linear-gradient(180deg, rgba(0, 6, 15, .03), rgba(0, 6, 15, .2) 52%, rgba(0, 6, 15, .9));
  }

  .hero-copy {
    width: min(420px, 100%);
    margin: 0 0 0 auto;
    transform: translate(0, 14px);
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(640px, calc(100% - 44px));
    padding: 26px 0 30px;
  }

  .gallery-cta {
    order: 0;
    margin-bottom: 6px;
  }

  .intro-copy {
    display: contents;
  }

  .intro-copy h1,
  .intro-copy .ornament {
    order: 1;
  }

  .bio-card {
    order: 2;
  }

  .intro-copy p,
  .intro-copy .read-more-inline {
    order: 3;
  }

  .button-link.primary-cta {
    min-height: 68px;
    font-size: 38px;
  }

  .admin-form-heading,
  .admin-list-header,
  .form-actions,
  .delete-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .artwork-form-grid {
    grid-template-columns: 1fr;
  }

  .upload-panel {
    position: static;
  }

  .admin-submit,
  .admin-add-link {
    width: 100%;
  }

  .bio-card img {
    aspect-ratio: 1 / 1.02;
    max-height: none;
    object-position: 53% center;
  }

  .footer-links {
    gap: 28px;
    flex-wrap: wrap;
  }

  .content-page,
  .gallery-page {
    width: min(640px, calc(100% - 44px));
    padding-top: 30px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    position: static;
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline dt,
  .timeline dd {
    grid-column: 1;
  }

  .timeline dd + dd {
    margin-top: -4px;
  }

  .artwork-frame {
    width: min(520px, 100%);
  }

  .artwork-frame img {
    max-height: none;
  }

  .artwork-meta {
    gap: 8px 24px;
  }

  .gallery-controls {
    gap: 18px;
  }

  .button-link.ghost {
    min-width: 0;
    flex: 1;
  }

  .button-link.compact {
    width: 100%;
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 22px;
  }

  .home-signature-wrap {
    margin-top: 0;
  }

  .home-signature-wrap img {
    width: min(260px, 70vw);
  }

  .zoom-overlay {
    background-size: auto min(210vh, 210vw);
  }

  .admin-item {
    grid-template-columns: 22px 74px minmax(0, 1fr);
  }

  .admin-item img {
    width: 74px;
    height: 74px;
  }

  .admin-actions {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-art img {
    animation: none;
  }
}

@media (hover: none) {
  .artwork-frame::after {
    opacity: .92;
    transform: translate(-50%, 0);
  }
}
