@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,700&family=Space+Grotesk:wght@300;400;500;600&display=swap");

:root {
  --ink: #1b1714;
  --ink-soft: #3b342f;
  --paper: #f6efe6;
  --paper-dark: #e9dfd3;
  --accent: #c46843;
  --accent-2: #5b7d63;
  --accent-3: #a88954;
  --line: rgba(27, 23, 20, 0.12);
  --shadow: 0 18px 40px rgba(20, 14, 8, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 220, 193, 0.7), transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(210, 232, 211, 0.6), transparent 55%),
    linear-gradient(130deg, #f9f3eb 0%, #f0e6da 45%, #f7f1e9 100%);
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
}

.utility-link {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.utility-link:hover {
  color: var(--accent);
  border-color: rgba(27, 27, 27, 0.35);
}

.hero-banner {
  display: block;
  width: min(860px, 100%);
  height: auto;
  margin: 0 auto 26px;
}

.site-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-back {
  display: flex;
  justify-content: flex-start;
  margin: -12px 0 24px;
}

.back-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.back-button:hover {
  color: var(--accent);
  border-color: rgba(196, 104, 67, 0.6);
  transform: translateY(-1px);
}

.back-button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: rgba(31, 111, 92, 0.4);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent-2);
}

header.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  margin-bottom: 54px;
}

header.hero.hero-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-intro {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}

.hero-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero-title-centered {
  text-align: center;
}

.hero-title img {
  display: block;
  width: min(720px, 100%);
  height: auto;
  max-height: clamp(160px, 26vw, 320px);
  object-fit: contain;
}

.hero-lede {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-signature {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.about-portrait {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.about-portrait img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 6px);
  display: block;
  object-fit: cover;
}

.hero-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}

.hero-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.pulse-gallery {
  display: grid;
  gap: 12px;
}

.pulse-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  height: clamp(240px, 30vw, 360px);
}

.pulse-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.pulse-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(27, 27, 27, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pulse-nav svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}

.pulse-favorite {
  top: 12px;
  left: 12px;
  z-index: 3;
}

.pulse-nav.prev {
  left: 12px;
}

.pulse-nav.next {
  right: 12px;
}

.pulse-nav.prev svg {
  transform: translate(0px, 0px);
}

.pulse-nav.next svg {
  transform: translate(0px, 0px);
}

.pulse-nav.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.pulse-caption {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.pulse-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.pulse-meta {
  white-space: nowrap;
}

.pulse-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pulse-toggle:disabled {
  opacity: 0.45;
  cursor: default;
}

.pulse-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: #000;
}

.pulse-gallery .notice {
  margin: 0;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 26px;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-chip.is-active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.results-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 12px;
  color: var(--ink-soft);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.art-grid.spotlight {
  grid-template-columns: minmax(0, 1fr);
}

.art-grid.spotlight .art-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: 32px;
  padding: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.art-grid.spotlight .art-card img {
  height: min(520px, 70vh);
  object-fit: contain;
  background: rgba(244, 240, 234, 0.75);
}

.art-grid.spotlight .art-content {
  display: grid;
  gap: 16px;
  align-content: start;
}

.art-grid.spotlight .art-actions {
  margin-top: 8px;
}

.art-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 18px 30px rgba(20, 14, 8, 0.08);
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
  animation: float-in 0.6s ease forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: var(--delay, 0s);
}

.art-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: rgba(244, 240, 234, 0.8);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: zoom-in;
  display: block;
}

@media (max-width: 900px) {
  .art-grid.spotlight .art-card {
    grid-template-columns: 1fr;
  }

  .art-grid.spotlight .art-card img {
    height: min(60vh, 420px);
  }
}

.art-image-frame {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(244, 240, 234, 0.8);
  overflow: hidden;
}

.art-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}

.badge.sold {
  background: #fff;
  color: #111;
  border-color: #111;
}

.favorite-toggle {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(20, 14, 8, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.favorite-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transform: translate(1px, 1px);
}

.favorite-toggle.is-active {
  background: linear-gradient(145deg, #c58c54, #9a642f);
  color: #fff;
  border-color: #9a642f;
  box-shadow: 0 10px 18px rgba(176, 122, 65, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.favorite-toggle.is-active svg {
  fill: currentColor;
}

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

.action-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 14, 12, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(480px, 92vw);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 40px rgba(20, 14, 8, 0.18);
  padding: 24px;
  display: grid;
  gap: 12px;
  position: relative;
  max-height: 90vh;
  overflow: hidden;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto auto;
}

.modal-card h3 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
}

.modal-card label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.modal-card input,
.modal-card textarea,
.modal-card select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.modal-card input[type="file"] {
  padding: 10px 12px;
  background: #fff;
}

.modal-card form {
  overflow-y: auto;
  padding-right: 6px;
}

.wizard-progress {
  display: flex;
  gap: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

.wizard-progress-step {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.wizard-progress-step.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent-2);
}

.wizard-progress-step.is-complete {
  color: var(--accent-2);
}

.wizard-step {
  display: grid;
  gap: 12px;
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.wizard-actions button {
  padding: 10px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.wizard-prev {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--ink);
}

.wizard-next {
  border: none;
  background: var(--accent);
  color: #fff;
}

.wizard-submit {
  border: none;
  background: var(--accent-2);
  color: #fff;
  font-weight: 600;
}

.wizard-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.wizard-prev:focus-visible,
.wizard-next:focus-visible,
.wizard-submit:focus-visible,
.wizard-close:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.modal-card.wizard-mode .wizard-step {
  display: none;
}

.modal-card.wizard-mode .wizard-step.is-active {
  display: grid;
  gap: 12px;
}

@media (max-width: 900px) {
  .modal {
    align-items: stretch;
  }

  .modal-card {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 92vh;
    height: 92svh;
    max-height: 92vh;
    max-height: 92svh;
    border-radius: 24px 24px 0 0;
    padding-top: 40px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .modal-card::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 6px;
    border-radius: 999px;
    background: rgba(24, 20, 16, 0.25);
  }

  .modal-card form {
    -webkit-overflow-scrolling: touch;
  }
}

.modal-card button[type="submit"] {
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(24, 20, 16, 0.9);
  color: #fff;
  cursor: pointer;
}

.favorites-summary {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.art-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.3rem;
  margin: 0;
}

.art-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.art-details {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.art-details span {
  display: flex;
  justify-content: space-between;
}

.art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.art-tags span {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.art-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
}

.art-actions a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.section-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.section-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.section-card h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0;
}

.artwork-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
}

.artwork-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.artwork-detail-media {
  position: relative;
}

.artwork-detail-info h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0;
}

.artwork-text-block {
  margin-bottom: 16px;
}

.artwork-text-block h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--ink);
}

