/* ==========================================================================
   Desanya Studio — "After Dark, Gilded" theme refresh (PROPOSAL)
   Drop-in layer: load AFTER styles.css. It overrides tokens and restyles
   existing classes only; no markup changes are needed except the optional
   Gallery showcase block at the bottom of this file.

   Palette borrowed from the assistant icon set (avatar_theme.py):
     navy  #0E0A22 · plum panel #34 1A 62 → #1C0F3E · glow #682C8C
     magenta #D96BC0 · pink #F7AADE · lavender #BAA0EE / #E2D4FA · gold #F5C04A
   Rules of use: magenta = action, gold = small highlights, lavender = labels.
   ========================================================================== */

:root {
  /* Surfaces: deep navy/plum instead of neutral charcoal */
  --bg: #0d0a1d;
  --bg-elevated: #130f27;
  --bg-card: #17122f;
  --bg-soft: #1e1839;
  --bg-header: rgba(13, 10, 29, 0.74);
  --bg-input: #0f0c22;

  /* Text (all pairs checked to WCAG AA, see notes.md) */
  --text: #f7f4fc;
  --text-muted: #bdb5d3;
  --text-dim: #a69ec0;

  /* Lines */
  --border: #2a2347;
  --border-strong: #3d3463;
  --hairline: linear-gradient(90deg, transparent, rgba(186, 160, 238, 0.28) 20%, rgba(245, 192, 74, 0.32) 50%, rgba(186, 160, 238, 0.28) 80%, transparent);

  /* Brand magenta (kept) */
  --accent: #d96bc0;
  --accent-strong: #ee9cdb;
  --accent-deep: #b854a0;
  --accent-soft: rgba(217, 107, 192, 0.12);
  --accent-ink: #1a0f18;
  --accent-grad: linear-gradient(180deg, #e88ad3 0%, #d96bc0 55%, #c95ab1 100%);

  /* New: gold + lavender from the icon set */
  --gold: #f5c04a;
  --gold-soft: #ecc983;        /* small text (eyebrows, footer headings) */
  --gold-deep: #c9962e;
  --gold-ink: #2a1a04;
  --gold-grad: linear-gradient(180deg, #ffd86c 0%, #f5c04a 55%, #e0a63a 100%);
  --lavender: #baa0ee;
  --lavender-light: #e2d4fa;
  --plum-glow: rgba(104, 44, 140, 0.42);

  --warm: var(--gold);
  --focus: #f3d38a;

  /* Shape + depth: rounder, glossier */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(4, 2, 12, 0.4), 0 18px 44px -12px rgba(4, 2, 12, 0.75);
  --shadow-sm: 0 1px 2px rgba(4, 2, 12, 0.35);
  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(4, 2, 12, 0.4), 0 22px 48px -26px rgba(4, 2, 12, 0.9);
  --shadow-lift: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 4px rgba(4, 2, 12, 0.4), 0 30px 60px -24px rgba(4, 2, 12, 0.95), 0 0 0 1px rgba(217, 107, 192, 0.18), 0 18px 50px -20px rgba(217, 107, 192, 0.35);
  --gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.012) 38%, rgba(255, 255, 255, 0) 100%);

  /* Four-point sparkle (same silhouette as the icon set) */
  --sparkle-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F5C04A' d='M12 0c.9 6.9 4.2 10.4 12 12-7.8 1.6-11.1 5.1-12 12-.9-6.9-4.2-10.4-12-12C7.8 10.4 11.1 6.9 12 0z'/%3E%3C/svg%3E");
  --sparkle-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M12 0c.9 6.9 4.2 10.4 12 12-7.8 1.6-11.1 5.1-12 12-.9-6.9-4.2-10.4-12-12C7.8 10.4 11.1 6.9 12 0z'/%3E%3C/svg%3E");
  --sparkle-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F582DC' d='M12 0c.9 6.9 4.2 10.4 12 12-7.8 1.6-11.1 5.1-12 12-.9-6.9-4.2-10.4-12-12C7.8 10.4 11.1 6.9 12 0z'/%3E%3C/svg%3E");
  --dots: radial-gradient(circle, rgba(186, 160, 238, 0.11) 1.1px, transparent 1.7px);
}

