/* Black surfaces, accessible blue accents, Helvetica supporting text.
   Loaded after the layout, earlier palette, and branding stylesheets. */
:root {
  color-scheme: dark;
  --ink: #000000;
  --surface: #000000;
  --blood: #7b9fff;
  --red: #7b9fff;
  --blue: #7b9fff;
  --line: #7b9fff;
  --paper: #edf1fb;
  --muted: #aab6ce;
  --body-font: Helvetica, Arial, sans-serif;
  --mono: Helvetica, Arial, sans-serif;
  --heading-font: 'Poppins', Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
  box-shadow: none;
}

html,
body {
  background: #000000;
  color: #edf1fb;
  font-family: var(--body-font);
}

button,
input,
textarea,
select,
option,
nav,
p,
li,
dt,
dd,
label,
small,
figcaption,
summary {
  font-family: var(--body-font);
}

h1,
h2,
h3,
.brand,
.portfolio-wordmark,
.footer-wordmark {
  color: var(--blue);
}

/* The product title is a button inside an h3. Explicitly override the base
   button/body font so its visible text keeps the same Black heading face. */
.product-label h3,
.product-label h3 button {
  font-family: var(--heading-font);
  font-weight: 900;
  font-style: normal;
  color: var(--blue);
}

a {
  color: var(--blue);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible,
summary:focus-visible,
.work-card:focus-visible {
  outline-color: var(--blue);
}

button:disabled,
input:disabled,
select:disabled {
  opacity: 1;
  color: #aab6ce;
  cursor: not-allowed;
}

.site-header,
.mobile-nav,
.home-scene,
.hero-art,
.portfolio-page,
.portfolio-info,
.portfolio-footer,
.work-grid,
.shop-section,
.auction-card,
.auction-image,
.about-section,
.project-page,
.project-interactive,
.project-full-image img,
.detail-art,
dialog {
  background: #000000;
  color: #edf1fb;
  border-color: var(--blue);
}

.site-header {
  border-bottom: 1px solid var(--blue);
  backdrop-filter: none;
}

.mobile-nav,
.portfolio-info {
  border-bottom: 1px solid var(--blue);
}

.portfolio-footer {
  border-top: 1px solid var(--blue);
  padding-top: 10px;
}

.work-grid {
  border-block: 1px solid var(--blue);
}

.brand,
.portfolio-brand .portfolio-wordmark,
.footer-wordmark,
.scene-title,
.scene-title span,
.lime-dot,
.about-star,
.footer-index-mark {
  color: var(--blue);
}

.brand img,
.portfolio-brand img,
.footer-index-mark img {
  filter: none;
  opacity: 1;
  background: transparent;
}

.desktop-nav a:hover {
  opacity: 1;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-button span {
  background: var(--blue);
}

.bag-button,
.bag-button span,
.gallery-instruction button {
  color: var(--blue);
}

.bag-button span {
  background: #000000;
  border: 1px solid var(--blue);
}

.skip-link,
.toast {
  background: #000000;
  border: 1px solid var(--blue);
  color: var(--blue);
}

.scene-index,
.scene-meta,
.scene-meta .drag-tip,
.drag-tip,
.hero-description,
.hero-small,
.hero-footer,
.orbit-word,
.portfolio-info,
.portfolio-logo > span,
.portfolio-explore > span,
.portfolio-footer,
.gallery-instruction small,
.section-kicker,
.about-section .section-kicker,
.section-heading p,
.concept-note,
.archive-note,
.work-medium,
.work-description > p,
.work-label p,
.work-label .work-no {
  color: #aab6ce;
}

.portfolio-info h2,
.portfolio-info a,
.portfolio-info a:hover,
.portfolio-explore > a[aria-current=page],
.portfolio-footer > a,
.portfolio-footer a,
.portfolio-footer a:hover,
.work-read,
.text-link,
.project-back,
.about-bottom a,
.down-arrow,
.tiny-star {
  color: var(--blue);
  border-color: var(--blue);
}

.work-card,
.work-caption {
  color: var(--blue);
}

.work-caption span {
  color: #aab6ce;
  font-family: var(--body-font);
  font-weight: 400;
}

.work-image,
.product-image {
  background: #000000;
  border: 1px solid var(--blue);
}

.work-image::after {
  display: none;
  background: none;
}

.work-image .view-arrow {
  background: #000000;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.work-image-title {
  background: #000000;
  color: var(--blue);
}

.work-image-title > span {
  color: #aab6ce;
}

.button,
.button-dark,
.button-lime,
.button-light,
.scene-actions .button,
.scene-actions .button-dark,
.scene-actions .button-light,
.quick-add,
.dialog-close,
.simulation-controls button,
.project-materials button,
.detail-materials button {
  border: 1px solid var(--blue);
  background: #000000;
  color: var(--blue);
}

.button:hover,
.button-dark:hover,
.button-lime:hover,
.button-light:hover,
.scene-actions .button:hover,
.scene-actions .button-dark:hover,
.scene-actions .button-light:hover,
.quick-add:hover,
.dialog-close:hover,
.simulation-controls button:hover,
.project-materials button:hover,
.detail-materials button:hover {
  background: var(--blue);
  color: #000000;
}

.scene-actions .button {
  width: 230px;
  min-height: 74px;
  justify-content: center;
  gap: 0;
  padding: 15px 26px;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.swatch {
  border-color: var(--blue);
}

.swatch.selected {
  outline-color: var(--blue);
}

.swatch.chrome {
  background: #606974;
}

.swatch.crimson,
.swatch.blue,
.swatch.acid {
  background: var(--blue);
  border-color: var(--blue);
}

.swatch.clay {
  background: #a9a9a9;
  border-color: var(--blue);
}

.discipline-strip {
  background: #000000;
  color: var(--blue);
  border-block: 1px solid var(--blue);
}

.work-toolbar,
.shop-toolbar,
.shop-footnote,
.store-preview-note,
.site-footer,
.about-bottom,
.project-back,
.project-facts,
.project-bottom,
.detail-facts,
.cart-item,
.cart-total,
.checkout-summary,
.bid-dialog-stats,
.bid-history,
.bid-history li,
.bidder-panel,
.auction-lifecycle,
.auction-lifecycle details,
.bid-stats {
  border-color: var(--blue);
}

.shop-section,
.about-section {
  border-block: 1px solid var(--blue);
}

.store-heading {
  border-bottom: 1px solid var(--blue);
  padding-bottom: 24px;
}

.store-heading p,
.store-heading > span,
.shop-preview,
.shop-footnote > span,
.store-preview-note,
.product-label p,
.auction-product-meta,
.auction-top,
.auction-description,
.auction-disclaimer,
.bid-stats span,
.about-copy p,
.about-bottom,
.site-footer > div,
.project-description,
.project-facts dt,
.project-gallery figcaption,
.project-concept-note {
  color: #aab6ce;
}

.product-label .price,
.about-copy p:first-of-type {
  color: #edf1fb;
}

.filters button,
.filters button.active,
.filters button:hover:not(.active) {
  background: #000000;
  color: var(--blue);
}

.filters button.active,
.filters button:hover:not(.active) {
  border-bottom-color: var(--blue);
}

.search-box,
.shop-tools select,
.size-label select,
.bidder-panel select,
.bid-input,
.quantity {
  border-color: var(--blue);
  background: #000000;
  color: #edf1fb;
}

.search-box svg {
  stroke: var(--blue);
}

.search-box input,
.shop-tools select,
.shop-tools option,
.size-label select,
.bidder-panel select,
.bid-input input {
  background: #000000;
  color: #edf1fb;
}

.search-box input::placeholder,
input::placeholder,
textarea::placeholder {
  color: #aab6ce;
  opacity: 1;
}

.product-category,
.auction-image-label,
.preview-tag,
.auction-chip {
  background: #000000;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.auction-product-label {
  background: var(--blue);
  color: #000000;
  border: 1px solid var(--blue);
}

.live-dot,
.auction-chip .live-dot {
  background: var(--blue);
}

.project-materials .active,
.detail-materials button.active {
  background: var(--blue);
  color: #000000;
}

dialog {
  border: 1px solid var(--blue);
}

dialog::backdrop {
  background: #000000;
  backdrop-filter: none;
}

.detail-copy > p,
.detail-facts dt,
.cart-preview-label,
.cart-item-meta,
.remove-item,
.cart-checkout p,
.cart-empty p,
.checkout-content p,
.bid-dialog-copy > p,
.bid-dialog-copy form > p,
.bid-dialog-stats > span,
.bid-history li span,
.auction-lifecycle p,
.auction-events li,
.bid-dialog-copy .auction-status-note {
  color: #aab6ce;
}

.detail-note {
  color: #aab6ce !important;
}

.detail-copy .detail-price,
.bid-dialog-stats b {
  color: #edf1fb;
}

.cart-empty > span,
.dialog-status,
.bid-dialog-copy form > p[role=alert] {
  color: var(--blue);
}

.auction-lifecycle {
  background: #000000;
}

.hero-loading {
  color: var(--blue);
  font-family: var(--body-font);
  font-weight: 400;
  background: #000000;
}

.portfolio-info > div {
  min-width: 0;
}

.portfolio-info p,
.portfolio-info a {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .scene-actions .button {
    width: 165px;
    min-height: 66px;
    padding: 13px 15px;
    font-size: 28px;
  }

  .portfolio-footer {
    padding-top: 9px;
  }

  /* Keep the complete practice list above the carousel. The grid reserves
     255px here (286px on small phones), and may scroll on unusually short screens. */
  .portfolio-info {
    max-height: var(--gallery-top);
    overflow-y: auto;
    overflow-x: hidden;
  }
}

@media (max-width: 360px) {
  .scene-actions {
    gap: 10px;
  }

  .scene-actions .button {
    width: 145px;
    padding-inline: 10px;
  }
}
