/* ============================================================
   KISCO Digital — Spatial Glass Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

:root {
  /* Brand palette (from brand kit) */
  --royal:    #1500D6;
  --electric: #2233FF;
  --bright:   #3B5BFF;
  --soft:     #99AAFF;
  --gold:     #F0A800;
  --space:    #06060F;
  --white:    #FFFFFF;

  /* Tweakable */
  --accent: var(--gold);
  --glass-alpha: 0.55;
  --glass-blur: 18px;
  --radius: 28px;

  /* Light-led surface */
  --ink:        #0b0b1a;
  --ink-soft:   #3a3b55;
  --ink-faint:  #6f70889e;
  --line:       rgba(20, 10, 120, 0.10);

  /* Glass tokens (light context) */
  --glass-bg:     rgba(255, 255, 255, var(--glass-alpha));
  --glass-bg-2:   rgba(255, 255, 255, 0.32);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-shadow:
    0 22px 60px -18px rgba(21, 0, 214, 0.28),
    0 4px 18px -8px rgba(21, 0, 214, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(120, 120, 200, 0.10);

  /* Glass tokens (dark context) */
  --glass-bg-dk:     rgba(255, 255, 255, 0.07);
  --glass-border-dk: rgba(255, 255, 255, 0.16);
  --glass-shadow-dk:
    0 30px 80px -24px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: var(--ink);
  background: #eef0ff;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ---- Atmospheric background field (light-led) ---- */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 78% -10%, #dfe4ff 0%, transparent 60%),
    radial-gradient(900px 700px at 8% 8%, #eef0ff 0%, transparent 55%),
    linear-gradient(180deg, #f4f5ff 0%, #e9ecff 48%, #eef1ff 100%);
}
.atmos::before, .atmos::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.atmos::before {
  width: 52vw; height: 52vw;
  left: -8vw; top: 4vw;
  background: radial-gradient(circle at 40% 40%, var(--bright), transparent 68%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.atmos::after {
  width: 46vw; height: 46vw;
  right: -6vw; bottom: -8vw;
  background: radial-gradient(circle at 50% 50%, var(--soft), transparent 66%);
  animation: drift2 32s var(--ease) infinite alternate;
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate3d(8vw, 6vw, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-7vw, -5vw, 0) scale(1.2); } }

[data-motion="off"] .atmos::before,
[data-motion="off"] .atmos::after { animation: none; }

/* ============================================================
   Typography
   ============================================================ */
.eyebrow {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
h1, h2, h3 { font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.display {
  font-size: clamp(2.8rem, 7.4vw, 6.6rem);
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
  text-wrap: pretty;
}
.muted { color: var(--ink-soft); }
.grad-text {
  background: linear-gradient(120deg, var(--royal), var(--electric) 45%, var(--bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Layout
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-pad { padding: clamp(52px, 7vh, 96px) 0; }

/* ============================================================
   Glass primitives
   ============================================================ */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}
.glass-soft {
  background: var(--glass-bg-2);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 0.6)) saturate(1.4);
  backdrop-filter: blur(calc(var(--glass-blur) * 0.6)) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: calc(var(--radius) - 8px);
}

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
  background: var(--glass-bg-2);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--ink-soft);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  font-weight: 700; font-size: 0.98rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--royal), var(--electric));
  box-shadow: 0 12px 30px -10px rgba(21,0,214,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(21,0,214,0.7), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-gold {
  color: var(--space);
  background: linear-gradient(120deg, #ffc94d, var(--gold));
  box-shadow: 0 12px 30px -10px rgba(240,168,0,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-gold:hover { transform: translateY(-3px); }
.btn-ghost {
  color: var(--ink);
  background: var(--glass-bg-2);
  border: 1px solid rgba(255,255,255,0.65);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.5); }

.arrow-i { transition: transform 0.4s var(--ease); }
.btn:hover .arrow-i, a.lnk:hover .arrow-i { transform: translate(3px, -3px); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 0 20px;
  transition: top 0.4s var(--ease);
}
.nav-inner {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 16px 44px -20px rgba(21,0,214,0.35), inset 0 1px 0 rgba(255,255,255,0.9);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 36px; height: 42px; flex: none; display: block; }
.brand b { font-weight: 900; font-size: 1.12rem; letter-spacing: -0.02em; }
.brand span { font-weight: 700; color: var(--ink-faint); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft);
  font-weight: 700; font-size: 0.92rem;
  padding: 0.55em 1.05em; border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.5); }
.nav-links a.active { color: var(--royal); background: rgba(255,255,255,0.7); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; }

/* ============================================================
   Cards / stats / lists
   ============================================================ */
.grid { display: grid; gap: 22px; }
.stat .n {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--royal), var(--bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .n.gold {
  background: linear-gradient(120deg, #d99300, var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .l { margin-top: 10px; font-weight: 700; color: var(--ink); font-size: 1rem; }
.stat .d { color: var(--ink-soft); font-size: 0.9rem; margin-top: 4px; }

.card { padding: 30px; }
.card .ix { font-weight: 900; color: var(--soft); font-size: 0.95rem; letter-spacing: 0.1em; }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--ink-soft); text-wrap: pretty; }
.card-ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(34,51,255,0.14), rgba(59,91,255,0.06));
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--royal);
}
.card-ico svg { width: 24px; height: 24px; }

.hover-lift { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
/* Non-actionable cards (divs): background glow only — no lift, no bounce */
.hover-lift:hover {
  box-shadow: 0 16px 40px -26px rgba(21,0,214,0.32), 0 0 0 1.5px rgba(59,91,255,0.38), 0 0 30px -4px rgba(59,91,255,0.42);
}
.dark .hover-lift:hover {
  box-shadow: 0 0 0 1.5px rgba(120,150,255,0.5), 0 0 36px -4px rgba(95,125,255,0.52), inset 0 1px 0 rgba(255,255,255,0.18);
}
/* Actionable cards (links / buttons): bounce + lift + stronger glow */
a.hover-lift:hover, button.hover-lift:hover {
  animation: cardBounce 0.6s var(--ease);
  transform: translateY(-8px) scale(1.018);
  box-shadow: 0 30px 64px -22px rgba(21,0,214,0.5), 0 0 0 1.5px rgba(59,91,255,0.5), 0 0 36px -2px rgba(59,91,255,0.55);
}
.dark a.hover-lift:hover, .dark button.hover-lift:hover {
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.82), 0 0 0 1.5px rgba(120,150,255,0.55), 0 0 40px -2px rgba(95,125,255,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes cardBounce {
    0%   { transform: translateY(0) scale(1); }
    60%  { transform: translateY(-12px) scale(1.028); }
    100% { transform: translateY(-8px) scale(1.018); }
  }
}

/* ============================================================
   Water ripple trail (empty space)
   ============================================================ */
.ripple-layer { position: fixed; inset: 0; pointer-events: none; z-index: 9996; overflow: hidden; }
.ripple {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%); will-change: width, height, opacity;
  border: 1.5px solid rgba(47,107,255,0.5);
  box-shadow: inset 0 0 14px rgba(47,107,255,0.28), 0 0 10px rgba(47,107,255,0.18);
  animation: rippleWave 1.35s cubic-bezier(0.18,0.6,0.2,1) forwards;
}
.cursor-on-dark ~ .ripple-layer .ripple, .ripple.on-dark {
  border-color: rgba(150,180,255,0.55); box-shadow: inset 0 0 14px rgba(150,180,255,0.3), 0 0 12px rgba(120,150,255,0.22);
}
@keyframes rippleWave {
  0%   { width: 8px; height: 8px; opacity: 0; border-width: 2px; }
  16%  { opacity: 0.5; }
  100% { width: var(--rs, 120px); height: var(--rs, 120px); opacity: 0; border-width: 0.5px; }
}

/* Click splash — stone-in-a-lake on empty space */
.splash-layer { position: fixed; inset: 0; pointer-events: none; z-index: 9995; overflow: hidden; }
.splash-ring {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%); will-change: width, height, opacity;
  border: 1.5px solid rgba(47,107,255,0.5);
  box-shadow: inset 0 0 24px rgba(47,107,255,0.20), 0 0 20px rgba(47,107,255,0.16);
}
.splash-ring.on-dark {
  border-color: rgba(150,180,255,0.6);
  box-shadow: inset 0 0 24px rgba(150,180,255,0.24), 0 0 22px rgba(120,150,255,0.2);
}
.splash-core {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  transform: translate(-50%, -50%); will-change: width, height, opacity;
  background: radial-gradient(circle, rgba(95,135,255,0.45) 0%, rgba(47,107,255,0.16) 45%, transparent 72%);
}
.splash-core.on-dark { background: radial-gradient(circle, rgba(150,180,255,0.5) 0%, rgba(120,150,255,0.18) 45%, transparent 72%); }