/* ---------- Page canvas: radial glows + faint dot texture ---------- */
html { background: var(--bg); }
body { background: transparent; position: relative; isolation: isolate; }

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(60% 55% at 12% -8%, var(--plum-glow), transparent 70%),
    radial-gradient(42% 40% at 96% 6%, rgba(217, 107, 192, 0.10), transparent 70%),
    radial-gradient(55% 50% at 85% 108%, rgba(104, 44, 140, 0.24), transparent 72%),
    radial-gradient(35% 30% at 10% 100%, rgba(245, 192, 74, 0.04), transparent 70%);
}

body::after {
  background-image: var(--dots), var(--dots);
  background-size: 26px 26px, 26px 26px;
  background-position: 0 0, 13px 13px;
  -webkit-mask-image: radial-gradient(120% 75% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 85%);
  mask-image: radial-gradient(120% 75% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 85%);
}

::selection { background: rgba(217, 107, 192, 0.35); color: #fff; }

a:hover { color: #f7c1ea; }

/* ---------- Header ---------- */
.site-header { background: var(--bg-header); }
.site-header::after { background: var(--hairline); opacity: 0.8; }
/* New transparent wordmark (assets/desanya-wordmark-inline.*): no tile, so no radius or shadow */
.brand-logo {
  height: 50px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 820px) {
  .brand-logo { height: 42px; border-radius: 0; }
}

.site-nav a { color: var(--text-muted); letter-spacing: 0; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"]::after {
  background: linear-gradient(90deg, var(--accent), var(--gold));
  height: 1.5px;
}

.site-nav .nav-cta {
  background: var(--accent-grad);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 22px -10px rgba(217, 107, 192, 0.8);
}
.site-nav .nav-cta:hover { background: var(--accent-strong); color: var(--accent-ink); }

.nav-toggle { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.03); }

@media (max-width: 820px) {
  .site-header { background: rgba(13, 10, 29, 0.96); }
  .site-nav {
    background:
      radial-gradient(80% 50% at 0% 0%, var(--plum-glow), transparent 70%),
      var(--bg);
  }
  .site-nav a[aria-current="page"]::after { background: var(--gold); }
}

/* ---------- Type accents ---------- */
.eyebrow {
  color: var(--gold-soft);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.accent-text { color: var(--accent-strong); }

.section-header h2,
.cta-band h2,
.proof-card h2 { text-wrap: balance; }

/* Centered section eyebrows get thin gold rules: agency-style, quiet */
.section-header--center .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.section-header--center .eyebrow::before,
.section-header--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 201, 131, 0.7));
}
.section-header--center .eyebrow::after { transform: scaleX(-1); }

/* Hero + page-hero eyebrows get one small sparkle (the only always-on sparkle) */
.hero .eyebrow,
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero .eyebrow::before,
.page-hero .eyebrow::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  background: var(--sparkle-gold) center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(245, 192, 74, 0.55));
}

/* ---------- Buttons ---------- */
.btn { letter-spacing: -0.005em; }

.btn-primary {
  background: var(--accent-grad);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 10px 26px -12px rgba(217, 107, 192, 0.85);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f2a6df 0%, #e48ad0 100%);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 32px -12px rgba(217, 107, 192, 0.95);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border-color: rgba(186, 160, 238, 0.32);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-secondary:hover {
  border-color: rgba(236, 201, 131, 0.6);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  color: var(--text);
}

.btn-ghost { text-decoration-color: rgba(186, 160, 238, 0.45); }

.text-link { color: var(--accent-strong); }

/* ---------- Bands + sections ---------- */
.band,
.cta-band,
.site-footer {
  border-top: 1px solid transparent;
  border-image: var(--hairline) 1;
}

.band--service-area {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(104, 44, 140, 0.16), transparent 70%);
}
.service-area strong { color: var(--text); }

.band--skills,
.band--follow {
  background: linear-gradient(180deg, rgba(19, 15, 39, 0.0), rgba(19, 15, 39, 0.55) 30%, rgba(19, 15, 39, 0.55) 70%, rgba(19, 15, 39, 0));
}

/* ---------- Hero ---------- */
.hero::before {
  height: 100%;
  background:
    radial-gradient(55% 60% at 14% 0%, rgba(104, 44, 140, 0.30), transparent 70%),
    radial-gradient(40% 55% at 78% 45%, rgba(217, 107, 192, 0.12), transparent 70%),
    radial-gradient(22% 30% at 86% 18%, rgba(245, 192, 74, 0.07), transparent 70%);
}

