/* ==========================================================================
   Dark theme — the whole site on black (#0b0b0c) with light text. (Earlier test: grey #434343.)
   To go back to the white site, remove the <link …theme-grey.css> line from each page
   (or delete this file's contents). Nothing else depends on it.
   ========================================================================== */
:root {
  --canvas: #0b0b0c;            /* page background: soft black */
  --white: #17171a;             /* "white" panels become a slightly lighter black */
  --linen: #151517;             /* soft panels, photo backdrops */
  --linen-deep: #202023;
  --rule: rgba(255, 255, 255, .12);
  --stone: rgba(255, 255, 255, .26);
  --ink: #f4f2ee;               /* main text */
  --ink-soft: #e0dcd6;
  --muted: #aeaaa4;
  --umber: #e3cfc1;
  --umber-deep: #ead8ca;
  --terracotta: #e48a6c;        /* accent: lighter so it reads on grey */
  --terracotta-deep: #f8bea8;   /* accent text (prices, links) */
  --terracotta-btn: #ad4d35;    /* behind white button text */
  --terracotta-soft: rgba(228, 138, 108, .3);
  --terracotta-tint: rgba(228, 138, 108, .1);
  --success: #8fc79c;
  --error: #ff9b8f;
  --dark-ink: #1c1c1f;          /* text on white pills and buttons */
  --shadow-float: 0 18px 40px -18px rgba(0, 0, 0, .55), 0 4px 12px -4px rgba(0, 0, 0, .25);
  color-scheme: dark;
}
body { background: var(--canvas); color: var(--ink); }
::selection { background: rgba(228, 138, 108, .45); color: #fff; }

/* Logo: white version */
.brand-logo.for-light { display: none; }
.brand-logo.for-dark { display: block; }

/* Header, menus, footer */
.site-header { background: rgba(11, 11, 12, .9); }
.site-header.scrolled { border-bottom-color: var(--rule); }
.mobile-nav { background: var(--canvas); }
.mobile-cta { background: rgba(11, 11, 12, .96); border-top-color: var(--rule); }
.site-footer { background: #121214; }

/* Buttons: light buttons get dark text */
.btn-primary, .btn-dark { background: var(--ink); color: var(--dark-ink); border-color: var(--ink); }
.btn-primary:hover, .btn-dark:hover { background: var(--terracotta-btn); border-color: var(--terracotta-btn); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--dark-ink); }
.btn-soft { background: rgba(255, 255, 255, .08); color: var(--ink); border-color: var(--rule); }
.btn-soft:hover { background: rgba(255, 255, 255, .16); }
.btn-pill { background: #fff; color: var(--dark-ink); border-color: #fff; }
.btn-pill:hover { background: var(--terracotta-btn); border-color: var(--terracotta-btn); color: #fff; }
.filters button { background: transparent; color: var(--ink-soft); border-color: var(--rule); }
.filters button:hover { background: rgba(255, 255, 255, .08); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--dark-ink); }

/* White labels sitting on photos keep dark text */
.tag:not(.dark):not(.sold), .hover-cta > span, .collage-tile figcaption, .deck-card figcaption,
.deck .collage-badge, .photo-arrow, .lb-close, .lb-nav, .lb-thumbs, .lb-photo-arrow, .plaque-float { color: var(--dark-ink); }
.deck .collage-badge .star { color: var(--dark-ink); }
.lb-close, .lb-nav { background: rgba(255, 255, 255, .92); border-color: transparent; }
.lb-close:hover, .lb-nav:hover { background: var(--terracotta-btn); color: #fff; }

/* Cards and panels */
.mount, .mount.white, .quote-card, .portrait-plaque, .chip, .step .num, .thumb, .thumb .frame { background: var(--white); }
.icon-badge { background: rgba(255, 255, 255, .1); color: var(--terracotta-deep); }
.shop-card { background: transparent; }
.shop-card:hover { background: rgba(255, 255, 255, .04); }
.course-card { background: #141416; border-color: var(--rule); --tint: rgba(228, 138, 108, .2); }
.course-card:nth-child(3n+2) { --tint: rgba(150, 150, 230, .18); }
.course-card:nth-child(3n+3) { --tint: rgba(110, 200, 190, .16); }
.course-card.featured { background: #141416; border-color: var(--terracotta); }
.course-card.featured .course-top { --tint: rgba(228, 138, 108, .3); }
.course-card .ribbon { background: var(--ink); color: var(--dark-ink); }
.course-card.featured .btn-primary { background: var(--terracotta-btn); border-color: var(--terracotta-btn); color: #fff; }
.course-card.featured .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--dark-ink); }
.course-card .curriculum li svg { color: var(--ink-soft); }
.course-card .price-line strong { color: var(--ink); }
.course-card .schedule, .batch { background: rgba(255, 255, 255, .06); }
button.batch:hover { background: rgba(255, 255, 255, .1); border-color: var(--ink); }

/* Forms */
.field input, .field select, .field textarea, .input { background: #1a1a1d; color: var(--ink); border-color: var(--stone); }
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: #8a8681; }
.checkbox input { background: #1a1a1d; }
.checkbox input:checked { background: var(--terracotta); border-color: var(--terracotta); }
.form-note { background: rgba(255, 255, 255, .06); }

/* Large view (Work page) and painting page */
.lightbox { background: rgba(0, 0, 0, .8); }
.lightbox-panel { background: #141416; border: 1px solid var(--rule); }
.lightbox-view { background: #141416; }
.detail-main { background: none; }

/* Home: the landing area uses the same grey */
.deck-section { --hero-bg: #0b0b0c; background: var(--hero-bg); }
.deck-section .deck-card { background: #1a1a1d; }
.deck-section .btn-primary { background: #fff; color: var(--dark-ink); border-color: #fff; }
.deck-section .collage-arrow { background: #fff; color: var(--dark-ink); }
.collage-arrow { background: #fff; color: var(--dark-ink); box-shadow: 0 0 0 6px var(--canvas); }
.news-panel { background: #151517; }
.stat { background: #151517; }
.info-strip { background: #151517; }

/* Readability on mid-grey */
.deck-section .hero-where { color: rgba(255, 255, 255, .74) !important; }
.deck-section .btn-primary:hover, .deck-section .collage-arrow:hover { background: var(--terracotta-btn); border-color: var(--terracotta-btn); color: #fff; }
.chip.accent { background: rgba(0, 0, 0, .18); color: var(--terracotta-deep); }
.course-card .schedule, .batch { background: rgba(0, 0, 0, .12); }
button.batch:hover { background: rgba(0, 0, 0, .2); }
.seat-chip.ok { background: rgba(0, 0, 0, .2); color: #b5e3c0; border-color: rgba(181, 227, 192, .3); }
.seat-chip.low { background: rgba(0, 0, 0, .2); color: var(--terracotta-deep); border-color: rgba(248, 190, 168, .3); }
.seat-chip.full { background: var(--ink); color: var(--dark-ink); }
.seat-chip.open { background: rgba(0, 0, 0, .2); color: var(--ink-soft); }

/* Black: soft shadows read as glows on black, so keep them subtle; give cards a hairline instead */
.shop-card:hover { background: rgba(255, 255, 255, .03); }
.mount, .quote-card, .stat, .news-panel, .info-strip { border: 1px solid var(--rule); }
