/* Custom Art page */

/* Quote hero */
.quote-hero { overflow: clip; padding: 2rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.search--hero {
  display: flex; align-items: center; gap: 0.6rem;
  margin-left: auto;
  width: min(300px, 100%);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0 1.1rem;
}
.search--hero:focus-within { border-color: var(--charcoal); }
.search--hero svg { flex: none; color: var(--charcoal-soft); }
.search--hero input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.75rem 0; font: 1rem var(--body); outline: none; }
.quote-hero__grid { display: grid; grid-template-columns: 1fr 2.4fr 1fr; align-items: center; gap: 2.5rem; margin-top: 0; }
.quote-hero .pals { height: 270px; }
.quote { margin: 0; text-align: center; position: relative; padding-top: 3.2rem; }
.quote::before {
  content: "“";
  position: absolute; top: -1.2rem; left: 50%; transform: translateX(-50%);
  font: italic 700 9rem/1 var(--display);
  color: var(--pink); opacity: 0.9;
  pointer-events: none;
}
.quote :is(blockquote, .quote__text) {
  margin: 0 auto;
  max-width: 14ch;
  font: italic 700 clamp(2.8rem, 5.6vw, 5.2rem)/1.06 var(--display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.quote :is(figcaption, .quote__by) {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 1.8rem;
  font: 700 0.95rem var(--body);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--charcoal-soft);
}
.quote :is(figcaption, .quote__by)::before, .quote :is(figcaption, .quote__by)::after { content: ""; width: 48px; height: 2px; background: var(--pink); border-radius: 2px; }

/* Proof */
.proof { overflow: hidden; }
.proof h2 { max-width: 18ch; }
.proof .hint { display: flex; align-items: center; gap: 0.5rem; margin: 0.8rem 0 0; font-weight: 500; color: var(--charcoal-soft); }
.rail-nav button:disabled { opacity: 0.3; cursor: default; }
.rail--proof {
  --gutter: max(24px, (100% - var(--wrap)) / 2);
  grid-auto-columns: clamp(300px, 46vw, 620px);
  gap: 1.5rem;
  padding: 0.5rem var(--gutter) 1.5rem;
  scroll-padding-inline: var(--gutter);
}
.ba { margin: 0; }
.ba__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; --pos: 50%; }
.ba__after, .ba__before { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before svg { width: 100%; height: 100%; display: block; }
.ba__after { background: var(--wall); }
.room { position: absolute; inset: 0; display: grid; place-items: center end; padding-right: 9%; }
.room::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: rgba(0, 0, 0, 0.08); }
.room__frame {
  width: 36%;
  aspect-ratio: 1;
  margin-bottom: 8%;
  background: #fff;
  padding: 3.5%;
  border: 8px solid #2b2b2e;
  box-shadow: 0 22px 30px -18px rgba(0, 0, 0, 0.5);
}
.room__frame svg { width: 100%; height: 100%; display: block; }
.room__shelf { position: absolute; bottom: 16%; left: 73%; width: 40%; height: 7%; transform: translateX(-50%); background: #b89a7a; border-radius: 3px 3px 0 0; }
.ba__label {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(43, 43, 46, 0.85); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 999px; white-space: nowrap;
}
.ba__label--after { left: auto; right: 1rem; background: var(--pink); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 4px; margin-left: -2px;
  background: #fff;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}
.ba__handle i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--charcoal);
  display: grid; place-items: center;
  font-style: normal; font-size: 1.3rem; font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.ba input[type="range"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.ba input[type="range"]:focus-visible + * , .ba__stage:has(input:focus-visible) { outline: 3px solid var(--pink); outline-offset: 3px; }
.ba figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.9rem; font: 700 1.3rem var(--display); }
.ba figcaption span { font: 500 0.85rem var(--body); color: var(--charcoal-soft); }

/* Steps */
.ca-steps { background: var(--paper); border-block: 1px solid var(--line); }
.ca-steps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.ca-steps__grid li { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem 2.2rem; }
.ca-steps__grid li:not(:last-child)::after {
  content: "→";
  position: absolute; right: -1.6rem; top: 50%; transform: translateY(-50%);
  z-index: 1;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--charcoal); color: var(--cream);
  display: grid; place-items: center; font-weight: 700;
}
.ca-steps .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--pink); color: #fff; display: grid; place-items: center; margin-bottom: 1.4rem; }
.ca-steps li:nth-child(2) .ico { background: var(--teal); }
.ca-steps li:nth-child(3) .ico { background: var(--charcoal); }
.ca-steps .n { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal-soft); margin-bottom: 0.3rem; }
.ca-steps h3 { font-size: 1.8rem; }
.ca-steps p { color: var(--charcoal-soft); margin: 0; }

