/* ═══════════════════════════════════════════════════════════════════════════
   OVERTONE — THE DEPTH + OPULENCE LAYER (v3)
   Translated 2026-08-11 from an eyes-on pass over launchkits.dev.

   That site is LIGHT (warm cream paper) and this one is dark, so nothing was
   copied literally. What transfers is the LOGIC, and it is four ideas:

     1. Every section is announced by a small-caps rule-flanked eyebrow, so the
        page reads as a set of deliberate chapters rather than one long scroll.
     2. Feature panels carry real TEXTURE plus a faint engineered line-art plate
        behind the content, with print-style corner ticks. Texture is what stops
        a large surface from reading as an empty div.
     3. Taxonomy is COLOUR-CODED per item. Variety inside a uniform system is
        what makes a dense grid scannable instead of exhausting.
     4. Hover is a REWARD, not a state change. A lift, a warming border, and a
        slow sheen that crosses the card once. Subtle enough to bear repetition,
        felt enough to pull the next click.

   Every plate here is inline SVG: zero licensing exposure, zero external
   requests, and nothing that can 404 in a year. Loaded after theme.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* soft vignette: pulls the eye toward the centre column with no visible edge */
body { box-shadow: inset 0 0 240px 60px rgba(0,0,0,.34); }

/* ── 1. RULE-FLANKED EYEBROW ─────────────────────────────────────────── */
.rule-eyebrow {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--text-dim);
  margin: 0 0 18px;
}
.rule-eyebrow::before, .rule-eyebrow::after {
  content: ""; height: 1px; width: min(80px, 12vw);
  background: linear-gradient(90deg, transparent, var(--line));
}
.rule-eyebrow::after { background: linear-gradient(90deg, var(--line), transparent); }
.rule-eyebrow.left { justify-content: flex-start; }
.rule-eyebrow.left::before { display: none; }

/* ── 2. FEATURE PANEL: texture + engineered plate + corner ticks ─────── */
.panel {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  background:
    radial-gradient(120% 130% at 88% 8%, rgba(255,90,60,.16), transparent 58%),
    radial-gradient(90% 110% at 4% 96%, rgba(63,199,187,.10), transparent 60%),
    linear-gradient(160deg, var(--paper-3), var(--paper));
}
/* the engineered plate: a technical grid and an orbit, DRAWN not photographed */
.panel::before {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='400' viewBox='0 0 560 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M0 340h560M0 300h560M0 260h560M0 220h560'/%3E%3Cpath d='M60 400V0M140 400V0M220 400V0M300 400V0M380 400V0M460 400V0'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ff5a3c' stroke-opacity='0.18'%3E%3Ccircle cx='430' cy='140' r='96'/%3E%3Ccircle cx='430' cy='140' r='58'/%3E%3Cpath d='M120 330 L230 250 L310 286 L430 140'/%3E%3C/g%3E%3Cg fill='%23ff5a3c' fill-opacity='0.36'%3E%3Ccircle cx='230' cy='250' r='3.5'/%3E%3Ccircle cx='310' cy='286' r='3.5'/%3E%3Ccircle cx='430' cy='140' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
/* print crop marks: the cheapest possible signal that a surface was composed */
.panel::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(var(--line-soft),var(--line-soft)) left top/14px 1px no-repeat,
    linear-gradient(var(--line-soft),var(--line-soft)) left top/1px 14px no-repeat,
    linear-gradient(var(--line-soft),var(--line-soft)) right top/14px 1px no-repeat,
    linear-gradient(var(--line-soft),var(--line-soft)) right top/1px 14px no-repeat,
    linear-gradient(var(--line-soft),var(--line-soft)) left bottom/14px 1px no-repeat,
    linear-gradient(var(--line-soft),var(--line-soft)) left bottom/1px 14px no-repeat,
    linear-gradient(var(--line-soft),var(--line-soft)) right bottom/14px 1px no-repeat,
    linear-gradient(var(--line-soft),var(--line-soft)) right bottom/1px 14px no-repeat;
}
.panel-body { position: relative; z-index: 2; padding: clamp(26px, 3.5vw, 46px); }
/* frosted card holding the copy, so type never fights the plate behind it */
.panel-glass {
  max-width: 60ch;
  background: linear-gradient(180deg, rgba(21,22,27,.66), rgba(21,22,27,.40));
  backdrop-filter: blur(7px); border: 1px solid var(--line-soft);
  border-radius: 16px; padding: clamp(22px, 2.6vw, 34px);
}

