/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }

:root {
  --bg: #faf9f6;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --hair: #e6e3dd;
  --accent: #1a1a1a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1320px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.h2 { font-size: clamp(2rem, 4vw, 3rem); }
.h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  max-width: 38em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}
.brand {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: center;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav a:hover { opacity: 0.6; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  border-bottom: 1px solid var(--ink);
}
.nav .cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 13px;
}
.nav .ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 0.7em;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: background 200ms ease, color 200ms ease;
}
.nav .ig-link:hover { background: var(--ink); color: var(--bg); opacity: 1; }
.nav .ig-link::after { content: none; }

.nav--right { display: flex; gap: 0.5rem; align-items: center; }

.nav .cart {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.nav .cart .cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}
.hamburger--close { gap: 0; }
.hamburger--close span:nth-child(1) { transform: rotate(45deg) translate(0, 0); }
.hamburger--close span:nth-child(2) { transform: rotate(-45deg) translate(0, 0); margin-top: -1.5px; }

@media (max-width: 1100px) { .nav .ig-handle { display: none; } }
@media (max-width: 980px) {
  .nav--desktop { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: var(--gutter);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.4, 0.0, 0.2, 1);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  border-bottom: 1px solid var(--hair);
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 3rem 0 2rem;
  gap: 0.5rem;
  flex: 1;
}
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--hair);
}
.mobile-menu__foot {
  padding-bottom: 2rem;
  border-top: 1px solid var(--hair);
  padding-top: 2rem;
}
.mobile-menu__foot .btn { display: inline-flex; }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.45);
  z-index: 95;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}
.cart-drawer.is-open { opacity: 1; visibility: visible; }
.cart-drawer__panel {
  background: var(--bg);
  width: min(440px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.4, 0.0, 0.2, 1);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--hair);
}
.cart-drawer__head h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
}
.cart-drawer__close {
  font-size: 1.8rem;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.75rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hair);
}
.cart-item__media { background: #ece9e3; aspect-ratio: 4/5; overflow: hidden; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}
.cart-item__meta { font-size: 12px; color: var(--muted); margin: 0 0 0.5rem; }
.cart-item__price { font-size: 14px; margin: 0 0 0.5rem; }
.cart-item__remove {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-item__remove:hover { color: var(--ink); }

.cart-drawer__foot {
  border-top: 1px solid var(--hair);
  padding: 1.5rem 1.75rem 1.75rem;
}
.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 0.4rem 0;
}
.cart-drawer__row--total {
  font-weight: 500;
  font-size: 16px;
  border-top: 1px solid var(--hair);
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  margin-bottom: 1.25rem;
}
.cart-drawer__note { font-size: 11px; color: var(--muted); margin: 1rem 0 0; line-height: 1.5; }
.nav .cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
}

/* ---------- Prose (legal / policy / privacy pages) ---------- */
.prose { font-size: 15px; line-height: 1.7; color: var(--ink); }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 2.5rem 0 0.6rem;
  color: var(--ink);
}
.prose h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 1.8rem 0 0.4rem;
}
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.prose li { margin: 0.25rem 0; }
.prose hr { border: none; border-top: 1px solid var(--hair); margin: 2.5rem 0; }
.prose strong { color: var(--ink); }
.prose em { color: var(--muted); }
.prose a { border-bottom: 1px solid currentColor; color: var(--ink); }
.prose a:hover { color: var(--muted); }

/* ---------- Hero CTA ---------- */
.hero__cta {
  margin-top: 1.75rem;
  display: inline-flex;
}

/* ---------- Order reference box (thank-you page) ---------- */
.order-ref {
  display: inline-block;
  background: #f3efe7;
  border: 1px solid var(--hair);
  padding: 1.5rem 2rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  max-width: 32rem;
}
.order-ref__label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.order-ref__value {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 400;
}
.order-ref__note {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin: 0.6rem 0 0;
}

