/* Bonell Silverman theme styles.
   Palette drawn from Silver Lust: deep ultramarine ground, gold cloth, pale paper. */
:root {
  --paper: #f6f4ef;
  --paper-2: #ebe7dd;
  --ink: #1b2030;
  --ink-2: #2a3352;
  --mute: #646a78;
  --gold: #b8912a;
  --line: rgba(27, 32, 48, 0.14);
  --max: 1280px;
  --gap: clamp(1.25rem, 4vw, 3rem);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}

p {
  text-wrap: pretty;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gap)));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gap);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

nav a[aria-current="page"],
nav a:hover {
  border-bottom-color: var(--gold);
}

.cart-count {
  color: var(--gold);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Type helpers */

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  max-width: 44rem;
  margin: 1rem 0 0;
  font-size: 1.08rem;
  color: var(--mute);
}

.prose {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.55;
  max-width: 40rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

p.prose {
  margin: 1rem 0 0;
}

.fine {
  font-size: 0.86rem;
  color: var(--mute);
  margin: 1rem 0 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--ink-2);
}

/* Home */

.hero {
  background: var(--ink);
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: min(62vh, 48vw);
  min-height: 300px;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.04); /* trims the painting's ragged canvas edge */
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  font-size: 0.86rem;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}

.hero-caption p {
  margin: 0;
}

.hero-caption em {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

.hero-caption a {
  font-weight: 500;
  color: var(--ink);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.intro .eyebrow {
  grid-column: 1;
}

.intro h1 {
  grid-column: 1;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  letter-spacing: -0.015em;
  line-height: 0.98;
}

.intro-body {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.deck {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.5;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.more {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Artwork grid */

.print-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.print-grid.shop {
  margin-top: 0;
}

.print-grid .wide {
  grid-column: span 2;
}

.tile {
  display: block;
  text-decoration: none;
}

.tile-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(18rem, 34vw, 30rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  /* White, so the paintings' uneven white canvas edges blend into the tile. */
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}

.tile-img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.tile:hover .tile-img {
  border-color: rgba(27, 32, 48, 0.35);
}

.tile-title {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.2;
}

.tile-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.86rem;
  color: var(--mute);
}

/* About band */

.band {
  background: var(--ink);
  color: var(--paper);
  margin-top: clamp(1rem, 4vw, 3rem);
}

.about-home {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.about-home h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-home .btn {
  border-color: var(--paper);
  color: var(--paper);
}

.about-home .btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 250px;
}

/* Inner pages */

.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0.5rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  letter-spacing: -0.01em;
}

.bio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.exhibitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2rem;
}

.exhibitions h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.chrono {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.chrono li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.chrono strong {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
  padding-top: 0.1rem;
}

.chrono em {
  font-family: var(--serif);
  font-size: 1.08em;
}

/* Pricing table */

.table-scroll {
  overflow-x: auto;
  margin-top: 1.5rem;
}

table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

tbody th {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

tbody th span {
  display: block;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--mute);
}

td {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

/* Product page */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 3.5rem) 0 1rem;
}

.detail-img {
  margin: 0;
  display: flex;
  justify-content: center;
  background: var(--paper-2);
  padding: clamp(1rem, 3vw, 2.5rem);
}

.detail-img .woocommerce-product-gallery {
  opacity: 1 !important;
  margin: 0;
}

.detail-img .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.detail-img .woocommerce-product-gallery__image a {
  pointer-events: none;
}

.detail-img img {
  max-height: calc(100vh - 12rem);
  width: auto;
  margin-inline: auto;
  box-shadow: 0 1px 3px rgba(27, 32, 48, 0.18);
}

.detail-info {
  position: sticky;
  top: 5.5rem;
}

.detail-info h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.detail-orig {
  margin: 0.6rem 0 1.75rem;
  color: var(--mute);
}

.detail-desc {
  margin-bottom: 1.5rem;
}

.back a {
  font-weight: 500;
  color: var(--ink);
}

/* Variation form */

.buy form.cart {
  display: block;
}

.buy table.variations {
  width: 100%;
  min-width: 0;
  border: 0;
}

.buy table.variations tr,
.buy table.variations th,
.buy table.variations td {
  display: block;
  padding: 0;
  border: 0;
}

.buy table.variations tr {
  margin-bottom: 1.1rem;
}

.buy table.variations label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.buy .reset_variations {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--mute);
}

.buy .woocommerce-variation-price .price,
.buy > .price {
  display: block;
  margin: 0.25rem 0 1rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}

.buy .woocommerce-variation-availability,
.buy .woocommerce-variation-description {
  font-size: 0.86rem;
  color: var(--mute);
}

.buy .woocommerce-variation-add-to-cart,
.buy form.cart:not(.variations_form) {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.buy .quantity input {
  width: 4.5rem;
  height: 100%;
  text-align: center;
}

.buy .single_add_to_cart_button {
  flex: 1;
  margin: 0;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.buy .single_add_to_cart_button:hover {
  background: var(--ink-2);
}

.buy .single_add_to_cart_button.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Notices */

.woocommerce-notices-wrapper:not(:empty) {
  margin-top: 1.5rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.woocommerce-error {
  border-left-color: #a33a2a;
}

.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  font-weight: 500;
}

/* Cart, checkout and account pages */

.store {
  padding-top: 1.5rem;
}

.store .wc-block-components-button:not(.is-link),
.store .wp-element-button {
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
}

.store .wc-block-components-button:not(.is-link):hover {
  background: var(--ink-2);
}

.store .wc-block-components-text-input input,
.store .wc-block-components-combobox .components-combobox-control input,
.store .wc-blocks-components-select__select {
  border-radius: 0;
}

.store h2,
.store h3 {
  font-family: var(--serif);
}

/* Order received and account pages (classic WooCommerce templates) */

.woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  padding: 0;
  margin: 1rem 0 2rem;
  font-size: 0.86rem;
  color: var(--mute);
}

.woocommerce-order-overview strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.wc-item-meta {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--mute);
}

.wc-item-meta li {
  display: flex;
  gap: 0.35rem;
}

.wc-item-meta p {
  margin: 0;
}

.wc-item-meta strong {
  font-weight: 500;
}

.store address {
  font-style: normal;
  line-height: 1.6;
}

.store .woocommerce-customer-details {
  margin-top: 2rem;
}

/* Page content written in the editor */

.entry > :first-child {
  margin-top: 0;
}

.entry h2 {
  font-size: 2rem;
  margin: 2rem 0 0.75rem;
}

.entry h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem;
}

