/**
 * Ayoub Eddarouich Portfolio — Stylesheet
 * Plugin: Ayoub Eddarouich Portfolio
 * This file is enqueued only on the standalone /portfolio/ page.
 */

  :root{
    --primary:#2563EB;
    --primary-dark:#1D4ED8;
    --secondary:#14B8A6;
    --bg:#F8FAFC;
    --dark:#0F172A;
    --dark-2:#132038;
    --gray:#64748B;
    --white:#FFFFFF;
    --line:#E2E8F0;
    --radius-lg:24px;
    --radius-md:16px;
    --radius-sm:10px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
    --shadow-md: 0 8px 24px -8px rgba(15,23,42,.12), 0 2px 8px -2px rgba(15,23,42,.06);
    --shadow-lg: 0 24px 60px -20px rgba(15,23,42,.22), 0 8px 24px -8px rgba(37,99,235,.10);
    --shadow-glow: 0 0 0 1px rgba(37,99,235,.08), 0 20px 50px -12px rgba(37,99,235,.25);
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  body{
    font-family:'Inter', sans-serif;
    color:var(--dark);
    background:var(--bg);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

  h1,h2,h3,h4,.font-display{ font-family:'Plus Jakarta Sans', sans-serif; letter-spacing:-0.02em; }

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

  ::selection{ background:var(--primary); color:#fff; }

  :focus-visible{
    outline: 2.5px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .wrap{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:0 28px;
  }

  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--primary);
    margin-bottom:16px;
  }
  .eyebrow::before{
    content:"";
    width:22px; height:2px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    border-radius:2px;
  }

  .section{ padding:112px 0; position:relative; }
  .section-tight{ padding:88px 0; }
  @media (max-width:760px){
    .section{ padding:76px 0; }
    .section-tight{ padding:60px 0; }
    .wrap{ padding:0 20px; }
  }

  .section-head{ max-width:680px; margin-bottom:56px; }
  .section-head h2{ font-size:clamp(28px,4vw,42px); font-weight:800; line-height:1.15; margin-bottom:16px; }
  .section-head p{ color:var(--gray); font-size:17.5px; }

  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:9px;
    padding:15px 28px;
    border-radius:100px;
    font-weight:600;
    font-size:15px;
    transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .3s, color .3s, border-color .3s;
    white-space:nowrap;
  }
  .btn-primary{
    background:linear-gradient(135deg,var(--primary),#3B82F6 55%,var(--secondary));
    background-size:160% 160%;
    background-position:0% 50%;
    color:#fff;
    box-shadow:0 12px 28px -10px rgba(37,99,235,.55);
  }
  .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 36px -10px rgba(37,99,235,.65); background-position:100% 50%; }
  .btn-ghost{
    background:rgba(255,255,255,.6);
    border:1.5px solid var(--line);
    color:var(--dark);
    backdrop-filter:blur(6px);
  }
  .btn-ghost:hover{ border-color:var(--primary); color:var(--primary-dark); transform:translateY(-2px); }
  .btn-dark{
    background:var(--dark); color:#fff;
  }
  .btn-dark:hover{ background:#1e2b47; transform:translateY(-2px); }

  /* ---------- NAV ---------- */
  header.nav{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    padding:18px 0;
    transition:padding .35s ease, background .35s ease, box-shadow .35s ease;
  }
  header.nav .navbar{
    max-width:1180px; margin:0 auto; padding:0 28px;
    display:flex; align-items:center; justify-content:space-between;
  }
  header.nav.scrolled{
    padding:10px 0;
    background:rgba(248,250,252,.78);
    backdrop-filter:blur(16px) saturate(160%);
    box-shadow:0 1px 0 rgba(15,23,42,.06), 0 12px 30px -18px rgba(15,23,42,.15);
  }
  .brand{ display:flex; align-items:center; gap:10px; font-family:'Plus Jakarta Sans'; font-weight:800; font-size:17px; }
  .brand-mark{
    width:38px; height:38px; border-radius:11px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:15px; font-weight:800;
    box-shadow:0 6px 16px -4px rgba(37,99,235,.5);
  }
  .navlinks{ display:flex; align-items:center; gap:2px; }
  .navlinks a{
    font-size:14.5px; font-weight:600; color:var(--dark); padding:9px 15px; border-radius:100px;
    transition:background .25s, color .25s;
  }
  .navlinks a:hover{ background:rgba(37,99,235,.08); color:var(--primary-dark); }
  .nav-cta{ display:flex; align-items:center; gap:10px; }
  .nav-toggle{ display:none; }

  @media (max-width:980px){
    .navlinks{ display:none; }
    .nav-cta .btn-ghost{ display:none; }
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    padding:172px 0 130px;
    background:
      radial-gradient(1100px 620px at 82% -10%, rgba(37,99,235,.14), transparent 60%),
      radial-gradient(900px 500px at -10% 20%, rgba(20,184,166,.12), transparent 55%),
      linear-gradient(180deg,#EFF4FC 0%, var(--bg) 55%);
    overflow:hidden;
  }
  .hero-grid{
    display:grid; grid-template-columns:1.05fr .95fr; gap:60px; align-items:center;
  }
  .hero-copy h1{
    font-size:clamp(38px,5.3vw,60px);
    font-weight:800; line-height:1.06; margin-bottom:22px;
  }
  .hero-copy h1 .accent{
    background:linear-gradient(100deg,var(--primary) 10%,var(--secondary) 90%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .hero-copy p.sub{
    font-size:18.5px; color:var(--gray); max-width:520px; margin-bottom:36px;
  }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px; }

  .pulse-line{ width:100%; max-width:480px; height:46px; opacity:.85; }
  .pulse-line path{
    fill:none; stroke:url(#pulseGrad); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round;
    stroke-dasharray:900; stroke-dashoffset:900;
    animation:draw 3.4s ease-in-out infinite;
  }
  @keyframes draw{
    0%{ stroke-dashoffset:900; }
    55%{ stroke-dashoffset:0; }
    100%{ stroke-dashoffset:-900; }
  }

  .hero-visual{ position:relative; height:520px; }
  .hero-photo-wrap{
    position:absolute; right:0; top:8px; width:340px; height:420px;
    border-radius:28px; overflow:hidden;
    box-shadow:var(--shadow-lg);
    border:6px solid #fff;
    transform:rotate(1.4deg);
  }
  .hero-photo-wrap img{ width:100%; height:100%; object-fit:cover; }
  .hero-photo-glow{
    position:absolute; right:-30px; top:-30px; width:340px; height:420px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    border-radius:28px; opacity:.28; filter:blur(20px); transform:rotate(1.4deg);
    z-index:-1;
  }

  .float-card{
    position:absolute; display:flex; align-items:center; gap:12px;
    background:rgba(255,255,255,.72); backdrop-filter:blur(16px) saturate(180%);
    border:1px solid rgba(255,255,255,.6);
    padding:14px 18px; border-radius:16px; box-shadow:var(--shadow-md);
    animation:floaty 6s ease-in-out infinite;
  }
  .float-card .num{ font-family:'Plus Jakarta Sans'; font-weight:800; font-size:20px; line-height:1; }
  .float-card .lbl{ font-size:12px; color:var(--gray); font-weight:600; }
  .float-card .ic{
    width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;
    font-size:17px;
  }
  .fc1{ left:-30px; top:26px; animation-delay:.2s; }
  .fc1 .ic{ background:rgba(37,99,235,.12); color:var(--primary); }
  .fc2{ left:-50px; bottom:110px; animation-delay:1.1s; }
  .fc2 .ic{ background:rgba(20,184,166,.14); color:var(--secondary); }
  .fc3{ right:220px; bottom:8px; animation-delay:1.9s; }
  .fc3 .ic{ background:rgba(37,99,235,.12); color:var(--primary); }
  .fc4{ right:-10px; top:-16px; animation-delay:.6s; }
  .fc4 .ic{ background:rgba(20,184,166,.14); color:var(--secondary); }

  @keyframes floaty{
    0%,100%{ transform:translateY(0px); }
    50%{ transform:translateY(-11px); }
  }

  @media (max-width:980px){
    .hero{ padding:150px 0 80px; }
    .hero-grid{ grid-template-columns:1fr; }
    .hero-visual{ height:420px; margin-top:20px; }
    .hero-photo-wrap{ width:250px; height:320px; right:10px; }
    .hero-photo-glow{ width:250px; height:320px; right:-20px; }
    .fc1{ left:0; top:10px; }
    .fc2{ left:0; bottom:60px; }
    .fc3{ right:auto; left:150px; bottom:0; }
    .fc4{ right:0; top:-10px; }
  }
  @media (max-width:560px){
    .float-card{ padding:10px 13px; }
    .float-card .num{ font-size:16px; }
    .hero-visual{ height:380px; }
    .hero-photo-wrap{ width:200px; height:260px; }
    .hero-photo-glow{ width:200px; height:260px; }
  }

  /* ---------- REVEAL ---------- */
  .reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in{ opacity:1; transform:translateY(0); }
  .reveal-stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }

  /* ---------- ABOUT ---------- */
  .about{ background:var(--white); }
  .about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:start; }
  .about-card{
    background:linear-gradient(160deg,#0F172A, #16233F 60%, #0F2A3E);
    border-radius:var(--radius-lg);
    padding:34px;
    color:#fff;
    box-shadow:var(--shadow-lg);
  }
  .about-card img{ width:100%; border-radius:16px; margin-bottom:22px; aspect-ratio:1/1; object-fit:cover; object-position:top; }
  .about-card .quote{ font-size:15.5px; line-height:1.65; color:#CBD5E1; font-style:italic; }
  .about-card .quote::before{ content:"“"; color:var(--secondary); font-size:28px; line-height:0; position:relative; top:6px; margin-right:2px; font-style:normal; }
  .about-stats{ display:flex; gap:10px; margin-top:22px; }
  .about-stats div{ flex:1; text-align:center; padding:12px 6px; background:rgba(255,255,255,.06); border-radius:12px; border:1px solid rgba(255,255,255,.08); }
  .about-stats .n{ font-family:'Plus Jakarta Sans'; font-weight:800; font-size:19px; color:var(--secondary); }
  .about-stats .l{ font-size:10.5px; color:#94A3B8; text-transform:uppercase; letter-spacing:.05em; margin-top:2px; }

  .about-copy p{ color:#334155; font-size:16.5px; margin-bottom:18px; }
  .about-copy p:first-of-type{ font-size:19px; color:var(--dark); font-weight:500; }

  .pill-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
  .pill{
    font-size:13px; font-weight:600; padding:8px 15px; border-radius:100px;
    background:rgba(37,99,235,.07); color:var(--primary-dark); border:1px solid rgba(37,99,235,.14);
  }

  /* ---------- EXPERTISE ---------- */
  .expertise{ background:var(--bg); }
  .exp-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
  @media (max-width:900px){ .exp-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:520px){ .exp-grid{ grid-template-columns:1fr; } }
  .exp-card{
    background:var(--white); border-radius:18px; padding:26px 22px;
    border:1px solid var(--line);
    transition:transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
  }
  .exp-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
  .exp-card .ic{
    width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.12));
    font-size:21px; margin-bottom:16px;
  }
  .exp-card h3{ font-size:16.5px; font-weight:700; margin-bottom:6px; }
  .exp-card p{ font-size:13.5px; color:var(--gray); }

  /* ---------- SAMPLES ---------- */
  .samples{ background:var(--white); }
  .cat-tabs{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px; }
  .cat-tab{
    font-size:13.5px; font-weight:700; padding:9px 17px; border-radius:100px;
    background:var(--bg); border:1px solid var(--line); color:var(--gray);
    transition:all .25s;
  }
  .cat-tab.active, .cat-tab:hover{ background:var(--dark); color:#fff; border-color:var(--dark); }

  .sample-groups .group-title{
    font-family:'Plus Jakarta Sans'; font-weight:700; font-size:14.5px; letter-spacing:.03em;
    color:var(--primary-dark); margin:44px 0 18px; display:flex; align-items:center; gap:10px;
  }
  .sample-groups .group-title:first-child{ margin-top:0; }
  .sample-groups .group-title::after{ content:""; flex:1; height:1px; background:var(--line); }

  .sample-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  @media (max-width:900px){ .sample-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:620px){ .sample-grid{ grid-template-columns:1fr; } }

  .sample-card{
    border-radius:20px; overflow:hidden; background:var(--white);
    border:1px solid var(--line);
    transition:transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
    display:flex; flex-direction:column;
  }
  .sample-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
  .sample-thumb{
    height:150px; position:relative;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:30px;
    overflow:hidden;
  }
  .sample-thumb-img{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; display:block;
  }
  .sample-cat{
    position:absolute; top:12px; left:12px; font-size:11px; font-weight:700; letter-spacing:.04em;
    text-transform:uppercase; background:rgba(255,255,255,.92); color:var(--primary-dark);
    padding:5px 10px; border-radius:100px;
  }
  .sample-body{ padding:20px 20px 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
  .sample-body h4{ font-size:16px; font-weight:700; line-height:1.35; }
  .sample-body p{ font-size:13.5px; color:var(--gray); flex:1; }
  .sample-link{
    font-size:13.5px; font-weight:700; color:var(--primary-dark); display:inline-flex; align-items:center; gap:6px;
    margin-top:4px;
  }
  .sample-link svg{ transition:transform .3s; }
  .sample-card:hover .sample-link svg{ transform:translateX(4px); }

  /* ---------- RESULTS ---------- */
  .results{
    background:linear-gradient(165deg,var(--dark) 0%, #122142 55%, #0c2436 100%);
    color:#fff;
  }
  .results .section-head p{ color:#94A3B8; }
  .results-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:20px; }
  @media (max-width:900px){ .results-grid{ grid-template-columns:repeat(2,1fr); } }
  .result-card{
    background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09);
    border-radius:18px; padding:26px 22px; backdrop-filter:blur(6px);
  }
  .result-card .n{ font-family:'Plus Jakarta Sans'; font-weight:800; font-size:36px; background:linear-gradient(100deg,#93C5FD,#5EEAD4); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .result-card .l{ font-size:13px; color:#94A3B8; margin-top:6px; }

  .results-note{
    margin-top:32px; display:flex; gap:16px; align-items:flex-start;
    background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.08);
    border-radius:16px; padding:22px 24px;
  }
  .results-note .ic{ font-size:20px; }
  .results-note p{ font-size:14.5px; color:#B7C3D9; line-height:1.65; }
  .results-note strong{ color:#fff; }

  /* ---------- EDITORIAL EXPERIENCE ---------- */
  .editorial{ background:var(--bg); }
  .ed-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  @media (max-width:900px){ .ed-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .ed-grid{ grid-template-columns:1fr; } }
  .ed-card{
    background:var(--white); border-radius:18px; padding:28px; border:1px solid var(--line);
    position:relative; overflow:hidden;
  }
  .ed-card::before{
    content:""; position:absolute; top:0; left:0; width:4px; height:100%;
    background:linear-gradient(180deg,var(--primary),var(--secondary));
  }
  .ed-card h3{ font-size:16.5px; font-weight:700; margin-bottom:8px; }
  .ed-card p{ font-size:13.8px; color:var(--gray); }

  /* ---------- PROCESS TIMELINE ---------- */
  .process{ background:var(--white); }
  .timeline{ position:relative; padding-left:4px; }
  .timeline::before{
    content:""; position:absolute; left:27px; top:10px; bottom:10px; width:2px;
    background:linear-gradient(180deg,var(--primary),var(--secondary));
    opacity:.25;
  }
  .t-step{ display:flex; gap:26px; padding:20px 0; position:relative; }
  .t-num{
    flex-shrink:0; width:56px; height:56px; border-radius:16px;
    background:var(--white); border:2px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    font-family:'Plus Jakarta Sans'; font-weight:800; font-size:18px; color:var(--primary);
    position:relative; z-index:1;
    transition:border-color .3s, background .3s, color .3s, transform .3s;
  }
  .t-step:hover .t-num{ background:linear-gradient(135deg,var(--primary),var(--secondary)); border-color:transparent; color:#fff; transform:scale(1.06); }
  .t-content h3{ font-size:17.5px; font-weight:700; margin-bottom:6px; }
  .t-content p{ font-size:14.5px; color:var(--gray); max-width:560px; }

  /* ---------- SOURCES ---------- */
  .sources{ background:var(--bg); }
  .source-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
  @media (max-width:900px){ .source-grid{ grid-template-columns:repeat(3,1fr); } }
  @media (max-width:560px){ .source-grid{ grid-template-columns:repeat(2,1fr); } }
  .source-card{
    background:var(--white); border:1px solid var(--line); border-radius:16px;
    padding:22px 14px; text-align:center; font-weight:700; font-size:14px;
    transition:transform .3s, box-shadow .3s, border-color .3s;
  }
  .source-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
  .sources-disclaimer{
    margin-top:26px; font-size:13.5px; color:var(--gray); text-align:center; max-width:640px; margin-left:auto; margin-right:auto;
  }

  /* ---------- WHY EDITORS ---------- */
  .why{ background:var(--white); }
  .why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  @media (max-width:900px){ .why-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }
  .why-card{
    padding:30px 24px; border-radius:20px;
    background:linear-gradient(165deg,#F1F6FE,#F8FAFC);
    border:1px solid var(--line);
    transition:transform .35s, box-shadow .35s;
  }
  .why-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
  .why-card .ic{ font-size:24px; margin-bottom:14px; }
  .why-card h3{ font-size:16.5px; font-weight:700; margin-bottom:8px; }
  .why-card p{ font-size:13.8px; color:var(--gray); }

  /* ---------- SERVICES ---------- */
  .services{ background:var(--dark); color:#fff; position:relative; overflow:hidden; }
  .services::before{
    content:""; position:absolute; inset:0;
    background:radial-gradient(700px 400px at 90% 10%, rgba(20,184,166,.12), transparent 60%);
  }
  .services .section-head p{ color:#94A3B8; }
  .svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; position:relative; z-index:1; }
  @media (max-width:900px){ .svc-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .svc-grid{ grid-template-columns:1fr; } }
  .svc-card{
    background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09);
    border-radius:18px; padding:26px; transition:background .3s, transform .35s, border-color .3s;
  }
  .svc-card:hover{ background:rgba(255,255,255,.08); transform:translateY(-5px); border-color:rgba(94,234,212,.4); }
  .svc-card .num{ font-family:'Plus Jakarta Sans'; font-size:12px; font-weight:700; color:var(--secondary); letter-spacing:.06em; margin-bottom:14px; }
  .svc-card h3{ font-size:17px; font-weight:700; margin-bottom:8px; }
  .svc-card p{ font-size:13.8px; color:#94A3B8; }

  /* ---------- CONTACT ---------- */
  .contact{ background:var(--bg); }
  .contact-panel{
    background:linear-gradient(135deg,var(--primary),#2f6fe0 55%,var(--secondary));
    border-radius:28px; padding:64px 56px; position:relative; overflow:hidden;
    display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center;
  }
  .contact-panel::before{
    content:""; position:absolute; inset:0;
    background:radial-gradient(500px 300px at 10% 100%, rgba(255,255,255,.16), transparent 60%);
  }
  .contact-panel h2{ font-size:clamp(26px,3.6vw,38px); font-weight:800; color:#fff; margin-bottom:14px; position:relative; z-index:1; }
  .contact-panel p{ color:rgba(255,255,255,.88); font-size:16px; margin-bottom:26px; max-width:460px; position:relative; z-index:1; }
  .contact-actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }
  .btn-white{ background:#fff; color:var(--primary-dark); }
  .btn-white:hover{ transform:translateY(-2px); box-shadow:0 14px 28px -10px rgba(0,0,0,.25); }
  .btn-outline-white{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55); }
  .btn-outline-white:hover{ background:rgba(255,255,255,.12); border-color:#fff; }

  .contact-card{
    background:rgba(255,255,255,.14); backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.28); border-radius:20px; padding:28px;
    position:relative; z-index:1;
  }
  .contact-card .row{ display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.18); }
  .contact-card .row:last-child{ border-bottom:none; }
  .contact-card .row .ic{ width:34px; height:34px; border-radius:9px; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; }
  .contact-card .row span{ font-size:14px; color:#fff; font-weight:500; word-break:break-word; }

  @media (max-width:860px){
    .contact-panel{ grid-template-columns:1fr; padding:44px 28px; }
  }

  /* ---------- FOOTER ---------- */
  footer{ background:var(--dark); color:#94A3B8; padding:48px 0 32px; }
  .footer-grid{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }
  .footer-brand{ display:flex; align-items:center; gap:10px; color:#fff; font-weight:700; font-family:'Plus Jakarta Sans'; }
  .footer-links{ display:flex; gap:26px; flex-wrap:wrap; }
  .footer-links a{ font-size:13.5px; transition:color .25s; }
  .footer-links a:hover{ color:#fff; }
  .footer-bottom{ margin-top:32px; padding-top:24px; border-top:1px solid rgba(255,255,255,.08); font-size:12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

  /* generic count-up */
  .countup{ font-variant-numeric:tabular-nums; }

  /* skip link */
  .skip-link{
    position:absolute; left:-999px; top:0; background:var(--dark); color:#fff; padding:12px 18px; z-index:2000; border-radius:8px;
  }
  .skip-link:focus{ left:16px; top:16px; }

  /* ---------- THEME-CHROME SAFETY NET (portfolio page only) ---------- */
  /*
   * This standalone template never calls get_header()/get_footer()/
   * get_sidebar(), so the active theme's header, mobile menu, and page
   * title do not render here under normal WordPress behavior. These
   * rules are a defensive fallback only, scoped strictly to
   * body.ayoub-portfolio-page (added by Ayoub_Portfolio::add_body_class()),
   * in case a theme/plugin ever injects chrome outside the normal
   * template hierarchy. They never affect any other page on the site.
   */
  body.ayoub-portfolio-page .site-header,
  body.ayoub-portfolio-page #masthead,
  body.ayoub-portfolio-page .main-navigation,
  body.ayoub-portfolio-page .menu-toggle,
  body.ayoub-portfolio-page .mobile-menu-control-wrapper,
  body.ayoub-portfolio-page .site-logo,
  body.ayoub-portfolio-page .site-title,
  body.ayoub-portfolio-page .site-description,
  body.ayoub-portfolio-page .page-header,
  body.ayoub-portfolio-page .entry-header,
  body.ayoub-portfolio-page h1.entry-title,
  body.ayoub-portfolio-page .site-footer,
  body.ayoub-portfolio-page #wpadminbar {
    display: none !important;
  }
  body.ayoub-portfolio-page.admin-bar {
    margin-top: 0 !important;
  }
  body.ayoub-portfolio-page {
    padding-top: 0 !important;
  }
