/* Тёмно-синяя тема Дарьи Злобиной — preview.
   Активируется классом .theme-dark на <html> (см. /assets/js/theme.js). */

html.theme-dark{
  --paper:#090f1d;
  --surface:#0d1526;
  --ink:#f2ebdd;
  --muted:rgba(242,235,221,.68);
  --sage:#c9a25c;
  --line:rgba(201,162,92,.24);
  --white:#0d1526;
  --gold:#c9a25c;
  --gold-2:#e8cd93;
  color-scheme:dark;
  background:#090f1d;
}

html.theme-dark body{
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(118,160,193,.16), transparent 62%),
    radial-gradient(900px 520px at 8% 8%, rgba(201,162,92,.08), transparent 58%),
    #090f1d;
  color:var(--ink);
}

html.theme-dark ::selection{background:#c9a25c;color:#090f1d}
html.theme-dark :focus-visible{outline-color:#e8cd93}

/* ---------- header / menu ---------- */
html.theme-dark .site-header,
html.theme-dark .page-home .site-header{
  background:rgba(9,15,29,.88);
  border-bottom:1px solid rgba(201,162,92,.18);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
html.theme-dark .page-home.is-scrolled .site-header{background:rgba(9,15,29,.96)}
html.theme-dark .brand__name{color:#f2ebdd}
html.theme-dark .brand__sub{color:rgba(201,162,92,.9)}
html.theme-dark .nav a{color:#f2ebdd}
html.theme-dark .nav a::after{background:#c9a25c}
html.theme-dark .bag{color:#f2ebdd}
html.theme-dark .menu-btn span{background:#f2ebdd}
html.theme-dark .menu{background:#090f1d}
html.theme-dark .menu__link{color:#f2ebdd;border-color:rgba(201,162,92,.22)}
html.theme-dark .menu-email{color:#e8cd93}

/* ---------- hero ---------- */
html.theme-dark .home-hero,
html.theme-dark .alley-hero{background:#090f1d}
html.theme-dark .hero-background img{
  filter:grayscale(1) brightness(.58) contrast(1.08);
}
html.theme-dark .alley-hero::before{
  background:linear-gradient(90deg,
    rgba(9,15,29,.99) 0%,
    rgba(9,15,29,.95) 27%,
    rgba(9,15,29,.72) 43%,
    rgba(9,15,29,.18) 66%,
    transparent 82%);
}
html.theme-dark .hero-copy h1{color:#f2ebdd}
html.theme-dark .hero-copy h1 i{color:#e8cd93}
html.theme-dark .hero-intro{color:rgba(242,235,221,.72)}
html.theme-dark .hero-art figcaption,
html.theme-dark .hero-side-note{color:rgba(242,235,221,.6)}
html.theme-dark .alley-hero .hero-link{
  background:#c9a25c;
  border-color:#c9a25c;
  color:#090f1d;
}
html.theme-dark .alley-hero .hero-link:hover{
  background:#e8cd93;
  border-color:#e8cd93;
  color:#090f1d;
}
html.theme-dark .hero-actions .btn-outline{
  background:rgba(9,15,29,.55);
  border-color:rgba(201,162,92,.55);
  color:#f2ebdd;
}
html.theme-dark .hero-actions .btn-outline:hover{
  background:#c9a25c;
  border-color:#c9a25c;
  color:#090f1d;
}
html.theme-dark .hero-original{
  background:rgba(9,15,29,.82);
  color:#f2ebdd;
  border:1px solid rgba(201,162,92,.22);
}

/* ---------- typography / accents ---------- */
html.theme-dark .eyebrow{color:rgba(201,162,92,.88)}
html.theme-dark .text-link{color:#f2ebdd}
html.theme-dark .text-link:hover{color:#e8cd93}
html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3{color:#f2ebdd}
html.theme-dark .muted,
html.theme-dark .small,
html.theme-dark small{color:var(--muted)}
html.theme-dark .underlined,
html.theme-dark .link{color:#e8cd93}

/* ---------- cards / sections ---------- */
html.theme-dark .art-card__image,
html.theme-dark .home-work-grid .art-card__image{background:#0d1526}
html.theme-dark .art-card__heading h3 a,
html.theme-dark .quiet-link{color:#f2ebdd}
html.theme-dark .quiet-link:hover,
html.theme-dark .art-card__heading h3 a:hover{color:#e8cd93}
html.theme-dark .art-card__meta,
html.theme-dark .title-note{color:rgba(242,235,221,.58)}
html.theme-dark .art-card__price{color:#e8cd93}
html.theme-dark .swipe-hint{color:rgba(242,235,221,.55)}

html.theme-dark .events-band{
  background:#0d1526;
  border:1px solid rgba(201,162,92,.2);
}
html.theme-dark .events-art{background:#131d33}
html.theme-dark .events-art>span{color:#f2ebdd}
html.theme-dark .events-copy{color:#f2ebdd}
html.theme-dark .event-card{
  background:#0d1526;
  border:1px solid rgba(201,162,92,.2);
}
html.theme-dark .botanical{color:rgba(201,162,92,.45)}

html.theme-dark .about-copy{color:#f2ebdd}
html.theme-dark .portrait{filter:saturate(.82) brightness(.9)}
html.theme-dark .contact-line{border-color:rgba(201,162,92,.24)}
html.theme-dark .contact-line a,
html.theme-dark .contact-links a{
  color:#e8cd93;
  border-color:rgba(201,162,92,.5);
}

/* ---------- buttons / chips ---------- */
html.theme-dark .btn{
  border-color:rgba(201,162,92,.45);
  color:#f2ebdd;
}
html.theme-dark .btn:hover{background:rgba(201,162,92,.12)}
html.theme-dark .btn-primary,
html.theme-dark .cart__foot>.btn,
html.theme-dark .modal form>.btn{
  background:#c9a25c;
  border-color:#c9a25c;
  color:#090f1d;
}
html.theme-dark .btn-primary:hover{
  background:#e8cd93;
  border-color:#e8cd93;
  color:#090f1d;
}
html.theme-dark .btn-outline,
html.theme-dark .btn--ghost{
  background:transparent;
  border-color:rgba(201,162,92,.45);
  color:#f2ebdd;
}
html.theme-dark .btn-outline:hover,
html.theme-dark .btn--ghost:hover{
  background:rgba(201,162,92,.12);
  color:#f2ebdd;
}
html.theme-dark .chip{
  border-color:rgba(201,162,92,.32);
  color:rgba(242,235,221,.68);
}
html.theme-dark .chip:hover{background:#131d33}
html.theme-dark .chip.is-active{
  background:#c9a25c;
  border-color:#c9a25c;
  color:#090f1d;
}

/* ---------- forms / modal / cart / lightbox ---------- */
html.theme-dark .modal__panel,
html.theme-dark .cart{background:#0d1526;border-color:rgba(201,162,92,.24)}
html.theme-dark .modal__backdrop{background:rgba(2,5,12,.76)}
html.theme-dark .cart-backdrop{background:rgba(2,5,12,.68)}
html.theme-dark .cart__head,
html.theme-dark .cart__foot,
html.theme-dark .cart-item,
html.theme-dark .modal__items{border-color:rgba(201,162,92,.2)}
html.theme-dark .cart-item__title{color:#f2ebdd}
html.theme-dark .cart-item__meta{color:var(--muted)}
html.theme-dark .cart__total{color:#e8cd93}
html.theme-dark .cart__note,
html.theme-dark .cart__empty p{color:var(--muted)}
html.theme-dark .cart__close,
html.theme-dark .modal__close,
html.theme-dark .lightbox__close{
  border-color:rgba(201,162,92,.3);
  color:#f2ebdd;
}
html.theme-dark .field input,
html.theme-dark .field textarea{
  background:#131d33;
  border-color:rgba(201,162,92,.28);
  color:#f2ebdd;
}
html.theme-dark .field input::placeholder,
html.theme-dark .field textarea::placeholder{color:rgba(242,235,221,.38)}
html.theme-dark .check{color:rgba(242,235,221,.7)}
html.theme-dark .form-msg{color:#e8cd93}
html.theme-dark .form-msg[data-error=true],
html.theme-dark .form-msg[data-error=true] a{color:#e08a7d}
html.theme-dark .lightbox{background:#090f1d}
html.theme-dark .lightbox__close{background:#0d1526}
html.theme-dark .toast{background:#c9a25c;color:#090f1d}

/* ---------- work page ---------- */
html.theme-dark .work-image figcaption{color:var(--muted)}
html.theme-dark .work-copy h1{color:#f2ebdd}
html.theme-dark .work-summary,
html.theme-dark .work-story{color:rgba(242,235,221,.72)}
html.theme-dark .work-specs>div{border-color:rgba(201,162,92,.22)}
html.theme-dark .work-specs dt{color:rgba(242,235,221,.55)}
html.theme-dark .work-specs dd{color:#f2ebdd}
html.theme-dark .work-price{color:#e8cd93}
html.theme-dark .next-work{border-color:rgba(201,162,92,.22)}
html.theme-dark .back-link{color:rgba(242,235,221,.58)}
html.theme-dark .back-link:hover{color:#e8cd93}

/* ---------- page heads / materials / legal / 404 ---------- */
html.theme-dark .page-head h1{color:#f2ebdd}
html.theme-dark .page-head>p:not(.eyebrow){color:var(--muted)}
html.theme-dark .catalog-note{color:var(--muted)}
html.theme-dark .purchase-note{border-color:rgba(201,162,92,.22)}
html.theme-dark .purchase-note p{color:var(--muted)}
html.theme-dark .mat-item{border-color:rgba(201,162,92,.22)}
html.theme-dark .mat-item__name{color:#f2ebdd}
html.theme-dark .mat-item__desc,
html.theme-dark .mat-item__type,
html.theme-dark .mat-item__size{color:var(--muted)}
html.theme-dark .legal h2{color:#f2ebdd}
html.theme-dark .legal p,
html.theme-dark .legal li{color:rgba(242,235,221,.68)}
html.theme-dark .notfound{color:#f2ebdd}

/* ---------- footer ---------- */
html.theme-dark .footer{border-color:rgba(201,162,92,.22)}
html.theme-dark .footer a{color:#f2ebdd}
html.theme-dark .footer a:hover{color:#e8cd93}
html.theme-dark .footer .brand__sub{color:rgba(201,162,92,.85)}
html.theme-dark .footer-email{color:#e8cd93}
html.theme-dark .footer-phone{color:rgba(242,235,221,.7)}
html.theme-dark .footer-bottom{color:rgba(242,235,221,.7)}

/* ---------- mobile hardcoded light backgrounds ---------- */
@media(max-width:600px){
  html.theme-dark .home-hero{background:#090f1d}
  html.theme-dark .home-work-grid .art-card__image,
  html.theme-dark .home-shop-grid .art-card__image{background:#0d1526}
  html.theme-dark .home-work-grid,
  html.theme-dark .home-shop-grid{scrollbar-color:rgba(201,162,92,.4) transparent}
}

/* ---------- print ---------- */
@media print{
  html.theme-dark body{background:white;color:black}
}
