/* ============================================================
   Yashwika Studio — Gallery (homepage showroom)
   ============================================================ */

.gallery-view {
  --gal-bg: #0e0f12;
  --gal-ink: #ecebe4;
  --gal-mut: #9897a2;
  --gal-line: rgba(255,255,255,.09);
  --gal-accent: #ffd166;
  background: var(--gal-bg);
  color: var(--gal-ink);
  min-height: 100vh;
  position: relative;
  font-family: "Space Grotesk", -apple-system, "Segoe UI", sans-serif;
}

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gal-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 18% 8%, rgba(255,209,102,.08), transparent 60%),
    radial-gradient(46% 40% at 85% 18%, rgba(90,120,255,.10), transparent 62%),
    radial-gradient(60% 50% at 70% 90%, rgba(255,107,94,.06), transparent 60%);
}

.gallery-view main, .gal-foot-inner { position: relative; z-index: 2; }

/* ---------- Top bar ---------- */
.gal-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 6vw, 90px);
}
.gal-top-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.gal-top-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3f55, #14161f);
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--gal-accent);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.gal-top-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.gal-top-meta {
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gal-mut);
}

/* ---------- Intro ---------- */
.gal-intro {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 90px) 0;
}
.gal-kicker {
  font-family: "Space Mono", monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gal-mut);
  margin-bottom: 22px;
}
.gal-kicker::before {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: var(--gal-accent);
  vertical-align: middle;
  margin-right: 12px;
}
.gal-title {
  font-size: clamp(2.8rem, 8.4vw, 7rem);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 700;
}
.gal-title > span, .gal-title > em { display: block; }
.gal-title em {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: transparent;
  background: linear-gradient(105deg, #ffd166 10%, #ff8b5e 50%, #ff6b5e 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.gal-sub {
  max-width: 520px;
  margin-top: 24px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--gal-mut);
}

/* ---------- Collection / filters ---------- */
.gal-collection { padding: clamp(52px, 8vw, 96px) clamp(20px, 6vw, 90px) 20px; }
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}
.gal-filter {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--gal-line);
  color: #b9b8c3;
  font-size: 13px;
  font-weight: 500;
  transition: all .22s ease;
}
.gal-filter:hover { color: var(--gal-ink); border-color: rgba(255,255,255,.3); }
.gal-filter.is-active {
  background: var(--gal-ink);
  color: #141518;
  border-color: var(--gal-ink);
  font-weight: 600;
}

/* ---------- Cards ---------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.gal-card {
  transition: opacity .35s ease, transform .35s ease;
}
.gal-card.is-out {
  opacity: 0;
  transform: scale(.94);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.gal-card-link { display: block; }
.gal-card-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #17181d;
  border: 1px solid var(--gal-line);
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s, border-color .4s;
}
.gal-card:hover .gal-card-media {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0,0,0,.45);
  border-color: rgba(255,255,255,.22);
}
.gal-card-scene {
  position: absolute; inset: 0;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.gal-card:hover .gal-card-scene { transform: scale(1.06); }
.gal-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.gal-card-scene::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(160deg, transparent 30%, rgba(10,11,14,.72) 100%);
  opacity: 0;
  transition: opacity .4s;
}
.gal-card:hover .gal-card-scene::after { opacity: 1; }
.gal-card-view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12,13,16,.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  z-index: 2;
}
.gal-card-view svg { width: 14px; height: 14px; }
.gal-card:hover .gal-card-view { opacity: 1; transform: translateY(0); }
.gal-card-body { padding: 18px 4px 0; }
.gal-card-top { display: flex; align-items: center; margin-bottom: 8px; }
.gal-card-num {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gal-mut);
}
.gal-card-name {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .25s;
}
.gal-card:hover .gal-card-name { color: var(--gal-accent); }
.gal-card-desc {
  margin-top: 7px;
  color: #a8a7b2;
  font-size: 14px;
  line-height: 1.6;
}
.gal-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.gal-tag {
  font-size: 11px;
  font-family: "Space Mono", monospace;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--gal-line);
  color: #b3b2bd;
}

/* ---------- Footer ---------- */
.gal-foot { margin-top: 70px; border-top: 1px solid var(--gal-line); padding: clamp(24px, 4vw, 40px) clamp(20px, 6vw, 90px); }
.gal-foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--gal-mut);
  font-size: 13px;
}
.gal-foot-tip b { color: var(--gal-ink); font-weight: 600; }