.hero-sub { color: var(--text-muted); }

.trust-list { border-top: 1px solid transparent; border-image: linear-gradient(90deg, rgba(186, 160, 238, 0.3), transparent 90%) 1; }
.trust-check {
  background: rgba(186, 160, 238, 0.14);
  color: var(--lavender-light);
  box-shadow: inset 0 0 0 1px rgba(186, 160, 238, 0.28);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: center / contain no-repeat;
}
.hero-visual::before {           /* gold sparkle, top-right of the photo */
  width: 30px; height: 30px;
  top: -14px; right: -12px;
  background-image: var(--sparkle-gold);
  filter: drop-shadow(0 0 10px rgba(245, 192, 74, 0.6));
}
.hero-visual::after {            /* tiny white sparkle */
  width: 12px; height: 12px;
  top: 30px; right: -30px;
  background-image: var(--sparkle-white);
  opacity: 0.8;
}

.hero-art {
  border: 1px solid rgba(226, 212, 250, 0.16);
  border-radius: 24px;
  box-shadow:
    0 0 0 8px rgba(186, 160, 238, 0.05),
    0 0 0 9px rgba(186, 160, 238, 0.10),
    0 40px 90px -20px rgba(4, 2, 12, 0.9),
    0 0 90px -10px rgba(217, 107, 192, 0.28);
}

.hero-proof-chip {
  background: linear-gradient(180deg, rgba(36, 28, 68, 0.92), rgba(21, 16, 44, 0.92));
  border: 1px solid rgba(186, 160, 238, 0.24);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.hero-proof-stars { color: var(--gold); text-shadow: 0 0 18px rgba(245, 192, 74, 0.35); }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero::before {
  background:
    radial-gradient(55% 90% at 8% 0%, rgba(104, 44, 140, 0.32), transparent 70%),
    radial-gradient(30% 60% at 92% 10%, rgba(217, 107, 192, 0.08), transparent 70%);
}

/* ---------- Glossy cards (shared treatment) ---------- */
.path-card,
.price-card,
.step,
.skill-group,
.work-card,
.service-card,
.post-card,
.direct-card,
.summary-card,
.gallery-item,
.case-card,
.booking-card,
.contact-form,
.engagements-card {
  border-color: var(--border);
  background-image: var(--gloss);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.path-card,
.price-card,
.step,
.skill-group,
.work-card,
.post-card { border-radius: var(--radius); }

.path-card,
.post-card,
.work-card--link,
.price-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.path-card:hover,
.post-card:hover,
.work-card--link:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 107, 192, 0.45);
  background-color: var(--bg-soft);
  box-shadow: var(--shadow-lift);
}

.path-kicker { color: var(--lavender); }
.path-price small { color: var(--text-dim); }
.path-card:hover .path-arrow { color: var(--gold); }

/* Featured / key variants: magenta edge + soft plum glow */
.price-card--featured,
.step--key,
.booking-card {
  border-color: rgba(217, 107, 192, 0.5);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(217, 107, 192, 0.14), transparent 70%),
    var(--gloss),
    var(--bg-card);
}

.price-card-badge {
  background: var(--gold-grad);
  color: var(--gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 16px -6px rgba(245, 192, 74, 0.6);
}

.price-list li::before { color: var(--gold); }

.step-num {
  color: var(--gold);
  opacity: 1;
  text-shadow: 0 0 22px rgba(245, 192, 74, 0.25);
}

.step-optional { border-color: rgba(186, 160, 238, 0.35); color: var(--lavender); }

.group-kicker,
.case-label,
.skill-group h3 { color: var(--lavender); }

.skill-list a,
.skill-list span {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(186, 160, 238, 0.22);
}
.skill-list a:hover {
  color: var(--text);
  border-color: rgba(217, 107, 192, 0.6);
  background: var(--accent-soft);
}

.principle-grid { background: var(--border); border-color: var(--border); border-radius: var(--radius); }
.principle { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 60%), var(--bg-elevated); }

/* ---------- Proof card (home) ---------- */
.proof-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(186, 160, 238, 0.18);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(104, 44, 140, 0.30), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(245, 192, 74, 0.06), transparent 70%),
    var(--gloss),
    var(--bg-elevated);
  box-shadow: var(--shadow-card);
}
.proof-card::before {
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 192, 74, 0.55), transparent);
}
.proof-stats,
.case-stats { background: var(--border); border-color: var(--border); border-radius: var(--radius); }
.proof-stats div { background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--bg-card); }
.client-logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 26px -8px rgba(4, 2, 12, 0.8); }