/* ---------- Newsletter section (home) ---------- */
.newsletter-section {
  background: #f3efe7;
  padding: 5rem 0;
  margin-top: 2rem;
}
.newsletter-section .newsletter--lg {
  max-width: 460px;
  margin: 1.5rem auto 0;
  display: flex;
  border: 1px solid var(--ink);
}
.newsletter-section .newsletter--lg input {
  flex: 1;
  border: none;
  background: var(--bg);
  padding: 1rem 1.1rem;
  font: inherit;
  color: var(--ink);
}
.newsletter-section .newsletter--lg input:focus { outline: none; }
.newsletter-section .newsletter--lg button {
  padding: 0 1.5rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.newsletter-incentive {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 auto 0.5rem;
  max-width: 38em;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  margin: 0;
  padding: 1.75rem 1.75rem 1.5rem;
  background: #f1ece2;
  border: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial__quote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
  padding-left: 1.3rem;
}
.testimonial__quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.25rem;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--muted);
  opacity: 0.5;
  font-style: normal;
}
.testimonial__quote p { margin: 0 0 0.6rem; }
.testimonial__quote p:last-child { margin: 0; }
.testimonial__attr {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: auto;
}
.testimonial__source { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 8rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  color: var(--muted);
}
.footer-follow {
  padding: 2rem 0 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--hair);
}
.footer-follow .btn { display: inline-flex; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter { max-width: 100%; }
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.9rem;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a:hover { color: var(--ink); }
.site-footer__bottom {
  border-top: 1px solid var(--hair);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12px;
}
.newsletter {
  display: flex;
  border: 1px solid var(--hair);
  background: #fff;
  max-width: 360px;
}
.newsletter input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
}
.newsletter input:focus { outline: none; }
.newsletter button {
  padding: 0 1rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 0;
  padding: 0;
}
.hero__media {
  position: relative;
  width: 100%;
  height: clamp(520px, 88vh, 880px);
  overflow: hidden;
  background: #111;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The Unsteady Crown is a portrait painting; the face sits in the
     upper sixth. Anchor the crop near the top so the face never gets
     trimmed on landscape hero containers. */
  object-position: center 8%;
  filter: saturate(0.95);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Darken the right-hand calm-teal area where the title sits; keep the
     face area light. */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  right: var(--gutter);
  bottom: 3.5rem;
  /* Constrain to right-hand safe zone so text never crosses the face. */
  max-width: min(26rem, 60vw);
  text-align: right;
  color: #faf9f6;
  z-index: 2;
}
/* Mobile: image is forced to ~88vh height which cropping hurts; let the
   image breathe at its native aspect and stack text below. The painting's
   bottom is the dress (very light), so the gradient + text shadow have
   to work harder to keep the title legible. */
@media (max-width: 720px) {
  .hero__media { height: auto; aspect-ratio: 4 / 5; }
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0) 30%,
      rgba(0,0,0,0.05) 55%,
      rgba(0,0,0,0.75) 100%);
  }
  .hero__overlay {
    right: var(--gutter);
    left: var(--gutter);
    bottom: 1.75rem;
    max-width: none;
    text-align: left;
    text-shadow: 0 1px 12px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.6);
  }
}
.hero__overlay .eyebrow { color: rgba(250,249,246,0.85); letter-spacing: 0.22em; }
.hero__overlay .hero__sub { color: rgba(250,249,246,0.92); }
.hero__title { font-size: clamp(2rem, 5.5vw, 4.5rem); margin: 0.4rem 0 0; line-height: 1.05; }
.hero__sub { font-family: var(--serif); font-style: italic; font-size: 1.05rem; opacity: 0.88; margin-top: 0.6rem; }