/* Forms */

form {
  display: grid;
  gap: 1.1rem;
}

label > span:first-child {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--ink-2);
  outline-offset: 1px;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}


.contact .btn {
  margin-top: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact form p {
  margin: 0;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #a33a2a;
}

.wpcf7-response-output {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.wpcf7-response-output:empty {
  display: none;
}

.wpcf7-spinner,
.wpcf7 .hidden-fields-container {
  display: none;
}

.screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-img {
  margin: 0;
}

.contact-img figcaption {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--mute);
}

.contact-img em {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #d9d6ce;
  margin-top: clamp(2rem, 6vw, 4rem);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.band + .site-footer,
main:has(> .band:last-child) + .site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--paper);
}

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.foot-links a {
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.foot-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: #a9adb9;
}

.foot-legal p {
  margin: 0;
}

/* Responsive */

@media (max-width: 960px) {
  .print-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .print-grid .wide {
    grid-column: auto;
  }

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

  .detail-info {
    position: static;
  }

  .detail-img img {
    max-height: 70vh;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gap) 1.25rem;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0.9rem;
  }

  .intro,
  .about-home,
  .bio,
  .exhibitions {
    grid-template-columns: 1fr;
  }

  .intro-body {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1.5rem;
  }

  .hero img {
    height: 44vh;
  }

  .portrait img {
    width: 200px;
  }

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

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .print-grid {
    gap: 1.75rem 0.9rem;
  }

  .tile-img {
    height: auto;
    aspect-ratio: 4 / 5;
    padding: 0.75rem;
  }

  .tile-title {
    font-size: 1.1rem;
  }

  .tile-meta {
    font-size: 0.78rem;
  }

  table {
    min-width: 0;
  }

  th,
  td {
    padding-right: 0.5rem;
  }

  tbody th {
    font-size: 1.02rem;
  }

  thead th {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .section-head {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Size printed for this material when it differs from the column, e.g. 12 × 18 in. canvas. */
td .size-note {
  display: block;
  font-size: 0.84rem;
  color: var(--mute);
}