/* Order */
.order__card {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 3.5rem;
  box-shadow: 0 30px 60px -44px rgba(43, 43, 46, 0.5);
}
.order h2 { margin-bottom: 1.5rem; }
.drop {
  position: relative;
  min-height: 300px;
  border: 3px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  display: grid; place-items: center;
  text-align: center;
  padding: 2rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.drop:hover, .drop:focus-visible { border-color: var(--charcoal-soft); outline: none; }
.drop.is-over { border-color: var(--pink); background: #fdeef4; transform: scale(1.01); }
.drop.has-file { cursor: default; border-style: solid; border-color: var(--teal); padding: 1rem; }
.drop__empty { display: grid; justify-items: center; gap: 0.5rem; pointer-events: none; }
.drop__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; margin-bottom: 0.6rem; }
.drop.is-over .drop__icon { animation: hop 0.6s ease infinite alternate; }
@keyframes hop { to { transform: translateY(-8px); } }
.drop__empty strong { font: 700 1.5rem var(--display); }
.drop__empty span { color: var(--charcoal-soft); }
.drop__preview { width: 100%; }
.drop__preview img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 16px; background: #fff; }
.drop__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.8rem; font-weight: 500; text-align: left; }
.drop__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__remove { flex: none; border: 0; background: none; font: 700 1rem var(--body); text-decoration: underline; cursor: pointer; color: var(--charcoal); }
.drop__remove:hover { color: var(--pink); }
.drop__error, .order__error { color: #c0306b; font-weight: 700; margin: 0.8rem 0 0; }

.vibes { border: 0; padding: 0; margin: 2rem 0 0; }
.vibes legend { font: 700 1.3rem var(--display); margin-bottom: 0.9rem; padding: 0; }
.vibes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.vibe { cursor: pointer; }
.vibe input { position: absolute; opacity: 0; }
.vibe__sw {
  display: grid; grid-template-columns: 1fr 1fr;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid transparent;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.vibe__sw i { display: block; }
.vibe:hover .vibe__sw { transform: translateY(-3px); }
.vibe input:checked + .vibe__sw { border-color: var(--charcoal); }
.vibe input:focus-visible + .vibe__sw { outline: 3px solid var(--pink); outline-offset: 2px; }
.vibe__name { display: block; text-align: center; font-weight: 700; font-size: 0.95rem; margin-top: 0.5rem; }

.order__summary { background: var(--cream); border-radius: var(--radius); padding: 2rem; align-self: start; position: sticky; top: 110px; }
.order__summary h3 { font-size: 1.6rem; }
.summary__price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.summary__price strong { font: 700 2.4rem var(--display); color: var(--teal); }
.summary__list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.6rem; }
.summary__list li { display: flex; gap: 0.6rem; font-size: 1rem; }
.summary__list li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.summary__vibe { margin-bottom: 1rem; }
.agree { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; margin-bottom: 1.2rem; cursor: pointer; }
.agree input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--pink); }
.order__summary .btn { justify-content: center; }
.order__done { margin-top: 1rem; background: var(--paper); border: 2px solid var(--teal); border-radius: 16px; padding: 1rem 1.2rem; }
.order__done p { margin: 0.3rem 0 0; font-size: 0.95rem; color: var(--charcoal-soft); }