/* ---------- Section ---------- */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.section__head h2 { margin: 0; }
.section__head .eyebrow { display: block; margin-bottom: 0.5rem; }
.section__link {
  font-size: 13px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Artwork grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
.grid--featured {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.card { display: block; }
.card__media {
  position: relative;
  background: #ece9e3;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hair);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 400ms ease;
}
.card:hover .card__media img { transform: scale(1.02); filter: brightness(0.96); }

.card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--bg);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}
.card__badge--sold { background: var(--ink); color: var(--bg); }

.card__body {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  align-items: baseline;
}
.card__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}
.card__price {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.card__meta {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.card__cta {
  grid-column: 1 / -1;
  margin-top: 0.85rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  width: max-content;
  align-self: start;
  transition: gap 220ms ease;
}
.card__cta::after { content: "→"; transition: transform 220ms ease; font-size: 13px; letter-spacing: 0; }
.card:hover .card__cta { gap: 0.85em; }
.card:hover .card__cta::after { transform: translateX(2px); }
.card__cta--sold {
  border-bottom-color: var(--muted);
  color: var(--muted);
}

/* Hover overlay on artwork — secondary affordance */
.card__media::after {
  content: "View piece";
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1.25rem;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #faf9f6;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  opacity: 0;
  transition: opacity 280ms ease;
  text-align: center;
  pointer-events: none;
}
.card:hover .card__media::after { opacity: 1; }

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 3rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid var(--hair);
}
.filter {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
  font-weight: 500;
}
.filter:hover { color: var(--ink); }
.filter.is-active {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}
.filter .count {
  font-size: 10px;
  margin-left: 0.4em;
  opacity: 0.6;
}

/* ---------- Print badge variants ---------- */
.card__badge--edition {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--ink);
}

/* ---------- Prints intro band ---------- */
.intro-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin-top: 2.5rem;
}
@media (max-width: 720px) { .intro-band { grid-template-columns: 1fr; } }
.intro-band__cell {
  padding: clamp(2rem, 4vw, 3rem);
}
.intro-band__cell + .intro-band__cell {
  border-left: 1px solid var(--hair);
}
@media (max-width: 720px) {
  .intro-band__cell + .intro-band__cell { border-left: none; border-top: 1px solid var(--hair); }
}
.intro-band h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  font-weight: 500;
  color: var(--muted);
}
.intro-band p { margin: 0; font-size: 14px; line-height: 1.6; }

/* ---------- Instagram grid ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
@media (max-width: 880px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
.ig-tile {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: #ece9e3;
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 300ms ease;
}
.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 200ms ease;
}
.ig-tile:hover img { transform: scale(1.04); filter: brightness(0.85); }
.ig-tile:hover::after { background: rgba(0,0,0,0.15); }

/* Edition counter on print cards */
.card__edition {
  grid-column: 1 / -1;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.15rem;
}
.card__edition .bar {
  flex: 1;
  height: 2px;
  background: var(--hair);
  position: relative;
  overflow: hidden;
  max-width: 120px;
}
.card__edition .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  width: var(--remaining, 50%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 1.15rem 2rem; }

.link-arrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- Single artwork page ---------- */
.piece {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 3rem;
  align-items: start;
}
@media (max-width: 880px) {
  .piece { grid-template-columns: 1fr; }
}

.piece__media {
  background: #ece9e3;
  position: relative;
  border: 1px solid var(--hair);
  overflow: hidden;
}
/* When the template sets `aspect-ratio` via inline style, the image fills
   the container with object-fit: cover so any photographer's margin is
   trimmed and the painting's true proportions are preserved. */
.piece__media[style*="aspect-ratio"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.piece__media img { width: 100%; height: auto; display: block; }

/* No sticky positioning — the artwork page scrolls as one column. */
.piece__details {}
.piece__details .eyebrow { margin-bottom: 0.4rem; display: block; }
.piece__title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 1.25rem;
  line-height: 1.05;
}

.piece__specs {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.piece__specs dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.piece__specs dd {
  margin: 0 0 0.6rem;
  font-size: 14px;
}
.piece__specs__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--hair);
}
.piece__specs__row:last-child { border: none; }

