#projects,
      #retail-admin,
      #retail-pos {
        scroll-margin-top: 92px;
      }
      .projectsShowcase {
        padding: 106px 0 94px;
        background:
          radial-gradient(
            circle at 82% 5%,
            rgba(22, 119, 238, 0.08),
            transparent 28%
          ),
          linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
      }
      .projectsIntro {
        display: grid;
        grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
        gap: 66px;
        align-items: end;
      }
      .projectsIntro h2 {
        font-size: clamp(43px, 5.1vw, 68px);
        line-height: 1.02;
        letter-spacing: -0.052em;
        margin: 14px 0 0;
        max-width: 720px;
      }
      .projectsIntro p {
        margin: 0;
        color: #61738a;
        font-size: 18px;
        line-height: 1.72;
        max-width: 650px;
      }
      .projectsGrid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        margin-top: 48px;
      }
      .projectCard {
        min-height: 370px;
        display: flex;
        flex-direction: column;
        border: 1px solid #d9e4ef;
        border-radius: 19px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 16px 45px rgba(17, 47, 82, 0.065);
        transition:
          transform 0.22s ease,
          border-color 0.22s ease,
          box-shadow 0.22s ease;
      }
      .projectCard:hover {
        transform: translateY(-4px);
        border-color: #9fc7ef;
        box-shadow: 0 24px 55px rgba(17, 47, 82, 0.1);
      }
      .projectVisual {
        min-height: 150px;
        padding: 22px;
        position: relative;
        overflow: hidden;
        background: #0d2343;
        color: #fff;
      }
      .projectVisual:after {
        content: "";
        position: absolute;
        inset: auto -18% -48% 18%;
        height: 170px;
        border-radius: 50%;
        background: radial-gradient(
          circle,
          rgba(52, 177, 255, 0.38),
          transparent 65%
        );
      }
      .projectVisual .pvLabel {
        font:
          850 10px ui-monospace,
          SFMono-Regular,
          Menlo,
          monospace;
        letter-spacing: 0.13em;
        color: #67cbff;
        position: relative;
        z-index: 2;
      }
      .projectVisual strong {
        display: block;
        font-size: 30px;
        line-height: 1.02;
        letter-spacing: -0.045em;
        margin-top: 36px;
        position: relative;
        z-index: 2;
      }
      .projectVisual small {
        display: block;
        color: #b9cee5;
        margin-top: 9px;
        font-size: 13px;
        position: relative;
        z-index: 2;
      }
      .projectVisual.adminVisual {
        background: linear-gradient(145deg, #eef5fc, #dbe9f7);
        color: #142944;
      }
      .projectVisual.adminVisual .pvLabel {
        color: #3677bf;
      }
      .projectVisual.adminVisual small {
        color: #60758d;
      }
      .miniAdmin {
        position: absolute;
        right: 18px;
        bottom: 17px;
        width: 52%;
        height: 88px;
        border: 1px solid #bdd3e8;
        border-radius: 10px;
        background: #fff;
        padding: 10px;
        box-shadow: 0 12px 28px rgba(33, 79, 126, 0.12);
        z-index: 2;
      }
      .miniAdmin .maTop {
        height: 8px;
        width: 42%;
        background: #c8d9e9;
        border-radius: 99px;
        margin-bottom: 10px;
      }
      .miniAdmin .maKpis {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
      }
      .miniAdmin .maKpis i {
        display: block;
        height: 20px;
        border-radius: 5px;
        background: #edf4fa;
      }
      .miniAdmin .maRows {
        height: 22px;
        margin-top: 7px;
        border-radius: 5px;
        background: linear-gradient(180deg, #f7faff, #edf3f8);
      }
      .projectVisual.posVisual {
        background: linear-gradient(145deg, #081a34, #123766);
      }
      .posTerminal {
        position: absolute;
        right: 14px;
        bottom: 12px;
        width: 55%;
        height: 95px;
        background: #f5f8fc;
        border: 1px solid rgba(255, 255, 255, 0.36);
        border-radius: 9px;
        z-index: 2;
        padding: 8px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
      }
      .posTerminal .ptGrid {
        display: grid;
        grid-template-columns: 0.75fr 1.4fr 0.85fr;
        gap: 5px;
        height: 100%;
      }
      .posTerminal .ptGrid span {
        border-radius: 5px;
        background: #fff;
        border: 1px solid #dce6ef;
      }
      .projectBody {
        padding: 24px 24px 25px;
        display: flex;
        flex: 1;
        flex-direction: column;
      }
      .projectNo {
        font:
          850 10px ui-monospace,
          SFMono-Regular,
          Menlo,
          monospace;
        color: #2f78cc;
        letter-spacing: 0.1em;
      }
      .projectBody h3 {
        font-size: 24px;
        line-height: 1.15;
        letter-spacing: -0.032em;
        margin: 15px 0 10px;
      }
      .projectBody p {
        font-size: 15px;
        line-height: 1.67;
        color: #68798d;
        margin: 0;
      }
      .projectTags {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 20px;
      }
      .projectTags span {
        font:
          750 10px ui-monospace,
          monospace;
        padding: 7px 9px;
        border-radius: 99px;
        background: #f2f6fa;
        color: #516a86;
        border: 1px solid #e0e8ef;
      }
      .projectLink {
        margin-top: auto;
        padding-top: 24px;
        color: #176fc8;
        font-size: 14px;
        font-weight: 850;
      }

      .retailProject {
        padding: 108px 0;
        background: #fff;
      }
      .retailProject.alt {
        background: #f4f8fc;
      }
      .retailProjectGrid {
        display: grid;
        grid-template-columns: minmax(370px, 0.84fr) minmax(540px, 1.16fr);
        gap: 70px;
        align-items: center;
      }
      .retailProject.alt .retailProjectGrid {
        grid-template-columns: minmax(540px, 1.16fr) minmax(370px, 0.84fr);
      }
      .retailProject.alt .retailCopy {
        order: 2;
      }
      .retailProject.alt .retailMedia {
        order: 1;
      }
      .projectEyebrow {
        font:
          850 11px ui-monospace,
          SFMono-Regular,
          Menlo,
          monospace;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #3279c6;
      }
      .projectEyebrow:before {
        content: "";
        display: inline-block;
        width: 27px;
        height: 1px;
        background: #2f86df;
        margin-right: 10px;
        vertical-align: middle;
      }
      .retailCopy h2 {
        font-size: clamp(42px, 4.7vw, 66px);
        line-height: 1.05;
        letter-spacing: -0.052em;
        margin: 21px 0 25px;
      }
      .retailLead {
        font-size: 19px;
        line-height: 1.72;
        color: #607188;
        margin: 0;
        max-width: 620px;
      }
      .retailBullets {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 18px;
        margin: 27px 0 31px;
      }
      .retailBullets span {
        font-size: 14px;
        color: #415872;
        position: relative;
        padding-left: 18px;
      }
      .retailBullets span:before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #2786e9;
        position: absolute;
        left: 0;
        top: 0.55em;
        box-shadow: 0 0 0 4px #e9f3ff;
      }
      .projectActions {
        display: flex;
        gap: 11px;
        flex-wrap: wrap;
      }
      .projectActions a {
        padding: 13px 17px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 850;
        border: 1px solid #cbd9e7;
        background: #fff;
        color: #17324f;
      }
      .projectActions a.primary {
        background: #0e2647;
        color: #fff;
        border-color: #0e2647;
      }
      .retailMedia {
        position: relative;
      }
      .retailMediaShell {
        border: 1px solid #d8e4ee;
        border-radius: 20px;
        background: #eaf1f8;
        padding: 10px;
        box-shadow: 0 28px 62px rgba(16, 50, 86, 0.12);
        overflow: hidden;
      }
      .retailMediaShell img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 12px;
        background: #fff;
      }

      /* Admin dashboard preview built with HTML so the visual stays crisp and responsive. */
      .adminDashboardPreview {
        background: #f7f9fc;
        border-radius: 12px;
        min-height: 470px;
        padding: 15px;
        color: #182a42;
        font-size: 11px;
      }
      .adpTop {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: center;
        margin-bottom: 13px;
      }
      .adpBrand {
        font-size: 14px;
        font-weight: 900;
      }
      .adpBrand span {
        color: #2786e9;
      }
      .adpFilter {
        background: #fff;
        border: 1px solid #dce6ef;
        border-radius: 7px;
        padding: 7px 10px;
        color: #718297;
      }
      .adpKpis {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
      }
      .adpKpi {
        background: #fff;
        border: 1px solid #e0e7ee;
        border-radius: 9px;
        padding: 11px;
      }
      .adpKpi small {
        display: block;
        color: #73849a;
        font-size: 8px;
      }
      .adpKpi strong {
        display: block;
        font-size: 18px;
        margin-top: 5px;
      }
      .adpMain {
        display: grid;
        grid-template-columns: 1.35fr 0.65fr;
        gap: 9px;
        margin-top: 9px;
      }
      .adpPanel {
        background: #fff;
        border: 1px solid #e0e7ee;
        border-radius: 9px;
        padding: 11px;
      }
      .adpPanel h4 {
        font-size: 11px;
        margin: 0 0 10px;
      }
      .adpBars {
        height: 115px;
        display: flex;
        align-items: end;
        gap: 8px;
        padding: 8px 4px 2px;
        border-bottom: 1px solid #e4ebf1;
      }
      .adpBars i {
        display: block;
        flex: 1;
        border-radius: 4px 4px 0 0;
        background: linear-gradient(#44a0ff, #1773d0);
      }
      .adpBars i:nth-child(1) {
        height: 45%;
      }
      .adpBars i:nth-child(2) {
        height: 66%;
      }
      .adpBars i:nth-child(3) {
        height: 54%;
      }
      .adpBars i:nth-child(4) {
        height: 83%;
      }
      .adpBars i:nth-child(5) {
        height: 72%;
      }
      .adpBars i:nth-child(6) {
        height: 92%;
      }
      .adpAlerts {
        display: grid;
        gap: 7px;
      }
      .adpAlert {
        border-radius: 7px;
        background: #f5f8fb;
        padding: 9px;
      }
      .adpAlert b {
        display: block;
        font-size: 9px;
      }
      .adpAlert span {
        font-size: 8px;
        color: #75869a;
      }
      .adpTable {
        margin-top: 9px;
        background: #fff;
        border: 1px solid #e0e7ee;
        border-radius: 9px;
        overflow: hidden;
      }
      .adpTable div {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr 0.7fr 0.7fr;
        gap: 8px;
        padding: 9px 10px;
        border-top: 1px solid #e7edf3;
        color: #607188;
      }
      .adpTable div:first-child {
        border-top: 0;
        background: #f5f8fb;
        font-weight: 800;
        color: #43556b;
      }

      @media (max-width: 1000px) {
        .projectsIntro,
        .retailProjectGrid,
        .retailProject.alt .retailProjectGrid {
          grid-template-columns: 1fr;
          gap: 38px;
        }
        .projectsGrid {
          grid-template-columns: 1fr 1fr;
        }
        .retailProject.alt .retailCopy,
        .retailProject.alt .retailMedia {
          order: initial;
        }
        .retailMedia {
          max-width: 850px;
        }
      }
      @media (max-width: 680px) {
        #projects,
        #retail-admin,
        #retail-pos {
          scroll-margin-top: 78px;
        }
        .projectsShowcase,
        .retailProject {
          padding: 78px 0;
        }
        .projectsGrid {
          grid-template-columns: 1fr;
        }
        .projectCard {
          min-height: auto;
        }
        .projectsIntro p,
        .retailLead {
          font-size: 17px;
        }
        .retailBullets {
          grid-template-columns: 1fr;
        }
        .adpKpis {
          grid-template-columns: 1fr 1fr;
        }
        .adpMain {
          grid-template-columns: 1fr;
        }
        .adminDashboardPreview {
          min-height: auto;
        }
        .retailMediaShell {
          padding: 6px;
          border-radius: 14px;
        }
      }

      
      .projectsGrid .projectCard .projectVisual {
        display: block !important;
      }
      .projectsGrid .projectCard .projectBody {
        padding-top: 24px;
      }
      .projectsGrid .miniAdmin,
      .projectsGrid .posTerminal,
      .projectsGrid .maTop,
      .projectsGrid .maKpis,
      .projectsGrid .maRows,
      .projectsGrid .ptGrid {
        display: none !important;
      }
      .projectsGrid .projectVisual strong {
        max-width: 90%;
      }
      .projectsGrid .projectVisual small {
        max-width: 92%;
        line-height: 1.45;
      }
      .projectsGrid .projectBody {
        padding: 30px 24px 25px !important;
      }