/* ── 3. TAXONOMY PILLS (per-item hue) + LIVE STATUS PILL ─────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.pill {
  --h: var(--accent);
  display: inline-block;
  font-family: var(--mono); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: var(--h);
  border: 1px solid color-mix(in srgb, var(--h) 42%, transparent);
  background: color-mix(in srgb, var(--h) 11%, transparent);
  transition: background .18s ease, transform .18s ease;
}
a.pill:hover { background: color-mix(in srgb, var(--h) 20%, transparent); transform: translateY(-1px); color: var(--h); }
.pill.h-data   { --h: var(--secondary); }
.pill.h-econ   { --h: #f2b544; }
.pill.h-tour   { --h: #8f8cf5; }
.pill.h-rights { --h: #f06ba8; }
.pill.h-chart  { --h: #5bc47a; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--secondary-light); padding: 5px 12px 5px 10px; border-radius: 999px;
  border: 1px solid rgba(63,199,187,.34); background: rgba(63,199,187,.08);
}
.status .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--secondary);
  box-shadow: 0 0 0 0 rgba(63,199,187,.6); animation: ot-pulse 2.6s infinite;
}
@keyframes ot-pulse { 70% { box-shadow: 0 0 0 7px rgba(63,199,187,0); } 100% { box-shadow: 0 0 0 0 rgba(63,199,187,0); } }

/* ── 4. FILTER CHIP ROW (with counts) ────────────────────────────────── */
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper-2); color: var(--text-dim);
  font-size: .85rem; transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.chip .cdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.chip .count { font-family: var(--mono); font-size: .73rem; color: var(--text-faint); }
.chip:hover { border-color: rgba(255,90,60,.4); color: var(--text); }
.chip.on { background: var(--accent); border-color: transparent; color: #14151a; font-weight: 600; }
.chip.on .count { color: rgba(20,21,26,.72); }

/* ── 5. CIRCULAR THUMBNAILS (the artist row) ─────────────────────────── */
.facerow { display: flex; flex-wrap: wrap; gap: 24px; margin: 26px 0 0; }
/* display:block is LOAD-BEARING on both. .face is an <a> and .ring is a <span>, both inline by
   default, and width/height are silently IGNORED on inline elements. Without these the plates
   render as tall rectangles and the border-radius never makes a circle. Caught by eyes-on
   2026-08-11; every programmatic check passed because the images were loading correctly. */
.face { display: block; width: 96px; text-align: center; }
.face .ring {
  display: block;
  width: 96px; height: 96px; border-radius: 50%; position: relative; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-1), inset 0 1px 0 var(--lit);
  background: linear-gradient(160deg, var(--paper-3), var(--paper));
  transition: transform .24s cubic-bezier(.2,.7,.3,1), border-color .24s ease;
}
.face .ring img, .face .ring svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.face:hover .ring { transform: translateY(-3px) scale(1.03); border-color: rgba(255,90,60,.45); }
.face .nm { display: block; margin-top: 10px; font-size: .81rem; color: var(--text); line-height: 1.3; }
.face .mt { display: block; font-family: var(--mono); font-size: .71rem; color: var(--secondary-light); }

/* ── 6. HOVER AS REWARD: one slow sheen across the card ──────────────── */
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.06) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: opacity .2s ease, transform .8s cubic-bezier(.25,.6,.3,1);
}
.card:hover::after { opacity: 1; transform: translateX(120%); }

/* a number used as a graphic element, for infographic rows */
.bigfig {
  font-family: var(--serif); font-weight: 900; font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: .9; letter-spacing: -.04em; color: var(--secondary-light);
}
.bigfig small {
  display: block; font-family: var(--sans); font-weight: 400; font-size: .88rem;
  letter-spacing: 0; color: var(--text-dim); margin-top: 10px; line-height: 1.5;
}
.figrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }

@media (prefers-reduced-motion: reduce) {
  .status .dot { animation: none; }
  .card::after { display: none; }
  .face:hover .ring, a.pill:hover { transform: none; }
}