.piece__price {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0 0 1.25rem;
}
.piece__cta { display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }
.piece__reassure {
  font-size: 12.5px;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.piece__reassure span::before { content: "—  "; color: var(--hair); }

.piece__desc {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.55;
}

/* ---------- Commissions ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 3rem 0;
}
.process__step .num {
  font-family: var(--serif);
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.process__step h3 { margin: 0 0 0.4rem; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.process__step p { margin: 0; font-size: 14px; line-height: 1.55; }

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.tier {
  border: 1px solid var(--hair);
  padding: 1.75rem 1.5rem;
  background: #fff;
}
.tier h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
}
.tier .size { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 1rem; display: block; }
.tier .price { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 1rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 13.5px; display: grid; gap: 0.4rem; }
.tier ul li::before { content: "·  "; color: var(--muted); }

/* ---------- Pricing note ---------- */
.pricing-note {
  margin: 2rem 0 0;
  max-width: 40em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Add-ons list ---------- */
.addons {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 42em;
  border-top: 1px solid var(--hair);
}
.addons__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
}
.addons__name { color: var(--ink); }
.addons__note { color: var(--muted); font-family: var(--serif); white-space: nowrap; }

/* ---------- Hold-the-line ---------- */
.holdtheline {
  color: var(--muted);
  max-width: 38em;
}
.holdtheline p { margin: 0 0 1rem; }

/* ---------- Commission tiles ---------- */
.commission-tile { margin: 0; }
.commission-tile__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ece9e3;
  border: 1px solid var(--hair);
}
.commission-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.commission-tile figcaption { margin-top: 1rem; }
.commission-tile h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
}
.commission-tile p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; }
.faq__item {
  border-bottom: 1px solid var(--hair);
  padding: 1.25rem 0;
}
.faq__item:first-child { border-top: 1px solid var(--hair); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-right: 0.5rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--sans);
  font-style: normal;
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after { content: "−"; }
.faq__answer { padding-top: 1rem; max-width: 42em; }
.faq__answer p, .faq__answer li { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.faq__answer ul, .faq__answer ol { padding-left: 1.25rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.contact-line__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-line__value { font-size: 15px; }
.contact-line a.contact-line__value { border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* ---------- About ---------- */
.exhibitions { margin-top: 3rem; border-top: 1px solid var(--hair); padding-top: 2rem; }
.exhibitions h3 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 1.25rem; }
.exhibitions dl { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem 1.5rem; margin: 0; font-size: 14px; }
.exhibitions dt { font-family: var(--serif); font-style: italic; color: var(--muted); }
.exhibitions dd { margin: 0 0 0.5rem; }

/* ---------- About v2 ---------- */
.about-v2 {
  display: grid;
  grid-template-columns: minmax(260px, 22rem) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .about-v2 { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Mobile: bio reads first, images below. The portrait + studio
     gallery + WIP figure all sit under the prose. */
  .about-v2__main { order: 1; }
  .about-v2__side { order: 2; }
  /* Cap the portrait at a sensible size — square at full viewport
     width feels oversized on a phone. */
  .about-v2__portrait {
    max-width: 22rem;
    margin-inline: auto;
  }
}
/* No sticky positioning — the page scrolls as one continuous column. */
.about-v2__side {}

.about-v2__portrait { margin: 0; }
.about-v2__portrait-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ece9e3;
  border: 1px solid var(--hair);
}
.about-v2__portrait-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-v2__portrait figcaption {
  margin-top: 0.55rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--muted);
}

.about-v2__carousel { margin-top: 2rem; position: relative; }
.about-v2__carousel-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.about-v2__carousel-track::-webkit-scrollbar { display: none; }
.about-v2__carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
}

/* Mobile: drop the carousel pattern entirely. The studio photos become
   a simple grid below the bio (no swiping, no controls). */
