  :root{
    --bg:#f7f8f9;
    --bg-elevated:#ffffff;
    --text:#14181c;
    --text-muted:#5a6672;
    --border:#e6e9ec;
    --accent:#6366f1;
    --accent-2:#818cf8;
    --accent-soft: rgba(99,102,241,0.10);
    --shadow: 0 20px 60px -20px rgba(20,24,28,0.15);
    --nav-bg: rgba(247,248,249,0.75);
  }
  :root[data-theme="dark"]{
    --bg:#0a0e0e;
    --bg-elevated:#12181a;
    --text:#f1f5f4;
    --text-muted:#8b9a9a;
    --border:#1e2727;
    --accent:#818cf8;
    --accent-2:#a5b4fc;
    --accent-soft: rgba(129,140,248,0.10);
    --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
    --nav-bg: rgba(10,14,14,0.7);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter', system-ui, sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    transition: background .3s ease, color .3s ease;
  }
  h1,h2,h3,.brand{font-family:'Sora', sans-serif;}
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1280px; margin:0 auto; padding:0 32px;}

  /* NAV */
  nav.topnav{
    position:fixed; top:0; left:0; right:0; z-index:100;
    backdrop-filter: blur(14px);
    background:var(--nav-bg);
    border-bottom:1px solid var(--border);
  }
  .nav-inner{
    max-width:1280px; margin:0 auto; padding:18px 32px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .brand{font-size:20px; font-weight:700; display:flex; align-items:center; gap:8px;}
  .brand-dot{width:10px;height:10px;border-radius:3px;background:linear-gradient(135deg,var(--accent),var(--accent-2)); display:inline-block; transform:rotate(45deg);}
  .nav-links{display:flex; gap:36px; list-style:none;}
  .nav-links a{font-size:14.5px; font-weight:500; color:var(--text-muted); transition:color .2s;}
  .nav-links a:hover, .nav-links a.active{color:var(--text);}
  .nav-right{display:flex; align-items:center; gap:14px;}
  .theme-toggle{
    width:38px; height:38px; border-radius:50%;
    border:1px solid var(--border); background:var(--bg-elevated);
    display:flex; align-items:center; justify-content:center; cursor:pointer;
    color:var(--text); transition: transform .2s, border-color .2s;
  }
  .theme-toggle:hover{border-color:var(--accent); transform:rotate(20deg);}
  .theme-toggle svg{width:18px;height:18px;}
  .icon-sun{display:none;}
  :root[data-theme="light"] .icon-moon{display:none;}
  :root[data-theme="light"] .icon-sun{display:block;}
  .burger{display:none; width:38px; height:38px; border-radius:10px; border:1px solid var(--border); background:var(--bg-elevated); cursor:pointer; align-items:center; justify-content:center;}
  .burger span, .burger span::before, .burger span::after{
    content:''; display:block; width:16px; height:2px; background:var(--text); position:relative; transition:.25s;
  }
  .burger span::before{position:absolute; top:-5px;}
  .burger span::after{position:absolute; top:5px;}

  .mobile-drawer{
    position:fixed; top:0; right:-100%; width:78%; max-width:320px; height:100vh;
    background:var(--bg-elevated); z-index:200; border-left:1px solid var(--border);
    transition: right .35s cubic-bezier(.4,0,.2,1); padding:100px 32px 32px;
    display:flex; flex-direction:column; gap:26px;
  }
  .mobile-drawer.open{right:0;}
  .mobile-drawer a{font-size:18px; font-weight:600;}
  .drawer-backdrop{position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:150; opacity:0; pointer-events:none; transition:opacity .3s;}
  .drawer-backdrop.open{opacity:1; pointer-events:auto;}

  /* HERO */
  .hero{
    position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center;
    text-align:center; padding-top:120px; padding-bottom:60px;
    overflow:hidden;
  }
  .hero-canvas{
    position:absolute; inset:0; width:100%; height:100%; z-index:0;
    opacity:.55; pointer-events:none;
  }
  :root[data-theme="light"] .hero-canvas{opacity:.3;}
  .hero-glow{
    position:absolute; width:900px; height:900px; border-radius:50%;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    top:-300px; left:50%; transform:translateX(-50%); pointer-events:none; z-index:0;
  }
  .hero-center{
    display:flex; flex-direction:column; align-items:center;
    position:relative; z-index:2; width:100%; max-width:1040px; margin:0 auto;
  }
  .hero h1{
    font-size:clamp(38px, 5.4vw, 68px); font-weight:800; line-height:1.05; letter-spacing:-0.02em;
  }
  .hero h1 .accent{
    color:var(--accent); position:relative;
    background:linear-gradient(90deg,var(--accent),var(--accent-2));
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  }
  .hero p.lead{
    margin-top:24px; font-size:17px; line-height:1.7; color:var(--text-muted); max-width:600px;
    margin-left:auto; margin-right:auto;
  }
  .hero p.lead b{color:var(--text); font-weight:600;}

  .stats{display:flex; gap:44px; margin-top:44px; justify-content:center;}
  .stat b{font-family:'Sora'; font-size:30px; font-weight:800; display:block;}
  .stat span{font-size:13.5px; color:var(--text-muted);}

  .cta-row{display:flex; gap:14px; margin-top:40px; flex-wrap:wrap; justify-content:center;}
  .btn{
    padding:15px 28px; border-radius:12px; font-weight:600; font-size:15px;
    display:inline-flex; align-items:center; gap:10px; cursor:pointer; border:1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s;
  }
  .btn:active{transform:scale(.97);}
  .btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#04231e;}
  .btn-primary:hover{box-shadow:0 12px 30px -8px var(--accent); transform:translateY(-2px);}
  .btn-outline{border-color:var(--border); background:var(--bg-elevated); color:var(--text);}
  .btn-outline:hover{border-color:var(--accent); color:var(--accent); transform:translateY(-2px);}

  .socials{display:flex; gap:12px; margin-top:36px; justify-content:center;}
  .social-btn{
    width:42px; height:42px; border-radius:50%; border:1px solid var(--border);
    display:flex; align-items:center; justify-content:center; background:var(--bg-elevated);
    transition:.2s;
  }
  .social-btn:hover{border-color:var(--accent); color:var(--accent); transform:translateY(-3px);}
  .social-btn svg{width:17px; height:17px;}

  /* PHOTO VISUAL (tilt 3D card) */
  .hero-visual{
    position:relative; height:560px; display:flex; align-items:center; justify-content:center;
  }
  .photo-frame{
    position:relative; width:380px; height:460px; perspective:1200px;
    animation:float 6s ease-in-out infinite;
  }
  .photo-blob{
    position:absolute; inset:-60px; z-index:0; pointer-events:none;
    background: radial-gradient(circle at 40% 30%, var(--accent-soft), transparent 65%);
    filter:blur(10px);
  }
  .photo-card{
    position:relative; width:100%; height:100%; border-radius:28px; overflow:hidden;
    transform-style:preserve-3d; transition: transform .25s ease-out;
    box-shadow:var(--shadow); border:1px solid var(--border);
    background:linear-gradient(160deg, var(--bg-elevated), var(--bg));
  }
  .photo-card::after{
    content:''; position:absolute; inset:0; border-radius:28px; padding:1.5px;
    background:linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent-2));
    -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none;
  }
  .photo-placeholder{
    width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:14px; color:var(--text-muted); background:
      radial-gradient(circle at 50% 30%, var(--accent-soft), transparent 60%);
  }
  .photo-placeholder svg{width:72px; height:72px; opacity:.55;}
  .photo-placeholder b{color:var(--text); font-size:14.5px; font-weight:600;}
  .photo-placeholder span{font-size:12.5px; max-width:220px; text-align:center; line-height:1.5;}
  .photo-card img{width:100%; height:100%; object-fit:cover; display:block;}
  .visual-card{
    position:absolute; background:var(--bg-elevated); border:1px solid var(--border);
    border-radius:16px; padding:14px 18px; box-shadow:var(--shadow); font-size:13px;
    display:flex; align-items:center; gap:10px; animation:float 5s ease-in-out infinite;
    backdrop-filter:blur(6px);
  }
  .visual-card b{display:block; font-size:14px;}
  .visual-card span{color:var(--text-muted); font-size:12px;}
  .card-1{top:8%; left:0%; animation-delay:0s;}
  .card-2{bottom:10%; right:2%; animation-delay:1.2s;}
  @keyframes float{0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);}}
  .dot-status{width:8px;height:8px;border-radius:50%;background:var(--accent);}

  .scroll-hint{
    display:flex; flex-direction:column; align-items:center; gap:10px;
    margin-top:56px; color:var(--text-muted); font-size:12.5px;
  }
  .mouse-icon{width:22px; height:34px; border:2px solid var(--text-muted); border-radius:12px; position:relative;}
  .mouse-icon::after{
    content:''; position:absolute; top:6px; left:50%; width:3px; height:6px; background:var(--accent);
    border-radius:2px; transform:translateX(-50%); animation:scrolldown 1.6s infinite;
  }
  @keyframes scrolldown{0%{opacity:1; top:6px;} 100%{opacity:0; top:18px;}}

  /* FLOATING CONTACT BUTTONS */
  .floating-contacts{
    position:fixed; right:26px; bottom:26px; z-index:150;
    display:flex; flex-direction:column; gap:14px; align-items:flex-end;
  }
  .fab{
    width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 30px -8px rgba(0,0,0,0.4); cursor:pointer; position:relative; color:#fff;
    transition: transform .2s ease;
  }
  .fab:hover{transform:scale(1.08);}
  .fab svg{width:26px; height:26px;}
  .fab-whatsapp{background:#25D366;}
  .fab-messenger{background:linear-gradient(135deg,#00B2FF,#006AFF);}
  .fab-ring{position:absolute; inset:-4px; border-radius:50%; border:2px solid currentColor; opacity:.5; animation:ring 2.2s infinite;}
  @keyframes ring{0%{transform:scale(.9); opacity:.6;} 100%{transform:scale(1.35); opacity:0;}}
  .fab-tooltip{
    position:absolute; right:66px; top:50%; transform:translateY(-50%);
    background:var(--bg-elevated); color:var(--text); border:1px solid var(--border);
    padding:6px 12px; border-radius:8px; font-size:13px; font-weight:500; white-space:nowrap;
    opacity:0; pointer-events:none; transition:.2s; box-shadow:var(--shadow);
  }
  .fab:hover .fab-tooltip{opacity:1; right:70px;}

  /* placeholder next section, to show nav anchors work */
  .placeholder-section{
    min-height:60vh; display:flex; align-items:center; justify-content:center;
    border-top:1px solid var(--border); color:var(--text-muted); font-size:15px; text-align:center; padding:60px 32px;
  }

  /* ABOUT */
  .about-grid{
    display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:center;
  }
  .about-photo .hero-visual{height:440px;}
  .about-photo .photo-frame{width:320px; height:400px;}
  .about-text{text-align:left;}
  .about-text .eyebrow{margin-bottom:14px;}
  .about-text h2{font-size:clamp(28px,3.6vw,42px); font-weight:800; letter-spacing:-0.02em; margin-bottom:24px;}
  .about-body{font-size:16px; line-height:1.85; color:var(--text-muted); white-space:pre-line;}

  /* SECTION HEADER (shared) */
  section.block{padding:110px 0; border-top:1px solid var(--border);}
  .section-header{max-width:640px; margin:0 auto 56px; text-align:center;}
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700;
    color:var(--accent); text-transform:uppercase; letter-spacing:.08em; margin-bottom:14px;
  }
  .eyebrow::before{content:''; width:18px; height:2px; background:var(--accent); display:inline-block;}
  .section-header h2{font-size:clamp(28px,3.6vw,42px); font-weight:800; letter-spacing:-0.02em;}
  .section-header p{margin-top:14px; color:var(--text-muted); font-size:15.5px; line-height:1.7;}

  /* SERVICES */
  .services-grid{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:22px;
  }
  .service-card{
    position:relative; display:flex; flex-direction:column; min-height:260px;
    border-radius:24px; padding:32px 28px; overflow:hidden;
    background:var(--bg-elevated); border:1px solid var(--border);
    transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
  }
  .service-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
  .service-icon{
    width:58px; height:58px; border-radius:16px; background:var(--accent-soft); color:var(--accent);
    display:flex; align-items:center; justify-content:center; margin-bottom:26px; flex-shrink:0;
  }
  .service-icon svg{width:28px; height:28px;}
  .service-card h3{font-size:19px; font-weight:800; margin-bottom:10px; letter-spacing:-0.01em;}
  .service-card p{font-size:14px; line-height:1.65; color:var(--text-muted); flex:1;}
  .service-features{flex:1; display:flex; flex-direction:column; gap:10px;}
  .service-features li{
    display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-muted);
  }
  .service-features li svg{width:16px; height:16px; color:var(--accent); flex-shrink:0;}
  .service-arrow{
    align-self:flex-end; width:42px; height:42px; border-radius:50%; margin-top:22px;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    background:var(--bg); border:1px solid var(--border); color:var(--text);
    transition: transform .2s ease, background .2s ease;
  }
  .service-arrow svg{width:17px; height:17px;}
  .service-card:hover .service-arrow{transform:rotate(45deg);}

  /* colour rhythm: strong accent / soft tint / neutral, repeating every 3 cards */
  .services-grid .service-card:nth-child(3n+1){
    background:linear-gradient(160deg,var(--accent),var(--accent-2)); border-color:transparent; color:#04231e;
  }
  .services-grid .service-card:nth-child(3n+1) p,
  .services-grid .service-card:nth-child(3n+1) .service-features li{color:rgba(4,35,30,0.75);}
  .services-grid .service-card:nth-child(3n+1) .service-features li svg{color:#04231e;}
  .services-grid .service-card:nth-child(3n+1) .service-icon{background:rgba(4,35,30,0.14); color:#04231e;}
  .services-grid .service-card:nth-child(3n+1) .service-arrow{background:rgba(4,35,30,0.14); border-color:transparent; color:#04231e;}

  .services-grid .service-card:nth-child(3n+2){
    background:linear-gradient(160deg,var(--accent-soft),var(--bg-elevated) 70%); border-color:var(--border);
  }

  :root[data-theme="dark"] .services-grid .service-card:nth-child(3n+2){
    background:linear-gradient(160deg, rgba(129,140,248,0.22), rgba(165,180,252,0.05));
    border-color:rgba(129,140,248,0.28);
  }
  :root[data-theme="dark"] .services-grid .service-card:nth-child(3n){
    background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.1);
  }

  @media (max-width:520px){
    .service-card{min-height:auto; padding:26px 22px;}
  }

  /* SKILLS — grouped logo wall */
  .skills-category{margin-bottom:44px;}
  .skills-category:last-child{margin-bottom:0;}
  .skills-category-title{
    font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.07em;
    color:var(--accent); text-align:center; margin-bottom:20px;
  }
  .skills-flex{display:flex; flex-wrap:wrap; justify-content:center; gap:16px;}
  .skill-item{
    display:flex; flex-direction:column; align-items:center; gap:12px;
    width:104px; background:var(--bg-elevated); border:1px solid var(--border); border-radius:16px; padding:20px 10px;
    transition: transform .2s ease, border-color .2s ease;
  }
  .skill-item:hover{transform:translateY(-4px); border-color:var(--accent);}
  .skill-logo{
    width:52px; height:52px; border-radius:14px; background:#f5f5f7;
    display:flex; align-items:center; justify-content:center; padding:11px; box-sizing:border-box;
  }
  .skill-logo img{width:100%; height:100%; object-fit:contain; display:block;}
  .skill-logo.mono-dark{background:#0d1117;}
  .skill-item span{font-size:12.5px; font-weight:600; color:var(--text-muted); text-align:center;}
  .skill-logo.aapanel{
    background:linear-gradient(135deg,#00b46e,#00854f); color:#fff;
    font-family:'Sora'; font-weight:800; font-size:15px;
  }

  /* PROJECTS */
  .projects-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
  .project-card{
    background:var(--bg-elevated); border:1px solid var(--border); border-radius:20px; overflow:hidden;
    display:flex; flex-direction:column; transition: transform .25s ease, box-shadow .25s ease;
  }
  .project-card:hover{transform:translateY(-6px); box-shadow:var(--shadow);}
  .project-media{
    position:relative; height:200px; overflow:hidden; background:var(--bg);
    display:flex; align-items:center; justify-content:center;
  }
  .project-media img{width:100%; height:100%; object-fit:cover; object-position:top center; display:block;}
  .project-logo-badge{
    position:absolute; left:14px; bottom:-18px; width:48px; height:48px; border-radius:12px;
    overflow:hidden; border:2px solid var(--bg-elevated); box-shadow:var(--shadow);
  }
  .project-logo-badge img{width:100%; height:100%; object-fit:cover;}
  .project-body{padding:28px 22px 22px;}
  .project-category{font-size:12px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:.05em;}
  .project-body h3{font-size:19px; font-weight:700; margin-top:8px;}
  .project-body p{font-size:14px; color:var(--text-muted); line-height:1.65; margin-top:10px;}
  .project-tags{display:flex; flex-wrap:wrap; gap:7px; margin-top:16px;}
  .project-tags span{
    font-size:11.5px; font-weight:600; color:var(--text-muted); background:var(--bg);
    border:1px solid var(--border); padding:4px 10px; border-radius:999px;
  }
  .project-link{
    display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-size:13.5px; font-weight:600; color:var(--accent);
  }
  .project-link svg{width:14px; height:14px;}

  .media-placeholder{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
    width:100%; height:100%; color:var(--text-muted);
    background:radial-gradient(circle at 50% 30%, var(--accent-soft), transparent 70%);
  }
  .media-placeholder svg{width:34px; height:34px; opacity:.6;}
  .media-placeholder span{font-size:12px;}

  .echri-media{
    width:100%; height:100%; padding:22px; box-sizing:border-box;
    background:linear-gradient(135deg,#0d0b2b,#1b1440 55%,#2a1a52);
    display:flex; flex-direction:column; justify-content:space-between; color:#fff;
  }
  .echri-media .wordmark{font-family:'Sora'; font-size:22px; font-weight:800;}
  .echri-media .wordmark span{color:#9b8cff;}
  .echri-media .echri-stats{display:flex; gap:16px; font-size:11.5px; color:#c9c3f5;}
  .echri-media .echri-stats b{display:block; font-size:16px; color:#fff; font-family:'Sora';}
  .echri-badge{
    align-self:flex-start; font-size:11px; font-weight:600; background:rgba(255,255,255,0.12);
    padding:4px 10px; border-radius:999px; display:flex; align-items:center; gap:6px;
  }
  .echri-badge::before{content:''; width:6px; height:6px; border-radius:50%; background:#4ade80;}

  .saftiee-media{
    width:100%; height:100%; position:relative; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(160deg,#f9a8c9 0%,#e94f8a 45%,#5b2a86 100%);
  }
  .saftiee-media .glow{position:absolute; inset:0; background:radial-gradient(circle at 50% 35%, rgba(255,255,255,0.35), transparent 60%);}
  .saftiee-media img{position:relative; width:88px; height:88px; object-fit:contain; filter:drop-shadow(0 10px 24px rgba(0,0,0,0.25));}
  .saftiee-media .saftiee-stat{
    position:absolute; bottom:14px; right:14px; background:rgba(255,255,255,0.18); backdrop-filter:blur(6px);
    color:#fff; font-size:11.5px; font-weight:600; padding:6px 12px; border-radius:999px;
  }

  .project-card.ghost{
    align-items:center; justify-content:center; text-align:center; border-style:dashed;
    background:transparent; padding:40px 24px; gap:10px; color:var(--text-muted); min-height:100%;
  }
  .project-card.ghost .plus-icon{
    width:44px; height:44px; border-radius:50%; border:1.5px dashed var(--border);
    display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:6px; color:var(--accent);
  }

  /* CONTACT */
  .contact-panel{
    position:relative; overflow:hidden; border-radius:28px; padding:64px 40px; text-align:center;
    background:linear-gradient(160deg, var(--bg-elevated), var(--bg));
    border:1px solid var(--border);
  }
  .contact-panel .hero-glow{top:-260px; left:50%; transform:translateX(-50%); right:auto;}
  .contact-panel h2{font-size:clamp(26px,3.4vw,38px); font-weight:800; position:relative; z-index:1;}
  .contact-panel p{color:var(--text-muted); font-size:15.5px; max-width:480px; margin:14px auto 0; position:relative; z-index:1;}
  .contact-actions{display:flex; gap:16px; justify-content:center; margin-top:36px; flex-wrap:wrap; position:relative; z-index:1;}
  .contact-btn{
    display:inline-flex; align-items:center; gap:12px; padding:12px 26px 12px 12px; border-radius:14px;
    font-weight:600; font-size:15px; color:var(--text);
    background:var(--bg-elevated); border:1px solid var(--border);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .contact-btn:hover{transform:translateY(-2px); border-color:var(--accent); box-shadow:var(--shadow);}
  .contact-icon-circle{
    width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .contact-btn svg{width:19px; height:19px;}
  .contact-btn.whatsapp .contact-icon-circle{background:#25D366;}
  .contact-btn.messenger .contact-icon-circle{background:linear-gradient(135deg,#00B2FF,#006AFF);}
  .contact-meta{
    display:flex; justify-content:center; gap:32px; margin-top:44px; flex-wrap:wrap;
    position:relative; z-index:1; font-size:13.5px; color:var(--text-muted);
  }
  .contact-meta span{display:flex; align-items:center; gap:8px;}
  .contact-meta svg{width:16px; height:16px; color:var(--accent);}

  /* FOOTER */
  footer{
    border-top:1px solid var(--border); padding:26px 0; text-align:center;
    font-size:13px; color:var(--text-muted);
  }

  @media (max-width: 940px){
    .nav-links{display:none;}
    .burger{display:flex;}
    .stats{gap:28px;}
    .about-grid{grid-template-columns:1fr; gap:40px; text-align:center;}
    .about-photo{display:flex; justify-content:center;}
    .about-text{text-align:center;}
    .projects-grid{grid-template-columns:1fr;}
    section.block{padding:70px 0;}
  }
  @media (max-width:520px){
    .wrap, .nav-inner{padding-left:20px; padding-right:20px;}
    .stats{flex-wrap:wrap; row-gap:20px;}
    .cta-row .btn{flex:1; justify-content:center;}
    .floating-contacts{right:16px; bottom:16px;}
    .fab{width:50px; height:50px;}
    .skills-flex{gap:12px;}
    .skill-item{width:88px; padding:16px 8px; gap:9px;}
    .skill-logo{width:44px; height:44px; padding:9px;}
    .skill-item span{font-size:11.5px;}
    .skills-category{margin-bottom:34px;}
    .contact-panel{padding:48px 22px; border-radius:20px;}
    .contact-actions{flex-direction:column;}
    .about-photo .hero-visual{height:340px;}
    .about-photo .photo-frame{width:240px; height:300px;}
    .about-photo .visual-card{display:none;}
  }

  /* PAGINATION */

  /* ARTICLE BODY (rich text) */
  .article-body{margin-top:32px; font-size:16px; line-height:1.8; color:var(--text-muted);}
  .article-body p{margin-bottom:20px;}
  .article-body h2{font-size:26px; font-weight:800; color:var(--text); margin:40px 0 16px; letter-spacing:-0.01em;}
  .article-body h3{font-size:20px; font-weight:700; color:var(--text); margin:32px 0 14px;}
  .article-body strong{color:var(--text); font-weight:700;}
  .article-body a{color:var(--accent); text-decoration:underline;}
  .article-body ul, .article-body ol{margin:0 0 20px 22px;}
  .article-body li{margin-bottom:8px;}
  .article-body blockquote{
    border-left:3px solid var(--accent); margin:24px 0; padding:4px 0 4px 20px;
    color:var(--text); font-style:italic;
  }
  .article-body img{max-width:100%; border-radius:14px; margin:20px 0;}
  .pagination-wrap{display:flex; justify-content:center; margin-top:48px;}
  .site-pagination{display:flex; align-items:center; gap:18px;}
  .site-pagination .page-btn{
    padding:10px 18px; border-radius:10px; border:1px solid var(--border); background:var(--bg-elevated);
    font-size:13.5px; font-weight:600; color:var(--text); transition:.15s;
  }
  .site-pagination a.page-btn:hover{border-color:var(--accent); color:var(--accent);}
  .site-pagination .page-btn.disabled{color:var(--text-muted); opacity:.5; cursor:default;}
  .site-pagination .page-info{font-size:13px; color:var(--text-muted);}