.tpl-loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: #999;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ============================================================
   Thumbnail scenes — one mini identity per concept
   Scoped under .gal-card-scene
   ============================================================ */

.gal-card-scene { overflow: hidden; font-family: "Space Grotesk", sans-serif; }

/* --- 01 Aurora --- */
.th-aurora {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% -10%, #1b2233 0%, #0b0d14 55%, #06070c 100%);
  color: #e9e6dd;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.th-aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .08;
}
.th-aurora .t-line { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .3em; text-transform: uppercase; color: #7d8496; }
.th-aurora .t-moon {
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd9a0, #e8b04b 60%, #8a6a2a);
  box-shadow: 0 0 34px rgba(232,176,75,.5);
  align-self: center;
  margin: 6px 0;
}
.th-aurora .t-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.th-aurora .t-big {
  font-family: "Fraunces", serif;
  font-size: 44px;
  line-height: .9;
  letter-spacing: -.02em;
  text-shadow: 0 0 24px rgba(232,176,75,.35);
}
.th-aurora .t-big em { font-style: italic; color: #e8b04b; display: block; }
.th-aurora .t-bars { display: flex; gap: 4px; margin-top: 10px; }
.th-aurora .t-bars i { width: 22px; height: 2px; background: rgba(233,230,221,.28); }
.th-aurora .t-foot { display: flex; justify-content: space-between; align-items: center; font-size: 8px; color: #8d94a6; }
.th-aurora .t-cta {
  border: 1px solid rgba(232,176,75,.5); border-radius: 999px; padding: 3px 9px; font-size: 8px; letter-spacing: .12em; color: #e8b04b;
}

/* --- 02 Minimal --- */
.th-minimal {
  position: absolute; inset: 0;
  background: #fafaf7;
  color: #161616;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.th-minimal .t-top { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .24em; text-transform: uppercase; color: #8a8a8a; }
.th-minimal .t-mid { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.th-minimal .t-line { width: 100%; border-top: 1px solid #e2e2de; }
.th-minimal .t-dot { width: 8px; height: 8px; border-radius: 50%; background: #161616; }
.th-minimal .t-word { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.th-minimal .t-sub { font-size: 9px; color: #8a8a8a; letter-spacing: .1em; }
.th-minimal .t-foot { display: flex; justify-content: space-between; font-size: 8px; color: #8a8a8a; }
.th-minimal .t-rule { width: 44px; height: 1px; background: #161616; margin-top: 5px; }

/* --- 03 Play --- */
.th-play {
  position: absolute; inset: 0;
  background: #fff6e6;
  overflow: hidden;
}
.th-play .t-blob { position: absolute; border-radius: 50%; }
.th-play .t-b1 { width: 90px; height: 90px; background: #ff6b5e; top: -24px; right: -16px; }
.th-play .t-b2 { width: 60px; height: 60px; background: #19c2a3; bottom: -12px; left: -14px; }
.th-play .t-b3 { width: 26px; height: 26px; background: #ffd166; top: 38px; right: 46px; }
.th-play .t-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%) rotate(-4deg);
  width: 64%; height: 58%;
  background: #fff;
  border-radius: 16px;
  border: 3px solid #161616;
  box-shadow: 0 10px 0 rgba(22,22,22,.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.th-play .t-card i { width: 34px; height: 34px; border-radius: 50%; background: #4f8cff; }
.th-play .t-card b { font-size: 15px; color: #161616; }
.th-play .t-card span { font-size: 8px; color: #8a8a8a; }
.th-play .t-sticker {
  position: absolute; right: 14px; top: 46px;
  transform: rotate(8deg);
  background: #ffd166;
  border: 2.5px solid #161616;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700; color: #161616;
}

/* --- 04 Editorial --- */
.th-editorial {
  position: absolute; inset: 0;
  background: #f3ecdf;
  color: #1a1713;
  padding: 0;
}
.th-editorial .t-mast { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1a1713; padding: 8px 12px; font-size: 8px; letter-spacing: .22em; text-transform: uppercase; }
.th-editorial .t-body { padding: 12px 14px; display: grid; grid-template-columns: 1fr 90px; gap: 12px; }
.th-editorial .t-head { font-family: "Fraunces", serif; font-size: 30px; line-height: .92; font-weight: 600; }
.th-editorial .t-head em { font-style: italic; color: #b33a2c; }
.th-editorial .t-col p { font-size: 7.5px; line-height: 1.5; color: #4a463f; column-count: 2; column-gap: 8px; }
.th-editorial .t-img { background: #d8cfbd; border: 1px solid #1a1713; height: 74px; position: relative; }
.th-editorial .t-img::after { content: "IMG"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 8px; letter-spacing: .2em; color: #6f6757; }
.th-editorial .t-foot { border-top: 1px solid #1a1713; padding: 6px 12px; font-size: 7px; letter-spacing: .16em; text-transform: uppercase; color: #6f6757; display: flex; justify-content: space-between; }

/* --- 05 Sable --- */
.th-sable {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 20% 15%, rgba(200,168,107,.14), transparent 60%),
    linear-gradient(140deg, #0f0f13 0%, #17171d 100%);
  color: #f0ecdf;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.th-sable .t-heroline { display: flex; align-items: baseline; justify-content: space-between; }
.th-sable .t-heroline b { font-family: "Cormorant Garamond", serif; font-size: 30px; letter-spacing: .06em; color: #c8a86b; }
.th-sable .t-heroline span { font-size: 8px; letter-spacing: .24em; text-transform: uppercase; color: #98917f; }
.th-sable .t-rule { height: 1px; background: linear-gradient(90deg, rgba(200,168,107,.6), transparent); }
.th-sable .t-rows { display: grid; gap: 8px; flex: 1; }
.th-sable .t-rows span { border-bottom: 1px solid rgba(255,255,255,.1); }
.th-sable .t-line { height: 1px; background: rgba(200,168,107,.4); }
.th-sable .t-l1 { width: 70%; }
.th-sable .t-l2 { width: 44%; }
.th-sable .t-badge {
  position: absolute; top: 10px; right: 12px;
  color: #c8a86b; font-size: 14px;
}

/* --- 06 Mono --- */
.th-mono {
  position: absolute; inset: 0;
  background: #f2efdf;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.th-mono .t-big {
  border: 3px solid #161616;
  background: #fff;
  box-shadow: 5px 5px 0 #161616;
  padding: 8px 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 34px;
  line-height: .85;
  letter-spacing: -.03em;
  transform: rotate(-2deg);
}
.th-mono .t-row { display: flex; gap: 8px; }
.th-mono .t-box { border: 3px solid #161616; background: #ff4d2e; box-shadow: 4px 4px 0 #161616; width: 52%; padding: 8px; font-weight: 800; font-size: 9px; text-transform: uppercase; }
.th-mono .t-box2 { border: 3px solid #161616; background: #2b2bff; color: #fff; box-shadow: 4px 4px 0 #161616; flex: 1; display: grid; place-items: center; font-family: "Space Mono", monospace; font-size: 10px; }
.th-mono .t-tag {
  position: absolute; top: 8px; right: 8px;
  background: #ffd029; border: 3px solid #161616; border-radius: 999px;
  padding: 2px 8px; font-weight: 800; font-size: 8px;
  box-shadow: 3px 3px 0 #161616; transform: rotate(6deg);
}

/* --- 07 Grid --- */
.th-grid {
  position: absolute; inset: 0;
  background: #f4f2ec;
  color: #16181d;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  gap: 8px;
}
.th-grid .t-head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; }
.th-grid .t-head b { font-size: 13px; letter-spacing: .14em; }
.th-grid .t-head span { font-family: "Space Mono", monospace; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: #6d6f78; }
.th-grid .t-box { border: 1px solid rgba(22,24,29,.16); background: #ece9e1; display: flex; flex-direction: column; justify-content: space-between; padding: 8px; }
.th-grid .t-box b { font-size: 15px; color: #e5441f; font-family: "Space Mono", monospace; }
.th-grid .t-box i { width: 70%; height: 5px; background: rgba(22,24,29,.16); }
.th-grid .t-b2, .th-grid .t-b4 { background: #f4f2ec; }
.th-grid .t-b3 { border-color: #16181d; }
.th-grid .t-badge {
  position: absolute; top: -5px; right: -5px;
  background: #e5441f; color: #fff;
  font-family: "Space Mono", monospace;
  font-size: 9px; font-weight: 700;
  padding: 4px 7px;
  border-radius: 4px;
  transform: rotate(4deg);
}

/* --- 08 Ink --- */
.th-ink {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 30% 15%, rgba(196,62,42,.12), transparent 60%),
    #f6f1e7;
  color: #1c1b18;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.th-ink .t-stamp {
  align-self: flex-end;
  border: 2px solid #1c1b18;
  border-radius: 6px;
  padding: 4px 8px;
  transform: rotate(4deg);
  background: #efe8da;
  box-shadow: 3px 3px 0 rgba(28,27,24,.16);
}
.th-ink .t-stamp b { font-family: "Space Mono", monospace; font-size: 9px; color: #c43e2a; }
.th-ink .t-inktitle { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.th-ink .t-inktitle b { font-family: "Cormorant Garamond", serif; font-size: 38px; line-height: .9; }
.th-ink .t-inktitle i { font-family: "Space Mono", monospace; font-size: 8px; letter-spacing: .14em; color: #c43e2a; text-transform: uppercase; margin-top: 6px; }
.th-ink .t-scribble { height: 6px; background: repeating-linear-gradient(90deg, #1c1b18 0 6px, transparent 6px 12px); }
.th-ink .t-facts { display: grid; gap: 5px; }
.th-ink .t-facts span { height: 6px; background: rgba(28,27,24,.16); }
.th-ink .t-facts span:nth-child(2) { width: 80%; }
.th-ink .t-facts span:nth-child(3) { width: 60%; }
.th-ink .t-badge {
  position: absolute; top: 8px; left: 10px;
  color: #c43e2a; font-size: 14px;
}

/* --- 09 Quartz --- */
.th-quartz {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 15% 12%, #2a1306, transparent 62%),
    radial-gradient(55% 50% at 88% 14%, #3a1204, transparent 60%),
    radial-gradient(65% 60% at 50% 100%, #0f1a2e, transparent 65%),
    #0c0c10;
  overflow: hidden;
}
.th-quartz .t-blob { position: absolute; border-radius: 50%; filter: blur(14px); opacity: .6; }
.th-quartz .blob1 { width: 70px; height: 70px; background: #ff5c1a; top: -16px; left: -12px; }
.th-quartz .blob2 { width: 56px; height: 56px; background: #ff9a3d; bottom: -14px; right: -10px; }
.th-quartz .t-glass {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  box-shadow: 0 12px 30px rgba(255, 122, 24, .22);
  top: 50%; left: 50%;
  transform: translate(-50%, -54%) rotate(-3deg);
  width: 58%; height: 52%;
}
.th-quartz .t-glass b { font-family: "Fraunces", serif; font-size: 26px; color: #f3ede4; }
.th-quartz .t-glass span { font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: #a49a8c; }
.th-quartz .t-glass2 {
  width: 40%; height: 30%;
  top: auto; bottom: 10%; left: 8%;
  transform: rotate(5deg);
}
.th-quartz .t-glass2::after { content: "work"; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: #ff7a18; }
.th-quartz .t-badge {
  position: absolute; bottom: 10px; right: 12px;
  color: #ff7a18; font-size: 13px;
}

/* --- 10 North --- */
.th-north {
  position: absolute; inset: 0;
  background: #f5f7fa;
  color: #1c2430;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.th-north .t-nhead { display: flex; align-items: baseline; justify-content: space-between; }
.th-north .t-nhead b { font-family: "Space Grotesk", sans-serif; font-size: 12px; letter-spacing: .06em; }
.th-north .t-nhead span { font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: #5d6a7e; }
.th-north .t-ncase {
  border: 1px solid rgba(28,36,48,.1);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px;
  align-items: center;
  box-shadow: 0 10px 24px rgba(28,36,48,.08);
}
.th-north .t-ncase i { width: 34px; height: 34px; border-radius: 8px; background: #dfe8ff; }
.th-north .t-ncase b { font-size: 8.5px; }
.th-north .t-ncase span { font-size: 7px; color: #2f6bff; font-weight: 600; }
.th-north .t-ncase2 i { background: #c3d4ff; }
.th-north .t-badge {
  position: absolute; top: 10px; right: 12px;
  color: #2f6bff; font-size: 12px;
}

/* --- 11 Nova --- */
.th-nova {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 75% -10%, rgba(139,92,246,.4), transparent 60%),
    radial-gradient(60% 50% at 15% 110%, rgba(34,211,238,.28), transparent 60%),
    #070a16;
  color: #e8ecf7;
  padding: 14px;
}
.th-nova .t-nstars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 18% 30%, rgba(255,255,255,.8), transparent 50%),
    radial-gradient(1.2px 1.2px at 40% 16%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(1.2px 1.2px at 68% 26%, rgba(255,255,255,.7), transparent 50%),
    radial-gradient(1.2px 1.2px at 86% 14%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1.2px 1.2px at 22% 66%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1.2px 1.2px at 52% 58%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(1.2px 1.2px at 78% 74%, rgba(255,255,255,.6), transparent 50%);
}
.th-nova .t-nconst { position: absolute; inset: 0; display: grid; place-items: center; }
.th-nova .t-nconst svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.th-nova .t-nconst svg polyline { stroke: rgba(139,92,246,.7); stroke-width: 1.4; fill: none; }
.th-nova .t-nconst span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(139,92,246,.9);
}
.th-nova .t-nconst span:nth-child(1) { left: 24%; top: 38%; }
.th-nova .t-nconst span:nth-child(2) { left: 46%; top: 30%; background: #8b5cf6; }
.th-nova .t-nconst span:nth-child(3) { left: 62%; top: 58%; background: #22d3ee; }
.th-nova .t-nconst span:nth-child(4) { left: 80%; top: 52%; }
.th-nova .t-ntext { position: absolute; left: 14px; bottom: 12px; }
.th-nova .t-ntext b { font-family: "Space Grotesk", sans-serif; font-size: 16px; letter-spacing: .18em; }
.th-nova .t-ntext span { display: block; font-size: 7.5px; letter-spacing: .14em; text-transform: uppercase; color: #8a94b5; margin-top: 3px; }
.th-nova .t-badge {
  position: absolute; top: 8px; right: 10px;
  color: #c084fc; font-size: 13px;
}

/* --- 12 Pulse --- */
.th-pulse {
  position: absolute; inset: 0;
  background: #fbfbf7;
  color: #131613;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.th-pulse .t-pulse-head { display: flex; align-items: baseline; justify-content: space-between; }
.th-pulse .t-pulse-head b { font-family: "Space Grotesk", sans-serif; font-size: 12px; letter-spacing: .06em; }
.th-pulse .t-pulse-head span { font-family: "Space Mono", monospace; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: #666b62; }
.th-pulse .t-meter { height: 8px; border-radius: 999px; background: #f1f3ec; overflow: hidden; }
.th-pulse .t-meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #16a34a, #a3e635); }
.th-pulse .t-meter2 { width: 82%; }
.th-pulse .t-goals { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.th-pulse .t-goals span {
  align-self: flex-start;
  font-size: 8px;
  font-weight: 700;
  border: 1px solid rgba(19,22,19,.14);
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
}
.th-pulse .t-goals span::before { content: "✓ "; color: #16a34a; }
.th-pulse .t-badge {
  position: absolute; top: 10px; right: 12px;
  color: #16a34a; font-size: 13px; font-weight: 800;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gal-top { padding-top: 18px; }
  .gal-card-view { opacity: 1; transform: none; }
  .gal-foot-inner { flex-direction: column; gap: 6px; }
}