/* Terms */
.terms { background: var(--charcoal); color: var(--cream); }
.terms .eyebrow { color: var(--rose); }
.terms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.term { border: 1px solid rgba(251, 246, 239, 0.18); border-radius: var(--radius); padding: 2.4rem 2.2rem; }
.term strong { display: block; font: 700 4.4rem/1 var(--display); color: var(--pink); margin-bottom: 0.8rem; }
.term h3 { font-size: 1.6rem; }
.term p { margin: 0; opacity: 0.8; }
.terms__note { text-align: center; margin: 2.5rem 0 0; opacity: 0.8; }

@media (max-width: 980px) {
  .quote-hero__grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .quote-hero .pals { display: none; }
  .search--hero { width: 100%; }
  .quote { padding-top: 2.6rem; }
  .quote::before { font-size: 7rem; }
  .rail--proof { grid-auto-columns: 86%; gap: 1rem; }
  .proof .rail-nav { display: none; }
  .ca-steps__grid, .terms__grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .ca-steps__grid li:not(:last-child)::after { right: 50%; top: auto; bottom: -1.8rem; transform: translateX(50%) rotate(90deg); }
  .ca-steps__grid { gap: 2.4rem; }
  .order__card { grid-template-columns: 1fr; padding: 1.6rem; gap: 2rem; }
  .vibes__grid { grid-template-columns: repeat(2, 1fr); }
  .order__summary { position: static; }
  .drop { min-height: 240px; }
}

/* Quote sub-line */
.quote__sub { max-width: 40ch; margin: 1.6rem auto 0; font-size: 1.3rem; line-height: 1.55; color: var(--charcoal-soft); text-align: center; text-wrap: balance; }

/* Custom artworks */
.svcs { padding-bottom: 4rem; }
.svcs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 1.4rem; align-items: stretch; }
.svcs__more { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.svc {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.8rem 1.5rem; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(43, 43, 46, 0.55); }
.svc__ico { width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; display: grid; place-items: center; margin-bottom: 1.1rem; }
.svc h3 { font-size: 1.45rem; margin: 0 0 0.5rem; text-wrap: balance; }
.svc p { font-size: 1rem; line-height: 1.55; color: var(--charcoal-soft); flex: 1; margin: 0 0 1.4rem; }
.svc__foot { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.svc__foot strong { font: 600 0.78rem var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal-soft); }
.svc__foot a { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.svc__foot a:hover { color: var(--pink); }
/* Featured: the one thing you can order today */
.svc--feature { background: var(--teal); border-color: var(--teal); color: #fff; padding: 2.2rem 2.1rem 1.9rem; }
.svc--feature::before { display: none; }
.svc--feature .svc__ico { background: rgba(255, 255, 255, 0.18); width: 64px; height: 64px; border-radius: 20px; }
.svc--feature h3 { font-size: 2rem; color: #fff; }
.svc--feature p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; }
.svc__tag { align-self: flex-start; background: #fff; color: var(--teal); font: 700 0.72rem var(--body); letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1.2rem; }
.svc--feature .svc__foot { border-color: rgba(255, 255, 255, 0.25); }
.svc--feature .svc__foot strong { font: 700 2.8rem/1 var(--display); letter-spacing: 0; text-transform: none; color: #fff; }
.svc--feature .svc__foot .btn { background: #fff; color: var(--charcoal); border-color: #fff; padding: 0.7rem 1.3rem; }
.svc--feature .svc__foot .btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.formats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 0.8rem; margin-top: 2.5rem; }
.formats__label { font-weight: 700; }
.chip { background: var(--charcoal); color: var(--cream); border-radius: 999px; padding: 0.35rem 1rem; font-weight: 700; font-size: 0.9rem; }
.formats__note { flex-basis: 100%; text-align: center; color: var(--charcoal-soft); font-size: 0.98rem; }

@media (max-width: 980px) { .svcs__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svcs__more { grid-template-columns: 1fr; } }