@media (max-width: 880px) {
  .about-v2__carousel-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .about-v2__carousel-item { flex: none; }
  .about-v2__carousel-controls { display: none; }
}
.about-v2__carousel-media {
  aspect-ratio: 4 / 5;
  background: #ece9e3;
  border: 1px solid var(--hair);
  overflow: hidden;
}
.about-v2__carousel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-v2__carousel-item figcaption {
  margin-top: 0.55rem;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--sans);
}
.about-v2__carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}
.about-v2__carousel-nav {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  padding: 0;
}
.about-v2__carousel-nav:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.about-v2__carousel-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--muted);
  min-width: 3.5em;
  text-align: center;
}

.about-v2__lede {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0 0 2rem;
  max-width: 32ch;
}
.about-v2__bio p { margin: 0 0 1rem; }

.about-v2__wip { margin: 2.5rem 0 0; }
.about-v2__wip-media {
  background: #ece9e3;
  border: 1px solid var(--hair);
  overflow: hidden;
}
.about-v2__wip-media img { width: 100%; height: auto; display: block; }
.about-v2__wip figcaption {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--muted);
}

.about-v2__contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
}
.about-v2__contact .eyebrow { margin-bottom: 0.5rem; display: block; }
.about-v2__email {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
}
.about-v2__ig {
  margin: 0.3rem 0 0;
  font-size: 14px;
  color: var(--muted);
}
.about-v2__ig a { border-bottom: 1px solid currentColor; }

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
  margin-top: 2rem;
}
.form input, .form textarea, .form select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--hair);
  background: transparent;
  padding: 0.85rem 0;
  font: inherit;
  color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}
.form textarea { resize: vertical; min-height: 120px; }

/* ---------- Buy modal (mockup only) ---------- */
.buy-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.buy-modal.is-open { display: flex; }
.buy-modal__panel {
  background: var(--bg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  border: 1px solid var(--hair);
}
.buy-modal h3 { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 1rem; font-weight: 400; }
.buy-modal p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 1.25rem; }
.buy-modal__methods {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}
.buy-modal__methods span {
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid var(--hair);
  padding: 0.35rem 0.6rem;
  text-transform: uppercase;
  color: var(--muted);
}
.buy-modal__close {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}

/* ---------- Checkout ---------- */
.checkout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 1rem;
}
@media (max-width: 880px) { .checkout { grid-template-columns: 1fr; } }
.checkout__section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
}
.checkout__section__title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .span-2 { grid-column: 1 / -1; }
.payment-methods {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.payment-method {
  border: 1px solid var(--hair);
  padding: 0.7rem 1rem;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  background: #fff;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.payment-method:hover { border-color: var(--ink); }
.payment-method.is-active { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.checkout__summary {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--hair);
  padding: 1.5rem;
}
.checkout__summary h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 1rem;
}
.checkout__summary .cart-item { padding: 0.5rem 0; }
.checkout__totals { padding: 0.5rem 0; }
.checkout__reassure {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hair);
}
.checkout__reassure p {
  margin: 0 0 0.6rem;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}
.checkout__reassure p strong { color: var(--ink); font-weight: 500; }

/* ---------- Two-up callout ---------- */
.callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
@media (max-width: 720px) { .callout { grid-template-columns: 1fr; } }
.callout__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ece9e3;
  display: block;
}
.callout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keep faces in the upper portion of the crop on portrait sources */
  object-position: center 30%;
  display: block;
  transition: transform 500ms ease, filter 300ms ease;
}
.callout__media--link:hover img,
.callout__media--link:focus-visible img {
  transform: scale(1.02);
  filter: brightness(0.96);
}
.callout__body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--hair);
}
@media (max-width: 720px) { .callout__body { border-left: none; border-top: 1px solid var(--hair); } }
.callout__body h2 { margin: 0 0 1rem; }
.callout__body p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 1.5rem; max-width: 38em; }