.artwork-text-block p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.artwork-detail-info dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.artwork-detail-info dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  align-items: baseline;
}

.artwork-detail-info dt {
  font-weight: 600;
  color: var(--accent);
}

.artwork-detail-info dd {
  margin: 0;
}

.artwork-detail-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

a.action-button {
  text-decoration: none;
}

@media (max-width: 768px) {
  .artwork-detail {
    grid-template-columns: 1fr;
  }
}

.early-access {
  margin-top: 64px;
  margin-bottom: 36px;
}

.early-access-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: start;
}

.early-access-copy h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 12px;
}

.early-access-eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--accent-2);
}

.early-access-form {
  display: grid;
  gap: 12px;
}

.early-access-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.early-access-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.early-access-form button {
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.footer {
  margin-top: 72px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer p {
  margin: 12px 0 0;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.footer-socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: var(--ink);
}

.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-socials a:hover svg {
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 15, 12, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
  padding: 24px;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: min(980px, 90vw);
  max-height: 90vh;
  background: #fdfbf8;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-content img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.lightbox-caption {
  margin: 0;
  font-size: 0.95rem;
  color: #5b5550;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(24, 20, 16, 0.9);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

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

body.lightbox-open {
  overflow: hidden;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0;
}

.contact-card form {
  display: grid;
  gap: 14px;
}

.contact-card input,
.contact-card textarea,
.contact-card select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.contact-card input[type="file"] {
  padding: 10px 12px;
  background: #fff;
}

.required-marker {
  color: var(--accent);
  font-weight: 700;
}

.commission-fields {
  display: grid;
  gap: 12px;
}

.commission-fields[hidden] {
  display: none;
}

.viewing-fields {
  display: grid;
  gap: 12px;
}

.viewing-fields[hidden] {
  display: none;
}

.viewing-slot-picker {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}

.viewing-slot-picker .notice {
  grid-column: 1 / -1;
}

.price-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 6px;
  border-bottom: 1px dashed var(--line);
}

.price-list li.price-option {
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.price-list li.price-option:hover {
  background: rgba(255, 255, 255, 0.65);
}

.price-list li.price-option:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.notice-block {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
}

.notice-block p {
  margin: 0;
}

.provenance-lookup {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.provenance-lookup .input {
  flex: 1;
}

.provenance-lookup button {
  padding: 10px 16px;
  border: 1px solid rgba(27, 27, 27, 0.35);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.provenance-details {
  margin-top: 16px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  display: grid;
  gap: 8px;
}

.provenance-details h3 {
  margin: 0 0 4px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.detail-row span {
  color: var(--ink-soft);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.checkbox-row input {
  width: auto;
}

.contact-card form button {
  padding: 12px 16px;
  border: 1px solid rgba(27, 27, 27, 0.35);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-carousel {
  display: grid;
  gap: 10px;
}

.contact-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-frame img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.contact-caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-controls {
  justify-content: center;
  margin-top: 4px;
}

.contact-controls .pulse-toggle {
  padding: 6px 12px;
}

.contact-controls .pulse-toggle svg {
  width: 14px;
  height: 14px;
}

.favorite-list {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--ink-soft);
  display: grid;
  gap: 6px;
}

.favorite-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.favorite-inline {
  position: static;
  width: 36px;
  height: 36px;
  padding: 0;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
}

.favorite-inline svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  fill: currentColor;
  stroke: currentColor;
  display: block;
}

.favorite-inline.is-active {
  color: #fff;
}

.favorite-inline.is-active svg {
  fill: #fff;
  stroke: #fff;
}

.contact-card .favorite-inline {
  background: linear-gradient(145deg, #c58c54, #9a642f);
  border-color: #9a642f;
  color: #fff;
  box-shadow: 0 10px 18px rgba(176, 122, 65, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.contact-card .favorite-inline svg {
  fill: #fff;
  stroke: #fff;
}

.favorites-title {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.notice {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.notice.is-error {
  color: #a5332a;
}

.provenance-id {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
}

.provenance-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(27, 27, 27, 0.35);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.provenance-download.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  background: #b7b0a7;
  color: #fff;
}

@keyframes float-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  header.hero {
    grid-template-columns: 1fr;
  }

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

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .early-access-card {
    grid-template-columns: 1fr;
  }

  .utility-link {
    position: static;
    display: inline-block;
    margin: 0 auto 18px;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  main {
    padding: 36px 18px 64px;
  }

  .hero-card ul {
    font-size: 0.9rem;
  }
}
