  @font-face{
    font-family: 'Inter';
    src: url('assets/fonts/Inter_18pt-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  :root{
    --bg: #05070a;
    --bg-soft: #05070a;
    --surface: #15151d;
    --surface-2: #1a1a25;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.14);
    --text: #f5f5f7;
    --text-muted: #9797a3;
    --text-faint: #6a6a76;

    --green: #6fb679;
    --green-soft: rgba(111,182,121,0.12);
    --violet: #8b5cf6;
    --violet-soft: rgba(139,92,246,0.12);
    --amber: #e0a458;
    --amber-soft: rgba(224,164,88,0.12);
    --teal: #4fb8b0;
    --teal-soft: rgba(79,184,176,0.12);
    --blue: #5b8ff9;
    --blue-soft: rgba(91,143,249,0.12);

    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 9px;
    --container: 1240px;
    --ease: cubic-bezier(.22,.9,.32,1);
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  ::selection{ background: var(--violet); color: #fff; }

  body{
    margin:0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
  }

  a{ color: inherit; text-decoration: none; }
  ul{ margin:0; padding:0; list-style:none; }
  img{ max-width:100%; display:block; }
  button{ font-family: inherit; cursor: pointer; }

  .mono{ font-family: 'JetBrains Mono', monospace; }

  .wrap{
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
  }

  /* language toggling ------------------------------------------------ */
  [data-lang="en"] .lang-pl{ display:none !important; }
  [data-lang="pl"] .lang-en{ display:none !important; }


  main, header, footer{ position: relative; z-index: 1; }

  /* ---------- HEADER ---------- */
  header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,14,0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav{
    display:flex;
    align-items:center;
    justify-content: space-between;
    height: 74px;
    gap: 24px;
  }
  .brand{
    display:flex;
    align-items:center;
    gap: 10px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }


  .nav-links{
    display:flex;
    align-items:center;
    gap: 32px;
  }
  .nav-links a{
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color .2s var(--ease);
  }
  .nav-links a:hover{ color: var(--text); }

  .nav-right{ display:flex; align-items:center; gap: 14px; }

  .lang-switch{
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 80px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 3px;
    background: var(--surface);
    overflow: hidden;
  }
  .lang-switch::before{
    content:"";
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: var(--text);
    border-radius: 999px;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    z-index: 0;
  }
  .lang-switch.is-en::before{ transform: translateX(0%); }
  .lang-switch.is-pl::before{ transform: translateX(100%); }
  .lang-switch button,
  .lang-switch a{
    position: relative;
    z-index: 1;
    border:none;
    background: transparent;
    color: var(--text-faint);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 7px 0;
    border-radius: 999px;
    text-align: center;
    transition: color .3s var(--ease), transform .35s cubic-bezier(.34,1.56,.64,1);
    transform: scale(0.88);
  }
  .lang-switch button.active,
  .lang-switch a.active{
    color: var(--bg);
    transform: scale(1.18);
  }

  .btn-menu{
    display:none;
    width: 38px; height: 38px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: var(--surface);
    align-items:center; justify-content:center;
    flex-direction: column; gap: 4px;
  }
  .btn-menu span{ width: 16px; height: 1.5px; background: var(--text); display:block; }

  .mobile-panel{
    display:none;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0 18px;
    border-top: 1px solid var(--border);
  }
  .mobile-panel a{
    padding: 12px 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
  }
  header.menu-open .mobile-panel{ display:flex; }

  /* ---------- HERO ---------- */
  .hero{
    position: relative;
    overflow: hidden;
    background: #05070a;
    color: #eef2f6;
    padding: 84px 0 60px;
  }
  .hero h1{ color: #eef2f6; }
  .hero-bg-logo{
    position: absolute;
    right: -110px;
    bottom: -130px;
    width: 480px;
    max-width: 55%;
    height: auto;
    opacity: 0.14;
    z-index: 0;
    pointer-events: none;
    user-select: none;
  }
  .waves-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    pointer-events: none;
  }
  @media (prefers-reduced-motion: reduce){
    .waves-bg{ display: none; }
  }
  .hero-grid{
    position: relative;
    z-index: 1;
    display:grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
  }
  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-soft);
    border: 1px solid rgba(111,182,121,0.28);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 22px;
  }
  .eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--green); }

  .hero-kicker{
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-faint);
    line-height: 1.65;
    margin: 0 0 26px;
    max-width: 460px;
  }

  h1{
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 30px;
  }
  h1 .accent{
    background: linear-gradient(90deg, var(--green), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .cta-row{ display:flex; align-items:center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
  .btn{
    display:inline-flex;
    align-items:center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-family: inherit;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    border: 1px solid transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
  }
  .btn-arrow{ display:inline-block; transition: transform .25s var(--ease); }
  .btn:hover .btn-arrow{ transform: translateX(3px); }
  .btn-primary{
    background: var(--green);
    color: #0a0a0e;
  }
  .btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(111,182,121,0.28); }
  .btn-ghost{
    border-color: var(--border-strong);
    color: var(--text);
    background: var(--surface);
  }
  .btn-ghost:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,0.3); }

  .hero .hero-tagline{
    font-size: 14px;
    color: #9aa7b5;
    font-weight: 500;
  }

  /* ---------- ABOUT ---------- */
  .about{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 54px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
  .about-head{ display:flex; align-items:center; gap: 14px; margin-bottom: 26px; }
  .about-avatar{
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber), var(--violet));
    flex: none;
  }
  .about-name{ font-size: 14.5px; font-weight: 700; }
  .about-role{ font-size: 12.5px; color: var(--text-faint); font-weight: 500; margin-top: 2px; }
  .about-body p{ font-size: 15.5px; line-height: 1.75; color: var(--text-muted); margin: 0 0 16px; }
  .about-body p:last-child{ margin-bottom: 0; }

  /* animated comet-border photo frame */
  .photo-frame{
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    padding: 3px;
    overflow: hidden;
    isolation: isolate;
  }
  .photo-frame::before{
    content:"";
    position: absolute;
    inset: -60%;
    background: conic-gradient(
      from 0deg,
      transparent 0deg,
      transparent 268deg,
      rgba(111,182,121,0.9) 300deg,
      rgba(139,92,246,0.95) 330deg,
      rgba(224,164,88,0.95) 350deg,
      rgba(255,255,255,0.95) 360deg
    );
    animation: cometSpin 6s linear infinite;
    z-index: 0;
  }
  @keyframes cometSpin{ to{ transform: rotate(360deg); } }
  .photo-frame-inner{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 23px;
    overflow: hidden;
    background: var(--bg-soft);
  }
  .photo-frame-inner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
  }

  /* hero video console */
  .console{
    position: relative;
    border-radius: var(--radius-lg);
    padding: 14px;
    background: linear-gradient(160deg, var(--surface), var(--bg-soft));
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
  }
  .console::before{
    content:"";
    position:absolute; inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(111,182,121,0.5), rgba(139,92,246,0.5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.5;
    pointer-events:none;
  }
  .console-bar{
    display:flex;
    align-items:center;
    gap: 8px;
    padding: 2px 8px 12px;
  }
  .mac-dot{
    width: 12px; height: 12px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    transition: filter .15s var(--ease);
  }
  .mac-dot svg{
    width: 7px; height: 7px;
    opacity: 0;
    transition: opacity .15s var(--ease);
  }
  .console-bar:hover .mac-dot svg{ opacity: 1; }
  .mac-dot.mac-close{ background: #ff5f57; cursor: default; }
  .mac-dot.mac-close svg path{ stroke: #4d0002; }
  .mac-dot.mac-min{ background: #febc2e; cursor: default; }
  .mac-dot.mac-min svg path{ stroke: #985712; }
  .mac-dot.mac-expand{ background: #28c840; cursor: pointer; }
  .mac-dot.mac-expand svg path{ stroke: #0a5c14; }
  .mac-dot.mac-expand:hover{ filter: brightness(1.1); }
  .video-frame{
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
  }
  .video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

  /* ---------- SECTION SHELL ---------- */
  section{ padding: 96px 0; }
  .section-head{ max-width: 640px; margin-bottom: 52px; }
  .section-head h2{
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 14px 0 12px;
  }
  .section-head p{ color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }

  .reveal{ opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in{ opacity: 1; transform: translateY(0); }

  /* ---------- SERVICES ---------- */
  .comp-accordion{
    display: flex;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 360px;
    margin-bottom: 40px;
  }
  .comp-item{
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: flex-grow .55s var(--ease), background .45s var(--ease);
  }
  .comp-item:last-child{ border-right: none; }
  .comp-item-arrow{
    position: absolute;
    top: 18px; right: 18px;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity .3s var(--ease);
  }
  .comp-item h3{
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
    transition: font-size .4s var(--ease);
  }
  .comp-item p{
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 14px 0 0;
    max-width: 380px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .3s var(--ease), max-height .45s var(--ease);
  }
  .comp-item.is-active{
    flex: 2.4 1 0%;
    background: var(--bg);
    justify-content: flex-end;
  }
  .comp-item.is-active h3{ font-size: 27px; }
  .comp-item.is-active p{ opacity: 1; max-height: 140px; }
  .comp-item.is-active .comp-item-arrow{ opacity: 1; }

  .cards{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
  }
  .card{
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 30px 28px;
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease);
  }
  .card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
  .card::before{
    content:"";
    position:absolute; top:0; left:0; right:0; height: 3px;
    background: var(--accent);
  }
  .card-icon{
    width: 42px; height: 42px;
    border-radius: 11px;
    display:flex; align-items:center; justify-content:center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 20px;
  }
  .card h3{ font-size: 19px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
  .card p{ color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
  .card ul{ display:flex; flex-direction: column; gap: 9px; }
  .card li{
    display:flex; align-items:flex-start; gap: 10px;
    font-size: 13.5px; color: var(--text); line-height: 1.5; font-weight: 500;
  }
  .card li::before{
    content:"";
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent);
    margin-top: 7px; flex: none;
  }

  .card.c-green{ --accent: var(--green); --accent-soft: var(--green-soft); }
  .card.c-violet{ --accent: var(--violet); --accent-soft: var(--violet-soft); }
  .card.c-amber{ --accent: var(--amber); --accent-soft: var(--amber-soft); }
  .card.c-teal{ --accent: var(--teal); --accent-soft: var(--teal-soft); }
  .card.c-blue{ --accent: var(--blue); --accent-soft: var(--blue-soft); }

  /* ---------- EXPERIENCE ---------- */
  .exp{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 54px;
    display:grid;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }
  .exp h2{ font-size: clamp(24px,3vw,32px); font-weight: 800; letter-spacing: -0.015em; margin: 12px 0 16px; }
  .exp p{ color: var(--text-muted); font-size: 15px; line-height: 1.7; }
  .regions{ display:flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .region-pill{
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
    padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg-soft);
  }

  /* ---------- VENDORS (Zgłoszone podatności) ---------- */
  .vendors{ padding-top: 0; }
  .vendors-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .vendor-card{
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .vendor-card:hover{ transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.28); }
  .vendor-card img{
    max-height: 34px;
    max-width: 85%;
    width: auto;
    object-fit: contain;
  }
  .vendor-card img.logo-lg{
    max-height: 50px;
  }
  .vendor-card img.logo-xl{
    max-height: 96px;
  }

  /* ---------- CONTACT ---------- */
  .contact-card{
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 28px;
    padding: 64px;
    text-align:center;
    position: relative;
    overflow: hidden;
  }
  .contact-card h2{ font-size: clamp(26px,3.6vw,40px); font-weight: 800; letter-spacing: -0.015em; margin: 14px 0 14px; position:relative; }
  .contact-card p{ color: var(--text-muted); font-size: 15.5px; max-width: 480px; margin: 0 auto 32px; position:relative; }
  .contact-email{
    display: inline-block;
    position: relative;
    font-size: clamp(24px, 3.6vw, 38px);
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, var(--green), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 34px;
    transition: transform .25s var(--ease), filter .25s var(--ease);
  }
  .contact-email:hover{ transform: translateY(-2px); filter: brightness(1.15); }
  .contact-actions{ display:flex; justify-content:center; gap: 14px; flex-wrap: wrap; position:relative; }

  /* ---------- FOOTER ---------- */
  footer{ border-top: 1px solid var(--border); padding: 36px 0; }
  .foot-row{ display:flex; justify-content:space-between; align-items:center; gap: 16px; flex-wrap: wrap; }
  .foot-legal{ font-size: 12px; color: var(--text-faint); line-height: 1.6; }
  .foot-links{ display:flex; gap: 20px; }
  .foot-links a{ font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
  .foot-links a:hover{ color: var(--text); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1080px) and (min-width: 921px){
    .cards{ grid-template-columns: 1fr 1fr; }
    .vendors-grid{ grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 920px){
    .vendors-grid{ grid-template-columns: 1fr; }
    .about{ padding: 32px 24px; grid-template-columns: 1fr; gap: 28px; }
    .photo-frame{ max-width: 340px; margin: 0 auto; aspect-ratio: 3 / 4; }
    .wrap{ padding: 0 22px; }
    .nav-links{ display:none; }
    .btn-menu{ display:flex; }
    .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
    .hero{ padding: 40px 0 44px; }
    .hero-bg-logo{ width: 300px; max-width: 70%; right: -70px; bottom: -80px; }
    .cards{ grid-template-columns: 1fr; }
    .comp-accordion{ flex-direction: column; height: auto; }
    .comp-item{ border-right: none; border-bottom: 1px solid var(--border); padding: 24px; min-height: 84px; }
    .comp-item:last-child{ border-bottom: none; }
    .comp-item.is-active{ flex: none; min-height: 200px; }
    .comp-item.is-active h3{ font-size: 22px; }
    .exp{ grid-template-columns: 1fr; padding: 34px 24px; }
    .contact-card{ padding: 44px 26px; }
    section{ padding: 64px 0; }
  }

  /* ---------- VIDEO MODAL (lightbox) ---------- */
  .video-modal{
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 70px 24px 24px;
    background: rgba(5,5,8,0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .video-modal.open{ display: flex; }
  .video-modal-inner{
    position: relative;
    width: min(1100px, 94vw);
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-strong);
    box-shadow: 0 50px 140px -20px rgba(0,0,0,0.75);
    animation: modalIn .35s var(--ease);
  }
  @keyframes modalIn{ from{ opacity: 0; transform: scale(.94); } to{ opacity: 1; transform: scale(1); } }
  .video-modal-inner iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .video-modal-close{
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: transform .2s var(--ease), border-color .2s var(--ease);
  }
  .video-modal-close:hover{ transform: scale(1.08); border-color: rgba(255,255,255,0.35); }

  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
  }

  /* ---------- PUBLICATIONS PAGE ---------- */
  .pub-hero{
    position: relative;
    overflow: hidden;
    background: #05070a;
    color: #eef2f6;
    padding: 64px 0 12px;
  }
  .pub-hero .wrap{ position: relative; z-index: 1; }
  .pub-hero h1{
    font-size: clamp(30px, 4.4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 14px 0 14px;
    color: #eef2f6;
  }
  .pub-hero p{ color: #9aa7b5; font-size: 15.5px; max-width: 620px; line-height: 1.65; }

  .pub-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    margin-top: 36px;
    padding-bottom: 30px;
  }
  .pub-card{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), border-color .35s var(--ease);
  }
  .pub-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
  .pub-thumb{ aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
  .pub-thumb img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .pub-card:hover .pub-thumb img{ transform: scale(1.06); }
  .pub-body{ padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .pub-meta{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .pub-date{
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--text-faint);
    text-transform: uppercase;
  }
  .pub-tag{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--violet);
    background: var(--violet-soft);
    border: 1px solid rgba(139,92,246,0.28);
    padding: 3px 10px;
    border-radius: 999px;
  }
  .pub-title{ font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -0.005em; margin: 2px 0 0; }
  .pub-excerpt{ font-size: 13.5px; color: var(--text-muted); line-height: 1.6; flex: 1; margin: 0; }
  .pub-link{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    margin-top: 6px;
  }
  .pub-link .btn-arrow{ transition: transform .25s var(--ease); }
  .pub-link:hover .btn-arrow{ transform: translateX(3px); }

  @media (max-width: 640px){
    .pub-hero{ padding: 40px 0 8px; }
  }
