/* =========================================================
   IT HOME – "What We Do" (honeycomb) + "How We Work" (steps)
   ========================================================= */
.xs{
  --x-navy:#0b1c5a;--x-blue:#1349d8;--x-blue2:#2f6df0;--x-red:#e3141b;
  position:relative;overflow:hidden;
  background-color:#eaf3ff;background-size:cover;background-position:center;background-repeat:no-repeat;
  font-family:"Poppins",Inter,"Segoe UI",Arial,sans-serif;
}
.xs__wrap{position:relative;z-index:1;width:min(100% - 6vw,1640px);margin-inline:auto;display:grid;align-items:center}
.xs__eyebrow{display:flex;align-items:center;gap:14px;color:var(--x-red);font-weight:700;font-size:clamp(15px,1.2vw,20px);letter-spacing:.12em;text-transform:uppercase}
.xs__eyebrow::after{content:"";width:clamp(60px,7vw,130px);height:3px;border-radius:3px;background:linear-gradient(90deg,var(--x-red),rgba(227,20,27,0))}
.xs__eyebrow i{font-style:normal;font-weight:600}
.xs__title{margin:14px 0 18px;font-weight:700;line-height:1.1;letter-spacing:-.02em;color:var(--x-navy);font-size:clamp(32px,2.85vw,56px)}
.xs__title,.xs__title span{white-space:nowrap}
.xs__title span{display:block;color:var(--x-blue)}
.xs__lead{color:#1b2a55;font-size:clamp(16px,1.25vw,22px);line-height:1.5;font-family:Inter,"Segoe UI",Arial,sans-serif;font-weight:500;max-width:34ch}
.xs .ico{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------------- WHAT WE DO ---------------- */
.xs--what{background-image:url('it/images/bg-what-we-do.jpg');padding:clamp(56px,5vw,90px) 0 clamp(70px,6vw,110px)}
.xs--what .xs__wrap{grid-template-columns:minmax(300px,31%) 1fr;gap:clamp(20px,2vw,40px)}
.xs__quote{display:flex;align-items:flex-start;gap:16px;margin-top:clamp(34px,4vw,70px)}
.xs__quote svg{width:clamp(38px,3vw,54px);height:clamp(32px,2.5vw,45px);flex:none;margin-top:2px}
.xs__quote p{font-weight:600;font-size:clamp(22px,1.9vw,34px);line-height:1.3;color:var(--x-navy)}
.xs__quote p span{color:var(--x-blue)}
.xs__quote p::after{content:"";display:block;width:90px;height:4px;border-radius:3px;background:var(--x-red);margin-top:16px}

.xs__quote--how{margin-top:clamp(28px,3vw,52px)}
.xs__quote--how p{font-size:clamp(20px,1.6vw,30px)}

/* honeycomb */
.hc{--g:clamp(14px,1.15vw,22px);--w:calc((100% - 3 * var(--g)) / 4)}
.hc__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--g)}
.hc__row--top{transform:translateX(calc((100% - 3 * var(--g)) / 8 + var(--g) / 2))}  /* each top card sits exactly between two bottom cards */
.hc__row--bot{margin-top:calc(var(--w) * -0.16 + var(--g) * .89)}  /* same gap on the diagonals as between cards */
.hx{
  --c:var(--x-blue);
  position:relative;min-width:0;aspect-ratio:300/320;display:block;color:#1b2a55;
  filter:drop-shadow(0 14px 22px rgba(19,73,216,.18)) drop-shadow(0 2px 4px rgba(10,30,90,.12));
  transition:transform .3s ease,filter .3s ease;
}
.hx:hover{transform:translateY(-6px);filter:drop-shadow(0 20px 28px rgba(19,73,216,.3)) drop-shadow(0 2px 4px rgba(10,30,90,.12))}
.hx__rim,.hx__face,.hx__img{position:absolute;clip-path:polygon(50% 0,100% 15%,100% 85%,50% 100%,0 85%,0 15%)}
.hx__rim{inset:0;background:linear-gradient(180deg,#d6e7ff,#9cc3ff 55%,#cfe2ff)}
.hx__face{inset:3px;background:linear-gradient(180deg,#fff 0,#fff 60%,#eef5ff 100%)}
.hx__img{inset:8px 8px auto;height:42%;clip-path:polygon(50% 0,100% 33%,100% 100%,0 100%,0 33%);overflow:hidden}
.hx__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hx:hover .hx__img img{transform:scale(1.07)}
.hx__body{position:absolute;left:7%;right:5%;top:46%;bottom:11%;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;column-gap:10px;row-gap:7px;align-content:start}
.hx__ic{grid-row:1;align-self:center;width:clamp(34px,2.6vw,46px);height:clamp(34px,2.6vw,46px);border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--c);box-shadow:0 6px 14px color-mix(in srgb,var(--c) 40%,transparent),inset 0 -3px 6px rgba(0,0,0,.15)}
.hx__ic .ico{width:56%;height:56%;stroke-width:2}
.hx h3{grid-row:1;display:flex;align-items:center;min-height:2.36em;font-size:clamp(12.5px,.86vw,16.5px);white-space:nowrap;line-height:1.18;font-weight:700;color:var(--x-navy);letter-spacing:-.01em}
.hx p{grid-column:2;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(11px,.8vw,14.5px);line-height:1.36;color:#33406a}
.hx--red{--c:#e3141b}.hx--orange{--c:#f7801e}.hx--green{--c:#22a447}
.hx--red .hx__ic{background:linear-gradient(160deg,#ff3b40,#d10f16)}
.hx--orange .hx__ic{background:linear-gradient(160deg,#ffa23a,#ef6c0c)}
.hx--green .hx__ic{background:linear-gradient(160deg,#3cc663,#17913a)}
.hx--blue .hx__ic,.hx:not(.hx--red):not(.hx--orange):not(.hx--green) .hx__ic{background:linear-gradient(160deg,#3b82ff,#1243c9)}

/* ---------------- HOW WE WORK ---------------- */
.xs--how{background-image:url('it/images/bg-how-we-work.jpg');background-position:center bottom;padding:clamp(56px,5vw,90px) 0 clamp(130px,10vw,200px)}
.xs--how .xs__wrap{grid-template-columns:minmax(330px,27%) 1fr;gap:clamp(24px,2.4vw,46px)}
.xs--how .xs__lead{max-width:26ch}
.xs__feats{display:flex;align-items:center;flex-wrap:nowrap;gap:14px 0;margin-top:clamp(26px,3vw,46px);font-family:Inter,"Segoe UI",Arial,sans-serif}
.xs__feat{display:flex;align-items:center;gap:8px;padding:0 clamp(8px,.7vw,14px);font-size:clamp(12.5px,.85vw,16px);white-space:nowrap;line-height:1.25;color:#1b2a55;font-weight:500}
.xs__feat:first-child{padding-left:0}
.xs__feat + .xs__feat{border-left:1px solid rgba(11,28,90,.2)}
.xs__feat span{width:clamp(38px,2.6vw,50px);height:clamp(38px,2.6vw,50px);border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--x-navy);box-shadow:0 6px 16px rgba(19,73,216,.14);flex:none}
.xs__feat span .ico{width:55%;height:55%}

.steps2{--sg:clamp(16px,1.6vw,30px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sg);position:relative}
.st{
  --c:var(--x-blue);--c2:#0b35b8;
  position:relative;display:flex;flex-direction:column;background:#fff;border-radius:22px;
  box-shadow:0 18px 40px rgba(10,35,120,.22),0 0 0 1px rgba(19,73,216,.08);
  transition:transform .3s ease,box-shadow .3s ease;
}
.st:hover{transform:translateY(-8px);box-shadow:0 26px 50px rgba(10,35,120,.3),0 0 0 1px rgba(19,73,216,.12)}
.st--red{--c:#e3141b;--c2:#b30d13}
.st__img{position:relative;aspect-ratio:330/230;border-radius:22px 22px 0 0;overflow:hidden}
.st__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.st:hover .st__img img{transform:scale(1.06)}
.st__num{
  position:absolute;left:0;top:0;z-index:2;width:40%;height:32%;
  display:flex;align-items:center;padding-left:9%;
  background:linear-gradient(135deg,var(--c),var(--c2));color:#fff;
  font:italic 800 clamp(26px,2.4vw,44px)/1 "Poppins",Inter,sans-serif;letter-spacing:-.02em;
  border-radius:22px 0 0 0;clip-path:polygon(0 0,100% 0,72% 100%,0 100%);
}
.st__ic{
  position:absolute;z-index:3;left:clamp(18px,1.6vw,28px);top:0;transform:translateY(-62%);
  width:clamp(64px,5.2vw,92px);height:clamp(64px,5.2vw,92px);border-radius:50%;
  display:grid;place-items:center;color:#fff;
  background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--c) 70%,#fff),var(--c) 55%,var(--c2));
  border:5px solid #fff;box-shadow:0 10px 22px color-mix(in srgb,var(--c) 45%,transparent);
}
.st__ic .ico{width:48%;height:48%;stroke-width:1.9}
.st__body{position:relative;padding:clamp(44px,3.6vw,62px) clamp(18px,1.6vw,28px) clamp(20px,1.8vw,28px);flex:1;display:flex;flex-direction:column}
.st h3{font-size:clamp(18px,1.55vw,28px);font-weight:700;color:var(--x-navy);letter-spacing:-.015em;line-height:1.15;margin-bottom:10px}
.st p{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(14px,1.05vw,18px);line-height:1.5;color:#1f2b55;padding-right:44px}
.st__go{position:absolute;right:clamp(16px,1.4vw,24px);bottom:clamp(18px,1.6vw,26px);width:clamp(36px,2.6vw,46px);height:clamp(36px,2.6vw,46px);border-radius:50%;display:grid;place-items:center;border:2px solid var(--c);color:var(--c);background:#fff;transition:background .2s,color .2s}
.st__go .ico{width:52%;height:52%;stroke-width:2.4}
.st:hover .st__go{background:var(--c);color:#fff}
.st__chev{position:absolute;top:41%;right:calc(var(--sg) / -2);z-index:4;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--x-blue);box-shadow:0 4px 12px rgba(10,35,120,.25);transform:translate(50%,-50%)}
.st__chev .ico{width:14px;height:14px;stroke-width:2.6}

/* ---------------- responsive ---------------- */
@media (max-width:960px){
  .xs--what .xs__wrap,.xs--how .xs__wrap{grid-template-columns:1fr}
  .xs__lead,.xs--how .xs__lead{max-width:60ch}
  .xs__quote{margin-top:24px}
  .xs--what{background-position:70% center}
  .xs--what::before,.xs--how::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(245,250,255,.55),rgba(245,250,255,0) 45%)}
  .hc{max-width:1000px;margin-inline:auto;width:100%}
  .xs--how{background-position:30% center}
}
@media (max-width:900px){
  .steps2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st__chev{display:none}
}
@media (max-width:760px){
  /* honeycomb becomes a tidy card grid on phones */
  .hc__row,.hc__row--top,.hc__row--bot{display:contents;transform:none;margin:0}
  .hc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0}
  .hx{aspect-ratio:auto;filter:none;background:#fff;border-radius:18px;box-shadow:0 10px 26px rgba(19,73,216,.16);overflow:hidden}
  .hx__rim,.hx__face{display:none}
  .hx__img{position:relative;inset:auto;height:auto;aspect-ratio:16/10;clip-path:none}
  .hx__body{position:static;padding:14px 14px 16px}
  .hx h3{font-size:15px;white-space:normal}.hx p{font-size:13px;grid-column:1 / -1}
  .xs__quote p{font-size:22px}
}
@media (max-width:560px){
  .xs__title,.xs__title span{white-space:normal}
  .xs__feats{flex-wrap:wrap}
  .hc{grid-template-columns:1fr}
  .steps2{grid-template-columns:1fr}
  .xs__feat{padding:0 10px}
  .xs__feats{gap:12px 0}
}
@media (prefers-reduced-motion:reduce){.hx,.st,.hx__img img,.st__img img{transition:none}}

/* fine-tuning */
.hc__row--top{position:relative;z-index:2}
.xs--how .xs__title{font-size:clamp(30px,2.45vw,50px)}
.hx__img,.hx__rim,.hx__face,.st__img,.st__body,.st__ic,.st__num,.st__go,.st__chev{display:block}
.st__ic,.st__go,.st__chev{display:grid}.st__num{display:flex}.st__body{display:flex}
@media (max-width:760px){
  .hx__img{display:block;position:relative;height:auto;aspect-ratio:16/10;margin:0}
  .hx__img img{position:absolute;inset:0}
  .hx__body{display:grid}
}
@media (max-width:900px){ .st__chev{display:none!important} }
@media (max-width:760px){ .hx__rim,.hx__face{display:none!important} .hx__img{aspect-ratio:16/9} }

/* ===== card contents scale with the card size ===== */
.hx,.st{container-type:inline-size}
.hx__body{column-gap:4cqw;row-gap:2.6cqw}
.hx__ic{width:clamp(30px,17cqw,84px);height:clamp(30px,17cqw,84px)}
.hx h3{font-size:clamp(12px,6.6cqw,30px)}
.hx p{font-size:clamp(11px,5.4cqw,24px)}
.st__num{font-size:clamp(24px,14cqw,64px)}
.st__ic{width:clamp(60px,28cqw,130px);height:clamp(60px,28cqw,130px);left:8cqw;border-width:clamp(4px,1.8cqw,8px)}
.st__body{padding:clamp(40px,20cqw,96px) clamp(16px,8cqw,40px) clamp(18px,8cqw,40px)}
.st h3{font-size:clamp(18px,9cqw,42px);margin-bottom:3.5cqw}
.st p{font-size:clamp(13px,6cqw,26px);padding-right:clamp(40px,17cqw,80px)}
.st__go{width:clamp(34px,15cqw,68px);height:clamp(34px,15cqw,68px);right:7cqw;bottom:7.5cqw}
@media (max-width:760px){
  .hx__ic{width:38px;height:38px}
  .hx h3{font-size:15px}.hx p{font-size:13px}
  .hx__body{column-gap:10px;row-gap:6px}
}
@media (max-width:560px){
  .st h3{font-size:21px}.st p{font-size:15px}
}

/* smaller step cards */
.steps2{width:100%;max-width:1180px;justify-self:end}
.st__img{aspect-ratio:330/200}

/* labels: first letters only in capitals */
.xs__eyebrow{text-transform:none;letter-spacing:.04em}
/* no empty wave band at the bottom – sections end with a thin divider line */
.xs--what,.xs--how{padding-bottom:clamp(56px,5vw,90px)}
/* crop the wave off the bottom of the background picture */
.xs--what{background-size:auto 158%;background-position:center top}
.xs--how{background-size:auto 142%;background-position:center top}
.xs::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;z-index:2;
  background:linear-gradient(90deg,#e3141b 0%,#e3141b 22%,#1349d8 22%,#1349d8 100%)}

/* ===== compact hexagon text: icon + one-line title, description directly under ===== */
@media (min-width:761px){
  .hx__body{left:8%!important;right:6%!important;top:46%!important;bottom:12%!important;column-gap:2.4cqw!important;row-gap:1.6cqw!important;align-content:start}
  .hx__ic{width:clamp(26px,12cqw,58px)!important;height:clamp(26px,12cqw,58px)!important}
  .hx h3{white-space:nowrap!important;min-height:0!important;font-size:clamp(10px,4.75cqw,21px)!important;line-height:1.15!important;letter-spacing:-.02em}
  .hx p{font-size:clamp(10px,4.6cqw,19px)!important;line-height:1.35!important}
}
/* section label: no slash, same as "How We Work" */
.xs__eyebrow i{display:none}

/* ---- main website only ---- */
.xs__title span.tx-word{display:block!important}
/* main site is shown at 70% on computers – these two sections are shown at 90% */
@media (min-width:768px){ .xs{zoom:calc(0.9 / 0.7)} }
.xs__wrap{width:min(100% - 8vw,2200px)}

/* ---- phones ---- */
@media (max-width:560px){
  .xs--what,.xs--how{background-size:cover!important;background-position:center top!important;padding:44px 0 48px}
  .xs__wrap{width:calc(100% - 32px)!important}
  .st__img{aspect-ratio:16/8!important}
  .st__body{padding:46px 18px 20px!important}
  .st__ic{width:64px!important;height:64px!important}
  .xs__title{font-size:30px!important}
  .xs__quote p{font-size:20px!important}
}
/* compact hexagons: shorter shape, no empty space under the text */
@media (min-width:761px){
  .hx{aspect-ratio:300/262!important}
  .hc__row--bot{margin-top:calc(var(--w) * -0.131 + var(--g) * .89)!important}
  .hx__img{height:47%!important}
  .hx__body{top:50%!important;bottom:9%!important}
  .hx h3{font-size:clamp(10px,4.9cqw,22px)!important}
}

/* ===== one row on laptops and desktops: text left, smaller cards right ===== */
@media (min-width:961px){
  .xs--what .xs__wrap{grid-template-columns:minmax(240px,30%) minmax(0,1fr)!important;gap:clamp(18px,2.4vw,48px)!important}
  .xs--how .xs__wrap{grid-template-columns:minmax(240px,27%) minmax(0,1fr)!important;gap:clamp(18px,2.4vw,48px)!important}
  .xs__title{font-size:clamp(26px,2.5vw,46px)!important;white-space:normal!important}
  .xs__title span{white-space:nowrap}
  .xs__lead{font-size:clamp(14px,1.05vw,18px)!important}
  .xs__quote{margin-top:clamp(18px,2vw,36px)!important}
  .xs__quote p{font-size:clamp(17px,1.45vw,26px)!important}
  .xs__feats{flex-wrap:wrap!important;gap:10px 0!important}
  .hc{max-width:980px;justify-self:end;width:100%}
  .steps2{max-width:1000px!important;justify-self:end;--sg:clamp(12px,1.2vw,22px)}
  /* hexagon text: smaller, title and description each on one line */
  .hx h3{font-size:clamp(9px,4.5cqw,19px)!important}
  .hx p{font-size:clamp(8.5px,3.85cqw,16px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* step cards: smaller text */
  .st h3{font-size:clamp(15px,7.4cqw,30px)!important;white-space:nowrap}
  .st p{font-size:clamp(12px,5cqw,19px)!important}
  .st__ic{width:clamp(48px,22cqw,96px)!important;height:clamp(48px,22cqw,96px)!important}
  .st__go{width:clamp(28px,12cqw,52px)!important;height:clamp(28px,12cqw,52px)!important}
  .st__num{font-size:clamp(20px,11cqw,50px)!important}
  .st__body{padding:clamp(30px,15cqw,70px) clamp(12px,6.5cqw,30px) clamp(14px,6.5cqw,30px)!important}
}
@media (min-width:961px) and (max-width:1199px){ .hx p{white-space:normal!important;overflow:visible!important} }

/* ===== identical compact hexagons: one shape, photo roof parallel to the card roof ===== */
@media (min-width:761px){
  .hx{aspect-ratio:300/250!important}                                  /* height = 83.33cqw */
  .hc__row--bot{margin-top:calc(var(--w) * -0.125 + var(--g) * .89)!important}
  .hx__rim,.hx__face{clip-path:polygon(50% 0,100% 15%,100% 85%,50% 100%,0 85%,0 15%)!important}
  /* photo sits exactly in the face (3px in) and uses the same roof angle */
  .hx__img{inset:3px 3px auto 3px!important;height:44cqw!important;
    clip-path:polygon(50% 0,100% calc(12.5cqw - .9px),100% 100%,0 100%,0 calc(12.5cqw - .9px))!important}
  .hx__body{top:47cqw!important;bottom:auto!important;left:7%!important;right:5%!important}
}
@media (min-width:1200px){
  .hx h3{font-size:clamp(10px,4.75cqw,20px)!important}
  .hx p{font-size:clamp(9.5px,4.15cqw,17px)!important}
}


/* =====================================================================
   "Information Technology Portfolio" heading – FONT SIZE
   clamp(SMALLEST, GROWS-WITH-SCREEN, BIGGEST)
   ===================================================================== */
.itp-row__t { font-size: clamp(16px, 2vw, 38px) !important; }
@media (max-width: 640px) { .itp-row__t { font-size: 16px !important; } }