/* ---------- About image ---------- */
.about-mark {
  border-color: rgba(186, 160, 238, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 70px -20px rgba(217, 107, 192, 0.3);
}

/* ---------- Review block + forms ---------- */
.review-leave {
  border-radius: var(--radius-lg);
  border-color: rgba(186, 160, 238, 0.18);
  background:
    radial-gradient(70% 70% at 0% 0%, rgba(104, 44, 140, 0.24), transparent 70%),
    var(--gloss),
    var(--bg-elevated);
  box-shadow: var(--shadow-card);
}
.review-form.contact-form { background: transparent; box-shadow: none; }

.form-field input,
.form-field select,
.form-field textarea,
.chat-lead-field input,
.chat-lead-field select,
.chat-input {
  background-color: var(--bg-input);
  border-color: var(--border-strong);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 107, 192, 0.18); }

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label { color: var(--gold); }

.slot span { border-color: var(--border-strong); background: var(--bg-input); }

/* ---------- Follow band + figures ---------- */
.follow-figure,
.contact-follow img,
.post-hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 60px -24px rgba(217, 107, 192, 0.35);
}
.post-card picture { background: var(--bg); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 140% at 100% 0%, rgba(217, 107, 192, 0.16), transparent 65%),
    radial-gradient(45% 140% at 0% 100%, rgba(104, 44, 140, 0.35), transparent 70%),
    var(--bg-elevated);
}
.cta-band::before {                 /* dot texture, fading right-to-left */
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dots), var(--dots);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%);
  mask-image: linear-gradient(270deg, #000, transparent 70%);
  pointer-events: none;
}
.cta-band::after {                  /* one gold sparkle */
  content: "";
  position: absolute;
  top: 22%;
  right: 6%;
  width: 22px;
  height: 22px;
  background: var(--sparkle-gold) center / contain no-repeat;
  filter: drop-shadow(0 0 10px rgba(245, 192, 74, 0.6));
  opacity: 0.9;
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
@media (max-width: 820px) {
  .cta-band::after { top: 1.1rem; right: 1.25rem; width: 16px; height: 16px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(104, 44, 140, 0.16), transparent 70%),
    #0a0817;
}
.footer-heading { color: var(--gold-soft); letter-spacing: 0.16em; }
.footer-bottom { border-top-color: var(--border); }
.footer-links a:hover { color: var(--accent-strong); }
/* Stacked wordmark (assets/desanya-wordmark.*) in the footer */
.footer-logo { height: 64px; width: auto; border-radius: 0; box-shadow: none; }

/* ---------- Gallery tiles (existing grid) ---------- */
.gallery-item { border-radius: var(--radius); }
.gallery-meta {   /* darker scrim than before so captions pass AA over light photos */
  background: linear-gradient(rgba(10, 6, 24, 0), rgba(10, 6, 24, 0.78) 45%, rgba(10, 6, 24, 0.94));
}
.gallery-ph--a,
.gallery-ph--b,
.gallery-ph--c { background-color: #15112b; }
.gallery-ph {
  background-image:
    radial-gradient(70% 70% at 50% 30%, rgba(104, 44, 140, 0.25), transparent 70%),
    var(--dots);
  background-size: auto, 22px 22px;
}
.gallery-item--placeholder { border-color: var(--border-strong); }
.gallery-item--cta { border-color: rgba(217, 107, 192, 0.5); }
.gallery-cta {
  background:
    radial-gradient(circle at 80% 10%, rgba(217, 107, 192, 0.25), transparent 60%),
    radial-gradient(circle at 10% 100%, rgba(245, 192, 74, 0.08), transparent 55%),
    var(--bg-card);
}
.gallery-zoom { background: rgba(13, 10, 29, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); }

.lightbox { background: rgba(10, 8, 22, 0.95); }
.lightbox-btn { background: rgba(23, 18, 47, 0.85); border-color: var(--border-strong); }

/* ---------- Misc components ---------- */
.jump-links a { border-color: rgba(186, 160, 238, 0.25); background: rgba(255, 255, 255, 0.03); }
.jump-links a:hover { border-color: rgba(217, 107, 192, 0.6); }
.price-table thead th { color: var(--lavender); }
.faq details { border-color: var(--border); }
.faq summary::marker { color: var(--gold); }
.post-body blockquote { border-left-color: var(--gold); }

/* ---------- Chat launcher + panel ---------- */
.chat-launcher {
  background: var(--accent-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 14px 34px -12px rgba(217, 107, 192, 0.75), 0 2px 6px rgba(4, 2, 12, 0.5);
}
.chat-launcher:hover { background: linear-gradient(180deg, #f2a6df 0%, #e48ad0 100%); }
.chat-panel {
  border-color: rgba(186, 160, 238, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(104, 44, 140, 0.16), transparent 30%), var(--bg-elevated);
  box-shadow: var(--shadow);
}

/* ==========================================================================
   NEW COMPONENT — Gallery showcase (brand identity case study)
   Markup: gallery-showcase.html. Icons expected at assets/avatars/.
   ========================================================================== */
.showcase { padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(3rem, 7vw, 5rem); }

.showcase-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.6rem, 4.5vw, 3.5rem);
  border-radius: 28px;
  border: 1px solid rgba(186, 160, 238, 0.20);
  background:
    radial-gradient(65% 55% at 50% 0%, rgba(104, 44, 140, 0.50), transparent 72%),
    radial-gradient(35% 45% at 100% 100%, rgba(245, 192, 74, 0.07), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgba(217, 107, 192, 0.08), transparent 70%),
    linear-gradient(180deg, #1b1438 0%, #120e27 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 4px rgba(4, 2, 12, 0.4),
    0 50px 100px -50px rgba(4, 2, 12, 1);
}
.showcase-card::before {            /* faint dot texture */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--dots), var(--dots);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 10%, #000, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 10%, #000, transparent 80%);
  pointer-events: none;
}
.showcase-card::after {             /* gold hairline on the top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 192, 74, 0.7), transparent);
  pointer-events: none;
}

.showcase-sparkle {
  position: absolute;
  width: 26px;
  height: 26px;
  top: clamp(1.1rem, 3vw, 2rem);
  right: clamp(1.1rem, 3vw, 2.2rem);
  background: var(--sparkle-gold) center / contain no-repeat;
  filter: drop-shadow(0 0 10px rgba(245, 192, 74, 0.6));
}
.showcase-sparkle::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -18px;
  top: 26px;
  background: var(--sparkle-white) center / contain no-repeat;
  opacity: 0.75;
}

.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.25rem clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4.5vw, 3rem);
  padding-right: 2rem;
}
.showcase-head .eyebrow { margin-bottom: 0.9rem; }
.showcase-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.showcase-title .nobr { white-space: nowrap; }
.showcase-lede {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.65;
}
.showcase-specs {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.showcase-specs li {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(186, 160, 238, 0.26);
  background: rgba(255, 255, 255, 0.035);
  color: var(--lavender-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.icon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --cols: 5;
  --gap: clamp(0.9rem, 2.2vw, 1.75rem);
  gap: calc(var(--gap) * 1.15) var(--gap);
}
.icon-tile { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }

.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 22%;
}
.icon-link:hover { color: var(--text); }
.icon-link:focus-visible { outline: none; }

/* Crops the PNG to its rounded panel so shadow + glow follow the tile shape */
.icon-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22.6%;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(4, 2, 12, 0.5),
    0 18px 34px -16px rgba(4, 2, 12, 0.95);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.icon-frame picture { display: block; }
.icon-frame img {
  display: block;
  max-width: none;
  width: 121.905%;          /* 1024 / 840: the panel spans 840 of 1024 px */
  height: auto;
  margin: -10.952% 0 0 -10.952%;   /* 92 / 840: panel inset */
}
.icon-frame::after {                /* glossy rim + top sheen */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(226, 212, 250, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.icon-name {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
  transition: color 0.25s ease;
}

.icon-link:hover .icon-frame,
.icon-link:focus-visible .icon-frame {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(245, 192, 74, 0.45),
    0 26px 44px -18px rgba(4, 2, 12, 1),
    0 0 46px -6px rgba(217, 107, 192, 0.55);
}
.icon-link:focus-visible .icon-frame { outline: 2px solid var(--focus); outline-offset: 4px; }
.icon-link:hover .icon-name,
.icon-link:focus-visible .icon-name { color: var(--gold-soft); }

@media (max-width: 820px) {
  .showcase-head { grid-template-columns: 1fr; align-items: start; padding-right: 2.25rem; }
}
@media (max-width: 760px) {
  .icon-grid { --cols: 3; }
  .icon-name { font-size: 0.82rem; }
}
@media (max-width: 340px) {
  .icon-grid { --cols: 2; }
}

/* ==========================================================================
   NEW COMPONENT — "Desanya character & brand art" (commissioned pieces)
   Markup: gallery-brand-art.html. Images expected at assets/brand-art/.
   ========================================================================== */
.brand-art { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
.brand-art .section-header { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.brand-art .section-header h2 { text-wrap: balance; }

.art-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Six tracks so the wide mascot can sit beside one portrait (4+2)
     and the two portraits below can share the row (3+3) with no empty cell. */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: start;
}
.art-grid > .art-card { grid-column: span 2; }
.art-grid > .art-card--wide { grid-column: span 4; }
.art-grid > .art-card:nth-child(n + 3) { grid-column: span 3; }

.art-link {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
}
.art-link:hover { color: var(--text); }
.art-link:focus-visible { outline: none; }

/* framed mat: glossy navy card with a thin inner frame, artwork contained (never cropped) */
.art-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  border: 1px solid rgba(186, 160, 238, 0.20);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(104, 44, 140, 0.35), transparent 70%),
    var(--gloss),
    var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.art-card--square .art-frame { aspect-ratio: 1 / 1; }
/* the wide mascot stretches to the height of the square card beside it */
.art-card--wide { align-self: stretch; display: flex; }
.art-card--wide .art-link { flex: 1; }
.art-card--wide .art-frame { flex: 1; aspect-ratio: auto; }
.art-frame::after {                 /* thin gold hairline frame inside the mat */
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 15px;
  border: 1px solid rgba(245, 192, 74, 0.16);
  pointer-events: none;
}
.art-frame picture { display: contents; }
.art-frame img {                    /* centred inside the mat at its own aspect, so radius + shadow hug the art */
  position: absolute;
  inset: clamp(0.8rem, 1.8vw, 1.15rem);
  margin: auto;
  width: auto;
  height: auto;
  max-width: calc(100% - 2 * clamp(0.8rem, 1.8vw, 1.15rem));
  max-height: calc(100% - 2 * clamp(0.8rem, 1.8vw, 1.15rem));
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 34px -14px rgba(4, 2, 12, 0.95);
}

.art-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-left: 0.25rem;
  transition: color 0.25s ease;
}

.art-link:hover .art-frame,
.art-link:focus-visible .art-frame {
  transform: translateY(-5px);
  border-color: rgba(245, 192, 74, 0.45);
  box-shadow: var(--shadow-lift);
}
.art-link:focus-visible .art-frame { outline: 2px solid var(--focus); outline-offset: 4px; }
.art-link:hover .art-title,
.art-link:focus-visible .art-title { color: var(--gold-soft); }

@media (max-width: 760px) {
  /* Three portraits share one row under the full-width mascot, so none sits alone. */
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
  .art-grid > .art-card,
  .art-grid > .art-card:nth-child(n + 3) { grid-column: auto; }
  .art-grid > .art-card--wide { grid-column: 1 / -1; }
  .art-card--wide .art-frame { aspect-ratio: 16 / 8; }
  .art-card--square .art-frame { aspect-ratio: 4 / 5; }
  .art-link { gap: 0.45rem; }
  .art-frame img {
    inset: 0.45rem;
    max-width: calc(100% - 0.9rem);
    max-height: calc(100% - 0.9rem);
  }
  .art-title { font-size: 0.75rem; line-height: 1.25; overflow-wrap: break-word; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .path-card,
  .post-card,
  .price-card,
  .icon-frame,
  .icon-name,
  .art-frame,
  .art-title { transition: none; }
  .path-card:hover,
  .post-card:hover,
  .work-card--link:hover,
  .icon-link:hover .icon-frame,
  .icon-link:focus-visible .icon-frame,
  .art-link:hover .art-frame,
  .art-link:focus-visible .art-frame { transform: none; }
}

/* Windows High Contrast / forced colors: drop decorative layers */
@media (forced-colors: active) {
  body::before, body::after, .cta-band::before, .cta-band::after,
  .showcase-card::before, .showcase-sparkle, .hero-visual::before, .hero-visual::after { display: none; }
}
