/* ===========================================================
   Marzia Sadeqi — Portfolio Stylesheet
   =========================================================== */

    :root{
      --bg:#f8f8f5;
      --white:#fff;
      --ink:#111310;
      --muted:#6d716b;
      --soft:#f0f1ec;
      --line:#dedfd9;
      --accent:#c8dc83;
      --accent-dark:#5d7131;
      --dark:#151714;
      --radius:24px;
      --max:1160px;
      --shadow:0 18px 50px rgba(17,19,16,.07);
      --ease:cubic-bezier(.2,.8,.2,1);
    }

    *{box-sizing:border-box;margin:0;padding:0}
    html{scroll-behavior:smooth}
    body{
      font-family:"DM Sans",sans-serif;
      color:var(--ink);
      background:var(--bg);
      line-height:1.6;
      overflow-x:hidden;
    }
    body.menu-open{overflow:hidden}
    a{color:inherit;text-decoration:none}
    button,input,textarea,select{font:inherit}
    img{max-width:100%;display:block}

    .container{width:min(var(--max),calc(100% - 48px));margin:auto}

    /* NAV */
    .navbar{
      position:fixed;
      z-index:1000;
      top:18px;
      left:50%;
      transform:translateX(-50%);
      width:min(920px,calc(100% - 28px));
      min-height:64px;
      padding:7px 8px 7px 18px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:15px;
      border:1px solid rgba(222,223,217,.85);
      border-radius:999px;
      background:rgba(248,248,245,.82);
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
      transition:background .3s var(--ease),box-shadow .3s var(--ease),border-radius .3s var(--ease),width .3s var(--ease);
    }
    .navbar.scrolled{
      background:rgba(255,255,255,.95);
      box-shadow:0 12px 35px rgba(17,19,16,.08);
    }
    .brand{
      font-family:Manrope,sans-serif;
      font-size:20px;
      font-weight:800;
      letter-spacing:-.04em;
      white-space:nowrap;
      z-index:2;
    }
    .brand span{color:var(--accent-dark)}
    .nav-links{display:flex;align-items:center;gap:3px}
    .nav-links a{
      color:var(--muted);
      font-size:13px;
      font-weight:600;
      padding:9px 14px;
      border-radius:999px;
      transition:.25s var(--ease);
    }
    .nav-links a:hover,.nav-links a.active{
      color:var(--ink);
      background:var(--soft);
    }
    .nav-cta{
      padding:11px 17px;
      border-radius:999px;
      background:var(--ink);
      color:#fff;
      font-size:13px;
      font-weight:700;
      transition:.25s var(--ease);
      white-space:nowrap;
    }
    .nav-cta:hover{background:#354021;transform:translateY(-2px)}
    .nav-cta-mobile{display:none}

    .menu-toggle{
      display:none;
      width:42px;height:42px;
      border:1px solid var(--line);
      background:var(--white);
      border-radius:50%;
      cursor:pointer;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      flex-shrink:0;
      z-index:2;
      position:relative;
      transition:background .25s var(--ease);
    }
    .menu-toggle span{
      width:16px;height:1.5px;background:var(--ink);
      transition:transform .3s var(--ease),opacity .2s var(--ease);
    }
    .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.25px) rotate(45deg)}
    .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.25px) rotate(-45deg)}

    /* Mobile dropdown behaviour: activated by the .nav-open modifier class,
       applied at/below the breakpoint where .menu-toggle becomes visible. */
    .nav-overlay{
      position:fixed;
      inset:0;
      z-index:998;
      background:rgba(17,19,16,.28);
      opacity:0;
      pointer-events:none;
      transition:opacity .3s var(--ease);
    }
    .nav-overlay.visible{opacity:1;pointer-events:auto}

    /* HERO */
    .hero{
      min-height:100vh;
      padding:150px 0 85px;
      display:flex;
      align-items:center;
      position:relative;
    }
    .hero::before{
      content:"";
      position:absolute;
      width:600px;height:600px;
      border-radius:50%;
      background:rgba(200,220,131,.23);
      right:-220px;top:80px;
      filter:blur(20px);
      z-index:-1;
    }
    .availability{
      display:inline-flex;
      align-items:center;
      gap:9px;
      color:var(--muted);
      font-size:12px;
      font-weight:700;
      letter-spacing:.14em;
      text-transform:uppercase;
      margin-bottom:34px;
      justify-content:center;
    }
    .availability-dot{
      width:8px;height:8px;border-radius:50%;
      background:var(--accent-dark);
      box-shadow:0 0 0 5px rgba(93,113,49,.14);
    }

    /* Split-word hero: WORD [photo] WORD */
    .hero-split{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:clamp(14px,3vw,40px);
      width:100%;
    }
    .hero-word{
      font-family:Manrope,sans-serif;
      font-weight:700;
      font-size:clamp(40px,8vw,104px);
      line-height:.92;
      letter-spacing:-.07em;
      text-transform:uppercase;
      white-space:nowrap;
      flex:1;
    }
    .hero-word-left{text-align:right}
    .hero-word-right-wrap{flex:1}
    .hero-word-right{text-align:left}

    .hero-photo-frame{
      position:relative;
      flex:0 0 auto;
      width:clamp(180px,20vw,300px);
      aspect-ratio:.84;
      border-radius:26px;
      overflow:hidden;
      background:linear-gradient(145deg,#dce7d3 0%,#eee9dd 48%,#d9e0ce 100%);
      box-shadow:var(--shadow);
    }
    .hero-photo{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      z-index:1;
    }
  
    .hero-badge svg{width:26px;height:26px}

    .hero-sub{
      max-width:280px;
      color:var(--muted);
      font-size:14px;
      line-height:1.75;
      margin-top:18px;
    }
    .hero-actions{
      display:flex;
      justify-content:center;
      gap:12px;
      margin-top:44px;
      flex-wrap:wrap;
    }
    .btn{
      min-height:50px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:9px;
      padding:0 21px;
      border-radius:999px;
      font-size:13px;
      font-weight:700;
      transition:.3s var(--ease);
    }
    .btn-primary{background:var(--ink);color:#fff}
    .btn-primary:hover{
      background:#354021;
      transform:translateY(-3px);
      box-shadow:0 12px 30px rgba(17,19,16,.14);
    }
    .btn-secondary{
      background:var(--white);
      border:1px solid var(--line);
    }
    .btn-secondary:hover{border-color:var(--ink);transform:translateY(-3px)}
    .hero-note{
      margin-top:21px;
      color:#949890;
      font-size:11px;
      text-align:center;
    }

    /* GENERAL */
    section{padding:110px 0}
    .section-head{
      display:grid;
      grid-template-columns:.72fr 1.28fr;
      gap:45px;
      align-items:end;
      margin-bottom:46px;
    }
    .section-label{
      color:var(--accent-dark);
      font-size:11px;
      font-weight:800;
      letter-spacing:.13em;
      text-transform:uppercase;
    }
    .section-head h2{
      font-family:Manrope,sans-serif;
      font-size:clamp(36px,5vw,60px);
      line-height:1.04;
      letter-spacing:-.055em;
      font-weight:800;
    }
    .section-head h2 em{font-style:normal;color:#788361}
    .section-head p{
      max-width:510px;
      color:var(--muted);
      font-size:14px;
      line-height:1.75;
    }

    /* ABOUT */
    .about{background:var(--white);border-block:1px solid var(--line)}
    .about-grid{
      display:grid;
      grid-template-columns:.88fr 1.12fr;
      gap:22px;
    }
    .about-visual{
      min-height:480px;
      border-radius:var(--radius);
      position:relative;
      overflow:hidden;
      background:linear-gradient(145deg,#d4e4d4,#eee8da 52%,#d7dfcc);
      border:1px solid var(--line);
    }
    .about-visual::before{
      content:"M";
      position:absolute;inset:0;
      display:grid;place-items:center;
      font-size:210px;
      font-family:Manrope,sans-serif;
      font-weight:800;
      color:rgba(17,19,16,.055);
    }
    .about-photo{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      z-index:1;
    }
    .about-dock{
      position:absolute;
      z-index:2;
      top:20px;left:20px;
      display:flex;gap:7px;flex-wrap:wrap;
    }
    .dock-chip{
      padding:8px 11px;
      background:rgba(255,255,255,.7);
      border:1px solid rgba(255,255,255,.6);
      border-radius:999px;
      font-size:10px;
      font-weight:700;
      backdrop-filter:blur(10px);
    }
    .about-overlay{
      position:absolute;
      z-index:2;
      left:20px;right:20px;bottom:20px;
      padding:19px;
      border-radius:18px;
      background:rgba(255,255,255,.78);
      backdrop-filter:blur(15px);
      border:1px solid rgba(255,255,255,.6);
    }
    .about-overlay strong{
      font-family:Manrope,sans-serif;
      font-size:23px;
      letter-spacing:-.04em;
    }
    .about-overlay span{display:block;color:var(--muted);font-size:11px;margin-top:2px}
    .about-right{display:grid;gap:14px}
    .bio-card{
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:var(--bg);
      padding:34px;
    }
    .bio-card h3{
      font-family:Manrope,sans-serif;
      font-size:30px;
      letter-spacing:-.04em;
    }
    .role-tag{
      display:inline-block;
      margin-top:7px;
      padding:6px 10px;
      border-radius:999px;
      background:#e4ebd4;
      color:#5f6d42;
      font-size:10px;
      font-weight:700;
    }
    .bio-card p{
      color:var(--muted);
      font-size:14px;
      line-height:1.8;
      margin-top:19px;
    }
    .signature{
      margin-top:26px;
      padding-top:18px;
      border-top:1px solid var(--line);
      font-family:Manrope,sans-serif;
      font-weight:700;
      font-size:19px;
    }
    .skill-chips{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:10px;
    }
    .skill-chip{
      min-height:54px;
      display:flex;
      align-items:center;
      padding:0 16px;
      border:1px solid var(--line);
      border-radius:15px;
      background:var(--white);
      font-size:12px;
      font-weight:600;
      transition:.25s var(--ease);
    }
    .skill-chip:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
    .about-cta{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:17px 18px;
      border-radius:16px;
      background:var(--ink);
      color:#fff;
      font-size:13px;
      font-weight:700;
      transition:.25s;
    }
    .about-cta:hover{background:#354021}
    .arrow-circle{
      width:32px;height:32px;
      border-radius:50%;
      display:grid;place-items:center;
      background:rgba(255,255,255,.1);
    }

    /* PROJECTS */
    .projects-grid{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:22px;
    }
    .project-card{
      overflow:hidden;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:var(--white);
      transition:.4s var(--ease);
    }
    .project-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
    .project-image{
      position:relative;
      aspect-ratio:1.48;
      display:grid;
      place-items:center;
      overflow:hidden;
    }
    .project-image img{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      z-index:1;
    }
    .project-image .project-number,
    .project-image .project-type{
      z-index:2;
    }
    .project-image.one{background:linear-gradient(135deg,#dcebd5,#bcd99e)}
    .project-image.two{background:linear-gradient(135deg,#f0e5ca,#d7c68f)}
    .project-image.three{background:linear-gradient(135deg,#dce9f1,#b8cedd)}
    .project-image.four{background:linear-gradient(135deg,#eadfea,#cbb7d2)}
    .project-image.five{background:linear-gradient(135deg,#e8e7d7,#cdd0aa)}
    .project-letter{
      font-family:Manrope,sans-serif;
      font-size:120px;
      font-weight:800;
      color:rgba(17,19,16,.1);
    }
    .project-number{
      position:absolute;top:15px;left:15px;
      padding:7px 10px;
      background:rgba(255,255,255,.75);
      border-radius:999px;
      font-size:10px;font-weight:800;
      backdrop-filter:blur(8px);
    }
    .project-type{
      position:absolute;top:15px;right:15px;
      padding:7px 10px;
      background:rgba(17,19,16,.82);
      color:#fff;
      border-radius:999px;
      font-size:9px;
      font-weight:700;
    }
    .project-body{padding:24px}
    .project-body h3{
      font-family:Manrope,sans-serif;
      font-size:21px;
      letter-spacing:-.035em;
    }
    .project-body p{
      color:var(--muted);
      font-size:13px;
      line-height:1.75;
      margin:8px 0 18px;
    }
    .project-footer{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    .tech{display:flex;gap:6px;flex-wrap:wrap}
    .tech span{
      padding:5px 9px;
      border-radius:999px;
      background:var(--soft);
      color:var(--muted);
      font-size:9px;
      font-weight:600;
    }
    .project-link{
      font-size:11px;
      font-weight:800;
      white-space:nowrap;
    }
    .project-link:hover{text-decoration:underline}
    .projects-more{
      display:flex;
      justify-content:center;
      margin-top:30px;
    }
    .outline-btn{
      padding:12px 19px;
      border:1px solid var(--line);
      background:var(--white);
      border-radius:999px;
      cursor:pointer;
      font-size:12px;
      font-weight:700;
      transition:.25s;
    }
    .outline-btn:hover{border-color:var(--ink);transform:translateY(-2px)}
    .project-card.hidden{display:none}

    /* SERVICES */
    .services{background:var(--soft)}
    .service-list{border-top:1px solid #d6d8d1}
    .service{
      display:grid;
      grid-template-columns:70px 1fr 45px;
      gap:25px;
      align-items:center;
      padding:28px 0;
      border-bottom:1px solid #d6d8d1;
      transition:.25s var(--ease);
    }
    .service:hover{padding-left:10px;padding-right:10px;background:rgba(255,255,255,.35)}
    .service-no{
      font-family:Manrope,sans-serif;
      font-size:19px;
      font-weight:800;
      color:#9ba096;
    }
    .service h3{
      font-family:Manrope,sans-serif;
      font-size:18px;
      letter-spacing:-.02em;
    }
    .service p{
      color:var(--muted);
      font-size:13px;
      margin-top:4px;
      max-width:700px;
    }
    .service-arrow{
      width:42px;height:42px;
      border-radius:50%;
      border:1px solid #cdd0c8;
      display:grid;place-items:center;
      transition:.3s;
    }
    .service:hover .service-arrow{background:var(--ink);color:#fff;transform:rotate(45deg)}

    /* SKILLS */
    .skills-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:18px;
    }
    .tool-card{
      padding:26px;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:var(--white);
      display:flex;
      flex-direction:column;
      gap:18px;
      transition:.3s var(--ease);
    }
    .tool-card:hover{
      transform:translateY(-5px);
      box-shadow:var(--shadow);
      border-color:transparent;
    }
    .tool-top{display:flex;align-items:flex-start;gap:14px}
    .tool-icon{
      flex:0 0 auto;
      width:50px;height:50px;
      border-radius:15px;
      background:var(--soft);
      display:grid;
      place-items:center;
      color:var(--accent-dark);
      transition:.3s var(--ease);
    }
    .tool-card:hover .tool-icon{
      background:var(--white);
      box-shadow:var(--shadow);
      transform:scale(1.06);
    }
    .tool-icon svg{width:23px;height:23px}
    .tool-icon img{width:24px;height:24px;object-fit:contain;display:block}
    .tool-info h3{
      font-family:Manrope,sans-serif;
      font-size:18px;
      font-weight:700;
      letter-spacing:-.02em;
      margin-bottom:4px;
    }
    .tool-info p{
      color:var(--muted);
      font-size:12.5px;
      line-height:1.55;
    }
    .tool-footer{
      margin-top:auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding-top:16px;
      border-top:1px dashed var(--line);
    }
    .tool-dots{display:flex;gap:5px}
    .tool-dots .dot{width:7px;height:7px;border-radius:50%;background:var(--line)}
    .tool-dots .dot.filled{background:var(--accent-dark)}
    .tool-tag{
      font-size:10px;
      font-weight:800;
      letter-spacing:.08em;
      text-transform:uppercase;
      color:var(--muted);
      white-space:nowrap;
    }
    .skills-more{
      margin-top:30px;
      padding-top:30px;
      border-top:1px solid var(--line);
      display:flex;
      align-items:center;
      gap:18px;
      flex-wrap:wrap;
    }
    .skills-more-label{
      font-size:11px;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
      color:var(--muted);
      white-space:nowrap;
    }
    .explore-chips{display:flex;flex-wrap:wrap;gap:8px}
    .explore-chip{
      padding:8px 15px;
      border:1px solid var(--line);
      border-radius:999px;
      background:var(--white);
      font-size:12px;
      font-weight:600;
      color:var(--muted);
      transition:.25s var(--ease);
    }
    .explore-chip:hover{border-color:var(--ink);color:var(--ink);transform:translateY(-2px)}

    /* CONTACT */
    .contact{background:var(--dark);color:#fff}
    .contact .section-label{color:var(--accent)}
    .contact .section-head h2{color:#fff}
    .contact .section-head h2 em{color:var(--accent)}
    .contact-grid{
      display:grid;
      grid-template-columns:.8fr 1.2fr;
      gap:50px;
      align-items:start;
    }
    .contact-copy{
      color:rgba(255,255,255,.6);
      font-size:14px;
      line-height:1.8;
      margin-bottom:28px;
    }
    .contact-details{display:grid;gap:12px}
    .contact-detail{
      display:flex;
      align-items:center;
      gap:13px;
      padding:14px;
      border:1px solid rgba(255,255,255,.1);
      border-radius:14px;
      background:rgba(255,255,255,.025);
    }
    .contact-icon{
      width:38px;height:38px;
      display:grid;place-items:center;
      border-radius:11px;
      background:rgba(255,255,255,.07);
      color:var(--accent);
      font-size:14px;
    }
    .contact-detail small{
      display:block;
      color:rgba(255,255,255,.35);
      text-transform:uppercase;
      letter-spacing:.1em;
      font-size:8px;
    }
    .contact-detail span{font-size:12px}
    .socials{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
    .social{
      padding:9px 13px;
      border:1px solid rgba(255,255,255,.1);
      border-radius:999px;
      font-size:10px;
      transition:.25s;
    }
    .social:hover{background:#fff;color:var(--ink)}
    .form-card{
      padding:30px;
      border-radius:var(--radius);
      background:#fff;
      color:var(--ink);
    }
    .form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}
    .field{display:grid;gap:7px;margin-bottom:13px}
    .field.full{grid-column:1/-1}
    .field label{
      font-size:9px;
      font-weight:800;
      letter-spacing:.1em;
      text-transform:uppercase;
      color:var(--muted);
    }
    .field input,.field textarea,.field select{
      width:100%;
      border:1px solid var(--line);
      background:var(--bg);
      border-radius:12px;
      padding:13px 14px;
      outline:none;
      font-size:12px;
      color:var(--ink);
      transition:.2s;
    }
    .field textarea{min-height:130px;resize:vertical}
    .field input:focus,.field textarea:focus,.field select:focus{
      border-color:#8ca550;
      box-shadow:0 0 0 4px rgba(140,165,80,.12);
    }
    .submit{
      width:100%;
      border:0;
      padding:14px;
      border-radius:12px;
      background:var(--ink);
      color:#fff;
      font-size:12px;
      font-weight:800;
      cursor:pointer;
      transition:.25s;
    }
    .submit:hover{background:#354021;transform:translateY(-2px)}

    /* FOOTER */
    footer{background:#10110f;color:rgba(255,255,255,.5);padding:34px 0}
    .footer-top{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:25px;
      padding-bottom:28px;
      border-bottom:1px solid rgba(255,255,255,.08);
    }
    .footer-brand{
      color:#fff;
      font-family:Manrope,sans-serif;
      font-size:25px;
      font-weight:800;
      letter-spacing:-.05em;
    }
    .footer-nav{display:flex;gap:22px;flex-wrap:wrap}
    .footer-nav a{font-size:11px}
    .footer-nav a:hover{color:#fff}
    .footer-bottom{
      display:flex;
      justify-content:space-between;
      gap:20px;
      padding-top:24px;
      font-size:10px;
    }

    /* ANIMATION */
    .reveal{
      opacity:0;
      transform:translateY(25px);
      transition:opacity .7s var(--ease),transform .7s var(--ease);
    }
    .reveal.visible{opacity:1;transform:none}
    .delay-1{transition-delay:.08s}
    .delay-2{transition-delay:.16s}
    .delay-3{transition-delay:.24s}
    .delay-4{transition-delay:.32s}

    /* TABLET */
    @media(max-width:950px){
      .hero-split{gap:16px}
      .hero-sub{max-width:220px;margin-left:auto;margin-right:auto}
      .about-grid,.contact-grid{grid-template-columns:1fr}
      .about-visual{min-height:430px}
      .skills-grid{grid-template-columns:1fr 1fr}
      .section-head{grid-template-columns:1fr;gap:13px}
      .projects-grid{grid-template-columns:1fr 1fr}
      .menu-toggle{display:flex}
      .nav-cta-desktop{display:none}
      .navbar{padding-left:18px}

      .nav-links{
        position:absolute;
        top:calc(100% + 10px);
        right:0;
        left:0;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
        background:rgba(255,255,255,.98);
        border:1px solid var(--line);
        border-radius:20px;
        padding:12px;
        box-shadow:0 18px 50px rgba(17,19,16,.12);
        opacity:0;
        transform:translateY(-8px) scale(.98);
        pointer-events:none;
        transform-origin:top center;
        transition:opacity .25s var(--ease),transform .25s var(--ease);
      }
      .nav-links.open{
        opacity:1;
        transform:translateY(0) scale(1);
        pointer-events:auto;
      }
      .nav-links a{
        padding:13px 16px;
        text-align:center;
        border-radius:12px;
      }
      .nav-cta-mobile{
        display:block;
        margin-top:6px;
        text-align:center;
      }
    }

    /* MOBILE */
    @media(max-width:650px){
      .container{width:min(var(--max),calc(100% - 30px))}
      section{padding:78px 0}
      .navbar{top:10px;width:calc(100% - 18px)}
      .hero{padding:125px 0 70px}
      .hero-split{flex-direction:column}
      .hero-word{text-align:center;white-space:normal;font-size:clamp(38px,13vw,58px)}
      .hero-word-left{order:1}
      .hero-photo-frame{order:0;width:min(70vw,240px)}
      .hero-word-right-wrap{order:2;text-align:center}
      .hero-sub{margin-left:auto;margin-right:auto;text-align:center}
      .hero-actions{flex-direction:column}
      .btn{width:100%}
      .section-head{margin-bottom:32px}
      .section-head h2{font-size:40px}
      .about-visual{min-height:380px}
      .bio-card{padding:25px}
      .skill-chips{grid-template-columns:1fr 1fr}
      .projects-grid,.skills-grid{grid-template-columns:1fr}
      .project-image{aspect-ratio:1.25}
      .service{grid-template-columns:42px 1fr;gap:15px}
      .service-arrow{display:none}
      .service p{font-size:12px}
      .contact-grid{gap:32px}
      .form-card{padding:22px}
      .form-row{grid-template-columns:1fr}
      .field.full{grid-column:auto}
      .footer-top,.footer-bottom{flex-direction:column;align-items:center;text-align:center}
      .footer-nav{justify-content:center}
    }

    @media(max-width:390px){
      .brand{font-size:18px}
      .hero-word{font-size:34px}
      .skill-chips{grid-template-columns:1fr}
      .navbar{padding-left:14px}
      .nav-links{padding:10px}
    }

    @media(prefers-reduced-motion:reduce){
      *,*::before,*::after{
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        transition-duration:.01ms!important;
      }
      .reveal{opacity:1;transform:none}
    }

  

/* ===================================================
   (merged from second inline <style> block)
=================================================== */



/* =========================
   SECTION
========================= */

.services2 {
    width: 100%;
    padding: 100px 24px;
    background: #f7f7f3;
}

.services2-container {

    width: min(1140px, 100%);

    margin: 0 auto;

    padding: 28px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-template-rows:
        390px 390px;

    gap: 12px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #e7ebdf,
            #dce5d0
        );

    border:
        1px solid #d8ded0;

}


/* =========================
   GENERAL CARD
========================= */

.services2-card {

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    border:
        1px solid rgba(17,18,16,.06);

    background: #fafaf7;

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s ease;

}

.services2-card h2 {

    position: relative;

    z-index: 5;

    margin:
        26px 24px 12px;

    font-size: 30px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: -.065em;

    color: #111210;

}

.services2-card > p {

    position: relative;

    z-index: 5;

    max-width: 280px;

    margin-left: 24px;

    color: #68706a;

    font-size: 15px;

    line-height: 1.65;

}


/* =========================
   UI/UX CARD
========================= */

.services2-uiux{
    background:#fff;
    padding:25px;
    display:flex;
    flex-direction:column;
}
.services2-uiux-image{
    margin-top:auto;
    width:100%;
    border:1px solid #b8c5ad;
    border-radius:12px;
    overflow:hidden;
    aspect-ratio:16/9;
}
.services2-uiux-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* =========================
   DEVELOPMENT CARD
========================= */

.services2-dev{
    background:#f8f9fc;
    padding:28px;
    font-family:Arial,sans-serif;
}
.services2-dev-title{
    position:relative;
    z-index:5;
    margin:0 0 14px;
    font-size:28px;
    font-weight:500;
    color:#111;
}
.services2-dev-desc{
    position:relative;
    z-index:5;
    margin:0;
    max-width:270px;
    font-size:15px;
    line-height:1.6;
    color:#64748b;
}

/* =========================
   BRAND IDENTITY
========================= */

.services2-brand {

    background:
        radial-gradient(
            circle at 50% 15%,
            #f3f5eb 0%,
            #dfe7d1 45%,
            #cad6b8 100%
        );

}


/* Pills */

.services2-pill {

    position: absolute;

    z-index: 3;

    padding:
        10px 22px;

    border-radius:
        999px;

    background:
        rgba(255,255,255,.72);

    border:
        1px solid
        rgba(255,255,255,.65);

    color: #626b59;

    font-size: 12px;

    white-space: nowrap;

    backdrop-filter:
        blur(10px);

    box-shadow:
        0 8px 20px
        rgba(50,60,35,.06);

    transition:
        transform .4s ease;

}

.services2-brand:hover
.services2-pill {

    animation:
        servicesFloat 2.5s ease-in-out infinite;

}

@keyframes servicesFloat {

    0%,100% {
        margin-top: 0;
    }

    50% {
        margin-top: -5px;
    }

}

.services2-pill.pill1 {

    left: 24px;
    bottom: 125px;

    transform:
        rotate(-8deg);

}

.services2-pill.pill2 {

    left: 105px;
    bottom: 130px;

}

.services2-pill.pill3 {

    right: 15px;
    bottom: 172px;

    transform:
        rotate(27deg);

}

.services2-pill.pill4 {

    left: 30px;
    bottom: 74px;

}

.services2-pill.pill5 {

    left: 160px;
    bottom: 108px;

    transform:
        rotate(8deg);

}

.services2-pill.pill6 {

    right: 30px;
    bottom: 74px;

}

.services2-pill.pill7 {

    left: 185px;
    bottom: 148px;

}


/* =========================
   UI / UX
========================= */

.services2-uiux {

    background: #fafaf7;

}

.services2-ui-preview {

    position: absolute;

    left: 24px;
    right: 24px;

    bottom: 24px;

    height: 165px;

    overflow: hidden;

    border:
        1px solid #b9c3af;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #d9ddd5,
            #f2f3ef
        );

}


/* Cylinders */

.services2-cylinder {

    position: absolute;

    bottom: -15px;

    width: 43px;

    border-radius:
        22px 22px 5px 5px;

    background:
        linear-gradient(
            90deg,
            #aeb4aa,
            #f0f1ed,
            #a4aaa0
        );

    box-shadow:
        0 5px 12px
        rgba(0,0,0,.08);

}

.services2-cylinder.c1 {

    left: 5px;
    height: 115px;

}

.services2-cylinder.c2 {

    left: 50px;
    height: 82px;

}

.services2-cylinder.c3 {

    left: 100px;
    height: 100px;

}

.services2-cylinder.c4 {

    right: 45px;
    height: 120px;

}

.services2-cylinder.c5 {

    right: 0;
    height: 90px;

}


/* Phone */

.services2-phone {

    position: absolute;

    z-index: 4;

    left: 50%;
    top: 50%;

    width: 145px;
    height: 76px;

    transform:
        translate(-50%,-50%)
        rotate(1deg);

    border:
        2px solid #aeb4aa;

    border-radius: 12px;

    background: #fbfbf8;

    box-shadow:
        0 12px 25px
        rgba(0,0,0,.14);

}

.services2-phone-notch {

    position: absolute;

    top: 5px;
    left: 50%;

    width: 35px;
    height: 5px;

    transform:
        translateX(-50%);

    border-radius: 10px;

    background: #171815;

}

.services2-phone-content {

    display: flex;

    align-items: center;

    gap: 12px;

    height: 100%;

    padding: 15px;

}

.services2-phone-logo {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #68784e;

    color: white;

    font-size: 22px;

}

.services2-phone-lines span {

    display: block;

    width: 45px;
    height: 4px;

    margin: 5px 0;

    border-radius: 5px;

    background: #d2d6ce;

}


/* Balls */

.services2-ball {

    position: absolute;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #a5b392,
            #68794e 60%,
            #4c5b3c
        );

    box-shadow:
        0 5px 12px
        rgba(55,70,35,.18);

}

.services2-ball.ball1 {

    left: 75px;
    bottom: 18px;

}

.services2-ball.ball2 {

    right: 42px;
    top: 40px;

}


/* =========================
   WEB EXPERIENCE
========================= */

.services2-web {

    background:
        radial-gradient(
            circle at 50% 15%,
            #e9eee1,
            #dce5cf 50%,
            #f7f7f3
        );

}

.services2-web-preview {

    position: absolute;

    left: 20px;
    right: 20px;

    bottom: 22px;

    height: 175px;

}

.services2-window {

    position: absolute;

    bottom: 0;

    height: 150px;

    overflow: hidden;

    border:
        1px solid #c2c9bb;

    border-radius: 10px;

    background: #eff1eb;

    box-shadow:
        0 14px 28px
        rgba(30,35,20,.12);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.services2-window.window1 {

    right: 0;
    width: 155px;
    height: 118px;
    bottom: 0;
    z-index: 2;
}

.services2-window.window2 {

    left: 0;
    width: 195px;
    height: 150px;
    bottom: 32px;
    z-index: 1;
    filter: saturate(.85);
}

.services2-web:hover .services2-window.window1 {
    transform: translate(-6px, 4px) rotate(-2deg);
}

.services2-web:hover .services2-window.window2 {
    transform: translate(4px, -4px) rotate(1deg);
}

.services2-window .window-top {

    position: relative;

    height: 18px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 0 9px;

    background: #dce1d8;

    border-bottom:
        1px solid #c7cdc2;

}

.services2-window .window-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #b7bdb0;

}

.services2-window .window-dot.d1 { background: #e0958a; }
.services2-window .window-dot.d2 { background: #e3c98a; }
.services2-window .window-dot.d3 { background: #9ec18a; }

.services2-window .window-body {

    height: calc(100% - 18px);

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            white,
            #e1e7da
        );

}

.services2-window .window-body img {

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

}

.services2-web-ball {

    position: absolute;

    right: 5px;
    bottom: 2px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #68784e;

}


/* =========================
   DEVELOPMENT
========================= */

.services2-development {

    background:
        radial-gradient(
            circle at 50% 110%,
            #a8b991,
            #ccd7bd 32%,
            #e8ece3 65%,
            #fafaf7
        );

}

.services2-dev-phone {

    position: absolute;

    left: 50%;
    bottom: -20px;

    width: 92px;
    height: 190px;

    transform: translateX(-50%);

    padding: 8px 8px 14px;

    border-radius: 26px;

    background: #10110f;

    box-shadow:
        0 18px 34px
        rgba(0,0,0,.22);

    z-index: 1;

}

.dev-phone-notch {

    width: 34px;
    height: 5px;

    margin: 0 auto 6px;

    border-radius: 10px;

    background: #3a3c37;

}

.dev-phone-screen {

    width: 100%;
    height: calc(100% - 11px);

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            #fff,
            #e1e7da
        );

}

.dev-phone-screen img {

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

}

.services2-dev-icons {

    position: absolute;

    left: 0;
    right: 0;

    bottom: 28px;

    height: 125px;

    z-index: 2;

}

.services2-dev-icons span {

    position: absolute;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #10110f;

    color: #e0e8d8;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 8px 18px
        rgba(0,0,0,.15);

    transition:
        transform .35s ease;

}

.services2-dev-icons span:hover {

    transform:
        translateY(-10px)
        rotate(8deg);

}

.services2-dev-icons .dev1 {

    left: 12px;
    bottom: 95px;

}

.services2-dev-icons .dev2 {

    left: 28px;
    bottom: 25px;

}

.services2-dev-icons .dev4 {

    right: 12px;
    bottom: 95px;

}

.services2-dev-icons .dev5 {

    right: 28px;
    bottom: 25px;

}


/* =========================
   IMPACT
========================= */

.services2-impact {

    grid-column: 3;

    grid-row: 1 / 3;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 24px;

    background:
        radial-gradient(
            ellipse at 50% 17%,
            #dce6cf,
            #e7ece0 36%,
            #f2f4ed 68%,
            #fafaf7
        );

}


/* =========================
   DECORATIVE HANDS
========================= */

.services2-hands {

    position: absolute;

    top: 35px;

    left: 0;
    right: 0;

    height: 300px;

}

.services2-hand {

    position: absolute;

    width: 185px;
    height: 55px;

    border-radius:
        70% 30% 60% 40%;

    background:
        linear-gradient(
            90deg,
            #a86545,
            #d99974,
            #e7ad87
        );

    filter:
        drop-shadow(
            0 8px 10px
            rgba(0,0,0,.06)
        );

}

.services2-hand.hand-top {

    right: -55px;
    top: 80px;

    transform:
        rotate(-18deg);

}

.services2-hand.hand-bottom {

    left: -55px;
    top: 175px;

    transform:
        rotate(19deg);

}


/* Fingers */

.services2-hand::before,
.services2-hand::after {

    content: "";

    position: absolute;

    width: 78px;
    height: 18px;

    border-radius: 30px;

    background:
        linear-gradient(
            90deg,
            #a86545,
            #e1a17c
        );

}

.services2-hand.hand-top::before {

    left: 60px;
    top: -13px;

    transform:
        rotate(-24deg);

}

.services2-hand.hand-top::after {

    left: 85px;
    top: 3px;

    transform:
        rotate(-8deg);

}

.services2-hand.hand-bottom::before {

    left: 65px;
    top: -13px;

    transform:
        rotate(21deg);

}

.services2-hand.hand-bottom::after {

    left: 88px;
    top: 3px;

    transform:
        rotate(8deg);

}


/* =========================
   IMPACT CONTENT
========================= */

.services2-impact-content {

    position: relative;

    z-index: 5;

    width: 100%;

}

.services2-line {

    width: 85%;

    height: 1px;

    margin-bottom: 30px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c8d0bf
        );

}

.services2-trusted {

    display: inline-block;

    margin-bottom: 30px;

    padding:
        9px 22px;

    border-radius: 999px;

    background: #e8ebe3;

    border:
        1px solid #dfe3d9;

    color: #68705f;

    font-size: 12px;

}

.services2-impact h2 {

    margin:
        0 0 14px;

    font-size: 29px;

    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -.07em;

}

.services2-impact p {

    max-width: 270px;

    color: #68706a;

    font-size: 15px;

    line-height: 1.55;

}


/* =========================
   BUTTON
========================= */

.services2-button-group {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 28px;

}

.services2-button-group
> a:first-child {

    height: 51px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        0 34px;

    border-radius: 999px;

    background: #111210;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform .3s ease,
        background .3s ease;

}

.services2-button-group
> a:first-child:hover {

    transform:
        translateY(-2px);

    background:
        #292b26;

}

.services2-arrow {

    width: 51px;
    height: 51px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111210;

    color: white;

    text-decoration: none;

    font-size: 22px;

    transition:
        transform .3s ease;

}

.services2-arrow:hover {

    transform:
        translateX(5px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .services2-container {

        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            360px
            360px
            500px;

    }

    .services2-impact {

        grid-column:
            1 / 3;

        grid-row: 3;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .services2 {

        padding:
            60px 12px;

    }

    .services2-container {

        padding: 12px;

        grid-template-columns:
            1fr;

        grid-template-rows:
            auto;

        gap: 12px;

        border-radius:
            18px;

    }

    .services2-card {

        min-height:
            370px;

        border-radius:
            18px;

    }

    .services2-card h2 {

        margin:
            24px 20px 12px;

        font-size:
            27px;

    }

    .services2-card > p {

        margin-left:
            20px;

        font-size:
            14px;

    }

    .services2-impact {

        grid-column:
            auto;

        grid-row:
            auto;

        min-height:
            540px;

        padding:
            20px;

    }

}

.core-services-header-cream{
    background:#f4f3ee;
    padding:90px 20px 70px 20px;
    text-align:center;
    font-family:'Inter', sans-serif;
  }

  .core-services-header-cream .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#8a8f7f;
    font-size:13px;
    font-weight:500;
    margin-bottom:20px;
  }

  .core-services-header-cream .eyebrow svg{
    width:14px;
    height:14px;
    color:#8bab5c;
  }

  .core-services-header-cream h2{
    font-family:'Poppins', sans-serif;
    font-weight:600;
    font-size:44px;
    line-height:1.2;
    color:#141414;
    letter-spacing:-0.5px;
  }

  @media (max-width:600px){
    .core-services-header-cream h2{ font-size:30px; }
  }

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .services2-card {

        min-height:
            350px;

    }

    .services2-impact {

        min-height:
            510px;

    }

    .services2-card h2 {

        font-size:
            25px;

    }

    .services2-button-group
    > a:first-child {

        padding:
            0 24px;

    }

}