/* ============================================================
   Dark section (deep space)
   ============================================================ */
.dark {
  color: var(--white);
  background:
    radial-gradient(900px 600px at 80% 0%, #1a0c6e 0%, transparent 60%),
    radial-gradient(700px 700px at 10% 100%, #11116b 0%, transparent 55%),
    linear-gradient(180deg, #08081a 0%, var(--space) 100%);
  overflow: hidden;
}
.dark .lead, .dark .muted { color: #b9bff0; }
.dark .eyebrow { color: var(--soft); }
.dark .stat .n { background: linear-gradient(120deg, #fff, var(--soft)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dark .stat .l { color: #fff; }
.dark .stat .d { color: #9aa0d8; }
.dark .glass { background: var(--glass-bg-dk); border-color: var(--glass-border-dk); box-shadow: var(--glass-shadow-dk); }
.dark .glass-soft { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.dark .pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #c7ccf5; }
.dark .card p { color: #aab0e0; }
.dark .card-ico { background: linear-gradient(135deg, rgba(153,170,255,0.18), rgba(153,170,255,0.04)); border-color: rgba(255,255,255,0.14); color: var(--soft); }

.section-edge-top { border-radius: 44px 44px 0 0; }
.section-edge-bot { border-radius: 0 0 44px 44px; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .reveal.d1 { transition-delay: 0.05s; }
  .reveal.d2 { transition-delay: 0.1s; }
  .reveal.d3 { transition-delay: 0.15s; }
  .reveal.d4 { transition-delay: 0.2s; }
}
.reveal.in { opacity: 1; transform: none; }
[data-motion="off"] .reveal { opacity: 1; transform: none; transition: none; }

/* ============================================================
   Cursor follower
   ============================================================ */
.cursor-ring, .cursor-dot {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  border-radius: 50%; opacity: 0; will-change: transform;
  mix-blend-mode: normal;
}
.cursor-ring {
  width: 30px; height: 30px; border: 1.6px solid var(--electric);
  transition: opacity 0.3s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cursor-dot { width: 6px; height: 6px; background: var(--royal); transition: opacity 0.3s var(--ease); }
.cursor-ring.hot { width: 50px; height: 50px; border-color: var(--gold); background: rgba(240,168,0,0.10); }
.cursor-ring.press { width: 22px; height: 22px; }
/* brighter over dark sections */
.cursor-on-dark .cursor-ring { border-color: var(--soft); }
.cursor-on-dark .cursor-ring.hot { border-color: var(--gold); }
.cursor-on-dark .cursor-dot { background: #fff; }
@media (hover: none), (pointer: coarse) { .cursor-ring, .cursor-dot { display: none; } }

/* ============================================================
   Footer
   ============================================================ */
.foot { padding: 50px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot a { color: #aab0e0; text-decoration: none; display: block; padding: 5px 0; font-weight: 700; transition: color 0.25s; }
.foot a:hover { color: #fff; }
.foot h5 { color: var(--soft); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; font-weight: 900; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8086c0; font-size: 0.85rem; }

/* link with arrow */
a.lnk { color: var(--royal); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
.dark a.lnk { color: var(--soft); }

/* Social icons */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; padding: 0;
  display: grid; place-items: center; flex: none;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.social a svg { width: 19px; height: 19px; display: block; }
/* dark footer variant */
.dark .social a, .social.on-dark a {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #c7ccf5;
}
.dark .social a:hover, .social.on-dark a:hover {
  background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); color: #fff; transform: translateY(-3px);
}
.social a.wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
/* light variant (e.g. contact page) */
.social.on-light a {
  background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.85); color: var(--royal);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.social.on-light a:hover { background: var(--royal); border-color: var(--royal); color: #fff; transform: translateY(-3px); }
.social.on-light a.wa:hover { background: #25D366; border-color: #25D366; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.6); cursor: pointer; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mobile-menu { display: flex; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: rgba(244,245,255,0.86);
  -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 1.8rem; font-weight: 900; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.mobile-menu a.active { color: var(--royal); }
.mm-close { position: absolute; top: 26px; right: 26px; width: 46px; height: 46px; border-radius: 999px; border: none; background: rgba(255,255,255,0.6); font-size: 1.4rem; cursor: pointer; }
@media (max-width: 980px) { .nav-links a { padding: 8px 9px; font-size: 0.88rem; } }

/* ============================================================
   Blog + Gallery
   ============================================================ */
.page-hero { padding: 140px 0 40px; }
.page-hero .lead { max-width: 56ch; }

.blog-feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden; border-radius: 26px; margin-bottom: 46px; }
.blog-feat .viz { min-height: 340px; position: relative; display: grid; place-items: center; }
.blog-feat .viz .cat { position: absolute; top: 22px; left: 24px; }
.blog-feat .body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-feat .body h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 12px 0 14px; letter-spacing: -0.02em; }
.blog-feat .body p { color: var(--ink-soft); font-weight: 600; margin-bottom: 22px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bcard { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.bcard .viz { height: 168px; position: relative; display: grid; place-items: center; }
.bcard .viz .num { font-size: 2.4rem; font-weight: 900; color: rgba(255,255,255,0.92); letter-spacing: -0.04em; }
.bcard .viz .cat { position: absolute; top: 16px; left: 16px; }
.bcard .bbody { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.bcard h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.01em; }
.bcard p { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; margin: 0 0 18px; flex: 1; }
.bmeta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 800; color: var(--ink-faint); letter-spacing: 0.02em; }
.bmeta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }
.cat { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255,255,255,0.22); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.3); }

/* Article */
.article { max-width: 740px; margin: 0 auto; padding: 130px 0 40px; }
.article .back { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 0.86rem; color: var(--ink-soft); text-decoration: none; margin-bottom: 26px; }
.article .back:hover { color: var(--royal); }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; margin: 12px 0 18px; }
.article .ameta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.84rem; font-weight: 800; color: var(--ink-faint); margin-bottom: 30px; }
.article .ameta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }
.art-hero { height: 280px; border-radius: 22px; margin-bottom: 38px; display: grid; place-items: center; }
.art-hero .mk { width: 92px; height: 92px; opacity: 0.9; }
.article-body { font-size: 1.08rem; line-height: 1.75; color: #2c2e3f; font-weight: 500; }
.article-body p { margin: 0 0 22px; }
.article-body h3 { font-size: 1.32rem; letter-spacing: -0.01em; margin: 36px 0 14px; color: var(--ink); }
.article-body strong { color: var(--ink); font-weight: 800; }
.article-body blockquote { margin: 30px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--electric); font-size: 1.22rem; font-weight: 700; color: var(--ink); font-style: italic; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 38px 0; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin-top: 7px; max-width: 22ch; }

/* Gallery */
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gal-filters button { font-family: inherit; font-weight: 800; font-size: 0.86rem; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.7); color: var(--ink-soft); transition: all 0.25s var(--ease); }
.gal-filters button:hover { color: var(--ink); }
.gal-filters button.active { background: var(--royal); border-color: var(--royal); color: #fff; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gal-grid image-slot { width: 100%; height: 100%; border-radius: 18px; display: block; }
.gal-grid .g-item.tall { grid-row: span 2; }
.gal-grid .g-item.wide { grid-column: span 2; }
.gal-grid .g-item { overflow: hidden; border-radius: 18px; }
.gal-grid .g-item.hide { display: none; }
@media (max-width: 900px) { .blog-feat { grid-template-columns: 1fr; } .blog-grid, .gal-grid { grid-template-columns: 1fr 1fr; } .gal-grid .g-item.wide { grid-column: span 2; } }
@media (max-width: 560px) { .blog-grid, .gal-grid { grid-template-columns: 1fr; } .gal-grid .g-item.wide, .gal-grid .g-item.tall { grid-column: auto; grid-row: auto; } }
